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

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

/* Wave Divider */
.why-wave-divider {
    background: transparent;
    margin-top: -1px;
    margin-bottom: 0;
}
.why-wave-divider svg {
    height: 38px;
    display: block;
    width: 100%;
}

/* Main Content Wrapper */
.why-main-section {
    padding: 85px 0;
    background: #FFFFFF;
}

/* 0 to 6 Golden Window Card */
.why-window-card {
    background: linear-gradient(135deg, #FFF9ED, #FFFDF8);
    border: 2.5px solid var(--childit-yellow);
    border-radius: var(--radius-lg);
    padding: 50px 45px;
    margin-bottom: 75px;
    box-shadow: var(--shadow-sm);
}
.why-window-grid {
    display: grid;
    grid-template-columns: 100px 1fr;
    gap: 30px;
    align-items: flex-start;
}
.why-window-icon {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    background: var(--childit-yellow);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    box-shadow: var(--shadow-yellow);
}
.why-window-heading {
    font-size: 2.3rem;
    color: var(--childit-navy);
    margin-bottom: 14px;
}
.why-window-lead {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 16px;
}
.why-window-text {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin: 0;
}

/* Paradigm Shifts Section */
.why-shifts-header {
    text-align: center;
    margin-bottom: 45px;
}
.why-shifts-title {
    font-size: 2.8rem;
    color: var(--childit-navy);
    margin-bottom: 12px;
}
.why-shifts-sub {
    max-width: 720px;
    margin: 0 auto;
    color: var(--text-muted);
    font-size: 1.05rem;
}
.why-shifts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr));
    gap: 24px;
    margin-bottom: 75px;
}
.why-shift-card {
    background: #FFFFFF;
    padding: 32px 28px;
    border-radius: var(--radius-md);
    box-shadow: 0 8px 24px rgba(10, 29, 55, 0.06);
    border: 1px solid rgba(226, 232, 240, 0.8);
    display: flex;
    gap: 20px;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}
.why-shift-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 6px;
    height: 100%;
    transition: width 0.3s ease;
}
.why-shift-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(10, 29, 55, 0.12);
    border-color: transparent;
}
.why-shift-card:hover::before {
    width: 10px;
}

.why-shift-1::before { background: var(--childit-orange); }
.why-shift-2::before { background: var(--childit-yellow); }
.why-shift-3::before { background: var(--childit-green); }
.why-shift-4::before { background: var(--childit-blue); }
.why-shift-5::before { background: var(--childit-purple); }
.why-shift-6::before { background: var(--childit-pink); }

.why-shift-num {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading, 'Fredoka', sans-serif);
    font-size: 1.25rem;
    font-weight: 700;
    transition: transform 0.3s ease, background 0.3s ease, color 0.3s ease;
}

.why-shift-1 .why-shift-num { background: rgba(255, 87, 34, 0.12); color: var(--childit-orange); }
.why-shift-2 .why-shift-num { background: rgba(255, 210, 0, 0.2); color: #B38600; }
.why-shift-3 .why-shift-num { background: rgba(76, 209, 55, 0.15); color: #2E8B22; }
.why-shift-4 .why-shift-num { background: rgba(0, 168, 255, 0.15); color: #007BB5; }
.why-shift-5 .why-shift-num { background: rgba(140, 122, 230, 0.18); color: var(--childit-purple); }
.why-shift-6 .why-shift-num { background: rgba(255, 42, 109, 0.14); color: var(--childit-pink); }

.why-shift-card:hover .why-shift-num {
    transform: scale(1.1) rotate(-4deg);
}
.why-shift-1:hover .why-shift-num { background: var(--childit-orange); color: #FFFFFF; }
.why-shift-2:hover .why-shift-num { background: var(--childit-yellow); color: #0A1D37; }
.why-shift-3:hover .why-shift-num { background: var(--childit-green); color: #FFFFFF; }
.why-shift-4:hover .why-shift-num { background: var(--childit-blue); color: #FFFFFF; }
.why-shift-5:hover .why-shift-num { background: var(--childit-purple); color: #FFFFFF; }
.why-shift-6:hover .why-shift-num { background: var(--childit-pink); color: #FFFFFF; }

.why-shift-content {
    flex: 1;
}
.why-shift-title {
    font-size: 1.32rem;
    color: var(--childit-navy);
    margin-bottom: 8px;
    font-weight: 700;
}
.why-shift-desc {
    color: var(--text-muted);
    font-size: 0.98rem;
    line-height: 1.65;
    margin: 0;
}

/* Comparison Table */
.why-compare-card {
    background: #FFFFFF;
    border-radius: var(--radius-lg);
    border: 2px solid var(--border-color);
    box-shadow: var(--shadow-md);
    padding: 45px;
    margin-bottom: 75px;
}
.why-compare-header {
    text-align: center;
    margin-bottom: 35px;
}
.why-compare-title {
    font-size: 2.6rem;
    color: var(--childit-navy);
    margin-bottom: 10px;
}
.why-compare-sub {
    color: var(--text-muted);
    font-size: 1.05rem;
}
.why-table-wrap {
    overflow-x: auto;
}
.why-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
}
.why-table thead tr {
    background: var(--childit-navy);
    color: #FFFFFF;
}
.why-th-feature {
    padding: 16px 20px;
    border-radius: 12px 0 0 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
}
.why-th-montessori {
    padding: 16px 20px;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    background: var(--childit-orange);
    color: #FFFFFF;
}
.why-th-conventional {
    padding: 16px 20px;
    border-radius: 0 12px 0 0;
    font-family: var(--font-heading);
    font-size: 1.05rem;
    color: #CBD5E1;
}
.why-table tbody tr {
    border-bottom: 1px solid #E2E8F0;
    background: #FFFFFF;
}
.why-table tbody tr.why-tr-alt {
    background: #F8FAFC;
}
.why-td-feature {
    padding: 16px 20px;
    font-weight: 700;
    color: var(--childit-navy);
}
.why-td-montessori {
    padding: 16px 20px;
    color: var(--text-dark);
    background: #FFFDF8;
}
.why-td-conventional {
    padding: 16px 20px;
    color: var(--text-muted);
}

/* A Day in the Life Rhythm */
.why-rhythm-grid {
    align-items: center;
    margin-bottom: 75px;
}
.why-rhythm-title {
    font-size: 2.5rem;
    color: var(--childit-navy);
    margin-bottom: 18px;
}
.why-rhythm-lead {
    font-size: 1.08rem;
    color: var(--text-muted);
    line-height: 1.7;
    margin-bottom: 18px;
}
.why-rhythm-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 24px;
}
.why-rhythm-item {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.why-rhythm-num {
    font-size: 1.4rem;
    line-height: 1.2;
}
.why-rhythm-step-title {
    font-size: 1.15rem;
    color: var(--childit-navy);
    margin-bottom: 2px;
}
.why-rhythm-step-desc {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.95rem;
}
.why-rhythm-photo {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    width: 100%;
    border: 4px solid var(--childit-yellow);
    display: block;
}

/* Rolling Admissions Banner */
.why-admissions-banner {
    background: var(--childit-navy);
    border-radius: var(--radius-lg);
    padding: 50px 45px;
    color: #FFFFFF;
    text-align: center;
    position: relative;
}
.why-admissions-badge {
    margin-bottom: 12px;
    background: rgba(255, 42, 109, 0.25);
    color: #FF2A6D;
}
.why-admissions-title {
    font-size: 2.6rem;
    color: #FFFFFF;
    margin-bottom: 14px;
}
.why-admissions-lead {
    font-size: 1.1rem;
    max-width: 760px;
    margin: 0 auto 26px;
    color: #CBD5E1;
    line-height: 1.7;
}
.why-admissions-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}
.why-admissions-btn {
    font-size: 1.1rem;
    padding: 14px 32px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .why-main-section {
        padding: 50px 0;
    }
    .why-window-card,
    .why-compare-card,
    .why-admissions-banner {
        padding: 26px 18px !important;
        margin-bottom: 45px !important;
        border-radius: 20px !important;
    }
    .why-window-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }
    .why-window-icon {
        margin: 0 auto 10px auto;
        width: 70px;
        height: 70px;
        font-size: 2.2rem;
        border-radius: 18px;
    }
    .why-window-heading {
        font-size: 1.75rem !important;
        text-align: center;
    }
    .why-shifts-title,
    .why-compare-title,
    .why-rhythm-title,
    .why-admissions-title {
        font-size: 2rem !important;
    }
    .why-shifts-grid {
        gap: 16px;
        margin-bottom: 45px;
    }
    .why-shift-card {
        padding: 20px 16px;
        gap: 14px;
    }
    .why-shift-title {
        font-size: 1.15rem;
    }
    .why-rhythm-grid {
        margin-bottom: 45px;
    }
    .why-table th,
    .why-td-feature,
    .why-td-montessori,
    .why-td-conventional {
        padding: 12px 10px;
        font-size: 0.88rem;
    }
    .why-admissions-actions {
        flex-direction: column;
        width: 100%;
    }
    .why-admissions-btn {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}
