/* ============================================================
   N. R. NATIONAL ACADEMY — Custom Design System
   Theme: "Enlightening Lives"
   Palette: deep navy (shield) + academic green (book) + sunrise
   gold (rays). Headings: Fraunces serif · Body: Inter.
   ============================================================ */

:root {
    --navy: #1D2E70;
    --navy-deep: #141F50;
    --royal: #2E45A8;
    --green: #0D8A4B;
    --green-deep: #0A6C3B;
    --mint: #17A862;
    --gold: #F5A81D;
    --amber: #FFCB45;
    --sky: #63B3E5;
    --cream: #F7F2E4;
    --paper: #FCFAF3;
    --ink: #21293E;
    --muted: #5C657A;
    --grad-navy: linear-gradient(135deg, #141F50 0%, #1D2E70 55%, #2E45A8 100%);
    --grad-green: linear-gradient(135deg, #0A6C3B 0%, #0D8A4B 55%, #17A862 100%);
    --grad-gold: linear-gradient(135deg, #FFCB45 0%, #F5A81D 55%, #E88F08 100%);
    --radius: 16px;
    --shadow-sm: 0 5px 16px rgba(20, 31, 80, .08);
    --shadow-md: 0 14px 34px rgba(20, 31, 80, .14);
    --shadow-lg: 0 22px 55px rgba(20, 31, 80, .22);
}

* { scroll-behavior: smooth; }

body {
    font-family: 'Inter', sans-serif;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Fraunces', serif;
    font-weight: 700;
    color: var(--navy);
    letter-spacing: -.01em;
}
a { text-decoration: none; }
img { max-width: 100%; }

::selection { background: var(--green); color: #fff; }

/* ---------- scrollbar ---------- */
::-webkit-scrollbar { width: 10px; }
::-webkit-scrollbar-track { background: var(--cream); }
::-webkit-scrollbar-thumb { background: var(--navy); border-radius: 8px; }
::-webkit-scrollbar-thumb:hover { background: var(--green); }

/* ============================================================
   BUTTONS — soft-rounded rectangles + sliding shine sweep
   ============================================================ */
.btn-brand {
    background: var(--grad-green);
    color: #fff !important;
    font-weight: 600;
    border: none;
    border-radius: 12px;
    padding: .72rem 1.9rem;
    box-shadow: 0 8px 20px rgba(13, 138, 75, .32);
    position: relative;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
}
.btn-brand::after {
    content: "";
    position: absolute; top: 0; left: -80%;
    width: 45%; height: 100%;
    background: linear-gradient(105deg, transparent, rgba(255,255,255,.45), transparent);
    transform: skewX(-20deg);
    transition: left .55s ease;
}
.btn-brand:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(13, 138, 75, .45); color: #fff; }
.btn-brand:hover::after { left: 125%; }

.btn-outline-brand {
    border: 2px solid var(--amber);
    color: var(--amber) !important;
    font-weight: 600;
    border-radius: 12px;
    padding: .68rem 1.8rem;
    background: transparent;
    transition: all .3s;
}
.btn-outline-brand:hover { background: var(--amber); color: var(--navy-deep) !important; transform: translateY(-3px); box-shadow: 0 12px 26px rgba(245, 168, 29, .4); }

.btn-blue {
    background: var(--grad-navy);
    color: #fff !important;
    border: none;
    border-radius: 12px;
    padding: .72rem 1.9rem;
    font-weight: 600;
    box-shadow: 0 8px 20px rgba(29, 46, 112, .32);
    transition: transform .3s, box-shadow .3s;
}
.btn-blue:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(29, 46, 112, .48); color: #fff; }

/* ============================================================
   TOP HEADER BAR
   ============================================================ */
.topbar {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, .85);
    font-size: .85rem;
    position: relative;
    z-index: 50;
    border-bottom: 3px solid var(--green);
}
.topbar a { color: rgba(255, 255, 255, .85); transition: color .25s; }
.topbar a:hover { color: var(--amber); }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .45rem; margin-right: 1.4rem; }
.topbar .tb-item i { color: var(--amber); }
.topbar .tb-sep { color: rgba(255,255,255,.35); margin: 0 .15rem; }
.topbar .tb-badge {
    background: rgba(23, 168, 98, .16);
    border: 1px solid rgba(23, 168, 98, .45);
    color: #7EE0AE;
    border-radius: 8px;
    padding: .12rem .7rem;
    font-weight: 600;
    font-size: .75rem;
    letter-spacing: .4px;
}
.topbar .tb-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 8px;
    background: rgba(255, 255, 255, .1);
    margin-left: .35rem; font-size: .75rem;
}
.topbar .tb-social a:hover { background: var(--green); color: #fff; }

/* ============================================================
   MAIN NAVBAR (sticky)
   ============================================================ */
.main-navbar {
    background: rgba(252, 250, 243, .96);
    backdrop-filter: blur(10px);
    transition: box-shadow .3s, padding .3s;
    z-index: 1020;
}
.main-navbar.scrolled { box-shadow: 0 8px 30px rgba(20, 31, 80, .15); }

.nav-logo-img {
    width: 54px; height: 54px;
    border-radius: 14px;
    object-fit: contain;
    padding: 3px;
    border: 2px solid var(--gold);
    box-shadow: 0 4px 12px rgba(245, 168, 29, .3);
    background: #fff;
}
.nav-school-name {
    font-family: 'Fraunces', serif;
    font-weight: 800;
    font-size: 1.28rem;
    color: var(--navy) !important;
    line-height: 1.1;
}
.nav-school-tag { font-size: .66rem; letter-spacing: 1.8px; color: var(--green); font-weight: 700; text-transform: uppercase; }

.main-navbar { border-bottom: 1px solid rgba(29, 46, 112, .08); }
.main-navbar::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -1px;
    height: 3px;
    background: linear-gradient(90deg, transparent 0%, var(--green) 25%, var(--gold) 50%, var(--green) 75%, transparent 100%);
}
.nav-school-name em { font-style: normal; color: var(--green); }

.main-navbar .nav-link {
    color: var(--ink) !important;
    font-weight: 500;
    font-size: .9rem;
    padding: .45rem .95rem !important;
    border-radius: 10px;
    position: relative;
    transition: all .25s;
}
.main-navbar .nav-link::after {
    content: "";
    position: absolute; left: 50%; bottom: 2px;
    width: 0; height: 3px; border-radius: 3px;
    background: var(--gold);
    transform: translateX(-50%);
    transition: width .3s ease;
}
.main-navbar .nav-link:hover { color: var(--green-deep) !important; }
.main-navbar .nav-link:hover::after { width: 55%; }
.main-navbar .nav-link.active {
    background: var(--grad-green);
    color: #fff !important;
    box-shadow: 0 5px 14px rgba(13, 138, 75, .35);
}
.main-navbar .nav-link.active::after { display: none; }

.main-navbar .dropdown-menu {
    border: none;
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    padding: .6rem;
    border-top: 3px solid var(--green);
}
.main-navbar .dropdown-item {
    border-radius: 9px;
    font-size: .9rem;
    font-weight: 500;
    padding: .55rem 1rem;
    transition: all .25s;
}
.main-navbar .dropdown-item:hover { background: var(--cream); color: var(--navy); padding-left: 1.25rem; }
.main-navbar .dropdown-item i { color: var(--green) !important; }

.nav-btn {
    border-radius: 10px;
    font-weight: 600;
    font-size: .88rem;
    padding: .5rem 1.4rem !important;
    transition: all .3s;
}
.nav-btn-edit { border: 2px solid var(--royal); color: var(--royal) !important; }
.nav-btn-edit:hover { background: var(--royal); color: #fff !important; transform: translateY(-2px); }
.nav-btn-login { background: var(--grad-gold); color: var(--navy-deep) !important; border: none; box-shadow: 0 6px 16px rgba(245, 168, 29, .38); }
.nav-btn-login:hover { transform: translateY(-2px); box-shadow: 0 10px 24px rgba(245, 168, 29, .55); color: var(--navy-deep) !important; }

.navbar-toggler { border: none; padding: .4rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(23, 168, 98, .35); }

/* ============================================================
   HERO SLIDER — diagonal navy→green overlay + serif title
   ============================================================ */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: var(--navy-deep);
}
.hero .hero-inner {
    flex: 1 0 auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
}
.hero-slide {
    position: absolute; inset: 0;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transform: scale(1.06);
    transition: opacity 1.4s ease, transform 6s linear;
}
.hero-slide.active { opacity: 1; transform: scale(1.14); }
.hero-slide::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(105deg, rgba(16, 24, 58, .93) 18%, rgba(29, 46, 112, .68) 52%, rgba(10, 108, 59, .42) 100%);
}
.hero-inner { position: relative; z-index: 3; color: #fff; }

.hero-kicker {
    display: inline-flex; align-items: center; gap: .6rem;
    background: rgba(23, 168, 98, .18);
    border: 1px solid rgba(23, 168, 98, .6);
    color: #8FE7B7;
    border-radius: 10px;
    padding: .42rem 1.15rem;
    font-size: .8rem; font-weight: 600;
    letter-spacing: 2px; text-transform: uppercase;
    backdrop-filter: blur(4px);
}
.hero-kicker i { color: var(--amber); }
.hero-title {
    font-family: 'Fraunces', serif;
    font-size: clamp(2.4rem, 6vw, 4.3rem);
    color: #fff;
    font-weight: 800;
    line-height: 1.06;
    text-shadow: 0 6px 30px rgba(0, 0, 0, .4);
}
.hero-title .hl { color: var(--amber); font-style: italic; }
.hero-sub {
    font-size: clamp(1rem, 2vw, 1.22rem);
    font-weight: 300;
    color: rgba(255, 255, 255, .9);
    max-width: 600px;
}
.hero-motto {
    font-family: 'Fraunces', serif;
    font-style: italic;
    font-weight: 600;
    color: var(--amber);
    font-size: clamp(1.05rem, 2vw, 1.35rem);
    letter-spacing: .5px;
}
.hero-motto::before {
    content: "";
    display: inline-block;
    width: 46px; height: 2px;
    background: var(--amber);
    vertical-align: middle;
    margin-right: .7rem;
    border-radius: 2px;
}
.hero-badges { display: flex; flex-wrap: wrap; gap: .7rem; }
.hero-badge {
    border-radius: 10px;
    padding: .42rem 1.05rem;
    font-size: .82rem; font-weight: 600;
    backdrop-filter: blur(4px);
}
.hero-badge.gold { background: var(--grad-gold); color: var(--navy-deep); }
.hero-badge.blue { background: rgba(46, 69, 168, .45); border: 1px solid rgba(255,255,255,.35); color: #fff; }
.hero-badge.green { background: rgba(13, 138, 75, .4); border: 1px solid rgba(126, 224, 174, .5); color: #DDF7E9; }

.hero-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    z-index: 5;
    width: 52px; height: 52px;
    border-radius: 14px;
    border: 1.5px solid rgba(255, 255, 255, .4);
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(6px);
    color: #fff;
    font-size: 1.05rem;
    transition: all .3s;
}
.hero-arrow:hover { background: var(--grad-gold); border-color: transparent; color: var(--navy-deep); }
.hero-arrow.prev { left: 24px; }
.hero-arrow.next { right: 24px; }

.hero-dots { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); z-index: 5; display: flex; gap: .5rem; }
.hero-dot { width: 26px; height: 4px; border-radius: 4px; border: none; background: rgba(255,255,255,.35); transition: all .35s; padding: 0; }
.hero-dot.active { width: 46px; background: var(--gold); }

.hero-wave { position: absolute; bottom: -1px; left: 0; width: 100%; z-index: 4; line-height: 0; }
.hero-wave svg { width: 100%; height: 90px; display: block; }

/* hero entrance animation */
.anim-up { opacity: 0; transform: translateY(34px); animation: animUp .9s ease forwards; }
.anim-up.d1 { animation-delay: .15s; } .anim-up.d2 { animation-delay: .35s; }
.anim-up.d3 { animation-delay: .55s; } .anim-up.d4 { animation-delay: .75s; }
@keyframes animUp { to { opacity: 1; transform: translateY(0); } }

/* ---------- hero photo card (right column) ---------- */
.hero-card {
    position: relative;
    border-radius: 22px;
    padding: 10px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.3);
    backdrop-filter: blur(8px);
    transform: rotate(2.5deg);
    box-shadow: 0 26px 60px rgba(0,0,0,.4);
    transition: transform .5s ease;
}
.hero-card:hover { transform: rotate(0deg); }
.hero-card img {
    border-radius: 14px;
    width: 100%;
    height: 320px;
    object-fit: cover;
    display: block;
}
.hero-card .hc-tag {
    position: absolute; left: -14px; bottom: 26px;
    background: var(--grad-gold);
    color: var(--navy-deep);
    font-weight: 700; font-size: .8rem;
    border-radius: 10px;
    padding: .5rem 1rem;
    box-shadow: 0 10px 24px rgba(0,0,0,.3);
}
.sun-badge {
    position: absolute; top: -52px; right: -34px;
    width: 118px; height: 118px;
    z-index: 4;
}
.sun-badge .ring {
    width: 100%; height: 100%;
    animation: sunSpin 16s linear infinite;
}
.sun-badge .core {
    position: absolute; inset: 30px;
    border-radius: 50%;
    background: var(--grad-gold);
    display: flex; align-items: center; justify-content: center;
    color: var(--navy-deep);
    font-size: 1.35rem;
    box-shadow: 0 8px 22px rgba(245,168,29,.5);
}
@keyframes sunSpin { to { transform: rotate(360deg); } }

/* hero bottom fact strip */
.hero-foot {
    position: relative; z-index: 3;
    border-top: 1px solid rgba(255,255,255,.18);
}
.hf-item {
    display: flex; align-items: center; gap: .8rem;
    padding: 1.05rem .4rem;
    color: rgba(255,255,255,.85);
}
.hf-item i {
    width: 42px; height: 42px; flex: 0 0 42px;
    border-radius: 12px;
    background: rgba(245,168,29,.16);
    border: 1px solid rgba(245,168,29,.5);
    color: var(--amber);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
}
.hf-item b { display: block; font-size: .92rem; font-weight: 600; color: #fff; }
.hf-item small { font-size: .74rem; color: rgba(255,255,255,.6); }

/* ============================================================
   TICKER / ANNOUNCEMENT STRIP
   ============================================================ */
.ticker {
    background: var(--navy);
    color: #fff;
    font-weight: 500;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: stretch;
}
.ticker-label {
    background: var(--grad-green); color: #fff;
    padding: .68rem 1.4rem;
    font-size: .82rem; letter-spacing: 1.4px; text-transform: uppercase;
    font-weight: 700;
    display: inline-flex; align-items: center; gap: .55rem;
    flex: 0 0 auto;
    position: relative; z-index: 2;
    box-shadow: 8px 0 18px rgba(0,0,0,.25);
}
.ticker-label i { color: var(--amber); }
.ticker-track { display: flex; white-space: nowrap; animation: tick 26s linear infinite; align-items: center; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track span { padding: .68rem 2.2rem; font-size: .9rem; color: rgba(255,255,255,.88); }
.ticker-track i { color: var(--gold); margin-right: .6rem; }
@keyframes tick { to { transform: translateX(-50%); } }

/* ============================================================
   SECTION BASICS
   ============================================================ */
.section { padding: 88px 0; }
.section.alt { background: var(--cream); }

.sec-kicker {
    display: inline-flex; align-items: center; gap: .55rem;
    color: var(--green-deep);
    font-weight: 700; font-size: .8rem;
    letter-spacing: 2.6px; text-transform: uppercase;
    margin-bottom: .8rem;
}
.sec-kicker i { color: var(--gold); font-size: .9rem; }
.sec-kicker::after {
    content: ""; width: 44px; height: 2px; background: var(--gold); border-radius: 2px;
}
.sec-kicker.center::before {
    content: ""; width: 44px; height: 2px; background: var(--gold); border-radius: 2px;
}
.sec-title { font-size: clamp(1.75rem, 3.4vw, 2.55rem); font-weight: 800; color: var(--navy); }
.sec-title .hl { color: var(--green); font-style: italic; }
.sec-sub { color: var(--muted); max-width: 660px; margin: 0 auto; }

/* ============================================================
   FX CARD — page-corner fold + left accent bar
   ============================================================ */
.fx-card {
    position: relative;
    background: #fff;
    border: 1px solid rgba(29, 46, 112, .07);
    border-left: 4px solid var(--green);
    border-radius: var(--radius);
    padding: 2.1rem 1.8rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    transition: transform .4s ease, box-shadow .4s ease, border-color .4s ease;
    overflow: hidden;
}
/* page-corner fold — top right */
.fx-card::after {
    content: "";
    position: absolute; top: 0; right: 0;
    width: 0; height: 0;
    border-style: solid;
    border-width: 0 46px 46px 0;
    border-color: transparent var(--cream) transparent transparent;
    filter: drop-shadow(-3px 3px 4px rgba(20,31,80,.08));
    transition: border-width .35s ease;
}
.fx-card:hover::after { border-width: 0 60px 60px 0; border-right-color: rgba(245,168,29,.35); }
/* gold underline sweep on hover */
.fx-card::before {
    content: "";
    position: absolute; left: 0; bottom: 0;
    width: 0; height: 4px;
    background: var(--grad-gold);
    border-radius: 0 4px 4px 0;
    transition: width .45s ease;
}
.fx-card:hover::before { width: 100%; }
.fx-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-left-color: var(--gold); }

.fx-icon {
    width: 62px; height: 62px;
    border-radius: 16px 16px 16px 4px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.15rem;
    color: #fff;
    background: var(--grad-navy);
    box-shadow: 0 10px 22px rgba(29, 46, 112, .25);
    transition: transform .4s, background .4s, color .4s;
}
.fx-card:hover .fx-icon { background: var(--grad-gold); color: var(--navy-deep); transform: rotate(-8deg) scale(1.06); }
.fx-card h5 { font-weight: 700; margin-bottom: .6rem; }
.fx-card p { color: var(--muted); font-size: .92rem; margin: 0; }

/* ============================================================
   STATS BAND
   ============================================================ */
.stats-band {
    background: var(--grad-green);
    position: relative;
    overflow: hidden;
}
.stats-band::before {
    content: "";
    position: absolute; top: -80px; right: -80px;
    width: 280px; height: 280px; border-radius: 50%;
    background:
        repeating-conic-gradient(from 0deg, rgba(255,203,69,.18) 0deg 8deg, transparent 8deg 24deg);
    border-radius: 50%;
}
.stats-band::after {
    content: "";
    position: absolute; bottom: -100px; left: -60px;
    width: 300px; height: 300px; border-radius: 50%;
    background: rgba(255, 255, 255, .06);
}
.stat-item { text-align: center; color: #fff; position: relative; z-index: 2; }
.stat-item .stat-ico {
    width: 58px; height: 58px; margin: 0 auto .8rem;
    border-radius: 16px;
    background: rgba(255, 203, 69, .16);
    border: 1px solid rgba(255, 203, 69, .5);
    display: flex; align-items: center; justify-content: center;
    color: var(--amber); font-size: 1.35rem;
}
.stat-num { font-family: 'Fraunces', serif; font-size: 2.5rem; font-weight: 800; color: var(--amber); line-height: 1; }
.stat-num .suffix { color: #fff; font-family: 'Fraunces', serif; }
.stat-lbl { font-size: .86rem; color: rgba(255,255,255,.82); letter-spacing: .6px; margin-top: .35rem; }

/* ============================================================
   ABOUT
   ============================================================ */
.about-img-wrap { position: relative; }
.about-img-main {
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    position: relative; z-index: 2;
}
.about-img-sub {
    position: absolute; bottom: -34px; right: -18px;
    width: 55%;
    border-radius: var(--radius);
    border: 6px solid #fff;
    box-shadow: var(--shadow-md);
    z-index: 3;
}
.about-exp-badge {
    position: absolute; top: -26px; left: -26px; z-index: 4;
    background: var(--grad-navy);
    color: #fff;
    border: 3px solid var(--gold);
    border-radius: 50%;
    width: 118px; height: 118px;
    display: flex; flex-direction: column;
    align-items: center; justify-content: center;
    text-align: center;
    box-shadow: 0 14px 30px rgba(29, 46, 112, .35);
}
.about-exp-badge b { font-family: 'Fraunces', serif; font-size: 1.5rem; display: block; line-height: 1; color: var(--amber); }
.about-exp-badge span { font-size: .62rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; }
.about-img-wrap::before {
    content: "";
    position: absolute; top: -34px; right: -34px;
    width: 140px; height: 140px;
    background: repeating-conic-gradient(from 0deg, rgba(245,168,29,.3) 0deg 10deg, transparent 10deg 26deg);
    border-radius: 50%; z-index: 1;
}
.check-list { list-style: none; padding: 0; margin: 0 0 1.4rem; }
.check-list li { display: flex; gap: .7rem; align-items: flex-start; padding: .32rem 0; font-weight: 500; }
.check-list li i {
    color: #fff;
    background: var(--grad-green);
    border-radius: 7px;
    width: 24px; height: 24px; flex: 0 0 24px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .68rem; margin-top: 2px;
}

/* ============================================================
   VISION & MISSION
   ============================================================ */
.vm-card {
    position: relative;
    border-radius: 22px;
    padding: 2.6rem 2.3rem;
    height: 100%;
    color: #fff;
    overflow: hidden;
    transition: transform .4s;
}
.vm-card:hover { transform: translateY(-8px); }
.vm-card.blue { background: var(--grad-navy); }
.vm-card.gold { background: var(--grad-green); color: #fff; }
.vm-card .vm-ico {
    width: 70px; height: 70px; border-radius: 20px;
    background: rgba(255,255,255,.14);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem; margin-bottom: 1.3rem;
    border: 1px solid rgba(255,255,255,.3);
    color: var(--amber);
}
.vm-card h3 { color: #fff; }
.vm-card p { opacity: .92; font-size: .95rem; }
/* quarter sun rays — top right corner */
.vm-card::after {
    content: "";
    position: absolute; top: -70px; right: -70px;
    width: 210px; height: 210px; border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(255,203,69,.16) 0deg 9deg, transparent 9deg 24deg);
}
.vm-card.gold::after { background: repeating-conic-gradient(from 0deg, rgba(255,203,69,.2) 0deg 9deg, transparent 9deg 24deg); }
.vm-card::before {
    content: "";
    position: absolute; bottom: -50px; left: -50px;
    width: 160px; height: 160px; border-radius: 50%;
    border: 24px solid rgba(255,255,255,.06);
}

/* ============================================================
   FEATURES GRID (uses .fx-card)
   ============================================================ */
.feature-num {
    position: absolute; top: .9rem; right: 1.3rem;
    font-family: 'Fraunces', serif;
    font-size: 2.5rem; font-weight: 800;
    color: rgba(13, 138, 75, .1);
    line-height: 1;
}

/* ============================================================
   CAMPUS / GALLERY
   ============================================================ */
.campus-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 210px; gap: 16px; }
.campus-item {
    position: relative; border-radius: var(--radius);
    overflow: hidden; cursor: pointer;
    box-shadow: var(--shadow-sm);
}
.campus-item.tall { grid-row: span 2; }
.campus-item.wide { grid-column: span 2; }
.campus-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s ease; }
.campus-item::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(20, 31, 80, .82), rgba(13, 138, 75, .15) 55%, transparent);
    opacity: 0; transition: opacity .45s;
}
.campus-item:hover::after { opacity: 1; }
.campus-item:hover img { transform: scale(1.12); }
.campus-cap {
    position: absolute; bottom: 14px; left: 16px; z-index: 2;
    color: #fff; font-weight: 600; font-size: .92rem;
    opacity: 0; transform: translateY(12px); transition: all .45s;
}
.campus-cap::before {
    content: ""; display: block;
    width: 26px; height: 3px; border-radius: 3px;
    background: var(--gold); margin-bottom: .4rem;
}
.campus-item:hover .campus-cap { opacity: 1; transform: translateY(0); }

/* ============================================================
   TESTIMONIALS
   ============================================================ */
.testi-track { display: flex; transition: transform .65s ease; }
.testi-slide { flex: 0 0 100%; padding: 1.8rem .5rem .6rem; }
@media (min-width: 576px) { .testi-slide { flex-basis: 50%; } }
@media (min-width: 992px) { .testi-slide { flex-basis: 33.3333%; } }
.testi-card {
    background: #fff;
    border-radius: 22px;
    padding: 2.4rem 1.7rem;
    box-shadow: var(--shadow-md);
    position: relative;
    height: 100%;
    border-bottom: 4px solid var(--gold);
}
.testi-card::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; top: -22px; left: 34px;
    width: 52px; height: 52px;
    background: var(--grad-green);
    color: #fff;
    border-radius: 14px;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem;
    box-shadow: 0 10px 22px rgba(13,138,75,.4);
}
.testi-text { font-size: 1.02rem; color: var(--muted); font-style: italic; }
.testi-stars { color: var(--gold); font-size: .85rem; }
.testi-avatar,
.testi-face {
    width: 56px; height: 56px; border-radius: 16px;
    background: var(--grad-navy); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.15rem;
    border: 3px solid var(--gold);
    object-fit: cover;
    flex: 0 0 56px;
}
.testi-nav { display: flex; gap: .6rem; justify-content: center; }
.testi-dot { width: 22px; height: 4px; border-radius: 4px; border: none; background: rgba(29,46,112,.2); padding: 0; transition: all .35s; }
.testi-dot.active { width: 38px; background: var(--green); }

/* ============================================================
   CTA BAND
   ============================================================ */
.cta-band {
    background: var(--grad-navy);
    border-radius: 26px;
    padding: 3.4rem 3rem;
    position: relative; overflow: hidden;
    color: #fff;
}
.cta-band::before {
    content: "";
    position: absolute; top: -80px; right: -80px;
    width: 260px; height: 260px; border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(255,203,69,.22) 0deg 10deg, transparent 10deg 26deg);
}
.cta-band::after {
    content: "";
    position: absolute; bottom: -80px; left: -40px;
    width: 220px; height: 220px; border-radius: 50%;
    border: 28px solid rgba(23, 168, 98, .14);
}
.cta-band h2 { color: #fff; }
.cta-band h2 .hl { color: var(--amber); font-style: italic; }

/* ============================================================
   PAGE BANNER (inner pages) — diagonal cut edge
   ============================================================ */
.page-banner {
    background:
        repeating-conic-gradient(from 180deg at 88% -30%, rgba(255,203,69,.12) 0deg 7deg, transparent 7deg 22deg),
        var(--grad-navy);
    padding: 80px 0 108px;
    position: relative;
    overflow: hidden;
    color: #fff;
}
/* soft green glow — bottom left */
.page-banner::before {
    content: "";
    position: absolute; bottom: -90px; left: -90px;
    width: 260px; height: 260px; border-radius: 50%;
    background: radial-gradient(circle, rgba(23, 168, 98, .35), rgba(23, 168, 98, 0) 70%);
}
/* decorative ring */
.page-banner .container::before {
    content: "";
    position: absolute; top: 14px; right: 4%;
    width: 150px; height: 150px; border-radius: 50%;
    border: 24px solid rgba(255, 255, 255, .06);
}
/* diagonal paper edge into the next section */
.page-banner::after {
    content: "";
    position: absolute; left: -4%; right: -4%; bottom: -2px;
    height: 52px;
    background: var(--paper);
    clip-path: polygon(0 55%, 100% 0, 100% 100%, 0 100%);
}
.page-banner h1 {
    color: #fff; font-weight: 800;
    font-size: clamp(2rem, 4.5vw, 3.1rem);
    position: relative; display: inline-block;
    animation: animUp .8s ease both;
}
/* gold+green twin underline bars */
.page-banner h1::after {
    content: "";
    display: block;
    width: 92px; height: 4px;
    border-radius: 4px;
    background: var(--grad-gold);
    margin: .6rem auto 0;
    box-shadow: 0 4px 14px rgba(245, 168, 29, .55), 0 -8px 0 -5px var(--green);
}
.page-banner h1::before {
    content: "";
    display: block;
    width: 44px; height: 4px;
    border-radius: 4px;
    background: var(--mint);
    margin: 0 auto .55rem;
}
/* glassmorphism breadcrumb pill */
.page-banner .crumb {
    display: inline-flex; align-items: center;
    margin-top: .95rem;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .28);
    backdrop-filter: blur(8px);
    color: rgba(255, 255, 255, .85);
    font-size: .82rem; font-weight: 500;
    padding: .4rem 1.2rem;
    border-radius: 50px;
    animation: animUp .8s .15s ease both;
}
.page-banner .crumb a { color: var(--amber); font-weight: 600; }
.page-banner .crumb a:hover { text-decoration: underline; }
.page-banner .crumb i { color: var(--mint); font-size: .6rem; }

/* ============================================================
   FOOTER (inside DB content — .site-footer)
   ============================================================ */
.site-footer {
    background: var(--navy-deep);
    color: rgba(255, 255, 255, .78);
    position: relative;
    overflow: hidden;
    border-top: 4px solid var(--green);
}
.site-footer::before {
    content: "";
    position: absolute; top: -90px; right: -90px;
    width: 300px; height: 300px; border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(255,203,69,.08) 0deg 9deg, transparent 9deg 24deg);
}
.site-footer h5, .site-footer h6 { color: #fff; }
.site-footer .ft-motto {
    font-family: 'Fraunces', serif; font-style: italic;
    color: var(--amber); letter-spacing: 1px;
}
.ft-logo { width: 64px; height: 64px; border-radius: 16px; border: 2px solid var(--gold); object-fit: contain; background: #fff; padding: 4px; }
.ft-link { color: rgba(255,255,255,.72); display: block; padding: .28rem 0; font-size: .92rem; transition: all .25s; }
.ft-link:hover { color: var(--amber); padding-left: .5rem; }
.ft-link i { color: var(--mint); font-size: .7rem; margin-right: .5rem; }
.ft-contact { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .85rem; font-size: .9rem; }
.ft-contact i { color: var(--amber); margin-top: 4px; }
.ft-social a {
    width: 38px; height: 38px; border-radius: 12px;
    background: rgba(255,255,255,.08);
    display: inline-flex; align-items: center; justify-content: center;
    color: #fff; margin-right: .5rem;
    transition: all .3s;
}
.ft-social a:hover { background: var(--grad-green); color: #fff; transform: translateY(-3px); }
.ft-bottom { border-top: 1px solid rgba(255,255,255,.1); }
.ft-bottom .reg-chip {
    background: rgba(23,168,98,.15);
    border: 1px solid rgba(23,168,98,.45);
    color: #7EE0AE;
    border-radius: 8px;
    padding: .2rem .8rem;
    font-size: .75rem; font-weight: 600;
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .8s ease, transform .8s ease; }
.reveal.in { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: .12s; } .reveal.d2 { transition-delay: .24s; }
.reveal.d3 { transition-delay: .36s; } .reveal.d4 { transition-delay: .48s; }

/* ============================================================
   BACK TO TOP
   ============================================================ */
.to-top {
    position: fixed; bottom: 26px; right: 26px; z-index: 1050;
    width: 48px; height: 48px; border-radius: 14px;
    background: var(--grad-gold); color: var(--navy-deep);
    border: none; font-size: 1.05rem;
    box-shadow: 0 10px 24px rgba(245, 168, 29, .45);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: all .35s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { transform: translateY(-4px); }

/* ============================================================
   MISC / RESPONSIVE
   ============================================================ */
.font-lobster { font-family: 'Fraunces', serif; font-style: italic; }

.modal-content { border: none; border-radius: 20px; overflow: hidden; }
.login-modal-head { background: var(--grad-navy); }
.login-modal-head .modal-title { color: #fff; font-weight: 700; }
.login-logo { width: 110px; height: 110px; border-radius: 22px; object-fit: contain; padding: 6px; border: 4px solid var(--gold); box-shadow: 0 8px 22px rgba(245,168,29,.35); background: #fff; }
.form-control:focus { border-color: var(--green); box-shadow: 0 0 0 .2rem rgba(23,168,98,.2); }

@media (max-width: 991px) {
    .campus-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 180px; }
    .section { padding: 64px 0; }
    .hero { min-height: 78vh; }
    .sun-badge { top: -40px; right: -8px; width: 96px; height: 96px; }
    .sun-badge .core { inset: 24px; font-size: 1.1rem; }
}
@media (max-width: 576px) {
    .campus-grid { grid-template-columns: 1fr; grid-auto-rows: 220px; }
    .campus-item.wide, .campus-item.tall { grid-column: auto; grid-row: auto; }
    .cta-band { padding: 2.4rem 1.6rem; }
    .about-img-sub { position: static; width: 70%; margin-top: 1rem; }
    .topbar .tb-hide-sm { display: none; }
    .hero-card img { height: 240px; }
}

/* ============================================================
   WELCOME / ADMISSION MODAL (first load)
   ============================================================ */
.wl-modal { border: 2px solid var(--gold); border-radius: 22px; }
.wl-head {
    background: var(--grad-navy);
    text-align: center;
    padding: 1.7rem 1.5rem 1.3rem;
    position: relative;
    overflow: hidden;
}
.wl-head::before {
    content: "";
    position: absolute; top: -60px; right: -60px;
    width: 170px; height: 170px; border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(255,203,69,.2) 0deg 10deg, transparent 10deg 26deg);
}
.wl-head::after {
    content: "";
    position: absolute; bottom: -70px; left: -40px;
    width: 150px; height: 150px; border-radius: 50%;
    border: 20px solid rgba(23, 168, 98, .14);
}
.wl-head img {
    width: 78px; height: 78px; border-radius: 18px;
    border: 3px solid var(--gold);
    background: #fff; object-fit: contain; padding: 4px;
    box-shadow: 0 8px 22px rgba(0,0,0,.25);
}
.wl-head h5 { color: #fff; margin: .6rem 0 0; position: relative; z-index: 2; }
.wl-head small { color: var(--amber); letter-spacing: 1.6px; font-size: .68rem; text-transform: uppercase; position: relative; z-index: 2; }
.wl-close {
    position: absolute; top: 12px; right: 14px; z-index: 6;
    width: 34px; height: 34px; border-radius: 10px;
    background: rgba(255,255,255,.16); border: 1px solid rgba(255,255,255,.3);
    color: #fff; font-size: .85rem;
    transition: all .25s;
}
.wl-close:hover { background: var(--green); transform: rotate(90deg); }
.wl-chip {
    display: inline-block;
    background: rgba(23, 168, 98, .12);
    border: 1px dashed var(--green);
    color: var(--green-deep);
    font-weight: 700; font-size: .78rem; letter-spacing: 1.8px;
    padding: .35rem 1.25rem; border-radius: 50px;
}
.wl-tags span {
    display: inline-block;
    background: var(--cream);
    border: 1px solid rgba(29,46,112,.12);
    color: var(--navy);
    font-size: .73rem; font-weight: 600;
    padding: .3rem .8rem; border-radius: 8px; margin: .18rem;
}
.wl-tags span i { color: var(--green); margin-right: .3rem; }

/* ============================================================
   HERO HIGHLIGHTS BOX (legacy — kept for compatibility)
   ============================================================ */
.hero-hl-box {
    background: rgba(255, 255, 255, .10);
    border: 1px solid rgba(255, 255, 255, .24);
    border-top: 3px solid var(--gold);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    padding: 1.3rem 1.3rem 1rem;
    box-shadow: 0 22px 55px rgba(0, 0, 0, .35);
}
.hl-head {
    display: flex; align-items: center; gap: .6rem;
    color: var(--amber); font-weight: 700;
    font-size: .82rem; letter-spacing: 1.8px; text-transform: uppercase;
    margin-bottom: .7rem;
}
.hl-head i { font-size: .95rem; }
.hl-viewport {
    height: 315px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 10%, #000 90%, transparent);
}
.hl-track { animation: hlScroll 20s linear infinite; }
.hl-viewport:hover .hl-track { animation-play-state: paused; }
@keyframes hlScroll { to { transform: translateY(-50%); } }
.hl-item {
    display: flex; align-items: center; gap: .8rem;
    padding: .68rem .35rem;
    color: #fff;
    border-bottom: 1px dashed rgba(255,255,255,.14);
}
.hl-ico {
    width: 38px; height: 38px; flex: 0 0 38px;
    border-radius: 11px;
    background: rgba(245,168,29,.16);
    border: 1px solid rgba(245,168,29,.5);
    color: var(--amber);
    display: flex; align-items: center; justify-content: center;
    font-size: .9rem;
}
.hl-item b { font-size: .88rem; font-weight: 600; display: block; }
.hl-item small { color: rgba(255,255,255,.62); font-size: .73rem; }

/* ============================================================
   ACHIEVEMENTS
   ============================================================ */
.ach-photo {
    display: block;
    width: calc(100% + 3.6rem);
    margin: -2.1rem -1.8rem 0;
    height: 165px;
    object-fit: cover;
    border-radius: var(--radius) var(--radius) 0 0;
}
.ach-photo ~ .fx-icon {
    margin-top: -34px;
    border: 4px solid #fff;
    border-radius: 16px;
    position: relative;
}
.ach-badge {
    position: absolute; top: 1.1rem; right: 1.2rem; z-index: 3;
    background: rgba(255,255,255,.92);
    border: 1px solid rgba(13,138,75,.25);
    color: var(--green-deep);
    font-size: .7rem; font-weight: 700;
    padding: .18rem .7rem; border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,.15);
}
.ach-icon-trophy { background: var(--grad-gold) !important; color: var(--navy-deep) !important; box-shadow: 0 10px 22px rgba(245,168,29,.35) !important; }

/* ============================================================
   TOPPERS
   ============================================================ */
.topper-card {
    position: relative;
    background: #fff;
    border-radius: var(--radius);
    padding: 2.3rem 1.5rem 1.6rem;
    height: 100%;
    box-shadow: var(--shadow-sm);
    border-top: 4px solid var(--green);
    text-align: center;
    transition: transform .4s, box-shadow .4s;
}
.topper-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); border-top-color: var(--gold); }
.topper-rank {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--grad-gold); color: var(--navy-deep);
    font-weight: 800; font-size: .75rem;
    padding: .28rem 1rem; border-radius: 8px;
    box-shadow: 0 6px 16px rgba(245,168,29,.45);
    white-space: nowrap;
}
.topper-avatar,
.topper-photo {
    width: 74px; height: 74px; border-radius: 18px;
    background: var(--grad-navy); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1.2rem;
    border: 3px solid var(--gold);
    margin: 0 auto .8rem;
    object-fit: cover;
    box-shadow: 0 8px 18px rgba(20,31,80,.22);
}
.topper-marks { font-family: 'Fraunces', serif; font-size: 1.5rem; font-weight: 800; color: var(--green); line-height: 1.1; }
.topper-class-chip {
    display: inline-block;
    background: var(--cream);
    color: var(--navy);
    font-size: .7rem; font-weight: 700;
    padding: .2rem .7rem; border-radius: 8px;
}

/* achievement detail rows (achievements page) */
.card-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.ach-row { padding: 0 !important; overflow: hidden; }
.ach-row::after { display: none; }
.ach-side-img {
    width: 100%; height: 100%;
    min-height: 200px;
    object-fit: cover;
    display: block;
}
.ach-row-body { padding: 1.6rem 1.8rem; }
.ach-year {
    display: inline-block;
    background: var(--grad-gold); color: var(--navy-deep);
    font-weight: 700; font-size: .72rem;
    padding: .22rem .8rem; border-radius: 8px;
    box-shadow: 0 4px 12px rgba(245,168,29,.4);
}
.ach-cat {
    display: inline-block;
    background: var(--cream); color: var(--navy);
    font-size: .7rem; font-weight: 600;
    padding: .2rem .7rem; border-radius: 8px;
    border: 1px solid rgba(29,46,112,.12);
}
.ach-students { font-size: .8rem; color: var(--muted); }
.ach-students i { color: var(--green); margin-right: .35rem; }

/* group sub-heading (toppers page) */
.group-title {
    color: var(--navy); font-weight: 800;
    display: inline-flex; align-items: center; gap: .7rem;
    margin-bottom: 0;
}
.group-title::before { content: ""; width: 9px; height: 30px; border-radius: 5px; background: var(--grad-gold); }

/* ============================================================
   MEGA BUTTON (extra highlighted)
   ============================================================ */
.btn-mega {
    font-size: 1rem;
    padding: .95rem 2.7rem;
    letter-spacing: .8px;
    text-transform: uppercase;
    animation: megaPulse 2.2s infinite;
}
@keyframes megaPulse {
    0%   { box-shadow: 0 0 0 0 rgba(245, 168, 29, .55); }
    70%  { box-shadow: 0 0 0 18px rgba(245, 168, 29, 0); }
    100% { box-shadow: 0 0 0 0 rgba(245, 168, 29, 0); }
}

/* ============================================================
   CONTACT STRIP (compact)
   ============================================================ */
.contact-strip {
    background: var(--grad-navy);
    border-radius: 22px;
    padding: 1.7rem 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.contact-strip::after {
    content: "";
    position: absolute; top: -70px; right: -70px;
    width: 190px; height: 190px; border-radius: 50%;
    background: repeating-conic-gradient(from 0deg, rgba(255,203,69,.2) 0deg 10deg, transparent 10deg 26deg);
}
.cs-item { display: flex; align-items: center; gap: .75rem; font-size: .88rem; position: relative; z-index: 2; }
.cs-ico {
    width: 42px; height: 42px; flex: 0 0 42px;
    border-radius: 12px;
    background: rgba(245,168,29,.16);
    border: 1px solid rgba(245,168,29,.5);
    color: var(--amber);
    display: flex; align-items: center; justify-content: center;
}
.cs-item small { display: block; color: rgba(255,255,255,.6); font-size: .68rem; letter-spacing: .5px; text-transform: uppercase; }

/* ============================================================
   WHATSAPP FLOAT BUTTON
   ============================================================ */
.wa-btn {
    position: fixed; bottom: 92px; right: 26px; z-index: 1050;
    width: 52px; height: 52px; border-radius: 16px;
    background: #25D366; color: #fff !important;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    box-shadow: 0 10px 26px rgba(37, 211, 102, .5);
    transition: transform .3s;
}
.wa-btn:hover { transform: scale(1.1); color: #fff; }
.wa-btn::before {
    content: "";
    position: absolute; inset: 0; border-radius: 16px;
    background: #25D366; opacity: .45;
    animation: waPulse 2s ease-out infinite;
    z-index: -1;
}
@keyframes waPulse { to { transform: scale(1.6); opacity: 0; } }

/* anchored sections shouldn't hide behind sticky navbar */
section[id] { scroll-margin-top: 110px; }

/* ============================================================
   NOTICE BOARD (dynamic/notice.php)
   ============================================================ */
.notice-board {
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--shadow-md);
    overflow: hidden;
    border-top: 4px solid var(--green);
}
.nb-head {
    background: var(--grad-navy);
    color: #fff;
    padding: 1.1rem 1.6rem;
    display: flex; align-items: center; justify-content: center; gap: .7rem;
    font-weight: 700; font-size: 1.15rem;
}
.nb-head i { color: var(--amber); }
.nt-viewport {
    height: 400px;
    overflow: hidden;
    position: relative;
    -webkit-mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
            mask-image: linear-gradient(to bottom, transparent, #000 7%, #000 93%, transparent);
}
.nt-track { animation: hlScroll 30s linear infinite; }
.nt-viewport:hover .nt-track { animation-play-state: paused; }
.nt-item {
    display: flex; gap: .9rem; align-items: flex-start;
    padding: 1rem 1.4rem;
    border-bottom: 1px dashed rgba(29,46,112,.14);
}
.nt-ico {
    width: 42px; height: 42px; flex: 0 0 42px;
    border-radius: 12px;
    background: rgba(23,168,98,.12);
    border: 1px solid rgba(13,138,75,.35);
    color: var(--green);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem; margin-top: 2px;
}
.nt-item p { margin: 0; font-size: .95rem; color: var(--ink); font-weight: 500; }
.nt-more {
    display: inline-flex; align-items: center; gap: .3rem;
    margin-top: .4rem;
    background: var(--grad-gold); color: var(--navy-deep) !important;
    font-size: .72rem; font-weight: 700;
    padding: .22rem .8rem; border-radius: 8px;
}
.nt-empty { text-align: center; padding: 3rem 1.5rem; color: var(--muted); }
.nt-empty i { font-size: 2.6rem; color: rgba(29,46,112,.25); display: block; margin-bottom: .8rem; }

/* ============================================================
   CONTACT PAGE (dynamic/contact.php)
   ============================================================ */
.contact-logo {
    width: 86px; height: 86px; border-radius: 20px;
    object-fit: contain; padding: 5px; border: 3px solid var(--gold);
    box-shadow: 0 8px 22px rgba(245,168,29,.3);
    background: #fff;
}
.map-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    border: 4px solid #fff;
    height: 100%;
    min-height: 340px;
}
.map-card iframe { display: block; width: 100%; height: 100%; min-height: 340px; border: 0; }
.contact-form .form-control {
    border-radius: 12px;
    padding: .7rem 1rem;
    border: 1.5px solid rgba(29,46,112,.15);
    background: var(--cream);
    font-size: .92rem;
}
.contact-form .form-control:focus {
    border-color: var(--green);
    background: #fff;
    box-shadow: 0 0 0 .2rem rgba(23,168,98,.18);
}

/* ============================================================
   FACULTY (dynamic/faculty.php)
   ============================================================ */
.fac-photo {
    width: 112px; height: 112px;
    border-radius: 26px;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--gold), 0 10px 22px rgba(20,31,80,.18);
    background: var(--cream);
    margin: 0 auto 1rem;
    display: block;
}
.fac-fallback {
    width: 112px; height: 112px;
    border-radius: 26px;
    margin: 0 auto 1rem;
    background: var(--grad-navy);
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--gold);
    color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 700;
}
.fac-name { color: var(--navy); font-size: 1rem; font-weight: 700; margin-bottom: .3rem; }
.fac-qual { color: var(--muted); font-size: .83rem; margin-bottom: .55rem; min-height: 1.2em; }
.fac-role {
    display: inline-block;
    background: rgba(23,168,98,.12);
    border: 1px solid rgba(13,138,75,.35);
    color: var(--green-deep);
    border-radius: 8px;
    padding: .22rem .85rem;
    font-size: .72rem; font-weight: 700;
}
.fac-skel {
    border-radius: var(--radius);
    height: 230px;
    background: linear-gradient(90deg, #efe9d8 25%, #f9f6ec 50%, #efe9d8 75%);
    background-size: 200% 100%;
    animation: sklShimmer 1.2s infinite;
}
@keyframes sklShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}
.fac-group-line {
    display: flex; align-items: center; justify-content: center; gap: 16px;
    margin-bottom: 2rem;
}
.fac-group-line::before, .fac-group-line::after {
    content: ""; flex: 1; max-width: 160px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--green));
}
.fac-group-line::after { background: linear-gradient(90deg, var(--green), transparent); }
.fac-group-line h3 { color: var(--navy); font-weight: 800; margin: 0; white-space: nowrap; }

/* ============================================================
   GALLERY (dynamic/gallery1.php)
   ============================================================ */
.gal-img {
    cursor: pointer;
    transition: transform .4s ease, box-shadow .4s ease;
    aspect-ratio: 1;
    object-fit: cover;
    width: 100%;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    background: #e9eefb;
}
.gal-img:hover { transform: scale(1.05); box-shadow: var(--shadow-md); }
.gal-skel {
    aspect-ratio: 1;
    border-radius: var(--radius);
    background: linear-gradient(90deg, #efe9d8 25%, #f9f6ec 50%, #efe9d8 75%);
    background-size: 200% 100%;
    animation: sklShimmer 1.2s infinite;
}
.gal-modal-img { width: 100%; max-height: 78vh; object-fit: contain; }
.gal-thumb {
    height: 66px; width: 74px;
    object-fit: cover;
    cursor: pointer;
    border-radius: 8px;
    border: 2px solid transparent;
    flex: 0 0 auto;
}
.gal-thumb.active { border-color: var(--gold); }
.gal-thumb-wrap {
    display: flex; overflow: hidden;
    position: relative; max-width: 320px; margin: auto;
}
.gal-thumb-inner { display: flex; transition: transform .3s ease; }
.gal-thumb-arrow {
    position: absolute; top: 50%; transform: translateY(-50%);
    background: rgba(0,0,0,.55); color: #fff; border: none; z-index: 10;
    height: 100%; padding: 0 10px;
}
.gal-thumb-arrow.left { left: 0; } .gal-thumb-arrow.right { right: 0; }
.gal-nav-arrow {
    font-size: 2rem; color: #fff; cursor: pointer;
    background: rgba(0,0,0,.35); border-radius: 12px;
    padding: .2rem .75rem; margin: 0 10px;
    transition: background .3s;
}
.gal-nav-arrow:hover { background: var(--green); }
.gal-close {
    position: absolute; top: 10px; right: 15px; z-index: 10;
    font-size: 1.9rem; color: #fff; cursor: pointer;
    background: rgba(0,0,0,.45); border-radius: 12px;
    padding: 2px 11px; line-height: 1.3;
}
.gal-close:hover { background: var(--green); }

@media (max-width: 991px) {
    .hero-hl-box { margin-top: 2.5rem; }
    .hl-viewport { height: 260px; }
    .dl-item { flex-basis: 33%; margin-bottom: 1.6rem; }
    .dl-item::after { display: none; }
}

/* ============================================================
   NRN EXTRAS — components for the new landing & about pages
   ============================================================ */

/* ---------- "A Day at the Academy" timeline ---------- */
.dayline {
    display: flex; flex-wrap: wrap; gap: 0;
    counter-reset: dl;
}
.dl-item {
    flex: 1 1 150px;
    text-align: center;
    padding: 0 .6rem;
    position: relative;
}
.dl-item:not(:last-child)::after {
    content: "";
    position: absolute; top: 27px; right: -50%;
    width: 100%; height: 2px;
    background: repeating-linear-gradient(90deg, rgba(255,255,255,.5) 0 8px, transparent 8px 14px);
    z-index: 0;
}
.dl-time {
    width: 54px; height: 54px; margin: 0 auto .7rem;
    border-radius: 50%;
    background: rgba(255,255,255,.14);
    border: 2px solid var(--amber);
    color: var(--amber);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: .78rem;
    position: relative; z-index: 2;
}
.dl-item b { color: #fff; font-size: .9rem; font-weight: 600; display: block; }
.dl-item small { color: rgba(255,255,255,.62); font-size: .74rem; }

/* ---------- event chips ---------- */
.ev-chip {
    display: inline-flex; align-items: center; gap: .5rem;
    background: #fff;
    border: 1.5px solid rgba(13,138,75,.3);
    color: var(--navy);
    font-size: .85rem; font-weight: 600;
    padding: .55rem 1.15rem;
    border-radius: 12px;
    box-shadow: var(--shadow-sm);
    transition: all .3s;
}
.ev-chip i { color: var(--gold); }
.ev-chip:hover { background: var(--grad-green); color: #fff; border-color: transparent; transform: translateY(-3px); }
.ev-chip:hover i { color: var(--amber); }

/* ---------- admission steps ---------- */
.step-card {
    background: #fff;
    border-radius: var(--radius);
    border: 1px solid rgba(29,46,112,.07);
    box-shadow: var(--shadow-sm);
    padding: 1.9rem 1.4rem 1.5rem;
    height: 100%;
    text-align: center;
    position: relative;
    transition: transform .35s, box-shadow .35s;
}
.step-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.step-num {
    width: 52px; height: 52px;
    margin: -3.2rem auto 1rem;
    border-radius: 14px;
    background: var(--grad-gold);
    color: var(--navy-deep);
    font-family: 'Fraunces', serif;
    font-weight: 800; font-size: 1.3rem;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 10px 22px rgba(245,168,29,.45);
    border: 4px solid var(--paper);
    position: relative; z-index: 2;
}
.step-card h5 { font-size: 1rem; }
.step-card p { font-size: .84rem; color: var(--muted); margin: 0; }

/* ---------- leadership cards ---------- */
.leader-card {
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(29,46,112,.07);
    overflow: hidden;
    height: 100%;
    transition: transform .4s, box-shadow .4s;
}
.leader-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-md); }
.leader-photo-wrap {
    background:
        repeating-conic-gradient(from 200deg at 100% 0%, rgba(255,203,69,.25) 0deg 8deg, transparent 8deg 22deg),
        var(--grad-navy);
    padding: 1.9rem 1.5rem 0;
    text-align: center;
}
.leader-photo {
    width: 132px; height: 132px;
    border-radius: 24px;
    object-fit: cover;
    border: 4px solid var(--gold);
    box-shadow: 0 12px 28px rgba(0,0,0,.3);
    margin-bottom: -1.4rem;
    background: #fff;
}
.leader-body { padding: 2rem 1.6rem 1.7rem; }
.leader-role {
    display: inline-block;
    background: rgba(23,168,98,.12);
    border: 1px solid rgba(13,138,75,.35);
    color: var(--green-deep);
    font-size: .7rem; font-weight: 700;
    letter-spacing: .8px; text-transform: uppercase;
    padding: .24rem .85rem; border-radius: 8px;
    margin-bottom: .7rem;
}
.leader-quote {
    font-family: 'Fraunces', serif; font-style: italic;
    color: var(--muted); font-size: .95rem;
    border-left: 3px solid var(--gold);
    padding-left: .9rem; margin-top: .8rem;
}

/* ---------- info mini list ---------- */
.mini-list { list-style: none; padding: 0; margin: 0; }
.mini-list li {
    display: flex; gap: .75rem; align-items: flex-start;
    padding: .55rem 0;
    border-bottom: 1px dashed rgba(29,46,112,.12);
    font-size: .93rem;
}
.mini-list li:last-child { border-bottom: none; }
.mini-list li i {
    color: var(--green);
    width: 26px; height: 26px; flex: 0 0 26px;
    border-radius: 8px;
    background: rgba(23,168,98,.12);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .72rem; margin-top: 1px;
}
.mini-list li b { color: var(--navy); }

/* ---------- principal/notice banner card ---------- */
.note-card {
    background: #fff;
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(29,46,112,.07);
    padding: 1.5rem 1.6rem;
    height: 100%;
}
.note-card h6 {
    display: flex; align-items: center; gap: .55rem;
    color: var(--navy); font-weight: 700;
    padding-bottom: .7rem; margin-bottom: .9rem;
    border-bottom: 2px solid var(--cream);
}
.note-card h6 i { color: var(--gold); }
