/* ============================================================
   style.css — Home page specific styles
   (shared.css handles header, footer, typography base)
   ============================================================ */

/* ===== BANNER ===== */
.bannerdiv {
    padding: calc(var(--nav-h) + 24px) 32px 0;
    display: flex;
    justify-content: center;
}

#bannerimg1 {
    width: 100%;
    max-width: 1200px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

/* ===== HERO ===== */
.herosection {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 48px;
    padding: 64px 80px;
    flex-wrap: wrap;
}

.hero-text { flex: 1; min-width: 280px; }

.hero-headline {
    font-size: clamp(32px, 4.5vw, 56px);
    color: var(--purple);
    line-height: 1.15;
    margin: 10px 0 20px;
    text-shadow: 0 2px 20px rgba(74,33,156,.15);
}

.hero-desc {
    font-size: clamp(15px, 1.6vw, 18px);
    line-height: 1.75;
    color: var(--muted);
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-btn {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    padding: 13px 28px;
    border-radius: 28px;
    font-weight: 600;
    font-size: .95rem;
    transition: background .2s, transform .15s;
}

.hero-btn:hover { background: var(--purple); transform: scale(1.03); }

.hero-img { flex: 1; display: flex; justify-content: center; min-width: 240px; }
.hero-img img { width: 100%; max-width: 440px; border-radius: 16px; }

/* ===== STATS ===== */
.stats-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    padding: 0 40px 60px;
}

.stat-card {
    background: var(--white);
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    min-width: 200px;
    flex: 1;
    max-width: 260px;
    transition: transform .2s;
}

.stat-card:hover { transform: translateY(-4px); }

.stat-icon { width: 52px; height: 52px; object-fit: contain; flex-shrink: 0; }

.stat-num {
    display: block;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--purple);
}

.stat-label {
    display: block;
    font-size: .78rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-top: 2px;
}

/* ===== HOW IT WORKS ===== */
.how-section {
    padding: 20px 40px 70px;
    text-align: center;
}

.section-title {
    color: var(--purple);
    font-size: clamp(26px, 3.5vw, 42px);
    margin: 8px 0 40px;
}

.how-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 24px;
    justify-content: center;
    margin-top: 10px;
}

.how-card {
    background: var(--white);
    padding: 36px 28px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    max-width: 300px;
    flex: 1;
    min-width: 220px;
    transition: transform .2s;
}

.how-card:hover { transform: translateY(-5px); }

.how-icon { width: 64px; height: 64px; object-fit: contain; margin: 0 auto 18px; }

.how-card-title {
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    color: var(--purple);
    margin-bottom: 10px;
}

.how-card-text { font-size: .93rem; line-height: 1.7; color: var(--muted); }

/* ===== MENTORS ===== */
.mentors-section {
    padding: 20px 40px 70px;
    text-align: center;
    background: var(--white);
}

.section-sub {
    font-size: clamp(14px, 1.5vw, 17px);
    color: var(--muted);
    max-width: 620px;
    margin: 0 auto 40px;
    line-height: 1.7;
}

.mentors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 32px;
    justify-content: center;
}

.mentor-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    max-width: 380px;
    background: var(--bg);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: var(--shadow);
    transition: transform .2s;
}

.mentor-card:hover { transform: translateY(-4px); }

.mentor-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 60px 10px 60px 10px;
    box-shadow: 0 4px 24px rgba(74,33,156,.2);
}

.mentor-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    color: var(--purple);
    margin-bottom: 8px;
}

.mentor-bio {
    font-size: .9rem;
    line-height: 1.75;
    color: var(--muted);
    text-align: center;
}

/* ===== MIDDLE BANNER ===== */
.mid-banner {
    display: flex;
    justify-content: center;
    padding: 60px 40px;
}

.mid-banner-img {
    width: 100%;
    max-width: 960px;
    border-radius: 20px;
    box-shadow: var(--shadow);
}

/* ===== FAQ ===== */
.faq-section {
    padding: 20px 40px 70px;
    max-width: 780px;
    margin: 0 auto;
    width: 100%;
}

.faq-list {
    margin-top: 32px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,.07);
}

.faq-q {
    width: 100%;
    background: var(--orange);
    border: none;
    padding: 18px 22px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    color: #fff;
    font-family: 'DM Sans', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-align: left;
    gap: 12px;
    transition: background .2s;
}

.faq-q:hover { background: var(--orange-dk); }

.faq-arrow {
    font-size: 1.1rem;
    transition: transform .3s;
    flex-shrink: 0;
}

.faq-item.open .faq-arrow { transform: rotate(180deg); }

.faq-a {
    display: none;
    padding: 16px 22px;
    font-size: .93rem;
    line-height: 1.7;
    color: var(--muted);
}

.faq-item.open .faq-a { display: block; }

.Visit-btn {
    display: inline-block;
    background: var(--orange);
    color: #fff;
    padding: 13px 28px;
    border-radius: 28px;
    font-weight: 600;
    font-size: .95rem;
    transition: background .2s, transform .15s;
}
/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
    .bannerdiv { padding: calc(var(--nav-h) + 16px) 16px 0; }

    .herosection {
        flex-direction: column;
        padding: 40px 20px;
        text-align: center;
    }

    .hero-desc { margin: 0 auto 28px; }
    .stats-grid { padding: 0 20px 40px; }
    .stat-card { max-width: 100%; min-width: 140px; }
    .how-section { padding: 20px 20px 50px; }
    .mentors-section { padding: 20px 20px 50px; }
    .mid-banner { padding: 40px 20px; }
    .faq-section { padding: 20px 20px 50px; }
}

@media (max-width: 480px) {
    .stat-card { min-width: calc(50% - 10px); }
}