/* =========================================
   CONTACT PAGE STYLES
   ========================================= */
:root {
    --con-primary: #0046bf;
    --con-secondary: #F38A12;
    --con-accent: #AA1D01;
    --con-surface: #faf8ff;
    --con-surface-alt: #eef8ff;
    --con-text-main: #333333;
    --con-text-muted: #5c575b;
    --con-white: #ffffff;
    --con-shadow: 0 4px 15px rgba(0, 0, 0, .05);
    --con-shadow-hover: 0 20px 40px rgba(0, 70, 191, .15);
    --con-border-radius: 16px;
    --con-font-main: 'Plus Jakarta Sans', sans-serif;
    --con-font-body: 'Inter', sans-serif;
}

/* Base Utility Classes */
.contact-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Reveal Animation */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.delay-100 {
    transition-delay: 0.1s;
}

.delay-200 {
    transition-delay: 0.2s;
}

.delay-300 {
    transition-delay: 0.3s;
}

/* Tags & Titles */
.contact-tag {
    display: inline-block;
    color: var(--con-white);
    font-size: 16px;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 20px;
}

.contact-tag.dark-tag {
    background: rgba(0, 70, 191, 0.1);
    color: var(--con-primary);
    border: 1px solid rgba(0, 70, 191, 0.2);
}

.contact-title-line {
    width: 80px;
    height: 3px;
    background: var(--con-secondary);
    margin: 15px 0 20px 0;
    border-radius: 10px;
}

/* 1. Hero Section */
.contact-hero {
    min-height: 450px;
    display: flex;
    align-items: center;
    background: url("../images/Herobg.png") center center / cover no-repeat;
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.contact-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(0, 15, 45, 0.85) 0%, rgba(0, 15, 45, 0.7) 50%, rgba(0, 15, 45, 0.4) 100%);
    z-index: 1;
}

.ita-glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.3;
    z-index: 1;
}

.ita-glow-1 {
    width: 400px;
    height: 400px;
    background: var(--con-primary);
    left: -100px;
    top: -100px;
}

.ita-glow-2 {
    width: 400px;
    height: 400px;
    background: var(--con-secondary);
    right: -100px;
    bottom: -100px;
}

.contact-hero-wrap {
    position: relative;
    z-index: 2;
    text-align: center;
}

.contact-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 8px 20px;
    border-radius: 50px;
    color: var(--con-white);
    font-size: 14px;
    font-weight: 600;
    margin: 0 auto 24px auto;
    backdrop-filter: blur(10px);
    font-family: var(--con-font-body);
}

.contact-pulse-dot {
    width: 10px;
    height: 10px;
    background-color: var(--con-secondary);
    border-radius: 50%;
    animation: contact-pulse 2s infinite;
}

@keyframes contact-pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(243, 138, 18, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(243, 138, 18, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(243, 138, 18, 0);
    }
}

.contact-hero-content h1 {
    font-size: 52px;
    color: var(--con-white);
    font-family: var(--con-font-main);
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.contact-hero-content h1 strong {
    color: var(--con-secondary);
}

.contact-hero-subtitle {
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
    font-family: var(--con-font-body);
}

/* 2. Contact Info Cards */
.contact-info-section {
    padding: 80px 0;
    background-color: var(--con-surface);
    margin-top: -60px;
    /* Overlap the hero section slightly */
    position: relative;
    z-index: 5;
}

.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.contact-info-card {
    background: var(--con-white);
    padding: 40px 30px;
    border-radius: var(--con-border-radius);
    box-shadow: var(--con-shadow);
    border: 1px solid rgba(0, 70, 191, 0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.contact-info-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--con-shadow-hover);
}

.info-icon-wrapper {
    width: 65px;
    height: 65px;
    background: rgba(243, 138, 18, 0.1);
    color: var(--con-secondary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 26px;
    margin: 0 auto 20px;
    transition: background 0.3s, color 0.3s;
}

.contact-info-card:hover .info-icon-wrapper {
    background: var(--con-secondary);
    color: var(--con-white);
}

.contact-info-card h3 {
    font-size: 19px;
    color: var(--con-primary);
    font-family: var(--con-font-main);
    margin-bottom: 15px;
}

.contact-info-card p {
    font-size: 14px;
    color: var(--con-text-muted);
    line-height: 1.6;
    margin-bottom: 20px;
    flex-grow: 1;
}

.info-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    color: var(--con-primary);
    text-decoration: none;
    transition: color 0.3s;
    justify-content: center;
}

.info-link:hover {
    color: var(--con-secondary);
}

.direct-contact-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 10px;
}

.direct-contact-details a {
    font-size: 14px;
    color: var(--con-text-muted);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: color 0.3s;
}

.direct-contact-details a:hover {
    color: var(--con-secondary);
}

/* 3. Contact Form Area */
.contact-form-section {
    padding: 60px 0 100px 0;
    background-color: var(--con-surface);
}

.contact-form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.3fr;
    background: var(--con-white);
    border-radius: 24px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    border: 1px solid rgba(0, 70, 191, 0.05);
}

.form-left-content {
    background: linear-gradient(135deg, var(--con-primary) 0%, #00174c 100%);
    padding: 60px 50px;
    color: var(--con-white);
    position: relative;
    overflow: hidden;
}

.form-left-content h2 {
    font-size: 36px;
    font-family: var(--con-font-main);
    margin-bottom: 15px;
    line-height: 1.2;
}

.form-left-content p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 40px;
}

.form-social-connect h4 {
    font-size: 18px;
    margin-bottom: 15px;
    font-family: var(--con-font-main);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icon {
    width: 45px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--con-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    background: var(--con-secondary);
    border-color: var(--con-secondary);
    transform: translateY(-3px);
}

.form-left-shape {
    position: absolute;
    right: -50px;
    bottom: -50px;
    width: 250px;
    height: 250px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 50%;
}

.form-left-shape::before {
    content: '';
    position: absolute;
    inset: 30px;
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.form-right-content {
    padding: 60px 50px;
    background: var(--con-white);
}

.premium-form .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
}

.premium-form .form-group {
    margin-bottom: 24px;
}

.premium-form label {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--con-primary);
    margin-bottom: 8px;
    font-family: var(--con-font-main);
}

.premium-form input,
.premium-form select,
.premium-form textarea {
    width: 100%;
    padding: 15px 20px;
    font-size: 15px;
    font-family: var(--con-font-body);
    color: var(--con-text-main);
    /* background: var(--con-surface-alt); */
    border: 1px solid rgba(0, 70, 191, 0.1);
    border-radius: 12px;
    transition: all 0.3s ease;
    box-shadow: inset 0px -2px 0px 2px #4061998f;
}

.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
    outline: none;
    border-color: var(--con-secondary);
    background: var(--con-white);
    box-shadow: 0 0 0 4px rgba(243, 138, 18, 0.1);
}

.premium-form textarea {
    resize: vertical;
}

.contact-submit-btn {
    background-color: var(--con-secondary);
    color: var(--con-white);
    border: none;
    padding: 16px 40px;
    font-size: 16px;
    font-weight: 700;
    border-radius: 50px;
    cursor: pointer;
    font-family: var(--con-font-main);
    transition: all 0.3s ease;
    box-shadow: 0 10px 20px rgba(243, 138, 18, 0.2);
}

.contact-submit-btn:hover {
    background-color: #d97d0c;
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(243, 138, 18, 0.3);
}

/* 4. Map Section */
.contact-map-section {
    line-height: 0;
    /* Remove bottom space of iframe */
    background: var(--con-white);
}

.contact-map-section iframe {
    filter: grayscale(20%) contrast(1.1);
    /* Subtle premium map effect */
}

/* Responsive Breakpoints */
@media (max-width: 1200px) {
    .contact-info-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 992px) {
    .contact-form-wrapper {
        grid-template-columns: 1fr;
    }

    .contact-hero h1 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    .contact-info-grid {
        grid-template-columns: 1fr;
    }

    .contact-hero {
        padding: 20px 0 80px 0;
    }

    .contact-hero h1 {
        font-size: 36px;
    }

    .premium-form .form-row {
        grid-template-columns: 1fr;
        gap: 0;
    }

    .form-left-content,
    .form-right-content {
        padding: 40px 24px;
    }

    .contact-submit-btn {
        width: 100%;
    }

    .contact-hero-subtitle {
        font-size: 16px;
        color: rgba(255, 255, 255, 0.85);
        max-width: 700px;
        margin: 0 auto;
        line-height: 1.7;
        font-family: var(--con-font-body);
        text-align: justify;
    }

    .contact-info-card p {
        font-size: 14px;
        color: var(--con-text-muted);
        line-height: 1.6;
        margin-bottom: 20px;
        flex-grow: 1;
        text-align: justify;
    }

    .contact-tag.dark-tag {
        background: rgba(0, 70, 191, 0.1);
        color: #ffffff;
        border: 1px solid rgba(0, 70, 191, 0.2);
    }

    .form-left-content h2 {
        font-size: 28px;
        font-family: var(--con-font-main);
        margin-bottom: 15px;
        line-height: 1.2;
    }
}