@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@500;600;700;800&family=Source+Sans+3:wght@400;500;600;700&display=swap');

:root{
  --navy:#16336B; --navy-700:#1E4483; --navy-900:#0C2049;
  --gold:#F0A93B; --gold-600:#D98C1E; --gold-100:#FDF1DD;
  --red:#C13B45; --red-100:#FBE7E8;
  --green:#1FA463; --green-100:#E4F6ED;
  --purple:#6B4FA0; --purple-100:#EDE7F6;
  --teal:#0E8C82; --teal-100:#DFF5F2;
  --bg:#F5F7FB; --surface:#FFFFFF; --border:#E5E9F1;
  --text:#0F1B33; --text-muted:#65728A; --text-soft:#8894A8;
  --radius-lg:16px; --radius-md:12px; --radius-sm:8px;
}

*{ box-sizing: border-box; }
html, body{ margin:0; padding:0; }
body{
  font-family: 'Source Sans 3', system-ui, sans-serif;
  color: var(--text);
  background: var(--bg);
}
h1,h2,h3,h4,.mn{ font-family:'Manrope', system-ui, sans-serif; }
a{ color: var(--navy); text-decoration: none; }
a:hover{ color: var(--gold-600); }
img{ max-width:100%; }

.container{ max-width: 1240px; margin: 0 auto; padding: 0 24px; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; justify-content:center; gap:8px;
  font-family:'Manrope',sans-serif; font-weight:700; font-size:15px;
  border-radius:10px; padding:13px 24px; cursor:pointer; border:1.5px solid transparent;
  white-space:nowrap;
}
.btn-primary{ background: var(--navy); color:#fff; }
.btn-primary:hover{ background: var(--navy-700); color:#fff; }
.btn-gold{ background: var(--gold); color: var(--navy-900); }
.btn-gold:hover{ background: var(--gold-600); color: var(--navy-900); }
.btn-outline{ background: transparent; border-color: var(--border); color: var(--navy); }
.btn-outline:hover{ border-color: var(--navy); }
.btn-block{ width:100%; }
.btn:disabled{ opacity:.55; cursor:not-allowed; }

/* ---------- Cards & surfaces ---------- */
.card{ background: var(--surface); border:1px solid var(--border); border-radius: var(--radius-lg); }
.tag{
  display:inline-flex; align-items:center; gap:6px; font-family:'Manrope',sans-serif;
  font-weight:700; font-size:12px; letter-spacing:.04em; text-transform:uppercase;
  padding:5px 10px; border-radius:999px;
}
.badge{ font-family:'Manrope',sans-serif; font-size:11.5px; font-weight:700; padding:4px 10px; border-radius:999px; }
.badge-success{ background: var(--green-100); color: var(--green); }
.badge-pending{ background: var(--gold-100); color: var(--gold-600); }

/* ---------- Forms ---------- */
.field-label{ font-family:'Manrope',sans-serif; font-weight:700; font-size:13px; color:var(--text); margin-bottom:8px; display:block; }
.input, select, textarea{
  width:100%; padding:13px 14px; border:1.5px solid var(--border); border-radius:10px;
  font-size:14.5px; font-family:'Source Sans 3',sans-serif; color:var(--text); background:#fff;
}
.input:focus, select:focus, textarea:focus{ outline:none; border-color: var(--navy); }
.hint{ font-size:12.5px; color: var(--text-soft); margin-top:7px; }
.form-error{ font-size:13px; color: var(--red); margin-top:6px; }
.alert{ padding:14px 16px; border-radius:10px; font-size:14px; margin-bottom:18px; }
.alert-error{ background: var(--red-100); color:#7A2129; border:1px solid #F1C6C9; }
.alert-success{ background: var(--green-100); color:#14683F; border:1px solid #B9E7CD; }

/* ---------- Generic modal (e.g. "Edit Student") ---------- */
.modal-backdrop{
  position:fixed; inset:0; z-index:999; background:rgba(6,14,34,.55); display:none;
  align-items:center; justify-content:center; padding:5vh 4vw;
}
.modal-backdrop.open{ display:flex; }
.modal-card{
  background:#fff; border-radius:16px; max-width:440px; width:100%; padding:28px;
  box-shadow:0 30px 70px rgba(10,20,50,.3); position:relative;
}
.modal-close{
  position:absolute; top:14px; right:14px; width:34px; height:34px; border-radius:50%; border:none;
  background:var(--bg); color:var(--text-muted); display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.modal-close:hover{ background:var(--border); }

/* ---------- Public nav / footer ---------- */
.site-nav{
  position: sticky; top:0; z-index:20; display:flex; align-items:center; justify-content:space-between;
  padding:14px 5%; background:rgba(255,255,255,.98); border-bottom:1px solid var(--border);
}
/* NOTE: intentionally no backdrop-filter here — it makes this header establish a new
   CSS containing block for position:fixed descendants (like .nav-menu below), which traps
   the full-screen mobile menu inside the header's own small box instead of the viewport. */
.site-footer{ background: var(--navy-900); padding:56px 5% 32px; color:#AEBBDA; }

/* ---------- Auth split screen ---------- */
.auth-shell{ min-height:100vh; display:flex; background: var(--bg); }
.auth-brand{
  flex:0 0 44%; position:relative; overflow:hidden; padding:56px;
  background: linear-gradient(165deg, var(--navy-900) 0%, var(--navy) 70%, var(--navy-700) 100%);
  display:flex; flex-direction:column; justify-content:space-between; color:#fff;
}
.auth-form{ flex:1; display:flex; align-items:center; justify-content:center; padding:40px; }
.auth-form-inner{ width:100%; max-width:400px; }

/* ---------- Dashboards ---------- */
.dash{ display:flex; min-height:100vh; }
.dash-sidebar{ width:248px; flex-shrink:0; background: var(--navy-900); padding:24px 16px; display:flex; flex-direction:column; }
.dash-main{ flex:1; padding:28px 40px 60px; }
.nav-item{
  display:flex; align-items:center; gap:12px; padding:11px 14px; border-radius:10px;
  font-family:'Manrope',sans-serif; font-weight:600; font-size:14px; color:#AEBBDA;
}
.nav-item:hover{ color:#fff; }
.nav-item.active{ background: rgba(240,169,59,.14); color: var(--gold); }

table{ width:100%; border-collapse:collapse; }
th{
  font-family:'Manrope',sans-serif; font-weight:700; font-size:11.5px; text-transform:uppercase;
  letter-spacing:.03em; color: var(--text-soft); text-align:left; padding:0 16px 12px;
}
td{ padding:14px 16px; font-size:14px; border-top:1px solid var(--border); }

.stat-grid{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:18px; }
@media (max-width: 1100px){ .stat-grid{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width: 600px){ .stat-grid, .dash{ display:block; } .dash-sidebar{ width:100%; } }

/* ============================================================
   Marketing site (Home / About / Olympiads / Schedule / Awards /
   Gallery / Contact) — nav, hero carousel, decorative colour,
   footer grid, and responsive rules.
   ============================================================ */

/* ---------- Public nav (with dropdown + mobile menu) ---------- */
.brand{ display:flex; align-items:center; gap:12px; flex-shrink:0; }
.brand-name{ display:flex; flex-direction:column; line-height:1.15; }
.nav-toggle{
  display:none; align-items:center; justify-content:center; width:40px; height:40px;
  border-radius:10px; border:1.5px solid var(--border); background:#fff; color:var(--navy-900); cursor:pointer;
}
.nav-menu{ display:flex; align-items:center; gap:6px; }
.nav-links{ display:flex; align-items:center; gap:1px; font-family:'Manrope',sans-serif; font-weight:600; font-size:13.5px; margin-right:8px; }
.nav-links > a{
  color:var(--text); white-space:nowrap; padding:7px 10px; border-radius:999px;
  transition:background .15s ease, color .15s ease;
}
.nav-links > a:hover{ background:var(--bg); color:var(--navy-900); }
/* Active page: a solid gold pill, not just a colour tweak — a plain colour
   swap here used to be nearly invisible against the default text colour. */
.nav-links > a.active{ background:var(--gold-100); color:var(--gold-600); font-weight:800; }
.nav-links > a.active:hover{ background:var(--gold-100); }
.nav-cta{ display:flex; align-items:center; gap:8px; flex-shrink:0; }

.nav-dropdown{ position:relative; }
.nav-dropdown-btn{
  display:flex; align-items:center; gap:5px; background:none; border:none; cursor:pointer;
  font-family:'Manrope',sans-serif; font-weight:600; font-size:13.5px; color:var(--text);
  padding:7px 10px; border-radius:999px; transition:background .15s ease, color .15s ease;
}
.nav-dropdown-btn:hover{ background:var(--bg); color:var(--navy-900); }
/* "Olympiads" highlights the same way when on any Olympiads page (olympiads.php) —
   the dropdown button didn't get an active state at all before this. */
.nav-dropdown-btn.active{ background:var(--gold-100); color:var(--gold-600); font-weight:800; }
.nav-dropdown-btn.active:hover{ background:var(--gold-100); }
.nav-dropdown-panel{
  display:none; position:absolute; top:calc(100% + 14px); left:50%; transform:translateX(-50%);
  background:#fff; border:1px solid var(--border); border-radius:14px; padding:10px;
  box-shadow:0 18px 40px rgba(12,32,73,.14); min-width:240px; z-index:30;
}
.nav-dropdown:hover .nav-dropdown-panel,
.nav-dropdown:focus-within .nav-dropdown-panel{ display:block; }
.nav-dropdown-panel a{
  display:flex; align-items:center; gap:10px; padding:10px 12px; border-radius:9px;
  font-size:13.5px; font-weight:600; color:var(--text); white-space:nowrap;
}
.nav-dropdown-panel a:hover{ background:var(--bg); color:var(--navy); }
.nav-dropdown-dot{ width:8px; height:8px; border-radius:50%; flex-shrink:0; }

/* NOTE: this nav breakpoint is intentionally wider than the other 980px
   breakpoints below (hero/grid) — with 7 nav links + Brochure/Office/School
   buttons + the full logo wordmark, the desktop nav bar runs out of row
   width below ~1520px and would overflow/overlap, so it switches to the
   mobile menu well before content layout does. (Measured: brand ~287px +
   nav-menu ~1077px = ~1364px of content needs a ~1516px viewport at the
   site-nav's 5%-each-side padding; 1540px keeps a safety margin.) */
@media (max-width: 1540px){
  .nav-toggle{ display:flex; }
  .nav-menu{
    position:fixed; inset:68px 0 0 0; background:#fff; flex-direction:column; align-items:stretch;
    padding:20px 24px 32px; gap:18px; overflow-y:auto; transform:translateX(100%);
    transition:transform .25s ease; z-index:25;
  }
  .nav-menu.open{ transform:translateX(0); }
  .nav-links{ flex-direction:column; align-items:flex-start; gap:4px; width:100%; font-size:17px; margin-right:0; }
  .nav-links > a{ width:100%; padding:14px 4px; border-bottom:1px solid var(--border); border-radius:0; }
  .nav-dropdown{ width:100%; }
  .nav-dropdown-btn{ width:100%; padding:14px 4px; border-bottom:1px solid var(--border); border-radius:0; justify-content:space-between; font-size:17px; }
  .nav-dropdown-panel{
    display:block; position:static; transform:none; box-shadow:none; border:none; padding:4px 0 4px 14px;
    min-width:0;
  }
  .nav-dropdown-panel a{ font-size:15px; padding:12px; }
  .nav-cta{ flex-direction:column; align-items:stretch; width:100%; margin-top:8px; }
  .nav-cta .btn{ width:100%; }

  /* A gold left bar + tint on full-width stacked rows, matching the
     dashboard sidebar's own active-item style. */
  .nav-links > a.active, .nav-dropdown-btn.active{
    border-left:3px solid var(--gold); padding-left:13px; margin-left:-3px;
  }
}

/* ---------- Hero carousel ---------- */
.hero{ position:relative; overflow:hidden; background:var(--navy-900); }
/* Fills almost the full screen on load (not a fixed pixel height), on any
   monitor — clamped so it's never too short on a small laptop or absurdly
   tall on an ultra-tall display. svh (small viewport height) is used first
   where supported so mobile browsers don't size against the address bar's
   taller/shorter states; vh is the fallback for older browsers. */
.hero-slider{ position:relative; min-height:clamp(560px, 88vh, 980px); }
.hero-slider{ min-height:clamp(560px, 88svh, 980px); }
.hero-slide{
  position:absolute; inset:0; opacity:0; visibility:hidden; transition:opacity .9s ease;
  display:flex; align-items:flex-end;
  background-size:cover; background-position:center; background-repeat:no-repeat;
}
.hero-slide.active{ opacity:1; visibility:visible; }
/* Just the filename-derived caption, bottom-left of the slide — see
   assets/images/hero/README.txt. No other overlay text/buttons by design. */
.hero-caption{
  position:relative; z-index:2; display:inline-block; margin:0 0 22px 5%; padding:9px 18px;
  border-radius:999px; background:rgba(8,16,38,.52); backdrop-filter:blur(3px);
  font-family:'Manrope',sans-serif; font-weight:700; font-size:14px; color:#fff; letter-spacing:.01em;
  max-width:90%;
}
.hero-dots{ display:flex; gap:9px; justify-content:center; padding:18px 0 26px; position:relative; z-index:5; }
.hero-dot{ width:9px; height:9px; border-radius:50%; background:rgba(255,255,255,.3); border:none; cursor:pointer; padding:0; }
.hero-dot.active{ background:var(--gold); width:26px; border-radius:5px; transition:width .25s ease; }

/* Decorative blobs / orbs used across sections for colour without photos */
.orb{ position:absolute; border-radius:50%; filter:blur(2px); opacity:.55; pointer-events:none; }
.blob{ position:absolute; pointer-events:none; opacity:.5; }

/* ---------- Icon-tile (used for Why-choose-us, Commitment, etc.) ---------- */
.icon-tile{
  width:46px; height:46px; border-radius:13px; display:flex; align-items:center; justify-content:center; flex-shrink:0;
}

/* ---------- Timeline (Examination Process / Schedule) ---------- */
.timeline{ position:relative; }
.timeline::before{
  content:''; position:absolute; left:21px; top:6px; bottom:6px; width:2px;
  background:linear-gradient(var(--navy), var(--gold));
}
.timeline-step{ position:relative; padding-left:60px; margin-bottom:34px; }
.timeline-step:last-child{ margin-bottom:0; }
.timeline-num{
  position:absolute; left:0; top:0; width:44px; height:44px; border-radius:50%;
  background:var(--navy-900); color:var(--gold); font-family:'Manrope',sans-serif; font-weight:800;
  display:flex; align-items:center; justify-content:center; font-size:16px; border:4px solid var(--bg);
}

/* ---------- Gallery ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(240px, 1fr)); gap:18px; }
.gallery-tile{
  position:relative; border-radius:18px; overflow:hidden; aspect-ratio:4/3; display:flex; align-items:flex-end;
  padding:18px; isolation:isolate;
}
.gallery-tile-label{ position:relative; z-index:2; color:#fff; font-family:'Manrope',sans-serif; font-weight:800; font-size:15px; }

/* ---------- Photo gallery (real event photography) ---------- */
.photo-grid{ display:grid; grid-template-columns:repeat(auto-fit, minmax(220px, 1fr)); gap:16px; }
.photo-tile{
  position:relative; border-radius:16px; overflow:hidden; aspect-ratio:4/3; isolation:isolate;
  box-shadow:0 6px 18px rgba(15,30,70,.08); cursor:pointer; background:var(--navy-900);
}
.photo-tile img{
  width:100%; height:100%; object-fit:cover; display:block; transition:transform .55s ease;
}
.photo-tile:hover img{ transform:scale(1.08); }
.photo-tile::after{
  content:''; position:absolute; inset:0; z-index:1; pointer-events:none;
  background:linear-gradient(0deg, rgba(9,22,52,.72) 0%, rgba(9,22,52,0) 42%);
  opacity:0; transition:opacity .3s ease;
}
.photo-tile:hover::after{ opacity:1; }
.photo-tile-cap{
  position:absolute; left:0; right:0; bottom:0; z-index:2; padding:12px 14px; color:#fff;
  font-family:'Manrope',sans-serif; font-weight:700; font-size:12.5px; letter-spacing:.01em;
  opacity:0; transform:translateY(6px); transition:opacity .3s ease, transform .3s ease;
}
.photo-tile:hover .photo-tile-cap{ opacity:1; transform:translateY(0); }
.photo-tile.tall{ grid-row:span 1; }
/* Rank Holders tiles show their caption (name/achievement) at all times, not just on hover. */
.photo-tile.always-caption::after{ opacity:1; }
.photo-tile.always-caption .photo-tile-cap{ opacity:1; transform:translateY(0); }
.photo-lightbox{
  position:fixed; inset:0; z-index:999; background:rgba(6,14,34,.92); display:none;
  align-items:center; justify-content:center; padding:5vh 4vw;
}
.photo-lightbox.open{ display:flex; }
.photo-lightbox img{ max-width:100%; max-height:88vh; border-radius:10px; box-shadow:0 20px 60px rgba(0,0,0,.5); }
.photo-lightbox-close{
  position:absolute; top:22px; right:26px; width:42px; height:42px; border-radius:50%; border:none;
  background:rgba(255,255,255,.12); color:#fff; display:flex; align-items:center; justify-content:center; cursor:pointer;
}
.photo-lightbox-close:hover{ background:rgba(255,255,255,.22); }

/* ---------- Achievers bento (homepage, before "Our Olympiad Examinations") ---------- */
.achievers-bento{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); grid-auto-rows:150px; gap:14px; }
.achievers-bento .photo-tile{ aspect-ratio:auto; height:100%; }
.achievers-bento .photo-tile.feature{ grid-column:span 2; grid-row:span 2; }
@media (max-width: 980px){
  .achievers-bento{ grid-template-columns:repeat(2, minmax(0,1fr)); grid-auto-rows:180px; }
}
@media (max-width: 560px){
  .achievers-bento{ grid-template-columns:1fr; grid-auto-rows:230px; }
  .achievers-bento .photo-tile.feature{ grid-column:span 1; grid-row:span 1; }
}

.success-strip{ display:grid; grid-template-columns:repeat(auto-fit, minmax(280px, 1fr)); gap:22px; }
.photo-tile.success-tile{ aspect-ratio:16/10; box-shadow:0 14px 34px rgba(15,30,70,.14); }
.success-badge{
  position:absolute; top:14px; left:14px; z-index:2; display:inline-flex; align-items:center; gap:6px;
  background:rgba(240,169,59,.96); color:var(--navy-900); font-family:'Manrope',sans-serif; font-weight:800;
  font-size:11px; letter-spacing:.04em; text-transform:uppercase; padding:6px 12px; border-radius:999px;
  box-shadow:0 4px 12px rgba(0,0,0,.22);
}

/* ---------- Footer grid ---------- */
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:32px; padding-bottom:36px; border-bottom:1px solid rgba(255,255,255,.1); }
.footer-heading{ font-family:'Manrope',sans-serif; font-weight:700; font-size:12.5px; color:#fff; text-transform:uppercase; letter-spacing:.04em; margin-bottom:14px; }
.footer-links{ display:flex; flex-direction:column; gap:9px; font-size:13.5px; }
.footer-links a{ color:#AEBBDA; }
.footer-links a:hover{ color:var(--gold); }
.footer-bottom{ display:flex; justify-content:space-between; align-items:center; flex-wrap:wrap; gap:10px; padding-top:20px; font-size:12px; color:#7284AB; }

@media (max-width: 900px){
  .footer-grid{ grid-template-columns:1fr 1fr; }
}
@media (max-width: 560px){
  .footer-grid{ grid-template-columns:1fr; }
  .hero-slider{ min-height:clamp(480px, 82vh, 760px); }
  .hero-slider{ min-height:clamp(480px, 82svh, 760px); }
  .hero-caption{ font-size:12.5px; padding:7px 14px; margin-bottom:16px; }
}
@media (max-width: 980px) and (min-width: 561px){
  .hero-slider{ min-height:clamp(520px, 85vh, 860px); }
  .hero-slider{ min-height:clamp(520px, 85svh, 860px); }
}

/* ---------- Simple content pages (policy pages) ---------- */
.prose h2{ font-size:20px; color:var(--navy-900); margin:34px 0 10px; }
.prose h2:first-child{ margin-top:0; }
.prose p, .prose li{ font-size:14.5px; line-height:1.75; color:var(--text-muted); }
.prose ul{ padding-left:20px; }

/* ============================================================
   Generic marketing-page building blocks
   ============================================================ */
.section{ padding:76px 5%; position:relative; overflow:hidden; }
.section-tight{ padding:52px 5%; position:relative; overflow:hidden; }
.section-inner{ max-width:1180px; margin:0 auto; position:relative; z-index:2; }
.section-head{ max-width:660px; margin:0 auto 44px; text-align:center; }
.section-head.left{ margin:0 0 40px; text-align:left; }
.eyebrow{
  display:inline-flex; align-items:center; gap:7px; font-family:'Manrope',sans-serif; font-weight:800;
  font-size:12px; letter-spacing:.06em; text-transform:uppercase; padding:6px 14px; border-radius:999px;
  background:var(--gold-100); color:var(--gold-600); margin-bottom:16px;
}
.section-title{ font-size:clamp(26px,3.6vw,38px); font-weight:800; color:var(--navy-900); line-height:1.2; margin:0 0 14px; }
.section-sub{ font-size:15.5px; color:var(--text-muted); line-height:1.7; margin:0; }

.page-banner{
  position:relative; overflow:hidden; padding:64px 5% 56px;
  background:linear-gradient(165deg, var(--navy-900) 0%, var(--navy) 70%, var(--navy-700) 100%); color:#fff;
}
.page-banner-inner{ max-width:1180px; margin:0 auto; position:relative; z-index:2; }
.page-banner .eyebrow{ background:rgba(240,169,59,.16); color:var(--gold); }
.page-banner h1{ font-size:clamp(28px,4vw,42px); font-weight:800; margin:0 0 14px; text-shadow:0 2px 14px rgba(0,0,0,.4); }
.page-banner p{ font-size:15.5px; color:#E4E9F5; max-width:640px; line-height:1.7; margin:0; text-shadow:0 1px 8px rgba(0,0,0,.35); }
.crumb{ font-size:13px; color:#93A2C7; margin-bottom:16px; }
.crumb a{ color:#C3CDE6; }
.crumb a:hover{ color:var(--gold); }

.grid-2{ display:grid; grid-template-columns:1fr 1fr; gap:28px; }
.grid-3{ display:grid; grid-template-columns:repeat(3, minmax(0,1fr)); gap:24px; }
.grid-4{ display:grid; grid-template-columns:repeat(4, minmax(0,1fr)); gap:20px; }
@media (max-width: 980px){ .grid-3{ grid-template-columns:repeat(2, minmax(0,1fr)); } .grid-4{ grid-template-columns:repeat(2, minmax(0,1fr)); } }
@media (max-width: 640px){ .grid-2, .grid-3, .grid-4{ grid-template-columns:1fr; } }

.feature-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:26px; }
.feature-card h3{ font-size:16px; color:var(--navy-900); margin:16px 0 8px; }
.feature-card p{ font-size:13.8px; color:var(--text-muted); line-height:1.65; margin:0; }

.comp-card{
  background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:28px;
  position:relative; overflow:hidden; transition:box-shadow .2s ease, transform .2s ease, border-color .2s ease;
}
.comp-card:hover{ box-shadow:0 22px 44px rgba(12,32,73,.12); transform:translateY(-4px); border-color:rgba(12,32,73,.08); }
/* A large, very faint duplicate of the card's own icon, bled off the top-right
   corner — adds depth/polish without relying on emoji (inconsistent across
   OSes/browsers) or extra image assets. Pure decoration, sits behind the text. */
.comp-card-watermark{
  position:absolute; top:-22px; right:-22px; opacity:.07; pointer-events:none; z-index:0;
}
.comp-card-watermark svg{ display:block; }
.comp-card-top{ display:flex; align-items:center; justify-content:space-between; margin-bottom:18px; position:relative; z-index:1; }
.comp-card-code{
  font-family:'Manrope',sans-serif; font-weight:800; font-size:11.5px; letter-spacing:.05em;
  padding:5px 11px; border-radius:999px;
}
.comp-card h3{ font-size:18px; color:var(--navy-900); margin:14px 0 8px; position:relative; z-index:1; }
.comp-card p{ font-size:13.8px; color:var(--text-muted); line-height:1.65; margin:0 0 16px; position:relative; z-index:1; }
.comp-card-meta{ display:flex; gap:10px; flex-wrap:wrap; position:relative; z-index:1; }
.comp-chip{
  display:inline-flex; align-items:center; gap:6px; font-family:'Manrope',sans-serif; font-weight:700;
  font-size:12px; padding:6px 11px; border-radius:8px; background:var(--bg); color:var(--text-muted);
}

/* Freebies box — homepage comp-card (short list) and shares its look with
   nothing else on the site; olympiads.php uses its own simpler comp-chip /
   contact-card treatment for the same data. */
.comp-card-freebies{
  display:flex; align-items:flex-start; gap:11px; margin-top:16px; padding:14px; border-radius:12px;
  position:relative; z-index:1;
}
.comp-card-freebies-icon{
  display:flex; align-items:center; justify-content:center; width:30px; height:30px; border-radius:9px;
  flex-shrink:0;
}
.comp-card-freebies-title{
  font-family:'Manrope',sans-serif; font-weight:800; font-size:12px; letter-spacing:.02em;
  text-transform:uppercase; margin:3px 0 7px;
}
.comp-card-freebies-list{ list-style:none; margin:0; padding:0; display:flex; flex-direction:column; gap:5px; }
.comp-card-freebies-list li{
  display:flex; align-items:center; gap:7px; font-size:13px; font-weight:600; color:var(--text);
}
.comp-card-freebies-check{
  display:inline-flex; align-items:center; justify-content:center; width:16px; height:16px;
  border-radius:50%; background:rgba(255,255,255,.75); flex-shrink:0;
}

.mv-card{ border-radius:var(--radius-lg); padding:32px; color:#fff; position:relative; overflow:hidden; }
.mv-card h3{ font-size:19px; margin:16px 0 10px; }
.mv-card p{ font-size:14px; line-height:1.7; margin:0; opacity:.92; }

.cta-band{
  border-radius:24px; padding:48px 5%; text-align:center; position:relative; overflow:hidden;
  background:linear-gradient(120deg, var(--navy-900) 0%, var(--navy) 100%); color:#fff;
}
.cta-band h2{ font-size:clamp(22px,3vw,30px); margin:0 0 12px; }
.cta-band p{ color:#C3CDE6; font-size:15px; margin:0 0 26px; }
.cta-actions{ display:flex; gap:14px; justify-content:center; flex-wrap:wrap; }

.list-check{ display:flex; flex-direction:column; gap:16px; }
.list-check-item{ display:flex; gap:14px; align-items:flex-start; }
.list-check-item p{ font-size:14.2px; color:var(--text-muted); line-height:1.65; margin:2px 0 0; }
.list-check-item h4{ font-size:15px; color:var(--navy-900); margin:0; }

.award-card{ background:#fff; border:1px solid var(--border); border-radius:var(--radius-lg); padding:24px; text-align:center; }
.award-card h3{ font-size:15.5px; color:var(--navy-900); margin:14px 0 6px; }
.award-card p{ font-size:13px; color:var(--text-muted); margin:0; line-height:1.6; }

.contact-card{ display:flex; gap:14px; align-items:flex-start; padding:18px 0; border-bottom:1px solid var(--border); }
.contact-card:last-child{ border-bottom:none; }
.contact-card h4{ font-size:14px; color:var(--navy-900); margin:0 0 4px; }
.contact-card p{ font-size:13.8px; color:var(--text-muted); margin:0; line-height:1.6; }
.contact-card a{ color:var(--text-muted); }
.contact-card a:hover{ color:var(--navy); }

.map-embed{ border-radius:var(--radius-lg); overflow:hidden; border:1px solid var(--border); }
.map-embed iframe{ display:block; width:100%; height:100%; border:0; }
