/* ============================================
   contact-us.css - Deecipher Technologies
   Contact Us Page Styles
   Follows the same design system as about.css, careers.css, and research-and-innovation.css
   Version: 2.0 | Production Ready
   ============================================ */

/* ============================================
   1. Hero Section (Original About Page Style)
   ============================================ */
.contact-hero-section {
    padding: 80px 0 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.contact-hero-section::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 60%;
    height: 120%;
    background: radial-gradient(circle, rgba(26, 35, 126, 0.03) 0%, transparent 70%);
    pointer-events: none;
}

.section-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--primary-blue);
    margin-bottom: 1.25rem;
    font-family: var(--font-body);
}

.section-tag.center {
    text-align: center;
}

.gradient-text {
    background: linear-gradient(135deg, var(--primary-blue) 0%, var(--primary-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.hero-title {
    font-size: 3.2rem;
    font-weight: 700;
    line-height: 1.2;
    font-family: var(--font-heading);
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--neutral-500);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Stats Row */
.stats-row {
    display: flex;
    flex-wrap: wrap;
    gap: 2.5rem;
    margin-top: 1rem;
}

.stat-item {
    text-align: left;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary-blue);
    font-family: var(--font-heading);
    line-height: 1.2;
    display: block;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--neutral-500);
    font-weight: 500;
}

/* Testimonial Feature Card */
.testimonial-feature-card {
    background: var(--white);
    border-radius: 24px;
    padding: 1.75rem;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
}

.testimonial-feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.quote-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.quote-icon {
    font-size: 1.5rem;
    color: var(--primary-blue);
    opacity: 0.4;
}

.testimonial-text {
    font-size: 0.95rem;
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 1.25rem;
    font-style: italic;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.author-avatar {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-blue);
}

.author-info {
    display: flex;
    flex-direction: column;
}

.author-info strong {
    font-size: 0.9rem;
    color: var(--primary-dark);
}

.author-info span {
    font-size: 0.75rem;
    color: var(--neutral-500);
}

/* ============================================
   2. Contact Information Cards Section
   ============================================ */
.contact-info-section {
    padding: 60px 0 80px;
    background: var(--white);
}

.info-card {
    background: var(--white);
    border-radius: 20px;
    padding: 1.75rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.info-icon {
    width: 65px;
    height: 65px;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.1) 0%, rgba(123, 44, 191, 0.1) 100%);
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.info-icon i {
    font-size: 1.75rem;
    color: var(--primary-blue);
}

.info-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.info-card p {
    font-size: 0.85rem;
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.info-link {
    font-size: 0.85rem;
    color: var(--primary-blue);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.info-link:hover {
    gap: 0.75rem;
    color: var(--primary-purple);
}

/* ============================================
   3. Contact Form Section
   ============================================ */
.contact-form-section {
    padding: 80px 0;
    background: var(--neutral-100);
}

.section-heading {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
    font-family: var(--font-heading);
}

.section-subheading {
    font-size: 1.1rem;
    color: var(--neutral-500);
    max-width: 600px;
}

.form-label {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--neutral-700);
    margin-bottom: 0.35rem;
}

.form-control,
.form-select {
    padding: 0.75rem 1rem;
    border-radius: 12px;
    border: 1px solid var(--neutral-300);
    transition: all 0.3s ease;
    background: var(--white);
}

.form-control:focus,
.form-select:focus {
    border-color: var(--primary-blue);
    box-shadow: 0 0 0 3px rgba(26, 35, 126, 0.1);
    outline: none;
}

textarea.form-control {
    resize: vertical;
}

.form-check-input {
    width: 1.1rem;
    height: 1.1rem;
    margin-top: 0.2rem;
    cursor: pointer;
}

.form-check-input:checked {
    background-color: var(--primary-blue);
    border-color: var(--primary-blue);
}

.form-check-label {
    font-size: 0.85rem;
    color: var(--neutral-600);
    cursor: pointer;
}

.form-check-label a {
    color: var(--primary-blue);
    text-decoration: none;
}

.form-check-label a:hover {
    text-decoration: underline;
}

/* Map Container */
.map-container {
    background: var(--white);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--neutral-200);
}

.map-placeholder {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    padding: 2.5rem;
    text-align: center;
    color: white;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.map-placeholder i {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.map-placeholder h4 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: white;
}

.map-placeholder p {
    font-size: 0.9rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.map-coordinates {
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
}

.map-coordinates i {
    font-size: 0.8rem;
    margin-right: 0.25rem;
}

.map-note {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Social Connect */
.social-connect {
    background: var(--white);
    border-radius: 20px;
    padding: 1.5rem;
    text-align: center;
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
}

.social-connect h4 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--neutral-100);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-blue);
    font-size: 1.2rem;
    transition: all 0.3s ease;
    text-decoration: none;
}

.social-link:hover {
    background: var(--primary-blue);
    color: white;
    transform: translateY(-3px);
}

/* ============================================
   4. Offices Section
   ============================================ */
.offices-section {
    padding: 80px 0;
    background: var(--white);
}

.office-card {
    background: var(--white);
    border-radius: 20px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    border: 1px solid var(--neutral-200);
    box-shadow: var(--shadow-sm);
    height: 100%;
}

.office-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-blue);
}

.office-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(26, 35, 126, 0.1) 0%, rgba(123, 44, 191, 0.1) 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.25rem;
}

.office-icon i {
    font-size: 2rem;
    color: var(--primary-blue);
}

.office-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.75rem;
    color: var(--primary-dark);
}

.office-card p {
    font-size: 0.85rem;
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.office-hours {
    font-size: 0.8rem;
    color: var(--primary-blue);
    background: rgba(26, 35, 126, 0.08);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    display: inline-block;
}

.office-hours i {
    margin-right: 0.35rem;
}

/* ============================================
   5. FAQ Section
   ============================================ */
.contact-faq-section {
    padding: 80px 0;
    background: var(--neutral-100);
}

.faq-card {
    background: var(--white);
    border-radius: 16px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    border: 1px solid var(--neutral-200);
    height: 100%;
}

.faq-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-blue);
}

.faq-card i {
    font-size: 2rem;
    color: var(--primary-blue);
    margin-bottom: 1rem;
    display: inline-block;
}

.faq-card h4 {
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.faq-card p {
    font-size: 0.85rem;
    color: var(--neutral-600);
    line-height: 1.6;
    margin-bottom: 0;
}

/* ============================================
   6. CTA Section
   ============================================ */
.contact-cta-section {
    padding: 80px 0;
    background: var(--white);
}

.cta-card {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary-blue) 100%);
    border-radius: 32px;
    padding: 3rem;
    text-align: center;
    box-shadow: var(--shadow-xl);
}

.cta-card h3 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.cta-card p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2rem;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-note {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.btn-primary-custom {
    background: white;
    color: var(--primary-blue);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: none;
    cursor: pointer;
}

.btn-primary-custom:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: var(--neon-blue);
    color: white;
}

.btn-outline-custom {
    background: transparent;
    color: white;
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.2, 0.9, 0.4, 1.1);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.btn-outline-custom:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
    border-color: white;
}

/* ============================================
   7. Alert / Message Styles
   ============================================ */
.alert {
    border-radius: 12px;
    padding: 1rem;
    font-size: 0.9rem;
}

.alert-info {
    background: rgba(26, 35, 126, 0.1);
    border-color: var(--primary-blue);
    color: var(--primary-blue);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: var(--primary-green);
    color: var(--primary-green);
}

.alert-danger {
    background: rgba(239, 68, 68, 0.1);
    border-color: var(--error);
    color: var(--error);
}

/* ============================================
   8. Responsive Styles
   ============================================ */
@media (max-width: 992px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-heading {
        font-size: 2rem;
    }
    
    .stats-row {
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .contact-hero-section {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .stats-row {
        gap: 1rem;
        justify-content: space-between;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .section-heading {
        font-size: 1.75rem;
    }
    
    .section-subheading {
        font-size: 1rem;
    }
    
    .info-card,
    .office-card,
    .faq-card {
        padding: 1.25rem;
    }
    
    .info-icon,
    .office-icon {
        width: 55px;
        height: 55px;
    }
    
    .info-icon i,
    .office-icon i {
        font-size: 1.5rem;
    }
    
    .map-placeholder {
        padding: 1.5rem;
        min-height: 280px;
    }
    
    .cta-card {
        padding: 2rem;
    }
    
    .cta-card h3 {
        font-size: 1.5rem;
    }
    
    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary-custom,
    .btn-outline-custom {
        width: 100%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .stats-row {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .stat-item {
        flex: 0 0 calc(50% - 0.5rem);
        text-align: center;
    }
    
    .stat-number {
        font-size: 1.75rem;
    }
    
    .contact-form-section .row > div:first-child {
        margin-bottom: 2rem;
    }
    
    .social-links {
        gap: 0.75rem;
    }
    
    .social-link {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .faq-card {
        text-align: center;
    }
}

/* ============================================
   9. Utility Classes
   ============================================ */
.bg-light {
    background-color: var(--neutral-100) !important;
}

.text-center {
    text-align: center;
}

.mb-0 {
    margin-bottom: 0;
}

.mt-0 {
    margin-top: 0;
}

/* Animation Overrides */
[data-aos] {
    pointer-events: auto !important;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Print Styles */
@media print {
    .info-strip,
    .navbar,
    .contact-cta-section,
    .contact-form-section .btn-primary-custom,
    .social-connect,
    footer {
        display: none;
    }
    
    .contact-hero-section,
    .contact-info-section,
    .contact-form-section,
    .offices-section,
    .contact-faq-section {
        padding: 20px 0;
        break-inside: avoid;
    }
    
    .info-card,
    .office-card,
    .faq-card,
    .testimonial-feature-card {
        box-shadow: none;
        border: 1px solid #ddd;
        break-inside: avoid;
    }
    
    .map-container {
        border: 1px solid #ddd;
    }
}