/* ============================================================
   MODERN THEME — Sunrise design system for Smart School
   Bootstrap 5.3 compatible · navy #16294d + amber #f5a623
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Inter:wght@400;500;600&display=swap');

:root {
  --navy: #16294d;
  --navy-2: #1e3a8a;
  --navy-deep: #0e1c36;
  --amber: #f5a623;
  --amber-dark: #d98a0b;
  --ink: #22304f;
  --muted: #5f6f8f;
  --line: #e6ebf4;
  --bg: #f5f8fd;
  --white: #ffffff;
  --radius: 1rem;
  --shadow-sm: 0 4px 14px rgba(22, 41, 77, .08);
  --shadow-md: 0 14px 34px rgba(22, 41, 77, .12);
  --shadow-lg: 0 24px 60px rgba(22, 41, 77, .18);
  --font-head: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
}

html { scroll-behavior: smooth; }
body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
h1, h2, h3, h4, h5, .h1, .h2, .h3, .h4, .h5 { font-family: var(--font-head); font-weight: 700; color: var(--navy); }
a { text-decoration: none; }
img { max-width: 100%; }
::selection { background: var(--amber); color: var(--navy-deep); }

/* ---------- section scaffolding ---------- */
.section { padding: 5rem 0; }
.section-sm { padding: 3rem 0; }
.bg-soft { background: var(--bg); }
.eyebrow {
  display: inline-flex; align-items: center; gap: .5rem;
  font-family: var(--font-head); font-weight: 700; font-size: .78rem;
  letter-spacing: .18em; text-transform: uppercase; color: var(--amber-dark);
  margin-bottom: .75rem;
}
.eyebrow::before { content: ""; width: 2rem; height: 3px; border-radius: 3px; background: var(--amber); }
.sec-title { font-size: clamp(1.7rem, 3vw, 2.5rem); font-weight: 800; margin-bottom: .75rem; }
.sec-sub { color: var(--muted); max-width: 640px; }
.sec-head { margin-bottom: 2.75rem; }
.sec-head.center { text-align: center; }
.sec-head.center .sec-sub { margin-inline: auto; }
.sec-head.center .eyebrow::after { content: ""; width: 2rem; height: 3px; border-radius: 3px; background: var(--amber); }

/* ---------- scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s cubic-bezier(.16,1,.3,1); }
.reveal.revealed { opacity: 1; transform: none; }
.reveal-d1 { transition-delay: .1s; } .reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; } .reveal-d4 { transition-delay: .4s; }
@media (prefers-reduced-motion: reduce) { .reveal { opacity: 1; transform: none; transition: none; } }

/* ---------- topbar ---------- */
.topbar { background: var(--navy-deep); color: #c9d4ea; font-size: .82rem; }
.topbar a { color: #c9d4ea; }
.topbar a:hover { color: var(--amber); }
.topbar .tb-item { display: inline-flex; align-items: center; gap: .45rem; margin-right: 1.25rem; padding: .5rem 0; }
.topbar .tb-item i { color: var(--amber); }
.tb-social { display: inline-flex; gap: .25rem; list-style: none; margin: 0; padding: 0; }
.tb-social a { display: inline-flex; width: 28px; height: 28px; align-items: center; justify-content: center; border-radius: 50%; font-size: .8rem; }
.tb-social a:hover { background: rgba(245,166,35,.18); }
.btn-login { border: 1px solid rgba(255,255,255,.25); border-radius: 999px; padding: .3rem 1rem; font-weight: 600; font-size: .8rem; }
.btn-login:hover { background: var(--amber); border-color: var(--amber); color: var(--navy-deep) !important; }

/* ---------- navbar ---------- */
.site-nav { background: rgba(255,255,255,.92); backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px); transition: box-shadow .3s ease, background .3s ease; z-index: 1030; }
.site-nav.scrolled { box-shadow: var(--shadow-md); background: #fff; }
.brand-logo img { height: 52px; width: auto; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 1.15rem; color: var(--navy); line-height: 1.15; }
.brand-tag { display: block; font-size: .68rem; font-weight: 600; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); }
.site-nav .nav-link { font-family: var(--font-head); font-weight: 600; font-size: .95rem; color: var(--navy); padding: .9rem .9rem !important; position: relative; }
.site-nav .nav-link::after { content: ""; position: absolute; left: .9rem; right: .9rem; bottom: .55rem; height: 3px; border-radius: 3px; background: var(--amber); transform: scaleX(0); transform-origin: left; transition: transform .3s ease; }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .nav-link.active { color: var(--navy-2); }
.site-nav .dropdown-menu { border: 0; border-radius: .9rem; box-shadow: var(--shadow-md); padding: .6rem; margin-top: .4rem; animation: dropIn .25s ease; }
@keyframes dropIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.site-nav .dropdown-item { border-radius: .6rem; font-weight: 500; padding: .55rem .9rem; color: var(--ink); }
.site-nav .dropdown-item:hover { background: var(--bg); color: var(--navy-2); }
.btn-apply { background: var(--amber); color: var(--navy-deep); font-family: var(--font-head); font-weight: 700; border-radius: 999px; padding: .65rem 1.6rem; box-shadow: 0 8px 20px rgba(245,166,35,.35); transition: transform .25s ease, box-shadow .25s ease; white-space: nowrap; }
.btn-apply:hover { transform: translateY(-2px); box-shadow: 0 12px 26px rgba(245,166,35,.45); color: var(--navy-deep); }
.navbar-toggler { border: 0; box-shadow: none !important; }
.navbar-toggler .toggler-icon { display: block; width: 26px; height: 3px; border-radius: 3px; background: var(--navy); margin: 5px 0; transition: .3s; }

/* ---------- hero slider ---------- */
.hero { position: relative; background: var(--navy-deep); }
.hero .carousel-item { height: min(78vh, 640px); min-height: 440px; }
.hero .slide-bg { position: absolute; inset: 0; background-size: cover; background-position: center; animation: kenburns 9s ease-in-out infinite alternate; }
@keyframes kenburns { from { transform: scale(1); } to { transform: scale(1.12); } }
.hero .slide-overlay { position: absolute; inset: 0; background: linear-gradient(100deg, rgba(14,28,54,.88) 20%, rgba(14,28,54,.55) 55%, rgba(14,28,54,.25) 100%); }
.hero-caption { position: relative; z-index: 2; height: 100%; display: flex; align-items: center; color: #fff; }
.hero-eyebrow { display: inline-block; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .22em; text-transform: uppercase; color: var(--amber); background: rgba(245,166,35,.14); border: 1px solid rgba(245,166,35,.4); padding: .45rem 1rem; border-radius: 999px; margin-bottom: 1.25rem; }
.hero-title { color: #fff; font-size: clamp(2.1rem, 5.4vw, 3.9rem); font-weight: 800; line-height: 1.08; margin-bottom: 1rem; max-width: 14ch; }
.hero-title .hl { color: var(--amber); }
.hero-sub { color: #dbe4f5; font-size: clamp(1rem, 1.6vw, 1.2rem); max-width: 52ch; margin-bottom: 2rem; }
.hero-cta { display: flex; gap: 1rem; flex-wrap: wrap; }
.btn-hero { font-family: var(--font-head); font-weight: 700; border-radius: 999px; padding: .85rem 2rem; transition: transform .25s ease, box-shadow .25s ease; }
.btn-hero:hover { transform: translateY(-3px); }
.btn-hero-solid { background: var(--amber); color: var(--navy-deep); box-shadow: 0 12px 28px rgba(245,166,35,.4); }
.btn-hero-solid:hover { color: var(--navy-deep); }
.btn-hero-ghost { border: 2px solid rgba(255,255,255,.55); color: #fff; }
.btn-hero-ghost:hover { border-color: #fff; color: #fff; background: rgba(255,255,255,.1); }
/* caption entrance */
.hero .carousel-item .anim { opacity: 0; transform: translateY(34px); }
.hero .carousel-item.active .anim { animation: heroUp .8s cubic-bezier(.16,1,.3,1) forwards; }
.hero .carousel-item.active .anim-1 { animation-delay: .15s; }
.hero .carousel-item.active .anim-2 { animation-delay: .3s; }
.hero .carousel-item.active .anim-3 { animation-delay: .45s; }
.hero .carousel-item.active .anim-4 { animation-delay: .6s; }
@keyframes heroUp { to { opacity: 1; transform: none; } }
.hero .carousel-indicators { bottom: 1.4rem; }
.hero .carousel-indicators [data-bs-target] { width: 34px; height: 5px; border-radius: 5px; background: rgba(255,255,255,.4); border: 0; }
.hero .carousel-indicators .active { background: var(--amber); }
.hero-arrow { width: 52px; height: 52px; border-radius: 50%; background: rgba(255,255,255,.14); border: 1px solid rgba(255,255,255,.35); backdrop-filter: blur(6px); display: inline-flex; align-items: center; justify-content: center; color: #fff; font-size: 1.2rem; transition: .3s; }
.hero-arrow:hover { background: var(--amber); border-color: var(--amber); color: var(--navy-deep); }
.hero .carousel-control-prev, .hero .carousel-control-next { width: auto; padding: 0 2.2rem; opacity: 1; }

/* ---------- stats band ---------- */
.stats-band { background: linear-gradient(120deg, var(--navy-deep), var(--navy-2)); position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; width: 480px; height: 480px; border-radius: 50%; background: radial-gradient(circle, rgba(245,166,35,.22), transparent 65%); top: -200px; right: -120px; }
.stat { text-align: center; color: #fff; padding: 1.4rem .5rem; position: relative; }
.stat + .stat::before { content: ""; position: absolute; left: 0; top: 25%; bottom: 25%; width: 1px; background: rgba(255,255,255,.16); }
.stat-num { font-family: var(--font-head); font-weight: 800; font-size: clamp(2rem, 3.6vw, 2.9rem); color: var(--amber); line-height: 1; }
.stat-label { margin-top: .45rem; font-size: .9rem; letter-spacing: .06em; text-transform: uppercase; color: #c9d4ea; font-weight: 500; }

/* ---------- welcome ---------- */
.welcome-media { position: relative; }
.welcome-media .wm-main { border-radius: 1.4rem; box-shadow: var(--shadow-lg); width: 100%; object-fit: cover; aspect-ratio: 4/4.6; }
.welcome-media .wm-float { position: absolute; right: -1.2rem; bottom: 2.2rem; width: 46%; border-radius: 1.1rem; border: 6px solid #fff; box-shadow: var(--shadow-md); animation: floaty 6s ease-in-out infinite; }
@keyframes floaty { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.wm-badge { position: absolute; left: -1rem; top: 2rem; background: var(--amber); color: var(--navy-deep); border-radius: 1rem; padding: .9rem 1.2rem; box-shadow: var(--shadow-md); text-align: center; animation: floaty 7s ease-in-out infinite reverse; }
.wm-badge b { display: block; font-family: var(--font-head); font-size: 1.5rem; font-weight: 800; line-height: 1; }
.wm-badge span { font-size: .72rem; font-weight: 600; letter-spacing: .08em; text-transform: uppercase; }
.check-list { list-style: none; padding: 0; margin: 1.5rem 0; display: grid; gap: .8rem; }
.check-list li { display: flex; gap: .8rem; align-items: flex-start; font-weight: 500; }
.check-list .ck { flex: 0 0 26px; width: 26px; height: 26px; border-radius: 50%; background: rgba(245,166,35,.16); color: var(--amber-dark); display: inline-flex; align-items: center; justify-content: center; font-size: .8rem; margin-top: 2px; }

/* ---------- quick link cards ---------- */
.qlink-card { display: block; background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem 1.5rem; height: 100%; position: relative; overflow: hidden; transition: transform .3s ease, box-shadow .3s ease; }
.qlink-card::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--amber), #ffcf6b); transform: scaleX(0); transform-origin: left; transition: transform .35s ease; }
.qlink-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.qlink-card:hover::before { transform: scaleX(1); }
.qlink-ico { width: 60px; height: 60px; border-radius: 1rem; display: inline-flex; align-items: center; justify-content: center; font-size: 1.5rem; color: #fff; background: linear-gradient(135deg, var(--navy-2), var(--navy)); margin-bottom: 1.1rem; transition: .3s; }
.qlink-card:hover .qlink-ico { background: linear-gradient(135deg, var(--amber), var(--amber-dark)); transform: rotate(-6deg) scale(1.05); }
.qlink-card h3 { font-size: 1.12rem; margin-bottom: .4rem; }
.qlink-card p { color: var(--muted); font-size: .92rem; margin: 0; }
.qlink-go { margin-top: 1rem; display: inline-flex; align-items: center; gap: .4rem; font-weight: 600; font-size: .88rem; color: var(--navy-2); }
.qlink-go i { transition: transform .25s; }
.qlink-card:hover .qlink-go i { transform: translateX(5px); }

/* ---------- news cards ---------- */
.news-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; display: flex; flex-direction: column; transition: transform .3s ease, box-shadow .3s ease; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); }
.news-media { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--bg); }
.news-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.news-card:hover .news-media img { transform: scale(1.08); }
.news-date { position: absolute; left: 1rem; bottom: 1rem; background: var(--amber); color: var(--navy-deep); border-radius: .7rem; padding: .45rem .8rem; text-align: center; font-family: var(--font-head); box-shadow: var(--shadow-sm); }
.news-date b { display: block; font-size: 1.25rem; font-weight: 800; line-height: 1; }
.news-date span { font-size: .68rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; }
.news-body { padding: 1.5rem; display: flex; flex-direction: column; flex: 1; }
.news-body h3 { font-size: 1.08rem; line-height: 1.4; margin-bottom: .6rem; }
.news-body h3 a { color: var(--navy); }
.news-body h3 a:hover { color: var(--navy-2); }
.news-body p { color: var(--muted); font-size: .92rem; flex: 1; }
.news-more { font-weight: 600; font-size: .9rem; color: var(--amber-dark); display: inline-flex; align-items: center; gap: .4rem; margin-top: .8rem; }
.news-more i { transition: transform .25s; }
.news-card:hover .news-more i { transform: translateX(5px); }

/* ---------- CTA banner ---------- */
.cta-banner { position: relative; border-radius: 1.6rem; overflow: hidden; background: linear-gradient(115deg, var(--navy-deep) 10%, var(--navy-2) 60%, #2b4fa3 100%); padding: 3.5rem; color: #fff; box-shadow: var(--shadow-lg); }
.cta-banner::before, .cta-banner::after { content: ""; position: absolute; border-radius: 50%; border: 1px solid rgba(245,166,35,.35); }
.cta-banner::before { width: 340px; height: 340px; right: -110px; top: -110px; }
.cta-banner::after { width: 220px; height: 220px; right: 90px; bottom: -120px; border-color: rgba(255,255,255,.14); }
.cta-banner h2 { color: #fff; font-size: clamp(1.6rem, 3vw, 2.4rem); font-weight: 800; }
.cta-banner p { color: #dbe4f5; max-width: 52ch; }
.cta-orb { position: absolute; width: 130px; height: 130px; border-radius: 50%; background: radial-gradient(circle, rgba(245,166,35,.5), transparent 70%); right: 12%; top: 18%; animation: floaty 7s ease-in-out infinite; }

/* ---------- page hero (inner pages) ---------- */
.page-hero { position: relative; background: linear-gradient(115deg, var(--navy-deep), var(--navy-2)); padding: 3.2rem 0; overflow: hidden; }
.page-hero::before { content: ""; position: absolute; width: 420px; height: 420px; border-radius: 50%; background: radial-gradient(circle, rgba(245,166,35,.25), transparent 65%); right: -140px; top: -180px; }
.page-hero h1 { color: #fff; font-size: clamp(1.7rem, 3.4vw, 2.6rem); font-weight: 800; margin: 0; }
.breadcrumb-modern { display: flex; gap: .6rem; list-style: none; padding: 0; margin: .7rem 0 0; font-size: .88rem; }
.breadcrumb-modern a { color: #c9d4ea; } .breadcrumb-modern a:hover { color: var(--amber); }
.breadcrumb-modern li + li::before { content: "/"; margin-right: .6rem; color: #8fa1c4; }
.breadcrumb-modern .active { color: var(--amber); font-weight: 600; }

/* ---------- content cards / sidebar ---------- */
.content-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 2rem; }
.side-card { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); overflow: hidden; margin-bottom: 1.5rem; }
.side-card-head { background: linear-gradient(120deg, var(--navy), var(--navy-2)); color: #fff; font-family: var(--font-head); font-weight: 700; padding: .9rem 1.25rem; font-size: .95rem; letter-spacing: .02em; }
.side-news { list-style: none; margin: 0; padding: .6rem; max-height: 420px; overflow-y: auto; }
.side-news li a { display: flex; gap: .9rem; padding: .8rem; border-radius: .7rem; align-items: flex-start; transition: background .25s; }
.side-news li a:hover { background: var(--bg); }
.side-news .sn-date { flex: 0 0 52px; background: var(--bg); border: 1px solid var(--line); border-radius: .7rem; text-align: center; padding: .4rem 0; font-family: var(--font-head); }
.side-news .sn-date b { display: block; color: var(--navy); font-size: 1.15rem; line-height: 1; }
.side-news .sn-date span { font-size: .62rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--amber-dark); }
.side-news .sn-title { font-size: .9rem; font-weight: 600; color: var(--ink); line-height: 1.45; }
.btn-complain { display: flex; align-items: center; justify-content: center; gap: .6rem; margin: .6rem; padding: .9rem; border-radius: .8rem; background: var(--amber); color: var(--navy-deep); font-family: var(--font-head); font-weight: 700; transition: .25s; }
.btn-complain:hover { background: var(--amber-dark); color: #fff; transform: translateY(-2px); }

/* ---------- events / gallery / notices (CMS category blocks) ---------- */
.modern-event { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; height: 100%; transition: transform .3s, box-shadow .3s; display: flex; flex-direction: column; }
.modern-event:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.modern-event .me-media { aspect-ratio: 16/10; overflow: hidden; background: var(--bg); }
.modern-event .me-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s; }
.modern-event:hover .me-media img { transform: scale(1.07); }
.modern-event .me-body { padding: 1.35rem; }
.modern-event .me-body h3 { font-size: 1.05rem; margin-bottom: .5rem; }
.modern-event .me-body h3 a { color: var(--navy); }
.modern-event .me-body p { color: var(--muted); font-size: .9rem; margin: 0; }
.notice-row { display: flex; gap: 1rem; background: #fff; border: 1px solid var(--line); border-left: 4px solid var(--amber); border-radius: .8rem; padding: 1.1rem 1.25rem; margin-bottom: 1rem; transition: .25s; }
.notice-row:hover { box-shadow: var(--shadow-sm); transform: translateX(4px); }
.notice-row h4 { font-size: 1.02rem; margin-bottom: .3rem; }
.notice-row h4 a { color: var(--navy); }
.notice-row p { color: var(--muted); font-size: .9rem; margin: 0; }

/* ---------- gallery lightbox cards (read page) ---------- */
.g-card { position: relative; border-radius: var(--radius); overflow: hidden; margin-bottom: 1.5rem; box-shadow: var(--shadow-sm); display: block; }
.g-card img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform .6s; display: block; }
.g-card:hover img { transform: scale(1.06); }
.g-card .g-veil { position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,28,54,.75), transparent 55%); opacity: 0; transition: opacity .35s; display: flex; align-items: flex-end; justify-content: center; padding-bottom: 1.4rem; }
.g-card:hover .g-veil { opacity: 1; }
.g-card .g-veil i { width: 52px; height: 52px; border-radius: 50%; background: var(--amber); color: var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; transform: scale(.7); transition: transform .35s; }
.g-card:hover .g-veil i { transform: scale(1); }

/* ---------- forms (modernized + BS3 compat shims) ---------- */
.form-group { margin-bottom: 1rem; } /* BS3 shim */
.control-label { font-weight: 600; margin-bottom: .35rem; }
.form-control, .form-select { border: 1.5px solid var(--line); border-radius: .7rem; padding: .65rem .95rem; font-size: .95rem; }
.form-control:focus, .form-select:focus { border-color: var(--navy-2); box-shadow: 0 0 0 .22rem rgba(30,58,138,.12); }
label { font-weight: 600; font-size: .92rem; color: var(--navy); margin-bottom: .35rem; }
.req { color: #dc3545; }
.text-danger { font-size: .82rem; }
.onlineform .pagetitleh2 { font-size: 1.15rem; font-weight: 700; color: var(--navy); border-left: 4px solid var(--amber); padding-left: .8rem; margin: 1.8rem 0 1.2rem; }
.printcontent { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); box-shadow: var(--shadow-sm); padding: 1.8rem; margin-bottom: 1.5rem; }
.btn-theme { background: linear-gradient(120deg, var(--navy-2), var(--navy)); color: #fff; font-family: var(--font-head); font-weight: 700; border-radius: 999px; padding: .75rem 2.2rem; border: 0; transition: .25s; }
.btn-theme:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); color: #fff; }
.btn-amber { background: var(--amber); color: var(--navy-deep); font-family: var(--font-head); font-weight: 700; border-radius: 999px; padding: .75rem 2.2rem; border: 0; transition: .25s; }
.btn-amber:hover { background: var(--amber-dark); color: #fff; transform: translateY(-2px); }
.statusright { display: inline-flex; align-items: center; gap: .5rem; font-weight: 600; color: var(--navy-2); background: rgba(30,58,138,.08); border-radius: 999px; padding: .55rem 1.2rem; font-size: .9rem; }
.statusright:hover { background: rgba(30,58,138,.15); }
.alert { border-radius: .8rem; border: 0; }
.modal-content { border-radius: 1.2rem; border: 0; box-shadow: var(--shadow-lg); }
.modal-header { border-bottom: 1px solid var(--line); }
.table { --bs-table-striped-bg: var(--bg); }
.table thead th { background: var(--navy); color: #fff; font-family: var(--font-head); font-size: .85rem; letter-spacing: .04em; border: 0; }
.table thead th:first-child { border-radius: .7rem 0 0 0; } .table thead th:last-child { border-radius: 0 .7rem 0 0; }

/* pagination */
.pagination { gap: .35rem; }
.pagination .page-link { border: 1px solid var(--line); border-radius: .6rem !important; color: var(--navy); font-weight: 600; padding: .55rem .95rem; }
.pagination .page-link:hover { background: var(--bg); }
.pagination .active .page-link, .pagination .page-item.active .page-link { background: var(--navy-2); border-color: var(--navy-2); }

/* ---------- footer ---------- */
.site-footer { background: var(--navy-deep); color: #b9c6e2; position: relative; overflow: hidden; }
.site-footer::before { content: ""; position: absolute; width: 520px; height: 520px; border-radius: 50%; background: radial-gradient(circle, rgba(245,166,35,.12), transparent 65%); top: -260px; left: -160px; }
.fo-title { color: #fff; font-size: 1.02rem; font-weight: 700; margin-bottom: 1.3rem; position: relative; padding-bottom: .7rem; }
.fo-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 2.4rem; height: 3px; border-radius: 3px; background: var(--amber); }
.fo-links { list-style: none; padding: 0; margin: 0; display: grid; gap: .55rem; }
.fo-links a { color: #b9c6e2; font-size: .93rem; display: inline-flex; align-items: center; gap: .5rem; transition: .25s; }
.fo-links a i { font-size: .7rem; color: var(--amber); transition: transform .25s; }
.fo-links a:hover { color: #fff; transform: translateX(4px); }
.fo-contact { list-style: none; padding: 0; margin: 0; display: grid; gap: .9rem; font-size: .93rem; }
.fo-contact li { display: flex; gap: .8rem; align-items: flex-start; }
.fo-contact i { color: var(--amber); margin-top: 3px; }
.fo-contact a { color: #b9c6e2; } .fo-contact a:hover { color: #fff; }
.fo-social { display: flex; gap: .6rem; list-style: none; padding: 0; margin: 1.2rem 0 0; }
.fo-social a { width: 40px; height: 40px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center; background: rgba(255,255,255,.08); color: #fff; transition: .3s; }
.fo-social a:hover { background: var(--amber); color: var(--navy-deep); transform: translateY(-4px); }
.newsletter-form { display: flex; margin-top: 1rem; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.14); border-radius: 999px; padding: .3rem; }
.newsletter-form input { flex: 1; background: transparent; border: 0; color: #fff; padding: .5rem 1rem; font-size: .9rem; outline: none; min-width: 0; }
.newsletter-form input::placeholder { color: #8fa1c4; }
.newsletter-form button { background: var(--amber); color: var(--navy-deep); border: 0; border-radius: 999px; padding: .55rem 1.3rem; font-weight: 700; font-family: var(--font-head); font-size: .85rem; }
.copy-bar { border-top: 1px solid rgba(255,255,255,.1); padding: 1.2rem 0; font-size: .85rem; color: #8fa1c4; }

/* ---------- cookie consent ---------- */
.cookieConsent { position: fixed; left: 1.2rem; right: 1.2rem; bottom: 1.2rem; z-index: 2000; background: #fff; border: 1px solid var(--line); border-radius: 1.1rem; box-shadow: var(--shadow-lg); padding: 1.1rem 1.4rem; display: none; align-items: center; gap: 1rem; font-size: .9rem; }
.cookieConsentOK { background: var(--navy-2); color: #fff !important; border-radius: 999px; padding: .55rem 1.5rem; font-weight: 700; cursor: pointer; white-space: nowrap; }
.cookieConsentOK:hover { background: var(--navy); }

/* ---------- back to top ---------- */
.to-top { position: fixed; right: 1.4rem; bottom: 1.4rem; z-index: 1500; width: 50px; height: 50px; border-radius: 50%; background: var(--amber); color: var(--navy-deep); display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; box-shadow: var(--shadow-md); opacity: 0; visibility: hidden; transform: translateY(14px); transition: .35s; }
.to-top.show { opacity: 1; visibility: visible; transform: none; }
.to-top:hover { background: var(--amber-dark); color: #fff; transform: translateY(-4px); }

/* ---------- misc content ---------- */
.prose img { border-radius: var(--radius); }
.prose table { width: 100%; }
.loading { text-align: center; padding: 2rem; }
.spacet50 { padding-top: 3rem; } .spaceb50 { padding-bottom: 3rem; } .spaceb60 { padding-bottom: 3.75rem; }

/* ---------- BS3 legacy shims (admission forms etc.) ---------- */
.displaynone { display: none !important; }
.mt10 { margin-top: 10px; } .mt0 { margin-top: 0 !important; }
.pt20 { padding-top: 20px; } .spacet40 { padding-top: 40px; }
.entered { font-size: 1.25rem; font-weight: 700; color: var(--navy); }
.reflist, .statusimg { list-style: none; padding: 0; margin: 0 0 1rem; display: grid; gap: .5rem; }
.reflist li, .statusimg li { background: var(--bg); border: 1px solid var(--line); border-radius: .7rem; padding: .7rem 1rem; font-size: .92rem; }
.radio-inline { display: inline-flex; align-items: center; gap: .45rem; margin-right: 1.1rem; font-weight: 500; cursor: pointer; }
.radio-inline input, .checkbox input, .radio input { accent-color: var(--navy-2); width: 1rem; height: 1rem; }
.checkbox, .radio { margin-bottom: .6rem; }
.onlineformbtn { background: var(--amber); color: var(--navy-deep); font-family: var(--font-head); font-weight: 700; border: 0; border-radius: 999px; padding: .75rem 2.4rem; transition: .25s; box-shadow: 0 8px 20px rgba(245,166,35,.35); }
.onlineformbtn:hover { background: var(--amber-dark); color: #fff; transform: translateY(-2px); }
.mdbtn { padding: .6rem 1.6rem; font-size: .9rem; }
.close { background: transparent; border: 0; font-size: 1.6rem; line-height: 1; color: var(--ink); opacity: .6; }
.close:hover { opacity: 1; }
.closebtnmodal { float: right; }

/* ============================================================
   FANTASTIC — premium interactive sections
   ============================================================ */

/* ---------- announcement ticker ---------- */
.ticker { background: linear-gradient(90deg, var(--amber), #ffcf6b); color: var(--navy-deep); overflow: hidden; position: relative; }
.ticker-label { position: absolute; left: 0; top: 0; bottom: 0; z-index: 2; display: inline-flex; align-items: center; gap: .5rem; background: var(--navy-deep); color: #fff; font-family: var(--font-head); font-weight: 700; font-size: .8rem; letter-spacing: .1em; text-transform: uppercase; padding: 0 1.2rem; }
.ticker-viewport { overflow: hidden; padding: .7rem 0 .7rem 11rem; }
.ticker-track { display: inline-flex; gap: 4rem; white-space: nowrap; animation: tickerMove 30s linear infinite; font-weight: 600; font-size: .9rem; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker-track a { color: var(--navy-deep); }
.ticker-track a:hover { text-decoration: underline; }
.ticker-track .dot { color: var(--navy-deep); opacity: .5; margin-right: 4rem; }
@keyframes tickerMove { to { transform: translateX(-50%); } }

/* ---------- hero upgrades ---------- */
.hero-blob { position: absolute; border-radius: 50%; filter: blur(70px); opacity: .5; z-index: 1; pointer-events: none; }
.hero-blob.b1 { width: 340px; height: 340px; background: #f5a623; top: -100px; right: 8%; animation: blobFloat 9s ease-in-out infinite; }
.hero-blob.b2 { width: 260px; height: 260px; background: #2b4fa3; bottom: -80px; left: 12%; animation: blobFloat 11s ease-in-out infinite reverse; }
@keyframes blobFloat { 0%,100% { transform: translate(0,0) scale(1); } 50% { transform: translate(30px,-30px) scale(1.12); } }
.hero-wave { position: absolute; bottom: -1px; left: 0; right: 0; z-index: 3; line-height: 0; }
.hero-wave svg { width: 100%; height: 70px; display: block; }
.scroll-hint { position: absolute; bottom: 5.5rem; left: 50%; transform: translateX(-50%); z-index: 4; color: #fff; font-size: .72rem; letter-spacing: .25em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .5rem; opacity: .85; }
.scroll-hint .mouse { width: 24px; height: 38px; border: 2px solid rgba(255,255,255,.7); border-radius: 14px; position: relative; }
.scroll-hint .mouse::after { content: ""; position: absolute; left: 50%; top: 7px; width: 4px; height: 8px; margin-left: -2px; border-radius: 4px; background: var(--amber); animation: wheel 1.8s ease-in-out infinite; }
@keyframes wheel { 0% { transform: translateY(0); opacity: 1; } 70% { transform: translateY(12px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- gradient headline + shine buttons ---------- */
.grad-text { background: linear-gradient(100deg, var(--amber) 10%, #ffcf6b 50%, var(--amber-dark) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
.btn-shine { position: relative; overflow: hidden; }
.btn-shine::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.55), transparent); transform: skewX(-20deg); transition: left .6s ease; }
.btn-shine:hover::after { left: 130%; }

/* ---------- bento feature grid ---------- */
.bento { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.25rem; }
.bento-card { border-radius: 1.3rem; padding: 1.8rem; position: relative; overflow: hidden; min-height: 220px; display: flex; flex-direction: column; justify-content: flex-end; transition: transform .35s ease, box-shadow .35s ease; border: 1px solid var(--line); background: #fff; }
.bento-card:hover { transform: translateY(-8px) scale(1.015); box-shadow: var(--shadow-lg); }
.bento-card h3 { font-size: 1.25rem; margin-bottom: .5rem; position: relative; z-index: 2; }
.bento-card p { color: var(--muted); font-size: .93rem; margin: 0; position: relative; z-index: 2; }
.bento-card .b-ico { width: 56px; height: 56px; border-radius: 1rem; display: inline-flex; align-items: center; justify-content: center; font-size: 1.4rem; color: #fff; background: linear-gradient(135deg, var(--navy-2), var(--navy)); margin-bottom: auto; position: relative; z-index: 2; }
.bento-lg { grid-column: span 4; background: linear-gradient(130deg, var(--navy-deep), var(--navy-2)); border: 0; color: #fff; }
.bento-lg h3 { color: #fff; font-size: 1.6rem; }
.bento-lg p { color: #c9d4ea; }
.bento-lg .b-ico { background: linear-gradient(135deg, var(--amber), var(--amber-dark)); color: var(--navy-deep); }
.bento-lg .b-img { position: absolute; inset: 0; opacity: .28; object-fit: cover; width: 100%; height: 100%; }
.bento-lg::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,28,54,.92) 30%, transparent 70%); }
.bento-sm { grid-column: span 2; }
.bento-sm.amber { background: linear-gradient(135deg, var(--amber), #ffcf6b); border: 0; }
.bento-sm.amber h3 { color: var(--navy-deep); }
.bento-sm.amber p { color: #4a3a08; }
.bento-sm.amber .b-ico { background: var(--navy-deep); }
@media (max-width: 991.98px) { .bento-lg, .bento-sm { grid-column: span 6; } .bento-sm { grid-column: span 3; } }
@media (max-width: 575.98px) { .bento-sm { grid-column: span 6; } }

/* ---------- gallery marquee strip ---------- */
.gstrip { overflow: hidden; position: relative; -webkit-mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); mask-image: linear-gradient(90deg, transparent, #000 6%, #000 94%, transparent); }
.gstrip-track { display: flex; gap: 1.1rem; width: max-content; animation: tickerMove 36s linear infinite; padding: .5rem 0; }
.gstrip:hover .gstrip-track { animation-play-state: paused; }
.gshot { position: relative; width: 300px; height: 200px; border-radius: 1.1rem; overflow: hidden; flex: 0 0 auto; box-shadow: var(--shadow-sm); }
.gshot img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s ease; }
.gshot:hover img { transform: scale(1.1); }
.gshot::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,28,54,.55), transparent 55%); opacity: 0; transition: opacity .35s; }
.gshot:hover::after { opacity: 1; }

/* ---------- principal + testimonials ---------- */
.principal-card { background: #fff; border: 1px solid var(--line); border-radius: 1.5rem; box-shadow: var(--shadow-md); overflow: hidden; height: 100%; }
.principal-photo { height: 260px; background-size: cover; background-position: center top; position: relative; }
.principal-photo::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(14,28,54,.55), transparent 60%); }
.principal-card .pc-body { padding: 1.8rem; }
.principal-card .pc-quote { font-size: 1.02rem; font-style: italic; color: var(--ink); line-height: 1.7; }
.principal-card .pc-name { font-family: var(--font-head); font-weight: 700; color: var(--navy); margin-top: 1rem; }
.principal-card .pc-role { font-size: .82rem; color: var(--amber-dark); font-weight: 600; letter-spacing: .06em; text-transform: uppercase; }
.testi { position: relative; height: 100%; min-height: 340px; }
.testi-slide { position: absolute; inset: 0; opacity: 0; transform: translateY(16px); transition: opacity .6s ease, transform .6s ease; pointer-events: none; background: linear-gradient(135deg, var(--navy-deep), var(--navy-2)); border-radius: 1.5rem; padding: 2.4rem; color: #fff; display: flex; flex-direction: column; justify-content: center; overflow: hidden; }
.testi-slide.active { opacity: 1; transform: none; pointer-events: auto; }
.testi-slide::before { content: "\201C"; position: absolute; top: .4rem; left: 1.4rem; font-family: Georgia, serif; font-size: 6rem; color: rgba(245,166,35,.3); line-height: 1; }
.testi-slide p { font-size: 1.08rem; line-height: 1.75; color: #eef2fb; position: relative; z-index: 2; }
.testi-who { display: flex; align-items: center; gap: .9rem; margin-top: 1.4rem; position: relative; z-index: 2; }
.testi-ava { width: 52px; height: 52px; border-radius: 50%; background: var(--amber); color: var(--navy-deep); font-family: var(--font-head); font-weight: 800; display: inline-flex; align-items: center; justify-content: center; font-size: 1.2rem; }
.testi-who b { display: block; color: #fff; }
.testi-who span { font-size: .82rem; color: #c9d4ea; }
.testi-stars { color: var(--amber); letter-spacing: .2em; margin-bottom: .8rem; position: relative; z-index: 2; }
.testi-dots { display: flex; gap: .5rem; margin-top: 1.2rem; position: relative; z-index: 2; }
.testi-dots button { width: 30px; height: 5px; border-radius: 5px; border: 0; background: rgba(255,255,255,.3); cursor: pointer; padding: 0; }
.testi-dots button.on { background: var(--amber); }

/* ---------- floating enquire button ---------- */
.fab-enquire { position: fixed; left: 1.4rem; bottom: 1.4rem; z-index: 1500; display: inline-flex; align-items: center; gap: .6rem; background: linear-gradient(135deg, var(--amber), var(--amber-dark)); color: var(--navy-deep); font-family: var(--font-head); font-weight: 700; border-radius: 999px; padding: .85rem 1.5rem; box-shadow: 0 12px 28px rgba(245,166,35,.45); transition: transform .3s; }
.fab-enquire:hover { transform: translateY(-4px) scale(1.03); color: var(--navy-deep); }
.fab-enquire .pulse { position: absolute; inset: 0; border-radius: 999px; border: 2px solid var(--amber); animation: fabPulse 2s ease-out infinite; pointer-events: none; }
@keyframes fabPulse { 0% { transform: scale(1); opacity: .8; } 100% { transform: scale(1.35); opacity: 0; } }
@media (max-width: 575.98px) { .fab-enquire span { display: none; } .fab-enquire { padding: .85rem 1rem; } }

/* ---------- section divider curves ---------- */
.curve-top { margin-bottom: -1px; line-height: 0; }
.curve-top svg { width: 100%; height: 60px; display: block; }

/* ---------- feature list rows ---------- */
.feat-row { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.feat-row:last-child { border-bottom: 0; }
.feat-row .f-ico { flex: 0 0 46px; width: 46px; height: 46px; border-radius: .9rem; background: rgba(245,166,35,.15); color: var(--amber-dark); display: inline-flex; align-items: center; justify-content: center; font-size: 1.15rem; }
.feat-row h4 { font-size: 1rem; margin-bottom: .2rem; }
.feat-row p { font-size: .88rem; color: var(--muted); margin: 0; }

/* ============================================================
   FULL MOTION — rich animation system
   ============================================================ */

/* ---------- animated gradient text ---------- */
.grad-text { background: linear-gradient(100deg, var(--amber) 10%, #ffcf6b 35%, #fff3d6 50%, #ffcf6b 65%, var(--amber-dark) 90%); background-size: 220% auto; -webkit-background-clip: text; background-clip: text; color: transparent; animation: gradShift 5s ease-in-out infinite; }
@keyframes gradShift { 0%,100% { background-position: 0% center; } 50% { background-position: 100% center; } }

/* ---------- hero particles ---------- */
.hero-particle { position: absolute; z-index: 1; border-radius: 50%; background: radial-gradient(circle, rgba(245,166,35,.9), rgba(245,166,35,0) 70%); pointer-events: none; animation: rise linear infinite; opacity: 0; }
@keyframes rise {
  0% { transform: translateY(0) scale(1); opacity: 0; }
  12% { opacity: .9; }
  85% { opacity: .5; }
  100% { transform: translateY(-46vh) translateX(3vw) scale(.3); opacity: 0; }
}

/* ---------- 3D tilt ---------- */
.tilt { transform-style: preserve-3d; will-change: transform; }
.tilt .b-ico, .tilt .qlink-ico, .tilt .news-body { transform: translateZ(24px); }

/* ---------- magnetic buttons ---------- */
.btn-magnet { transition: transform .25s ease, box-shadow .3s ease; will-change: transform; }

/* ---------- section title underline draw ---------- */
.sec-title { position: relative; display: inline-block; }
.sec-title::after { content: ""; position: absolute; left: 0; bottom: -8px; height: 4px; width: 0; border-radius: 4px; background: linear-gradient(90deg, var(--amber), var(--amber-dark)); transition: width 1s cubic-bezier(.16,1,.3,1) .3s; }
.revealed .sec-title::after, .reveal.revealed > .sec-title::after { width: 64px; }
.sec-head.center .sec-title::after { left: 50%; transform: translateX(-50%); }

/* ---------- floating decorative shapes ---------- */
.float-shape { position: absolute; pointer-events: none; z-index: 0; opacity: .5; animation: shapeDrift 12s ease-in-out infinite; }
.float-shape.ring { width: 120px; height: 120px; border: 3px dashed rgba(245,166,35,.5); border-radius: 50%; animation: shapeSpin 22s linear infinite; }
.float-shape.dot-grid { width: 140px; height: 90px; background-image: radial-gradient(rgba(30,58,138,.25) 2px, transparent 2.5px); background-size: 18px 18px; }
@keyframes shapeDrift { 0%,100% { transform: translateY(0) rotate(0deg); } 50% { transform: translateY(-22px) rotate(8deg); } }
@keyframes shapeSpin { to { transform: rotate(360deg); } }

/* ---------- reveal variants ---------- */
.reveal-l { opacity: 0; transform: translateX(-40px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-r { opacity: 0; transform: translateX(40px); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-z { opacity: 0; transform: scale(.92); transition: opacity .8s ease, transform .8s cubic-bezier(.16,1,.3,1); }
.reveal-l.revealed, .reveal-r.revealed, .reveal-z.revealed { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) { .reveal-l, .reveal-r, .reveal-z { opacity: 1; transform: none; transition: none; } .grad-text { animation: none; } }

/* ---------- CTA animated glow ---------- */
.cta-banner { position: relative; }
.cta-banner::before { content: ""; position: absolute; inset: -2px; border-radius: inherit; padding: 2px; background: linear-gradient(120deg, var(--amber), transparent 30%, transparent 70%, var(--amber)); background-size: 300% 300%; -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0); -webkit-mask-composite: xor; mask-composite: exclude; animation: borderFlow 6s linear infinite; pointer-events: none; }
@keyframes borderFlow { 0% { background-position: 0% 50%; } 50% { background-position: 100% 50%; } 100% { background-position: 0% 50%; } }
.cta-orb { animation: orbPulse 5s ease-in-out infinite; }
@keyframes orbPulse { 0%,100% { transform: scale(1); opacity: .8; } 50% { transform: scale(1.25); opacity: .4; } }

/* ---------- news card shine sweep ---------- */
.news-card .news-media { position: relative; overflow: hidden; }
.news-card .news-media::after { content: ""; position: absolute; top: 0; left: -80%; width: 50%; height: 100%; background: linear-gradient(100deg, transparent, rgba(255,255,255,.45), transparent); transform: skewX(-20deg); transition: left .7s ease; }
.news-card:hover .news-media::after { left: 130%; }

/* ---------- ticker bounce on items ---------- */
.ticker-track a { display: inline-block; transition: transform .25s; }
.ticker-track a:hover { transform: translateY(-2px) scale(1.03); }

/* ---------- hero eyebrow pulse ---------- */
.hero-eyebrow { animation: eyebrowGlow 3s ease-in-out infinite; }
@keyframes eyebrowGlow { 0%,100% { box-shadow: 0 0 0 0 rgba(245,166,35,.45); } 50% { box-shadow: 0 0 18px 2px rgba(245,166,35,.45); } }

/* ---------- back-to-top pop ---------- */
.back-top.show { animation: popIn .35s cubic-bezier(.16,1,.3,1); }
@keyframes popIn { from { transform: scale(.4); opacity: 0; } to { transform: scale(1); opacity: 1; } }

/* ---------- responsive ---------- */
@media (max-width: 991.98px) {
  .section { padding: 3.5rem 0; }
  .site-nav .navbar-collapse { background: #fff; border-radius: 1rem; box-shadow: var(--shadow-md); padding: 1rem; margin-top: .8rem; }
  .site-nav .nav-link::after { display: none; }
  .btn-apply { margin-top: .8rem; display: inline-block; }
  .hero .carousel-control-prev, .hero .carousel-control-next { display: none; }
  .stat + .stat::before { display: none; }
  .cta-banner { padding: 2.2rem 1.6rem; }
  .welcome-media .wm-float { right: .6rem; }
  .wm-badge { left: .6rem; }
  .topbar .tb-hide-m { display: none; }
}
