/* ==========================================================================
   Amal Jyoti Hr. Sec. School, Maharajpur - site theme 2026-27
   Light green (from the old site) + Gold, Prata headings. Every section is animated; motion is reduced
   automatically for visitors who ask their device for less motion.
   ========================================================================== */
@font-face { font-family: 'Prata-Local'; src: url(Prata-Regular.ttf); font-display: swap; }

:root {
  --navy: #2e7d32;      /* primary green (was the old site's #227b26, lightened) */
  --navy-2: #43a047;
  --navy-deep: #1b5e20;
  --mint: #e8f5e9;
  --leaf: #66bb6a;
  --gold: #FFC502;
  --gold-2: #f2a900;
  --gold-soft: #fff4cc;
  --red: #c8102e;
  --green: #2e7d32;
  --ink: #1f2a3c;
  --muted: #5f6b7d;
  --line: #e6eaf1;
  --paper: #ffffff;
  --cream: #f3faf2;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-sm: 0 4px 14px rgba(46, 125, 50, .08);
  --shadow: 0 14px 40px rgba(46, 125, 50, .12);
  --shadow-lg: 0 30px 70px rgba(27, 94, 32, .25);
  --ease: cubic-bezier(.22, .61, .36, 1);
  --ease-out: cubic-bezier(.16, 1, .3, 1);
  --font-head: 'Prata', 'Prata-Local', Georgia, serif;
  --font-ui: 'Poppins', 'Lato', system-ui, sans-serif;
  --font-body: 'Lato', system-ui, sans-serif;
  --header-h: 84px;
}

/* ---------- base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; scroll-padding-top: 100px; overflow-x: hidden; }
@supports (overflow: clip) { html, body { overflow-x: clip; } }
body { margin: 0; font-family: var(--font-body); font-size: 16px; line-height: 1.7; color: var(--ink); background: var(--paper); overflow-x: hidden; }
body.is-loading { overflow: hidden; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-head); color: var(--navy); font-weight: 400; line-height: 1.25; }
a { color: var(--navy-2); text-decoration: none; transition: color .25s var(--ease); }
a:hover { color: var(--gold-2); }
img { max-width: 100%; }
::selection { background: var(--gold); color: var(--navy); }
.container-xl { padding-left: 16px; padding-right: 16px; }

/* ---------- buttons ---------- */
.btn-theme, .btn-theme-outline, .btn-gold, .btn-glass, .btn-white {
  position: relative; display: inline-flex; align-items: center; justify-content: center; gap: .5rem;
  padding: .75rem 1.5rem; border-radius: 50px; font-family: var(--font-ui); font-weight: 600; font-size: .95rem;
  line-height: 1.2; border: 2px solid transparent; cursor: pointer; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease-out), box-shadow .35s var(--ease-out), color .3s, background .3s, border-color .3s;
}
.btn-theme::before, .btn-gold::before, .btn-theme-outline::before, .btn-white::before {
  content: ""; position: absolute; inset: 0; z-index: -1; transform: translateX(-101%); transition: transform .45s var(--ease-out);
}
.btn-theme { background: var(--navy); color: #fff; box-shadow: 0 8px 22px rgba(46, 125, 50, .25); }
.btn-theme::before { background: var(--gold); }
.btn-theme:hover { color: var(--navy); transform: translateY(-3px); box-shadow: 0 14px 28px rgba(46, 125, 50, .3); }
.btn-theme:hover::before, .btn-gold:hover::before, .btn-theme-outline:hover::before, .btn-white:hover::before { transform: translateX(0); }
.btn-theme-outline { border-color: var(--navy); color: var(--navy); background: transparent; }
.btn-theme-outline::before { background: var(--navy); }
.btn-theme-outline:hover { color: #fff; transform: translateY(-3px); }
.btn-gold { background: var(--gold); color: var(--navy); box-shadow: 0 10px 26px rgba(255, 197, 2, .35); }
.btn-gold::before { background: #fff; }
.btn-gold:hover { color: var(--navy); transform: translateY(-3px); }
.btn-glass { background: rgba(255, 255, 255, .12); color: #fff; border-color: rgba(255, 255, 255, .5); backdrop-filter: blur(8px); }
.btn-glass:hover { background: #fff; color: var(--navy); transform: translateY(-3px); }
.btn-white { background: #fff; color: var(--red); }
.btn-white::before { background: var(--gold); }
.btn-white:hover { color: var(--navy); transform: translateY(-3px); }
.btn-sm { padding: .5rem 1.1rem; font-size: .85rem; }
.btn-lg { padding: .95rem 1.9rem; font-size: 1rem; }
.btn-yt { background: #ff0000; box-shadow: 0 8px 22px rgba(255, 0, 0, .3); }
.ripple { position: absolute; border-radius: 50%; background: rgba(255, 255, 255, .5); transform: scale(0); animation: ripple .7s ease-out; pointer-events: none; }
@keyframes ripple { to { transform: scale(4); opacity: 0; } }

/* ---------- loader ---------- */
#site-loader {
  position: fixed; inset: 0; z-index: 9999; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 40%, #66bb6a 0%, var(--navy) 45%, var(--navy-deep) 100%);
  transition: opacity .7s var(--ease), visibility .7s, clip-path .9s var(--ease-out);
  clip-path: circle(150% at 50% 50%);
}
#site-loader.done { opacity: 0; visibility: hidden; clip-path: circle(0% at 50% 50%); }
.loader-inner { text-align: center; color: #fff; }
.loader-rings { position: relative; width: 170px; height: 170px; margin: 0 auto 1.4rem; display: grid; place-items: center; }
.loader-rings .ring { position: absolute; inset: 0; border-radius: 50%; border: 3px solid transparent; }
.loader-rings .ring-1 { border-top-color: var(--gold); border-right-color: var(--gold); animation: spin 1.4s linear infinite; }
.loader-rings .ring-2 { inset: 12px; border-bottom-color: rgba(255, 255, 255, .8); border-left-color: rgba(255, 255, 255, .8); animation: spin 2s linear infinite reverse; }
.loader-rings .ring-3 { inset: -14px; border: 2px dashed rgba(255, 197, 2, .35); animation: spin 12s linear infinite; }
.loader-crest { width: 104px; height: 104px; object-fit: contain; border-radius: 50%; background: #fff; padding: 10px; box-shadow: 0 0 0 6px rgba(255, 197, 2, .25), 0 0 50px rgba(255, 197, 2, .45); animation: crestPulse 1.8s ease-in-out infinite; }
.loader-title { font-family: var(--font-head); font-size: 2rem; letter-spacing: .06em; animation: fadeUp .8s var(--ease-out) both .2s; }
.loader-sub { font-family: var(--font-ui); font-size: .8rem; letter-spacing: .3em; text-transform: uppercase; color: rgba(255, 255, 255, .75); animation: fadeUp .8s var(--ease-out) both .35s; }
.loader-bar { width: 200px; height: 3px; margin: 1.2rem auto .8rem; background: rgba(255, 255, 255, .15); border-radius: 3px; overflow: hidden; }
.loader-bar span { display: block; height: 100%; width: 0; background: linear-gradient(90deg, var(--gold), #fff); border-radius: 3px; transition: width .3s ease; }
.loader-motto { font-family: var(--font-head); font-style: italic; color: var(--gold); font-size: .95rem; animation: fadeUp .8s var(--ease-out) both .5s; }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes crestPulse { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.06); } }
@keyframes fadeUp { from { opacity: 0; transform: translateY(16px); } to { opacity: 1; transform: none; } }

#scroll-progress { position: fixed; top: 0; left: 0; height: 3px; width: 100%; transform-origin: 0 50%; transform: scaleX(0); background: linear-gradient(90deg, var(--gold), #ff8a00, var(--gold)); z-index: 2000; }

/* ---------- top bar ---------- */
.topbar { background: linear-gradient(90deg, var(--navy-deep), var(--navy), var(--navy-deep)); background-size: 200% 100%; animation: gradientMove 14s ease infinite; color: rgba(255, 255, 255, .85); font-family: var(--font-ui); font-size: .8rem; position: relative; z-index: 1001; }
.topbar-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; min-height: 44px; }
.topbar a { color: rgba(255, 255, 255, .85); display: inline-flex; align-items: center; gap: .4rem; }
.topbar a:hover { color: var(--gold); }
.topbar-contact { display: flex; gap: 1.2rem; }
.topbar-contact i { color: var(--gold); }
.topbar-links { display: flex; align-items: center; gap: .3rem; flex-wrap: wrap; justify-content: flex-end; }
.tb-link { padding: .3rem .7rem; border-radius: 30px; transition: background .3s, color .3s; }
.tb-link:hover { background: rgba(255, 255, 255, .08); }
.tb-link i { color: var(--gold); }
.yt-pill { margin-left: .4rem; padding: .28rem .85rem .28rem .35rem; border-radius: 30px; background: #fff; color: #111 !important; font-weight: 600; box-shadow: 0 0 0 0 rgba(255, 0, 0, .6); animation: ytPulse 2.4s infinite; }
.yt-pill:hover { background: #ff0000; color: #fff !important; }
.yt-icon { width: 30px; height: 22px; display: grid; place-items: center; }
.yt-icon svg { width: 26px; height: 18px; transition: transform .4s var(--ease-out); }
.yt-pill:hover .yt-icon svg { transform: scale(1.15) rotate(-6deg); }
.yt-pill:hover .yt-icon path:first-child { fill: #fff; }
.yt-pill:hover .yt-icon path:last-child { fill: #ff0000; }
@keyframes ytPulse { 0% { box-shadow: 0 0 0 0 rgba(255, 0, 0, .55); } 70% { box-shadow: 0 0 0 10px rgba(255, 0, 0, 0); } 100% { box-shadow: 0 0 0 0 rgba(255, 0, 0, 0); } }

/* ---------- header / nav ---------- */
.site-header { position: sticky; top: 0; z-index: 1000; background: rgba(255, 255, 255, .96); backdrop-filter: blur(14px); transition: box-shadow .4s, background .4s; }
.site-header.is-scrolled { box-shadow: 0 10px 30px rgba(27, 94, 32, .12); background: rgba(255, 255, 255, .9); }
.site-header::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy)); background-size: 200% 100%; animation: shimmer 6s linear infinite; }
@keyframes shimmer { to { background-position: 200% 0; } }
.header-inner { display: flex; align-items: center; justify-content: space-between; min-height: var(--header-h); gap: 1rem; transition: min-height .4s var(--ease); }
.site-header.is-scrolled .header-inner { min-height: 70px; }
.brand { display: flex; align-items: center; gap: .75rem; color: var(--navy); }
.brand:hover { color: var(--navy); }
.brand-crest { width: 58px; height: 58px; object-fit: contain; transition: transform .6s var(--ease-out), width .4s, height .4s; }
.brand:hover .brand-crest { transform: rotate(-8deg) scale(1.06); }
.site-header.is-scrolled .brand-crest { width: 48px; height: 48px; }
.brand-text strong { display: block; font-family: var(--font-ui); font-weight: 700; font-size: 1.55rem; letter-spacing: .02em; line-height: 1; color: var(--navy); }
.brand-text small { display: block; font-family: var(--font-ui); font-weight: 600; font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--muted); margin-top: .3rem; }

.main-nav .nav-list { list-style: none; display: flex; align-items: center; margin: 0; padding: 0; gap: .15rem; }
.main-nav .nav-item { position: relative; }
.main-nav .nav-item > a { display: flex; align-items: center; gap: .3rem; white-space: nowrap; padding: .7rem .8rem; font-family: var(--font-ui); font-weight: 600; font-size: .88rem; color: var(--navy); position: relative; }
.main-nav .nav-item > a::after { content: ""; position: absolute; left: .8rem; right: .8rem; bottom: .35rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: right; transition: transform .4s var(--ease-out); }
.main-nav .nav-item:hover > a::after, .main-nav .nav-item.is-active > a::after { transform: scaleX(1); transform-origin: left; }
.main-nav .caret { font-size: .7rem; transition: transform .35s var(--ease-out); }
.main-nav .has-drop:hover .caret { transform: rotate(180deg); }
.sub-toggle { display: none; }
.dropdown-panel { position: absolute; top: 100%; left: 0; min-width: 250px; list-style: none; margin: 0; padding: .6rem; background: #fff; border-radius: var(--radius-sm); box-shadow: var(--shadow-lg); border-top: 3px solid var(--gold);
  opacity: 0; visibility: hidden; transform: translateY(14px) rotateX(-12deg); transform-origin: top center; transition: opacity .35s var(--ease), transform .45s var(--ease-out), visibility .35s; }
.has-drop:hover > .dropdown-panel, .has-drop:focus-within > .dropdown-panel { opacity: 1; visibility: visible; transform: none; }
.dropdown-panel .nav-item > a { padding: .6rem .9rem; border-radius: 10px; font-weight: 500; font-size: .86rem; color: var(--ink); }
.dropdown-panel .nav-item > a::after { display: none; }
.dropdown-panel .nav-item > a::before { content: "\F285"; font-family: bootstrap-icons; font-size: .7rem; color: var(--gold-2); width: 0; opacity: 0; transition: width .3s, opacity .3s; overflow: hidden; }
.dropdown-panel .nav-item > a:hover { background: var(--gold-soft); color: var(--navy); }
.dropdown-panel .nav-item > a:hover::before { width: 12px; opacity: 1; }
.dropdown-panel .nav-item { opacity: 0; transform: translateX(-8px); transition: opacity .3s, transform .35s var(--ease-out); }
.has-drop:hover > .dropdown-panel .nav-item, .has-drop:focus-within > .dropdown-panel .nav-item { opacity: 1; transform: none; }
.has-drop:hover > .dropdown-panel .nav-item:nth-child(2) { transition-delay: .04s; }
.has-drop:hover > .dropdown-panel .nav-item:nth-child(3) { transition-delay: .08s; }
.has-drop:hover > .dropdown-panel .nav-item:nth-child(4) { transition-delay: .12s; }
.has-drop:hover > .dropdown-panel .nav-item:nth-child(5) { transition-delay: .16s; }
.has-drop:hover > .dropdown-panel .nav-item:nth-child(6) { transition-delay: .2s; }
.mobile-nav-head, .mobile-nav-extra { display: none; }
.nav-toggle { display: none; width: 46px; height: 46px; border: 0; border-radius: 12px; background: var(--navy); padding: 12px; cursor: pointer; }
.nav-toggle span { display: block; height: 2px; background: #fff; border-radius: 2px; margin: 5px 0; transition: transform .4s var(--ease-out), opacity .3s, width .3s; }
.nav-toggle span:nth-child(2) { width: 70%; margin-left: auto; }
.nav-backdrop { position: fixed; inset: 0; background: rgba(27, 94, 32, .55); backdrop-filter: blur(3px); opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s; z-index: 1001; }

@media (max-width: 1399.98px) {
  .main-nav .nav-item > a { padding: .6rem .55rem; font-size: .84rem; }
  .brand-text strong { font-size: 1.35rem; }
}
@media (max-width: 1199.98px) {
  .nav-toggle { display: block; }
  .main-nav { position: fixed; top: 0; right: 0; bottom: 0; width: min(360px, 88vw); background: #fff; z-index: 1002; overflow-y: auto; padding: 0 0 2rem;
    transform: translateX(105%); transition: transform .55s var(--ease-out); box-shadow: var(--shadow-lg); }
  body.nav-open .main-nav { transform: none; }
  body.nav-open .nav-backdrop { opacity: 1; visibility: visible; }
  body.nav-open { overflow: hidden; }
  .mobile-nav-head { display: flex; align-items: center; gap: .7rem; padding: 1rem 1.2rem; background: var(--navy); color: #fff; font-family: var(--font-ui); font-weight: 600; position: sticky; top: 0; z-index: 2; }
  .mobile-nav-head img { width: 38px; height: 38px; background: #fff; border-radius: 50%; padding: 3px; }
  .nav-close { margin-left: auto; background: rgba(255, 255, 255, .12); color: #fff; border: 0; width: 38px; height: 38px; border-radius: 50%; transition: transform .4s; }
  .nav-close:hover { transform: rotate(90deg); background: var(--gold); color: var(--navy); }
  .main-nav .nav-list { flex-direction: column; align-items: stretch; padding: .8rem; gap: 0; }
  .main-nav .nav-item { border-bottom: 1px solid var(--line); opacity: 0; transform: translateX(30px); transition: opacity .4s, transform .5s var(--ease-out); }
  body.nav-open .main-nav .nav-list > .nav-item { opacity: 1; transform: none; }
  body.nav-open .main-nav .nav-list > .nav-item:nth-child(2) { transition-delay: .05s; }
  body.nav-open .main-nav .nav-list > .nav-item:nth-child(3) { transition-delay: .1s; }
  body.nav-open .main-nav .nav-list > .nav-item:nth-child(4) { transition-delay: .15s; }
  body.nav-open .main-nav .nav-list > .nav-item:nth-child(5) { transition-delay: .2s; }
  body.nav-open .main-nav .nav-list > .nav-item:nth-child(6) { transition-delay: .25s; }
  body.nav-open .main-nav .nav-list > .nav-item:nth-child(7) { transition-delay: .3s; }
  body.nav-open .main-nav .nav-list > .nav-item:nth-child(8) { transition-delay: .35s; }
  .main-nav .nav-item > a { padding: .85rem .6rem; font-size: .95rem; }
  .main-nav .nav-item > a::after, .main-nav .caret { display: none; }
  .sub-toggle { display: grid; place-items: center; position: absolute; right: 0; top: 6px; width: 40px; height: 40px; border: 0; border-radius: 10px; background: var(--gold-soft); color: var(--navy); transition: transform .35s; }
  .has-drop.open > .sub-toggle { transform: rotate(45deg); background: var(--gold); }
  .dropdown-panel { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; border-left: 2px solid var(--gold); border-radius: 0; margin: 0 0 .6rem .6rem; padding: 0 0 0 .4rem; max-height: 0; overflow: hidden; transition: max-height .5s var(--ease-out); }
  .has-drop.open > .dropdown-panel { max-height: 600px; }
  .dropdown-panel .nav-item { opacity: 1; transform: none; border: 0; }
  .mobile-nav-extra { display: grid; gap: .6rem; padding: 0 1.2rem; }
}
@media (max-width: 991.98px) {
  .topbar-contact span { display: none; }
  .tb-link span { display: none; }
  .tb-link { padding: .35rem .5rem; }
}
@media (max-width: 575.98px) {
  .brand-text strong { font-size: 1.2rem; }
  .brand-text small { font-size: .56rem; letter-spacing: .06em; }
  .brand-crest { width: 46px; height: 46px; }
  .yt-text { display: none; }
  .yt-pill { padding: .25rem .4rem; }
  .topbar-contact span { display: inline; }
  .topbar-links .tb-link { display: none; }
  .header-inner { gap: .5rem; }
}

/* ---------- hero slider ---------- */
.hero { position: relative; height: calc(100vh - var(--header-h) - 44px); min-height: 520px; max-height: 860px; background: var(--navy-deep); overflow: hidden; }
.hero-swiper { height: 100%; }
.hero .swiper-slide { position: relative; overflow: hidden; }
.hero-media { position: absolute; inset: 0; }
.hero-img { position: absolute; inset: -2%; background-size: cover; background-position: center; transform: scale(1.18); transition: transform 8s linear; will-change: transform; }
.swiper-slide-active .hero-img { transform: scale(1.02) translate(-1%, -1%); }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(20, 70, 25, .82) 0%, rgba(46, 125, 50, .45) 45%, rgba(27, 94, 32, .05) 100%), linear-gradient(0deg, rgba(15, 55, 20, .55), transparent 45%); }
.hero-content { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; }
.hero-text { max-width: 680px; color: #fff; padding-bottom: 3rem; }
.hero-tag { display: inline-flex; align-items: center; gap: .45rem; padding: .4rem 1rem; border-radius: 30px; background: rgba(255, 197, 2, .15); border: 1px solid rgba(255, 197, 2, .5); color: var(--gold); font-family: var(--font-ui); font-size: .78rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase;
  opacity: 0; transform: translateY(20px); transition: opacity .7s .2s, transform .8s var(--ease-out) .2s; }
.hero-title { color: #fff; font-size: clamp(2.2rem, 5.4vw, 4.4rem); line-height: 1.08; margin: 1.1rem 0 1rem; text-shadow: 0 6px 30px rgba(0, 0, 0, .35); }
.hero-title .w { display: inline-block; overflow: hidden; vertical-align: top; padding-bottom: .08em; }
.hero-title .w > span { display: inline-block; transform: translateY(110%) rotate(6deg); transition: transform 1s var(--ease-out); transition-delay: calc(.35s + var(--d)); }
.hero-desc { font-size: clamp(1rem, 1.6vw, 1.25rem); color: rgba(255, 255, 255, .88); max-width: 560px; opacity: 0; transform: translateY(24px); transition: opacity .8s .75s, transform .9s var(--ease-out) .75s; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.8rem; opacity: 0; transform: translateY(24px); transition: opacity .8s .95s, transform .9s var(--ease-out) .95s; }
.swiper-slide-active .hero-tag, .swiper-slide-active .hero-desc, .swiper-slide-active .hero-actions { opacity: 1; transform: none; }
.swiper-slide-active .hero-title .w > span { transform: none; }
.hero-ui { position: absolute; left: 0; right: 0; bottom: 34px; z-index: 5; display: flex; align-items: center; gap: 1.5rem; margin: 0 auto; }
.hero-counter { font-family: var(--font-ui); color: #fff; display: flex; align-items: center; gap: .6rem; font-weight: 600; }
.hero-counter .cur { font-size: 1.6rem; color: var(--gold); min-width: 2ch; }
.hero-counter .sep { width: 40px; height: 1px; background: rgba(255, 255, 255, .5); }
.hero-counter .tot { opacity: .7; }
.hero-pagination { display: flex; gap: 8px; width: auto !important; position: static !important; }
.hero-pagination .swiper-pagination-bullet { width: 10px; height: 10px; margin: 0 !important; background: rgba(255, 255, 255, .5); opacity: 1; transition: width .45s var(--ease-out), background .3s; border-radius: 10px; }
.hero-pagination .swiper-pagination-bullet-active { width: 34px; background: var(--gold); }
.hero-nav { margin-left: auto; display: flex; gap: .6rem; }
.hero-nav button { width: 52px; height: 52px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .45); background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.1rem; backdrop-filter: blur(6px); transition: background .3s, color .3s, transform .4s var(--ease-out); }
.hero-nav button:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); transform: scale(1.08); }
.hero-progress { position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: rgba(255, 255, 255, .15); z-index: 5; }
.hero-progress span { display: block; height: 100%; width: 100%; background: var(--gold); transform-origin: 0 50%; transform: scaleX(0); }
.scroll-down { position: absolute; left: 50%; bottom: 90px; transform: translateX(-50%); width: 28px; height: 46px; border: 2px solid rgba(255, 255, 255, .7); border-radius: 20px; z-index: 5; }
.scroll-down span { position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--gold); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 0; transform: translateY(0); } 40% { opacity: 1; } 100% { opacity: 0; transform: translateY(16px); } }
.hero-shapes i { position: absolute; z-index: 3; border-radius: 50%; pointer-events: none; }
.hero-shapes i:nth-child(1) { width: 240px; height: 240px; right: -60px; top: 12%; border: 2px dashed rgba(255, 197, 2, .35); animation: spin 30s linear infinite; }
.hero-shapes i:nth-child(2) { width: 14px; height: 14px; right: 18%; top: 22%; background: var(--gold); animation: floaty 5s ease-in-out infinite; }
.hero-shapes i:nth-child(3) { width: 90px; height: 90px; right: 8%; bottom: 22%; border: 10px solid rgba(255, 255, 255, .08); animation: floaty 7s ease-in-out infinite reverse; }
@keyframes floaty { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-22px); } }
@media (max-width: 767.98px) {
  .hero { height: 78vh; min-height: 480px; }
  .hero-nav, .scroll-down { display: none; }
  .hero-ui { bottom: 22px; justify-content: space-between; }
  .hero-text { padding-bottom: 4rem; }
  .hero-actions .btn-lg { padding: .75rem 1.2rem; font-size: .9rem; }
}

/* ---------- ticker ---------- */
.ticker { display: flex; align-items: stretch; background: var(--gold); color: var(--navy); font-family: var(--font-ui); font-weight: 600; font-size: .9rem; overflow: hidden; position: relative; z-index: 4; }
.ticker-label { display: flex; align-items: center; gap: .5rem; padding: .8rem 1.4rem; background: var(--navy); color: #fff; position: relative; flex-shrink: 0; }
.ticker-label::after { content: ""; position: absolute; right: -14px; top: 0; bottom: 0; width: 28px; background: var(--navy); transform: skewX(-18deg); }
.ticker-label i { color: var(--gold); animation: wiggle 2s infinite; }
@keyframes wiggle { 0%, 60%, 100% { transform: rotate(0); } 70% { transform: rotate(-14deg); } 80% { transform: rotate(12deg); } 90% { transform: rotate(-6deg); } }
.ticker-track { overflow: hidden; flex: 1; display: flex; align-items: center; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-move { display: flex; gap: 3rem; white-space: nowrap; padding-left: 2.5rem; animation: marquee 45s linear infinite; }
.ticker:hover .ticker-move { animation-play-state: paused; }
.ticker-move a { color: var(--navy); display: inline-flex; align-items: center; gap: .5rem; }
.ticker-move a:hover { color: var(--red); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- sections ---------- */
.section { padding: 100px 0; position: relative; }
.section-head { margin-bottom: 3rem; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-family: var(--font-ui); font-weight: 600; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--gold-2); margin-bottom: .6rem; }
.eyebrow::before { content: ""; width: 34px; height: 2px; background: currentColor; }
.eyebrow.light { color: var(--gold); }
.section-title { font-size: clamp(1.9rem, 3.4vw, 2.8rem); margin-bottom: 1.2rem; position: relative; }
.section-title.light { color: #fff; }
.text-center .eyebrow::after { content: ""; width: 34px; height: 2px; background: currentColor; }
.lead-muted { color: var(--muted); font-size: 1.08rem; }
.split-anim .char { display: inline-block; opacity: 0; transform: translateY(.6em) rotate(8deg); transition: opacity .5s, transform .7s var(--ease-out); transition-delay: calc(var(--ci) * 22ms); }
.split-anim.in .char { opacity: 1; transform: none; }

/* quick cards */
.quick { position: relative; margin-top: -1px; padding: 60px 0 20px; background: linear-gradient(180deg, var(--cream), #fff); }
.quick-card { position: relative; display: flex; flex-direction: column; height: 100%; padding: 1.7rem 1.5rem 1.5rem; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line);
  transition: transform .5s var(--ease-out), box-shadow .5s; transform-style: preserve-3d; }
.quick-card::before { content: ""; position: absolute; width: 200px; height: 200px; right: -80px; top: -80px; border-radius: 50%; background: var(--qc, var(--navy)); opacity: .08; transition: transform .7s var(--ease-out), opacity .5s; }
.quick-card:hover::before { transform: scale(4.5); opacity: 1; }
.quick-card > * { position: relative; z-index: 1; transition: color .4s; }
.quick-card:hover, .quick-card:hover strong, .quick-card:hover .qc-kicker, .quick-card:hover .qc-code { color: #fff; }
.quick-card:hover { box-shadow: var(--shadow-lg); }
.qc-icon { width: 58px; height: 58px; display: grid; place-items: center; border-radius: 16px; background: var(--qc, var(--navy)); color: #fff; font-size: 1.6rem; margin-bottom: 1.1rem; box-shadow: 0 10px 24px rgba(0, 0, 0, .15); transition: transform .6s var(--ease-out), background .4s; }
.quick-card:hover .qc-icon { transform: rotate(-10deg) scale(1.08); background: rgba(255, 255, 255, .2); }
.qc-kicker { font-family: var(--font-ui); font-size: .72rem; font-weight: 600; letter-spacing: .15em; text-transform: uppercase; color: var(--muted); }
.quick-card strong { font-family: var(--font-head); font-weight: 400; font-size: 1.35rem; color: var(--navy); margin: .2rem 0 .5rem; }
.qc-code { font-family: var(--font-ui); font-size: .85rem; color: var(--muted); margin-top: auto; }
.qc-code b { color: var(--qc, var(--navy)); letter-spacing: .06em; }
.quick-card:hover .qc-code b { color: var(--gold); }
.qc-go { position: absolute; right: 1.2rem; bottom: 1.2rem; width: 38px; height: 38px; border-radius: 50%; display: grid; place-items: center; background: var(--line); color: var(--navy); transition: transform .5s var(--ease-out), background .4s; }
.quick-card:hover .qc-go { background: var(--gold); transform: rotate(45deg); color: var(--navy); }
.qc-fee { --qc: #2e7d32; }
.qc-adm { --qc: #1565c0; }
.qc-yt { --qc: #e00000; }
.qc-md { --qc: #b7791f; }

/* about */
.about-home { background: #fff; overflow: hidden; }
.collage { position: relative; height: 520px; }
.collage > div { position: absolute; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.collage img { width: 100%; height: 100%; object-fit: cover; transition: transform 1.2s var(--ease-out); }
.collage > div:hover img { transform: scale(1.08); }
.collage-a { left: 0; top: 0; width: 64%; height: 64%; }
.collage-b { right: 0; top: 18%; width: 44%; height: 46%; border: 8px solid #fff; z-index: 2; }
.collage-c { left: 16%; bottom: 0; width: 52%; height: 38%; border: 8px solid #fff; z-index: 3; }
.since-badge { position: absolute; right: 6%; bottom: 4%; width: 140px; height: 140px; border-radius: 50%; background: var(--navy); color: #fff; display: grid; place-items: center; z-index: 4; box-shadow: 0 16px 40px rgba(46, 125, 50, .35); }
.since-badge svg { position: absolute; inset: 0; width: 100%; height: 100%; animation: spin 18s linear infinite; }
.since-badge text { fill: var(--gold); font-family: var(--font-ui); font-size: 10.5px; font-weight: 600; letter-spacing: 2.4px; }
.since-badge span { font-family: var(--font-head); font-size: 1.8rem; text-align: center; line-height: 1; }
.since-badge small { display: block; font-family: var(--font-ui); font-size: .65rem; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); margin-bottom: 4px; }
.dots-pattern { position: absolute; left: -30px; bottom: 40px; width: 140px; height: 140px; background-image: radial-gradient(var(--gold) 2px, transparent 2.5px); background-size: 16px 16px; opacity: .7; z-index: 0; animation: floaty 6s ease-in-out infinite; }
.about-text p { color: var(--muted); }
.about-points { list-style: none; padding: 0; margin: 1.2rem 0 1.8rem; display: grid; grid-template-columns: 1fr 1fr; gap: .6rem 1rem; }
.about-points li { display: flex; gap: .5rem; align-items: flex-start; font-family: var(--font-ui); font-size: .92rem; font-weight: 500; }
.about-points i { color: var(--green); font-size: 1.15rem; }
@media (max-width: 575.98px) { .collage { height: 380px; } .about-points { grid-template-columns: 1fr; } .since-badge { width: 110px; height: 110px; } .since-badge span { font-size: 1.4rem; } }

/* highlights */
.highlights { background: var(--cream); overflow: hidden; }
.highlights::before { content: ""; position: absolute; width: 500px; height: 500px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 197, 2, .18), transparent 70%); top: -150px; left: -150px; }
.hl-card { position: relative; display: block; height: 100%; padding: 2.4rem 2rem; border-radius: var(--radius); background: #fff; color: var(--ink); box-shadow: var(--shadow-sm); overflow: hidden; transition: transform .5s var(--ease-out), box-shadow .5s; }
.hl-card::after { content: ""; position: absolute; left: 0; bottom: 0; height: 4px; width: 100%; background: linear-gradient(90deg, var(--navy), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .6s var(--ease-out); }
.hl-card:hover { box-shadow: var(--shadow-lg); color: var(--ink); }
.hl-card:hover::after { transform: scaleX(1); }
.hl-num { position: absolute; right: 1.4rem; top: .6rem; font-family: var(--font-head); font-size: 4.5rem; color: var(--navy); opacity: .06; transition: opacity .4s, transform .6s var(--ease-out); }
.hl-card:hover .hl-num { opacity: .14; transform: translateY(6px); }
.hl-icon { width: 84px; height: 84px; display: grid; place-items: center; border-radius: 24px; background: var(--gold-soft); margin-bottom: 1.4rem; transition: transform .7s var(--ease-out), border-radius .6s; }
.hl-icon img { width: 50px; height: 50px; object-fit: contain; }
.hl-card:hover .hl-icon { transform: rotateY(180deg); border-radius: 50%; }
.hl-card h3 { font-size: 1.6rem; margin-bottom: .6rem; }
.hl-card p { color: var(--muted); }
.hl-more { font-family: var(--font-ui); font-weight: 600; font-size: .88rem; color: var(--navy); display: inline-flex; gap: .4rem; align-items: center; }
.hl-more i { transition: transform .4s var(--ease-out); }
.hl-card:hover .hl-more i { transform: translateX(6px); }

/* counters */
.counters { position: relative; padding: 90px 0; background-size: cover; background-position: center; background-attachment: fixed; color: #fff; overflow: hidden; }
.counters-overlay { position: absolute; inset: 0; background: linear-gradient(120deg, rgba(27, 94, 32, .94), rgba(46, 125, 50, .86)); }
.counter-box { text-align: center; padding: 1.5rem .5rem; border-radius: var(--radius); border: 1px solid rgba(255, 255, 255, .12); background: rgba(255, 255, 255, .04); backdrop-filter: blur(4px); transition: transform .5s var(--ease-out), background .4s; }
.counter-box:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .09); }
.counter-box i { font-size: 2.2rem; color: var(--gold); display: inline-block; animation: floaty 4s ease-in-out infinite; }
.counter-num { font-family: var(--font-head); font-size: clamp(2.2rem, 4.5vw, 3.4rem); line-height: 1.1; margin: .4rem 0; }
.counter-label { font-family: var(--font-ui); font-size: .82rem; letter-spacing: .12em; text-transform: uppercase; color: rgba(255, 255, 255, .78); }
@media (hover: none) { .counters { background-attachment: scroll; } }

/* principal's message */
.message { background: #fff; }
.message-card { border-radius: 26px; overflow: hidden; box-shadow: var(--shadow-lg); background: #fff; }
.message-side { height: 100%; min-height: 360px; display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; padding: 2.5rem; color: #fff;
  background: radial-gradient(circle at 30% 20%, #4caf50, var(--navy) 55%, var(--navy-deep)); position: relative; overflow: hidden; }
.message-side::before { content: ""; position: absolute; inset: -40%; background: conic-gradient(from 0deg, transparent, rgba(255, 197, 2, .18), transparent 30%); animation: spin 10s linear infinite; }
.message-side > * { position: relative; }
.message-crest { width: 150px; height: 150px; border-radius: 50%; background: #fff; display: grid; place-items: center; margin-bottom: 1.2rem; box-shadow: 0 0 0 10px rgba(255, 255, 255, .08), 0 0 0 22px rgba(255, 197, 2, .12); }
.message-crest img { width: 110px; }
.message-photo { position: relative; width: 210px; height: 210px; margin-bottom: 1.4rem; border-radius: 50%; padding: 6px; background: conic-gradient(var(--gold), #fff, var(--gold)); box-shadow: 0 0 0 12px rgba(255, 255, 255, .06), 0 18px 40px rgba(0, 0, 0, .35); animation: floaty 6s ease-in-out infinite; }
.message-photo img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; object-position: top; border: 4px solid var(--navy); transition: transform .8s var(--ease-out); }
.message-card:hover .message-photo img { transform: scale(1.05); }
.message-side strong { font-family: var(--font-head); font-weight: 400; font-size: 1.5rem; }
.message-side span { font-family: var(--font-ui); color: var(--gold); letter-spacing: .2em; text-transform: uppercase; font-size: .78rem; }
.message-body { position: relative; padding: 3rem; }
.quote-mark { position: absolute; right: 2rem; top: 1rem; font-size: 7rem; color: var(--gold); opacity: .2; line-height: 1; }
.message-text { color: var(--muted); font-size: 1.05rem; margin-bottom: 1.4rem; }
@media (max-width: 575.98px) { .message-body { padding: 2rem 1.3rem; } }

/* results */
.results { background: linear-gradient(180deg, #fff, var(--cream)); }
.trophy-wrap { display: flex; align-items: center; gap: 1rem; margin: 1.5rem 0 2rem; padding: 1rem 1.3rem; border-radius: var(--radius-sm); background: var(--gold-soft); border-left: 4px solid var(--gold); font-family: var(--font-head); color: var(--navy); }
.trophy-wrap i { font-size: 2.4rem; color: var(--gold-2); animation: trophy 2.6s ease-in-out infinite; }
@keyframes trophy { 0%, 100% { transform: rotate(0) scale(1); } 25% { transform: rotate(-10deg) scale(1.1); } 50% { transform: rotate(8deg) scale(1.05); } }
.result-card { padding: 1.8rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); height: 100%; position: relative; overflow: hidden; }
.result-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 5px; background: linear-gradient(90deg, var(--navy), var(--gold)); }
.result-card h3 { font-size: 1.5rem; margin-bottom: 1.2rem; }
.result-row { margin-bottom: 1.1rem; }
.result-meta { display: flex; align-items: baseline; gap: .6rem; font-family: var(--font-ui); font-size: .88rem; margin-bottom: .35rem; }
.result-meta span { color: var(--muted); font-size: .8rem; }
.result-meta b { margin-left: auto; color: var(--navy); font-size: 1.05rem; }
.result-bar { height: 10px; border-radius: 10px; background: var(--line); overflow: hidden; }
.result-bar span { display: block; height: 100%; width: 0; border-radius: 10px; background: linear-gradient(90deg, var(--navy), var(--gold)); transition: width 1.8s var(--ease-out); position: relative; overflow: hidden; }
.result-bar span::after { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent); transform: translateX(-100%); animation: barShine 2.6s 1.8s infinite; }
.in-view .result-bar span, .result-bar.in-view span { width: var(--w); }
@keyframes barShine { to { transform: translateX(100%); } }

/* admission cta */
.admission-cta { padding: 20px 0 100px; background: var(--cream); }
.cta-box { position: relative; display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 2rem; padding: 3.5rem; border-radius: 28px; overflow: hidden; color: #fff;
  background: linear-gradient(120deg, var(--navy-deep), var(--navy) 50%, #4caf50); background-size: 200% 200%; animation: gradientMove 12s ease infinite; box-shadow: var(--shadow-lg); }
@keyframes gradientMove { 0%, 100% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } }
.cta-text { position: relative; max-width: 620px; }
.cta-text h2 { color: #fff; font-size: clamp(1.7rem, 3vw, 2.5rem); }
.cta-text h2 em { color: var(--gold); font-style: normal; }
.cta-text p { color: rgba(255, 255, 255, .8); margin: 0; }
.cta-actions { position: relative; display: flex; flex-wrap: wrap; gap: .8rem; }
.cta-shapes i { position: absolute; border-radius: 50%; }
.cta-shapes i:nth-child(1) { width: 300px; height: 300px; right: -100px; top: -140px; border: 40px solid rgba(255, 197, 2, .1); animation: spin 25s linear infinite; }
.cta-shapes i:nth-child(2) { width: 18px; height: 18px; left: 45%; bottom: 20px; background: var(--gold); animation: floaty 4s infinite; }
.cta-shapes i:nth-child(3) { width: 120px; height: 120px; left: -40px; bottom: -50px; background: rgba(255, 255, 255, .06); animation: floaty 6s infinite reverse; }
@media (max-width: 575.98px) { .cta-box { padding: 2.2rem 1.4rem; } }

/* updates */
.updates { background: #fff; }
.panel-card { height: 100%; padding: 1.6rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); }
.panel-head { display: flex; align-items: center; gap: .7rem; margin-bottom: 1.2rem; padding-bottom: 1rem; border-bottom: 1px dashed var(--line); }
.panel-head > i, .panel-head .bell { width: 44px; height: 44px; border-radius: 12px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 1.2rem; }
.panel-head .bell i { animation: wiggle 2.2s infinite; }
.panel-head h3 { font-size: 1.3rem; margin: 0; }
.panel-head a { margin-left: auto; font-family: var(--font-ui); font-size: .8rem; font-weight: 600; padding: .3rem .8rem; border-radius: 20px; background: var(--gold-soft); color: var(--navy); }
.news-item { display: flex; align-items: center; gap: 1rem; padding: .8rem; border-radius: 14px; color: var(--ink); transition: background .35s, transform .4s var(--ease-out); }
.news-item:hover { background: var(--cream); transform: translateX(6px); color: var(--navy); }
.news-date { flex-shrink: 0; width: 58px; height: 58px; border-radius: 14px; background: var(--gold); color: var(--navy); display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: var(--font-ui); font-size: .72rem; font-weight: 600; text-transform: uppercase; line-height: 1.1; transition: background .3s, color .3s; }
.news-date b { font-size: 1.35rem; }
.news-item:hover .news-date { background: var(--navy); color: #fff; }
.news-title { flex: 1; font-family: var(--font-ui); font-weight: 600; font-size: .92rem; line-height: 1.4; }
.news-title small { display: block; font-weight: 400; color: var(--muted); font-size: .76rem; margin-top: .2rem; }
.news-item > i { font-size: 1.4rem; color: var(--gold-2); transition: transform .4s var(--ease-out); }
.news-item:hover > i { transform: translateX(4px); }
.news-list.big .news-item { border-bottom: 1px solid var(--line); border-radius: 0; }
.event-list { list-style: none; padding: 0; margin: 0; }
.event-list li { display: flex; gap: 1rem; align-items: center; padding: .7rem 0; border-bottom: 1px solid var(--line); }
.event-list li:last-child { border: 0; }
.ev-date { flex-shrink: 0; width: 56px; text-align: center; font-family: var(--font-head); font-size: 1.5rem; color: var(--navy); line-height: 1; padding: .5rem 0; border-radius: 12px; border: 2px solid var(--gold); transition: background .3s, color .3s; }
.event-list li:hover .ev-date { background: var(--navy); color: #fff; border-color: var(--navy); }
.ev-date small { display: block; font-family: var(--font-ui); font-size: .7rem; text-transform: uppercase; color: var(--gold-2); margin-top: .2rem; }
.ev-title { font-family: var(--font-ui); font-weight: 600; font-size: .9rem; line-height: 1.35; }
.ev-title small { display: block; color: var(--muted); font-weight: 400; font-size: .75rem; margin-top: .2rem; }
.notice-card { background: linear-gradient(180deg, #fff, var(--gold-soft)); }
.notice-scroll { height: 320px; overflow: hidden; position: relative; mask-image: linear-gradient(transparent, #000 10%, #000 90%, transparent); }
.notice-move { animation: noticeUp 22s linear infinite; }
.notice-scroll:hover .notice-move { animation-play-state: paused; }
@keyframes noticeUp { from { transform: translateY(0); } to { transform: translateY(-50%); } }
.notice-item { display: block; padding: .75rem .9rem; margin-bottom: .6rem; border-radius: 12px; background: #fff; border-left: 3px solid var(--gold); color: var(--ink); font-family: var(--font-ui); font-size: .86rem; font-weight: 500; box-shadow: var(--shadow-sm); transition: transform .35s var(--ease-out); }
.notice-item:hover { transform: translateX(4px); color: var(--navy); }
.notice-item small { display: block; color: var(--gold-2); font-weight: 600; font-size: .72rem; }

/* gallery */
.gallery-home { background: var(--cream); }
.filter-chips { display: flex; flex-wrap: wrap; gap: .5rem; }
.chip { border: 1px solid var(--line); background: #fff; color: var(--navy); padding: .45rem 1rem; border-radius: 30px; font-family: var(--font-ui); font-size: .82rem; font-weight: 600; cursor: pointer; transition: all .35s var(--ease-out); }
.chip b { display: inline-grid; place-items: center; min-width: 22px; height: 22px; margin-left: .2rem; padding: 0 5px; border-radius: 11px; background: var(--gold-soft); font-size: .7rem; }
.chip:hover { border-color: var(--gold); transform: translateY(-2px); }
.chip.is-active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 8px 20px rgba(46, 125, 50, .25); }
.chip.is-active b { background: var(--gold); color: var(--navy); }
.album-col { transition: opacity .45s var(--ease), transform .55s var(--ease-out); }
.album-col.is-hidden { display: none; }
.album-col.pop { animation: pop .55s var(--ease-out) both; }
@keyframes pop { from { opacity: 0; transform: scale(.85) translateY(20px); } to { opacity: 1; transform: none; } }
.album-card { position: relative; display: block; aspect-ratio: 4 / 3.3; border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow-sm); background: var(--navy); isolation: isolate; }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease-out), filter .6s; }
.album-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(27, 94, 32, .92) 0%, rgba(27, 94, 32, .1) 60%); transition: background .5s; }
.album-card:hover img { transform: scale(1.12) rotate(1deg); filter: saturate(1.2); }
.album-card:hover::after { background: linear-gradient(0deg, rgba(46, 125, 50, .95) 0%, rgba(46, 125, 50, .35) 100%); }
.album-count { position: absolute; top: .8rem; right: .8rem; z-index: 2; padding: .25rem .7rem; border-radius: 20px; background: rgba(255, 255, 255, .92); color: var(--navy); font-family: var(--font-ui); font-size: .75rem; font-weight: 600; }
.album-info { position: absolute; left: 0; right: 0; bottom: 0; z-index: 2; padding: 1rem 1.1rem; color: #fff; transform: translateY(8px); transition: transform .5s var(--ease-out); }
.album-card:hover .album-info { transform: none; }
.album-info small { display: inline-block; font-family: var(--font-ui); font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--navy); background: var(--gold); padding: .1rem .55rem; border-radius: 10px; }
.album-info strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.05rem; line-height: 1.3; margin-top: .35rem; }
.album-info em { display: block; font-style: normal; font-size: .75rem; opacity: 0; max-height: 0; transition: opacity .4s, max-height .4s; color: rgba(255, 255, 255, .8); }
.album-card:hover .album-info em { opacity: 1; max-height: 20px; }
.gallery-tools { display: flex; flex-wrap: wrap; gap: 1rem; align-items: center; justify-content: space-between; margin-bottom: 2rem; padding: 1rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); border: 1px solid var(--line); }
.search-box { position: relative; flex: 1 1 280px; max-width: 420px; }
.search-box i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.search-box input { width: 100%; padding: .75rem 1rem .75rem 2.6rem; border-radius: 30px; border: 2px solid var(--line); font-family: var(--font-ui); font-size: .92rem; outline: none; transition: border-color .3s, box-shadow .3s; }
.search-box input:focus { border-color: var(--gold); box-shadow: 0 0 0 5px rgba(255, 197, 2, .15); }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); }
.empty-state i { font-size: 3rem; color: var(--gold); display: block; margin-bottom: .6rem; }
.album-head { text-align: center; margin-bottom: 2.4rem; }
.album-head h2 { font-size: clamp(1.8rem, 3vw, 2.6rem); margin: .5rem 0; }
.album-cat { display: inline-block; padding: .25rem .9rem; border-radius: 20px; background: var(--gold); color: var(--navy); font-family: var(--font-ui); font-weight: 600; font-size: .75rem; letter-spacing: .1em; text-transform: uppercase; }
.album-sub { color: var(--muted); font-family: var(--font-ui); font-size: .88rem; }
.back-link { display: inline-flex; gap: .4rem; align-items: center; font-family: var(--font-ui); font-weight: 600; font-size: .85rem; margin-bottom: 1rem; }
.back-link:hover i { animation: nudge .6s; }
@keyframes nudge { 50% { transform: translateX(-5px); } }
.masonry { columns: 4 260px; column-gap: 14px; }
.masonry-item { position: relative; display: block; margin-bottom: 14px; break-inside: avoid; border-radius: 14px; overflow: hidden; box-shadow: var(--shadow-sm); background: var(--line); }
.masonry-item img { width: 100%; display: block; transition: transform .9s var(--ease-out); }
.masonry-item:hover img { transform: scale(1.08); }
.masonry-item .zoom { position: absolute; inset: 0; display: grid; place-items: center; background: rgba(46, 125, 50, .45); color: #fff; font-size: 1.6rem; opacity: 0; transition: opacity .4s; }
.masonry-item .zoom i { width: 60px; height: 60px; display: grid; place-items: center; border-radius: 50%; background: var(--gold); color: var(--navy); transform: scale(.4); transition: transform .5s var(--ease-out); }
.masonry-item:hover .zoom { opacity: 1; }
.masonry-item:hover .zoom i { transform: scale(1); }
.more-title { margin: 3rem 0 1.2rem; }

/* videos */
.video-home { background: linear-gradient(135deg, #1b5e20, #2e7d32 55%, #388e3c); overflow: hidden; }
.video-home::before { content: ""; position: absolute; width: 600px; height: 600px; right: -200px; top: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 197, 2, .14), transparent 70%); }
.video-nav { display: flex; gap: .5rem; }
.video-nav button { width: 48px; height: 48px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .3); background: transparent; color: #fff; transition: all .35s; }
.video-nav button:hover { background: var(--gold); color: var(--navy); border-color: var(--gold); }
.video-card { display: block; color: #fff; border-radius: var(--radius); overflow: hidden; background: rgba(255, 255, 255, .06); border: 1px solid rgba(255, 255, 255, .1); transition: transform .5s var(--ease-out), background .4s; height: 100%; }
.video-card:hover { transform: translateY(-8px); background: rgba(255, 255, 255, .1); color: #fff; }
.video-card.light { background: #fff; color: var(--ink); border-color: var(--line); box-shadow: var(--shadow-sm); }
.video-card.light:hover { color: var(--navy); box-shadow: var(--shadow-lg); }
.video-thumb { position: relative; display: block; aspect-ratio: 16 / 9; overflow: hidden; }
.video-thumb img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease-out); }
.video-card:hover .video-thumb img { transform: scale(1.1); }
.video-thumb::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(0, 0, 0, .45), transparent 60%); }
.play { position: absolute; left: 50%; top: 50%; z-index: 2; width: 66px; height: 66px; margin: -33px 0 0 -33px; border-radius: 50%; display: grid; place-items: center; background: #ff0000; color: #fff; font-size: 2rem; box-shadow: 0 0 0 0 rgba(255, 0, 0, .6); animation: ytPulse 2s infinite; transition: transform .5s var(--ease-out); }
.video-card:hover .play { transform: scale(1.15); }
.v-cat { position: absolute; left: .8rem; top: .8rem; z-index: 2; background: var(--gold); color: var(--navy); font-family: var(--font-ui); font-size: .7rem; font-weight: 600; padding: .15rem .6rem; border-radius: 10px; }
.video-meta { display: block; padding: 1rem 1.1rem 1.2rem; }
.video-meta strong { display: block; font-family: var(--font-ui); font-weight: 600; font-size: .95rem; line-height: 1.4; }
.video-meta small { display: block; margin-top: .3rem; opacity: .7; font-size: .78rem; }
.yt-banner { display: flex; flex-wrap: wrap; align-items: center; gap: 1.2rem; padding: 1.4rem 1.6rem; border-radius: var(--radius); margin-bottom: 1.5rem; color: #fff; background: linear-gradient(120deg, #b30000, #ff0000 60%, #ff4d4d); box-shadow: 0 16px 40px rgba(255, 0, 0, .25); }
.yt-banner-icon { width: 60px; height: 60px; border-radius: 16px; display: grid; place-items: center; background: #fff; color: #ff0000; font-size: 2rem; animation: crestPulse 2s infinite; }
.yt-banner strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.35rem; }
.yt-banner span { opacity: .9; font-size: .9rem; }
.yt-banner .btn-white { margin-left: auto; }

/* dual band */
.dual-band { padding-top: 90px; padding-bottom: 90px; background: #fff; }
.band { display: flex; gap: 1.4rem; align-items: flex-start; height: 100%; padding: 2.2rem; border-radius: 24px; position: relative; overflow: hidden; transition: transform .5s var(--ease-out); }
.band:hover { transform: translateY(-6px); }
.band-fee { background: linear-gradient(135deg, #e8f5e9, #fffbe6); border: 1px solid #c8e6c9; }
.band-yt { background: linear-gradient(135deg, #c00, #ff2d2d); color: #fff; }
.band-yt h3, .band-yt p { color: #fff; }
.band-icon { flex-shrink: 0; width: 72px; height: 72px; border-radius: 20px; display: grid; place-items: center; font-size: 2rem; background: #2e7d32; color: #fff; box-shadow: 0 12px 26px rgba(29, 122, 70, .3); animation: floaty 4s ease-in-out infinite; }
.band-yt .band-icon { background: #fff; color: #f00; }
.band h3 { font-size: 1.6rem; margin-bottom: .4rem; }
.band h3 em { font-style: normal; color: #2e7d32; }
.code-chip { display: inline-block; padding: .05rem .55rem; border-radius: 8px; background: var(--navy); color: var(--gold); letter-spacing: .08em; }
@media (max-width: 575.98px) { .band { flex-direction: column; padding: 1.6rem; } }

/* people */
.people { background: var(--cream); }
.person-card { text-align: center; padding: 2rem 1.4rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow-sm); height: 100%; transition: transform .5s var(--ease-out); }
.person-card:hover { transform: translateY(-6px); }
.person-card img { width: 120px; height: 120px; border-radius: 50%; object-fit: cover; border: 4px solid var(--gold); margin-bottom: 1rem; }
.person-card h3 { font-size: 1.2rem; margin-bottom: .2rem; }
.person-card strong { font-family: var(--font-ui); font-size: .85rem; color: var(--gold-2); }
.person-card p { color: var(--muted); font-size: .9rem; margin-top: .6rem; }
.people-swiper { padding-bottom: 40px; }

/* ---------- inner pages ---------- */
.page-hero { position: relative; min-height: 300px; display: flex; align-items: center; overflow: hidden; color: #fff; }
.page-hero-bg { position: absolute; inset: -10%; background-size: cover; background-position: center; animation: kenburns 20s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.15) translate(-2%, -2%); } }
.page-hero-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(27, 94, 32, .9), rgba(56, 142, 60, .7) 60%, rgba(102, 187, 106, .45)); }
.page-hero-shapes i { position: absolute; border-radius: 50%; }
.page-hero-shapes i:nth-child(1) { width: 220px; height: 220px; right: 6%; top: -60px; border: 2px dashed rgba(255, 197, 2, .45); animation: spin 26s linear infinite; }
.page-hero-shapes i:nth-child(2) { width: 12px; height: 12px; right: 30%; bottom: 30%; background: var(--gold); animation: floaty 4s infinite; }
.page-hero-shapes i:nth-child(3) { width: 70px; height: 70px; right: 15%; bottom: -20px; background: rgba(255, 255, 255, .07); animation: floaty 6s infinite reverse; }
.page-hero-inner { position: relative; z-index: 2; padding-top: 70px; padding-bottom: 70px; }
.page-hero-title { color: #fff; font-size: clamp(2rem, 4.4vw, 3.3rem); margin-bottom: .8rem; }
.crumbs { display: inline-flex; flex-wrap: wrap; align-items: center; gap: .5rem; padding: .5rem 1.1rem; border-radius: 30px; background: rgba(255, 255, 255, .1); backdrop-filter: blur(6px); font-family: var(--font-ui); font-size: .85rem; animation: fadeUp .8s var(--ease-out) .4s both; }
.crumbs a { color: #fff; }
.crumbs a:hover { color: var(--gold); }
.crumbs > i { font-size: .7rem; opacity: .6; }
.crumbs span { color: var(--gold); }
.page-main { padding: 70px 0 90px; background: linear-gradient(180deg, var(--cream), #fff 320px); }
.side-menu { border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); overflow: hidden; position: sticky; top: 100px; }
.side-menu h3 { margin: 0; padding: 1.1rem 1.3rem; background: var(--navy); color: #fff; font-size: 1.2rem; position: relative; }
.side-menu h3::after { content: ""; position: absolute; left: 1.3rem; bottom: 0; width: 50px; height: 3px; background: var(--gold); }
.side-menu ul { list-style: none; margin: 0; padding: .5rem; }
.side-menu a { display: flex; gap: .5rem; align-items: center; padding: .7rem .9rem; border-radius: 10px; font-family: var(--font-ui); font-size: .9rem; font-weight: 500; color: var(--ink); transition: background .3s, color .3s, padding .35s var(--ease-out); }
.side-menu a i { font-size: .72rem; color: var(--gold-2); transition: transform .35s; }
.side-menu a:hover, .side-menu a.is-active { background: var(--gold-soft); color: var(--navy); padding-left: 1.2rem; }
.side-menu a.is-active { font-weight: 700; box-shadow: inset 3px 0 0 var(--gold); }
.side-cta { margin-top: 1.4rem; padding: 1.6rem; border-radius: var(--radius); text-align: center; color: #fff; background: linear-gradient(135deg, var(--navy), #4caf50); display: grid; gap: .2rem; }
.side-cta i { font-size: 2rem; color: var(--gold); }
.side-cta strong { font-family: var(--font-head); font-weight: 400; font-size: 1.2rem; }
.side-cta span { font-size: .85rem; opacity: .8; }
.side-cta a { color: var(--gold); font-family: var(--font-ui); font-weight: 700; font-size: 1.1rem; }
@media (max-width: 991.98px) { .side-menu { position: static; } }
.page-content { background: #fff; border-radius: 22px; padding: 2.6rem; box-shadow: var(--shadow); border: 1px solid var(--line); min-height: 300px; overflow-wrap: anywhere; }
.page-content > *:first-child { margin-top: 0; }
.page-content h2 { font-size: 1.9rem; }
.page-content h3 { font-size: 1.45rem; margin: 2rem 0 1rem; position: relative; padding-left: 1rem; }
.page-content h3::before { content: ""; position: absolute; left: 0; top: .2em; bottom: .2em; width: 4px; border-radius: 4px; background: var(--gold); }
.page-content p { color: #3f4a5c; }
.page-content .lead { font-size: 1.12rem; color: var(--muted); }
.page-content img { height: auto; border-radius: 12px; }
.page-content table:not(.table) { width: 100% !important; height: auto !important; }
.page-content table:not(.table) td { padding: 6px 8px; }
.page-section { margin-top: 2.4rem; }
@media (max-width: 575.98px) { .page-content { padding: 1.4rem; border-radius: 16px; } .page-main { padding: 40px 0 60px; } }

.table-theme { border-radius: 14px; overflow: hidden; box-shadow: 0 0 0 1px var(--line); font-family: var(--font-ui); font-size: .9rem; margin-bottom: 1.2rem; }
.table-theme thead th { background: var(--navy); color: #fff; font-weight: 600; border: 0; padding: .9rem .8rem; white-space: nowrap; font-size: .82rem; letter-spacing: .02em; }
.table-theme td { padding: .75rem .8rem; border-color: var(--line); vertical-align: middle; }
.table-theme tbody tr { transition: background .3s; }
.table-theme tbody tr:nth-child(even) { background: #f8fafd; }
.table-theme tbody tr:hover { background: var(--gold-soft); }
.table-theme .table-total td { background: var(--navy); color: #fff; font-weight: 700; }
.info-grid { margin-bottom: 1.4rem; }
.info-tile { height: 100%; padding: 1.3rem 1rem; border-radius: 16px; background: var(--cream); border: 1px solid #d7ecd6; text-align: center; transition: transform .45s var(--ease-out), box-shadow .45s; }
.info-tile:hover { transform: translateY(-6px); box-shadow: var(--shadow); background: #fff; }
.info-tile i { display: block; font-size: 1.8rem; color: var(--gold-2); margin-bottom: .4rem; }
.info-tile strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.4rem; color: var(--navy); }
.info-tile span { display: block; font-family: var(--font-ui); font-size: .8rem; color: var(--muted); }
.callout { display: flex; gap: .8rem; align-items: center; padding: 1rem 1.2rem; border-radius: 14px; background: var(--gold-soft); border-left: 4px solid var(--gold); font-family: var(--font-ui); font-size: .95rem; margin-bottom: 1.2rem; }
.callout i { font-size: 1.5rem; color: var(--gold-2); }
.steps { list-style: none; counter-reset: step; padding: 0; margin: 0 0 1.5rem; display: grid; gap: .9rem; }
.steps li { counter-increment: step; position: relative; padding: 1rem 1rem 1rem 4.2rem; border-radius: 14px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); transition: transform .4s var(--ease-out), border-color .3s; }
.steps li:hover { transform: translateX(6px); border-color: var(--gold); }
.steps li::before { content: counter(step); position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-family: var(--font-head); font-size: 1.2rem; }
.steps li strong { display: block; font-family: var(--font-ui); color: var(--navy); }
.steps li span { color: var(--muted); font-size: .93rem; }
.check-list { list-style: none; padding: 0; display: grid; gap: .55rem; }
.check-list li { position: relative; padding-left: 2rem; }
.check-list li::before { content: "\F26A"; font-family: bootstrap-icons; position: absolute; left: 0; top: 0; color: var(--green); font-size: 1.1rem; }
.cta-inline { display: flex; flex-wrap: wrap; gap: .8rem; margin-top: 1.5rem; }
.doc-card { margin: 2rem 0 0; border-radius: 18px; overflow: hidden; border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: #fff; }
.doc-card-head { display: flex; flex-wrap: wrap; align-items: center; gap: 1rem; padding: 1rem 1.2rem; background: var(--cream); border-bottom: 1px solid var(--line); }
.doc-card-head > i { font-size: 2rem; color: #d93025; }
.doc-card-head strong { display: block; font-family: var(--font-ui); color: var(--navy); }
.doc-card-head span { font-size: .8rem; color: var(--muted); }
.doc-card-actions { margin-left: auto; display: flex; gap: .5rem; }
.pdf-frame { position: relative; height: 640px; background: #f1f3f7; }
.pdf-frame iframe { width: 100%; height: 100%; border: 0; }
@media (max-width: 767.98px) { .pdf-frame { height: 420px; } }
.timeline { position: relative; display: grid; gap: .6rem; margin: 1rem 0 1.5rem; padding-left: 1.4rem; border-left: 2px dashed var(--gold); }
.timeline-item { position: relative; display: flex; flex-wrap: wrap; gap: .3rem 1rem; padding: .7rem 1rem; border-radius: 12px; background: #fff; border: 1px solid var(--line); transition: transform .35s var(--ease-out), box-shadow .35s; }
.timeline-item:hover { transform: translateX(6px); box-shadow: var(--shadow-sm); }
.timeline-item::before { content: ""; position: absolute; left: calc(-1.4rem - 7px); top: 50%; width: 12px; height: 12px; margin-top: -6px; border-radius: 50%; background: var(--navy); border: 2px solid var(--gold); }
.timeline-date { font-family: var(--font-ui); font-weight: 700; color: var(--navy); min-width: 110px; font-size: .88rem; }
.timeline-title { color: var(--ink); font-size: .93rem; }
.council-card { text-align: center; padding: 1.4rem .8rem; border-radius: 16px; background: linear-gradient(160deg, var(--navy), #4caf50); color: #fff; height: 100%; transition: transform .5s var(--ease-out); }
.council-card:hover { transform: translateY(-8px) rotate(-1deg); }
.council-card i { color: var(--gold); font-size: 1.4rem; }
.council-card strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.1rem; margin: .4rem 0 .2rem; }
.council-card span { font-family: var(--font-ui); font-size: .76rem; color: var(--gold); text-transform: uppercase; letter-spacing: .08em; }
.house-card { height: 100%; padding: 1.3rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); border-top: 5px solid var(--hc); box-shadow: var(--shadow-sm); }
.house-card h4 { color: var(--hc); font-size: 1.2rem; }
.house-card ul { list-style: none; padding: 0; margin: 0; }
.house-card li { padding: .45rem 0; border-bottom: 1px dashed var(--line); font-size: .9rem; }
.house-card li em { font-style: normal; color: var(--muted); font-size: .8rem; }
.house-card li span { float: right; font-family: var(--font-ui); font-size: .72rem; font-weight: 600; background: var(--hc); color: #fff; padding: .05rem .5rem; border-radius: 8px; }
.house-red { --hc: #d62828; } .house-blue { --hc: #1d4ed8; } .house-green { --hc: #15803d; } .house-yellow { --hc: #d4a100; } .house-navy { --hc: var(--navy); } .house-gold { --hc: #b7791f; }
.principal-card { display: grid; grid-template-columns: 180px 1fr; gap: 2rem; align-items: start; }
.principal-photo { width: 180px; height: 180px; border-radius: 50%; overflow: hidden; background: var(--navy); box-shadow: 0 0 0 6px #fff, 0 0 0 10px var(--gold), var(--shadow); animation: floaty 6s ease-in-out infinite; }
.principal-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; border-radius: 0 !important; }
.principal-card .sign { margin-top: 1.4rem; font-family: var(--font-ui); color: var(--navy); }
@media (max-width: 767.98px) { .principal-card { grid-template-columns: 1fr; } .principal-photo { margin: 0 auto; } }
.fee-app-hero { display: grid; grid-template-columns: 1.3fr 1fr; gap: 2rem; align-items: center; padding: 2rem; border-radius: 20px; background: linear-gradient(135deg, #e8f5e9, #fffbe6); margin-bottom: 2rem; }
.fee-app-hero h2 em { font-style: normal; color: #2e7d32; }
.badge-soft { display: inline-block; padding: .25rem .8rem; border-radius: 20px; background: #2e7d32; color: #fff; font-family: var(--font-ui); font-size: .75rem; font-weight: 600; margin-bottom: .6rem; }
.school-code { display: inline-flex; flex-direction: column; padding: .8rem 1.4rem; border-radius: 14px; background: var(--navy); color: rgba(255, 255, 255, .7); font-family: var(--font-ui); font-size: .75rem; letter-spacing: .15em; text-transform: uppercase; margin: .4rem 1rem 1rem 0; }
.school-code strong { color: var(--gold); font-size: 1.5rem; letter-spacing: .12em; }
.phone { width: 190px; height: 360px; margin: 0 auto; border-radius: 34px; background: #111; padding: 12px; box-shadow: var(--shadow-lg); animation: floaty 5s ease-in-out infinite; }
.phone-screen { height: 100%; border-radius: 24px; background: linear-gradient(160deg, var(--navy), #4caf50); color: #fff; display: flex; flex-direction: column; align-items: center; justify-content: center; gap: .4rem; text-align: center; }
.phone-screen i { font-size: 3rem; color: var(--gold); }
.phone-screen strong { font-family: var(--font-ui); }
.phone-screen span { font-family: var(--font-ui); letter-spacing: .1em; color: var(--gold); font-size: .85rem; }
.phone-screen em { margin-top: 1rem; font-style: normal; background: var(--gold); color: var(--navy); font-family: var(--font-ui); font-weight: 700; padding: .45rem 1.2rem; border-radius: 20px; animation: crestPulse 1.8s infinite; }
@media (max-width: 767.98px) { .fee-app-hero { grid-template-columns: 1fr; } }

/* disclosure */
.md-intro { display: flex; gap: 1.2rem; align-items: center; padding: 1.6rem; border-radius: 20px; background: linear-gradient(120deg, var(--navy), #4caf50); color: #fff; margin-bottom: 1.6rem; box-shadow: var(--shadow); }
.md-intro h2 { color: #fff; margin: 0 0 .3rem; font-size: 1.7rem; }
.md-intro p { margin: 0; opacity: .85; }
.md-intro-icon { flex-shrink: 0; width: 70px; height: 70px; border-radius: 20px; display: grid; place-items: center; background: var(--gold); color: var(--navy); font-size: 2rem; animation: crestPulse 2.4s infinite; }
.md-tabs { display: flex; flex-wrap: wrap; gap: .5rem; margin-bottom: 1.6rem; }
.md-tab { display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1.1rem; border-radius: 14px; border: 1px solid var(--line); background: #fff; color: var(--navy); font-family: var(--font-ui); font-weight: 600; font-size: .86rem; cursor: pointer; transition: all .35s var(--ease-out); }
.md-tab i { color: var(--gold-2); }
.md-tab:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); }
.md-tab.is-active { background: var(--navy); color: #fff; border-color: var(--navy); box-shadow: 0 10px 22px rgba(46, 125, 50, .25); }
.md-tab.is-active i { color: var(--gold); }
.md-panel { display: none; }
.md-panel.is-active { display: block; animation: panelIn .6s var(--ease-out); }
@keyframes panelIn { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }
.md-panel.is-active .md-table tbody tr { animation: rowIn .5s var(--ease-out) both; animation-delay: calc(var(--i) * 45ms); }
@keyframes rowIn { from { opacity: 0; transform: translateX(-14px); } to { opacity: 1; transform: none; } }
.md-title { font-size: 1.4rem; margin: 1.4rem 0 1rem; }
.md-title i { color: var(--gold-2); }
.doc-btn { display: inline-flex; align-items: center; gap: .35rem; padding: .35rem .8rem; border-radius: 20px; background: #d93025; color: #fff; font-size: .78rem; font-weight: 600; transition: transform .3s, background .3s; }
.doc-btn:hover { color: #fff; transform: translateY(-2px); background: #a51d14; }
.doc-btn.ghost { background: var(--line); color: var(--navy); }
.doc-btn.ghost:hover { background: var(--gold); color: var(--navy); }

/* results page */
.results-hero { display: flex; gap: 1.4rem; align-items: center; padding: 2rem; margin-bottom: 2rem; border-radius: 22px; color: #fff; background: linear-gradient(120deg, #7a0019, #b8002f 50%, var(--navy)); box-shadow: var(--shadow); }
.results-hero > i { font-size: 3.6rem; color: var(--gold); animation: trophy 2.6s infinite; }
.results-hero h2 { color: #fff; margin: 0 0 .3rem; }
.results-hero p { margin: 0; opacity: .9; }
.result-card.big h3 { font-size: 2rem; }
.pc-pill { display: inline-block; padding: .15rem .7rem; border-radius: 20px; background: var(--gold); color: var(--navy); font-weight: 700; }
.motto-line { font-family: var(--font-head); color: var(--navy); font-size: 1.2rem; }
.motto-line em { color: #b8002f; }

/* contact */
.contact-card { height: 100%; padding: 2rem 1.6rem; border-radius: var(--radius); background: #fff; box-shadow: var(--shadow); text-align: center; border: 1px solid var(--line); transition: transform .5s var(--ease-out); }
.contact-card:hover { transform: translateY(-8px); }
.cc-icon { width: 70px; height: 70px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 1.7rem; box-shadow: 0 0 0 8px var(--gold-soft); transition: transform .6s var(--ease-out); }
.contact-card:hover .cc-icon { transform: rotateY(360deg); }
.contact-card h3 { font-size: 1.3rem; }
.contact-card p { color: var(--muted); margin: 0; }
.enquiry-form { padding: 2.2rem; border-radius: 22px; background: #fff; box-shadow: var(--shadow); border: 1px solid var(--line); height: 100%; }
.fl { position: relative; }
.fl input, .fl select, .fl textarea { width: 100%; padding: 1.35rem 1rem .5rem; border-radius: 12px; border: 2px solid var(--line); background: #fbfcfe; font-family: var(--font-ui); font-size: .95rem; outline: none; transition: border-color .3s, box-shadow .3s, background .3s; }
.fl select { padding-top: 1.4rem; }
.fl textarea { resize: vertical; }
.fl label { position: absolute; left: 1rem; top: 1rem; color: var(--muted); font-family: var(--font-ui); font-size: .93rem; pointer-events: none; transition: all .25s var(--ease); }
.fl input:focus, .fl select:focus, .fl textarea:focus { border-color: var(--gold); background: #fff; box-shadow: 0 0 0 5px rgba(255, 197, 2, .14); }
.fl input:focus + label, .fl input:not(:placeholder-shown) + label, .fl textarea:focus + label, .fl textarea:not(:placeholder-shown) + label, .fl select + label { top: .35rem; font-size: .72rem; color: var(--navy); font-weight: 600; }
.hp-field { position: absolute; left: -9999px; }
.form-alert { padding: .9rem 1.1rem; border-radius: 12px; margin-bottom: 1rem; font-family: var(--font-ui); font-size: .92rem; animation: fadeUp .6s var(--ease-out); }
.form-alert.ok { background: #e9f8ef; color: #17613a; }
.form-alert.err { background: #fdecec; color: #a31515; }
.map-card { height: 100%; min-height: 420px; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow); border: 6px solid #fff; }
.map-card iframe { width: 100%; height: 100%; min-height: 420px; border: 0; filter: saturate(1.1); }

.not-found .nf-code { font-family: var(--font-head); font-size: clamp(6rem, 18vw, 11rem); line-height: 1; background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy)); background-size: 200%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 4s linear infinite; }

/* ---------- footer ---------- */
.site-footer { position: relative; background: linear-gradient(160deg, #1b5e20, #245f28 45%, #133f17); color: rgba(255, 255, 255, .75); padding-top: 110px; overflow: hidden; }
.footer-wave { position: absolute; top: -1px; left: 0; right: 0; height: 80px; transform: rotate(180deg); }
.footer-wave svg { width: 100%; height: 100%; }
.footer-wave path { fill: #fff; }
.footer-glow { position: absolute; width: 520px; height: 520px; right: -160px; bottom: -200px; border-radius: 50%; background: radial-gradient(circle, rgba(255, 197, 2, .14), transparent 70%); animation: floaty 9s infinite; }
.footer-main { position: relative; padding-bottom: 3rem; }
.footer-brand { display: flex; align-items: center; gap: .8rem; color: #fff; margin-bottom: 1rem; }
.footer-brand img { width: 64px; height: 64px; background: #fff; border-radius: 50%; padding: 6px; }
.footer-brand strong { display: block; font-family: var(--font-ui); font-size: 1.5rem; line-height: 1; }
.footer-brand small { font-family: var(--font-ui); font-size: .7rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.footer-brand:hover { color: #fff; }
.footer-about { font-size: .93rem; }
.footer-social { display: flex; gap: .6rem; margin-top: 1.2rem; }
.footer-social a { width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .08); color: #fff; font-size: 1.1rem; transition: transform .45s var(--ease-out), background .3s; }
.footer-social a img { width: 20px; }
.footer-social a:hover { background: var(--gold); color: var(--navy); transform: translateY(-5px) rotate(8deg); }
.footer-title { color: #fff; font-size: 1.2rem; margin-bottom: 1.2rem; position: relative; padding-bottom: .6rem; }
.footer-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 40px; height: 2px; background: var(--gold); transition: width .5s var(--ease-out); }
.footer-main [class*=col]:hover .footer-title::after { width: 70px; }
.footer-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .45rem; }
.footer-links a { color: rgba(255, 255, 255, .75); font-size: .93rem; display: inline-flex; align-items: center; gap: .4rem; transition: color .3s, transform .35s var(--ease-out); }
.footer-links a i { font-size: .65rem; color: var(--gold); }
.footer-links a:hover { color: var(--gold); transform: translateX(5px); }
.footer-contact { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .7rem; font-size: .92rem; }
.footer-contact li { display: flex; gap: .7rem; }
.footer-contact i { color: var(--gold); margin-top: .2rem; }
.footer-contact a { color: rgba(255, 255, 255, .8); }
.footer-contact a:hover { color: var(--gold); }
.footer-fee { display: flex; gap: .8rem; align-items: center; padding: .8rem 1rem; border-radius: 14px; background: rgba(255, 255, 255, .06); border: 1px dashed rgba(255, 197, 2, .4); }
.footer-fee i { font-size: 1.5rem; color: var(--gold); }
.footer-fee small { display: block; font-size: .75rem; }
.footer-fee strong { color: #fff; font-family: var(--font-ui); font-size: .9rem; letter-spacing: .04em; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .08); padding: 1.1rem 0; font-size: .85rem; position: relative; }
.footer-bottom-inner { display: flex; flex-wrap: wrap; justify-content: space-between; gap: .5rem; }
.footer-bottom p { margin: 0; }
.powered a { font-weight: 700; color: var(--gold); position: relative; }
.powered a span { background: linear-gradient(90deg, var(--gold), #fff, var(--gold)); background-size: 200%; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 3s linear infinite; }

/* ---------- floating ---------- */
.float-yt { position: fixed; left: 18px; bottom: 22px; z-index: 900; display: flex; align-items: center; gap: .5rem; padding: .55rem 1rem .55rem .6rem; border-radius: 30px; background: #ff0000; color: #fff; font-family: var(--font-ui); font-weight: 600; font-size: .85rem; box-shadow: 0 10px 26px rgba(255, 0, 0, .35); transform: translateY(120px); transition: transform .6s var(--ease-out); }
.float-yt i { font-size: 1.4rem; }
.float-yt.show { transform: none; }
.float-yt:hover { color: #fff; background: #cc0000; }
.back-to-top { position: fixed; right: 18px; bottom: 22px; z-index: 900; width: 54px; height: 54px; border: 0; border-radius: 50%; background: var(--navy); color: #fff; box-shadow: var(--shadow); opacity: 0; visibility: hidden; transform: translateY(20px) scale(.8); transition: all .45s var(--ease-out); }
.back-to-top.show { opacity: 1; visibility: visible; transform: none; }
.back-to-top:hover { background: var(--gold); color: var(--navy); }
.back-to-top svg { position: absolute; inset: 0; width: 100%; height: 100%; transform: rotate(-90deg); }
.back-to-top circle { fill: none; stroke: rgba(255, 255, 255, .15); stroke-width: 3; }
.back-to-top circle.progress { stroke: var(--gold); stroke-dasharray: 132; stroke-dashoffset: 132; stroke-linecap: round; }
.back-to-top i { position: relative; font-size: 1.2rem; }
@media (max-width: 575.98px) { .float-yt span { display: none; } .float-yt { padding: .6rem; } }

/* popup */
.popup-modal .modal-content { border: 0; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); }
.popup-modal.show .modal-dialog { animation: popIn .7s var(--ease-out); }
@keyframes popIn { from { transform: scale(.7) translateY(40px); opacity: 0; } to { transform: none; opacity: 1; } }
.popup-img { width: 100%; display: block; }
.popup-close { position: absolute; right: 12px; top: 12px; z-index: 3; width: 38px; height: 38px; border-radius: 50%; border: 0; background: #fff; color: var(--navy); box-shadow: var(--shadow-sm); transition: transform .4s; }
.popup-close:hover { transform: rotate(90deg); background: var(--gold); }

/* glightbox tweaks */
.glightbox-clean .gslide-description { background: var(--navy); }
.glightbox-clean .gslide-title { color: #fff; font-family: var(--font-ui); margin: 0; }
.goverlay { background: rgba(16, 60, 20, .94) !important; }

/* tilt */
.tilt { will-change: transform; }

/* reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .hero-img { transform: none !important; }
}

/* ==========================================================================
   EXTRA MOTION LAYER
   ========================================================================== */
/* entrance of the header */
.topbar { animation: gradientMove 14s ease infinite, slideDown .8s var(--ease-out) both; }
.site-header { animation: slideDown .9s var(--ease-out) .1s both; }
@keyframes slideDown { from { transform: translateY(-100%); opacity: 0; } to { transform: none; opacity: 1; } }
.brand-crest { animation: crestSwing 6s ease-in-out infinite; }
@keyframes crestSwing { 0%, 100% { transform: rotate(0); } 50% { transform: rotate(-6deg) scale(1.04); } }

/* particles canvas (hero + page banners) */
.fx-particles { position: absolute; inset: 0; z-index: 3; pointer-events: none; }

/* cursor glow */
.cursor-glow { position: fixed; left: 0; top: 0; width: 34px; height: 34px; margin: -17px 0 0 -17px; border-radius: 50%; border: 2px solid var(--gold); pointer-events: none; z-index: 3000; mix-blend-mode: multiply; transition: width .3s, height .3s, margin .3s, background .3s, opacity .3s; opacity: 0; }
.cursor-dot { position: fixed; left: 0; top: 0; width: 6px; height: 6px; margin: -3px 0 0 -3px; border-radius: 50%; background: var(--navy); pointer-events: none; z-index: 3001; opacity: 0; }
body.cursor-on .cursor-glow, body.cursor-on .cursor-dot { opacity: 1; }
body.cursor-hover .cursor-glow { width: 64px; height: 64px; margin: -32px 0 0 -32px; background: rgba(255, 197, 2, .22); border-color: transparent; }

/* image wipe reveal */
.wipe > img { clip-path: inset(0 100% 0 0); transform: scale(1.2); transition: clip-path 1.3s var(--ease-out), transform 1.8s var(--ease-out); }
.wipe.in > img { clip-path: inset(0 0 0 0); transform: scale(1); }

/* shine sweep on cards */
.sheen { position: absolute; inset: 0; z-index: 4; pointer-events: none; overflow: hidden; border-radius: inherit; }
.sheen::before { content: ""; position: absolute; top: -50%; left: -75%; width: 50%; height: 200%; background: linear-gradient(100deg, transparent, rgba(255, 255, 255, .55), transparent); transform: rotate(12deg) translateX(-150%); }
*:hover > .sheen::before { animation: sheen 1s var(--ease-out); }
@keyframes sheen { to { transform: rotate(12deg) translateX(520%); } }

/* heading underline draws in */
.section-title::after { content: ""; display: block; width: 70px; height: 4px; margin-top: .7rem; border-radius: 4px; background: linear-gradient(90deg, var(--gold), var(--leaf)); transform: scaleX(0); transform-origin: left; transition: transform 1s var(--ease-out) .3s; }
.text-center .section-title::after, .section-head.text-center .section-title::after { margin-left: auto; margin-right: auto; transform-origin: center; }
.section-title.in::after, [data-aos].aos-animate .section-title::after, .section-title.aos-animate::after { transform: scaleX(1); }
.section-title.mb-0::after { margin-bottom: 0; }
.cta-text h2::after { display: none; }

/* heading gradient shimmer on hover */
.section-title:hover { background: linear-gradient(90deg, var(--navy), var(--gold-2), var(--navy)); background-size: 200% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: shimmer 2s linear infinite; }
.section-title.light:hover { background-image: linear-gradient(90deg, #fff, var(--gold), #fff); }

/* drifting background blobs in sections */
.fx-blobs { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.fx-blobs i { position: absolute; border-radius: 50%; filter: blur(40px); opacity: .45; animation: blob 18s ease-in-out infinite; }
.fx-blobs i:nth-child(1) { width: 320px; height: 320px; left: -80px; top: 10%; background: rgba(102, 187, 106, .35); }
.fx-blobs i:nth-child(2) { width: 260px; height: 260px; right: -60px; bottom: 5%; background: rgba(255, 197, 2, .28); animation-delay: -6s; animation-duration: 22s; }
@keyframes blob { 0%, 100% { transform: translate(0, 0) scale(1); } 33% { transform: translate(60px, -40px) scale(1.15); } 66% { transform: translate(-30px, 50px) scale(.9); } }
.section > .container-xl, .quick > .container-xl { position: relative; z-index: 1; }

/* floating leaves */
.fx-leaves { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.fx-leaves span { position: absolute; top: -40px; font-size: 18px; color: var(--leaf); opacity: .5; animation: leafFall linear infinite; }
@keyframes leafFall { 0% { transform: translate(0, -40px) rotate(0); } 50% { transform: translate(40px, 50vh) rotate(180deg); } 100% { transform: translate(-20px, 110vh) rotate(360deg); } }

/* photo marquee strip */
.photo-strip { padding: 50px 0; background: var(--mint); overflow: hidden; position: relative; }
.strip-row { display: flex; gap: 14px; width: max-content; animation: marquee 60s linear infinite; }
.strip-row + .strip-row { margin-top: 14px; animation-direction: reverse; animation-duration: 70s; }
.photo-strip:hover .strip-row { animation-play-state: paused; }
.strip-row a { position: relative; flex: 0 0 auto; width: 240px; height: 160px; border-radius: 16px; overflow: hidden; box-shadow: var(--shadow-sm); }
.strip-row img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease-out), filter .5s; filter: saturate(.9); }
.strip-row a:hover img { transform: scale(1.15) rotate(2deg); filter: saturate(1.2); }
.strip-row a::after { content: "\F52A"; font-family: bootstrap-icons; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.6rem; background: rgba(46, 125, 50, .45); opacity: 0; transition: opacity .4s; }
.strip-row a:hover::after { opacity: 1; }
.strip-title { text-align: center; margin-bottom: 1.8rem; }

/* auto-reveal of CMS page content */
.page-content table.table-theme tbody tr { opacity: 0; transform: translateY(10px); transition: opacity .5s, transform .6s var(--ease-out); transition-delay: calc(var(--r, 0) * 35ms); }
.page-content table.table-theme.in tbody tr { opacity: 1; transform: none; }

/* pulsing ring on important icons */
.qc-icon, .cc-icon, .band-icon { position: relative; }
.qc-icon::after, .band-icon::after { content: ""; position: absolute; inset: -6px; border-radius: inherit; border: 2px solid currentColor; opacity: 0; animation: ringPulse 2.8s var(--ease-out) infinite; color: var(--qc, var(--leaf)); }
@keyframes ringPulse { 0% { transform: scale(.85); opacity: .7; } 100% { transform: scale(1.35); opacity: 0; } }

/* soft bounce on hover for icons in lists */
.footer-contact li:hover i, .about-points li:hover i, .check-list li:hover::before { animation: bounceY .6s var(--ease-out); }
@keyframes bounceY { 40% { transform: translateY(-5px); } 70% { transform: translateY(2px); } }

/* scroll-down arrow in page banners */
.page-hero-title .char { transition-duration: .9s; }

/* magnetic buttons settle smoothly */
.btn-theme, .btn-gold, .btn-glass, .btn-theme-outline, .btn-white { will-change: transform; }

@media (hover: none), (max-width: 991.98px) { .cursor-glow, .cursor-dot { display: none; } }
@media (prefers-reduced-motion: reduce) { .fx-particles, .fx-leaves, .fx-blobs, .cursor-glow, .cursor-dot { display: none !important; } .wipe > img { clip-path: none; transform: none; } .strip-row { animation: none; } }

/* ---------- clear photos: no colour overlay on slider / page banners ---------- */
.hero-overlay, .page-hero-overlay { display: none; }
.hero-img { filter: none; }
.hero-title, .page-hero-title { text-shadow: 0 2px 4px rgba(0, 0, 0, .55), 0 6px 24px rgba(0, 0, 0, .55), 0 0 2px rgba(0, 0, 0, .6); }
.hero-tag { background: rgba(0, 0, 0, .45); border-color: var(--gold); backdrop-filter: blur(6px); }
.hero-desc { display: inline-block; padding: .55rem 1rem; border-radius: 12px; background: rgba(0, 0, 0, .38); backdrop-filter: blur(6px); color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .5); }
.hero-counter { text-shadow: 0 2px 8px rgba(0, 0, 0, .6); }
.hero-counter .sep { background: #fff; }
.hero-pagination .swiper-pagination-bullet { background: #fff; box-shadow: 0 1px 4px rgba(0, 0, 0, .5); }
.crumbs { background: rgba(0, 0, 0, .42); }
.page-hero { min-height: 340px; }

/* ---------- tighter vertical rhythm ---------- */
.section { padding: 56px 0; }
.section-head { margin-bottom: 1.8rem; }
.quick { padding: 36px 0 8px; }
.admission-cta { padding: 8px 0 56px; }
.dual-band { padding-top: 50px; padding-bottom: 50px; }
.counters { padding: 56px 0; }
.photo-strip { padding: 40px 0; }
.page-main { padding: 44px 0 60px; }
.site-footer { padding-top: 90px; }
.section-title { font-size: clamp(1.7rem, 3vw, 2.4rem); margin-bottom: .9rem; }
.message-card .row { align-items: stretch !important; }
.message-body { height: 100%; display: flex; flex-direction: column; justify-content: center; align-items: flex-start; padding: 2.4rem; }
.message-side { min-height: 320px; }
.collage { height: 460px; }
@media (max-width: 767.98px) {
  .section { padding: 40px 0; }
  .quick { padding: 24px 0 4px; }
  .admission-cta { padding: 4px 0 40px; }
  .collage { height: 360px; }
}
.cta-shapes { position: absolute; inset: 0; pointer-events: none; }
@media (prefers-reduced-motion: reduce) { *, *::before, *::after { transition-delay: 0s !important; animation-delay: 0s !important; } }

/* video slides: never crop faces - whole video shown, blurred frame behind */
.hero-video-bg { position: absolute; inset: -40px; background-size: cover; background-position: center; filter: blur(30px) brightness(.85) saturate(1.1); transform: scale(1.1); }
.is-video .hero-video { object-fit: contain; object-position: 78% center; z-index: 1; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .45)); }
@media (max-width: 767.98px) { .is-video .hero-video { object-position: center; } }
video.hero-video-bg { width: calc(100% + 80px); height: calc(100% + 80px); object-fit: cover; }

/* full photo visible: slider follows the 16:9 shape of the photos */
.hero { height: min(56.25vw, calc(100vh - 128px)); min-height: 420px; max-height: none; }
.hero-img { inset: 0; background-position: center 60%; transform: scale(1.06); transition: transform 7s ease-out; }
.swiper-slide-active .hero-img { transform: scale(1); }
.hero-text { padding-bottom: 4.5rem; }
.hero-title { font-size: clamp(2rem, 4.4vw, 3.8rem); }
@media (max-width: 767.98px) {
  .hero { height: auto; aspect-ratio: auto; min-height: 0; }
  .hero-swiper { height: auto; }
  .hero .swiper-slide { height: auto; display: flex; flex-direction: column; }
  .hero-media { position: relative; aspect-ratio: 16 / 9; width: 100%; }
  .hero-img { position: absolute; inset: 0; }
  .hero .swiper-slide.is-video .hero-media { aspect-ratio: 4 / 5; }
  .hero-content { height: auto; background: linear-gradient(135deg, var(--navy-deep), var(--navy)); padding-top: 1.2rem; padding-bottom: 1rem; }
  .hero-text { padding-bottom: 3.2rem; }
  .hero-title { font-size: 1.8rem; margin: .6rem 0; }
  .hero-desc { background: transparent; padding: 0; backdrop-filter: none; }
  .hero-ui { bottom: 14px; }
  .hero-progress { top: auto; }
}
/* counters: lighter tint so the photo behind shows through */
.counters-overlay { background: linear-gradient(120deg, rgba(27, 94, 32, .55), rgba(46, 125, 50, .4)); }
.counter-box { background: rgba(0, 0, 0, .22); backdrop-filter: blur(3px); }
.counter-num, .counter-label { text-shadow: 0 2px 8px rgba(0, 0, 0, .5); }
/* photo framing: home slider shows more of the lower part (children),
   inner-page banners show more of the top (faces) */
.hero-img { background-position: center 82%; }
.page-hero-bg { inset: -4% -4% -10% -4%; background-position: center 22%; }
@keyframes kenburns { from { transform: scale(1) translate(0, 0); } to { transform: scale(1.08) translate(-1%, 1%); } }
.brand-text small { white-space: nowrap; }

/* ---------- floating YouTube subscribe button ---------- */
.float-yt { gap: .6rem; padding: .45rem .6rem .45rem .45rem; border-radius: 40px; overflow: visible; isolation: isolate;
  background: linear-gradient(110deg, #ff0000 0%, #ff0000 40%, #ff5a5a 50%, #ff0000 60%, #cc0000 100%); background-size: 250% 100%;
  animation: fyShine 3.5s linear infinite; box-shadow: 0 10px 28px rgba(255, 0, 0, .45); transform: translateY(140px) scale(.6); opacity: 0;
  transition: transform .8s cubic-bezier(.34, 1.56, .64, 1), opacity .5s, box-shadow .3s, padding .4s var(--ease-out); }
.float-yt.show { transform: none; opacity: 1; animation: fyShine 3.5s linear infinite, fyNudge 6s ease-in-out 2s infinite; }
.float-yt:hover { box-shadow: 0 16px 36px rgba(255, 0, 0, .6); padding-right: 1rem; animation: fyShine 1.2s linear infinite; }
@keyframes fyShine { from { background-position: 100% 0; } to { background-position: -150% 0; } }
@keyframes fyNudge { 0%, 88%, 100% { transform: none; } 90% { transform: translateY(-8px) rotate(-3deg); } 93% { transform: translateY(0) rotate(2deg); } 96% { transform: translateY(-4px); } }
.fy-icon { position: relative; z-index: 2; width: 42px; height: 42px; border-radius: 50%; display: grid; place-items: center; background: rgba(255, 255, 255, .18); }
.fy-icon svg { width: 26px; height: 19px; animation: fyBeat 1.6s ease-in-out infinite; }
@keyframes fyBeat { 0%, 100% { transform: scale(1); } 15% { transform: scale(1.18); } 30% { transform: scale(1); } 45% { transform: scale(1.1); } }
.fy-text { position: relative; z-index: 2; display: flex; flex-direction: column; line-height: 1.1; color: #fff; }
.fy-text b { font-size: .95rem; letter-spacing: .02em; }
.fy-text small { font-size: .68rem; font-weight: 500; opacity: .9; max-width: 0; overflow: hidden; white-space: nowrap; transition: max-width .5s var(--ease-out); }
.float-yt:hover .fy-text small { max-width: 140px; }
.fy-bell { position: relative; z-index: 2; width: 28px; height: 28px; border-radius: 50%; display: grid; place-items: center; background: #fff; color: #f00; font-size: .8rem; animation: wiggle 2s infinite; }
.fy-ring { position: absolute; inset: 0; z-index: -1; border-radius: inherit; border: 2px solid rgba(255, 0, 0, .55); animation: fyRing 2.4s ease-out infinite; }
.fy-ring.r2 { animation-delay: 1.2s; }
@keyframes fyRing { 0% { transform: scale(1); opacity: .9; } 100% { transform: scale(1.35, 1.7); opacity: 0; } }
@media (max-width: 575.98px) { .fy-text, .fy-bell { display: none; } .float-yt { padding: .4rem; } }

/* ---------- TC search ---------- */
.tc-page { min-height: 70vh; padding: 60px 0 80px; background: radial-gradient(circle at 20% 10%, #e8f5e9, #fff 55%), #fff; }
.tc-box { max-width: 560px; margin: 0 auto; padding: 2.6rem 2.2rem; border-radius: 26px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); text-align: center; position: relative; overflow: hidden; }
.tc-box::before { content: ""; position: absolute; left: 0; right: 0; top: 0; height: 6px; background: linear-gradient(90deg, var(--navy), var(--gold), var(--navy)); background-size: 200%; animation: shimmer 4s linear infinite; }
.tc-icon { width: 80px; height: 80px; margin: 0 auto 1rem; border-radius: 22px; display: grid; place-items: center; background: var(--navy); color: var(--gold); font-size: 2.2rem; animation: floaty 4s ease-in-out infinite; }
.tc-title { font-size: clamp(1.6rem, 3vw, 2.1rem); margin-bottom: .3rem; }
.tc-title::after { display: none; }
.tc-sub { color: var(--muted); margin-bottom: 1.6rem; }
.tc-box form { display: grid; gap: 1rem; text-align: left; }
.tc-result { margin-top: 1.4rem; text-align: left; }
.tc-found-head { font-family: var(--font-ui); margin-bottom: .8rem; color: #17613a; }
.tc-wait { display: flex; align-items: center; gap: .6rem; color: var(--muted); }
.tc-wait span { width: 18px; height: 18px; border-radius: 50%; border: 3px solid var(--line); border-top-color: var(--navy); animation: spin .8s linear infinite; }
.captcha-row { display: grid; grid-template-columns: auto auto 1fr; gap: .6rem; align-items: center; }
.captcha-row img { border-radius: 12px; border: 2px solid var(--line); background: #f3faf2; max-width: 100%; height: auto; }
.cap-refresh { width: 44px; height: 44px; border-radius: 50%; border: 0; background: var(--mint); color: var(--navy); font-size: 1.2rem; transition: transform .5s var(--ease-out), background .3s; }
.cap-refresh:hover { transform: rotate(180deg); background: var(--gold); }
@media (max-width: 575.98px) { .captcha-row { grid-template-columns: 1fr auto; } .captcha-row .fl { grid-column: 1 / -1; } .tc-box { padding: 2rem 1.2rem; } }

/* disclosure table becomes stacked cards on phones */
@media (max-width: 575.98px) {
  .md-table thead { display: none; }
  .md-table, .md-table tbody, .md-table tr, .md-table td { display: block; width: 100%; }
  .md-table tr { padding: .7rem .9rem; border-bottom: 1px solid var(--line); }
  .md-table td { padding: .1rem 0 !important; border: 0 !important; }
  .md-table td:first-child { display: none; }
  .md-table td:nth-child(2) { color: var(--navy); }
  .md-table td:nth-child(3) { color: var(--muted); overflow-wrap: anywhere; }
  .md-table td:nth-child(4) { padding-top: .5rem !important; }
}

/* rotating dashed circles over photos removed (client request) */
.hero-shapes, .page-hero-shapes { display: none !important; }

/* ---------- slider text: small card in the bottom-left corner ---------- */
.hero-content { align-items: flex-end; }
.hero-text { max-width: 430px; margin-bottom: 92px; padding: 1rem 1.2rem 1.1rem; border-radius: 16px;
  background: rgba(0, 0, 0, .38); backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px); border-left: 4px solid var(--gold); }
.hero-tag { padding: .2rem .7rem; font-size: .66rem; letter-spacing: .12em; background: transparent; border: 0; backdrop-filter: none; }
.hero-title { font-size: clamp(1.35rem, 2.3vw, 2rem); margin: .35rem 0 .4rem; }
.hero-desc { display: block; padding: 0; background: transparent; backdrop-filter: none; font-size: .92rem; line-height: 1.5; margin: 0; }
.hero-actions { margin-top: .8rem; gap: .5rem; }
.hero-actions .btn-lg { padding: .5rem 1rem; font-size: .82rem; }
@media (max-width: 767.98px) {
  .hero-text { max-width: none; margin-bottom: 0; padding: 0; background: transparent; border: 0; backdrop-filter: none; }
}
@media (min-width: 768px) {
  .hero-content.container-xl { max-width: none; padding-left: 28px; }
  .hero-text { max-width: 400px; }
}

/* slider = exact 16:9 of the photos, so nothing is cropped (top or bottom) */
@media (min-width: 768px) {
  .hero { height: 56.25vw; min-height: 0; max-height: none; }
  .hero-img { inset: 0; background-position: center center; background-size: cover; transform: scale(1.03); }
  .swiper-slide-active .hero-img { transform: scale(1); }
}

/* slider text: no box, no blur - fully transparent, readable via text shadow */
.hero-text { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; border-left: 0; padding: 0; box-shadow: none; }
.hero-tag, .hero-desc { background: transparent !important; backdrop-filter: none !important; -webkit-backdrop-filter: none !important; }
.hero-tag { padding: 0; color: var(--gold); text-shadow: 0 1px 3px rgba(0, 0, 0, .8); }
.hero-title, .hero-desc { text-shadow: 0 1px 2px rgba(0, 0, 0, .9), 0 2px 10px rgba(0, 0, 0, .7); }
.hero-desc { font-weight: 700; }
.hero-actions .btn-glass { background: transparent; backdrop-filter: none; border-color: #fff; text-shadow: 0 1px 3px rgba(0, 0, 0, .6); }

/* home slider height: 80% of the screen */
@media (min-width: 768px) {
  .hero { height: 80vh; min-height: 480px; max-height: none; }
  .hero-img { background-position: center center; }
}

/* ---------- mobile fixes ---------- */
@media (max-width: 1199.98px) {
  /* The slide-in menu is position:fixed inside the header. backdrop-filter /
     transform on the header would trap it inside the header box, and the
     blur backdrop would then cover it - so both are off on small screens. */
  .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; animation: none; transform: none; background: #fff; }
  body.nav-open .site-header { z-index: 1003; }
  .nav-backdrop { backdrop-filter: none; -webkit-backdrop-filter: none; background: rgba(0, 0, 0, .55); }
  .main-nav { z-index: 1004; height: 100vh; height: 100dvh; }
}
@media (max-width: 767.98px) {
  /* slider text sits under the photo; keep room for the slide counter */
  .hero-content.container-xl { padding: 1rem 16px 0; }
  .hero-text { padding: 0 0 4rem !important; margin: 0; max-width: none; }
  .hero-title { font-size: 1.5rem; margin: .3rem 0 .4rem; }
  .hero-desc { font-size: .9rem; font-weight: 400; }
  .hero-actions { margin-top: .9rem; }
  .hero-actions .btn-lg { padding: .55rem 1rem; font-size: .82rem; }
  .hero-ui { bottom: 16px; padding: 0 16px; }
  .hero-counter .cur { font-size: 1.2rem; }
  .hero-counter .sep { width: 24px; }
}

/* tablets (and anything narrower than a laptop): slider follows the photo's
   16:9 shape instead of 80vh, so it is never taller than the picture */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .hero { height: 56.25vw; min-height: 0; max-height: 80vh; }
  .hero-swiper, .hero .swiper-wrapper, .hero .swiper-slide { height: 100% !important; }
  .hero-text { margin-bottom: 64px; }
  .hero-ui { bottom: 18px; }
  .scroll-down { display: none; }
}
@media (min-width: 1200px) { .hero-swiper, .hero .swiper-wrapper, .hero .swiper-slide { height: 100% !important; } }

/* ---------- staff list page ---------- */
.st-search { position: relative; max-width: 460px; margin: 0 0 1.4rem; }
.st-search i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--muted); }
.st-search input { width: 100%; padding: .8rem 1rem .8rem 2.7rem; border-radius: 30px; border: 2px solid var(--line); font-family: var(--font-ui); font-size: .92rem; outline: none; transition: border-color .3s, box-shadow .3s; }
.st-search input:focus { border-color: var(--gold); box-shadow: 0 0 0 5px rgba(255, 197, 2, .15); }
.st-lead { position: relative; height: 100%; padding: 1.8rem 1rem; border-radius: 20px; text-align: center; color: #fff; overflow: hidden;
  background: linear-gradient(150deg, var(--navy-deep), var(--navy) 55%, #4caf50); background-size: 200% 200%; animation: gradientMove 10s ease infinite; box-shadow: var(--shadow); transition: transform .5s var(--ease-out); }
.st-lead:hover { transform: translateY(-8px) scale(1.02); }
.st-lead::before { content: ""; position: absolute; inset: -50%; background: conic-gradient(from 0deg, transparent, rgba(255, 197, 2, .22), transparent 30%); animation: spin 9s linear infinite; }
.st-lead > * { position: relative; }
.st-lead i { display: grid; place-items: center; width: 64px; height: 64px; margin: 0 auto .8rem; border-radius: 50%; background: var(--gold); color: var(--navy-deep); font-size: 1.7rem; animation: floaty 4s ease-in-out infinite; }
.st-lead strong { display: block; font-family: var(--font-head); font-weight: 400; font-size: 1.3rem; }
.st-lead span { font-family: var(--font-ui); font-size: .74rem; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); }
.st-card { position: relative; height: 100%; padding: 1.2rem .8rem 1rem; border-radius: 16px; background: #fff; border: 1px solid var(--line); box-shadow: var(--shadow-sm); text-align: center; overflow: hidden;
  transition: transform .45s var(--ease-out), box-shadow .45s, border-color .3s; }
.st-card::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 3px; background: linear-gradient(90deg, var(--navy), var(--gold)); transform: scaleX(0); transform-origin: left; transition: transform .5s var(--ease-out); }
.st-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); }
.st-card:hover::after { transform: scaleX(1); }
.st-av { display: grid; place-items: center; width: 52px; height: 52px; margin: 0 auto .6rem; border-radius: 50%; background: var(--mint); color: var(--navy); font-family: var(--font-ui); font-weight: 700; font-size: .95rem; transition: transform .6s var(--ease-out), background .3s, color .3s; }
.st-card:hover .st-av { transform: rotateY(360deg); background: var(--navy); color: var(--gold); }
.st-card strong { display: block; font-family: var(--font-ui); font-weight: 600; font-size: .9rem; color: var(--ink); line-height: 1.3; }
.st-role { display: block; margin-top: .2rem; font-family: var(--font-ui); font-size: .72rem; color: var(--muted); letter-spacing: .04em; }
.st-badge { display: inline-block; min-width: 64px; margin-bottom: .6rem; padding: .3rem .8rem; border-radius: 12px; background: var(--navy); color: var(--gold); font-family: var(--font-head); font-size: 1.05rem; transition: transform .5s var(--ease-out), background .3s; }
.st-class:hover .st-badge { transform: scale(1.12) rotate(-3deg); background: var(--gold); color: var(--navy-deep); }
.st-special .st-av { background: var(--gold-soft); color: var(--gold-2); font-size: 1.3rem; }
.st-office .st-av { background: #e3f2fd; color: #1565c0; }
.st-support .st-av { background: #fff3e0; color: #e65100; }
.st-photo { position: relative; margin: 2.2rem 0 .6rem; border-radius: 22px; overflow: hidden; box-shadow: var(--shadow-lg); border: 6px solid #fff; outline: 1px solid var(--line); }
.st-photo img { display: block; width: 100%; border-radius: 0 !important; transition: transform 1.4s var(--ease-out); }
.st-photo:hover img { transform: scale(1.04); }
.st-photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 2rem 1.2rem .9rem; color: #fff; font-family: var(--font-head); font-size: 1.15rem; background: linear-gradient(0deg, rgba(0, 0, 0, .7), transparent); }
.st-photo figcaption i { color: var(--gold); margin-right: .4rem; }
.st-empty { text-align: center; padding: 2rem; color: var(--muted); font-family: var(--font-ui); }
@media (max-width: 575.98px) { .st-card strong { font-size: .82rem; } .st-photo figcaption { font-size: .95rem; padding: 1.4rem .8rem .6rem; } }

/* phones/tablets: side-sliding entrances become upward ones, so nothing ever pokes outside the screen */
@media (max-width: 991.98px) { [data-aos="fade-left"], [data-aos="fade-right"] { transform: translate3d(0, 40px, 0); } }

/* ---------- online registration ---------- */
.reg-side { position: sticky; top: 100px; padding: 2rem 1.6rem; border-radius: 22px; color: #fff; overflow: hidden; background: linear-gradient(150deg, var(--navy-deep), var(--navy) 55%, #4caf50); background-size: 200% 200%; animation: gradientMove 12s ease infinite; box-shadow: var(--shadow-lg); }
.reg-side h2 { color: #fff; font-size: 1.9rem; }
.reg-side p { color: rgba(255, 255, 255, .85); }
.reg-steps { list-style: none; padding: 0; margin: 1.2rem 0; display: grid; gap: .9rem; }
.reg-steps li { display: flex; gap: .8rem; align-items: flex-start; }
.reg-steps i { flex-shrink: 0; width: 42px; height: 42px; border-radius: 12px; display: grid; place-items: center; background: var(--gold); color: var(--navy-deep); font-size: 1.1rem; }
.reg-steps span { font-size: .86rem; color: rgba(255, 255, 255, .8); }
.reg-steps strong { display: block; color: #fff; font-family: var(--font-ui); font-size: .95rem; }
.reg-help, .reg-safe { font-family: var(--font-ui); font-size: .85rem; padding: .7rem .9rem; border-radius: 12px; background: rgba(255, 255, 255, .1); margin-top: .6rem; }
.reg-help a { color: var(--gold); font-weight: 700; }
.reg-safe i, .reg-help i { color: var(--gold); margin-right: .3rem; }
.reg-form { height: auto; }
.reg-h { font-size: 1.15rem; margin: 1.6rem 0 .9rem; padding-bottom: .5rem; border-bottom: 1px dashed var(--line); display: flex; align-items: center; gap: .5rem; }
.reg-h:first-of-type { margin-top: 0; }
.reg-h i { color: var(--gold-2); }
.reg-form .fl label.up, .reg-form .fl input[type=date] + label { top: .35rem; font-size: .72rem; color: var(--navy); font-weight: 600; }
.reg-agree { display: flex; gap: .6rem; align-items: center; margin: 1.1rem 0; font-family: var(--font-ui); font-size: .9rem; cursor: pointer; }
.reg-agree input { width: 18px; height: 18px; accent-color: var(--navy); }
.reg-submit { width: 100%; }
.reg-done { max-width: 620px; margin: 0 auto; padding: 2.6rem 2rem; text-align: center; border-radius: 26px; background: #fff; box-shadow: var(--shadow-lg); border: 1px solid var(--line); }
.reg-tick { width: 90px; height: 90px; margin: 0 auto 1rem; border-radius: 50%; display: grid; place-items: center; background: var(--navy); color: #fff; font-size: 3rem; box-shadow: 0 0 0 10px var(--mint); animation: crestPulse 1.8s ease-in-out infinite; }
.reg-done .school-code { margin: .6rem 0 1rem; }
.reg-note { color: var(--muted); font-size: .92rem; }
.hero-actions .hero-reg { animation: regGlow 2.2s ease-in-out infinite; }
@keyframes regGlow { 0%, 100% { box-shadow: 0 0 0 0 rgba(255, 197, 2, .7); } 50% { box-shadow: 0 0 0 12px rgba(255, 197, 2, 0); } }
@media (max-width: 991.98px) { .reg-side { position: static; } }
@media print { .topbar, .site-header, .page-hero, .site-footer, .float-yt, .back-to-top, .cta-inline, #site-loader { display: none !important; } }
