/* ========================================
   EXLWEB CONTACT PAGE STYLES
   ======================================== */

/* CONTACT HERO SECTION */
.contact-hero {
    background: #0c0f1c;
    padding: 120px 6% 80px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.contact-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(0, 194, 255, 0.08) 0%, transparent 70%);
    pointer-events: none;
}

.contact-hero-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.contact-hero h1 {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    font-weight: 700;
    color: white;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-hero .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* HONEYPOT SPAM PROTECTION */
.honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

/* CONTACT FORM SECTION */
.contact-form-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 80px 6% 60px;
}

.contact-container {
    max-width: 800px;
    margin: 0 auto;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.section-header p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

/* CONTACT FORM */
.contact-form {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    margin-bottom: 60px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 8px;
    font-size: 1rem;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 15px 20px;
    border: 2px solid rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    background: rgba(255, 255, 255, 0.8);
    transition: all 0.3s ease;
    resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #00C2FF;
    background: white;
    box-shadow: 0 0 0 3px rgba(0, 194, 255, 0.1);
}

.form-group textarea {
    min-height: 120px;
    max-height: 300px;
}

.form-group.optional label::after {
    content: ' (optional)';
    color: #64748b;
    font-weight: 400;
    font-size: 0.9rem;
}

/* HONEYPOT FIELD */
.honeypot {
    position: absolute;
    left: -9999px;
    opacity: 0;
    pointer-events: none;
}

/* SUBMIT BUTTON */
.submit-btn {
    width: 100%;
    padding: 18px 30px;
    background: linear-gradient(135deg, #00C2FF, #0099CC);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 35px rgba(0, 194, 255, 0.4);
}

.submit-btn:active {
    transform: translateY(0);
}

.submit-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.submit-btn:hover::before {
    left: 100%;
}

/* FORM MESSAGES */
.form-message {
    padding: 15px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    font-weight: 500;
    text-align: center;
}

.form-message.success {
    background: rgba(34, 197, 94, 0.1);
    color: #16a34a;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.form-message.error {
    background: rgba(239, 68, 68, 0.1);
    color: #dc2626;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

/* CONTACT INFO SECTION */
.contact-info-section {
    background: #f8fafc;
    padding: 60px 6% 40px;
    text-align: center;
}

.contact-info {
    max-width: 600px;
    margin: 0 auto;
}

.contact-info h3 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 30px;
}

.contact-email {
    display: inline-block;
    font-size: 1.2rem;
    color: #00C2FF;
    text-decoration: none;
    font-weight: 600;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.contact-email:hover {
    color: #0099CC;
    transform: translateY(-2px);
}

.contact-location {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

/* FAQ SECTION */
.faq-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 80px 6% 60px;
}

.faq-container {
    max-width: 800px;
    margin: 0 auto;
}

.faq-header {
    text-align: center;
    margin-bottom: 50px;
}

.faq-header h2 {
    font-size: clamp(2rem, 4vw, 2.8rem);
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 15px;
}

.faq-header p {
    font-size: 1.1rem;
    color: #64748b;
    line-height: 1.6;
}

/* FAQ ACCORDION */
.faq-accordion {
    space-y: 20px;
}

.faq-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(0, 0, 0, 0.08);
    border-radius: 15px;
    margin-bottom: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
}

.faq-question {
    width: 100%;
    padding: 25px 30px;
    background: none;
    border: none;
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

.faq-question:hover {
    color: #00C2FF;
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    font-weight: 300;
    color: #00C2FF;
    transition: transform 0.3s ease;
}

.faq-question.active::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-answer.active {
    max-height: 200px;
}

.faq-answer-content {
    padding: 0 30px 25px;
    color: #64748b;
    line-height: 1.6;
    font-size: 1rem;
}

/* SECTION DIVIDERS */
.section-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0, 194, 255, 0.3), transparent);
    margin: 0;
    border: none;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
    .contact-hero {
        padding: 100px 4% 60px;
    }
    
    .contact-form-section,
    .faq-section {
        padding: 60px 4% 40px;
    }
    
    .contact-info-section {
        padding: 50px 4% 30px;
    }
    
    .contact-form {
        padding: 30px 25px;
    }
    
    .faq-question {
        padding: 20px 25px;
        font-size: 1rem;
    }
    
    .faq-answer-content {
        padding: 0 25px 20px;
    }
}

@media (max-width: 480px) {
    .contact-form {
        padding: 25px 20px;
    }
    
    .form-group input,
    .form-group textarea,
    .form-group select {
        padding: 12px 15px;
    }
    
    .submit-btn {
        padding: 15px 25px;
        font-size: 1rem;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 0.95rem;
    }
    
    .faq-answer-content {
        padding: 0 20px 18px;
        font-size: 0.95rem;
    }
}

/* SCROLL ANIMATIONS */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

.stagger-1 { transition-delay: 0.1s; }
.stagger-2 { transition-delay: 0.2s; }
.stagger-3 { transition-delay: 0.3s; }
.stagger-4 { transition-delay: 0.4s; }
.stagger-5 { transition-delay: 0.5s; }

/* ACCESSIBILITY IMPROVEMENTS */
@media (prefers-reduced-motion: reduce) {
    .fade-in-up,
    .submit-btn,
    .faq-question,
    .faq-answer {
        transition: none;
        animation: none;
    }
}

.submit-btn:focus,
.faq-question:focus {
    outline: 2px solid #00C2FF;
    outline-offset: 2px;
}

/* HIGH CONTRAST MODE SUPPORT */
@media (prefers-contrast: high) {
    .contact-form,
    .faq-item {
        border: 2px solid #000;
    }
    
    .form-group input:focus,
    .form-group textarea:focus,
    .form-group select:focus {
        border: 2px solid #000;
    }
}