/* Contact Page Specific Styles */

/* Contact Hero */
.contact-hero {
    background: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)), 
                url('https://images.pexels.com/photos/3184291/pexels-photo-3184291.jpeg?auto=compress&cs=tinysrgb&w=1920&h=1080&fit=crop') center/cover no-repeat;
    color: white;
    padding: 120px 0 80px;
    position: relative;
    overflow: hidden;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(1px);
}

.contact-hero .container {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(16, 185, 129, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.hero-badge i {
    color: #10b981;
}

.hero-title {
    font-size: clamp(2.5rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    display: block;
    background: linear-gradient(45deg, #fbbf24, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    display: block;
    font-size: 1.2rem;
    font-weight: 400;
    opacity: 0.9;
    margin-top: 0.5rem;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 2.5rem;
    max-width: 500px;
}

.hero-stats {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 18px;
    color: white;
}

.stat-number {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fbbf24;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Contact Visualization */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.contact-visualization {
    position: relative;
    width: 300px;
    height: 300px;
}

.contact-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 0 30px rgba(16, 185, 129, 0.5);
    animation: pulse 3s ease-in-out infinite;
}

.contact-center i {
    font-size: 24px;
    margin-bottom: 0.25rem;
}

.contact-orbit {
    position: relative;
    width: 100%;
    height: 100%;
    animation: rotate 20s linear infinite;
}

.orbit-item {
    position: absolute;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    cursor: pointer;
    transition: all 0.3s ease;
}

.orbit-item:hover {
    background: rgba(251, 191, 36, 0.2);
    border-color: #fbbf24;
    transform: scale(1.1);
}

.orbit-item:nth-child(1) {
    top: 0;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-item:nth-child(2) {
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.orbit-item:nth-child(3) {
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.orbit-item:nth-child(4) {
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.orbit-item i {
    font-size: 20px;
    color: white;
}

/* Contact Methods */
.contact-methods {
    padding: 80px 0;
    background: white;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: #1e293b;
}

.methods-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.method-card {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
    position: relative;
    overflow: hidden;
}

.method-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #10b981, #059669);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.method-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
    background: white;
}

.method-card:hover::before {
    transform: scaleX(1);
}

.method-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    transition: all 0.3s ease;
}

.method-card:hover .method-icon {
    transform: scale(1.1) rotate(5deg);
}

.method-icon i {
    font-size: 32px;
    color: white;
}

.method-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 1rem;
}

.method-card p {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.method-link {
    color: #10b981;
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.method-link:hover {
    gap: 1rem;
    color: #059669;
}

/* Office Locations */
.office-locations {
    padding: 100px 0;
    background: #f8fafc;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
}

.locations-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.location-card {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #e2e8f0;
}

.location-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.location-card.featured {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border: none;
}

.location-card.featured:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 25px 50px rgba(16, 185, 129, 0.3);
}

.location-image {
    height: 120px;
    background: linear-gradient(135deg, #1e293b, #334155);
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.location-card.featured .location-image {
    background: rgba(0, 0, 0, 0.2);
}

.location-flag {
    font-size: 3rem;
}

.location-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.location-card.featured .location-badge {
    background: rgba(255, 255, 255, 0.2);
}

.location-info {
    padding: 2rem;
}

.location-info h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #1e293b;
}

.location-card.featured .location-info h3 {
    color: white;
}

.location-details {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: #64748b;
}

.location-card.featured .detail-item {
    color: rgba(255, 255, 255, 0.9);
}

.detail-item i {
    color: #10b981;
    width: 16px;
}

.location-card.featured .detail-item i {
    color: rgba(255, 255, 255, 0.9);
}

.location-services {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.service-tag {
    background: #e2e8f0;
    color: #64748b;
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.location-card.featured .service-tag {
    background: rgba(255, 255, 255, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

/* Contact Form Section */
.contact-form-section {
    padding: 100px 0;
    background: white;
}

.form-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.form-info h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1.5rem;
}

.form-info p {
    color: #64748b;
    line-height: 1.7;
    margin-bottom: 2rem;
}

.form-benefits {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
}

.benefit-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #1e293b;
}

.benefit-item i {
    color: #10b981;
    font-size: 1.1rem;
}

.contact-info-cards {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.info-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: #f8fafc;
    padding: 1rem;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    transition: all 0.3s ease;
}

.info-card:hover {
    background: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.info-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.info-icon i {
    font-size: 16px;
    color: white;
}

.info-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.info-content p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Enhanced Contact Form */
.enhanced-contact-form {
    background: #f8fafc;
    padding: 2.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid #e2e8f0;
}

.form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.form-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.form-header p {
    color: #64748b;
    font-size: 0.9rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #1e293b;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 16px;
    transition: all 0.3s ease;
    font-family: inherit;
    background: white;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.form-feedback {
    font-size: 0.8rem;
    margin-top: 0.25rem;
    min-height: 1.2rem;
}

.form-feedback.success {
    color: #10b981;
}

.form-feedback.error {
    color: #ef4444;
}

.character-count {
    text-align: right;
    font-size: 0.8rem;
    color: #64748b;
    margin-top: 0.25rem;
}

/* Checkbox and Radio Groups */
.checkbox-group,
.radio-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 0.75rem;
}

.checkbox-item,
.radio-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.checkbox-item:hover,
.radio-item:hover {
    background: rgba(16, 185, 129, 0.05);
}

.checkbox-item input[type="checkbox"],
.radio-item input[type="radio"] {
    display: none;
}

.checkmark,
.radio-mark {
    width: 20px;
    height: 20px;
    border: 2px solid #e2e8f0;
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.radio-mark {
    border-radius: 50%;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark,
.radio-item input[type="radio"]:checked + .radio-mark {
    background: #10b981;
    border-color: #10b981;
}

.checkbox-item input[type="checkbox"]:checked + .checkmark::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 12px;
    font-weight: bold;
}

.radio-item input[type="radio"]:checked + .radio-mark::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
}

.privacy-checkbox {
    background: #f1f5f9;
    padding: 1rem;
    border-radius: 8px;
    border: 1px solid #e2e8f0;
}

.privacy-link {
    color: #10b981;
    text-decoration: none;
}

.privacy-link:hover {
    text-decoration: underline;
}

/* Form Actions */
.form-actions {
    text-align: center;
    margin-top: 2rem;
}

.submit-btn {
    position: relative;
    min-width: 200px;
    overflow: hidden;
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.form-note {
    margin-top: 1rem;
    font-size: 0.8rem;
    color: #64748b;
    font-style: italic;
}

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: #f8fafc;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.faq-item {
    background: white;
    border-radius: 12px;
    border: 1px solid #e2e8f0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.faq-question {
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    background: white;
    transition: background-color 0.3s ease;
}

.faq-question:hover {
    background: #f8fafc;
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.faq-question i {
    color: #10b981;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 200px;
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

/* Footer Enhancements */
.footer-contact {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.footer-contact p {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
    color: #cbd5e1;
    font-size: 0.9rem;
}

.footer-contact i {
    color: #10b981;
    width: 16px;
}

/* Animations */
@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 1;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.05);
        opacity: 0.8;
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .contact-hero .container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }
    
    .hero-visual {
        order: -1;
    }
    
    .contact-visualization {
        width: 250px;
        height: 250px;
    }
    
    .contact-center {
        width: 80px;
        height: 80px;
        font-size: 0.8rem;
    }
    
    .contact-center i {
        font-size: 20px;
    }
    
    .orbit-item {
        width: 50px;
        height: 50px;
    }
    
    .orbit-item i {
        font-size: 16px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 1rem;
    }
    
    .stat-item {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
        padding: 1rem;
    }
    
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .locations-grid {
        grid-template-columns: 1fr;
    }
    
    .form-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .checkbox-group,
    .radio-group {
        grid-template-columns: 1fr;
    }
    
    .faq-grid {
        grid-template-columns: 1fr;
    }
    
    .enhanced-contact-form {
        padding: 1.5rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .section-title,
    .section-header h2,
    .form-info h2 {
        font-size: 2rem;
    }
    
    .contact-visualization {
        width: 200px;
        height: 200px;
    }
    
    .contact-center {
        width: 60px;
        height: 60px;
        font-size: 0.7rem;
    }
    
    .contact-center i {
        font-size: 16px;
    }
    
    .orbit-item {
        width: 40px;
        height: 40px;
    }
    
    .orbit-item i {
        font-size: 14px;
    }
    
    .method-card,
    .location-info,
    .enhanced-contact-form {
        padding: 1.5rem;
    }
    
    .stat-item {
        padding: 0.75rem 1rem;
    }
    
    .form-header h3 {
        font-size: 1.3rem;
    }
}

/* Print Styles */
@media print {
    .contact-hero,
    .faq-section {
        background: white !important;
        color: black !important;
    }
    
    .hero-visual,
    .method-card .method-icon,
    .location-image {
        display: none;
    }
    
    .location-card,
    .method-card,
    .faq-item {
        break-inside: avoid;
        margin-bottom: 1rem;
    }
}

/* Accessibility Enhancements */
.method-card:focus,
.location-card:focus,
.faq-question:focus {
    outline: 2px solid #10b981;
    outline-offset: 2px;
}

/* Loading States */
.form-group.loading input,
.form-group.loading select,
.form-group.loading textarea {
    background: #f1f5f9;
    pointer-events: none;
}

/* Success States */
.form-group.success input,
.form-group.success select,
.form-group.success textarea {
    border-color: #10b981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.1);
}

/* Error States */
.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: #ef4444;
    box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
