/* =============================================
   INDIAN EDUCATION SITE — Mobile-First CSS
   Inspired by Allen, Aakash, Vedantu aesthetic
   ============================================= */

:root {
    /* Indian Ed-Tech Color Palette */
    --saffron: #FF6B00;
    --saffron-dark: #e55c00;
    --saffron-light: #fff3e8;
    --navy: #0d1b6e;
    --navy-dark: #081055;
    --navy-light: #e8eaf8;
    --green: #1a8a4a;
    --green-bg: #e8f7ef;
    --red: #cc1a1a;
    --red-bg: #fde8e8;
    --gold: #f5a623;

    --bg: #f4f6ff;
    --surface: #ffffff;
    --text: #0d1b2a;
    --text-muted: #556080;
    --border: #dde3f0;

    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;

    --radius: 12px;
    --radius-sm: 8px;
    --shadow-sm: 0 2px 8px rgba(13,27,110,0.08);
    --shadow-md: 0 4px 20px rgba(13,27,110,0.12);
    --transition: all 0.25s ease;
}

/* ── Reset ── */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; max-width: 100%; overflow-x: hidden; }
body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    max-width: 100%;
    overflow-x: hidden;
    /* bottom padding so sticky bar doesn't cover content */
    padding-bottom: 70px;
}
h1, h2, h3, h4 {
    font-family: var(--font-heading);
    font-weight: 800;
    line-height: 1.2;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }

/* ── Container ── */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* ── Utility ── */
.text-orange { color: var(--saffron); }
.text-navy   { color: var(--navy); }

/* ── Urgency Banner (top of page) ── */
.urgency-bar {
    background: linear-gradient(90deg, var(--navy-dark), #1a2a9e, var(--navy-dark));
    color: white;
    text-align: center;
    padding: 0.5rem 1rem;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}
.urgency-bar::after {
    content: '';
    position: absolute;
    top: 0; left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.07), transparent);
    animation: shimmer 2.5s infinite;
}
@keyframes shimmer { to { left: 150%; } }
.urgency-bar span { color: var(--gold); }

/* ── Navbar ── */
.navbar {
    background: var(--surface);
    border-bottom: 2px solid var(--navy-light);
    position: sticky;
    top: 0;
    z-index: 500;
    box-shadow: var(--shadow-sm);
}
.navbar.scrolled { box-shadow: 0 2px 20px rgba(0,0,0,0.1); background: rgba(255,255,255,0.98); backdrop-filter: blur(10px); }
.nav-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.65rem 1rem;
    max-width: 1100px;
    margin: 0 auto;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}
.logo-icon {
    width: 40px; height: 40px;
    background: linear-gradient(135deg, var(--saffron), var(--navy));
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.1rem;
    font-weight: 900;
    font-family: var(--font-heading);
    flex-shrink: 0;
}
.logo img { max-height: 40px; width: auto; }
.logo-text {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    font-weight: 900;
    color: var(--navy);
    letter-spacing: -0.5px;
    line-height: 1;
}
.logo-text small {
    display: block;
    font-size: 0.62rem;
    font-weight: 600;
    color: var(--saffron);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

/* Desktop Nav Links */
.nav-links {
    display: flex;
    align-items: center;
    gap: 0.2rem;
}
.nav-link {
    padding: 0.5rem 0.75rem;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-muted);
    border-radius: 6px;
    transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
    color: var(--navy);
    background: var(--navy-light);
}
.nav-cta {
    background: var(--saffron);
    color: white !important;
    border-radius: 8px;
    padding: 0.55rem 1rem;
    font-weight: 700 !important;
    font-size: 0.82rem !important;
}
.nav-cta:hover { background: var(--saffron-dark); transform: translateY(-1px); }

/* hamburger */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
}
.hamburger span {
    display: block;
    width: 22px; height: 2.5px;
    background: var(--navy);
    border-radius: 99px;
    transition: var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

.nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 400;
}
.nav-overlay.active { display: block; }

/* ── Buttons ── */
.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: var(--saffron);
    color: white;
    border: none;
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.95rem;
    padding: 0.85rem 1.5rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    min-height: 50px;
    box-shadow: 0 4px 12px rgba(255,107,0,0.35);
}
.btn-primary:hover { background: var(--saffron-dark); transform: translateY(-2px); }
.btn-primary:active { transform: translateY(0); }

.btn-secondary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    background: white;
    color: var(--navy);
    border: 2px solid var(--navy);
    border-radius: var(--radius-sm);
    font-family: var(--font-body);
    font-weight: 700;
    font-size: 0.9rem;
    padding: 0.8rem 1.4rem;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    min-height: 50px;
}
.btn-secondary:hover { background: var(--navy-light); }

.btn-block { width: 100%; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.82rem; min-height: 38px; }

/* Section Tag */
.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: var(--saffron-light);
    color: var(--saffron-dark);
    border: 1px solid #ffd4b2;
    border-radius: 6px;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.3rem 0.75rem;
    margin-bottom: 0.75rem;
}
.section-tag.blue {
    background: var(--navy-light);
    color: var(--navy);
    border-color: #bdc8ef;
}

/* Section Header */
.section-header { margin-bottom: 2rem; }
.section-header h2 { font-size: 1.75rem; color: var(--navy); margin-bottom: 0.5rem; }
.section-header p { color: var(--text-muted); font-size: 0.9rem; }
.section-header.centered { text-align: center; }
.section-header .highlight { color: var(--saffron); }

/* ── HERO ── */
.hero {
    background: linear-gradient(160deg, var(--navy-dark) 0%, #1a2a9e 60%, #2d3eb0 100%);
    padding: 1.75rem 1rem 0;
    position: relative;
    overflow: hidden;
}
.hero::before {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 40px;
    background: var(--bg);
    clip-path: ellipse(55% 100% at 50% 100%);
}
.hero::after {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 280px; height: 280px;
    background: radial-gradient(circle, rgba(255,107,0,0.15), transparent 70%);
    pointer-events: none;
}

/* Hero Badge */
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(255,107,0,0.18);
    border: 1px solid rgba(255,107,0,0.4);
    color: #ffb380;
    border-radius: 6px;
    padding: 0.35rem 0.85rem;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.hero-badge .dot {
    width: 6px; height: 6px;
    background: var(--saffron);
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.3); }
}

.hero-content {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding-bottom: 3rem;
}

.hero-text h1 {
    font-size: 2rem;
    color: white;
    margin-bottom: 0.75rem;
    letter-spacing: -0.5px;
    line-height: 1.15;
}
.hero-text h1 .orange { color: var(--saffron); }

.hero-text p {
    color: rgba(255,255,255,0.75);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    line-height: 1.65;
}

.hero-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
    margin-bottom: 1.5rem;
}

/* Stats Strip in Hero */
.hero-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    overflow: hidden;
}
.h-stat {
    padding: 0.75rem 0.5rem;
    text-align: center;
    border-right: 1px solid rgba(255,255,255,0.1);
}
.h-stat:last-child { border-right: none; }
.h-stat strong {
    display: block;
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--saffron);
}
.h-stat span {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.6);
    font-weight: 600;
    line-height: 1.3;
}

/* Hero Visual */
.hero-visual {
    position: relative;
}
.carousel {
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 16/9;
    box-shadow: 0 16px 40px rgba(0,0,0,0.4);
    border: 2px solid rgba(255,255,255,0.15);
    background: var(--navy-light);
}
.carousel-track { display: flex; height: 100%; transition: transform 0.55s ease; }
.carousel-slide { min-width: 100%; height: 100%; }
.carousel-slide img { width: 100%; height: 100%; object-fit: cover; }
.carousel-btn {
    position: absolute;
    top: 50%; transform: translateY(-50%);
    background: rgba(255,255,255,0.9);
    border: none; width: 36px; height: 36px;
    border-radius: 50%;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    z-index: 5;
}
.carousel-btn:hover { background: white; transform: translateY(-50%) scale(1.1); }
.carousel-btn.prev { left: 8px; }
.carousel-btn.next { right: 8px; }
.carousel-dots {
    position: absolute; bottom: 8px; left: 50%; transform: translateX(-50%);
    display: flex; gap: 5px; z-index: 5;
}
.dot { width: 6px; height: 6px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: var(--transition); }
.dot.active { background: white; width: 18px; border-radius: 99px; }

/* Hero illustration fallback */
.hero-illustration {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: var(--radius);
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.ill-card {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: var(--radius-sm);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}
.ill-card .icon { font-size: 1.5rem; margin-bottom: 0.25rem; }
.ill-card strong { font-family: var(--font-heading); font-size: 0.9rem; color: white; }
.ill-card span { font-size: 0.72rem; color: rgba(255,255,255,0.6); }
.ill-card.full { grid-column: 1 / -1; flex-direction: row; align-items: center; gap: 1rem; }
.ill-card.full strong { font-size: 1rem; }

/* ── QUICK TRUST STRIP ── */
.trust-strip {
    background: var(--surface);
    border-bottom: 1px solid var(--border);
    padding: 0.6rem 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    white-space: nowrap;
}
.trust-strip-inner {
    display: inline-flex;
    align-items: center;
    gap: 1.5rem;
    font-size: 0.78rem;
    font-weight: 600;
    color: var(--text-muted);
}
.trust-item { display: inline-flex; align-items: center; gap: 0.35rem; }
.trust-item span[data-icon] { font-size: 0.9rem; }
.trust-divider { color: var(--border); }

/* ── WHY US SECTION ── */
.why-section { padding: 2.5rem 1rem; background: var(--surface); }
.why-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.why-card {
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    transition: var(--transition);
}
.why-card:hover { border-color: var(--saffron); box-shadow: var(--shadow-sm); }
.why-icon { font-size: 1.5rem; margin-bottom: 0.5rem; }
.why-card h3 { font-size: 0.9rem; color: var(--navy); margin-bottom: 0.25rem; }
.why-card p { font-size: 0.78rem; color: var(--text-muted); line-height: 1.55; }

/* ── COURSES SECTION ── */
.courses-section { padding: 2.5rem 1rem; background: var(--bg); }
.courses-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0.75rem;
}
.course-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1rem;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}
.course-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--saffron);
}
.course-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-icon {
    width: 44px; height: 44px;
    border-radius: 10px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.3rem;
    margin-bottom: 0.75rem;
}
.course-card h3 { font-size: 0.88rem; color: var(--navy); margin-bottom: 0.4rem; line-height: 1.3; }
.course-card p { font-size: 0.75rem; color: var(--text-muted); margin-bottom: 0.75rem; line-height: 1.5; }
.card-link {
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--saffron);
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

/* ── TESTIMONIALS ── */
.testimonials-section { padding: 2.5rem 1rem; background: var(--surface); }
.testimonials-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}
.testimonials-scroll::-webkit-scrollbar { height: 4px; }
.testimonials-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

.testimonial-card {
    min-width: 280px;
    max-width: 280px;
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 1.1rem;
    background: var(--bg);
    scroll-snap-align: start;
    flex-shrink: 0;
}
.testimonial-card.featured {
    background: linear-gradient(135deg, var(--navy-dark), #1a2a9e);
    border-color: transparent;
    color: white;
}
.stars { color: #f59e0b; font-size: 0.85rem; margin-bottom: 0.5rem; letter-spacing: 1px; }
.testimonial-card.featured .stars { color: #fde68a; }
.testimonial-text { font-size: 0.82rem; line-height: 1.65; color: var(--text-muted); font-style: italic; margin-bottom: 1rem; }
.testimonial-card.featured .testimonial-text { color: rgba(255,255,255,0.8); }
.testimonial-author { display: flex; align-items: center; gap: 0.6rem; }
.author-avatar {
    width: 38px; height: 38px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-weight: 800;
    font-size: 1rem;
    font-family: var(--font-heading);
    flex-shrink: 0;
}
.testimonial-card.featured .author-avatar { background: rgba(255,255,255,0.2) !important; color: white !important; }
.testimonial-author strong { display: block; font-size: 0.85rem; color: var(--navy); }
.testimonial-card.featured .testimonial-author strong { color: white; }
.testimonial-author span { font-size: 0.72rem; color: var(--text-muted); }
.testimonial-card.featured .testimonial-author span { color: rgba(255,255,255,0.6); }
.scroll-hint { text-align: center; font-size: 0.72rem; color: var(--text-muted); margin-top: 0.5rem; }

/* ── CONTACT SECTION ── */
.contact-section { padding: 2.5rem 1rem 3rem; background: var(--bg); }
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}
.contact-info-box {
    background: linear-gradient(135deg, var(--navy-dark), #1a2a9e);
    border-radius: var(--radius);
    padding: 1.5rem;
    color: white;
}
.contact-info-box h2 { font-size: 1.4rem; color: white; margin-bottom: 0.5rem; }
.contact-info-box h2 .orange { color: var(--saffron); }
.contact-info-box p { color: rgba(255,255,255,0.7); font-size: 0.85rem; margin-bottom: 1.25rem; }
.contact-info-list { display: flex; flex-direction: column; gap: 0.75rem; }
.contact-info-item {
    display: flex; align-items: center; gap: 0.75rem;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    padding: 0.7rem 0.9rem;
    font-size: 0.85rem;
    color: rgba(255,255,255,0.9);
}
.ci-icon { font-size: 1.1rem; flex-shrink: 0; }

/* Contact Form Card */
.contact-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1.25rem;
    box-shadow: var(--shadow-md);
}
.contact-card h3 {
    font-size: 1.1rem;
    color: var(--navy);
    margin-bottom: 1.25rem;
    padding-bottom: 0.75rem;
    border-bottom: 2px solid var(--saffron-light);
}

/* Form */
.form-group { margin-bottom: 1rem; }
.form-group label {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--navy);
    margin-bottom: 0.4rem;
}
.form-group input,
.form-group select {
    width: 100%;
    padding: 0.8rem 0.9rem;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-family: var(--font-body);
    color: var(--text);
    background: white;
    min-height: 48px;
    transition: var(--transition);
    -webkit-appearance: none;
    appearance: none;
}
.form-group select {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 24 24' stroke='%23556080'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M19 9l-7 7-7-7'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 1.1rem;
    padding-right: 2.5rem;
}
.form-group input:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--saffron);
    box-shadow: 0 0 0 3px rgba(255,107,0,0.1);
}
.form-message {
    display: none;
    padding: 0.75rem 1rem;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
}
.form-message.success { display: block; background: var(--green-bg); color: var(--green); }
.form-message.error   { display: block; background: var(--red-bg);   color: var(--red); }
.form-disclaimer { font-size: 0.7rem; color: var(--text-muted); text-align: center; margin-top: 0.5rem; }

/* ── FOOTER ── */
footer {
    background: var(--navy-dark);
    padding: 2rem 1rem 1.5rem;
    color: rgba(255,255,255,0.6);
}
.footer-top {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}
.footer-brand h3 {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: white;
    margin-bottom: 0.35rem;
}
.footer-brand p { font-size: 0.78rem; line-height: 1.6; }
.footer-col h4 {
    font-family: var(--font-heading);
    font-size: 0.85rem;
    color: white;
    margin-bottom: 0.75rem;
}
.footer-col a {
    display: block;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.5);
    margin-bottom: 0.4rem;
    transition: var(--transition);
}
.footer-col a:hover { color: var(--saffron); }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.08);
    padding-top: 1rem;
    font-size: 0.72rem;
    text-align: center;
    color: rgba(255,255,255,0.3);
}

/* ── STICKY BOTTOM BAR (mobile CTA) ── */
.sticky-bar {
    position: fixed;
    bottom: 0; left: 0; right: 0;
    background: var(--surface);
    border-top: 2px solid var(--border);
    padding: 0.65rem 1rem;
    display: flex;
    gap: 0.5rem;
    z-index: 900;
    box-shadow: 0 -4px 20px rgba(13,27,110,0.15);
}
.sticky-bar a {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    padding: 0.7rem;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.82rem;
    transition: var(--transition);
    min-height: 46px;
    text-decoration: none;
}
.sticky-bar .call-btn {
    background: var(--navy);
    color: white;
}
.sticky-bar .enquire-btn {
    background: var(--saffron);
    color: white;
}
.sticky-bar .wa-btn {
    background: #25d366;
    color: white;
    flex: 0.7;
}
.sticky-bar .wa-btn svg { width: 18px; height: 18px; fill: white; flex-shrink: 0; }

/* ── FLOATING WHATSAPP (desktop) ── */
.wa-float {
    display: none;
    position: fixed;
    bottom: 28px;
    right: 20px;
    width: 54px; height: 54px;
    background: #25d366;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 16px rgba(37,211,102,0.5);
    z-index: 500;
    animation: bounce 2s infinite;
}
.wa-float svg { width: 26px; height: 26px; fill: white; }
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ── RESPONSIVE ── */

/* Tablet */
@media (min-width: 600px) {
    .hero-content { grid-template-columns: 1fr 1fr; align-items: center; }
    .hero-text h1 { font-size: 2.25rem; }
    .hero-actions { grid-template-columns: auto auto; width: fit-content; }
    .contact-wrapper { grid-template-columns: 1fr 1fr; align-items: start; }
    .footer-top { grid-template-columns: 1fr 1fr 1fr; }
    .why-grid { grid-template-columns: repeat(3, 1fr); }
    .courses-grid { grid-template-columns: repeat(2, 1fr); }
}

/* Desktop */
@media (min-width: 900px) {
    body { padding-bottom: 0; }
    .sticky-bar { display: none; }
    .wa-float { display: flex; }
    .hamburger { display: none; }
    .navbar .btn-sm { display: inline-flex; }

    .hero { padding: 3rem 1rem 0; }
    .hero-text h1 { font-size: 2.8rem; }

    .why-grid { grid-template-columns: repeat(3, 1fr); }
    .courses-grid { grid-template-columns: repeat(4, 1fr); }
    .section-header h2 { font-size: 2.1rem; }
    .contact-wrapper { grid-template-columns: 1fr 1.1fr; gap: 2rem; align-items: start; }
    .footer-top { grid-template-columns: 2fr 1fr 1fr; gap: 3rem; }

    .why-section, .courses-section, .testimonials-section, .contact-section { padding: 4rem 1rem; }
}

/* Mobile only */
@media (max-width: 599px) {
    .hamburger { display: flex; }
    .nav-links {
        position: fixed;
        top: 0; right: -100%; bottom: 0;
        width: 80%; max-width: 300px;
        background: white;
        flex-direction: column;
        align-items: flex-start;
        padding: 4.5rem 1.25rem 1.5rem;
        gap: 0.2rem;
        z-index: 501;
        box-shadow: var(--shadow-md);
        transition: right 0.3s ease;
        overflow-y: auto;
    }
    .nav-links.open { right: 0; }
    .nav-link { width: 100%; padding: 0.8rem 1rem; font-size: 0.95rem; }
    .nav-cta { width: 100%; margin-top: 0.5rem; justify-content: center; }

    .courses-grid { grid-template-columns: 1fr; }
    .why-grid { grid-template-columns: 1fr; }
    .teachers-grid { grid-template-columns: 1fr; }
    .leaders-grid { grid-template-columns: 1fr; }

    .hero-stats { grid-template-columns: repeat(2, 1fr); }
    .h-stat { border-right: 1px solid rgba(255,255,255,0.1); border-bottom: 1px solid rgba(255,255,255,0.1); }
    .h-stat:nth-child(2n) { border-right: none; }
    .h-stat:nth-child(3), .h-stat:nth-child(4) { border-bottom: none; }
    .h-stat strong { font-size: 1.1rem; }

    .trust-strip { font-size: 0.72rem; }
    .section-header h2 { font-size: 1.5rem; }
}

/* =============================================
   POPUP OVERLAY
   ============================================= */
.popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(13,27,110,0.65);
    backdrop-filter: blur(4px);
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    animation: fadeIn 0.3s ease;
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.popup-box {
    background: white;
    border-radius: var(--radius);
    padding: 2rem 1.5rem;
    max-width: 380px;
    width: 100%;
    position: relative;
    text-align: center;
    box-shadow: 0 30px 80px rgba(0,0,0,0.35);
    animation: slideUp 0.35s cubic-bezier(0.34,1.56,0.64,1);
}
@keyframes slideUp { from { transform: translateY(40px); opacity: 0; } to { transform: translateY(0); opacity: 1; } }

.popup-close {
    position: absolute;
    top: 0.75rem; right: 0.75rem;
    background: #f1f5f9;
    border: none;
    border-radius: 50%;
    width: 32px; height: 32px;
    font-size: 1rem;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    color: var(--text-muted);
    transition: var(--transition);
    line-height: 1;
}
.popup-close:hover { background: #e2e8f0; color: var(--text); }

.popup-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }

.popup-box h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--navy);
    margin-bottom: 0.4rem;
}
.popup-box > p {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 1.25rem;
    line-height: 1.55;
}
.popup-box .form-group { text-align: left; margin-bottom: 0.75rem; }
.popup-box-banner { max-width: 420px; padding: 1.5rem; }
.popup-graphic-wrap { width: 100%; aspect-ratio: 1 / 1; border-radius: var(--radius-sm); overflow: hidden; margin-bottom: 1rem; border: 1px solid var(--border); box-shadow: var(--shadow-sm); }
.popup-graphic-1to1 { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform 0.3s ease; }
.popup-graphic-wrap:hover .popup-graphic-1to1 { transform: scale(1.03); }
.popup-cta-btn { text-decoration: none; display: inline-flex; align-items: center; justify-content: center; width: 100%; box-sizing: border-box; }

/* =============================================
   TOPPERS PHOTO GALLERY
   ============================================= */
.toppers-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 1rem;
    scroll-snap-type: x mandatory;
}
.toppers-scroll::-webkit-scrollbar { height: 4px; }
.toppers-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

.topper-card {
    flex-shrink: 0;
    width: 140px;
    text-align: center;
    scroll-snap-align: start;
}
.topper-photo {
    width: 100px; height: 100px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--saffron-light);
    display: block;
    margin: 0 auto 0.6rem;
    box-shadow: 0 4px 16px rgba(255,107,0,0.15);
}
.topper-photo-placeholder {
    width: 100px; height: 100px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy-light), #dde8ff);
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 0.6rem;
    font-size: 2rem; font-weight: 900;
    color: var(--navy);
    font-family: var(--font-heading);
    border: 4px solid var(--navy-light);
}
.topper-name {
    font-weight: 700;
    font-size: 0.85rem;
    color: var(--navy);
    margin-bottom: 0.2rem;
    line-height: 1.3;
}
.topper-result {
    font-size: 0.72rem;
    color: var(--saffron-dark);
    font-weight: 700;
    line-height: 1.4;
}

/* =============================================
   LEADERBOARD MINI STRIP (homepage)
   ============================================= */
.lb-strip-section {
    padding: 2rem 1rem;
    background: var(--surface);
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}
.lb-mini-scroll {
    display: flex;
    gap: 0.75rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 0.5rem;
    scroll-snap-type: x mandatory;
}
.lb-mini-scroll::-webkit-scrollbar { height: 3px; }
.lb-mini-scroll::-webkit-scrollbar-thumb { background: var(--border); border-radius: 99px; }

.lb-mini-card {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 0.6rem;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 0.75rem 1rem;
    min-width: 200px;
    scroll-snap-align: start;
    transition: var(--transition);
}
.lb-mini-card:hover { border-color: var(--saffron); transform: translateY(-2px); }
.lb-mini-rank { font-size: 1.3rem; flex-shrink: 0; }
.lb-mini-photo {
    width: 40px; height: 40px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
    border: 2px solid var(--navy-light);
}
.lb-mini-placeholder {
    width: 40px; height: 40px;
    border-radius: 50%;
    background: var(--navy-light);
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1rem;
    color: var(--navy);
    font-family: var(--font-heading);
    flex-shrink: 0;
}
.lb-mini-info strong { display: block; font-size: 0.85rem; color: var(--navy); font-weight: 700; }
.lb-mini-info span { font-size: 0.72rem; color: var(--text-muted); }

/* Accessibility */
*:focus-visible { outline: 2px solid var(--saffron); outline-offset: 2px; }
*:focus:not(:focus-visible) { outline: none; }
.skip-link { position: absolute; left: -9999px; top: auto; z-index: 10000; padding: 8px 16px; background: var(--saffron); color: white; font-weight: 700; border-radius: 4px; }
.skip-link:focus { left: 16px; top: 16px; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; } html { scroll-behavior: auto; } }
@media print { .sticky-bar, .wa-float, .popup-overlay, .urgency-bar { display: none !important; } body { padding: 0; } }
@media (max-width: 380px) { .footer-top { grid-template-columns: 1fr; } }

/* Course Detail */
.course-hero { background: linear-gradient(160deg, var(--navy-dark) 0%, #1a2a9e 60%, #2d3eb0 100%); padding: 2rem 1rem 3rem; color: white; position: relative; overflow: hidden; }
.course-hero::before { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 40px; background: var(--bg); clip-path: ellipse(55% 100% at 50% 100%); }
.course-hero-inner { max-width: 1100px; margin: 0 auto; }
.breadcrumb { font-size: 0.78rem; color: rgba(255,255,255,0.6); margin-bottom: 1rem; display: flex; align-items: center; gap: 0.3rem; flex-wrap: wrap; }
.breadcrumb a { color: rgba(255,255,255,0.6); transition: var(--transition); }
.breadcrumb a:hover { color: var(--saffron); }
.breadcrumb .sep { color: rgba(255,255,255,0.3); }
.course-hero-icon { font-size: 3rem; margin-bottom: 0.75rem; }
.course-hero h1 { font-size: 2rem; color: white; margin-bottom: 0.75rem; line-height: 1.2; }
.course-hero-desc { color: rgba(255,255,255,0.8); font-size: 0.95rem; line-height: 1.65; max-width: 700px; }
.detail-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.75rem; padding: 2rem 1rem; max-width: 1100px; margin: 0 auto; }
.detail-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; }
.detail-card.fee { background: linear-gradient(135deg, var(--saffron), var(--saffron-dark)); color: white; border: none; }
.detail-label { font-size: 0.72rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.06em; color: var(--text-muted); margin-bottom: 0.35rem; }
.detail-card.fee .detail-label { color: rgba(255,255,255,0.85); }
.detail-value { font-size: 1.1rem; font-weight: 800; color: var(--navy); font-family: var(--font-heading); }
.detail-card.fee .detail-value { color: white; font-size: 1.25rem; }
.extra-info-section { padding: 0 1rem 2rem; max-width: 1100px; margin: 0 auto; }
.extra-info-box { background: var(--navy-light); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem 1.5rem; }
.extra-info-box h3 { font-size: 1rem; color: var(--navy); margin-bottom: 0.75rem; }
.extra-info-box p { font-size: 0.88rem; color: var(--text); line-height: 1.75; }
.teachers-section { padding: 2rem 1rem; background: var(--surface); }
.teachers-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.teacher-card { background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1.25rem; display: flex; align-items: center; gap: 1rem; }
.teacher-avatar { width: 60px; height: 60px; border-radius: 50%; object-fit: cover; flex-shrink: 0; border: 3px solid var(--saffron-light); }
.teacher-avatar-placeholder { width: 60px; height: 60px; border-radius: 50%; background: linear-gradient(135deg, var(--saffron), var(--navy)); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 900; color: white; font-family: var(--font-heading); flex-shrink: 0; }
.teacher-name { font-weight: 700; font-size: 0.95rem; color: var(--navy); margin-bottom: 0.2rem; }
.teacher-qual { font-size: 0.78rem; color: var(--text-muted); }
.enroll-cta { background: linear-gradient(135deg, var(--navy-dark), #1a2a9e); padding: 3rem 1rem; text-align: center; }
.enroll-cta h2 { color: white; font-size: 1.75rem; margin-bottom: 0.5rem; }
.enroll-cta p { color: rgba(255,255,255,0.75); margin-bottom: 1.75rem; font-size: 0.9rem; }
.enroll-actions { display: flex; flex-wrap: wrap; gap: 0.75rem; justify-content: center; }
.btn-white { background: white; color: var(--navy); border: none; border-radius: var(--radius-sm); padding: 0.85rem 1.5rem; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: var(--transition); display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none; }
.btn-white:hover { background: var(--saffron-light); transform: translateY(-2px); }
.btn-wa { background: #25d366; color: white; border: none; border-radius: var(--radius-sm); padding: 0.85rem 1.5rem; font-weight: 700; font-size: 0.9rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 0.4rem; text-decoration: none; }
.btn-wa:hover { background: #1db954; transform: translateY(-2px); }
.other-courses { padding: 2.5rem 1rem; background: var(--bg); }
@media (min-width: 600px) { .detail-grid { grid-template-columns: repeat(4, 1fr); } .teachers-grid { grid-template-columns: repeat(3, 1fr); } .course-hero h1 { font-size: 2.5rem; } }
@media (min-width: 900px) { .teachers-grid { grid-template-columns: repeat(4, 1fr); } }

/* Leaderboard Page */
.lb-hero { background: linear-gradient(160deg, var(--navy-dark) 0%, #1a2a9e 60%, #2d3eb0 100%); padding: 3rem 1rem 5rem; text-align: center; color: white; position: relative; overflow: hidden; }
.lb-hero::before { content: ''; position: absolute; bottom: -1px; left: 0; right: 0; height: 40px; background: var(--bg); clip-path: ellipse(55% 100% at 50% 100%); }
.lb-hero h1 { font-size: 2.25rem; margin-bottom: 0.5rem; }
.lb-hero p { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.lb-body { padding: 2rem 1rem; max-width: 900px; margin: 0 auto; }
.lb-empty { text-align: center; padding: 4rem 1rem; color: var(--text-muted); }
.lb-empty .empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.podium { display: flex; justify-content: center; align-items: flex-end; gap: 1rem; margin-bottom: 2.5rem; flex-wrap: wrap; }
.podium-item { text-align: center; flex: 1; max-width: 220px; min-width: 120px; }
.podium-item.first .podium-card { background: linear-gradient(135deg, #FFD700, #FFA500); }
.podium-item.second .podium-card { background: linear-gradient(135deg, #C0C0C0, #A0A0A0); }
.podium-item.third .podium-card { background: linear-gradient(135deg, #CD7F32, #A0522D); }
.podium-card { border-radius: var(--radius); padding: 1.25rem 0.75rem; color: white; box-shadow: var(--shadow-md); }
.podium-medal { font-size: 1.5rem; margin-bottom: 0.5rem; }
.podium-photo { border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,0.5); display: block; margin: 0 auto 0.5rem; }
.podium-photo-placeholder { border-radius: 50%; background: rgba(255,255,255,0.2); display: flex; align-items: center; justify-content: center; font-weight: 900; font-family: var(--font-heading); margin: 0 auto 0.5rem; }
.podium-item.first .podium-photo, .podium-item.first .podium-photo-placeholder { width: 90px; height: 90px; font-size: 2rem; }
.podium-item.second .podium-photo, .podium-item.second .podium-photo-placeholder, .podium-item.third .podium-photo, .podium-item.third .podium-photo-placeholder { width: 70px; height: 70px; font-size: 1.5rem; }
.podium-name { font-weight: 800; font-size: 0.9rem; margin-bottom: 0.2rem; }
.podium-achieve { font-size: 0.72rem; opacity: 0.85; margin-bottom: 0.5rem; line-height: 1.4; }
.podium-year { font-size: 0.7rem; opacity: 0.7; }
.share-btn { background: rgba(255,255,255,0.2); border: 1px solid rgba(255,255,255,0.4); color: white; border-radius: 6px; padding: 0.35rem 0.75rem; font-size: 0.72rem; font-weight: 700; cursor: pointer; margin-top: 0.5rem; transition: var(--transition); }
.share-btn:hover { background: rgba(255,255,255,0.35); }
.podium-stand { height: 10px; background: rgba(13,27,110,0.1); border-radius: 0 0 var(--radius-sm) var(--radius-sm); }
.podium-item.first .podium-stand { height: 60px; }
.podium-item.second .podium-stand { height: 40px; }
.podium-item.third .podium-stand { height: 20px; }
.leaders-grid { display: grid; grid-template-columns: 1fr; gap: 0.75rem; }
.leader-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 1rem; display: flex; align-items: center; gap: 0.75rem; transition: var(--transition); }
.leader-card:hover { border-color: var(--saffron); box-shadow: var(--shadow-sm); transform: translateY(-2px); }
.lb-rank { font-size: 1.1rem; font-weight: 900; color: var(--navy); font-family: var(--font-heading); min-width: 32px; }
.lb-photo { width: 50px; height: 50px; border-radius: 50%; object-fit: cover; border: 2px solid var(--navy-light); flex-shrink: 0; }
.lb-photo-placeholder { width: 50px; height: 50px; border-radius: 50%; background: var(--navy-light); display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; color: var(--navy); font-family: var(--font-heading); flex-shrink: 0; }
.lb-info { flex: 1; min-width: 0; }
.lb-info strong { display: block; font-size: 0.9rem; color: var(--navy); font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.lb-info span { font-size: 0.75rem; color: var(--text-muted); }
.lb-year { font-size: 0.7rem; background: var(--navy-light); color: var(--navy); padding: 0.2rem 0.5rem; border-radius: 4px; font-weight: 600; flex-shrink: 0; }
.lb-share { background: none; border: 1px solid var(--border); border-radius: 6px; padding: 0.3rem 0.6rem; font-size: 0.72rem; color: var(--text-muted); cursor: pointer; transition: var(--transition); flex-shrink: 0; }
.lb-share:hover { border-color: var(--saffron); color: var(--saffron); }
.share-modal { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); z-index: 3000; align-items: center; justify-content: center; padding: 1rem; }
.share-modal.active { display: flex; }
.share-modal-box { background: white; border-radius: var(--radius); padding: 1.5rem; max-width: 400px; width: 100%; text-align: center; }
.share-modal-box h3 { font-size: 1.1rem; color: var(--navy); margin-bottom: 1rem; }
.share-preview { border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; margin: 0 auto 1rem; max-width: 280px; min-height: 80px; display: flex; align-items: center; justify-content: center; }
.share-preview img { width: 100%; display: block; }
.share-modal-actions { display: flex; gap: 0.5rem; justify-content: center; flex-wrap: wrap; }
@media (min-width: 600px) { .leaders-grid { grid-template-columns: repeat(3, 1fr); } .lb-hero h1 { font-size: 2.75rem; } }

/* Blog */
.blog-hero { background: linear-gradient(160deg, var(--navy-dark), #1a2a9e); padding: 3rem 1rem; color: white; text-align: center; }
.blog-hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.blog-hero p { color: rgba(255,255,255,0.75); }
.blog-body { padding: 2.5rem 1rem; max-width: 1100px; margin: 0 auto; }
.blog-grid { display: grid; grid-template-columns: 1fr; gap: 1.25rem; }
.blog-card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; transition: var(--transition); display: flex; flex-direction: column; text-decoration: none; color: inherit; }
.blog-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.blog-thumb { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; }
.blog-thumb-placeholder { aspect-ratio: 16/9; background: var(--navy-light); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.blog-card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.blog-category { font-size: 0.7rem; font-weight: 800; text-transform: uppercase; letter-spacing: 0.06em; color: var(--saffron); margin-bottom: 0.5rem; }
.blog-card h2 { font-size: 1rem; color: var(--navy); margin-bottom: 0.5rem; line-height: 1.4; }
.blog-excerpt { font-size: 0.82rem; color: var(--text-muted); line-height: 1.6; flex: 1; margin-bottom: 1rem; }
.blog-meta { font-size: 0.72rem; color: var(--text-muted); display: flex; gap: 1rem; align-items: center; flex-wrap: wrap; }
.read-more { font-size: 0.82rem; font-weight: 700; color: var(--saffron); margin-top: 1rem; display: inline-flex; align-items: center; gap: 0.25rem; }
.blog-pagination { display: flex; justify-content: center; gap: 0.5rem; margin-top: 2rem; flex-wrap: wrap; }
.page-btn { padding: 0.5rem 0.85rem; border: 1.5px solid var(--border); border-radius: 6px; font-size: 0.85rem; font-weight: 600; color: var(--navy); cursor: pointer; transition: var(--transition); text-decoration: none; }
.page-btn:hover, .page-btn.active { background: var(--saffron); border-color: var(--saffron); color: white; }
@media (min-width: 600px) { .blog-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 900px) { .blog-grid { grid-template-columns: repeat(3, 1fr); } }
.post-hero { background: linear-gradient(160deg, var(--navy-dark), #1a2a9e); padding: 2.5rem 1rem; color: white; }
.post-hero-inner { max-width: 800px; margin: 0 auto; }
.post-category-tag { font-size: 0.72rem; font-weight: 800; text-transform: uppercase; color: var(--saffron); margin-bottom: 0.75rem; }
.post-hero h1 { font-size: 1.75rem; color: white; line-height: 1.3; margin-bottom: 0.75rem; }
.post-meta { font-size: 0.8rem; color: rgba(255,255,255,0.65); display: flex; gap: 1.25rem; flex-wrap: wrap; }
.post-body { max-width: 800px; margin: 0 auto; padding: 2.5rem 1rem; }
.post-featured-img { width: 100%; border-radius: var(--radius-sm); margin-bottom: 2rem; display: block; }
.post-content { font-size: 0.95rem; line-height: 1.8; color: var(--text); }
.post-content h2 { font-size: 1.4rem; color: var(--navy); margin: 2rem 0 0.75rem; }
.post-content h3 { font-size: 1.1rem; color: var(--navy); margin: 1.5rem 0 0.5rem; }
.post-content p { margin-bottom: 1.25rem; }
.post-content ul, .post-content ol { padding-left: 1.5rem; margin-bottom: 1.25rem; }
.post-content li { margin-bottom: 0.35rem; }
.post-content strong { color: var(--navy); }
.post-tags { margin-top: 2rem; display: flex; flex-wrap: wrap; gap: 0.5rem; }
.post-tag { font-size: 0.75rem; font-weight: 600; color: var(--navy); background: var(--navy-light); padding: 0.3rem 0.75rem; border-radius: 99px; }

/* Gallery */
.gallery-hero { background: linear-gradient(160deg, var(--navy-dark), #1a2a9e); padding: 3rem 1rem; color: white; text-align: center; }
.gallery-hero h1 { font-size: 2rem; margin-bottom: 0.5rem; }
.gallery-body { padding: 2.5rem 1rem; max-width: 1100px; margin: 0 auto; }
.albums-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 2.5rem; }
.album-card { border-radius: var(--radius-sm); overflow: hidden; border: 1px solid var(--border); cursor: pointer; transition: var(--transition); }
.album-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.album-cover { width: 100%; aspect-ratio: 4/3; object-fit: cover; display: block; }
.album-cover-placeholder { aspect-ratio: 4/3; background: var(--navy-light); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.album-info { padding: 0.75rem; background: var(--surface); }
.album-info h3 { font-size: 0.9rem; color: var(--navy); margin-bottom: 0.2rem; }
.album-info span { font-size: 0.75rem; color: var(--text-muted); }
.images-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.gallery-img-wrap { border-radius: var(--radius-sm); overflow: hidden; cursor: pointer; aspect-ratio: 1; }
.gallery-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.3s ease; display: block; }
.gallery-img-wrap:hover img { transform: scale(1.05); }
.lightbox { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.92); z-index: 5000; align-items: center; justify-content: center; padding: 1rem; }
.lightbox.active { display: flex; }
.lightbox-img { max-width: 90vw; max-height: 85vh; border-radius: var(--radius-sm); object-fit: contain; }
.lightbox-close { position: fixed; top: 1rem; right: 1rem; background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); color: white; border-radius: 50%; width: 40px; height: 40px; font-size: 1.25rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-nav { position: fixed; top: 50%; transform: translateY(-50%); background: rgba(255,255,255,0.15); border: 1px solid rgba(255,255,255,0.2); color: white; border-radius: 50%; width: 44px; height: 44px; font-size: 1.5rem; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.lightbox-prev { left: 1rem; }
.lightbox-next { right: 1rem; }
@media (min-width: 600px) { .albums-grid { grid-template-columns: repeat(3, 1fr); } .images-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px) { .albums-grid { grid-template-columns: repeat(4, 1fr); } .images-grid { grid-template-columns: repeat(4, 1fr); } }

/* FAQ */
.faq-section { padding: 2.5rem 1rem; background: var(--bg); }
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 0.75rem; }
.faq-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); overflow: hidden; }
.faq-question { padding: 1rem 1.25rem; font-weight: 700; font-size: 0.92rem; color: var(--navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; gap: 1rem; user-select: none; }
.faq-question:hover { color: var(--saffron); }
.faq-icon { font-size: 1rem; color: var(--saffron); flex-shrink: 0; transition: transform 0.25s ease; }
.faq-item.open .faq-icon { transform: rotate(180deg); }
.faq-answer { display: none; padding: 1rem 1.25rem; font-size: 0.88rem; color: var(--text-muted); line-height: 1.7; border-top: 1px solid var(--border); }
.faq-item.open .faq-answer { display: block; }

/* Events */
.events-strip { padding: 2rem 1rem; background: var(--surface); border-top: 1px solid var(--border); }
.events-list { display: flex; flex-direction: column; gap: 0.5rem; }
.event-item { display: flex; align-items: center; gap: 1rem; background: var(--bg); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.75rem 1rem; transition: var(--transition); flex-wrap: wrap; }
.event-item:hover { border-color: var(--saffron); }
.event-date-box { background: var(--navy); color: white; border-radius: 8px; padding: 0.4rem 0.6rem; text-align: center; min-width: 48px; flex-shrink: 0; }
.event-day { font-size: 1.25rem; font-weight: 900; font-family: var(--font-heading); line-height: 1; display: block; }
.event-month { font-size: 0.6rem; text-transform: uppercase; letter-spacing: 0.06em; opacity: 0.8; display: block; }
.event-type-badge { font-size: 0.65rem; font-weight: 800; text-transform: uppercase; padding: 0.2rem 0.5rem; border-radius: 4px; flex-shrink: 0; }
.event-type-notice { background: var(--navy-light); color: var(--navy); }
.event-type-event { background: var(--saffron-light); color: var(--saffron-dark); }
.event-type-holiday { background: var(--green-bg); color: var(--green); }
.event-type-exam { background: var(--red-bg); color: var(--red); }
.event-type-result { background: #fef3c7; color: #d97706; }
.event-info { flex: 1; min-width: 0; }
.event-info strong { font-size: 0.9rem; color: var(--navy); display: block; }
.event-info span { font-size: 0.78rem; color: var(--text-muted); }

/* Downloads */
.downloads-section { padding: 2rem 1rem; background: var(--bg); }
.downloads-list { display: grid; grid-template-columns: 1fr; gap: 0.5rem; }
.download-item { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius-sm); padding: 0.85rem 1rem; display: flex; align-items: center; gap: 0.85rem; transition: var(--transition); }
.download-item:hover { border-color: var(--saffron); box-shadow: var(--shadow-sm); }
.download-icon { font-size: 1.5rem; flex-shrink: 0; }
.download-info { flex: 1; min-width: 0; }
.download-info strong { font-size: 0.9rem; color: var(--navy); display: block; margin-bottom: 0.15rem; }
.download-info span { font-size: 0.75rem; color: var(--text-muted); }
.download-btn { margin-left: auto; flex-shrink: 0; background: var(--saffron); color: white; border: none; border-radius: 6px; padding: 0.45rem 0.85rem; font-size: 0.78rem; font-weight: 700; cursor: pointer; text-decoration: none; display: inline-flex; align-items: center; gap: 0.25rem; transition: var(--transition); }
.download-btn:hover { background: var(--saffron-dark); }
@media (min-width: 600px) { .downloads-list { grid-template-columns: 1fr 1fr; } }
