/* ============================================================
   Brainstorm School — Elegant Nigerian School UI
   Inspired by Emerald Schools & Premiere Academy style
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;1,400;1,700&family=Lato:wght@300;400;700&family=Cormorant+Garamond:ital,wght@0,400;0,600;1,400;1,600&display=swap');

/* ── Variables ─────────────────────────────────────── */
:root {
    --green:       #1a5c38;
    --green-dark:  #113d26;
    --green-light: #2d7a4f;
    --green-pale:  #eaf3ee;
    --gold:        #c9a84c;
    --gold-light:  #dbbf6a;
    --gold-pale:   #fdf8ee;
    --white:       #ffffff;
    --off-white:   #f7f7f7;
    --light-gray:  #f2f2f2;
    --text-dark:   #111111;
    --text-body:   #444444;
    --text-muted:  #777777;
    --border:      #e0e0e0;
    --shadow:      0 4px 24px rgba(0,0,0,0.08);
    --shadow-lg:   0 12px 48px rgba(0,0,0,0.12);
    --radius:      8px;
    --radius-lg:   16px;
    --transition:  all 0.28s ease;
}

/* ── Base ──────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
    font-family: 'Lato', sans-serif;
    color: var(--text-body);
    background: var(--white);
    font-size: 16px;
    line-height: 1.8;
    -webkit-font-smoothing: antialiased;
}
h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    color: var(--text-dark);
    line-height: 1.2;
}
p { color: var(--text-muted); margin: 0; }
a { color: var(--green); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--gold); }
img { max-width: 100%; display: block; }

/* ── Utilities ─────────────────────────────────────── */
.section-pad { padding: 80px 0; }
.section-pad-sm { padding: 56px 0; }
.bg-off-white { background: var(--off-white); }
.bg-green     { background: var(--green); }
.text-green   { color: var(--green) !important; }
.text-gold    { color: var(--gold) !important; }

/* Ornamental divider — exactly like Emerald/Premiere */
.orn-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin: 16px auto 28px;
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 4px;
}
.orn-divider::before,
.orn-divider::after {
    content: '';
    display: block;
    height: 1.5px;
    width: 48px;
    background: var(--gold);
    opacity: 0.5;
}
.orn-divider.left { justify-content: flex-start; }
.orn-divider.left::before { display: none; }

.section-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: var(--gold);
    display: block;
    margin-bottom: 12px;
}
.section-title {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1.15;
}
.section-title em { font-style: italic; color: var(--gold); }
.section-title .green { color: var(--green); }
.lead-para {
    font-size: 1.05rem;
    color: var(--text-muted);
    line-height: 1.85;
    max-width: 600px;
}

/* ── Buttons ───────────────────────────────────────── */
.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold);
    color: var(--text-dark);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 2px solid var(--gold);
    border-radius: 0;
    padding: 13px 30px;
    transition: var(--transition);
    cursor: pointer;
}
.btn-main:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--white);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 2px solid rgba(255,255,255,0.7);
    border-radius: 0;
    padding: 13px 30px;
    transition: var(--transition);
    cursor: pointer;
}
.btn-outline:hover {
    background: var(--white);
    color: var(--green-dark);
    border-color: var(--white);
}
.btn-green {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--green);
    color: var(--white);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 2px solid var(--green);
    border-radius: 0;
    padding: 13px 30px;
    transition: var(--transition);
    cursor: pointer;
}
.btn-green:hover {
    background: var(--green-dark);
    border-color: var(--green-dark);
    color: var(--white);
    transform: translateY(-2px);
}
.btn-outline-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: transparent;
    color: var(--text-dark);
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    border: 2px solid var(--text-dark);
    border-radius: 0;
    padding: 13px 30px;
    transition: var(--transition);
    cursor: pointer;
}
.btn-outline-dark:hover {
    background: var(--green);
    border-color: var(--green);
    color: var(--white);
}

/* ── Pill badges ───────────────────────────────────── */
.pill { display: inline-block; padding: 3px 12px; border-radius: 30px; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.04em; }
.pill-success { background: #dcfce7; color: #15803d; }
.pill-warning { background: #fef9c3; color: #a16207; }
.pill-danger  { background: #fee2e2; color: #b91c1c; }
.pill-info    { background: #e0f2fe; color: #0369a1; }

/* ============================================================
   ADMISSION POPUP MODAL
   ============================================================ */
.admission-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.35s ease;
}
.admission-modal-overlay.hidden { display: none; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.admission-modal {
    background: var(--white);
    max-width: 560px;
    width: 100%;
    position: relative;
    animation: slideUp 0.35s ease;
    overflow: hidden;
    max-height: 90dvh;
    max-height: 90vh;
    overflow-y: auto;
    border-radius: var(--radius-lg);
}
@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* swipe handle — visible only on mobile */
.modal-swipe-handle {
    display: none;
    width: 40px;
    height: 4px;
    background: rgba(0,0,0,0.18);
    border-radius: 4px;
    margin: 12px auto 0;
}
.admission-modal-header {
    background: var(--green);
    padding: 36px 36px 28px;
    text-align: center;
    position: relative;
}
.admission-modal-header::after {
    content: '';
    position: absolute;
    bottom: -18px; left: 50%;
    transform: translateX(-50%);
    width: 0; height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-top: 18px solid var(--green);
}
.admission-modal-header .modal-tag {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 8px;
    display: block;
}
.admission-modal-header h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.9rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
    margin: 0;
}
.admission-modal-body {
    padding: 40px 36px 32px;
    text-align: center;
}
.admission-modal-body p {
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.8;
    margin-bottom: 24px;
}
.admission-modal-body .year-badge {
    display: inline-block;
    background: var(--gold-pale);
    border: 1.5px solid var(--gold);
    color: var(--green-dark);
    font-family: 'Playfair Display', serif;
    font-size: 1.4rem;
    font-weight: 700;
    padding: 10px 28px;
    margin-bottom: 24px;
}
/* colourful class grid */
.modal-class-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 20px 0 18px;
}
.modal-class-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 10px;
    border-radius: 12px;
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.02em;
    transition: var(--transition);
}
.modal-class-badge i { font-size: 1.5rem; }
.modal-class-badge:hover { transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,0.12); }
.badge-creche    { background: #fff3e0; color: #e65100; border: 2px solid #ffb74d; }
.badge-nursery   { background: #e8f5e9; color: #1b5e20; border: 2px solid #66bb6a; }
.badge-primary   { background: #e3f2fd; color: #0d47a1; border: 2px solid #42a5f5; }
.badge-secondary { background: #fce4ec; color: #880e4f; border: 2px solid #f48fb1; }

.modal-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    background: var(--off-white);
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 8px;
    text-align: center;
}

.admission-modal-footer {
    padding: 0 36px 20px;
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: center;
}

/* big easy-tap close button */
.modal-close-btn {
    position: absolute;
    top: 12px; right: 12px;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    color: var(--white);
    width: 44px; height: 44px;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.1rem;
    cursor: pointer;
    transition: var(--transition);
    z-index: 10;
}
.modal-close-btn:hover { background: rgba(255,255,255,0.4); border-color: white; }

/* full-width dismiss bar at bottom */
.modal-dismiss-btn {
    width: 100%;
    background: var(--off-white);
    border: none;
    border-top: 1px solid var(--border);
    color: var(--text-muted);
    font-family: 'Lato', sans-serif;
    font-size: 0.88rem;
    font-weight: 600;
    padding: 16px;
    cursor: pointer;
    text-align: center;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}
.modal-dismiss-btn:hover { background: #fee; color: var(--green); }

/* ============================================================
   TOP BAR
   ============================================================ */
.top-bar {
    background: var(--green-dark);
    color: rgba(255,255,255,0.7);
    font-family: 'Lato', sans-serif;
    font-size: 0.8rem;
    font-weight: 400;
    padding: 8px 0;
}
.topbar-link { color: rgba(255,255,255,0.65); font-size: 0.8rem; transition: var(--transition); }
.topbar-link:hover { color: var(--gold-light); }

/* ============================================================
   NAVBAR — clean white like Emerald Schools
   ============================================================ */
.main-navbar {
    background: var(--white);
    padding: 0;
    border-bottom: 1px solid var(--border);
    transition: var(--transition);
}
.main-navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    border-bottom-color: transparent;
}
.brand-name {
    font-family: 'Playfair Display', serif;
    font-weight: 800;
    font-size: 1.05rem;
    color: var(--green-dark);
    line-height: 1.1;
}
.brand-tagline {
    font-family: 'Lato', sans-serif;
    font-size: 0.75rem;
    font-weight: 400;
    color: var(--gold);
    font-style: italic;
    line-height: 1.2;
}
.logo-img { border-radius: 50%; object-fit: cover; }
.main-navbar .nav-link {
    color: var(--text-dark) !important;
    font-family: 'Lato', sans-serif;
    font-weight: 700;
    font-size: 0.87rem;
    letter-spacing: 0.04em;
    padding: 1.1rem 0.85rem !important;
    text-transform: uppercase;
    position: relative;
    transition: var(--transition);
}
.main-navbar .nav-link:hover,
.main-navbar .nav-link.active { color: var(--green) !important; }
.main-navbar .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0.85rem; right: 0.85rem;
    height: 2px;
    background: var(--green);
}
.main-navbar .dropdown-menu {
    border: none;
    box-shadow: var(--shadow-lg);
    border-radius: 0;
    border-top: 3px solid var(--green);
    padding: 8px 0;
    min-width: 220px;
    animation: dropIn 0.18s ease;
}
@keyframes dropIn {
    from { opacity: 0; transform: translateY(-6px); }
    to   { opacity: 1; transform: translateY(0); }
}
.main-navbar .dropdown-item {
    padding: 9px 20px;
    font-family: 'Lato', sans-serif;
    font-size: 0.87rem;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: 0.03em;
    transition: var(--transition);
}
.main-navbar .dropdown-item:hover {
    background: var(--green-pale);
    color: var(--green);
    padding-left: 26px;
}
.navbar-toggler { border: 2px solid var(--border); padding: 6px 10px; }

/* ============================================================
   ANNOUNCEMENT SCROLLING BAR
   ============================================================ */
.announce-bar {
    background: var(--gold);
    color: var(--text-dark);
    font-family: 'Lato', sans-serif;
    font-size: 0.83rem;
    font-weight: 700;
    padding: 9px 0;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
}
.announce-track {
    display: inline-flex;
    gap: 60px;
    animation: announcescroll 22s linear infinite;
    white-space: nowrap;
}
@keyframes announcescroll {
    from { transform: translateX(100vw); }
    to   { transform: translateX(-100%); }
}
.announce-bar a { color: var(--green-dark); text-decoration: underline; font-weight: 700; }
.announce-dot { color: var(--green-dark); margin: 0 8px; font-weight: 900; }

/* ============================================================
   HERO — full width, image background, text overlay
   ============================================================ */
.hero {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    overflow: hidden;
    background: var(--green-dark);
}
.hero-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transition: transform 8s ease;
}
.hero-bg.has-img { transform: scale(1.04); }
.hero-bg.has-img:hover { transform: scale(1); }
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        to right,
        rgba(17, 61, 38, 0.88) 0%,
        rgba(17, 61, 38, 0.65) 50%,
        rgba(17, 61, 38, 0.2) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 2;
    padding: 80px 0;
    max-width: 640px;
}
.hero-content .hero-tag {
    font-family: 'Lato', sans-serif;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.hero-content .hero-tag::before {
    content: '';
    display: block;
    width: 36px; height: 1.5px;
    background: var(--gold);
}
.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: clamp(2.4rem, 6vw, 4.4rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.1;
    margin-bottom: 1.4rem;
}
.hero h1 em {
    font-style: italic;
    color: var(--gold-light);
}
.hero-desc {
    font-size: 1.05rem;
    color: rgba(255,255,255,0.78);
    line-height: 1.85;
    max-width: 500px;
    margin-bottom: 2.4rem;
}
.hero-btns { display: flex; gap: 14px; flex-wrap: wrap; }

/* slide dots */
.hero-dots {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    display: flex; gap: 8px; z-index: 5;
}
.hero-dots span {
    width: 28px; height: 3px;
    background: rgba(255,255,255,0.35);
    border-radius: 2px;
    cursor: pointer;
    transition: var(--transition);
}
.hero-dots span.active { background: var(--gold); width: 44px; }

/* ============================================================
   SCROLLING TICKER (after hero)
   ============================================================ */
.ticker-bar {
    background: var(--green);
    padding: 12px 0;
    overflow: hidden;
}
.ticker-track {
    display: flex;
    gap: 56px;
    animation: ticker 30s linear infinite;
    width: max-content;
    white-space: nowrap;
}
@keyframes ticker {
    from { transform: translateX(0); }
    to   { transform: translateX(-50%); }
}
.ticker-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Lato', sans-serif;
    font-size: 0.83rem;
    font-weight: 700;
    color: rgba(255,255,255,0.85);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.ticker-item i { color: var(--gold-light); }
.ticker-sep { color: var(--gold); font-size: 1rem; }

/* ============================================================
   QUICK STATS
   ============================================================ */
.stats-bar {
    background: var(--off-white);
    border-bottom: 1px solid var(--border);
    padding: 0;
}
.stat-col {
    text-align: center;
    padding: 36px 20px;
    border-right: 1px solid var(--border);
    transition: var(--transition);
}
.stat-col:last-child { border-right: none; }
.stat-col:hover { background: var(--green-pale); }
.stat-col .big-num {
    font-family: 'Playfair Display', serif;
    font-size: 2.8rem;
    font-weight: 800;
    color: var(--green);
    line-height: 1;
    display: block;
    margin-bottom: 5px;
}
.stat-col .stat-lbl {
    font-family: 'Lato', sans-serif;
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

/* ============================================================
   WELCOME / ABOUT SECTION
   ============================================================ */
.welcome-section {
    background: var(--white);
    padding: 88px 0;
}
.welcome-section .welcome-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(1.3rem, 2.5vw, 1.7rem);
    font-weight: 400;
    color: var(--text-dark);
    line-height: 1.7;
    margin-bottom: 24px;
}
.welcome-section .welcome-body {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.9;
    margin-bottom: 20px;
}
/* principal card — like Emerald Schools */
.principal-card {
    background: var(--off-white);
    border-left: 4px solid var(--green);
    border-radius: 0 var(--radius-lg) var(--radius-lg) 0;
    padding: 22px 24px;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}
.principal-card img {
    width: 80px; height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--green);
    flex-shrink: 0;
}
.principal-card .pc-initials {
    width: 80px; height: 80px;
    border-radius: 50%;
    background: var(--green);
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1.6rem;
    font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    flex-shrink: 0;
    border: 3px solid var(--green-pale);
}
.principal-card .pc-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 3px;
}
.principal-card .pc-role {
    font-family: 'Lato', sans-serif;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* Read full address CTA card — like Emerald */
.address-cta {
    background: var(--green);
    padding: 24px 28px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 16px;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}
.address-cta:hover { background: var(--green-dark); }
.address-cta .cta-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: var(--gold-light);
    margin-bottom: 4px;
    display: block;
}
.address-cta .cta-text {
    font-family: 'Playfair Display', serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1.2;
}
.address-cta .cta-arrow {
    width: 48px; height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.35);
    display: flex; align-items: center; justify-content: center;
    color: var(--white);
    font-size: 1.1rem;
    flex-shrink: 0;
    transition: var(--transition);
}
.address-cta:hover .cta-arrow { background: var(--gold); border-color: var(--gold); color: var(--text-dark); }

/* About image side */
.about-img-wrap {
    position: relative;
    height: 520px;
}
.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.about-img-placeholder {
    width: 100%; height: 100%;
    background: var(--green-pale);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 12px; color: var(--green);
}
.about-img-placeholder i { font-size: 3rem; opacity: 0.25; }
.about-img-placeholder span { font-size: 0.88rem; opacity: 0.4; }
.about-year-badge {
    position: absolute;
    bottom: 24px; right: -16px;
    background: var(--gold);
    color: var(--text-dark);
    padding: 20px 24px;
    text-align: center;
    box-shadow: var(--shadow-lg);
}
.about-year-badge .yr {
    font-family: 'Playfair Display', serif;
    font-size: 2.6rem;
    font-weight: 800;
    line-height: 1;
    display: block;
}
.about-year-badge .yr-label {
    font-family: 'Lato', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    line-height: 1.3;
    display: block;
    margin-top: 4px;
}

/* ============================================================
   PROGRAMS
   ============================================================ */
.programs-section {
    background: var(--off-white);
    padding: 88px 0;
}
.prog-card {
    background: var(--white);
    padding: 34px 28px;
    border-bottom: 4px solid transparent;
    transition: var(--transition);
    height: 100%;
}
.prog-card:hover {
    border-bottom-color: var(--green);
    box-shadow: var(--shadow);
    transform: translateY(-4px);
}
.prog-icon {
    width: 60px; height: 60px;
    background: var(--green-pale);
    color: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}
.prog-card h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
}
.prog-card p {
    font-size: 0.9rem;
    color: var(--text-muted);
    line-height: 1.75;
    margin: 0;
}

/* ============================================================
   WHY CHOOSE — leader section like Premiere Academy
   ============================================================ */
.leader-section {
    background: var(--white);
    padding: 88px 0;
}
.leader-photo-wrap {
    position: relative;
}
.leader-photo-wrap img {
    width: 100%;
    max-height: 500px;
    object-fit: cover;
    object-position: center top;
    display: block;
}
.leader-img-placeholder {
    width: 100%;
    height: 400px;
    background: var(--green-pale);
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    gap: 12px; color: var(--green);
}
.leader-img-placeholder i { font-size: 3rem; opacity: 0.25; }
.leader-body-text {
    font-family: 'Lato', sans-serif;
    font-size: 1rem;
    color: var(--text-body);
    line-height: 1.9;
    margin-bottom: 18px;
}
.leader-body-text strong { color: var(--text-dark); }

/* feature checklist */
.feat-list { list-style: none; padding: 0; margin: 0; display: flex; flex-direction: column; gap: 12px; }
.feat-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: 'Lato', sans-serif;
    font-size: 0.97rem;
    color: var(--text-body);
    line-height: 1.6;
}
.feat-list li i { color: var(--green); font-size: 0.9rem; margin-top: 4px; flex-shrink: 0; }

/* ============================================================
   TESTIMONIALS — with background photo like Premiere
   ============================================================ */
.testi-section {
    position: relative;
    padding: 100px 0;
    background: var(--green-dark);
    overflow: hidden;
}
.testi-bg {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0.18;
}
.testi-overlay {
    position: absolute; inset: 0;
    background: rgba(17,61,38,0.82);
}
.testi-section .container { position: relative; z-index: 2; }
.testi-section .section-title { color: var(--white); }
.testi-section .lead-para { color: rgba(255,255,255,0.65); margin: 0 auto; }
.testi-card {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    padding: 36px 30px;
    backdrop-filter: blur(6px);
    height: 100%;
    transition: var(--transition);
}
.testi-card:hover {
    background: rgba(255,255,255,0.12);
    border-color: var(--gold);
    transform: translateY(-4px);
}
.testi-quote-mark {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    color: var(--gold);
    opacity: 0.25;
    line-height: 1;
    margin-bottom: -20px;
    display: block;
    user-select: none;
}
.testi-text {
    font-family: 'Lato', sans-serif;
    font-size: 0.97rem;
    color: rgba(255,255,255,0.85);
    line-height: 1.85;
    font-style: italic;
    margin-bottom: 24px;
}
.testi-stars { display: flex; gap: 3px; margin-bottom: 14px; }
.testi-stars i { color: var(--gold); font-size: 0.85rem; }
.testi-author { display: flex; align-items: center; gap: 13px; }
.testi-avatar {
    width: 48px; height: 48px;
    border-radius: 50%;
    background: var(--green-light);
    color: var(--white);
    font-family: 'Playfair Display', serif;
    font-size: 1rem; font-weight: 700;
    display: flex; align-items: center; justify-content: center;
    border: 2px solid rgba(255,255,255,0.2);
    flex-shrink: 0;
}
.testi-name { font-family: 'Lato', sans-serif; font-weight: 700; font-size: 0.93rem; color: var(--white); margin-bottom: 2px; }
.testi-role { font-size: 0.78rem; color: rgba(255,255,255,0.5); }

/* ============================================================
   NEWS — large card with date overlay like Premiere
   ============================================================ */
.news-section { background: var(--off-white); padding: 88px 0; }
.news-card {
    background: var(--white);
    border: 1px solid var(--border);
    transition: var(--transition);
    height: 100%;
    display: flex;
    flex-direction: column;
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-4px); border-color: transparent; }
.news-img-wrap { position: relative; height: 220px; overflow: hidden; }
.news-img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.5s ease; }
.news-card:hover .news-img-wrap img { transform: scale(1.05); }
.news-img-placeholder { height: 220px; background: var(--green-pale); display: flex; align-items: center; justify-content: center; font-size: 3rem; color: var(--green); opacity: 0.3; }
.news-date-badge {
    position: absolute;
    top: 16px; left: 16px;
    background: var(--green);
    color: var(--white);
    font-family: 'Lato', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 5px 12px;
}
.news-body { padding: 22px; flex: 1; display: flex; flex-direction: column; }
.news-cat {
    font-family: 'Lato', sans-serif;
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: var(--gold);
    margin-bottom: 10px;
    display: block;
}
.news-body h5 {
    font-family: 'Playfair Display', serif;
    font-size: 1.08rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.4;
}
.news-body h5 a { color: var(--text-dark); }
.news-body h5 a:hover { color: var(--green); }
.news-body p { font-size: 0.9rem; line-height: 1.7; margin-bottom: 18px; flex: 1; }
.read-more {
    font-family: 'Lato', sans-serif;
    font-size: 0.84rem;
    font-weight: 700;
    color: var(--green);
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    transition: var(--transition);
    margin-top: auto;
}
.read-more:hover { color: var(--gold); gap: 10px; }

/* ============================================================
   EVENTS
   ============================================================ */
.events-section { background: var(--white); padding: 88px 0; }
.event-card {
    background: var(--off-white);
    border: 1px solid var(--border);
    padding: 20px;
    display: flex;
    gap: 18px;
    transition: var(--transition);
}
.event-card:hover { border-color: var(--green); background: var(--green-pale); transform: translateX(4px); }
.event-date-box { min-width: 60px; text-align: center; flex-shrink: 0; }
.event-month { background: var(--green); color: var(--white); padding: 5px; font-family: 'Lato', sans-serif; font-size: 0.66rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.event-day { background: var(--white); border: 1px solid var(--border); border-top: none; padding: 4px 8px 8px; font-family: 'Playfair Display', serif; font-size: 2rem; font-weight: 800; color: var(--green-dark); line-height: 1; }
.event-card h6 { font-family: 'Playfair Display', serif; font-size: 1rem; font-weight: 700; margin-bottom: 5px; color: var(--text-dark); }
.ev-meta { font-family: 'Lato', sans-serif; font-size: 0.8rem; color: var(--text-muted); margin: 0; }

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
    background: var(--green);
    padding: 88px 0;
    position: relative; overflow: hidden; text-align: center;
}
.cta-section::before {
    content: '';
    position: absolute;
    top: -80px; right: -80px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(201,168,76,0.15) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.cta-section .section-title { color: var(--white); position: relative; z-index: 1; }
.cta-section .lead-para { color: rgba(255,255,255,0.7); margin: 16px auto 36px; max-width: 480px; position: relative; z-index: 1; }
.cta-actions { display: flex; justify-content: center; gap: 14px; flex-wrap: wrap; position: relative; z-index: 1; }
.cta-fine { font-size: 0.82rem; color: rgba(255,255,255,0.35); margin-top: 20px; position: relative; z-index: 1; }

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
    background: linear-gradient(135deg, var(--green-dark) 0%, var(--green) 100%);
    padding: 72px 0 56px;
    position: relative; overflow: hidden;
}
.page-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 60% 80% at 80% 50%, rgba(201,168,76,0.1) 0%, transparent 60%); }
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(1.8rem, 4vw, 2.8rem); }
.page-hero .breadcrumb { margin: 0; }
.page-hero .breadcrumb-item { color: rgba(255,255,255,0.55); font-size: 0.85rem; }
.page-hero .breadcrumb-item a { color: var(--gold-light); }
.page-hero .breadcrumb-item.active { color: rgba(255,255,255,0.85); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,0.3); }

/* ============================================================
   FORMS
   ============================================================ */
.form-label { font-family: 'Lato', sans-serif; font-weight: 700; font-size: 0.86rem; color: var(--text-dark); margin-bottom: 6px; }
.form-control, .form-select {
    border: 1.5px solid var(--border);
    border-radius: var(--radius);
    padding: 0.6rem 0.95rem;
    font-family: 'Lato', sans-serif;
    font-size: 0.93rem;
    transition: var(--transition);
    background: var(--white);
    color: var(--text-body);
}
.form-control:focus, .form-select:focus { border-color: var(--green); box-shadow: 0 0 0 4px rgba(26,92,56,0.1); outline: none; }
.form-control::placeholder { color: #b0b7c3; }
.input-group-text { border: 1.5px solid var(--border); background: var(--off-white); color: var(--text-muted); }

/* ============================================================
   RESULT TABLE
   ============================================================ */
.result-table { width: 100%; border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); }
.result-table thead { background: var(--green); }
.result-table thead th { font-family: 'Lato', sans-serif; font-weight: 700; font-size: 0.82rem; letter-spacing: 0.04em; text-transform: uppercase; padding: 14px 16px; border: none; color: var(--white); }
.result-table tbody tr:hover { background: var(--green-pale); }
.result-table tbody td { padding: 13px 16px; border-color: var(--border); font-size: 0.93rem; vertical-align: middle; }
.grade-a { color: #15803d; font-weight: 700; }
.grade-b { color: #1d4ed8; font-weight: 700; }
.grade-c { color: #ca8a04; font-weight: 700; }
.grade-d { color: #ea580c; font-weight: 700; }
.grade-f { color: #dc2626; font-weight: 700; }

/* ============================================================
   DASHBOARD
   ============================================================ */
.dash-sidebar {
    width: 260px; min-height: 100vh;
    background: var(--green-dark);
    position: fixed; top: 0; left: 0;
    display: flex; flex-direction: column;
    z-index: 100; transition: var(--transition);
    box-shadow: 4px 0 24px rgba(0,0,0,0.2);
}
.dash-sidebar-logo { padding: 22px 20px 18px; border-bottom: 1px solid rgba(255,255,255,0.08); display: flex; align-items: center; gap: 12px; }
.dash-sidebar-logo img { height: 44px; border-radius: 50%; border: 2px solid var(--gold); }
.dash-sidebar-logo .name { font-family: 'Playfair Display', serif; font-size: 0.95rem; color: var(--white); font-weight: 700; line-height: 1.2; }
.dash-sidebar-logo .tag { font-family: 'Lato', sans-serif; font-size: 0.8rem; color: var(--gold-light); }
.dash-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }
.dash-nav-section { font-family: 'Lato', sans-serif; font-size: 0.66rem; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.15em; padding: 12px 12px 5px; font-weight: 700; }
.dash-nav a { display: flex; align-items: center; gap: 12px; padding: 10px 14px; border-radius: 8px; color: rgba(255,255,255,0.65); font-family: 'Lato', sans-serif; font-size: 0.88rem; font-weight: 700; margin-bottom: 2px; transition: var(--transition); }
.dash-nav a i { width: 18px; text-align: center; font-size: 0.9rem; }
.dash-nav a:hover { background: rgba(255,255,255,0.08); color: var(--white); padding-left: 18px; }
.dash-nav a.active { background: rgba(201,168,76,0.15); color: var(--gold-light); border-left: 3px solid var(--gold); padding-left: 11px; }
.dash-content { margin-left: 260px; min-height: 100vh; background: var(--off-white); }
.dash-topbar { background: var(--white); padding: 14px 28px; display: flex; align-items: center; justify-content: space-between; box-shadow: var(--shadow); border-bottom: 1px solid var(--border); position: sticky; top: 0; z-index: 50; }
.dash-topbar .page-title { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 700; color: var(--text-dark); margin: 0; }
.dash-topbar .user-chip { display: flex; align-items: center; gap: 10px; background: var(--off-white); border: 1.5px solid var(--border); border-radius: 50px; padding: 5px 16px 5px 5px; font-family: 'Lato', sans-serif; font-size: 0.88rem; font-weight: 700; color: var(--text-dark); cursor: pointer; transition: var(--transition); }
.dash-topbar .user-chip:hover { border-color: var(--green); }
.avatar-initials { width: 32px; height: 32px; border-radius: 50%; background: var(--green); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 0.78rem; font-weight: 700; }
.dash-main { padding: 28px; }
.kpi-card { background: var(--white); border-radius: var(--radius-lg); padding: 24px; border: 1.5px solid var(--border); display: flex; align-items: center; gap: 18px; transition: var(--transition); }
.kpi-card:hover { box-shadow: var(--shadow); border-color: var(--green-pale); transform: translateY(-3px); }
.kpi-icon { width: 54px; height: 54px; min-width: 54px; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.kpi-icon.blue   { background: #eff6ff; color: #2563eb; }
.kpi-icon.green  { background: var(--green-pale); color: var(--green); }
.kpi-icon.gold   { background: var(--gold-pale); color: var(--gold); }
.kpi-icon.red    { background: #fef2f2; color: #dc2626; }
.kpi-num { font-family: 'Playfair Display', serif; font-size: 1.8rem; font-weight: 800; color: var(--text-dark); line-height: 1; }
.kpi-lbl { font-family: 'Lato', sans-serif; font-size: 0.82rem; color: var(--text-muted); margin-top: 3px; }
.dash-card { background: var(--white); border-radius: var(--radius-lg); border: 1.5px solid var(--border); overflow: hidden; }
.dash-card-header { padding: 18px 22px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; background: var(--off-white); }
.dash-card-header h6 { font-family: 'Lato', sans-serif; font-size: 0.95rem; font-weight: 700; color: var(--text-dark); margin: 0; }
.dash-card-body { padding: 22px; }
.data-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.data-table thead tr { background: var(--off-white); }
.data-table thead th { padding: 12px 16px; font-family: 'Lato', sans-serif; font-size: 0.78rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.07em; color: var(--text-muted); border-bottom: 2px solid var(--border); }
.data-table tbody td { padding: 13px 16px; font-family: 'Lato', sans-serif; font-size: 0.9rem; border-bottom: 1px solid var(--border); vertical-align: middle; }
.data-table tbody tr:last-child td { border-bottom: none; }
.data-table tbody tr:hover { background: var(--green-pale); }
.alert-school { background: var(--green-pale); border: 1.5px solid rgba(26,92,56,0.2); border-left: 5px solid var(--green); border-radius: var(--radius); color: var(--text-dark); font-family: 'Lato', sans-serif; font-size: 0.92rem; padding: 14px 20px; }
.step-item { display: flex; align-items: flex-start; gap: 18px; padding: 18px; border-radius: var(--radius); background: var(--white); border: 1.5px solid var(--border); transition: var(--transition); }
.step-item:hover { border-color: var(--green-pale); }
.step-badge { width: 40px; height: 40px; min-width: 40px; background: var(--green); color: var(--white); border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; font-family: 'Playfair Display', serif; font-weight: 800; font-size: 1.05rem; }

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer { background: var(--green-dark); }
.footer-top { padding: 64px 0 44px; }
.footer-brand-name { font-family: 'Playfair Display', serif; font-size: 1.1rem; font-weight: 800; color: var(--white); }
.footer-brand-tag { font-family: 'Lato', sans-serif; font-size: 0.8rem; color: var(--gold-light); font-style: italic; }
.footer-desc { font-size: 0.88rem; color: rgba(255,255,255,0.55); line-height: 1.8; }
.footer-heading { font-family: 'Lato', sans-serif; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.15em; color: var(--gold-light); margin-bottom: 18px; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 9px; }
.footer-links a { color: rgba(255,255,255,0.55); font-family: 'Lato', sans-serif; font-size: 0.88rem; transition: var(--transition); display: inline-flex; align-items: center; gap: 0; }
.footer-links a::before { content: '→'; opacity: 0; margin-right: 0; transition: var(--transition); }
.footer-links a:hover { color: var(--gold-light); }
.footer-links a:hover::before { opacity: 1; margin-right: 6px; }
.footer-contact-list { list-style: none; padding: 0; margin: 0; }
.footer-contact-list li { display: flex; gap: 12px; margin-bottom: 13px; align-items: flex-start; }
.footer-contact-list i { color: var(--gold-light); font-size: 0.9rem; margin-top: 3px; min-width: 16px; }
.footer-contact-list a, .footer-contact-list span { color: rgba(255,255,255,0.6); font-size: 0.88rem; transition: var(--transition); }
.footer-contact-list a:hover { color: var(--gold-light); }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.07); padding: 20px 0; background: rgba(0,0,0,0.2); }
.footer-bottom p { color: rgba(255,255,255,0.4); font-size: 0.83rem; margin: 0; }
.social-links { display: flex; gap: 10px; flex-wrap: wrap; }
.social-link { width: 40px; height: 40px; border-radius: 0; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; transition: var(--transition); color: rgba(255,255,255,0.6); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.08); }
.social-link:hover { transform: translateY(-4px); color: var(--white); }
.social-link.whatsapp:hover { background: #25d366; border-color: #25d366; }
.social-link.facebook:hover { background: #1877f2; border-color: #1877f2; }
.social-link.instagram:hover { background: linear-gradient(135deg, #f58529, #dd2a7b); border-color: transparent; }
.social-link.twitter:hover { background: #000; border-color: #000; }
.social-link.youtube:hover { background: #ff0000; border-color: #ff0000; }

/* WhatsApp float */
.whatsapp-float {
    position: fixed; bottom: 28px; right: 28px;
    background: #25d366; color: var(--white);
    border-radius: 50px;
    display: flex; align-items: center; gap: 8px;
    padding: 12px 20px 12px 14px;
    font-family: 'Lato', sans-serif; font-size: 0.88rem; font-weight: 700;
    box-shadow: 0 8px 28px rgba(37,211,102,0.45);
    z-index: 999; transition: var(--transition);
    animation: waBounce 4s ease infinite;
}
.whatsapp-float i { font-size: 1.3rem; }
.whatsapp-float .wa-label { display: none; }
@media (min-width: 768px) { .whatsapp-float .wa-label { display: inline; } }
.whatsapp-float:hover { background: #1da851; color: var(--white); transform: translateY(-3px); }
@keyframes waBounce { 0%,80%,100% { transform: translateY(0); } 40% { transform: translateY(-6px); } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .hero-content { padding: 60px 0; }
    .main-navbar .nav-link.active::after { display: none; }
    .dash-sidebar { transform: translateX(-260px); }
    .dash-sidebar.open { transform: translateX(0); box-shadow: 4px 0 40px rgba(0,0,0,0.4); }
    .dash-content { margin-left: 0; }
    .about-year-badge { right: 10px; }
}
@media (max-width: 767px) {
    .section-pad { padding: 60px 0; }
    .hero { min-height: auto; }
    .hero-content { padding: 56px 0 48px; text-align: center; }
    .hero h1 { font-size: 2.3rem; }
    .hero-desc { margin: 0 auto 2rem; }
    .hero-btns { justify-content: center; }
    .hero-content .hero-tag { justify-content: center; }
    .stat-col { border-right: none; border-bottom: 1px solid var(--border); }
    .stat-col:last-child { border-bottom: none; }
    .about-img-wrap { height: 300px; }
    .admission-modal-header { padding: 28px 24px 22px; }
    .admission-modal-body { padding: 32px 24px 24px; }
    .admission-modal-footer { padding: 0 24px 24px; }
}
@media (max-width: 480px) {
    /* bottom-sheet style — slides up from the bottom, easier to dismiss with thumbs */
    .admission-modal-overlay {
        align-items: flex-end;
        padding: 0;
        animation: fadeIn 0.3s ease;
    }
    .admission-modal {
        max-width: 100%;
        border-radius: 20px 20px 0 0;
        max-height: 92dvh;
        max-height: 92vh;
        animation: slideFromBottom 0.35s ease;
    }
    @keyframes slideFromBottom {
        from { transform: translateY(100%); opacity: 0.6; }
        to   { transform: translateY(0);    opacity: 1; }
    }
    .modal-swipe-handle { display: block; }
    .admission-modal-header { padding: 20px 20px 18px; border-radius: 0; }
    .admission-modal-header h2 { font-size: 1.5rem; }
    .admission-modal-body { padding: 28px 20px 20px; }
    .admission-modal-footer { padding: 0 20px 16px; flex-direction: column; }
    .admission-modal-footer a { width: 100%; justify-content: center; }
    .modal-close-btn { width: 40px; height: 40px; top: 10px; right: 10px; }
    .modal-dismiss-btn { padding: 18px; font-size: 0.95rem; }
}
@media print {
    .main-navbar, .top-bar, .site-footer, .whatsapp-float, .announce-bar, .ticker-bar, .no-print { display: none !important; }
    body { font-size: 12pt; }
}
