/* ==========================================================================
   Public School Website — Modern Stylesheet
   ========================================================================== */

/* ---------- Design tokens ---------- */
:root {
    --white: #ffffff;
    --ink-900: #0f172a;
    --ink-800: #1e293b;
    --ink-700: #334155;
    --ink-600: #475569;
    --ink-500: #64748b;
    --ink-400: #94a3b8;
    --ink-300: #cbd5e1;
    --ink-200: #e2e8f0;
    --ink-100: #f1f5f9;

    --brand-700: #1e3a8a;
    --brand-600: #1d4ed8;
    --brand-500: #2563eb;
    --brand-100: #dbeafe;
    --brand-50: #eff6ff;

    --gold-600: #d97706;
    --gold-500: #f59e0b;
    --gold-400: #fbbf24;
    --gold-100: #fef3c7;
    --gold-50: #fffbeb;

    --green-500: #10b981;
    --green-100: #d1fae5;
    --red-500: #ef4444;
    --red-100: #fee2e2;

    --bg-soft: #f6f8fc;
    --line: #e8ecf4;

    --radius: 18px;
    --radius-sm: 12px;
    --radius-lg: 26px;

    --shadow-sm: 0 2px 8px rgba(15, 23, 42, 0.06);
    --shadow-md: 0 10px 30px rgba(15, 23, 42, 0.09);
    --shadow-lg: 0 24px 60px rgba(15, 23, 42, 0.16);

    --font-head: 'Plus Jakarta Sans', ui-sans-serif, system-ui, sans-serif;
    --font-body: 'Inter', ui-sans-serif, system-ui, sans-serif;
}

/* ---------- Reset / base ---------- */
*, *::before, *::after { box-sizing: border-box; }

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }

body {
    margin: 0;
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.7;
    color: var(--ink-700);
    background: var(--white);
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--brand-600); text-decoration: none; transition: color .2s ease; }
a:hover { color: var(--brand-700); }
ul, ol { margin: 0; padding: 0; list-style: none; }
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-head);
    color: var(--ink-900);
    line-height: 1.25;
    margin: 0 0 .5em;
    font-weight: 800;
}
p { margin: 0 0 1rem; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea { font-family: inherit; }

.skip-link {
    position: absolute;
    left: -9999px;
    top: 0;
    z-index: 2000;
    background: var(--ink-900);
    color: #fff;
    padding: 12px 18px;
    border-radius: 0 0 10px 0;
}
.skip-link:focus { left: 0; }

.container {
    width: 100%;
    max-width: 1260px;
    margin-inline: auto;
    padding-inline: 20px;
}

.site-wrapper { min-height: 100vh; display: flex; flex-direction: column; }
.site-wrapper > main { flex: 1 1 auto; }

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

/* Scrollbar */
::-webkit-scrollbar { width: 10px; height: 10px; }
::-webkit-scrollbar-track { background: var(--ink-100); }
::-webkit-scrollbar-thumb { background: var(--ink-300); border-radius: 99px; }
::-webkit-scrollbar-thumb:hover { background: var(--ink-500); }

/* ---------- Buttons ---------- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 15px;
    line-height: 1;
    padding: 15px 28px;
    border-radius: 999px;
    border: 2px solid transparent;
    transition: transform .22s ease, box-shadow .22s ease, background-color .22s ease, color .22s ease, border-color .22s ease;
    white-space: nowrap;
}
.btn i { font-size: 14px; }
.btn:hover { transform: translateY(-3px); }

.btn-primary {
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    color: #fff;
    box-shadow: 0 10px 24px rgba(29, 78, 216, 0.32);
}
.btn-primary:hover { color: #fff; box-shadow: 0 16px 34px rgba(29, 78, 216, 0.42); }

.btn-gold {
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--ink-900);
    box-shadow: 0 10px 24px rgba(245, 158, 11, 0.35);
}
.btn-gold:hover { color: var(--ink-900); box-shadow: 0 16px 34px rgba(245, 158, 11, 0.45); }

.btn-outline {
    border-color: var(--ink-300);
    color: var(--ink-700);
    background: #fff;
}
.btn-outline:hover { border-color: var(--brand-600); color: var(--brand-600); box-shadow: var(--shadow-md); }

.btn-light {
    background: #fff;
    color: var(--brand-700);
}
.btn-light:hover { color: var(--brand-700); box-shadow: var(--shadow-lg); }

.btn-white-outline {
    border-color: rgba(255,255,255,.6);
    color: #fff;
    background: transparent;
}
.btn-white-outline:hover { background: #fff; color: var(--brand-700); border-color: #fff; }

.btn-sm { padding: 10px 18px; font-size: 13.5px; }
.btn-lg { padding: 18px 36px; font-size: 16px; }
.btn-block { width: 100%; }

/* ---------- Section scaffolding ---------- */
.section { padding: 96px 0; position: relative; }
.section-soft { background: var(--bg-soft); }
.section-tight { padding: 64px 0; }

.section-head {
    max-width: 720px;
    margin: 0 auto 56px;
    text-align: center;
}
.section-head.left { margin-inline: 0; text-align: left; }

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 13px;
    letter-spacing: .14em;
    text-transform: uppercase;
    color: var(--brand-600);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    padding: 8px 16px;
    border-radius: 999px;
    margin-bottom: 18px;
}
.eyebrow::before { content: ""; width: 8px; height: 8px; border-radius: 50%; background: var(--gold-500); }
.eyebrow.gold { color: var(--gold-600); background: var(--gold-50); border-color: var(--gold-100); }
.eyebrow.gold::before { background: var(--brand-600); }

.section-title { font-size: clamp(30px, 4vw, 44px); letter-spacing: -.02em; margin-bottom: 16px; }
.section-title span { color: var(--brand-600); position: relative; }
.section-title .underline::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 2px;
    height: 10px;
    background: var(--gold-400);
    opacity: .35;
    border-radius: 4px;
    z-index: -1;
}
.section-lead { color: var(--ink-500); font-size: 17px; }

/* ---------- Topbar ---------- */
.site-topbar {
    background: var(--ink-900);
    color: var(--ink-300);
    font-size: 13.5px;
    position: relative;
    z-index: 60;
}
.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
    flex-wrap: wrap;
    padding-block: 6px;
}
.topbar-left, .topbar-right { display: flex; align-items: center; gap: 20px; }
.topbar-left a, .topbar-left span { display: inline-flex; align-items: center; gap: 8px; color: var(--ink-300); }
.topbar-left a:hover { color: var(--gold-400); }
.topbar-left i { color: var(--gold-500); }
.topbar-social { display: flex; align-items: center; gap: 4px; }
.topbar-social a {
    width: 30px;
    height: 30px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--ink-300);
    font-size: 13px;
    transition: all .2s ease;
}
.topbar-social a:hover { background: var(--gold-500); color: var(--ink-900); }
.topbar-divider { width: 1px; height: 18px; background: rgba(255,255,255,.18); }
.topbar-login {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 600;
    background: var(--brand-600);
    padding: 6px 16px;
    border-radius: 999px;
    transition: background .2s ease, transform .2s ease;
}
.topbar-login:hover { background: var(--gold-500); color: var(--ink-900); }

/* ---------- Header / nav ---------- */
.site-header {
    background: #fff;
    position: sticky;
    top: 0;
    z-index: 50;
    box-shadow: var(--shadow-sm);
    transition: box-shadow .25s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding-block: 14px;
}

.site-brand { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.brand-mark {
    width: 52px;
    height: 52px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 22px;
    box-shadow: 0 8px 20px rgba(29, 78, 216, 0.35);
    overflow: hidden;
}
.brand-mark img { width: 100%; height: 100%; object-fit: cover; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong {
    font-family: var(--font-head);
    font-size: 19px;
    font-weight: 800;
    color: var(--ink-900);
    letter-spacing: -.01em;
}
.brand-text small { font-size: 12px; color: var(--ink-500); font-weight: 500; }

.site-nav { flex: 1 1 auto; display: flex; justify-content: flex-end; }
.nav-list {
    display: flex;
    align-items: center;
    gap: 2px;
    max-width: 100%;
    overflow-x: auto;
    scrollbar-width: none;
}
.nav-list::-webkit-scrollbar { display: none; }
.nav-link {
    display: block;
    padding: 10px 12px;
    font-family: var(--font-head);
    font-weight: 600;
    font-size: 14.5px;
    color: var(--ink-700);
    border-radius: 10px;
    white-space: nowrap;
    position: relative;
}
.nav-link::after {
    content: "";
    position: absolute;
    left: 12px;
    right: 12px;
    bottom: 5px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--gold-400), var(--gold-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .25s ease;
}
.nav-link:hover { color: var(--brand-600); }
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }
.nav-link.active { color: var(--brand-600); }

.header-actions { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.header-login-btn { padding: 11px 22px; font-size: 14px; }

/* Hamburger */
.nav-toggle {
    display: none;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 46px;
    height: 46px;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: var(--white);
    padding: 0 11px;
}
.nav-toggle span {
    display: block;
    height: 2.5px;
    border-radius: 3px;
    background: var(--ink-900);
    transition: all .25s ease;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- Mobile nav ---------- */
.mobile-nav {
    position: fixed;
    top: 0;
    right: -340px;
    width: 320px;
    max-width: 88vw;
    height: 100vh;
    background: #fff;
    z-index: 120;
    padding: 24px;
    overflow-y: auto;
    box-shadow: -20px 0 60px rgba(15, 23, 42, 0.18);
    transition: right .35s cubic-bezier(.22,.61,.36,1);
}
.mobile-nav.open { right: 0; }
.mobile-nav-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 22px; padding-bottom: 16px; border-bottom: 1px solid var(--line); }
.mobile-nav-head .brand-text strong { font-size: 17px; }
.mobile-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: var(--bg-soft);
    color: var(--ink-700);
    font-size: 16px;
}
.mobile-nav nav ul li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 13px 8px;
    font-weight: 600;
    color: var(--ink-800);
    border-bottom: 1px solid var(--ink-100);
}
.mobile-nav nav ul li a::after { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; color: var(--ink-300); }
.mobile-nav nav ul li a:hover, .mobile-nav nav ul li a.active { color: var(--brand-600); }
.mobile-nav-cta { margin-top: 26px; }
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 23, 42, 0.55);
    z-index: 110;
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease;
    backdrop-filter: blur(2px);
}
.nav-overlay.open { opacity: 1; visibility: visible; }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    color: #fff;
    overflow: hidden;
    background: var(--ink-900);
}
.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease;
    background-size: cover;
    background-position: center;
}
.hero-slide.active { opacity: 1; }
.hero-slide::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(100deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.72) 45%, rgba(15, 23, 42, 0.25) 100%);
}
.hero-inner {
    position: relative;
    z-index: 2;
    padding: 120px 20px 150px;
    max-width: 1260px;
    margin-inline: auto;
}
.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    backdrop-filter: blur(6px);
    padding: 9px 18px;
    border-radius: 999px;
    font-size: 13.5px;
    font-weight: 600;
    letter-spacing: .02em;
    margin-bottom: 26px;
    animation: fadeUp .8s ease both;
}
.hero-badge i { color: var(--gold-400); }
.hero-title {
    font-size: clamp(34px, 6vw, 62px);
    font-weight: 800;
    letter-spacing: -.025em;
    color: #fff;
    max-width: 760px;
    margin-bottom: 22px;
    animation: fadeUp .9s ease .1s both;
}
.hero-title .hl { position: relative; color: var(--gold-400); }
.hero-subtitle {
    font-size: clamp(16px, 1.6vw, 19px);
    color: rgba(255,255,255,.85);
    max-width: 620px;
    margin-bottom: 36px;
    animation: fadeUp .9s ease .2s both;
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 14px; animation: fadeUp .9s ease .3s both; }

.hero-slider-dots {
    position: absolute;
    bottom: 26px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    gap: 8px;
}
.hero-dot {
    width: 10px;
    height: 10px;
    border-radius: 99px;
    border: 0;
    background: rgba(255,255,255,.4);
    transition: all .3s ease;
    padding: 0;
}
.hero-dot.active { width: 34px; background: var(--gold-500); }

/* Floating stat cards inside hero */
.hero-stats {
    position: relative;
    z-index: 3;
    margin-top: -84px;
    padding-bottom: 56px;
}
.stats-strip {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    background: #fff;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 28px 20px;
}
.stat-item { text-align: center; padding: 10px 8px; }
.stat-num {
    font-family: var(--font-head);
    font-size: clamp(30px, 4vw, 44px);
    font-weight: 800;
    color: var(--ink-900);
    line-height: 1;
    letter-spacing: -.02em;
}
.stat-num .suffix { color: var(--gold-500); }
.stat-label { margin-top: 8px; font-size: 14px; font-weight: 600; color: var(--ink-500); }

/* ---------- Ticker ---------- */
.ticker {
    background: linear-gradient(90deg, var(--brand-700), var(--brand-600));
    color: #fff;
    overflow: hidden;
    position: relative;
}
.ticker-inner { display: flex; align-items: center; }
.ticker-label {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: var(--gold-500);
    color: var(--ink-900);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 13px 22px;
}
.ticker-track {
    display: flex;
    white-space: nowrap;
    animation: ticker 38s linear infinite;
}
.ticker-track span {
    padding: 0 36px;
    font-size: 14.5px;
    font-weight: 500;
}
.ticker-track span i { color: var(--gold-400); margin-right: 10px; }
@keyframes ticker { from { transform: translateX(0); } to { transform: translateX(-50%); } }

/* ---------- About preview ---------- */
.about-preview {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-media { position: relative; }
.about-media .img-main {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    object-fit: cover;
    width: 100%;
    height: 460px;
}
.about-media .img-float {
    position: absolute;
    right: -18px;
    bottom: -24px;
    width: 210px;
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    border: 6px solid #fff;
    height: 150px;
    object-fit: cover;
}
.about-exp-badge {
    position: absolute;
    top: -22px;
    left: -16px;
    background: linear-gradient(135deg, var(--gold-400), var(--gold-500));
    color: var(--ink-900);
    border-radius: var(--radius);
    padding: 16px 22px;
    box-shadow: var(--shadow-lg);
    text-align: center;
    line-height: 1.2;
}
.about-exp-badge strong { font-family: var(--font-head); font-size: 30px; font-weight: 800; display: block; }
.about-exp-badge small { font-weight: 700; font-size: 12px; letter-spacing: .04em; }

.about-points { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 24px; margin: 26px 0 30px; }
.about-points li { display: flex; align-items: center; gap: 10px; font-weight: 600; color: var(--ink-800); }
.about-points li i { color: var(--green-500); font-size: 15px; }

/* ---------- Feature cards ---------- */
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.feature-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 34px 30px;
    transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
    position: relative;
    overflow: hidden;
}
.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--brand-500), var(--gold-500));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .3s ease;
}
.feature-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); border-color: transparent; }
.feature-card:hover::before { transform: scaleX(1); }
.feature-icon {
    width: 64px;
    height: 64px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    margin-bottom: 22px;
    color: var(--brand-600);
    background: var(--brand-50);
}
.feature-card h3 { font-size: 20px; margin-bottom: 10px; }
.feature-card p { color: var(--ink-500); font-size: 15px; margin-bottom: 0; }
.feature-card .card-link {
    margin-top: 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
    font-size: 14px;
    color: var(--brand-600);
}
.feature-card .card-link i { transition: transform .2s ease; }
.feature-card:hover .card-link i { transform: translateX(5px); }
.feature-card .fa-graduation-cap { color: var(--green-500); background: var(--green-100); }
.feature-card .fa-book-open { color: var(--gold-600); background: var(--gold-100); }
.feature-card .fa-chalkboard-user { color: #7c3aed; background: #ede9fe; }
.feature-card .fa-trophy { color: #ea580c; background: #ffedd5; }
.feature-card .fa-bus { color: #0284c7; background: #e0f2fe; }
.feature-card .fa-screwdriver-wrench { color: #db2777; background: #fce7f3; }

/* ---------- Teachers ---------- */
.teacher-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 26px; }
.teacher-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: transform .28s ease, box-shadow .28s ease;
    text-align: center;
}
.teacher-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.teacher-photo {
    position: relative;
    height: 250px;
    background: linear-gradient(135deg, var(--brand-100), var(--bg-soft));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}
.teacher-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.teacher-photo .no-photo {
    font-family: var(--font-head);
    font-size: 64px;
    font-weight: 800;
    color: var(--brand-600);
    opacity: .55;
}
.teacher-body { padding: 22px 18px 26px; }
.teacher-body h3 { font-size: 19px; margin-bottom: 4px; }
.teacher-role { color: var(--gold-600); font-weight: 700; font-size: 13.5px; text-transform: uppercase; letter-spacing: .05em; }
.teacher-sub { color: var(--ink-500); font-size: 14px; margin-top: 8px; }

/* ---------- Gallery ---------- */
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; }
.gallery-item {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 4 / 3;
    background: var(--ink-100);
}
.gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item .gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(15,23,42,.85), rgba(15,23,42,0) 60%);
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 10px;
    padding: 18px;
    opacity: 0;
    transition: opacity .3s ease;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-overlay span { color: #fff; font-weight: 600; font-size: 14.5px; }
.gallery-overlay .zoom { color: var(--gold-400); font-size: 20px; }
.gallery-tall { grid-row: span 2; aspect-ratio: auto; }

/* ---------- Video cards ---------- */
.video-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.video-card {
    background: #fff;
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--line);
    transition: transform .28s ease, box-shadow .28s ease;
}
.video-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-lg); }
.video-thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; background: var(--ink-900); }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; opacity: .85; transition: transform .5s ease; }
.video-card:hover .video-thumb img { transform: scale(1.06); }
.video-play {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(15,23,42,.25);
    transition: background .3s ease;
}
.video-play i {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.95);
    color: var(--brand-600);
    font-size: 24px;
    padding-left: 4px;
    box-shadow: 0 10px 30px rgba(0,0,0,.35);
    transition: transform .3s ease, background .3s ease, color .3s ease;
}
.video-card:hover .video-play i { transform: scale(1.12); background: var(--gold-500); color: var(--ink-900); }
.video-body { padding: 20px 22px; }
.video-body h3 { font-size: 17px; margin-bottom: 4px; }
.video-body span { font-size: 13px; color: var(--ink-400); }

/* ---------- Notices ---------- */
.notice-list { display: flex; flex-direction: column; gap: 18px; }
.notice-card {
    display: flex;
    align-items: center;
    gap: 22px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 26px;
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.notice-card:hover { transform: translateX(6px); box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.notice-date {
    flex-shrink: 0;
    width: 74px;
    border-radius: var(--radius-sm);
    background: var(--brand-50);
    border: 1px solid var(--brand-100);
    text-align: center;
    padding: 10px 4px;
}
.notice-date .day { font-family: var(--font-head); font-size: 26px; font-weight: 800; color: var(--brand-600); line-height: 1.1; }
.notice-date .mon { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--ink-500); }
.notice-info { flex: 1 1 auto; min-width: 0; }
.notice-info h3 { font-size: 18px; margin-bottom: 6px; }
.notice-info h3 a { color: var(--ink-900); }
.notice-info h3 a:hover { color: var(--brand-600); }
.notice-info p { color: var(--ink-500); font-size: 14.5px; margin: 0; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.notice-cat {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .05em;
    color: var(--gold-600);
    background: var(--gold-50);
    border: 1px solid var(--gold-100);
    padding: 4px 12px;
    border-radius: 999px;
    margin-bottom: 8px;
}
.notice-arrow { flex-shrink: 0; color: var(--ink-300); font-size: 18px; transition: all .25s ease; }
.notice-card:hover .notice-arrow { color: var(--brand-600); transform: translateX(5px); }

/* ---------- CTA band ---------- */
.cta-band {
    position: relative;
    overflow: hidden;
    background: linear-gradient(120deg, var(--brand-700), var(--brand-500) 55%, var(--brand-600));
    border-radius: var(--radius-lg);
    padding: 64px;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
    flex-wrap: wrap;
}
.cta-band::before, .cta-band::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,.08);
}
.cta-band::before { width: 320px; height: 320px; top: -120px; right: -80px; }
.cta-band::after { width: 220px; height: 220px; bottom: -90px; left: 30px; }
.cta-band > * { position: relative; z-index: 1; }
.cta-band h2 { color: #fff; font-size: clamp(26px, 3.4vw, 38px); margin-bottom: 12px; }
.cta-band p { color: rgba(255,255,255,.85); margin: 0; max-width: 520px; }

/* ---------- Page hero ---------- */
.page-hero {
    position: relative;
    background-size: cover;
    background-position: center;
    background-color: var(--ink-900);
    padding: 96px 0 110px;
    color: #fff;
    overflow: hidden;
}
.page-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(100deg, rgba(15,23,42,.94), rgba(15,23,42,.72));
}
.page-hero > .container { position: relative; z-index: 2; }
.page-hero h1 {
    color: #fff;
    font-size: clamp(32px, 5vw, 50px);
    letter-spacing: -.02em;
    margin-bottom: 14px;
}
.breadcrumb { display: flex; align-items: center; gap: 10px; font-size: 14px; color: rgba(255,255,255,.75); }
.breadcrumb a { color: var(--gold-400); }
.breadcrumb a:hover { color: #fff; }
.breadcrumb i { font-size: 11px; color: rgba(255,255,255,.5); }

/* ---------- CMS page content ---------- */
.page-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 330px;
    gap: 44px;
    align-items: start;
}
.cms-content { background: #fff; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); border: 1px solid var(--line); padding: 44px; }
.cms-content > *:last-child { margin-bottom: 0; }
.cms-content h2, .cms-content h3 { margin-top: 1.4em; }
.cms-content h2 { font-size: 26px; }
.cms-content h3 { font-size: 21px; }
.cms-content p { color: var(--ink-600); }
.cms-content ul, .cms-content ol { list-style: none; margin: 0 0 1.2rem; }
.cms-content ul li, .cms-content ol li { position: relative; padding-left: 28px; margin-bottom: 10px; color: var(--ink-600); }
.cms-content ul li::before {
    content: "\f058";
    font-family: "Font Awesome 6 Free";
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 2px;
    color: var(--gold-500);
    font-size: 15px;
}
.cms-content ol { counter-reset: step; }
.cms-content ol li { counter-increment: step; }
.cms-content ol li::before {
    content: counter(step, decimal-leading-zero);
    position: absolute;
    left: 0;
    top: 2px;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-600);
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 11px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.cms-content img { border-radius: var(--radius); margin: 18px 0; }
.cms-content blockquote {
    margin: 24px 0;
    padding: 22px 28px;
    border-left: 4px solid var(--gold-500);
    background: var(--gold-50);
    border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
    font-style: italic;
    color: var(--ink-700);
}
.cms-content table { width: 100%; border-collapse: collapse; margin: 18px 0; }
.cms-content th, .cms-content td { border: 1px solid var(--line); padding: 12px 16px; text-align: left; }
.cms-content th { background: var(--bg-soft); font-family: var(--font-head); font-size: 14px; }

.page-featured-img { width: 100%; border-radius: var(--radius-lg); object-fit: cover; margin-bottom: 30px; box-shadow: var(--shadow-md); max-height: 480px; }

/* Sidebar */
.page-sidebar { display: flex; flex-direction: column; gap: 26px; position: sticky; top: 96px; }
.sidebar-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 28px; box-shadow: var(--shadow-sm); }
.sidebar-card h4 { font-size: 18px; padding-bottom: 14px; border-bottom: 2px solid var(--ink-100); margin-bottom: 14px; position: relative; }
.sidebar-card h4::after { content: ""; position: absolute; left: 0; bottom: -2px; width: 44px; height: 2px; background: var(--gold-500); }
.sidebar-links li a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 11px 4px;
    border-bottom: 1px dashed var(--line);
    color: var(--ink-700);
    font-weight: 600;
    font-size: 14.5px;
}
.sidebar-links li a i { color: var(--ink-300); font-size: 12px; transition: all .2s ease; }
.sidebar-links li a:hover { color: var(--brand-600); }
.sidebar-links li a:hover i { color: var(--brand-600); transform: translateX(4px); }
.sidebar-contact li { display: flex; gap: 14px; align-items: flex-start; padding: 10px 0; color: var(--ink-600); font-size: 14.5px; }
.sidebar-contact li i { color: var(--brand-600); margin-top: 4px; width: 18px; text-align: center; }

/* ---------- Forms ---------- */
.site-form .form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.site-form .form-field { display: flex; flex-direction: column; gap: 8px; }
.site-form .form-field.full { grid-column: 1 / -1; }
.site-form label { font-weight: 600; font-size: 14px; color: var(--ink-800); }
.site-form input, .site-form select, .site-form textarea {
    border: 1.5px solid var(--line);
    border-radius: var(--radius-sm);
    padding: 13px 16px;
    font-size: 15px;
    color: var(--ink-800);
    background: var(--bg-soft);
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
    outline: none;
    width: 100%;
}
.site-form textarea { resize: vertical; min-height: 140px; }
.site-form input:focus, .site-form select:focus, .site-form textarea:focus {
    border-color: var(--brand-500);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(37, 99, 235, 0.12);
}
.site-form .form-error { color: var(--red-500); font-size: 13px; font-weight: 500; }

/* Alert */
.alert {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    font-size: 14.5px;
    font-weight: 500;
    margin-bottom: 24px;
}
.alert-success { background: var(--green-100); color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: var(--red-100); color: #991b1b; border: 1px solid #fecaca; }
.alert i { margin-top: 2px; }

/* ---------- Contact ---------- */
.contact-info-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; margin-bottom: 56px; }
.contact-info-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 30px 24px;
    text-align: center;
    transition: transform .25s ease, box-shadow .25s ease;
}
.contact-info-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.contact-info-card .ci-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin: 0 auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    background: var(--brand-50);
    color: var(--brand-600);
}
.contact-info-card h3 { font-size: 16px; margin-bottom: 6px; }
.contact-info-card p, .contact-info-card a { color: var(--ink-500); font-size: 14px; margin: 0; }
.contact-info-card a:hover { color: var(--brand-600); }

.contact-layout { display: grid; grid-template-columns: 1fr 1fr; gap: 40px; align-items: stretch; }
.contact-map { border-radius: var(--radius-lg); overflow: hidden; min-height: 480px; box-shadow: var(--shadow-md); border: 1px solid var(--line); }
.contact-map iframe { width: 100%; height: 100%; min-height: 480px; border: 0; display: block; }

/* ---------- FAQ accordion ---------- */
.faq-wrap { max-width: 860px; margin-inline: auto; }
.faq-item {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    margin-bottom: 16px;
    overflow: hidden;
    transition: box-shadow .25s ease, border-color .25s ease;
}
.faq-item.open { box-shadow: var(--shadow-md); border-color: var(--brand-100); }
.faq-q {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 26px;
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 17px;
    color: var(--ink-900);
    background: none;
    border: 0;
    width: 100%;
    text-align: left;
}
.faq-q .faq-icon {
    flex-shrink: 0;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: var(--brand-50);
    color: var(--brand-600);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    transition: all .3s ease;
}
.faq-item.open .faq-icon { background: var(--gold-500); color: var(--ink-900); transform: rotate(45deg); }
.faq-a { max-height: 0; overflow: hidden; transition: max-height .4s ease; }
.faq-a-inner { padding: 0 26px 24px; color: var(--ink-600); font-size: 15.5px; }

/* ---------- Downloads ---------- */
.download-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 22px; }
.download-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 22px 26px;
    transition: transform .25s ease, box-shadow .25s ease;
}
.download-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-md); }
.download-file-icon {
    flex-shrink: 0;
    width: 58px;
    height: 62px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #fff;
    background: linear-gradient(135deg, var(--red-500), #dc2626);
    position: relative;
}
.download-file-icon::before {
    content: "";
    position: absolute;
    top: 0;
    right: 0;
    border-width: 0 14px 14px 0;
    border-style: solid;
    border-color: #fff #fff transparent transparent;
    border-radius: 0 12px 0 0;
}
.download-info { flex: 1 1 auto; min-width: 0; }
.download-info h3 { font-size: 17px; margin-bottom: 4px; }
.download-info p { margin: 0; font-size: 13.5px; color: var(--ink-400); }

/* ---------- Pagination ---------- */
.pagination { display: flex; justify-content: center; gap: 8px; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span {
    min-width: 42px;
    height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    border: 1px solid var(--line);
    background: #fff;
    color: var(--ink-700);
    font-weight: 600;
    font-size: 14px;
    transition: all .2s ease;
}
.pagination a:hover { border-color: var(--brand-600); color: var(--brand-600); }
.pagination .active { background: var(--brand-600); border-color: var(--brand-600); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--ink-900); color: var(--ink-400); margin-top: 96px; }
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 48px;
    padding: 72px 0 56px;
}
.footer-brand { display: inline-flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-brand .brand-mark { width: 46px; height: 46px; font-size: 19px; }
.footer-brand .brand-text strong { color: #fff; font-size: 18px; }
.footer-col h4 {
    color: #fff;
    font-size: 17px;
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
}
.footer-col h4::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 3px; border-radius: 3px; background: var(--gold-500); }
.footer-links li { margin-bottom: 11px; }
.footer-links a { color: var(--ink-400); font-size: 14.5px; }
.footer-links a::before { content: "\f105"; font-family: "Font Awesome 6 Free"; font-weight: 900; font-size: 11px; color: var(--gold-500); margin-right: 10px; }
.footer-links a:hover { color: var(--gold-400); padding-left: 4px; }
.footer-contact li { display: flex; gap: 14px; margin-bottom: 16px; font-size: 14.5px; align-items: flex-start; }
.footer-contact i { color: var(--gold-500); margin-top: 5px; width: 16px; text-align: center; }
.footer-contact a { color: var(--ink-400); }
.footer-contact a:hover { color: var(--gold-400); }
.footer-about p { font-size: 14.5px; margin-bottom: 20px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); }
.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    padding-block: 22px;
    font-size: 13.5px;
}
.footer-bottom-inner a { color: var(--gold-400); }
.footer-visit-btn { padding: 8px 16px; font-size: 13px; text-decoration: none; }

/* ---------- Back to top ---------- */
.back-to-top {
    position: fixed;
    right: 26px;
    bottom: 26px;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    border: 0;
    background: linear-gradient(135deg, var(--brand-500), var(--brand-700));
    color: #fff;
    font-size: 17px;
    box-shadow: 0 12px 30px rgba(29, 78, 216, 0.4);
    opacity: 0;
    visibility: hidden;
    transform: translateY(16px);
    transition: all .3s ease;
    z-index: 80;
}
.back-to-top.show { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: var(--gold-500); color: var(--ink-900); }

/* ---------- Lightbox ---------- */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(9, 14, 28, 0.94);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 92vw; max-height: 84vh; border-radius: var(--radius); box-shadow: var(--shadow-lg); }
.lightbox .lb-title { position: absolute; bottom: 28px; left: 50%; transform: translateX(-50%); color: #fff; font-weight: 600; background: rgba(0,0,0,.5); padding: 8px 20px; border-radius: 999px; }
.lightbox .lb-close, .lightbox .lb-prev, .lightbox .lb-next {
    position: absolute;
    background: rgba(255,255,255,.12);
    border: 0;
    color: #fff;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    font-size: 18px;
    transition: background .2s ease;
}
.lightbox .lb-close:hover, .lightbox .lb-prev:hover, .lightbox .lb-next:hover { background: var(--gold-500); color: var(--ink-900); }
.lightbox .lb-close { top: 24px; right: 24px; }
.lightbox .lb-prev { left: 24px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 24px; top: 50%; transform: translateY(-50%); }

/* ---------- Video modal ---------- */
.video-modal {
    position: fixed;
    inset: 0;
    background: rgba(9, 14, 28, 0.94);
    z-index: 200;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 40px;
}
.video-modal.open { display: flex; }
.video-modal-inner { position: relative; width: min(920px, 94vw); }
.video-modal iframe { width: 100%; aspect-ratio: 16 / 9; border-radius: var(--radius); border: 0; background: #000; box-shadow: var(--shadow-lg); }
.video-modal .vm-close {
    position: absolute;
    top: -56px;
    right: 0;
    background: rgba(255,255,255,.15);
    border: 0;
    color: #fff;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    font-size: 16px;
    transition: background .2s ease;
}
.video-modal .vm-close:hover { background: var(--gold-500); color: var(--ink-900); }

/* ---------- Animations ---------- */
@keyframes fadeUp { from { opacity: 0; transform: translateY(26px); } to { opacity: 1; transform: translateY(0); } }

.reveal { opacity: 0; transform: translateY(32px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .08s; }
.reveal-delay-2 { transition-delay: .16s; }
.reveal-delay-3 { transition-delay: .24s; }

/* ---------- Responsive ---------- */
@media (max-width: 1180px) {
    .teacher-grid { grid-template-columns: repeat(3, 1fr); }
    .gallery-grid { grid-template-columns: repeat(3, 1fr); }
    .feature-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .page-layout { grid-template-columns: 1fr; }
    .page-sidebar { position: static; flex-direction: row; flex-wrap: wrap; }
    .page-sidebar .sidebar-card { flex: 1 1 280px; }
}

@media (max-width: 1024px) {
    .site-nav { display: none; }
    .nav-toggle { display: flex; }
    .header-login-btn { display: none; }
    .hero-inner { padding: 90px 20px 140px; }
    .about-preview { grid-template-columns: 1fr; gap: 56px; }
    .about-media .img-float { right: 8px; }
    .video-grid { grid-template-columns: repeat(2, 1fr); }
    .contact-layout { grid-template-columns: 1fr; }
    .contact-map { min-height: 360px; }
    .contact-map iframe { min-height: 360px; }
}

@media (max-width: 767px) {
    .section { padding: 64px 0; }
    .topbar-hide-sm { display: none; }
    .topbar-inner { justify-content: center; }
    .topbar-left { justify-content: center; flex-wrap: wrap; gap: 12px; }
    .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 10px; }
    .hero-stats { margin-top: -52px; }
    .teacher-grid { grid-template-columns: repeat(2, 1fr); }
    .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
    .video-grid { grid-template-columns: 1fr; }
    .feature-grid { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
    .site-form .form-grid { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; gap: 36px; padding: 56px 0 40px; }
    .cta-band { padding: 44px 28px; }
    .notice-card { flex-wrap: wrap; gap: 14px; }
    .notice-arrow { display: none; }
    .download-grid { grid-template-columns: 1fr; }
    .cms-content { padding: 28px 22px; }
    .about-points { grid-template-columns: 1fr; }
    .about-media .img-main { height: 300px; }
    .about-media .img-float { width: 150px; height: 100px; }
    .lightbox { padding: 16px; }
}

@media (max-width: 479px) {
    .teacher-grid { grid-template-columns: 1fr; }
    .contact-info-grid { grid-template-columns: 1fr; }
    .header-login-btn { display: none; }
}
