/* =========================================================================
   CONTACT PAGE STYLESHEET (Kalpavrikshalaya - Little Sprouts / Childit Theme)
   ========================================================================= */

/* Top Right Daisy in Hero */
.contact-hero-daisy {
    position: absolute;
    right: 5%;
    top: 15%;
    pointer-events: none;
    opacity: 0.9;
}

/* Expanded Hero Section (Matching Little Sprouts Navy on All Subpages) */
.contact-hero-expanded {
    padding-top: 65px;
    padding-bottom: 75px;
    position: relative;
    background-color: #0c3670;
    overflow: hidden;
    color: #FFFFFF;
}

/* Horizontally Centered 2-Card Container */
.contact-cards-container {
    max-width: 1180px;
    margin: 45px auto 0;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

/* Perfectly Balanced Center-Aligned Two Cards Grid */
.contact-hero-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 36px;
    max-width: 1080px;
    margin: 0 auto;
    text-align: left;
    align-items: stretch;
    justify-content: center;
    width: 100%;
}

@media (max-width: 991px) {
    .contact-hero-grid {
        grid-template-columns: 1fr;
        max-width: 560px;
        gap: 30px;
    }
}

/* Wave Divider (Connecting Navy Hero seamlessly to FAQ section) */
.contact-wave-divider {
    background: transparent;
    line-height: 0;
    overflow: hidden;
    width: 100%;
    margin-top: -1px;
    margin-bottom: 0;
}

.contact-wave-divider svg {
    height: 48px;
    display: block;
    width: 100%;
}

/* Admissions Office Sanctuary Card (Left Card) */
.contact-hero-office-card {
    background: rgba(255, 1, 2, 0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: var(--radius-lg);
    padding: 38px 36px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.2);
    width: 100%;
    box-sizing: border-box;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-hero-office-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 26px 50px rgba(0, 0, 0, 0.28);
}

.contact-badge-navy {
    display: inline-block;
    background: rgba(255, 42, 109, 0.25);
    color: #FF7597;
    font-weight: 700;
    font-size: 0.82rem;
    padding: 4px 14px;
    border-radius: var(--radius-pill);
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    width: fit-content;
}

.contact-hero-office-title {
    font-size: 2.1rem;
    color: #FFFFFF;
    margin-bottom: 12px;
    line-height: 1.25;
}

.contact-hero-office-lead {
    font-size: 1.02rem;
    color: #CBD5E1;
    line-height: 1.65;
    margin-bottom: 24px;
}

/* Coordinates Box */
.contact-hero-pink-box {
    background: rgba(255, 42, 109, 0.12);
    border: 1px solid rgba(255, 42, 109, 0.3);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}

.contact-pink-card-title {
    font-size: 1.2rem;
    color: #FFD200;
    margin-bottom: 4px;
    font-weight: 700;
}

.contact-phone-link {
    color: #FFFFFF;
    text-decoration: underline;
    transition: color 0.2s ease;
}

.contact-phone-link:hover {
    color: var(--childit-yellow);
}

.contact-apply-prompt {
    margin-top: auto;
}

.contact-apply-btn {
    width: 100%;
    font-size: 1rem;
    justify-content: center;
}

/* Inquiry Form Card (Right Card - Equal Width & Center-Aligned) */
.contact-hero-form-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    padding: 38px 36px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.25);
    border: 3px solid rgba(255, 210, 0, 0.4);
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-hero-form-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 28px 55px rgba(0, 0, 0, 0.3);
}

.contact-hero-form-card .contact-form-title {
    font-size: 2rem;
    color: var(--childit-navy);
    margin-bottom: 8px;
    font-weight: 700;
}

.contact-hero-form-card .contact-form-sub {
    color: var(--text-muted);
    margin-bottom: 24px;
    font-size: 0.95rem;
}

.contact-hero-form-card .contact-form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 700;
    color: var(--childit-navy);
    margin-bottom: 6px;
}

.contact-hero-form-card .navy-form-control {
    background: #F8FAFC;
    border: 1.5px solid #E2E8F0;
    color: var(--text-dark);
}

.contact-hero-form-card .navy-form-control:focus {
    border-color: var(--childit-navy);
    background: #FFFFFF;
    outline: none;
    box-shadow: 0 0 0 3px rgba(12, 54, 112, 0.12);
}

.contact-hero-form-card .contact-submit-btn {
    width: 100%;
    font-size: 1.1rem;
    padding: 14px 28px;
    justify-content: center;
    box-shadow: 0 8px 20px rgba(255, 210, 0, 0.4);
}

/* =========================================================================
   FAQ SECTION (Interactive Dropdown Accordion)
   ========================================================================= */
.contact-faq-section {
    padding: 80px 0 90px;
    background: #FFFFFF;
}

.contact-faq-container {
    max-width: 920px;
}

.contact-faq-header {
    text-align: center;
    margin-bottom: 45px;
}

.contact-faq-title {
    font-size: 2.6rem;
    color: var(--childit-navy);
    margin-bottom: 12px;
}

.contact-faq-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
}

.contact-faq-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

/* FAQ Accordion Card Item */
.contact-faq-item {
    background: #FFFFFF;
    border-radius: var(--radius-md);
    padding: 0;
    box-shadow: 0 4px 18px rgba(10, 29, 55, 0.06);
    border: 1.5px solid rgba(226, 232, 240, 0.9);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden;
}

.contact-faq-item:hover {
    box-shadow: 0 8px 24px rgba(10, 29, 55, 0.1);
    border-color: rgba(203, 213, 225, 1);
}

.contact-faq-item.active {
    box-shadow: 0 10px 30px rgba(10, 29, 55, 0.12);
    border-color: rgba(203, 213, 225, 1);
}

/* Colored Left Accent Borders */
.faq-border-orange {
    border-left: 6px solid var(--childit-orange) !important;
}

.faq-border-yellow {
    border-left: 6px solid var(--childit-yellow) !important;
}

.faq-border-green {
    border-left: 6px solid var(--childit-green) !important;
}

.faq-border-blue {
    border-left: 6px solid var(--childit-blue) !important;
}

.faq-border-purple {
    border-left: 6px solid var(--childit-purple) !important;
}

/* Clickable Question Trigger Button */
.contact-faq-trigger {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    background: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    color: var(--childit-navy);
    user-select: none;
    transition: background-color 0.2s ease;
}

.contact-faq-trigger:hover {
    background-color: rgba(248, 250, 252, 0.85);
}

.contact-faq-item.active .contact-faq-trigger {
    background-color: rgba(248, 250, 252, 0.6);
}

.contact-faq-q-text {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--childit-navy);
    line-height: 1.35;
    flex: 1;
}

/* Circular Rotating Chevron Indicator */
.contact-faq-chevron {
    flex-shrink: 0;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: #F1F5F9;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--childit-navy);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1), background-color 0.2s ease, color 0.2s ease;
}

.contact-faq-trigger:hover .contact-faq-chevron {
    background: #E2E8F0;
    color: var(--childit-pink);
}

.contact-faq-item.active .contact-faq-chevron {
    transform: rotate(180deg);
    background: var(--childit-navy);
    color: #FFFFFF;
}

/* Accordion Dropdown Content Pane */
.contact-faq-answer-pane {
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
}

.contact-faq-item.active .contact-faq-answer-pane {
    opacity: 1;
}

.contact-faq-answer-inner {
    padding: 0 24px 24px 24px;
    border-top: 1px solid rgba(226, 232, 240, 0.7);
    margin-top: 2px;
    padding-top: 16px;
}

.contact-faq-a {
    color: #475569;
    font-size: 1.02rem;
    line-height: 1.7;
    margin: 0;
}

.contact-faq-link {
    color: var(--childit-pink);
    font-weight: 800;
    text-decoration: underline;
}

.contact-faq-link:hover {
    color: var(--childit-navy);
}

/* =========================================================================
   MOBILE APP RESPONSIVE BREAKPOINTS (Contact Page)
   ========================================================================= */
@media (max-width: 768px) {
    .contact-hero-expanded {
        padding-top: 45px;
        padding-bottom: 55px;
    }
    .contact-cards-container {
        margin-top: 25px;
        padding: 0 12px;
    }
    .contact-hero-office-card,
    .contact-hero-form-card {
        padding: 24px 18px !important;
        border-radius: 20px !important;
    }
    .contact-hero-office-title,
    .contact-hero-form-card .contact-form-title {
        font-size: 1.75rem !important;
    }
    .contact-hero-pink-box {
        padding: 16px;
    }
    .contact-faq-section {
        padding: 50px 0 70px;
    }
    .contact-faq-title {
        font-size: 2rem !important;
    }
    .contact-faq-trigger {
        padding: 16px 14px;
        gap: 12px;
    }
    .contact-faq-q-text {
        font-size: 1.02rem;
    }
    .contact-faq-chevron {
        width: 32px;
        height: 32px;
    }
    .contact-faq-answer-inner {
        padding: 0 14px 18px 14px;
    }
}