/* =========================================================================
   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;
}

/* Campus Coordinates Box - Yellow Color Theme */
.contact-hero-pink-box,
.contact-hero-yellow-box {
    background: rgba(249, 232, 146, 0.18);
    border: 2px solid var(--childit-yellow, #F9E892);
    border-radius: var(--radius-md);
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
    box-shadow: 0 8px 24px rgba(249, 232, 146, 0.15);
}

.contact-pink-card-title,
.contact-yellow-card-title {
    font-size: 1.25rem;
    color: var(--childit-yellow, #F9E892);
    margin-bottom: 4px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navy-pink-item svg,
.navy-yellow-item svg {
    color: var(--childit-yellow, #F9E892) !important;
    stroke: var(--childit-yellow, #F9E892) !important;
    flex-shrink: 0;
}

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

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

.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;
    }
}

/* =========================================================================
   CONTACT FEEDBACK SECTION & STAR RATING PICKER
   ========================================================================= */
.contact-feedback-section {
    padding: 70px 0 90px;
    background: #FDFBF7;
    position: relative;
}

.contact-feedback-container {
    max-width: 860px;
    margin: 0 auto;
}

.contact-feedback-header {
    text-align: center;
    margin-bottom: 35px;
}

.contact-feedback-title {
    font-size: 2.3rem;
    color: var(--childit-navy, #0c3670);
    margin: 12px 0 8px;
    font-weight: 800;
}

.contact-feedback-sub {
    color: var(--text-muted, #4B6382);
    font-size: 1.05rem;
    max-width: 620px;
    margin: 0 auto;
    line-height: 1.6;
}

.contact-feedback-card {
    background: #FFFFFF;
    border: 2px solid var(--childit-purple, #DDC3E3);
    border-radius: var(--radius-lg, 24px);
    padding: 40px;
    box-shadow: 0 16px 40px rgba(12, 54, 112, 0.08);
    position: relative;
    overflow: hidden;
}

.contact-feedback-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #ff85a2, #F9E892, #CDE5D9, #B6D8F7, #DDC3E3);
}

.feedback-alert-success {
    background: #EAF8F0;
    border: 2px solid var(--childit-green, #CDE5D9);
    color: #166534;
    padding: 18px 24px;
    border-radius: var(--radius-md, 14px);
    margin-bottom: 28px;
    font-weight: 700;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 12px;
}

.feedback-field-group {
    margin-bottom: 22px;
}

.feedback-label {
    display: block;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--childit-navy, #0c3670);
    margin-bottom: 8px;
}

.feedback-control {
    width: 100%;
    padding: 13px 18px;
    border: 2px solid #E2E8F0;
    border-radius: var(--radius-sm, 12px);
    font-family: inherit;
    font-size: 0.98rem;
    color: #0c3670;
    background: #FAFAFC;
    transition: all 0.25s ease;
}

.feedback-control:focus {
    outline: none;
    border-color: var(--childit-purple, #DDC3E3);
    background: #FFFFFF;
    box-shadow: 0 0 0 4px rgba(221, 195, 227, 0.35);
}

.feedback-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

/* Interactive Star Rating Selector */
.star-rating-box {
    background: #FFFDF5;
    border: 2px dashed #F9E892;
    border-radius: var(--radius-md, 14px);
    padding: 18px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.star-rating-stars {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: 6px;
}

.star-rating-stars input[type="radio"] {
    display: none;
}

.star-rating-stars label {
    cursor: pointer;
    font-size: 2.2rem;
    color: #CBD5E1;
    transition: color 0.2s ease, transform 0.2s ease;
    line-height: 1;
}

.star-rating-stars label:hover,
.star-rating-stars label:hover ~ label,
.star-rating-stars input[type="radio"]:checked ~ label {
    color: #F59E0B;
    transform: scale(1.15);
}

.star-rating-label-desc {
    font-weight: 700;
    color: #B45309;
    font-size: 0.95rem;
}

@media (max-width: 768px) {
    .contact-feedback-card {
        padding: 24px 18px !important;
    }
    .contact-feedback-title {
        font-size: 1.85rem !important;
    }
    .feedback-grid-2 {
        grid-template-columns: 1fr !important;
        gap: 14px !important;
    }
    .star-rating-box {
        flex-direction: column;
        align-items: flex-start;
    }
}