/* ============================================================
   ANANDA MARGA SCHOOL — Gerua Editorial Design System
   Palette: Swami-gerua saffron · warm ink · cream paper
   Type: Playfair Display (display) + Poppins (body)
   ============================================================ */

:root {
    --gerua: #E8621A;
    --gerua-deep: #C14E0E;
    --gerua-soft: #FBE7D8;
    --maroon: #7A2E0B;
    --gold: #F0A83C;
    --ink: #2B1D12;
    --muted: #846F58;
    --cream: #FBF3E7;
    --paper: #FFFDF8;
    --line: #EBDCC6;
    --dark: #221407;
    --grad-gerua: linear-gradient(135deg, #F58A3C 0%, #E8621A 55%, #C14E0E 100%);
    --grad-dark: linear-gradient(150deg, #2A1709 0%, #4A2408 60%, #7A2E0B 100%);
    --radius: 20px;
    --sh-sm: 0 6px 18px rgba(122, 62, 18, .08);
    --sh-md: 0 16px 38px rgba(122, 62, 18, .14);
    --sh-lg: 0 26px 60px rgba(78, 38, 10, .20);
}

* { scroll-behavior: smooth; }

body {
    font-family: 'Poppins', system-ui, sans-serif;
    color: var(--ink);
    background: var(--paper);
    overflow-x: hidden;
    line-height: 1.65;
}

h1, h2, h3, h4, h5, h6 { color: var(--ink); font-weight: 700; }
a { text-decoration: none; color: var(--gerua-deep); }
a:hover { color: var(--gerua); }
img { max-width: 100%; }

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

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

/* ---------- type helpers ---------- */
.serif { font-family: 'Playfair Display', Georgia, serif; }

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-brand {
    background: var(--grad-gerua);
    color: #fff !important;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    padding: .72rem 1.9rem;
    box-shadow: 0 10px 24px rgba(232, 98, 26, .38);
    transition: transform .3s, box-shadow .3s;
}
.btn-brand:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(232, 98, 26, .5); color: #fff; }

.btn-outline-brand {
    border: 2px solid var(--gerua);
    color: var(--gerua-deep) !important;
    font-weight: 600;
    border-radius: 50px;
    padding: .68rem 1.8rem;
    background: transparent;
    transition: all .3s;
}
.btn-outline-brand:hover { background: var(--gerua); color: #fff !important; transform: translateY(-3px); }

.btn-blue {
    background: var(--dark);
    color: #fff !important;
    border: none;
    border-radius: 50px;
    padding: .72rem 1.9rem;
    font-weight: 600;
    box-shadow: 0 10px 24px rgba(34, 20, 7, .35);
    transition: transform .3s, box-shadow .3s;
}
.btn-blue:hover { transform: translateY(-3px); box-shadow: 0 16px 32px rgba(34, 20, 7, .45); color: var(--gold); }

.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(232, 98, 26, .5); }
    70%  { box-shadow: 0 0 0 18px rgba(232, 98, 26, 0); }
    100% { box-shadow: 0 0 0 0 rgba(232, 98, 26, 0); }
}

/* arrow text-link */
.t-link {
    display: inline-flex; align-items: center; gap: .5rem;
    font-weight: 700; color: var(--gerua-deep);
    border-bottom: 2px solid var(--gold);
    padding-bottom: 2px;
    transition: gap .3s, color .3s;
}
.t-link:hover { gap: .9rem; color: var(--gerua); }

/* ============================================================
   TOP STRIP
   ============================================================ */
.topbar {
    background: var(--grad-gerua);
    color: rgba(255, 255, 255, .94);
    font-size: .84rem;
    position: relative;
    z-index: 50;
}
.topbar a { color: rgba(255, 255, 255, .94); transition: color .25s; }
.topbar a:hover { color: #FFE9C7; }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .45rem; margin-right: 1.4rem; }
.topbar .tb-item i { color: #FFD9A0; }
.topbar .tb-badge {
    background: rgba(255, 255, 255, .16);
    border: 1px solid rgba(255, 255, 255, .35);
    color: #fff;
    border-radius: 50px;
    padding: .12rem .7rem;
    font-weight: 600;
    font-size: .72rem;
    letter-spacing: .4px;
}
.topbar .tb-social a {
    display: inline-flex; align-items: center; justify-content: center;
    width: 26px; height: 26px; border-radius: 50%;
    background: rgba(255, 255, 255, .16);
    margin-left: .35rem; font-size: .75rem;
}
.topbar .tb-social a:hover { background: #fff; color: var(--gerua); }

/* ============================================================
   NAVBAR — sticky, underline links
   ============================================================ */
.main-navbar {
    background: rgba(255, 253, 248, .94);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--line);
    transition: box-shadow .3s;
    z-index: 1020;
}
.main-navbar.scrolled { box-shadow: 0 10px 34px rgba(122, 62, 18, .12); }

.nav-logo-img {
    width: 54px; height: 54px;
    border-radius: 50%;
    object-fit: contain;
    padding: 4px;
    background: #fff;
    border: 2px solid var(--gerua);
    box-shadow: 0 6px 16px rgba(232, 98, 26, .3);
}
.nav-school-name {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-size: 1.3rem;
    color: var(--ink) !important;
    line-height: 1.05;
    letter-spacing: .3px;
}
.nav-school-name em { font-style: normal; color: var(--gerua); }
.nav-school-tag {
    font-size: .64rem; letter-spacing: 2.2px;
    color: var(--gerua-deep); font-weight: 600; text-transform: uppercase;
}

.am-nav .nav-link {
    position: relative;
    color: var(--ink) !important;
    font-weight: 500;
    font-size: .92rem;
    padding: .6rem .95rem !important;
    transition: color .25s;
}
.am-nav .nav-link::before {
    content: "";
    position: absolute; left: .95rem; right: .95rem; bottom: .25rem;
    height: 2.5px; border-radius: 3px;
    background: var(--gerua);
    transform: scaleX(0); transform-origin: left;
    transition: transform .3s;
}
.am-nav .nav-link:hover { color: var(--gerua) !important; }
.am-nav .nav-link:hover::before,
.am-nav .nav-link.active::before { transform: scaleX(1); }
.am-nav .nav-link.active { color: var(--gerua) !important; font-weight: 600; }

.main-navbar .dropdown-menu {
    border: 1px solid var(--line);
    border-radius: 16px;
    box-shadow: var(--sh-md);
    padding: .6rem;
    border-top: 3px solid var(--gerua);
}
.main-navbar .dropdown-item {
    border-radius: 10px;
    font-size: .9rem;
    font-weight: 500;
    padding: .55rem 1rem;
    transition: all .25s;
}
.main-navbar .dropdown-item:hover { background: var(--gerua-soft); color: var(--gerua-deep); padding-left: 1.25rem; }

.nav-btn {
    border-radius: 50px;
    font-weight: 600;
    font-size: .85rem;
    padding: .5rem 1.3rem !important;
    transition: all .3s;
}
.nav-btn-edit { border: 1.5px solid var(--line); color: var(--muted) !important; background: #fff; }
.nav-btn-edit:hover { border-color: var(--gerua); color: var(--gerua) !important; transform: translateY(-2px); }
.nav-btn-login { background: var(--grad-gerua); color: #fff !important; border: none; box-shadow: 0 8px 18px rgba(232, 98, 26, .38); }
.nav-btn-login:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(232, 98, 26, .5); color: #fff !important; }

.navbar-toggler { border: none; padding: .4rem .6rem; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(232, 98, 26, .25); }
.navbar-toggler-icon { background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='%232B1D12' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e"); }

/* ============================================================
   SECTION BASICS
   ============================================================ */
.section { padding: 76px 0; position: relative; }
.section.tint { background: var(--cream); }
.section.tight { padding: 52px 0; }
.section > .container { position: relative; z-index: 2; }

.eyebrow {
    display: inline-flex; align-items: center; gap: .6rem;
    color: var(--gerua-deep);
    font-weight: 700; font-size: .78rem;
    letter-spacing: 2.6px; text-transform: uppercase;
    margin-bottom: .9rem;
}
.eyebrow::before { content: ""; width: 30px; height: 2.5px; border-radius: 3px; background: var(--gerua); }
.eyebrow.center::after { content: ""; width: 30px; height: 2.5px; border-radius: 3px; background: var(--gerua); }
.eyebrow.on-dark { color: var(--gold); }

.sec-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.8rem, 3.6vw, 2.75rem);
    font-weight: 800;
    line-height: 1.15;
    color: var(--ink);
}
.sec-title .hl { color: var(--gerua); font-style: italic; }
.sec-sub { color: var(--muted); max-width: 620px; }
.mx-auto .sec-sub, .text-center .sec-sub { margin: 0 auto; }

/* legacy aliases used by dynamic pages */
.sec-kicker { display: inline-flex; align-items: center; gap: .55rem; color: var(--gerua-deep); font-weight: 700; font-size: .8rem; letter-spacing: 2.4px; text-transform: uppercase; margin-bottom: .8rem; }
.sec-kicker::before { content: ""; width: 30px; height: 2.5px; border-radius: 3px; background: var(--gerua); }
.sec-kicker.center::after { content: ""; width: 30px; height: 2.5px; border-radius: 3px; background: var(--gerua); }

/* ============================================================
   HERO — editorial collage (no slider)
   ============================================================ */
.h-hero {
    position: relative;
    background:
        radial-gradient(560px 340px at 88% -8%, rgba(232, 98, 26, .12), transparent 70%),
        radial-gradient(420px 300px at -10% 90%, rgba(240, 168, 60, .10), transparent 70%),
        var(--paper);
    padding: 42px 0 64px;
    overflow: hidden;
}
.h-hero::after {
    content: "";
    position: absolute; right: -40px; top: 60px;
    width: 220px; height: 220px; border-radius: 50%;
    border: 40px solid rgba(232, 98, 26, .06);
}
.h-eyebrow {
    display: inline-flex; align-items: center; gap: .55rem;
    background: var(--gerua-soft);
    border: 1px solid rgba(232, 98, 26, .3);
    color: var(--gerua-deep);
    border-radius: 50px;
    padding: .42rem 1.2rem;
    font-size: .78rem; font-weight: 700;
    letter-spacing: 1.6px; text-transform: uppercase;
}
.h-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(2.6rem, 5.6vw, 4.3rem);
    font-weight: 800;
    line-height: 1.06;
    color: var(--ink);
}
.h-title em { font-style: italic; color: var(--gerua); }
.h-sub { font-size: clamp(1rem, 1.6vw, 1.18rem); color: var(--muted); max-width: 560px; font-weight: 300; }
.h-verse {
    border-left: 4px solid var(--gerua);
    padding-left: 1rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-style: italic;
    font-size: 1.08rem;
    color: var(--maroon);
}
.h-stats { border-top: 1px solid var(--line); margin-top: 1.5rem; padding-top: 1.1rem; display: flex; gap: 2.2rem; flex-wrap: wrap; }
.h-stat b { font-family: 'Playfair Display', Georgia, serif; font-size: 1.7rem; font-weight: 800; color: var(--gerua); display: block; line-height: 1; }
.h-stat small { color: var(--muted); font-size: .76rem; letter-spacing: .8px; text-transform: uppercase; font-weight: 600; }

/* collage */
.h-collage { position: relative; padding: 0 0 44px 26px; max-width: 400px; margin-left: auto; }
.h-arch {
    border-radius: 999px 999px 26px 26px;
    overflow: hidden;
    border: 8px solid #fff;
    box-shadow: var(--sh-lg);
    aspect-ratio: 3/3.25;
    position: relative; z-index: 2;
}
.h-arch img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-circle {
    position: absolute; left: 0; bottom: 0; z-index: 3;
    width: 148px; height: 148px; border-radius: 50%;
    overflow: hidden;
    border: 6px solid #fff;
    box-shadow: var(--sh-md);
    animation: cardFloat 6s ease-in-out infinite;
}
.h-circle img { width: 100%; height: 100%; object-fit: cover; display: block; }
.h-ring {
    position: absolute; left: -12px; bottom: 24px; z-index: 1;
    width: 148px; height: 148px; border-radius: 50%;
    border: 3px dashed var(--gerua); opacity: .5;
    animation: slowSpin 26s linear infinite;
}
@keyframes slowSpin { to { transform: rotate(360deg); } }
@keyframes cardFloat { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.h-card {
    position: absolute; right: -6px; top: 18px; z-index: 4;
    background: rgba(255, 253, 248, .9);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: .75rem 1rem;
    box-shadow: var(--sh-md);
    max-width: 200px;
    animation: cardFloat 5s ease-in-out infinite .8s;
}
.h-card i { color: var(--gerua); font-size: 1.1rem; }
.h-card b { display: block; font-size: .86rem; line-height: 1.3; }
.h-card small { color: var(--muted); font-size: .72rem; }

/* ============================================================
   MARQUEE STRIP
   ============================================================ */
.mq {
    background: var(--grad-gerua);
    color: #fff;
    overflow: hidden;
    padding: 1rem 0;
    position: relative;
}
.mq-track { display: flex; width: max-content; white-space: nowrap; animation: mqMove 30s linear infinite; }
.mq:hover .mq-track { animation-play-state: paused; }
.mq-track span {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.15rem; font-weight: 700; font-style: italic;
    display: inline-flex; align-items: center; gap: 2.2rem;
    padding: 0 1.1rem;
}
.mq-track span::after { content: "✦"; font-style: normal; font-size: .85rem; opacity: .85; }
@keyframes mqMove { to { transform: translateX(-50%); } }

/* ============================================================
   ABOUT PREVIEW — editorial split
   ============================================================ */
.ed-frame { position: relative; }
.ed-frame > img.main {
    border-radius: 26px;
    box-shadow: var(--sh-lg);
    position: relative; z-index: 2;
    width: 100%; object-fit: cover;
}
.ed-frame .stamp {
    position: absolute; top: -26px; right: -18px; z-index: 4;
    width: 118px; height: 118px; border-radius: 50%;
    background: var(--grad-gerua); color: #fff;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    text-align: center;
    box-shadow: 0 14px 30px rgba(232, 98, 26, .45);
    border: 5px solid #fff;
}
.ed-frame .stamp b { font-family: 'Playfair Display', Georgia, serif; font-size: 1.55rem; line-height: 1; }
.ed-frame .stamp small { font-size: .58rem; font-weight: 700; letter-spacing: 1.2px; }
.ed-frame::before {
    content: "";
    position: absolute; left: -24px; bottom: -24px; z-index: 1;
    width: 170px; height: 170px;
    border-radius: 24px;
    background: repeating-linear-gradient(45deg, rgba(232,98,26,.16) 0 6px, transparent 6px 14px);
}
.ed-mini {
    position: absolute; left: -34px; top: 34%; z-index: 3;
    width: 148px; height: 148px; border-radius: 50%;
    overflow: hidden; border: 6px solid #fff;
    box-shadow: var(--sh-md);
}
.ed-mini img { width: 100%; height: 100%; object-fit: cover; }

.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; font-size: .95rem; }
.check-list li i {
    color: var(--gerua);
    background: var(--gerua-soft);
    border-radius: 50%;
    width: 24px; height: 24px; flex: 0 0 24px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: .68rem; margin-top: 2px;
}

/* ============================================================
   EDUCATION — editorial acronym rows
   ============================================================ */
.edu-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
    column-gap: 3rem;
    border-top: 1.5px solid var(--line);
}
.edu-row {
    display: grid;
    grid-template-columns: 56px 1fr;
    align-items: start; gap: .8rem;
    padding: .68rem .4rem;
    border-bottom: 1.5px solid var(--line);
    transition: background .3s, padding .3s;
}
.edu-row:hover { background: rgba(232, 98, 26, .06); padding-left: .9rem; }
.edu-letter {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2rem; font-weight: 800; line-height: 1.15;
    color: var(--gerua);
    display: flex; align-items: baseline; gap: .35rem;
}
.edu-letter small { font-family: 'Poppins', sans-serif; font-size: .64rem; font-weight: 600; color: var(--muted); letter-spacing: 1px; }
.edu-word { font-weight: 700; font-size: .95rem; color: var(--ink); padding-top: .15rem; }
.edu-desc { grid-column: 2; color: var(--muted); font-size: .8rem; line-height: 1.4; margin-top: -.5rem; }
@media (max-width: 767px) {
    .edu-list { grid-template-columns: 1fr; }
    .edu-letter { font-size: 1.7rem; }
}

/* ============================================================
   FOUNDER — dark editorial band
   ============================================================ */
.fdr {
    background:
        radial-gradient(640px 320px at 92% -10%, rgba(232, 98, 26, .22), transparent 65%),
        var(--grad-dark);
    color: #fff;
    position: relative;
    overflow: hidden;
}
.fdr::after {
    content: "❝";
    position: absolute; right: 4%; bottom: -60px;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 22rem; line-height: 1;
    color: rgba(240, 168, 60, .08);
    pointer-events: none;
}
.fdr-frame {
    position: relative;
    display: inline-block;
}
.fdr-frame img {
    border-radius: 200px 200px 24px 24px;
    border: 6px solid var(--gold);
    box-shadow: 0 26px 55px rgba(0, 0, 0, .5);
    background: #fff;
    width: 100%; max-width: 275px; display: block;
}
.fdr-years {
    position: absolute; left: -22px; bottom: -16px;
    background: var(--grad-gerua); color: #fff;
    border-radius: 14px;
    font-family: 'Playfair Display', Georgia, serif; font-weight: 800;
    padding: .55rem 1.15rem;
    box-shadow: 0 12px 26px rgba(232, 98, 26, .5);
    font-size: 1.02rem;
}
.fdr-quote {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.25rem, 2.2vw, 1.6rem);
    font-style: italic; font-weight: 600;
    color: #FFE9C7;
    line-height: 1.4;
}
.fdr p { color: rgba(255, 255, 255, .78); font-size: .96rem; }
.fdr h2, .fdr h3 { color: #fff; }
.fdr-chip {
    display: inline-block;
    border: 1px solid rgba(240, 168, 60, .5);
    background: rgba(240, 168, 60, .12);
    color: var(--gold);
    border-radius: 50px; padding: .32rem 1rem;
    font-size: .73rem; font-weight: 700; letter-spacing: 1.2px; text-transform: uppercase;
    margin: .15rem .15rem .15rem 0;
}

/* ============================================================
   APPROACH CARDS — minimal editorial
   ============================================================ */
.ap-card {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.8rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform .35s, box-shadow .35s, border-color .35s;
}
.ap-card::before {
    content: "";
    position: absolute; left: 0; top: 0; bottom: 0;
    width: 5px;
    background: var(--grad-gerua);
    transform: scaleY(0); transform-origin: top;
    transition: transform .45s ease;
}
.ap-card:hover { transform: translateY(-8px); box-shadow: var(--sh-md); border-color: rgba(232, 98, 26, .35); }
.ap-card:hover::before { transform: scaleY(1); }
.ap-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 3rem; font-weight: 800; line-height: 1;
    color: var(--gerua-soft);
    position: absolute; top: 1.1rem; right: 1.4rem;
    transition: color .35s;
}
.ap-card:hover .ap-num { color: rgba(232, 98, 26, .35); }
.ap-ico {
    width: 58px; height: 58px; border-radius: 16px;
    background: var(--gerua-soft); color: var(--gerua-deep);
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.4rem; margin-bottom: 1.1rem;
    transition: all .35s;
}
.ap-card:hover .ap-ico { background: var(--grad-gerua); color: #fff; transform: rotate(-7deg); }
.ap-card h5 { font-weight: 700; font-size: 1.12rem; margin-bottom: .55rem; }
.ap-card p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ============================================================
   STATS ROW — hairline separated
   ============================================================ */
.stat-row { border-top: 1.5px solid var(--line); border-bottom: 1.5px solid var(--line); }
.stat-cell { padding: 2.2rem 1rem; text-align: center; }
.stat-cell + .stat-cell { border-left: 1.5px solid var(--line); }
.stat-num {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.7rem; font-weight: 800; color: var(--gerua); line-height: 1;
}
.stat-num .suffix { color: var(--gold); }
.stat-lbl { font-size: .78rem; color: var(--muted); letter-spacing: 1.2px; text-transform: uppercase; font-weight: 600; margin-top: .45rem; }
@media (max-width: 767px) { .stat-cell + .stat-cell { border-left: none; } .stat-cell { padding: 1.5rem .5rem; } }

/* ============================================================
   CAMPUS MOSAIC
   ============================================================ */
.g-grid { display: grid; grid-template-columns: repeat(12, 1fr); gap: 16px; }
.g-item {
    grid-column: span 4;
    position: relative; border-radius: 20px; overflow: hidden;
    box-shadow: var(--sh-sm); cursor: pointer;
}
.g-item.big { grid-column: span 8; grid-row: span 2; min-height: 430px; }
.g-item.arch-top { border-radius: 160px 160px 20px 20px; }
.g-item img { width: 100%; height: 100%; object-fit: cover; display: block; min-height: 210px; transition: transform .8s ease; }
.g-item::after {
    content: ""; position: absolute; inset: 0;
    background: linear-gradient(to top, rgba(34, 20, 7, .72), transparent 55%);
    opacity: 0; transition: opacity .45s;
}
.g-item:hover::after { opacity: 1; }
.g-item:hover img { transform: scale(1.1); }
.g-cap {
    position: absolute; bottom: 15px; left: 17px; z-index: 2;
    color: #fff; font-weight: 600; font-size: .92rem;
    opacity: 0; transform: translateY(12px); transition: all .45s;
}
.g-cap i { color: var(--gold); margin-right: .4rem; }
.g-item:hover .g-cap { opacity: 1; transform: translateY(0); }
@media (max-width: 991px) {
    .g-item { grid-column: span 6; }
    .g-item.big { grid-column: span 12; min-height: 300px; }
}
@media (max-width: 576px) {
    .g-item { grid-column: span 12; }
}

/* ============================================================
   NOTICE LIST + ADMISSION CARD
   ============================================================ */
.nv-list { border-top: 1.5px solid var(--line); }
.nv-item {
    display: flex; gap: 1.1rem; align-items: center;
    padding: 1.1rem .4rem;
    border-bottom: 1.5px solid var(--line);
    transition: background .3s, padding .3s;
}
.nv-item:hover { background: var(--cream); padding-left: 1rem; }
.nv-date {
    flex: 0 0 60px; text-align: center;
    background: var(--gerua-soft);
    border: 1px solid rgba(232, 98, 26, .3);
    border-radius: 14px; padding: .5rem 0;
}
.nv-date b { display: block; font-family: 'Playfair Display', Georgia, serif; font-size: 1.3rem; line-height: 1; color: var(--gerua-deep); }
.nv-date span { font-size: .6rem; font-weight: 700; letter-spacing: 1.4px; color: var(--muted); text-transform: uppercase; }
.nv-item p { margin: 0; font-size: .93rem; font-weight: 500; color: var(--ink); }

.adm-card {
    background: var(--grad-gerua);
    border-radius: 26px;
    padding: 2.3rem 2rem;
    color: #fff;
    position: sticky; top: 110px;
    overflow: hidden;
    box-shadow: 0 22px 50px rgba(232, 98, 26, .4);
}
.adm-card::before {
    content: ""; position: absolute; top: -70px; right: -70px;
    width: 200px; height: 200px; border-radius: 50%;
    border: 34px solid rgba(255, 255, 255, .14);
}
.adm-card::after {
    content: ""; position: absolute; bottom: -60px; left: -50px;
    width: 170px; height: 170px; border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}
.adm-card h3 { color: #fff; font-family: 'Playfair Display', Georgia, serif; font-weight: 800; font-size: 1.65rem; line-height: 1.2; }
.adm-card p { color: rgba(255, 255, 255, .9); font-size: .93rem; }
.adm-chip {
    display: inline-block;
    background: rgba(255, 255, 255, .18);
    border: 1px solid rgba(255, 255, 255, .4);
    color: #fff;
    border-radius: 50px; padding: .3rem 1rem;
    font-size: .72rem; font-weight: 700; letter-spacing: 1.6px; text-transform: uppercase;
}
.adm-btn {
    display: inline-flex; align-items: center; gap: .55rem;
    background: var(--dark); color: #fff !important;
    border-radius: 50px; padding: .7rem 1.8rem; font-weight: 600; font-size: .92rem;
    transition: transform .3s, box-shadow .3s;
    position: relative; z-index: 2;
}
.adm-btn:hover { transform: translateY(-3px); box-shadow: 0 14px 30px rgba(34, 20, 7, .5); color: var(--gold) !important; }
.adm-phone { color: #fff; font-weight: 600; font-size: .95rem; position: relative; z-index: 2; }
.adm-phone i { color: var(--gold); }
.adm-phone:hover { color: var(--gold); }

/* ============================================================
   CTA — dark wide band
   ============================================================ */
.cta-wide {
    background:
        radial-gradient(520px 280px at 8% -20%, rgba(232, 98, 26, .3), transparent 65%),
        var(--grad-dark);
    color: #fff;
    position: relative; overflow: hidden;
}
.cta-wide .big {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(1.7rem, 3.4vw, 2.6rem);
    font-weight: 800; color: #fff; line-height: 1.2;
}
.cta-wide .big em { color: var(--gold); font-style: italic; }
.cta-wide p { color: rgba(255, 255, 255, .78); }
.cta-mark {
    width: 76px; height: 76px; border-radius: 50%;
    background: #fff; padding: 7px;
    border: 3px solid var(--gold);
    box-shadow: 0 12px 28px rgba(0, 0, 0, .4);
    object-fit: contain;
}

/* ============================================================
   PAGE BANNER (inner pages)
   ============================================================ */
.page-banner {
    background:
        radial-gradient(rgba(232, 98, 26, .12) 1.5px, transparent 1.5px),
        var(--cream);
    background-size: 26px 26px, cover;
    padding: 84px 0 66px;
    position: relative;
    color: var(--ink);
    text-align: center;
}
.page-banner::after {
    content: "";
    position: absolute; left: 0; right: 0; bottom: -1px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gerua) 30%, var(--gold) 50%, var(--gerua) 70%, transparent);
}
.page-banner h1 {
    font-family: 'Playfair Display', Georgia, serif;
    color: var(--ink); font-weight: 800;
    display: inline-block; position: relative;
    font-size: clamp(2rem, 4.4vw, 3.1rem);
    animation: animUp .8s ease both;
}
.page-banner h1::after {
    content: "";
    display: block; margin: .6rem auto 0;
    width: 78px; height: 4px; border-radius: 4px;
    background: var(--grad-gerua);
    box-shadow: 0 4px 14px rgba(232, 98, 26, .45);
}
.page-banner .crumb {
    display: inline-flex; align-items: center;
    margin-top: 1rem;
    background: #fff;
    border: 1px solid var(--line);
    color: var(--muted);
    font-size: .8rem; font-weight: 500;
    padding: .42rem 1.25rem;
    border-radius: 50px;
    box-shadow: var(--sh-sm);
    animation: animUp .8s .15s ease both;
}
.page-banner .crumb a { color: var(--gerua-deep); font-weight: 700; }
.page-banner .crumb a:hover { color: var(--gerua); }
.page-banner .crumb i { color: var(--gold); font-size: .55rem; }

/* ============================================================
   MILESTONES — vertical timeline
   ============================================================ */
.mile { list-style: none; padding: 0; margin: 0; position: relative; }
.mile::before {
    content: ""; position: absolute; left: 26px; top: 10px; bottom: 10px;
    width: 3px; border-radius: 3px;
    background: repeating-linear-gradient(var(--gerua) 0 10px, transparent 10px 18px);
    opacity: .55;
}
.mile li { position: relative; padding: 0 0 2rem 4.6rem; }
.mile li:last-child { padding-bottom: 0; }
.mile li::before {
    content: ""; position: absolute; left: 16px; top: 6px;
    width: 24px; height: 24px; border-radius: 50%;
    background: #fff; border: 6px solid var(--gerua);
    box-shadow: 0 5px 14px rgba(232, 98, 26, .45);
}
.mile-year {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 1.7rem; font-weight: 800; color: var(--gerua); line-height: 1;
}
.mile b { color: var(--ink); display: block; font-size: 1.04rem; margin-top: .2rem; }
.mile p { color: var(--muted); font-size: .9rem; margin: .3rem 0 0; }

/* ============================================================
   VISION / MISSION — two-tone cards
   ============================================================ */
.vm-card {
    position: relative;
    border-radius: 24px;
    padding: 2.5rem 2.2rem;
    height: 100%;
    color: #fff;
    overflow: hidden;
    transition: transform .4s;
}
.vm-card:hover { transform: translateY(-8px); }
.vm-card.dark { background: var(--grad-dark); }
.vm-card.gerua { background: var(--grad-gerua); }
.vm-card .vm-ico {
    width: 64px; height: 64px; border-radius: 50%;
    background: rgba(255, 255, 255, .14);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-bottom: 1.2rem;
    border: 1px solid rgba(255, 255, 255, .3);
}
.vm-card h3 { color: #fff; font-family: 'Playfair Display', Georgia, serif; }
.vm-card p { opacity: .9; font-size: .94rem; }
.vm-card::after {
    content: ""; position: absolute; bottom: -60px; right: -60px;
    width: 180px; height: 180px; border-radius: 50%;
    background: rgba(255, 255, 255, .08);
}
.vm-card::before {
    content: ""; position: absolute; top: -50px; left: -50px;
    width: 150px; height: 150px; border-radius: 50%;
    border: 26px solid rgba(255, 255, 255, .06);
}

/* ============================================================
   FOOTER — warm dark + watermark
   ============================================================ */
.site-footer {
    background: var(--dark);
    color: rgba(255, 255, 255, .72);
    position: relative;
    overflow: hidden;
}
.site-footer::before {
    content: "";
    position: absolute; top: -100px; right: -80px;
    width: 320px; height: 320px; border-radius: 50%;
    background: radial-gradient(circle, rgba(232, 98, 26, .16), transparent 70%);
}
.site-footer h5, .site-footer h6 { color: #fff; }
.ft-logo {
    width: 62px; height: 62px; border-radius: 50%;
    border: 2px solid var(--gold);
    object-fit: contain; padding: 5px; background: #fff;
}
.ft-link { color: rgba(255, 255, 255, .68); display: block; padding: .28rem 0; font-size: .9rem; transition: all .25s; }
.ft-link:hover { color: var(--gold); padding-left: .5rem; }
.ft-link i { color: var(--gerua); font-size: .68rem; margin-right: .5rem; }
.ft-contact { display: flex; gap: .8rem; align-items: flex-start; margin-bottom: .85rem; font-size: .88rem; }
.ft-contact i { color: var(--gold); margin-top: 4px; }
.ft-social a {
    width: 38px; height: 38px; border-radius: 50%;
    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-gerua); transform: translateY(-3px); }
.ft-bottom { border-top: 1px solid rgba(255, 255, 255, .12); position: relative; z-index: 2; }
.ft-bottom .reg-chip {
    background: rgba(240, 168, 60, .13);
    border: 1px solid rgba(240, 168, 60, .45);
    color: var(--gold);
    border-radius: 50px;
    padding: .2rem .8rem;
    font-size: .73rem; font-weight: 600;
}
.ft-mark {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 800;
    font-size: clamp(3rem, 9vw, 7.5rem);
    line-height: 1;
    text-align: center;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(240, 168, 60, .22);
    letter-spacing: .04em;
    user-select: none;
    margin-top: 1.4rem;
}

/* ============================================================
   SCROLL REVEAL + ENTRANCE
   ============================================================ */
.reveal { opacity: 0; transform: translateY(34px); 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; }

.anim-up { opacity: 0; transform: translateY(30px); 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); } }

/* ============================================================
   BACK TO TOP + WHATSAPP
   ============================================================ */
.to-top {
    position: fixed; bottom: 26px; right: 26px; z-index: 1050;
    width: 46px; height: 46px; border-radius: 50%;
    background: var(--dark); color: var(--gold);
    border: 1.5px solid rgba(240, 168, 60, .5); font-size: 1rem;
    box-shadow: 0 10px 24px rgba(34, 20, 7, .4);
    opacity: 0; visibility: hidden; transform: translateY(14px);
    transition: all .35s;
}
.to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.to-top:hover { background: var(--gerua); color: #fff; transform: translateY(-4px); }

.wa-btn {
    position: fixed; bottom: 84px; right: 26px; z-index: 1050;
    width: 52px; height: 52px; border-radius: 50%;
    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: 50%;
    background: #25D366; opacity: .45;
    animation: waPulse 2s ease-out infinite;
    z-index: -1;
}
@keyframes waPulse { to { transform: scale(1.6); opacity: 0; } }

/* ============================================================
   MODALS
   ============================================================ */
.modal-content { border: none; border-radius: 20px; overflow: hidden; }
.login-modal-head { background: var(--grad-dark); }
.login-modal-head .modal-title { color: #fff; font-weight: 700; }
.login-logo {
    width: 104px; height: 104px; border-radius: 50%;
    object-fit: contain; padding: 6px; background: #fff;
    border: 4px solid var(--gold);
    box-shadow: 0 10px 24px rgba(232, 98, 26, .4);
}
.form-control:focus { border-color: var(--gerua); box-shadow: 0 0 0 .2rem rgba(232, 98, 26, .18); }

.font-lobster { font-family: 'Lobster', cursive; }

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

/* ============================================================
   NOTICE BOARD (dynamic/notice.php)
   ============================================================ */
.notice-board {
    background: #fff;
    border-radius: 22px;
    box-shadow: var(--sh-md);
    overflow: hidden;
    border-top: 4px solid var(--gerua);
}
.nb-head {
    background: var(--grad-dark);
    color: #fff;
    padding: 1.1rem 1.6rem;
    display: flex; align-items: center; justify-content: center; gap: .7rem;
    font-weight: 700; font-size: 1.15rem;
    font-family: 'Playfair Display', Georgia, serif;
}
.nb-head i { color: var(--gold); }
.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: ntScroll 30s linear infinite; }
.nt-viewport:hover .nt-track { animation-play-state: paused; }
@keyframes ntScroll { to { transform: translateY(-50%); } }
.nt-item {
    display: flex; gap: .9rem; align-items: flex-start;
    padding: 1rem 1.4rem;
    border-bottom: 1px dashed var(--line);
}
.nt-ico {
    width: 42px; height: 42px; flex: 0 0 42px;
    border-radius: 12px;
    background: var(--gerua-soft);
    border: 1px solid rgba(232, 98, 26, .35);
    color: var(--gerua-deep);
    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-gerua); color: #fff !important;
    font-size: .72rem; font-weight: 700;
    padding: .22rem .8rem; border-radius: 50px;
}
.nt-empty { text-align: center; padding: 3rem 1.5rem; color: var(--muted); }
.nt-empty i { font-size: 2.6rem; color: rgba(232, 98, 26, .3); display: block; margin-bottom: .8rem; }
.nt-center { text-align: center; }
.nt-around { display: flex; justify-content: space-around; flex-wrap: wrap; }

/* ============================================================
   CONTACT (dynamic/contact.php)
   ============================================================ */
.contact-logo {
    width: 86px; height: 86px; border-radius: 50%;
    object-fit: contain; padding: 6px; background: #fff;
    border: 3px solid var(--gerua);
    box-shadow: 0 10px 24px rgba(232, 98, 26, .3);
}
.map-card {
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--sh-md);
    border: 5px 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 var(--line);
    background: var(--cream);
    font-size: .92rem;
}
.contact-form .form-control:focus {
    border-color: var(--gerua);
    background: #fff;
    box-shadow: 0 0 0 .2rem rgba(232, 98, 26, .16);
}
.contact-strip {
    background: var(--grad-dark);
    border-radius: 22px;
    padding: 1.7rem 2rem;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.contact-strip::after {
    content: "";
    position: absolute; top: -60px; right: -60px;
    width: 180px; height: 180px; border-radius: 50%;
    background: rgba(232, 98, 26, .2);
}
.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(240, 168, 60, .14);
    border: 1px solid rgba(240, 168, 60, .5);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
}
.cs-item small { display: block; color: rgba(255, 255, 255, .62); font-size: .66rem; letter-spacing: .6px; text-transform: uppercase; }
.cs-item a { color: #fff; }
.cs-item a:hover { color: var(--gold); }

/* ============================================================
   FACULTY (dynamic/faculty.php)
   ============================================================ */
.fac-photo {
    width: 112px; height: 112px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--gerua), 0 10px 22px rgba(122, 62, 18, .18);
    background: var(--cream);
    margin: 0 auto 1rem;
    display: block;
}
.fac-fallback {
    width: 112px; height: 112px;
    border-radius: 50%;
    margin: 0 auto 1rem;
    background: var(--grad-dark);
    border: 4px solid #fff;
    box-shadow: 0 0 0 3px var(--gerua);
    color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; font-weight: 700;
    font-family: 'Playfair Display', Georgia, serif;
}
.fac-name { color: var(--ink); 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: var(--gerua-soft);
    border: 1px solid rgba(232, 98, 26, .35);
    color: var(--gerua-deep);
    border-radius: 50px;
    padding: .22rem .85rem;
    font-size: .72rem; font-weight: 700;
}
.fac-skel {
    border-radius: var(--radius);
    height: 230px;
    background: linear-gradient(90deg, #F5E9D8 25%, #FBF3E7 50%, #F5E9D8 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(--gerua));
}
.fac-group-line::after { background: linear-gradient(90deg, var(--gerua), transparent); }
.fac-group-line h3 { color: var(--ink); font-weight: 800; margin: 0; white-space: nowrap; font-family: 'Playfair Display', Georgia, serif; }

/* ============================================================
   FX CARD (shared card used by dynamic pages)
   ============================================================ */
.fx-card {
    position: relative;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 2rem 1.7rem;
    height: 100%;
    box-shadow: var(--sh-sm);
    transition: transform .35s, box-shadow .35s, border-color .35s;
}
.fx-card:hover { transform: translateY(-7px); box-shadow: var(--sh-md); border-color: rgba(232, 98, 26, .4); }
.fx-icon {
    width: 62px; height: 62px;
    border-radius: 17px;
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1.1rem;
    color: #fff;
    background: var(--grad-dark);
    box-shadow: 0 10px 22px rgba(78, 38, 10, .28);
    transition: transform .4s, background .4s;
}
.fx-card:hover .fx-icon { background: var(--grad-gerua); 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; }
.feature-num {
    position: absolute; top: 1rem; right: 1.3rem;
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.5rem; font-weight: 800;
    color: var(--gerua-soft);
    line-height: 1;
}

/* ============================================================
   TOPPERS + ACHIEVEMENTS (content pages)
   ============================================================ */
.topper-card {
    position: relative;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: var(--radius);
    padding: 2.3rem 1.5rem 1.6rem;
    height: 100%;
    box-shadow: var(--sh-sm);
    border-top: 4px solid var(--gerua);
    text-align: center;
    transition: transform .4s, box-shadow .4s;
}
.topper-card:hover { transform: translateY(-7px); box-shadow: var(--sh-md); }
.topper-rank {
    position: absolute; top: -14px; left: 50%; transform: translateX(-50%);
    background: var(--grad-gerua); color: #fff;
    font-weight: 800; font-size: .75rem;
    padding: .28rem 1rem; border-radius: 50px;
    box-shadow: 0 6px 16px rgba(232, 98, 26, .45);
    white-space: nowrap;
}
.topper-avatar,
.topper-photo {
    width: 74px; height: 74px; border-radius: 50%;
    background: var(--grad-dark); color: var(--gold);
    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(122, 62, 18, .22);
}
.topper-marks { font-size: 1.45rem; font-weight: 800; color: var(--gerua); line-height: 1.1; }
.topper-class-chip {
    display: inline-block;
    background: var(--cream);
    color: var(--gerua-deep);
    font-size: .7rem; font-weight: 700;
    padding: .2rem .7rem; border-radius: 50px;
    border: 1px solid var(--line);
}
.card-link { display: block; height: 100%; color: inherit; text-decoration: none; }
.ach-photo {
    display: block;
    width: calc(100% + 3.6rem);
    margin: -2rem -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: 50%; position: relative; }
.ach-badge {
    position: absolute; top: 1.1rem; right: 1.2rem; z-index: 3;
    background: rgba(255, 253, 248, .94);
    border: 1px solid var(--line);
    color: var(--gerua-deep);
    font-size: .7rem; font-weight: 700;
    padding: .18rem .7rem; border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .15);
}
.ach-icon-trophy { background: var(--grad-gerua) !important; box-shadow: 0 10px 22px rgba(232, 98, 26, .35) !important; }
.ach-row { padding: 0 !important; overflow: hidden; }
.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-gerua); color: #fff;
    font-weight: 700; font-size: .72rem;
    padding: .22rem .8rem; border-radius: 50px;
    box-shadow: 0 4px 12px rgba(232, 98, 26, .4);
}
.ach-cat {
    display: inline-block;
    background: var(--cream); color: var(--gerua-deep);
    font-size: .7rem; font-weight: 600;
    padding: .2rem .7rem; border-radius: 50px;
    border: 1px solid var(--line);
}
.ach-students { font-size: .8rem; color: var(--muted); }
.ach-students i { color: var(--gerua); margin-right: .35rem; }
.group-title {
    color: var(--ink); font-weight: 800;
    display: inline-flex; align-items: center; gap: .7rem;
    margin-bottom: 0;
    font-family: 'Playfair Display', Georgia, serif;
}
.group-title::before { content: ""; width: 9px; height: 30px; border-radius: 5px; background: var(--grad-gerua); }

/* ============================================================
   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(--sh-sm);
    background: var(--cream);
}
.gal-img:hover { transform: scale(1.05); box-shadow: var(--sh-md); }
.gal-skel {
    aspect-ratio: 1;
    border-radius: var(--radius);
    background: linear-gradient(90deg, #F5E9D8 25%, #FBF3E7 50%, #F5E9D8 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(--gerua); }
.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: 50%;
    padding: .2rem .75rem; margin: 0 10px;
    transition: background .3s;
}
.gal-nav-arrow:hover { background: var(--gerua); }
.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: 50%;
    padding: 2px 11px; line-height: 1.3;
}
.gal-close:hover { background: var(--gerua); }

/* ============================================================
   ABOUT PREVIEW helpers kept for other content rows
   ============================================================ */
.about-img-wrap { position: relative; }
.about-img-main { border-radius: var(--radius); box-shadow: var(--sh-lg); position: relative; z-index: 2; }
.about-img-sub {
    position: absolute; bottom: -30px; right: -16px;
    width: 55%;
    border-radius: var(--radius);
    border: 6px solid #fff;
    box-shadow: var(--sh-md);
    z-index: 3;
}
.about-exp-badge {
    position: absolute; top: -22px; left: -22px; z-index: 4;
    background: var(--grad-gerua);
    color: #fff;
    border-radius: 16px;
    padding: .8rem 1.25rem;
    text-align: center;
    box-shadow: 0 12px 28px rgba(232, 98, 26, .4);
}
.about-exp-badge b { font-size: 1.6rem; display: block; line-height: 1; font-family: 'Playfair Display', Georgia, serif; }
.about-exp-badge span { font-size: .68rem; font-weight: 600; letter-spacing: .6px; }
@media (max-width: 576px) { .about-img-sub { position: static; width: 70%; margin-top: 1rem; } }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 991px) {
    .section { padding: 66px 0; }
    .h-hero { padding: 56px 0 72px; }
    .h-collage { margin-top: 2.6rem; padding-left: 0; max-width: 420px; }
    .h-card { right: 0; }
    .adm-card { position: static; }
}
@media (max-width: 576px) {
    .topbar .tb-hide-sm { display: none; }
    .h-circle { width: 130px; height: 130px; }
    .h-ring { display: none; }
    .h-stats { gap: 1.4rem; }
    .stat-num { font-size: 2.1rem; }
    .edu-letter { font-size: 2.3rem; }
}

/* ============================================================
   FACILITIES — feature grid + driving bus deco
   ============================================================ */
.ft-item {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 18px;
    padding: 1.5rem 1.35rem;
    height: 100%;
    position: relative;
    overflow: hidden;
    transition: transform .35s, box-shadow .35s, border-color .35s;
}
.ft-item::after {
    content: "";
    position: absolute; right: -34px; top: -34px;
    width: 96px; height: 96px; border-radius: 50%;
    background: var(--gerua-soft);
    transition: transform .45s;
}
.ft-item:hover { transform: translateY(-7px); box-shadow: var(--sh-md); border-color: rgba(232, 98, 26, .4); }
.ft-item:hover::after { transform: scale(1.4); }
.ft-ico {
    width: 52px; height: 52px; border-radius: 50%;
    background: var(--grad-gerua); color: #fff;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.2rem; margin-bottom: .85rem;
    box-shadow: 0 8px 18px rgba(232, 98, 26, .35);
    position: relative; z-index: 1;
    transition: transform .4s;
}
.ft-item:hover .ft-ico { transform: scale(1.1) rotate(-6deg); }
.ft-item b { display: block; font-size: .96rem; position: relative; z-index: 1; }
.ft-item small { color: var(--muted); font-size: .79rem; position: relative; z-index: 1; }

/* school bus driving along a dashed road */
.road {
    position: relative; height: 38px; margin-top: 1.6rem;
    border-bottom: 3px dashed var(--line);
}
.road i {
    position: absolute; bottom: -2px; left: 0;
    font-size: 1.55rem; color: var(--gerua);
    animation: driveBus 11s ease-in-out infinite;
}
@keyframes driveBus {
    0%   { left: 0; transform: scaleX(1); }
    47%  { left: calc(100% - 34px); transform: scaleX(1); }
    50%  { left: calc(100% - 34px); transform: scaleX(-1); }
    97%  { left: 0; transform: scaleX(-1); }
    100% { left: 0; transform: scaleX(1); }
}

/* ============================================================
   SECTION MOVEMENT DECOR — school-flavoured animations
   ============================================================ */

/* floating school icons */
.deco {
    position: absolute; z-index: 1;
    color: var(--gerua); opacity: .15;
    font-size: 2.1rem; pointer-events: none;
    animation: floaty 6s ease-in-out infinite;
}
.deco.d2 { animation-delay: 1.4s; font-size: 1.55rem; }
.deco.d3 { animation-delay: 2.6s; font-size: 1.8rem; }
@keyframes floaty {
    0%, 100% { transform: translateY(0) rotate(-7deg); }
    50%      { transform: translateY(-16px) rotate(7deg); }
}

/* pen-stroke underline drawing under highlighted words */
.sec-title .hl { position: relative; display: inline-block; }
.sec-title .hl::after {
    content: "";
    position: absolute; left: 2%; right: 2%; bottom: .04em;
    height: .16em; border-radius: 6px;
    background: rgba(232, 98, 26, .3);
    transform: scaleX(0); transform-origin: left;
    transition: transform .9s .35s cubic-bezier(.6, 0, .2, 1);
}
.reveal.in .sec-title .hl::after,
.anim-up .hl::after { transform: scaleX(1); }

/* flipping book (page turning) */
.book-flip { position: relative; width: 88px; height: 60px; perspective: 460px; flex: 0 0 auto; }
.book-flip .cover {
    position: absolute; inset: 0;
    background: var(--grad-gerua);
    border-radius: 7px;
    box-shadow: var(--sh-sm);
}
.book-flip .cover::after {
    content: ""; position: absolute; left: 50%; top: 4%; bottom: 4%;
    width: 2.5px; background: rgba(255, 255, 255, .55); border-radius: 2px;
}
.book-flip .pg {
    position: absolute; left: 50%; top: 8%;
    width: 44%; height: 84%;
    background: #fff;
    border: 1px solid var(--line); border-left: none;
    border-radius: 0 6px 6px 0;
    transform-origin: left center;
    backface-visibility: hidden;
}
.book-flip .pg::before {
    content: ""; position: absolute; inset: 18% 14%;
    background: repeating-linear-gradient(var(--line) 0 2.5px, transparent 2.5px 8px);
    border-radius: 2px;
}
.book-flip .pg.a { animation: pageFlip 3.6s ease-in-out infinite; }
.book-flip .pg.b { animation: pageFlip 3.6s ease-in-out infinite .55s; }
@keyframes pageFlip {
    0%       { transform: rotateY(0deg); }
    55%, 100% { transform: rotateY(-178deg); }
}

/* pencil writing a line */
.scrib { position: relative; display: inline-block; width: 68px; height: 42px; vertical-align: middle; }
.scrib::after {
    content: ""; position: absolute; left: 5px; bottom: 7px;
    height: 3px; width: 46px; border-radius: 3px;
    background: var(--gerua); opacity: .4;
    transform: scaleX(0); transform-origin: left;
    animation: drawLine 2.8s ease-in-out infinite;
}
.scrib i {
    position: absolute; left: 0; top: 2px;
    font-size: 1.45rem; color: var(--gerua-deep);
    animation: penMove 2.8s ease-in-out infinite;
}
@keyframes penMove {
    0%, 100% { transform: translate(0, 0) rotate(-10deg); }
    50%      { transform: translate(38px, 9px) rotate(5deg); }
}
@keyframes drawLine {
    0%   { transform: scaleX(0); }
    50%, 100% { transform: scaleX(1); }
}

/* swinging bell */
.swing { display: inline-block; animation: bellSwing 3s ease-in-out infinite; transform-origin: top center; }
@keyframes bellSwing {
    0%, 100% { transform: rotate(0); }
    12% { transform: rotate(15deg); } 24% { transform: rotate(-12deg); }
    36% { transform: rotate(8deg); }  48% { transform: rotate(-5deg); }
    60% { transform: rotate(0); }
}

/* gentle bob for founder portrait frame */
.fdr-frame { animation: cardFloat 7s ease-in-out infinite; }

/* respect reduced-motion */
@media (prefers-reduced-motion: reduce) {
    .deco, .h-card, .h-circle, .h-ring, .book-flip .pg, .scrib i, .scrib::after,
    .swing, .road i, .fdr-frame, .mq-track { animation: none !important; }
}

/* ============================================================
   TESTIMONIALS — parent voices slider
   ============================================================ */
.testi-wrap { overflow: hidden; margin: 0 -.4rem; }
.testi-track { display: flex; transition: transform .65s ease; }
.testi-slide { flex: 0 0 100%; padding: 1.4rem .4rem .4rem; }
@media (min-width: 576px) { .testi-slide { flex-basis: 50%; } }
.testi-card {
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 20px;
    padding: 1.9rem 1.6rem 1.4rem;
    height: 100%;
    position: relative;
    box-shadow: var(--sh-sm);
}
.testi-card::before {
    content: "\f10d";
    font-family: "Font Awesome 6 Free"; font-weight: 900;
    position: absolute; top: -19px; left: 24px;
    width: 42px; height: 42px;
    background: var(--grad-gerua);
    color: #fff;
    border-radius: 12px;
    display: flex; align-items: center; justify-content: center;
    font-size: .95rem;
    box-shadow: 0 8px 18px rgba(232, 98, 26, .4);
}
.testi-text { font-size: .92rem; color: var(--muted); font-style: italic; line-height: 1.7; }
.testi-stars { color: var(--gold); font-size: .78rem; letter-spacing: 2px; }
.testi-face {
    width: 50px; height: 50px; border-radius: 50%;
    background: var(--grad-dark); color: var(--gold);
    display: flex; align-items: center; justify-content: center;
    font-weight: 700; font-size: 1rem;
    font-family: 'Playfair Display', Georgia, serif;
    border: 3px solid var(--gold);
    flex: 0 0 50px;
}
.testi-nav { display: flex; gap: .55rem; justify-content: center; margin-top: 1rem; }
.testi-dot {
    width: 9px; height: 9px; border-radius: 50px; border: none;
    background: rgba(232, 98, 26, .25); padding: 0; transition: all .35s;
}
.testi-dot.active { width: 28px; background: var(--gerua); }

/* ============================================================
   ACHIEVEMENTS — preview cards (home) + detail rows (page)
   ============================================================ */
.achv-card {
    display: block; height: 100%;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--sh-sm);
    transition: transform .35s, box-shadow .35s, border-color .35s;
}
.achv-card:hover { transform: translateY(-7px); box-shadow: var(--sh-md); border-color: rgba(232, 98, 26, .4); }
.achv-img { position: relative; overflow: hidden; }
.achv-img img { width: 100%; height: 180px; object-fit: cover; display: block; transition: transform .7s; }
.achv-card:hover .achv-img img { transform: scale(1.08); }
.achv-year {
    position: absolute; top: 12px; left: 12px;
    background: rgba(255, 253, 248, .94);
    border: 1px solid var(--line);
    color: var(--gerua-deep);
    font-weight: 800; font-size: .72rem;
    padding: .22rem .8rem; border-radius: 50px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, .18);
}
.achv-body { padding: 1rem 1.2rem 1.15rem; }
.achv-body b { display: block; font-size: .95rem; color: var(--ink); }
.achv-body small { color: var(--muted); font-size: .8rem; }
.achv-body .ach-cat { margin-bottom: .4rem; }
