:root{
  --blue:#0A1F44;
  --blue2:#0b2a62;
  --gold:#D4AF37;
  --white:#ffffff;
  --gray:#f4f6fa;
  --text:#0f172a;
  --muted:#64748b;
  --card:#ffffff;
  --border: rgba(15,23,42,.12);
  --shadow: 0 10px 30px rgba(2,8,23,.12);
  --radius: 18px;
  --max: 1120px;
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color:var(--text);
  background:linear-gradient(180deg, #fff 0%, var(--gray) 60%, #fff 100%);
}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{max-width:var(--max); margin:0 auto; padding:0 18px}
.section{padding:64px 0}
.grid{display:grid; gap:18px}
.grid-2{grid-template-columns:repeat(2, minmax(0,1fr))}
.grid-3{grid-template-columns:repeat(3, minmax(0,1fr))}
@media (max-width:900px){
  .grid-2,.grid-3{grid-template-columns:1fr}
  .section{padding:46px 0}
}
.topbar{
  background:var(--blue);
  color:var(--white);
  font-size:14px;
}
.topbar .row{
  display:flex; align-items:center; justify-content:space-between;
  gap:12px; padding:10px 0;
}
.badges{display:flex; gap:10px; flex-wrap:wrap; opacity:.95}
.badge{
  border:1px solid rgba(255,255,255,.22);
  padding:6px 10px; border-radius:999px;
}
.lang{
  display:flex; align-items:center; gap:10px;
}
select{
  background:rgba(255,255,255,.12);
  color:var(--white);
  border:1px solid rgba(255,255,255,.25);
  padding:8px 10px;
  border-radius:10px;
  outline:none;
}
select option{color:#0b1220}
.header{
  position:sticky; top:0; z-index:50;
  background:rgba(255,255,255,.85);
  backdrop-filter:saturate(120%) blur(10px);
  border-bottom:1px solid var(--border);
}
.nav{
  display:flex; align-items:center; justify-content:space-between;
  padding:6px 0;   /* tighter header */
  gap:8px;
}
.brand{
  display:flex; align-items:center; gap:12px;
}
.brand-mark{
  width:42px; height:42px; border-radius:14px;
  background:linear-gradient(135deg, var(--blue) 0%, var(--blue2) 60%, #081a3a 100%);
  position:relative;
  box-shadow: var(--shadow);
  overflow:hidden;
  
  .logo{
  height:14px;   /* smaller header logo */
  width:auto;
  display:block;
}

.logo-footer{
  height:46px;
}

}
.brand-mark:after{
  content:"";
  position:absolute; inset:-30%;
  background:radial-gradient(circle at 70% 30%, rgba(212,175,55,.85), rgba(212,175,55,0) 55%);
  transform:rotate(25deg);
}
.brand-text{line-height:1.05}
.brand-text strong{display:block; font-size:14px; letter-spacing:.16em}
.brand-text span{display:block; font-size:12px; color:var(--muted)}
.navlinks{
  display:flex; align-items:center; gap:14px; flex-wrap:wrap;
  justify-content:flex-end;
}
.navlinks a{
  font-size:14px;
  color:#0b1220;
  padding:8px 10px;
  border-radius:10px;
}
.navlinks a:hover{background:rgba(10,31,68,.06)}
.nav-cta{display:flex; gap:10px; align-items:center;}
.btn{
  display:inline-flex; align-items:center; justify-content:center;
  gap:10px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid var(--border);
  background:var(--white);
  color:#0b1220;
  box-shadow:0 6px 20px rgba(2,8,23,.08);
  font-weight:600;
  font-size:14px;
}
.btn:hover{transform:translateY(-1px)}
.btn.primary{
  background:linear-gradient(135deg, var(--blue) 0%, var(--blue2) 100%);
  color:var(--white);
  border-color:rgba(255,255,255,.12);
}
.btn.gold{
  background:linear-gradient(135deg, var(--gold) 0%, #c79b22 100%);
  color:#0b1220;
  border-color:rgba(11,18,32,.08);
}
.mobile-toggle{display:none}
@media (max-width:900px){
  .navlinks{display:none}
  .mobile-toggle{
    display:inline-flex;
    border:1px solid var(--border);
    background:#fff;
    border-radius:12px;
    padding:10px 12px;
    font-weight:700;
  }
  .nav.open .navlinks{
    display:flex;
    flex-direction:column;
    align-items:flex-start;
    width:100%;
    padding:10px 0 18px;
  }
  .nav{flex-wrap:wrap}
}
.hero{
  padding:56px 0 40px;
  background:
    radial-gradient(circle at 20% 10%, rgba(212,175,55,.18), rgba(212,175,55,0) 55%),
    radial-gradient(circle at 80% 10%, rgba(10,31,68,.18), rgba(10,31,68,0) 55%),
    linear-gradient(180deg, #fff 0%, var(--gray) 100%);
}
.hero-wrap{
  display:grid;
  grid-template-columns: 1.15fr .85fr;
  gap:22px;
  align-items:center;
}
@media (max-width:900px){.hero-wrap{grid-template-columns:1fr}}
.kicker{
  display:inline-flex;
  gap:10px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid var(--border);
  background:rgba(255,255,255,.7);
  color:#0b1220;
  font-size:13px;
  align-items:center;
}
.kicker b{color:var(--blue)}
.h1{
  font-size:44px;
  line-height:1.06;
  letter-spacing:-.02em;
  margin:14px 0 12px;
}
@media (max-width:900px){.h1{font-size:34px}}
.lead{
  font-size:16px;
  color:var(--muted);
  line-height:1.65;
  margin:0 0 18px;
}
.hero-actions{display:flex; gap:10px; flex-wrap:wrap}
.hero-card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:var(--shadow);
}
.hero-card .mini{font-size:13px;color:var(--muted);margin:0 0 12px}
.list{display:grid;gap:10px;margin:0;padding:0;list-style:none}
.list li{
  display:flex; gap:10px; align-items:flex-start;
  padding:10px 12px;
  border:1px solid var(--border);
  border-radius:14px;
  background:rgba(10,31,68,.03);
}
.dot{width:10px;height:10px;border-radius:999px;background:var(--gold);margin-top:6px;flex:0 0 auto}
.h2{font-size:28px;margin:0 0 10px;letter-spacing:-.01em}
.sub{color:var(--muted);margin:0 0 18px;line-height:1.7}
.card{
  background:var(--card);
  border:1px solid var(--border);
  border-radius:var(--radius);
  padding:18px;
  box-shadow:0 10px 30px rgba(2,8,23,.06);
}
.card h3{margin:0 0 8px;font-size:18px}
.card p{margin:0;color:var(--muted);line-height:1.65}
.pills{display:flex;flex-wrap:wrap;gap:10px;margin-top:12px}
.pill{
  font-size:12px;padding:6px 10px;border-radius:999px;
  border:1px solid var(--border);background:#fff;color:#0b1220
}
.split{display:grid;grid-template-columns:1fr 1fr;gap:18px}
@media (max-width:900px){.split{grid-template-columns:1fr}}
.callout{
  border-radius:var(--radius);
  padding:22px;
  border:1px solid rgba(212,175,55,.35);
  background:
    radial-gradient(circle at 10% 30%, rgba(212,175,55,.22), rgba(212,175,55,0) 60%),
    #fff;
  box-shadow:var(--shadow);
}
.callout strong{color:var(--blue)}
.footer{
  background:linear-gradient(180deg, #071733 0%, #041027 100%);
  color:rgba(255,255,255,.9);
  padding:34px 0;
  border-top:1px solid rgba(255,255,255,.08);
}
.footer .cols{
  display:grid; gap:18px;
  grid-template-columns: 1.4fr 1fr 1fr;
}
@media (max-width:900px){.footer .cols{grid-template-columns:1fr}}
.footer a{color:rgba(255,255,255,.9)}
.footer a:hover{text-decoration:underline}
.small{font-size:13px;color:rgba(255,255,255,.72);line-height:1.6}
.hr{height:1px;background:rgba(255,255,255,.12);margin:18px 0}
.notice{font-size:12px;color:rgba(255,255,255,.7)}
.page-hero{padding:46px 0 22px}
.page-hero .h1{font-size:34px}
.page-hero .lead{max-width:78ch}
.breadcrumb{display:flex;gap:8px;align-items:center;font-size:13px;color:var(--muted);margin-bottom:10px}
.breadcrumb a{color:var(--muted)}
.breadcrumb a:hover{text-decoration:underline}
.input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid var(--border);
  outline:none;
  font-size:14px;
}
/* Enrolment Form – Review Summary Fix */
#enrolSummary {
  color: #0b1b34; /* deep navy */
}

#enrolSummary strong {
  color: #07162c; /* footer/nav dark blue */
}

#enrolSummary .small {
  color: #24324a;
}

#enrolSummary span {
  color: #0b1b34;
}

#enrolSummary .sub {
  color: #4a5b76;
}
/* =========================================================
   Form Review / Summary Panels (Admissions, Partnerships,
   Donations, Fees, Parents Portal)
   Ensures readable text on light gradient backgrounds
   ========================================================= */

.callout strong,
.callout .small,
.callout p,
.callout span,
.callout label {
  color: #07162c !important;
}

.callout input[type="checkbox"] + span {
  color: #07162c !important;
}

/* Specific review panel IDs (future-proof standard) */

#reviewBox,
#partnerSummary,
#donationSummary,
#feesSummary,
#portalSummary {
  color: #07162c !important;
}

#reviewBox strong,
#partnerSummary strong,
#donationSummary strong,
#feesSummary strong,
#portalSummary strong {
  color: #07162c !important;
}

/* Headings inside summary panels */

#reviewBox h3,
#partnerSummary h3,
#donationSummary h3,
#feesSummary h3,
#portalSummary h3 {
  color: #07162c !important;
}

/* Subtext / muted lines inside summary panels */

#reviewBox .muted,
#partnerSummary .muted,
#donationSummary .muted,
#feesSummary .muted,
#portalSummary .muted {
  color: #4b5f7a !important;
}

