/* ============================================================
   Little Star High School — Design System
   ============================================================ */

:root{
  --navy: #0E3A5F;
  --navy-dark: #082948;
  --navy-light: #E8F0F7;
  --gold: #E3A430;
  --gold-dark: #C7871A;
  --maroon: #A3341E;
  --green: #2E7D4F;
  --ink: #1E2A33;
  --grey-700: #4B5A63;
  --grey-400: #8A9AA5;
  --grey-200: #D9E2E8;
  --grey-100: #F2F6F8;
  --white: #FFFFFF;
  --radius: 14px;
  --radius-sm: 8px;
  --shadow: 0 6px 24px rgba(14,58,95,0.10);
  --shadow-sm: 0 2px 10px rgba(14,58,95,0.08);
  --maxw: 1180px;
  --font: 'Poppins', 'Segoe UI', Arial, sans-serif;
}

*{ box-sizing:border-box; margin:0; padding:0; }
html{ scroll-behavior:smooth; overflow-x:hidden; }
body{
  font-family:var(--font);
  color:var(--ink);
  background:var(--white);
  line-height:1.65;
  -webkit-font-smoothing:antialiased;
  overflow-x:hidden;
  width:100%;
}
img{ max-width:100%; display:block; }
a{ color:inherit; text-decoration:none; }
ul{ list-style:none; }
.container{ max-width:var(--maxw); margin:0 auto; padding:0 24px; }
section{ padding:72px 0; }
.section-alt{ background:var(--grey-100); }
.section-navy{ background:var(--navy); color:var(--white); }

h1,h2,h3,h4{ font-weight:700; line-height:1.25; color:var(--navy-dark); }
h1{ font-size:clamp(2rem,4vw,3rem); }
h2{ font-size:clamp(1.6rem,3vw,2.25rem); }
h3{ font-size:1.3rem; }
.section-navy h2, .section-navy h3{ color:var(--white); }
p{ color:var(--grey-700); }
.section-navy p{ color:#CFE0EE; }

.eyebrow{
  display:inline-block;
  font-size:.78rem;
  font-weight:700;
  letter-spacing:.12em;
  text-transform:uppercase;
  color:var(--gold-dark);
  background:#FDF1DD;
  padding:6px 14px;
  border-radius:999px;
  margin-bottom:14px;
}
.section-head{ max-width:680px; margin-bottom:44px; }
.section-head.center{ margin-left:auto; margin-right:auto; text-align:center; }

/* ---------- Buttons ---------- */
.btn{
  display:inline-flex; align-items:center; gap:8px;
  padding:13px 26px; border-radius:999px;
  font-weight:600; font-size:.95rem;
  border:2px solid transparent; cursor:pointer;
  transition:transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover{ transform:translateY(-2px); }
.btn-primary{ background:var(--gold); color:var(--navy-dark); box-shadow:var(--shadow-sm); }
.btn-primary:hover{ background:var(--gold-dark); }
.btn-outline{ border-color:var(--white); color:var(--white); }
.btn-outline:hover{ background:rgba(255,255,255,.12); }
.btn-navy{ background:var(--navy); color:var(--white); }
.btn-navy:hover{ background:var(--navy-dark); }
.btn-block{ width:100%; justify-content:center; }

/* ---------- Header ---------- */
.topbar{
  background:var(--navy-dark); color:#CFE0EE; font-size:.82rem;
}
.topbar .container{ display:flex; justify-content:space-between; align-items:center; padding-top:8px; padding-bottom:8px; flex-wrap:wrap; gap:6px; }
.topbar a{ color:#CFE0EE; }
.topbar .topbar-links{ display:flex; gap:18px; }
.topbar .topbar-links span, .topbar .topbar-links a{ display:inline-flex; align-items:center; gap:6px; }

header.main-header{
  position:sticky; top:0; z-index:100;
  background:var(--white); box-shadow:var(--shadow-sm);
}
.nav-wrap{ display:flex; align-items:center; justify-content:space-between; padding:14px 0; }
.brand{ display:flex; align-items:center; gap:12px; }
.brand-badge{
  width:52px; height:52px; border-radius:50%;
  background:linear-gradient(135deg,var(--navy),var(--navy-dark));
  color:var(--gold); display:flex; align-items:center; justify-content:center;
  font-weight:800; font-size:1.3rem; flex-shrink:0;
  border:2px solid var(--gold);
}
.brand-text .name{ font-weight:800; font-size:1.15rem; color:var(--navy-dark); line-height:1.15; }
.brand-text .tag{ font-size:.72rem; color:var(--grey-700); letter-spacing:.04em; }

nav.main-nav ul{ display:flex; gap:28px; align-items:center; }
nav.main-nav a{ font-weight:600; font-size:.92rem; color:var(--navy-dark); padding:6px 2px; border-bottom:2px solid transparent; }
nav.main-nav a:hover, nav.main-nav a.active{ border-color:var(--gold); }
.nav-cta{ display:flex; align-items:center; gap:14px; flex-shrink:0; }
.menu-toggle{ display:none; background:none; border:none; font-size:1.6rem; cursor:pointer; color:var(--navy-dark); padding:4px; line-height:1; }

.nav-wrap{ flex-wrap:nowrap; gap:12px; }
.brand{ min-width:0; flex-shrink:1; }
.brand img{ flex-shrink:0; }
.brand-text{ min-width:0; overflow:hidden; }
.brand-text .name{ white-space:nowrap; overflow:hidden; text-overflow:ellipsis; }

@media (max-width:920px){
  nav.main-nav{
    position:fixed; top:0; right:-100%; height:100vh; width:78%; max-width:320px;
    background:var(--white); box-shadow:-8px 0 30px rgba(0,0,0,.15);
    transition:right .25s ease; padding:90px 28px 28px; z-index:200;
    overflow-y:auto;
  }
  nav.main-nav.open{ right:0; }
  nav.main-nav ul{ flex-direction:column; align-items:flex-start; gap:20px; }
  .menu-toggle{ display:block; }
  .nav-cta .btn-primary{ display:none; }
}

@media (max-width:480px){
  .brand{ gap:8px; }
  .brand img{ width:40px !important; height:40px !important; }
  .brand-text .name{ font-size:1rem; max-width:170px; }
  .brand-text .tag{ font-size:.66rem; }
  .nav-wrap{ padding:10px 0; }
  .topbar{ font-size:.72rem; }
  .topbar .topbar-links{ gap:10px; }
  .topbar .topbar-links span{ display:none; }
}

/* ---------- Hero ---------- */
.hero{
  background:radial-gradient(circle at 20% 20%, rgba(227,164,48,0.18), transparent 40%),
             linear-gradient(120deg,var(--navy) 0%, var(--navy-dark) 100%);
  color:var(--white); padding:76px 0 90px; position:relative; overflow:hidden;
}
.hero-grid{ display:grid; grid-template-columns:1.1fr .9fr; gap:48px; align-items:center; }
.hero h1{ color:var(--white); margin-bottom:18px; }
.hero p.lead{ color:#D8E6F1; font-size:1.08rem; max-width:520px; margin-bottom:30px; }
.hero-ctas{ display:flex; gap:14px; flex-wrap:wrap; margin-bottom:34px; }
.hero-stats{ display:flex; gap:34px; flex-wrap:wrap; }
.hero-stats div strong{ display:block; font-size:1.6rem; color:var(--gold); }
.hero-stats div span{ font-size:.8rem; color:#B9CEDE; }
.hero-media{
  background:var(--navy-light); border:2px dashed var(--gold);
  border-radius:var(--radius); aspect-ratio:4/3;
  display:flex; align-items:center; justify-content:center; text-align:center;
  color:var(--navy); font-size:.85rem; padding:24px;
}
@media (max-width:920px){ .hero-grid{ grid-template-columns:1fr; } .hero-media{ order:-1; } }

/* ---------- Placeholder media block (reused everywhere) ---------- */
.ph{
  background:var(--grey-100); border:2px dashed var(--grey-400);
  border-radius:var(--radius-sm); display:flex; align-items:center; justify-content:center;
  text-align:center; color:var(--grey-700); font-size:.82rem; padding:18px; min-height:160px;
}
.ph strong{ display:block; color:var(--navy-dark); margin-bottom:4px; font-size:.85rem; }

/* ---------- Cards ---------- */
.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); }
@media (max-width:920px){ .grid-3,.grid-4{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:600px){ .grid-2,.grid-3,.grid-4{ grid-template-columns:1fr;} }

.card{
  background:var(--white); border-radius:var(--radius); padding:28px;
  box-shadow:var(--shadow-sm); border:1px solid var(--grey-200);
  transition:transform .15s ease, box-shadow .15s ease;
}
.card:hover{ transform:translateY(-4px); box-shadow:var(--shadow); }
.card .icon-badge{
  width:48px; height:48px; border-radius:12px; background:var(--navy-light);
  display:flex; align-items:center; justify-content:center; font-size:1.3rem; margin-bottom:16px;
}
.card h3{ margin-bottom:8px; font-size:1.08rem; }
.card p{ font-size:.92rem; }

.wing-card{ border-top:4px solid var(--gold); }
.wing-card.pp{ border-top-color:#7FB9A2; }
.wing-card.pr{ border-top-color:#6FA8DC; }
.wing-card.ms{ border-top-color:#E3A430; }
.wing-card.sr{ border-top-color:#C0715A; }

/* ---------- Testimonial ---------- */
.testimonial{
  background:var(--white); border-radius:var(--radius); padding:30px;
  box-shadow:var(--shadow-sm); border:1px solid var(--grey-200); position:relative;
}
.testimonial .quote-mark{ font-size:2.6rem; color:var(--gold); font-weight:800; line-height:1; margin-bottom:6px; }
.testimonial .who{ display:flex; align-items:center; gap:12px; margin-top:18px; }
.testimonial .avatar{ width:44px; height:44px; border-radius:50%; background:var(--navy-light); display:flex; align-items:center; justify-content:center; color:var(--navy); font-weight:700; font-size:.85rem;}
.testimonial .who strong{ display:block; font-size:.9rem; color:var(--navy-dark); }
.testimonial .who span{ font-size:.78rem; color:var(--grey-400); }
.sample-tag{ position:absolute; top:16px; right:16px; font-size:.65rem; background:#FDF1DD; color:var(--gold-dark); padding:3px 9px; border-radius:999px; font-weight:700; letter-spacing:.05em; text-transform:uppercase; }

/* ---------- CTA band ---------- */
.cta-band{
  background:linear-gradient(120deg,var(--maroon),#7E2515);
  color:var(--white); border-radius:var(--radius); padding:46px;
  display:flex; align-items:center; justify-content:space-between; gap:24px; flex-wrap:wrap;
}
.cta-band h2{ color:var(--white); margin-bottom:6px; }
.cta-band p{ color:#F3D9D2; }

/* ---------- Forms ---------- */
.form-card{ background:var(--white); border-radius:var(--radius); box-shadow:var(--shadow); padding:32px; border:1px solid var(--grey-200); }
.form-row{ display:grid; grid-template-columns:1fr 1fr; gap:16px; }
@media (max-width:600px){ .form-row{ grid-template-columns:1fr; } }
label{ display:block; font-size:.82rem; font-weight:600; color:var(--navy-dark); margin-bottom:6px; }
input,select,textarea{
  width:100%; padding:11px 14px; border-radius:var(--radius-sm); border:1.5px solid var(--grey-200);
  font-family:var(--font); font-size:.92rem; margin-bottom:16px; background:var(--white); color:var(--ink);
}
input:focus,select:focus,textarea:focus{ outline:none; border-color:var(--gold); }
.form-note{ font-size:.78rem; color:var(--grey-400); margin-top:-8px; margin-bottom:16px; }

/* ---------- Table (fees etc) ---------- */
.table-scroll{ width:100%; overflow-x:auto; -webkit-overflow-scrolling:touch; border-radius:var(--radius); box-shadow:var(--shadow-sm); }
table.fee-table{ width:100%; min-width:520px; border-collapse:collapse; background:var(--white); }
table.fee-table th{ background:var(--navy); color:var(--white); text-align:left; padding:14px 18px; font-size:.85rem; white-space:nowrap; }
table.fee-table td{ padding:13px 18px; border-bottom:1px solid var(--grey-200); font-size:.9rem; color:var(--grey-700); white-space:nowrap; }
table.fee-table tr:last-child td{ border-bottom:none; }

/* ---------- Timeline (admissions steps) ---------- */
.timeline{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; counter-reset:step; }
@media (max-width:900px){ .timeline{ grid-template-columns:repeat(2,1fr);} }
@media (max-width:560px){ .timeline{ grid-template-columns:1fr;} }
.timeline .step{ background:var(--white); border-radius:var(--radius); padding:24px; border:1px solid var(--grey-200); position:relative; }
.timeline .step::before{
  counter-increment:step; content:counter(step);
  width:34px; height:34px; border-radius:50%; background:var(--gold); color:var(--navy-dark);
  display:flex; align-items:center; justify-content:center; font-weight:800; margin-bottom:14px;
}

/* ---------- Notice / news list ---------- */
.notice-item{ display:flex; gap:18px; padding:18px 0; border-bottom:1px solid var(--grey-200); }
.notice-date{ flex:0 0 74px; text-align:center; background:var(--navy-light); border-radius:var(--radius-sm); padding:10px 4px; height:fit-content; }
.notice-date .d{ font-size:1.3rem; font-weight:800; color:var(--navy-dark); line-height:1; }
.notice-date .m{ font-size:.7rem; color:var(--grey-700); text-transform:uppercase; letter-spacing:.05em; }
.notice-tag{ display:inline-block; font-size:.68rem; font-weight:700; text-transform:uppercase; letter-spacing:.05em; padding:3px 9px; border-radius:999px; margin-bottom:6px; }
.tag-event{ background:#E3F0E9; color:var(--green); }
.tag-notice{ background:#FDEBE6; color:var(--maroon); }
.tag-achievement{ background:#FDF1DD; color:var(--gold-dark); }

/* ---------- Gallery ---------- */
.gallery-grid{ display:grid; grid-template-columns:repeat(4,1fr); gap:14px; }
@media (max-width:900px){ .gallery-grid{ grid-template-columns:repeat(3,1fr);} }
@media (max-width:600px){ .gallery-grid{ grid-template-columns:repeat(2,1fr);} }
.gallery-grid .ph{ aspect-ratio:1/1; min-height:0; font-size:.72rem; padding:10px; }
.year-pill{ display:inline-block; padding:8px 18px; border-radius:999px; border:1.5px solid var(--grey-200); font-size:.85rem; font-weight:600; margin:0 8px 8px 0; cursor:pointer; }
.year-pill.active{ background:var(--navy); color:var(--white); border-color:var(--navy); }

/* ---------- Footer ---------- */
footer{ background:var(--navy-dark); color:#C7D8E5; padding-top:60px; }
.footer-grid{ display:grid; grid-template-columns:1.4fr 1fr 1fr 1.2fr; gap:36px; padding-bottom:40px; }
@media (max-width:800px){ .footer-grid{ grid-template-columns:1fr 1fr; } }
@media (max-width:560px){ .footer-grid{ grid-template-columns:1fr; } }
footer h4{ color:var(--white); font-size:.95rem; margin-bottom:16px; }
footer ul li{ margin-bottom:10px; font-size:.88rem; }
footer a:hover{ color:var(--gold); }
.footer-bottom{ border-top:1px solid rgba(255,255,255,.12); padding:18px 0; font-size:.78rem; color:#9FB6C7; display:flex; justify-content:space-between; flex-wrap:wrap; gap:8px; }
.social-row{ display:flex; gap:10px; margin-top:14px; }
.social-row a{ width:36px; height:36px; border-radius:50%; background:rgba(255,255,255,.08); display:flex; align-items:center; justify-content:center; font-size:.9rem; }
.social-row a:hover{ background:var(--gold); color:var(--navy-dark); }

/* ---------- WhatsApp float ---------- */
.wa-float{
  position:fixed; bottom:24px; right:24px; z-index:300;
  width:58px; height:58px; border-radius:50%; background:#25D366; color:var(--white);
  display:flex; align-items:center; justify-content:center; font-size:1.5rem;
  box-shadow:0 8px 20px rgba(0,0,0,.25); transition:transform .15s ease;
}
.wa-float:hover{ transform:scale(1.08); }

/* ---------- Page hero (inner pages) ---------- */
.page-hero{ background:linear-gradient(120deg,var(--navy),var(--navy-dark)); color:var(--white); padding:56px 0; }
.page-hero h1{ color:var(--white); margin-bottom:10px; }
.breadcrumb{ font-size:.82rem; color:#B9CEDE; }
.breadcrumb a{ color:#B9CEDE; }
.breadcrumb a:hover{ color:var(--gold); }

.badge-list{ display:flex; flex-wrap:wrap; gap:10px; margin-top:18px; }
.badge-list span{ background:rgba(255,255,255,.1); padding:6px 14px; border-radius:999px; font-size:.78rem; }

.two-col{ display:grid; grid-template-columns:1fr 1fr; gap:48px; align-items:center; }
@media (max-width:900px){ .two-col{ grid-template-columns:1fr; } }

.stat-strip{ display:grid; grid-template-columns:repeat(4,1fr); gap:20px; text-align:center; }
@media (max-width:700px){ .stat-strip{ grid-template-columns:repeat(2,1fr);} }
.stat-strip div strong{ display:block; font-size:2rem; color:var(--navy-dark); }
.stat-strip div span{ font-size:.82rem; color:var(--grey-700); }

.divider{ height:1px; background:var(--grey-200); margin:44px 0; }

.anchor-nav{ display:flex; gap:10px; flex-wrap:wrap; margin-bottom:10px; }
.anchor-nav a{ padding:9px 18px; border-radius:999px; border:1.5px solid var(--grey-200); font-size:.85rem; font-weight:600; color:var(--navy-dark); }
.anchor-nav a:hover{ border-color:var(--gold); background:#FDF1DD; }
