/* ==========================================================
   Shri Kasera Bazar Vidya Niketan — Premium School Website
   Theme: Navy · Gold · White
   ========================================================== */
:root {
  --navy-900: #071634;
  --navy-800: #0b1f4b;
  --navy-700: #12306b;
  --navy-600: #1b3f86;
  --gold-500: #c9a227;
  --gold-400: #d9b84a;
  --gold-100: #f8f0d6;
  --gold-800: #6f5400;   /* gold text on pale-gold tints (5.9:1) */
  --brand-red: #c8102e;  /* logo red, deepened for white text (5.9:1) */
  --brand-cream: #fefce6; /* logo cream */
  --on-navy: #dfe5f3;    /* body text on navy (12.7:1) */
  --on-navy-2: #b9c3dc;  /* secondary text on navy (9:1) */
  --on-navy-3: #9fb0d4;  /* small/meta text on navy (7.3:1) */
  --white: #ffffff;
  --ink: #1a2238;
  --muted: #5d6680;
  --line: #e4e7ef;
  --bg-soft: #f6f7fb;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 8px rgba(11, 31, 75, .06);
  --shadow: 0 12px 34px rgba(11, 31, 75, .10);
  --shadow-lg: 0 24px 60px rgba(11, 31, 75, .18);
  --font-head: "Playfair Display", Georgia, serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --container: 1200px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--navy-700); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-500); }
h1, h2, h3, h4 { font-family: var(--font-head); color: var(--navy-800); line-height: 1.2; margin: 0 0 .6em; }
h1 { font-size: clamp(2rem, 5vw, 3.6rem); }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.45rem); }
p { margin: 0 0 1em; }
ul { padding-left: 1.2em; }
.container { width: 100%; max-width: var(--container); margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(60px, 9vw, 110px) 0; }
.section-soft { background: var(--bg-soft); }
.section-navy { background: var(--navy-800); color: var(--on-navy); }
.section-navy h2, .section-navy h3 { color: var(--white); }
.center { text-align: center; }
.skip-link { position: absolute; left: -999px; top: 8px; background: var(--gold-500); color: var(--navy-900); padding: 8px 14px; z-index: 999; border-radius: 6px; }
.skip-link:focus { left: 8px; }

/* ---------- Eyebrow / Section headings ---------- */
.eyebrow {
  display: inline-flex; align-items: center; gap: 10px;
  font-size: .78rem; font-weight: 700; letter-spacing: .18em; text-transform: uppercase;
  color: var(--gold-500); margin-bottom: 14px;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; background: var(--gold-500); }
.section-head { max-width: 720px; margin: 0 auto 50px; text-align: center; }
.section-head .eyebrow::after { content: ""; width: 28px; height: 2px; background: var(--gold-500); }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.section-navy .section-head p { color: var(--on-navy-2); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 14px 28px; border-radius: 999px; font-weight: 600; font-size: .95rem;
  border: 2px solid transparent; cursor: pointer; transition: all .25s var(--ease);
  font-family: var(--font-body); line-height: 1.2;
}
.btn-gold { background: var(--gold-500); color: var(--navy-900); }
.btn-gold:hover { background: var(--gold-400); color: var(--navy-900); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(201, 162, 39, .35); }
.btn-navy { background: var(--navy-800); color: var(--white); }
.btn-navy:hover { background: var(--navy-700); color: var(--white); transform: translateY(-2px); }
.btn-outline { border-color: rgba(255, 255, 255, .7); color: var(--white); }
.btn-outline:hover { background: var(--white); color: var(--navy-800); }
.btn-outline-navy { border-color: var(--navy-800); color: var(--navy-800); }
.btn-outline-navy:hover { background: var(--navy-800); color: var(--white); }
.btn-sm { padding: 10px 18px; font-size: .85rem; }

/* ---------- Top bar ---------- */
.topbar { background: var(--navy-900); color: var(--on-navy); font-size: .82rem; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 12px; padding-top: 8px; padding-bottom: 8px; flex-wrap: wrap; }
.topbar a { color: var(--on-navy); }
.topbar a:hover { color: var(--gold-400); }
.topbar-left, .topbar-right { display: flex; gap: 18px; flex-wrap: wrap; align-items: center; }
.topbar .badge-cbse { background: var(--gold-500); color: var(--navy-900); padding: 2px 10px; border-radius: 999px; font-weight: 700; font-size: .72rem; letter-spacing: .05em; }

/* ---------- Header / Nav ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: rgba(255, 255, 255, .96); backdrop-filter: blur(10px); border-bottom: 1px solid var(--line); transition: box-shadow .3s; }
.site-header.scrolled { box-shadow: var(--shadow); }
.nav-wrap { display: flex; align-items: center; justify-content: space-between; height: 82px; gap: 20px; }
.brand { display: flex; align-items: center; gap: 12px; color: var(--navy-800); }
.brand:hover { color: var(--navy-800); }
.brand-mark {
  width: 52px; height: 52px; border-radius: 50%; flex-shrink: 0;
  background: radial-gradient(circle at 30% 30%, var(--navy-600), var(--navy-900));
  border: 3px solid var(--gold-500); display: grid; place-items: center;
  color: var(--gold-400); font-family: var(--font-head); font-weight: 700; font-size: 1.05rem;
}
.brand-text strong { display: block; font-family: var(--font-head); font-size: 1.12rem; line-height: 1.15; }
.brand-text span { font-size: .72rem; color: var(--muted); letter-spacing: .08em; text-transform: uppercase; }
.main-nav > ul { list-style: none; display: flex; gap: 4px; margin: 0; padding: 0; align-items: center; }
.main-nav li { position: relative; }
.main-nav a, .main-nav .dd-toggle {
  display: block; padding: 10px 13px; font-size: .92rem; font-weight: 500; color: var(--ink); border-radius: 8px;
  background: none; border: 0; cursor: pointer; font-family: inherit;
}
.main-nav a:hover, .main-nav .dd-toggle:hover, .main-nav a.active { color: var(--navy-700); background: var(--bg-soft); }
.main-nav a.active { color: var(--gold-500); }
.dd-toggle::after { content: "▾"; margin-left: 5px; font-size: .7rem; }
.dropdown {
  list-style: none; position: absolute; top: calc(100% + 8px); left: 0; min-width: 230px; padding: 10px;
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow-lg); border-top: 3px solid var(--gold-500);
  opacity: 0; visibility: hidden; transform: translateY(8px); transition: all .25s var(--ease);
}
.has-dd:hover .dropdown, .has-dd:focus-within .dropdown, .has-dd.open .dropdown { opacity: 1; visibility: visible; transform: translateY(0); }
.dropdown a { padding: 9px 12px; font-size: .9rem; }
.nav-cta { margin-left: 8px; }
.nav-toggle { display: none; background: none; border: 0; width: 44px; height: 44px; cursor: pointer; padding: 10px; }
.nav-toggle span { display: block; height: 2px; background: var(--navy-800); margin: 5px 0; transition: .3s; }

/* ---------- Hero ---------- */
.hero {
  position: relative; min-height: min(88vh, 760px); display: flex; align-items: center; color: var(--white); overflow: hidden;
  background:
    linear-gradient(105deg, rgba(7, 22, 52, .94) 0%, rgba(11, 31, 75, .82) 45%, rgba(11, 31, 75, .35) 100%),
    var(--hero-img, url("../img/hero-placeholder.svg")) center/cover no-repeat;
}
.hero video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -1; }
.hero .container { position: relative; z-index: 2; }
.hero-content { max-width: 680px; padding: 60px 0; }
.hero h1 { color: var(--white); margin-bottom: .4em; }
.hero h1 em { font-style: normal; color: var(--gold-400); }
.hero p.lead { font-size: clamp(1.02rem, 1.6vw, 1.2rem); color: var(--on-navy); max-width: 560px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 30px; }
.hero-tag { display: inline-flex; align-items: center; gap: 10px; background: rgba(201, 162, 39, .15); border: 1px solid rgba(201, 162, 39, .5); color: var(--gold-400); padding: 7px 16px; border-radius: 999px; font-size: .82rem; font-weight: 600; margin-bottom: 22px; letter-spacing: .04em; }
.hero-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; margin-top: 50px; border-top: 1px solid rgba(255, 255, 255, .18); padding-top: 26px; max-width: 640px; }
.hero-stats div strong { display: block; font-family: var(--font-head); font-size: 2rem; color: var(--gold-400); line-height: 1; }
.hero-stats div span { font-size: .8rem; color: var(--on-navy-2); }
.hero-scroll { position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%); width: 26px; height: 42px; border: 2px solid rgba(255, 255, 255, .5); border-radius: 20px; z-index: 2; }
.hero-scroll::after { content: ""; position: absolute; left: 50%; top: 8px; width: 4px; height: 8px; background: var(--gold-400); border-radius: 2px; transform: translateX(-50%); animation: scrollDot 1.8s infinite; }
@keyframes scrollDot { 0% { opacity: 1; top: 8px; } 100% { opacity: 0; top: 24px; } }

/* ---------- Page hero (inner pages) ---------- */
.page-hero {
  background:
    linear-gradient(120deg, rgba(7, 22, 52, .95), rgba(18, 48, 107, .85)),
    url("../img/pattern.svg") center/420px repeat;
  color: var(--white); padding: clamp(60px, 9vw, 100px) 0 clamp(50px, 7vw, 80px); position: relative;
}
.page-hero::after { content: ""; position: absolute; left: 0; right: 0; bottom: 0; height: 4px; background: linear-gradient(90deg, var(--gold-500), transparent); }
.page-hero h1 { color: var(--white); margin-bottom: .3em; }
.page-hero p { color: var(--on-navy); max-width: 640px; font-size: 1.08rem; margin: 0; }
.breadcrumb { font-size: .85rem; color: var(--on-navy-3); margin-bottom: 14px; }
.breadcrumb a { color: var(--gold-400); }

/* ---------- Grid helpers ---------- */
.grid { display: grid; gap: 26px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.split { display: grid; grid-template-columns: 1.05fr 1fr; gap: clamp(30px, 6vw, 80px); align-items: center; }
.split.reverse > :first-child { order: 2; }

/* ---------- Cards ---------- */
.card {
  background: var(--white); border-radius: var(--radius-lg); padding: 32px 28px; border: 1px solid var(--line);
  box-shadow: var(--shadow-sm); transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s;
  position: relative; overflow: hidden;
}
.card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: transparent; }
.card p { color: var(--muted); margin-bottom: 0; }
.card .icon {
  width: 58px; height: 58px; border-radius: 16px; display: grid; place-items: center; margin-bottom: 20px;
  background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: var(--gold-400);
}
.card .icon svg { width: 28px; height: 28px; }
.card.gold-top::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); transform: scaleX(0); transform-origin: left; transition: transform .4s var(--ease); }
.card.gold-top:hover::before { transform: scaleX(1); }
.card-link { display: inline-flex; gap: 6px; margin-top: 16px; font-weight: 600; font-size: .9rem; color: var(--navy-700); }
.card-link:hover { gap: 10px; }

/* ---------- Image frames / placeholders ---------- */
.photo {
  position: relative; border-radius: var(--radius-lg); overflow: hidden; background: var(--navy-700);
  aspect-ratio: 4 / 3; box-shadow: var(--shadow);
}
.photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.photo:hover img { transform: scale(1.05); }
.photo-tall { aspect-ratio: 4 / 5; }
.photo-wide { aspect-ratio: 16 / 9; }
.ph {
  /* Photo placeholder — replace with real school photographs */
  background:
    linear-gradient(135deg, rgba(11, 31, 75, .88), rgba(27, 63, 134, .75)),
    url("../img/pattern.svg") center/260px repeat;
  display: grid; place-items: center; color: rgba(255, 255, 255, .85); text-align: center; padding: 20px;
}
.ph span { font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; border: 1px dashed rgba(217, 184, 74, .7); padding: 8px 14px; border-radius: 8px; color: var(--gold-400); }
.legacy-badge {
  position: absolute; bottom: -24px; right: -10px; background: var(--gold-500); color: var(--navy-900); border-radius: 18px;
  padding: 18px 24px; box-shadow: var(--shadow-lg); text-align: center;
}
.legacy-badge strong { display: block; font-family: var(--font-head); font-size: 2.2rem; line-height: 1; }
.legacy-badge span { font-size: .78rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
.photo-stack { position: relative; padding-bottom: 30px; }

/* ---------- Check list ---------- */
.checklist { list-style: none; padding: 0; margin: 20px 0 28px; display: grid; gap: 12px; }
.checklist li { position: relative; padding-left: 34px; }
.checklist li::before {
  content: "✓"; position: absolute; left: 0; top: 2px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--gold-100); color: var(--gold-500); font-weight: 700; font-size: .8rem; display: grid; place-items: center;
}
.checklist.two-col { grid-template-columns: 1fr 1fr; }

/* ---------- Programme stage cards ---------- */
.stage { text-align: left; }
.stage .grade { display: inline-block; font-size: .75rem; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--gold-500); background: var(--gold-100); padding: 4px 12px; border-radius: 999px; margin-bottom: 14px; }

/* ---------- Stats band ---------- */
.stats-band { background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); color: var(--white); padding: 60px 0; position: relative; overflow: hidden; }
.stats-band::before { content: ""; position: absolute; inset: 0; background: url("../img/pattern.svg") center/300px repeat; opacity: .5; }
.stats-band .grid { position: relative; text-align: center; }
.stat strong { display: block; font-family: var(--font-head); font-size: clamp(2.2rem, 5vw, 3.2rem); color: var(--gold-400); line-height: 1.1; }
.stat span { color: var(--on-navy); font-size: .92rem; }

/* ---------- Achievements ---------- */
.achieve { display: flex; gap: 18px; align-items: flex-start; }
.achieve .medal { flex-shrink: 0; width: 54px; height: 54px; border-radius: 50%; background: linear-gradient(135deg, var(--gold-500), var(--gold-400)); display: grid; place-items: center; color: var(--navy-900); font-weight: 800; font-family: var(--font-head); }

/* ---------- News ---------- */
.news-card { padding: 0; }
.news-card .photo { border-radius: 0; box-shadow: none; aspect-ratio: 16 / 10; }
.news-body { padding: 24px 26px 28px; }
.news-meta { display: flex; gap: 10px; align-items: center; font-size: .8rem; color: var(--muted); margin-bottom: 10px; }
.tag { background: var(--gold-100); color: var(--gold-800); padding: 3px 10px; border-radius: 999px; font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .06em; }
.date-chip { position: absolute; top: 16px; left: 16px; background: var(--white); border-radius: 12px; padding: 8px 12px; text-align: center; z-index: 2; box-shadow: var(--shadow-sm); }
.date-chip strong { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--navy-800); line-height: 1; }
.date-chip span { font-size: .7rem; text-transform: uppercase; color: var(--muted); font-weight: 600; }

/* ---------- Notice board ---------- */
.notice-board { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow); overflow: hidden; border: 1px solid var(--line); }
.notice-board header { background: var(--navy-800); color: var(--white); padding: 18px 24px; display: flex; justify-content: space-between; align-items: center; }
.notice-board header h3 { color: var(--white); margin: 0; font-size: 1.15rem; }
.notice-list { list-style: none; margin: 0; padding: 6px 0; max-height: 380px; overflow-y: auto; }
.notice-list li { display: flex; gap: 14px; padding: 14px 24px; border-bottom: 1px solid var(--line); align-items: center; }
.notice-list li:last-child { border-bottom: 0; }
.notice-list .n-date { flex-shrink: 0; font-size: .75rem; font-weight: 700; color: var(--gold-500); width: 62px; text-transform: uppercase; }
.notice-list a { color: var(--ink); font-weight: 500; font-size: .93rem; }
.notice-list a:hover { color: var(--navy-600); }
.pdf { font-size: .68rem; font-weight: 700; background: #fde8e8; color: #b42318; padding: 2px 7px; border-radius: 5px; margin-left: auto; flex-shrink: 0; }
.new-dot { background: var(--brand-red); color: #fff; font-size: .62rem; font-weight: 700; padding: 2px 6px; border-radius: 4px; margin-left: 6px; animation: blink 1.6s infinite; }
@keyframes blink { 50% { opacity: .35; } }

/* ---------- Testimonials ---------- */
.testimonial { background: var(--white); border-radius: var(--radius-lg); padding: 34px 30px; box-shadow: var(--shadow-sm); border: 1px solid var(--line); position: relative; }
.testimonial::before { content: "\201C"; position: absolute; top: 4px; right: 22px; font-family: var(--font-head); font-size: 6rem; color: var(--gold-100); line-height: 1; }
.testimonial p { font-style: italic; color: var(--ink); position: relative; }
.t-author { display: flex; gap: 14px; align-items: center; margin-top: 22px; }
.t-avatar { width: 48px; height: 48px; border-radius: 50%; background: var(--navy-800); color: var(--gold-400); display: grid; place-items: center; font-weight: 700; font-family: var(--font-head); }
.t-author strong { display: block; color: var(--navy-800); }
.t-author span { font-size: .82rem; color: var(--muted); }
.stars { color: var(--gold-500); letter-spacing: 2px; margin-bottom: 10px; }

/* ---------- Forms ---------- */
.form-card { background: var(--white); border-radius: var(--radius-lg); padding: clamp(26px, 4vw, 42px); box-shadow: var(--shadow-lg); color: var(--ink); }
.form-card h3 { margin-bottom: 6px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 22px; }
.form-grid .full { grid-column: 1 / -1; }
label { display: block; font-size: .82rem; font-weight: 600; color: var(--navy-800); margin-bottom: 6px; }
input, select, textarea {
  width: 100%; padding: 13px 15px; border: 1.5px solid var(--line); border-radius: 10px; font-size: .95rem;
  font-family: inherit; color: var(--ink); background: var(--bg-soft); transition: border-color .2s, background .2s;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--gold-500); background: var(--white); }
textarea { min-height: 110px; resize: vertical; }
.form-note { font-size: .8rem; color: var(--muted); margin-top: 12px; }
.form-success { display: none; background: #ecfdf3; color: #067647; border: 1px solid #abefc6; padding: 14px 18px; border-radius: 10px; margin-top: 16px; font-size: .92rem; }

/* ---------- CTA band ---------- */
.cta-band { background: linear-gradient(120deg, var(--gold-500), var(--gold-400)); padding: 56px 0; }
.cta-band .container { display: flex; justify-content: space-between; align-items: center; gap: 24px; flex-wrap: wrap; }
.cta-band h2 { margin: 0 0 6px; color: var(--navy-900); }
.cta-band p { margin: 0; color: var(--navy-800); font-weight: 500; }

/* ---------- Tables ---------- */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--line); box-shadow: var(--shadow-sm); background: var(--white); }
table { width: 100%; border-collapse: collapse; font-size: .93rem; min-width: 560px; }
th, td { padding: 14px 18px; text-align: left; border-bottom: 1px solid var(--line); vertical-align: top; }
th { background: var(--navy-800); color: var(--white); font-weight: 600; font-size: .85rem; letter-spacing: .03em; }
tr:nth-child(even) td { background: var(--bg-soft); }
td a { font-weight: 600; }

/* ---------- Timeline (admission process) ---------- */
.steps { display: grid; grid-template-columns: repeat(5, 1fr); gap: 20px; counter-reset: step; }
.step { text-align: center; position: relative; padding: 0 6px; }
.step::before {
  counter-increment: step; content: counter(step); width: 62px; height: 62px; border-radius: 50%; margin: 0 auto 18px;
  display: grid; place-items: center; background: var(--white); border: 3px solid var(--gold-500); color: var(--navy-800);
  font-family: var(--font-head); font-size: 1.5rem; font-weight: 700; position: relative; z-index: 2;
}
.step:not(:last-child)::after { content: ""; position: absolute; top: 31px; left: calc(50% + 31px); right: calc(-50% + 31px); height: 2px; background: repeating-linear-gradient(90deg, var(--gold-500) 0 6px, transparent 6px 12px); }
.step h3 { font-size: 1.05rem; margin-bottom: 6px; }
.step p { font-size: .88rem; color: var(--muted); }

/* ---------- Gallery ---------- */
.filters { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; margin-bottom: 34px; }
.filter-btn { padding: 9px 20px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); cursor: pointer; font-weight: 600; font-size: .88rem; color: var(--ink); font-family: inherit; transition: .2s; }
.filter-btn.active, .filter-btn:hover { background: var(--navy-800); color: var(--white); border-color: var(--navy-800); }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.gallery-item { cursor: zoom-in; border-radius: var(--radius); }
.gallery-item.hide { display: none; }
.gallery-item.big { grid-column: span 2; grid-row: span 2; aspect-ratio: auto; }
.lightbox { position: fixed; inset: 0; background: rgba(7, 22, 52, .94); z-index: 500; display: none; place-items: center; padding: 30px; }
.lightbox.open { display: grid; }
.lightbox-inner { max-width: 1000px; width: 100%; aspect-ratio: 16 / 10; border-radius: var(--radius); overflow: hidden; }
.lightbox-close { position: absolute; top: 20px; right: 24px; background: none; border: 0; color: #fff; font-size: 2.4rem; cursor: pointer; line-height: 1; }
.video-card { position: relative; }
.play { position: absolute; inset: 0; margin: auto; width: 74px; height: 74px; border-radius: 50%; background: var(--gold-500); display: grid; place-items: center; z-index: 2; box-shadow: 0 0 0 12px rgba(201, 162, 39, .25); transition: transform .3s; }
.video-card:hover .play { transform: scale(1.1); }
.play::after { content: ""; border-left: 20px solid var(--navy-900); border-top: 12px solid transparent; border-bottom: 12px solid transparent; margin-left: 6px; }

/* ---------- Message (Chairman / Principal) ---------- */
.message-wrap { display: grid; grid-template-columns: 360px 1fr; gap: clamp(30px, 5vw, 70px); align-items: start; }
.message-wrap aside { position: sticky; top: 110px; }
.message-wrap aside .name { margin-top: 22px; }
.message-wrap aside .name strong { display: block; font-family: var(--font-head); font-size: 1.4rem; color: var(--navy-800); }
.message-wrap aside .name span { color: var(--gold-500); font-weight: 600; font-size: .9rem; }
.message-body { font-size: 1.06rem; }
.message-body .drop::first-letter { font-family: var(--font-head); float: left; font-size: 4.2rem; line-height: .85; padding: 6px 10px 0 0; color: var(--gold-500); }
.signature { font-family: var(--font-head); font-style: italic; font-size: 1.6rem; color: var(--navy-700); margin-top: 30px; }

/* ---------- Pull quote ---------- */
.pull-quote { border-left: 4px solid var(--gold-500); padding: 6px 0 6px 24px; margin: 30px 0; font-family: var(--font-head); font-size: 1.35rem; color: var(--navy-800); font-style: italic; }

/* ---------- Downloads ---------- */
.download-list { display: grid; gap: 12px; }
.download { display: flex; align-items: center; gap: 16px; padding: 16px 20px; background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); transition: .25s; }
.download:hover { border-color: var(--gold-500); box-shadow: var(--shadow-sm); transform: translateX(4px); }
.download .file-ic { width: 42px; height: 42px; border-radius: 10px; background: #fde8e8; color: #b42318; display: grid; place-items: center; font-weight: 800; font-size: .7rem; flex-shrink: 0; }
.download div { flex: 1; }
.download strong { display: block; color: var(--navy-800); font-size: .95rem; }
.download span { font-size: .8rem; color: var(--muted); }
.download .dl { font-weight: 700; font-size: .85rem; color: var(--gold-500); }

/* ---------- Tabs ---------- */
.tabs { display: flex; gap: 8px; flex-wrap: wrap; border-bottom: 2px solid var(--line); margin-bottom: 30px; }
.tab-btn { padding: 12px 20px; background: none; border: 0; border-bottom: 3px solid transparent; margin-bottom: -2px; cursor: pointer; font-weight: 600; font-family: inherit; color: var(--muted); font-size: .95rem; }
.tab-btn.active { color: var(--navy-800); border-color: var(--gold-500); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: fadeUp .5s var(--ease); }

/* ---------- Accordion (FAQ) ---------- */
.faq details { background: var(--white); border: 1px solid var(--line); border-radius: var(--radius); margin-bottom: 12px; padding: 0 22px; transition: .2s; }
.faq details[open] { box-shadow: var(--shadow-sm); border-color: var(--gold-400); }
.faq summary { cursor: pointer; padding: 18px 0; font-weight: 600; color: var(--navy-800); list-style: none; display: flex; justify-content: space-between; gap: 14px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; font-size: 1.4rem; color: var(--gold-500); line-height: 1; }
.faq details[open] summary::after { content: "−"; }
.faq details p { color: var(--muted); padding-bottom: 18px; margin: 0; }

/* ---------- Contact ---------- */
.contact-item { display: flex; gap: 16px; align-items: flex-start; margin-bottom: 24px; }
.contact-item .icon { margin: 0; width: 50px; height: 50px; border-radius: 14px; flex-shrink: 0; }
.contact-item strong { display: block; color: var(--navy-800); }
.contact-item span, .contact-item a { color: var(--muted); }
.map { border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow); min-height: 380px; border: 0; width: 100%; height: 100%; }

/* ---------- Footer ---------- */
.site-footer { background: var(--navy-900); color: var(--on-navy-2); padding-top: 80px; font-size: .92rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; padding-bottom: 50px; }
.site-footer .f-title { color: var(--white); font-family: var(--font-body); font-size: 1rem; font-weight: 700; margin-bottom: 20px; position: relative; padding-bottom: 12px; }
.site-footer .f-title::after { content: ""; position: absolute; left: 0; bottom: 0; width: 34px; height: 2px; background: var(--gold-500); }
.site-footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: 9px; }
.site-footer a { color: var(--on-navy-2); }
.site-footer a:hover { color: var(--gold-400); }
.site-footer .brand { color: var(--white); margin-bottom: 18px; }
.site-footer .brand-text span { color: var(--on-navy-3); }
.socials { display: flex; gap: 10px; margin-top: 20px; }
.socials a { width: 40px; height: 40px; border-radius: 50%; border: 1px solid rgba(255, 255, 255, .18); display: grid; place-items: center; transition: .25s; }
.socials a:hover { background: var(--gold-500); border-color: var(--gold-500); color: var(--navy-900); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { border-top: 1px solid rgba(255, 255, 255, .1); padding: 22px 0; display: flex; justify-content: space-between; gap: 14px; flex-wrap: wrap; font-size: .82rem; }

/* ---------- Floating actions (WhatsApp / Call / Enquire) ---------- */
.float-actions { position: fixed; right: 18px; bottom: 18px; z-index: 300; display: flex; flex-direction: column; gap: 12px; }
.fab { width: 56px; height: 56px; border-radius: 50%; display: grid; place-items: center; box-shadow: var(--shadow-lg); transition: transform .25s; position: relative; }
.fab:hover { transform: scale(1.08); }
.fab svg { width: 28px; height: 28px; }
.fab-wa { background: #25d366; color: #fff; animation: waPulse 2.2s infinite; }
/* Pulse drawn with box-shadow (renders cleanly in iPhone Safari; the old ::before + negative z-index did not) */
@keyframes waPulse { 0% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(37, 211, 102, .55); } 70% { box-shadow: var(--shadow-lg), 0 0 0 16px rgba(37, 211, 102, 0); } 100% { box-shadow: var(--shadow-lg), 0 0 0 0 rgba(37, 211, 102, 0); } }
.fab-call { background: var(--navy-800); color: var(--gold-400); }
.fab:hover { color: inherit; }
.mobile-bar { display: none; }

/* ---------- Admission popup ribbon ---------- */
.admission-ribbon { background: linear-gradient(90deg, var(--gold-500), var(--gold-400)); color: var(--navy-900); text-align: center; font-size: .88rem; font-weight: 600; padding: 9px 40px 9px 16px; position: relative; }
.admission-ribbon a { color: var(--navy-900); text-decoration: underline; font-weight: 700; }
.admission-ribbon button { position: absolute; right: 10px; top: 50%; transform: translateY(-50%); background: none; border: 0; font-size: 1.2rem; cursor: pointer; color: var(--navy-900); }

/* ---------- Placeholder note (for client handover) ---------- */
.todo { background: #fff8e6; border: 1px dashed var(--gold-500); color: var(--gold-800); padding: 2px 8px; border-radius: 6px; font-size: .85em; font-weight: 600; }

/* ---------- Reveal animations ---------- */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; } .reveal.d2 { transition-delay: .2s; } .reveal.d3 { transition-delay: .3s; }
@keyframes fadeUp { from { opacity: 0; transform: translateY(14px); } to { opacity: 1; transform: none; } }
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ---------- Responsive ---------- */
@media (max-width: 1100px) {
  .main-nav a, .main-nav .dd-toggle { padding: 10px 9px; font-size: .88rem; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 1180px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed; top: 0; right: 0; bottom: 0; width: min(340px, 86vw); background: var(--white); z-index: 200;
    transform: translateX(100%); transition: transform .35s var(--ease); padding: 90px 20px 30px; overflow-y: auto; box-shadow: var(--shadow-lg);
  }
  .main-nav.open { transform: none; }
  .main-nav > ul { flex-direction: column; align-items: stretch; gap: 2px; }
  .main-nav a, .main-nav .dd-toggle { padding: 12px 14px; font-size: 1rem; width: 100%; text-align: left; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: 0; padding: 0 0 0 14px; display: none; min-width: 0; }
  .has-dd.open .dropdown { display: block; }
  .has-dd:hover .dropdown { display: none; }
  .has-dd.open:hover .dropdown { display: block; }
  .nav-cta { margin: 14px 0 0; }
  .nav-cta .btn { width: 100%; }
  .nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
  .nav-toggle.open span:nth-child(2) { opacity: 0; }
  .nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
  .nav-toggle { position: relative; z-index: 210; }
  .nav-overlay { position: fixed; inset: 0; background: rgba(7, 22, 52, .5); z-index: 150; opacity: 0; visibility: hidden; transition: .3s; }
  .nav-overlay.open { opacity: 1; visibility: visible; }
}
@media (max-width: 980px) {
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .split, .message-wrap { grid-template-columns: 1fr; }
  .split.reverse > :first-child { order: 0; }
  .message-wrap aside { position: static; max-width: 380px; }
  .steps { grid-template-columns: 1fr; gap: 28px; }
  .step { display: grid; grid-template-columns: 62px 1fr; gap: 18px; text-align: left; align-items: start; }
  .step::before { margin: 0; }
  .step:not(:last-child)::after { left: 30px; right: auto; top: 62px; bottom: -28px; width: 2px; height: auto; background: repeating-linear-gradient(180deg, var(--gold-500) 0 6px, transparent 6px 12px); }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .topbar-left .hide-sm { display: none; }
}
@media (max-width: 640px) {
  body { font-size: 15px; padding-bottom: 64px; }
  .container { padding: 0 16px; }
  .topbar { display: none; }
  .nav-wrap { height: 70px; }
  .brand-mark { width: 44px; height: 44px; font-size: .9rem; }
  .brand-text strong { font-size: .98rem; }
  .brand-text span { font-size: .62rem; }
  .grid-2, .grid-3, .grid-4, .form-grid, .checklist.two-col { grid-template-columns: 1fr; }
  .hero-stats { grid-template-columns: repeat(2, 1fr); gap: 20px; }
  .hero-actions .btn { flex: 1 1 auto; }
  .footer-grid { grid-template-columns: 1fr; }
  .legacy-badge { right: 10px; }
  .gallery-item.big { grid-column: span 2; grid-row: span 1; }
  /* phones: the bottom bar already has Call / Enquire / WhatsApp — no floating bubble over the content */
  .float-actions { display: none; }
  .mobile-bar {
    display: grid; grid-template-columns: 1fr 1fr 1fr; position: fixed; left: 0; right: 0; bottom: 0; z-index: 290;
    background: var(--navy-900); border-top: 2px solid var(--gold-500);
  }
  .mobile-bar a { color: var(--white); text-align: center; padding: 10px 4px; font-size: .74rem; font-weight: 600; display: flex; flex-direction: column; align-items: center; gap: 3px; }
  .mobile-bar a:nth-child(2) { background: var(--gold-500); color: var(--navy-900); }
  .mobile-bar svg { width: 20px; height: 20px; }
  .cta-band .container { flex-direction: column; align-items: flex-start; }
}

/* ---------- Overrides: real logo + video hero ---------- */
.brand-logo { width: 58px; height: 58px; flex-shrink: 0; object-fit: contain; filter: drop-shadow(0 2px 4px rgba(0,0,0,.12)); }
.site-footer .brand-logo { width: 64px; height: 64px; background: #fff; border-radius: 50%; padding: 3px; }
.hero { background: var(--navy-900); isolation: isolate; }
.hero video, .hero .hero-poster { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: 0; }
.hero::before { content: ""; position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(100deg, rgba(7,22,52,.92) 0%, rgba(11,31,75,.78) 42%, rgba(11,31,75,.25) 100%); }
.hero .container, .hero-scroll { z-index: 2; }
.hero-video-btn { display: inline-flex; align-items: center; gap: 10px; color: #fff; font-weight: 600; font-size: .9rem; background: none; border: 0; cursor: pointer; font-family: inherit; padding: 0; }
.hero-video-btn i { width: 44px; height: 44px; border-radius: 50%; border: 2px solid var(--gold-400); display: grid; place-items: center; }
.hero-video-btn i::after { content: ""; border-left: 11px solid var(--gold-400); border-top: 7px solid transparent; border-bottom: 7px solid transparent; margin-left: 3px; }
.page-hero.has-img { background: linear-gradient(110deg, rgba(7,22,52,.95) 0%, rgba(11,31,75,.82) 55%, rgba(11,31,75,.55) 100%), var(--ph-img) center/cover no-repeat; }
.mosaic { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.mosaic .photo { aspect-ratio: auto; height: 100%; }
.mosaic .w2 { grid-column: span 2; } .mosaic .h2 { grid-row: span 2; }
.photo figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 16px 12px; color: #fff; font-weight: 600; font-size: .9rem;
  background: linear-gradient(transparent, rgba(7,22,52,.85)); }
.facility { padding: 0; }
.facility .photo { border-radius: 0; box-shadow: none; aspect-ratio: 3 / 2; }
.facility .body { padding: 24px 26px 28px; }
.leader-card { display: grid; grid-template-columns: 220px 1fr; gap: 0; padding: 0; }
.leader-card .photo { border-radius: 0; box-shadow: none; aspect-ratio: auto; height: 100%; min-height: 260px; }
.leader-card .body { padding: 30px; }
.motto { font-family: var(--font-head); color: var(--gold-400); font-size: 1.15rem; }
@media (max-width: 980px) { .mosaic { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; } }
@media (max-width: 640px) {
  .brand-logo { width: 46px; height: 46px; }
  .leader-card { grid-template-columns: 1fr; }
  .leader-card .photo { min-height: 240px; aspect-ratio: 4/3; }
  .mosaic .w2 { grid-column: span 2; }
}
@media (max-width: 1180px) {
  .main-nav { visibility: hidden; transition: transform .35s var(--ease), visibility 0s .35s; }
  .main-nav.open { visibility: visible; transition: transform .35s var(--ease), visibility 0s; }
}
html { overflow-x: clip; }
@media (max-width: 1180px) { .site-header { backdrop-filter: none; -webkit-backdrop-filter: none; background: #fff; } }
@media (max-width: 1180px) { .nav-overlay { z-index: 90; } }
.main-nav .btn-gold { background: var(--gold-500); color: var(--navy-900); text-align: center; padding: 10px 18px; } .main-nav .btn-gold:hover { background: var(--gold-400); }
.site-header .container { max-width: 1320px; }
.main-nav a, .main-nav .dd-toggle { white-space: nowrap; }
@media (min-width: 1181px) { .main-nav a, .main-nav .dd-toggle { padding: 10px 11px; font-size: .9rem; } .brand-text strong { font-size: 1.05rem; } }
figure { margin: 0; }

/* =========================================================
   UI/UX Pro Max audit fixes (accessibility & interaction)
   ========================================================= */
:root { --gold-700: #8a6a00; /* gold for TEXT on light backgrounds: 5.1:1 on white */ --ring: #1b3f86; }

/* 1. Contrast — gold text on light surfaces uses the darker gold */
a:hover { color: var(--gold-700); }
.eyebrow { color: var(--gold-700); }
.eyebrow::before, .section-head .eyebrow::after { background: var(--gold-500); }
.section-navy .eyebrow, .hero .eyebrow, .page-hero .eyebrow, .stats-band .eyebrow { color: var(--gold-400); }
.section-navy a:not(.btn):hover, .site-footer a:hover, .topbar a:hover { color: var(--gold-400); }
.btn:hover { color: inherit; }
.btn-gold:hover { color: var(--navy-900); } .btn-navy:hover, .btn-outline-navy:hover { color: var(--white); } .btn-outline:hover { color: var(--navy-800); }
.main-nav a.active { color: var(--gold-700); }
.checklist li::before, .stage .grade, .notice-list .n-date, .download .dl,
.message-wrap aside .name span, .stars, .faq summary::after { color: var(--gold-700); }
.fab-wa { background: #128c4a; }

/* 2. Visible keyboard focus everywhere */
:focus-visible { outline: 3px solid var(--ring); outline-offset: 3px; border-radius: 6px; }
.section-navy :focus-visible, .hero :focus-visible, .site-footer :focus-visible, .page-hero :focus-visible,
.topbar :focus-visible, .mobile-bar :focus-visible, .cta-band :focus-visible { outline-color: var(--gold-400); }
.cta-band :focus-visible { outline-color: var(--navy-900); }
input:focus-visible, select:focus-visible, textarea:focus-visible { outline: 3px solid rgba(201,162,39,.45); outline-offset: 1px; border-color: var(--gold-700); }

/* 3. Touch targets >= 44px */
.admission-ribbon button { width: 44px; height: 44px; right: 2px; font-size: 1.5rem; }
.filter-btn, .tab-btn, .btn-sm { min-height: 44px; }
.lightbox-close { width: 48px; height: 48px; }

/* 4. SVG icons replacing emoji */
.admission-ribbon svg, .topbar svg, .hero-tag svg, .notice-board h3 svg, .btn svg {
  width: 1.05em; height: 1.05em; vertical-align: -.15em; flex-shrink: 0; }
.topbar a { display: inline-flex; align-items: center; gap: 6px; }
.notice-board h3 { display: flex; align-items: center; gap: 8px; }
.notice-board h3 svg { color: var(--gold-400); }
.achieve .medal svg { width: 26px; height: 26px; }
.contact-item .icon svg { width: 22px; height: 22px; }

/* 5. Hero video pause control (WCAG 2.2.2) */
.hero-pause { position: absolute; right: 20px; bottom: 22px; z-index: 3; width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid rgba(255,255,255,.55); background: rgba(7,22,52,.55); cursor: pointer; display: grid; place-items: center; transition: background .2s; }
.hero-pause:hover { background: rgba(7,22,52,.85); }
.hero-pause span { width: 12px; height: 14px; border-left: 4px solid #fff; border-right: 4px solid #fff; }
.hero-pause[aria-pressed="true"] span { width: 0; height: 0; border: 0; border-left: 13px solid #fff; border-top: 8px solid transparent; border-bottom: 8px solid transparent; margin-left: 4px; }
@media (max-width: 640px) { .hero-pause { right: 14px; bottom: 14px; } .hero-scroll { display: none; } }

/* 6. Reveal only hides content when JS is running */
html:not(.js) .reveal { opacity: 1; transform: none; }

.notice-list .n-date { width: 92px; }
@media (max-width: 640px) { .notice-list li { flex-wrap: wrap; gap: 4px 12px; } .notice-list .n-date { width: 100%; } }

/* 7. Pointer cursor on interactive non-links */
[role="button"], [data-lightbox], summary, .dd-toggle, .filter-btn, .tab-btn { cursor: pointer; }
.lightbox-inner:has(iframe) { aspect-ratio: 16 / 9; }

/* Colour-check fixes */
.tag, .stage .grade, .checklist li::before { color: var(--gold-800); }
.new-dot { background: var(--brand-red); }
.legacy-badge { border-bottom: 4px solid var(--brand-red); }
.page-hero::after { background: linear-gradient(90deg, var(--gold-500) 0%, var(--gold-500) 70%, var(--brand-red) 100%); height: 4px; }

/* Form fields need a visible boundary (3.6:1 on light grey and white) */
:root { --field-line: #7d8496; }
input, select, textarea { border-color: var(--field-line); }

/* Brand red accents (logo red #C8102E) — lines and markers only; navy + gold stay primary */
.eyebrow::before, .section-head .eyebrow::after { background: var(--brand-red); }
.main-nav > ul > li > a.active, .main-nav .dd-toggle.active { box-shadow: inset 0 -2px 0 var(--brand-red); border-radius: 8px 8px 0 0; }
.card.gold-top::before { background: linear-gradient(90deg, var(--brand-red), var(--gold-500)); }
.site-footer .f-title::after { background: var(--brand-red); }
.notice-board header { border-bottom: 3px solid var(--brand-red); }
.testimonial { border-top: 3px solid var(--brand-red); }
.pull-quote { border-left-color: var(--brand-red); }
.tab-btn.active { border-color: var(--brand-red); }
.step::before { border-color: var(--brand-red); }
.site-header { border-bottom: 2px solid var(--brand-red); }
@media (max-width: 1180px) { .main-nav > ul > li > a.active { box-shadow: inset 3px 0 0 var(--brand-red); border-radius: 0 8px 8px 0; } }

/* Contact icons: centred navy tiles (page + footer) */
.contact-item .icon { display: grid; place-items: center; background: linear-gradient(135deg, var(--navy-800), var(--navy-600)); color: var(--gold-400); border: 0; box-shadow: none; }
.contact-item .icon:hover { transform: none; }
.site-footer .contact-item .icon { background: rgba(255,255,255,.08); }
.site-footer .contact-item strong { color: var(--white); }
.site-footer .contact-item span, .site-footer .contact-item a { color: var(--on-navy-2); }
.site-footer .contact-item a:hover { color: var(--gold-400); }
.site-footer .contact-item a[href^="tel"] { white-space: nowrap; }

/* Keyboard/screen-reader patterns */
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
/* Desktop dropdowns: open on hover or when toggled (Enter/Space/Arrow keys); focus alone no longer forces them open, so Esc can close them */
@media (min-width: 1181px) { .has-dd:not(.open):not(:hover) .dropdown { opacity: 0; visibility: hidden; transform: translateY(8px); } }
.tab-panel:focus-visible { outline-offset: 6px; }
/* An opened dropdown becomes focusable at once (visibility not delayed by the fade) */
.has-dd.open .dropdown { visibility: visible; transition: opacity .25s var(--ease), transform .25s var(--ease), visibility 0s; }

/* =========================================================
   Admission enquiry box
   ========================================================= */
.enq { background: var(--white); border-radius: var(--radius-lg); box-shadow: var(--shadow-lg); overflow: hidden; color: var(--ink); text-align: left; }
.enq-head { position: relative; padding: 26px clamp(22px, 4vw, 34px) 24px; color: #fff;
  background: linear-gradient(120deg, var(--navy-900), var(--navy-700)); border-bottom: 3px solid var(--brand-red); }
.enq-head::after { content: ""; position: absolute; inset: 0; background: url("../img/pattern.svg") center/220px repeat; opacity: .6; pointer-events: none; }
.enq-head > * { position: relative; z-index: 1; }
.enq-head h3 { color: #fff; margin: 12px 0 6px; font-size: clamp(1.35rem, 2.4vw, 1.65rem); }
.enq-head p { color: var(--on-navy-2); margin: 0; font-size: .92rem; }
.enq-pill { display: inline-flex; align-items: center; gap: 8px; background: var(--gold-500); color: var(--navy-900);
  font-size: .74rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; padding: 5px 12px; border-radius: 999px; }
.enq-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--brand-red); box-shadow: 0 0 0 0 rgba(200,16,46,.6); animation: enqPulse 1.8s infinite; }
@keyframes enqPulse { 70% { box-shadow: 0 0 0 7px rgba(200,16,46,0); } 100% { box-shadow: 0 0 0 0 rgba(200,16,46,0); } }
.enq-body { padding: 22px clamp(22px, 4vw, 34px) 26px; }
.enq-set { border: 0; padding: 0; margin: 0 0 18px; min-width: 0; }
.enq-set legend { display: flex; align-items: center; gap: 10px; padding: 0; margin-bottom: 12px; font-weight: 700; color: var(--navy-800); font-size: .95rem; }
.enq-step { width: 26px; height: 26px; border-radius: 50%; background: var(--navy-800); color: var(--gold-400); display: grid; place-items: center; font-size: .8rem; font-weight: 700; }
.enq-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(190px, 1fr)); gap: 12px 14px; }
.enq-field { min-width: 0; }
.enq-field.full { grid-column: 1 / -1; }
.enq-field label { font-size: .82rem; font-weight: 600; color: var(--navy-800); margin-bottom: 5px; }
.enq-req { color: var(--brand-red); }
.enq-opt { color: var(--muted); font-weight: 400; }
.enq input, .enq select, .enq textarea { background: var(--white); padding: 12px 14px; font-size: 1rem; min-height: 48px; }
.enq textarea { min-height: 72px; }
.enq-tel { display: flex; align-items: stretch; }
.enq-tel span { display: grid; place-items: center; padding: 0 12px; background: var(--bg-soft); border: 1.5px solid var(--field-line); border-right: 0;
  border-radius: 10px 0 0 10px; font-weight: 600; color: var(--navy-800); font-size: .95rem; }
.enq-tel input { border-radius: 0 10px 10px 0; flex: 1; min-width: 0; }
.enq-hint { display: block; font-size: .78rem; color: var(--muted); margin-top: 4px; }
.enq-err { display: block; font-size: .8rem; font-weight: 600; color: var(--brand-red); margin-top: 4px; min-height: 0; }
.enq-err:empty { display: none; }
.enq-field.has-err input, .enq-field.has-err select, .enq-field.has-err textarea, .enq-field.has-err .enq-tel span { border-color: var(--brand-red); }
.enq-field.has-err input, .enq-field.has-err select { background: #fff5f6; }
.enq-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.enq-chip { margin: 0; cursor: pointer; }
.enq-chip input { position: absolute; opacity: 0; width: 1px; height: 1px; }
.enq-chip span { display: inline-flex; align-items: center; gap: 7px; min-height: 44px; padding: 8px 14px; border-radius: 999px;
  border: 1.5px solid var(--field-line); font-size: .88rem; font-weight: 600; color: var(--navy-800); background: var(--white); transition: all .2s; }
.enq-chip span svg { width: 16px; height: 16px; color: var(--gold-700); }
.enq-chip:hover span { border-color: var(--navy-700); }
.enq-chip input:checked + span { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.enq-chip input:checked + span svg { color: var(--gold-400); }
.enq-chip input:focus-visible + span { outline: 3px solid var(--ring); outline-offset: 2px; }
.enq-interest legend { font-size: .85rem; }
.enq-submit { width: 100%; margin-top: 6px; min-height: 54px; font-size: 1.02rem; }
.enq-submit svg { width: 20px; height: 20px; }
.enq-alt { text-align: center; font-size: .88rem; color: var(--muted); margin: 12px 0 0; }
.enq-alt a { font-weight: 700; }
.enq-trust { list-style: none; padding: 16px 0 0; margin: 16px 0 0; border-top: 1px solid var(--line); display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 18px; }
.enq-trust li { display: inline-flex; align-items: center; gap: 6px; font-size: .8rem; color: var(--muted); }
.enq-trust svg { width: 15px; height: 15px; color: var(--gold-700); }
/* success screen */
.enq-done { padding: 34px clamp(22px, 4vw, 34px); text-align: center; outline: none; }
.enq-done-ic { width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 14px; display: grid; place-items: center; font-size: 1.9rem; font-weight: 700;
  color: #fff; background: #128c4a; box-shadow: 0 0 0 8px #e3f5eb; }
.enq-done h3 { margin-bottom: 6px; }
.enq-done > p { color: var(--muted); }
.enq-next { text-align: left; max-width: 340px; margin: 18px auto; padding: 0; list-style: none; counter-reset: n; display: grid; gap: 10px; }
.enq-next li { counter-increment: n; display: flex; gap: 12px; align-items: center; font-size: .93rem; color: var(--ink); }
.enq-next li::before { content: counter(n); flex-shrink: 0; width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center;
  background: var(--gold-100); color: var(--gold-800); font-weight: 700; font-size: .8rem; }
.enq-done-actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; }
.enq-done-actions svg { width: 18px; height: 18px; }
@media (prefers-reduced-motion: reduce) { .enq-dot { animation: none; } }
/* Short lead form */
.enq-short { grid-template-columns: 1fr; gap: 14px; margin-bottom: 18px; }
.enq-note { text-align: center; font-size: .82rem; color: var(--muted); margin: 10px 0 0; }
.enq-alt { margin-top: 6px; }
.enq-done { padding: 30px clamp(22px, 4vw, 34px); }
.enq-done > p { margin-bottom: 18px; }
/* =========================================================
   Instagram section
   ========================================================= */
.ig-head { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; flex-wrap: wrap; margin-bottom: 30px; }
.ig-head h2 { margin-bottom: 8px; }
.ig-head p { color: var(--muted); margin: 0; max-width: 560px; }
.ig-follow { display: inline-flex; align-items: center; gap: 12px; padding: 10px 18px 10px 10px; border-radius: 999px; background: var(--white);
  border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--navy-800); transition: transform .25s var(--ease), box-shadow .25s; }
.ig-follow:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--navy-800); }
.ig-follow svg { width: 44px; height: 44px; padding: 10px; border-radius: 50%; color: #fff;
  background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.ig-follow strong { display: block; font-size: .95rem; }
.ig-follow small { display: block; font-size: .78rem; color: var(--muted); }
.ig-grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 22px; align-items: start; }
.ig-card { min-width: 0; }
.ig-card .instagram-media { margin: 0 !important; min-width: 0 !important; width: 100% !important; max-width: 100% !important;
  border-radius: var(--radius) !important; box-shadow: var(--shadow-sm) !important; }
.ig-fallback { display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 10px; min-height: 380px;
  background: var(--bg-soft); border: 1px solid var(--line); border-radius: var(--radius); color: var(--navy-800); font-weight: 600; font-size: .9rem; }
.ig-fallback svg { width: 40px; height: 40px; color: #d6249f; }
.ig-widget { min-height: 200px; }
/* uniform Instagram tiles (4:5, like the Instagram profile grid) */
.ig-tiles { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 14px; }
.ig-tile { position: relative; display: block; aspect-ratio: 4 / 5; border-radius: var(--radius); overflow: hidden; background: var(--navy-800); box-shadow: var(--shadow-sm); }
.ig-tile img { width: 100%; height: 100%; object-fit: cover; transition: transform .6s var(--ease); }
.ig-tile::after { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(7,22,52,0) 45%, rgba(7,22,52,.85) 100%); opacity: .0; transition: opacity .3s; }
.ig-play { position: absolute; top: 10px; right: 10px; z-index: 2; width: 30px; height: 30px; border-radius: 50%; display: grid; place-items: center;
  background: rgba(7,22,52,.55); color: #fff; }
.ig-play svg { width: 16px; height: 16px; margin-left: 2px; }
.ig-cap { position: absolute; left: 12px; right: 12px; bottom: 12px; z-index: 2; color: #fff; font-size: .82rem; font-weight: 600; line-height: 1.35;
  opacity: 0; transform: translateY(6px); transition: opacity .3s, transform .3s; }
.ig-tile:hover img, .ig-tile:focus-visible img { transform: scale(1.06); }
.ig-tile:hover::after, .ig-tile:focus-visible::after, .ig-tile:hover .ig-cap, .ig-tile:focus-visible .ig-cap { opacity: 1; transform: none; }
@media (max-width: 1100px) { .ig-tiles { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 640px) { .ig-tiles { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
  .ig-tile::after, .ig-cap { opacity: 1; transform: none; } .ig-cap { font-size: .75rem; } }
@media (max-width: 980px) { .ig-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } .ig-grid .ig-card:nth-child(3) { display: none; } }
@media (max-width: 640px) { .ig-grid { grid-template-columns: 1fr; } .ig-grid .ig-card:nth-child(n+2) { display: none; } }

/* =========================================================
   Blog
   ========================================================= */
.blog-card { display: flex; }
.blog-card-link { display: flex; flex-direction: column; color: inherit; width: 100%; }
.blog-card-link:hover { color: inherit; }
.blog-card h3 { font-size: 1.15rem; margin: 6px 0 8px; }
.blog-card .news-body p { font-size: .9rem; }
.blog-layout { display: grid; grid-template-columns: minmax(0, 1fr) 380px; gap: clamp(30px, 5vw, 60px); align-items: start; }
.blog-aside { position: sticky; top: 110px; }
.prose { max-width: 760px; font-size: 1.06rem; line-height: 1.8; }
.prose .news-meta { margin-bottom: 18px; flex-wrap: wrap; }
.prose .blog-hero-img { margin: 0 0 28px; }
.prose .lead { font-size: 1.18rem; color: var(--navy-800); line-height: 1.7; }
.prose h2 { font-size: clamp(1.35rem, 2.4vw, 1.7rem); margin: 1.8em 0 .55em; }
.prose ul, .prose ol { padding-left: 1.3em; margin: 0 0 1.2em; }
.prose li { margin-bottom: .45em; }
.prose li::marker { color: var(--gold-700); font-weight: 700; }
.prose a { color: var(--navy-600); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 3px; }
.prose a:hover { color: var(--brand-red); }
.blog-cta { display: flex; justify-content: space-between; align-items: center; gap: 16px; flex-wrap: wrap; margin-top: 36px; padding: 22px 26px;
  border-radius: var(--radius); background: var(--navy-800); color: #fff; border-left: 4px solid var(--brand-red); }
.blog-cta strong { display: block; font-family: var(--font-head); font-size: 1.2rem; }
.blog-cta span { color: var(--on-navy-2); font-size: .9rem; }
.blog-cta .btn { text-decoration: none; color: var(--navy-900); }
@media (max-width: 980px) { .blog-layout { grid-template-columns: 1fr; } .blog-aside { position: static; max-width: 560px; } }

/* Real news cards */
.news-meta .press { font-size: .72rem; font-weight: 700; letter-spacing: .04em; text-transform: uppercase; color: var(--brand-red); }
.news-source { font-size: .8rem; color: var(--muted); font-style: italic; margin: 8px 0 0; }
.news-links { display: flex; flex-wrap: wrap; gap: 4px 18px; }
.news-layout { display: grid; grid-template-columns: minmax(0, 2fr) minmax(300px, 1fr); gap: clamp(28px, 4vw, 48px); align-items: start; }
@media (max-width: 980px) { .news-layout { grid-template-columns: 1fr; } .news-layout .notice-board { position: static !important; } }
[lang="hi"] h3, [lang="hi"] p { font-family: "Noto Sans Devanagari", var(--font-body); }
[lang="hi"] h3 { font-family: "Noto Serif Devanagari", var(--font-head); line-height: 1.45; }
.news-featured { grid-column: 1 / -1; border-top: 4px solid var(--brand-red); }
@media (min-width: 768px) {
  .news-featured { display: grid; grid-template-columns: 1.15fr 1fr; align-items: stretch; }
  .news-featured > div:first-child .photo { height: 100%; aspect-ratio: auto; }
  .news-featured .news-body { padding: 28px 30px; }
  .news-featured h3 { font-size: 1.45rem; }
}

/* Social links (Instagram / YouTube / Facebook) */
.social-row { display: flex; flex-wrap: wrap; gap: 10px; }
.social-btn { display: inline-flex; align-items: center; gap: 10px; min-height: 52px; padding: 7px 16px 7px 7px; border-radius: 999px;
  background: var(--white); border: 1px solid var(--line); box-shadow: var(--shadow-sm); color: var(--navy-800);
  transition: transform .25s var(--ease), box-shadow .25s; }
.social-btn:hover { transform: translateY(-2px); box-shadow: var(--shadow); color: var(--navy-800); }
.social-btn svg { width: 38px; height: 38px; padding: 9px; border-radius: 50%; color: #fff; flex-shrink: 0; }
.social-instagram svg { background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fd5949 45%, #d6249f 60%, #285aeb 90%); }
.social-youtube svg { background: #e00000; }
.social-facebook svg { background: #1668e3; }
.social-btn strong { display: block; font-size: .9rem; line-height: 1.2; }
.social-btn small { display: block; font-size: .74rem; color: var(--muted); }
.contact-follow { font-family: var(--font-body); font-size: 1rem; color: var(--navy-800); margin: 30px 0 12px; }
.tb-socials { display: inline-flex; gap: 4px; margin-left: 6px; padding-left: 12px; border-left: 1px solid rgba(255,255,255,.2); }
.topbar .tb-social { display: grid; place-items: center; width: 28px; height: 28px; border-radius: 50%; color: var(--on-navy); }
.topbar .tb-social:hover { background: rgba(255,255,255,.12); color: var(--gold-400); }
.topbar .tb-social svg { width: 15px; height: 15px; }
@media (max-width: 640px) { .social-btn small { display: none; } }

/* spam trap: invisible to people, bots fill it in */
.enq-hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }

/* =========================================================
   WordPress extras
   ========================================================= */
/* sticky header sits below the admin bar for logged-in staff */
.admin-bar .site-header { top: 32px; }
@media (max-width: 782px) { .admin-bar .site-header { top: 0; } }
/* pages not built with the new design (e.g. Downloads, Transfer Certificate made in Elementor) */
.entry-content { max-width: 1100px; }
.entry-content > * + * { margin-top: 1em; }
.entry-content a { color: var(--navy-600); text-decoration: underline; text-decoration-color: var(--gold-500); text-underline-offset: 3px; }
.entry-content table { min-width: 0; }
.entry-content img { height: auto; }
/* blog pagination */
.nav-links { display: inline-flex; gap: 8px; flex-wrap: wrap; justify-content: center; }
.nav-links .page-numbers { display: grid; place-items: center; min-width: 44px; min-height: 44px; padding: 0 12px; border-radius: 999px;
  border: 1.5px solid var(--line); color: var(--navy-800); font-weight: 600; }
.nav-links .page-numbers.current, .nav-links .page-numbers:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; }
.screen-reader-text { position: absolute !important; width: 1px; height: 1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; }
/* leadership cards (About page) */
.leaders .leader { padding: 0; overflow: hidden; }
.leaders .leader .photo { border-radius: 0; box-shadow: none; aspect-ratio: 4 / 5; }
.leaders .leader-body { padding: 20px 22px 24px; }
.leaders .leader-body h3 { margin-bottom: 4px; }
.leaders .leader-body span { color: var(--gold-700); font-weight: 600; font-size: .9rem; }
.leaders .leader-body .card-link { display: inline-block; margin-top: 12px; }
@media (max-width: 640px) { .enq-head, .enq-body { padding-left: 18px; padding-right: 18px; } .enq-grid { grid-template-columns: 1fr; } }
