/* =========================================================
   NORTH POINT PUBLIC SCHOOL — Design Tokens
   Display: Baloo 2 (rounded, playful, confident — a school that
            takes joy seriously). Body: Inter (clean, legible).
   Palette:
     --navy    #1c2a5e  (logo ring, headings, trust)
     --green   #1c9d63  (logo hills/book, growth)
     --lavender#ced7fe  (given — soft sky, backgrounds)
     --orange  #ff914d  (given — sunrise rays, energy, CTAs)
     --yellow  #ffe269  (given — highlight, stars)
     --cream   #fbfaf3  (warm paper background)
   Signature element: the "sunrise-rays" divider (lifted from the
   crest) used as a recurring scroll-revealed motif, and a
   hand-drawn underline that grows under headings on scroll.
   ========================================================= */

:root {
  --navy: #1c2a5e;
  --navy-deep: #12193d;
  --green: #1c9d63;
  --green-deep: #157a4d;
  --lavender: #ced7fe;
  --orange: #ff914d;
  --yellow: #ffe269;
  --cream: #fbfaf3;
  --white: #ffffff;
  --ink: #202b4d;
  --muted: #5b6486;

  --font-display: "Baloo 2", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  --radius-lg: 28px;
  --radius-md: 18px;
  --radius-sm: 10px;
  --shadow-soft: 0 20px 45px -20px rgba(28, 42, 94, 0.25);
  --shadow-pop: 0 12px 0 0 rgba(28, 42, 94, 0.9);
  --container: 1180px;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { font-family: inherit; cursor: pointer; }

.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 28px;
}

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.12;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 0.8rem;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--green-deep);
  background: rgba(28, 157, 99, 0.1);
  padding: 6px 16px;
  border-radius: 999px;
  margin-bottom: 18px;
}
.eyebrow.orange { color: #c85e1f; background: rgba(255, 145, 77, 0.16); }
.eyebrow.navy { color: var(--navy); background: rgba(206, 215, 254, 0.55); }

/* Hand-drawn underline that grows under headings when in view */
.underline-grow {
  position: relative;
  display: inline-block;
}
.underline-grow svg {
  position: absolute;
  left: 0; bottom: -10px;
  width: 100%; height: 14px;
  overflow: visible;
}
.underline-grow path {
  stroke: var(--orange);
  stroke-width: 6;
  fill: none;
  stroke-linecap: round;
  stroke-dasharray: 400;
  stroke-dashoffset: 400;
  transition: stroke-dashoffset 1s ease;
}
.underline-grow.in-view path { stroke-dashoffset: 0; }

/* ===================== NAVBAR ===================== */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(251, 250, 243, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(28, 42, 94, 0.08);
  transition: box-shadow 0.3s ease, background 0.3s ease;
}
.navbar.scrolled { box-shadow: 0 6px 24px -10px rgba(28,42,94,0.25); }
.navbar .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 12px;
  padding-bottom: 12px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}
.brand img { width: 48px; height: 48px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-text strong {
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 1.05rem;
}
.brand-text span {
  font-size: 0.68rem;
  color: var(--green-deep);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
}
.nav-links a {
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--navy);
  padding: 10px 16px;
  border-radius: 999px;
  position: relative;
  transition: background 0.25s ease, color 0.25s ease;
}
.nav-links a:hover { background: rgba(255, 145, 77, 0.14); color: #c85e1f; }
.nav-links a.active { background: var(--navy); color: var(--white); }
.nav-cta {
  background: var(--orange);
  color: var(--white) !important;
  padding: 11px 22px !important;
  border-radius: 999px;
  box-shadow: 0 6px 0 0 #d9702c;
  transition: transform 0.15s ease, box-shadow 0.15s ease !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 0 0 #d9702c;
  background: var(--orange) !important;
  color: var(--white) !important;
}
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--navy); border-radius: 4px; }

/* ===================== BUTTONS ===================== */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-display);
  font-size: 1rem;
  padding: 15px 30px;
  border-radius: 999px;
  border: none;
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}
.btn-primary {
  background: var(--orange);
  color: var(--white);
  box-shadow: 0 7px 0 0 #d9702c;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 10px 0 0 #d9702c; }
.btn-primary:active { transform: translateY(2px); box-shadow: 0 3px 0 0 #d9702c; }
.btn-secondary {
  background: var(--white);
  color: var(--navy);
  box-shadow: 0 7px 0 0 rgba(28,42,94,0.25);
  border: 2px solid rgba(28,42,94,0.15);
}
.btn-secondary:hover { transform: translateY(-3px); }
.btn-green {
  background: var(--green);
  color: var(--white);
  box-shadow: 0 7px 0 0 var(--green-deep);
}
.btn-green:hover { transform: translateY(-3px); box-shadow: 0 10px 0 0 var(--green-deep); }

/* ===================== SUNRISE DIVIDER (signature) ===================== */
.sunrise-divider {
  position: relative;
  height: 140px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
  overflow: hidden;
  margin: 10px 0 0;
}
.sunrise-divider svg { width: 220px; height: 140px; }
.sunrise-divider .ray {
  stroke: var(--orange);
  stroke-width: 4;
  stroke-linecap: round;
  transform-origin: 110px 140px;
  opacity: 0;
  transition: opacity 0.8s ease, transform 1.1s cubic-bezier(.2,.8,.2,1);
}
.sunrise-divider.in-view .ray { opacity: 1; }
.sunrise-divider .sun-arc {
  stroke: var(--green);
  stroke-width: 4;
  fill: none;
  stroke-dasharray: 300;
  stroke-dashoffset: 300;
  transition: stroke-dashoffset 1.1s ease 0.2s;
}
.sunrise-divider.in-view .sun-arc { stroke-dashoffset: 0; }

/* ===================== SECTIONS ===================== */
section { position: relative; padding: 100px 0; }
.section-tight { padding: 70px 0; }
.bg-navy { background: var(--navy); color: var(--white); }
.bg-navy h2, .bg-navy h3, .bg-navy h4 { color: var(--white); }
.bg-lavender { background: linear-gradient(180deg, var(--lavender) 0%, #e4e9ff 100%); }
.bg-cream { background: var(--cream); }
.bg-white { background: var(--white); }

.reveal {
  opacity: 0;
  transform: translateY(36px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-stagger.in-view .stagger-item { opacity: 1; transform: translateY(0); }
.stagger-item {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.stagger-item:nth-child(1) { transition-delay: 0.05s; }
.stagger-item:nth-child(2) { transition-delay: 0.15s; }
.stagger-item:nth-child(3) { transition-delay: 0.25s; }
.stagger-item:nth-child(4) { transition-delay: 0.35s; }
.stagger-item:nth-child(5) { transition-delay: 0.45s; }
.stagger-item:nth-child(6) { transition-delay: 0.55s; }

/* ===================== HERO ===================== */
.hero {
  position: relative;
  padding: 170px 0 100px;
  background: radial-gradient(circle at 85% 15%, rgba(255,226,105,0.55), transparent 45%),
              radial-gradient(circle at 10% 85%, rgba(206,215,254,0.7), transparent 50%),
              var(--cream);
  overflow: hidden;
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 50px;
  align-items: center;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  margin-bottom: 22px;
}
.hero h1 .accent { color: var(--orange); }
.hero p.lead {
  font-size: 1.15rem;
  color: var(--muted);
  max-width: 520px;
  margin-bottom: 34px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-stats {
  display: flex;
  gap: 30px;
  margin-top: 46px;
  flex-wrap: wrap;
}
.hero-stats div strong {
  font-family: var(--font-display);
  font-size: 1.9rem;
  color: var(--navy);
  display: block;
}
.hero-stats div span { font-size: 0.85rem; color: var(--muted); }

.hero-art {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-art .badge-float {
  position: absolute;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-soft);
  padding: 14px 20px;
  font-family: var(--font-display);
  font-size: 0.95rem;
  color: var(--navy);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: floaty 5s ease-in-out infinite;
}
.hero-art .badge-1 { top: 6%; left: -4%; animation-delay: 0s; }
.hero-art .badge-2 { bottom: 10%; right: -6%; animation-delay: 1.4s; }
.hero-art .badge-3 { bottom: -4%; left: 12%; animation-delay: 2.6s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-14px); }
}
.hero-photo-frame {
  width: 100%;
  max-width: 460px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  border: 8px solid var(--white);
  outline: 3px solid var(--lavender);
}
.hero-photo-frame img { width: 100%; height: 420px; object-fit: cover; }

/* ===================== CARDS ===================== */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }

.card {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card:hover { transform: translateY(-8px); }
.card .icon-wrap {
  width: 58px; height: 58px;
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 18px;
  font-size: 1.5rem;
}
.card h3 { color: #1c2a5e !important; font-size: 1.2rem; margin-bottom: 10px; }
.card p { color: var(--muted); font-size: 0.96rem; line-height: 1.6; }

.icon-lavender { background: var(--lavender); }
.icon-orange { background: #ffe3cf; }
.icon-yellow { background: #fff3c4; }
.icon-green { background: #d7f2e4; }

/* Section headers */
.section-head { max-width: 640px; margin-bottom: 54px; }
.section-head.center { margin-left: auto; margin-right: auto; text-align: center; }
.section-head h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); margin-bottom: 16px; }
.section-head p { color: var(--muted); font-size: 1.05rem; }
.bg-navy .section-head p { color: rgba(255,255,255,0.75); }

/* ===================== PRINCIPAL'S DESK ===================== */
.principal-section {
  background: var(--navy);
  color: var(--white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  box-shadow: var(--shadow-soft);
}
.principal-photo {
  position: relative;
  min-height: 420px;
}
.principal-photo img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center 20%;
}
.principal-photo::after {
  content: "";
  position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 40%, rgba(18,25,61,0.75) 100%);
}
.principal-copy { padding: 50px 48px; position: relative; }
.quote-mark {
  font-family: var(--font-display);
  font-size: 5rem;
  color: var(--orange);
  line-height: 0.5;
  display: block;
  margin-bottom: 18px;
}
.principal-copy p.msg {
  font-size: 1.12rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.88);
  margin-bottom: 26px;
}
.principal-sign strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.2rem;
  color: var(--yellow);
}
.principal-sign span { font-size: 0.85rem; color: rgba(255,255,255,0.6); }

/* ===================== ADMISSION FORM (home) ===================== */
.admission-wrap {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 0;
  background: var(--white);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}
.admission-side {
  background: linear-gradient(160deg, var(--green) 0%, var(--green-deep) 100%);
  color: var(--white);
  padding: 50px 42px;
  position: relative;
  overflow: hidden;
}
.admission-side h3 { color: var(--white); font-size: 1.7rem; margin-bottom: 16px; }
.admission-side p { color: rgba(255,255,255,0.88); margin-bottom: 26px; line-height: 1.65; }
.admission-steps { display: flex; flex-direction: column; gap: 16px; }
.admission-steps li {
  display: flex; gap: 14px; align-items: flex-start;
  font-size: 0.95rem;
}
.step-num {
  width: 30px; height: 30px; flex-shrink: 0;
  border-radius: 50%;
  background: var(--yellow);
  color: var(--navy);
  font-family: var(--font-display);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.9rem;
}
.admission-form { padding: 50px 46px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-size: 0.85rem;
  font-family: var(--font-display);
  color: var(--navy);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  padding: 13px 16px;
  border-radius: var(--radius-sm);
  border: 2px solid #e7e6dd;
  font-family: var(--font-body);
  font-size: 0.95rem;
  background: var(--cream);
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 4px rgba(255,145,77,0.15);
}
.field textarea { resize: vertical; min-height: 90px; }
.form-note { font-size: 0.82rem; color: var(--muted); margin-top: 14px; }
.form-success {
  display: none;
  background: #d7f2e4;
  color: var(--green-deep);
  padding: 16px 20px;
  border-radius: var(--radius-sm);
  font-family: var(--font-display);
  margin-bottom: 20px;
  align-items: center;
  gap: 10px;
}
.form-success.show { display: flex; }

/* ===================== TESTIMONIAL / VALUES STRIP ===================== */
.values-strip {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
}
.value-pill {
  flex: 1 1 210px;
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 26px 22px;
  text-align: center;
  box-shadow: var(--shadow-soft);
}
.value-pill .emoji { font-size: 2rem; margin-bottom: 10px; }
.value-pill h4 { font-size: 1rem; margin-bottom: 6px; }
.value-pill p { font-size: 0.85rem; color: var(--muted); }

/* ===================== PAGE HEADER (inner pages) ===================== */
.page-header {
  padding: 155px 0 80px;
  background: linear-gradient(180deg, var(--lavender) 0%, var(--cream) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-header h1 { font-size: clamp(2.1rem, 4.4vw, 3rem); }
.page-header p { color: var(--muted); max-width: 560px; margin: 16px auto 0; font-size: 1.05rem; }
.crumb {
  font-family: var(--font-display);
  font-size: 0.85rem;
  color: var(--green-deep);
  margin-bottom: 14px;
  display: inline-block;
}

/* ===================== MISSION / VISION (about) ===================== */
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; }
.mv-card {
  padding: 42px 36px;
  border-radius: var(--radius-lg);
  position: relative;
  overflow: hidden;
}
.mv-card.mission { background: var(--navy); color: var(--white); }
.mv-card.vision { background: linear-gradient(160deg, var(--orange), #ff7a2e); color: var(--white); }
.mv-card h3 { color: var(--white); font-size: 1.6rem; margin-bottom: 16px; }
.mv-card p { color: rgba(255,255,255,0.9); line-height: 1.7; font-size: 1.02rem; }
.mv-card .mv-icon { font-size: 2.4rem; margin-bottom: 16px; display: block; }

.timeline { position: relative; padding-left: 40px; }
.timeline::before {
  content: ""; position: absolute; left: 9px; top: 6px; bottom: 6px; width: 3px;
  background: repeating-linear-gradient(180deg, var(--orange) 0 8px, transparent 8px 14px);
}
.timeline-item { position: relative; padding-bottom: 34px; }
.timeline-item::before {
  content: ""; position: absolute; left: -40px; top: 4px;
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--green); border: 4px solid var(--cream);
}
.timeline-item h4 { margin-bottom: 6px; }
.timeline-item p { color: var(--muted); font-size: 0.95rem; }

/* founder / team */
.founder-card {
  display: flex; gap: 24px; align-items: center;
  background: var(--white); border-radius: var(--radius-lg);
  padding: 30px; box-shadow: var(--shadow-soft);
}
.founder-card img { width: 130px; height: 130px; border-radius: 50%; object-fit: cover; border: 5px solid var(--lavender); }

/* ===================== ACADEMICS PAGE ===================== */
.level-strip { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.level-card {
  background: var(--white); border-radius: var(--radius-md);
  padding: 26px 18px; text-align: center;
  box-shadow: var(--shadow-soft);
  border-top: 5px solid var(--orange);
  transition: transform 0.25s ease;
}
.level-card:nth-child(2) { border-top-color: var(--green); }
.level-card:nth-child(3) { border-top-color: var(--yellow); }
.level-card:nth-child(4) { border-top-color: var(--navy); }
.level-card:nth-child(5) { border-top-color: var(--lavender); }
.level-card:hover { transform: translateY(-8px); }
.level-card .lvl-icon { font-size: 2.1rem; margin-bottom: 12px; }
.level-card h4 { font-size: 1.02rem; margin-bottom: 6px; }
.level-card span { font-size: 0.8rem; color: var(--muted); }

.activity-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.activity-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  position: relative;
  min-height: 240px;
  display: flex; align-items: flex-end;
  padding: 26px;
  color: var(--white);
  box-shadow: var(--shadow-soft);
}
.activity-card::before {
  content: ""; position: absolute; inset: 0;
  opacity: 0.94;
}
.activity-card.a1::before { background: linear-gradient(160deg, #ff9a52, #ff6b2c); }
.activity-card.a2::before { background: linear-gradient(160deg, #2bb579, #157a4d); }
.activity-card.a3::before { background: linear-gradient(160deg, #6d7fd9, #1c2a5e); }
.activity-card.a4::before { background: linear-gradient(160deg, #ffd85e, #ffb238); }
.activity-card.a5::before { background: linear-gradient(160deg, #62c8e0, #1c2a5e); }
.activity-card.a6::before { background: linear-gradient(160deg, #ff85a8, #d94f78); }
.activity-card .a-content { position: relative; z-index: 1; }
.activity-card h4 { color: var(--white); font-size: 1.25rem; margin-bottom: 6px; }
.activity-card p { color: rgba(255,255,255,0.9); font-size: 0.9rem; }
.activity-card .a-emoji { position: absolute; top: 22px; right: 22px; font-size: 2rem; z-index: 1; opacity: 0.85; }

.skill-focus { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.skill-focus .card { text-align: center; }
.skill-focus .icon-wrap { margin: 0 auto 16px; }

/* subject list */
.subject-table { width: 100%; border-collapse: collapse; background: var(--white); border-radius: var(--radius-md); overflow: hidden; box-shadow: var(--shadow-soft); }
.subject-table th, .subject-table td { padding: 16px 22px; text-align: left; font-size: 0.95rem; }
.subject-table thead { background: var(--navy); color: var(--white); font-family: var(--font-display); }
.subject-table tbody tr:nth-child(even) { background: rgba(206,215,254,0.25); }

/* ===================== CONTACT PAGE ===================== */
.contact-grid { display: grid; grid-template-columns: 1fr 1.15fr; gap: 34px; align-items: start; }
.contact-info-card {
  background: var(--navy); color: var(--white);
  border-radius: var(--radius-lg);
  padding: 42px 36px;
}
.contact-info-card h3 { color: var(--white); margin-bottom: 22px; font-size: 1.4rem; }
.contact-line {
  display: flex; gap: 16px; align-items: flex-start;
  margin-bottom: 22px;
  font-size: 0.96rem;
  color: rgba(255,255,255,0.9);
}
.contact-line .ci-icon {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(255,255,255,0.12);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; font-size: 1.1rem;
}
.contact-line a { color: var(--yellow); }
.map-embed { border-radius: var(--radius-md); overflow: hidden; margin-top: 26px; box-shadow: 0 10px 30px rgba(0,0,0,0.25); }
.map-embed iframe { width: 100%; height: 220px; border: 0; display: block; }

.contact-form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 42px 40px;
  box-shadow: var(--shadow-soft);
}
.contact-form-card h3 { margin-bottom: 24px; }

.faq-item {
  background: var(--white); border-radius: var(--radius-md);
  padding: 20px 24px; margin-bottom: 14px;
  box-shadow: var(--shadow-soft);
  cursor: pointer;
}
.faq-item h4 { display: flex; justify-content: space-between; align-items: center; font-size: 1.02rem; }
.faq-item h4 .plus { color: var(--orange); font-family: var(--font-display); font-size: 1.3rem; transition: transform 0.3s ease; }
.faq-item.open h4 .plus { transform: rotate(45deg); }
.faq-answer {
  max-height: 0; overflow: hidden;
  transition: max-height 0.35s ease, padding 0.35s ease;
  color: var(--muted); font-size: 0.93rem; line-height: 1.6;
}
.faq-item.open .faq-answer { max-height: 220px; padding-top: 12px; }

/* ===================== FOOTER ===================== */
footer { background: var(--navy-deep); color: rgba(255,255,255,0.8); padding: 60px 0 24px; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; margin-bottom: 40px; }
.footer-brand { display: flex; gap: 12px; align-items: center; margin-bottom: 16px; }
.footer-brand img { width: 44px; height: 44px; }
.footer-brand strong { color: var(--white); font-family: var(--font-display); font-size: 1.05rem; }
footer h5 { color: var(--white); font-family: var(--font-display); font-size: 1rem; margin-bottom: 16px; }
footer ul li { margin-bottom: 10px; font-size: 0.92rem; }
footer ul li a:hover { color: var(--yellow); }
footer p.desc { font-size: 0.9rem; line-height: 1.6; max-width: 300px; }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 22px;
  display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px;
  font-size: 0.85rem;
}
.social-row { display: flex; gap: 12px; margin-top: 16px; }
.social-row a {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex; align-items: center; justify-content: center;
  transition: background 0.2s ease, transform 0.2s ease;
}
.social-row a:hover { background: var(--orange); transform: translateY(-3px); }

/* ===================== SCROLL TOP ===================== */
.scroll-top {
  position: fixed; bottom: 26px; right: 26px;
  width: 50px; height: 50px; border-radius: 50%;
  background: var(--orange); color: var(--white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 8px 20px rgba(255,145,77,0.5);
  opacity: 0; visibility: hidden; transform: translateY(20px);
  transition: all 0.3s ease;
  z-index: 900; border: none;
}
.scroll-top.show { opacity: 1; visibility: visible; transform: translateY(0); }

/* progress bar */
.scroll-progress {
  position: fixed; top: 0; left: 0; height: 4px;
  background: linear-gradient(90deg, var(--orange), var(--yellow), var(--green));
  z-index: 1100; width: 0%;
}

/* WhatsApp floating */
.whatsapp-float {
  position: fixed; bottom: 26px; left: 26px; z-index: 900;
  width: 54px; height: 54px; border-radius: 50%;
  background: #25D366; display: flex; align-items: center; justify-content: center;
  box-shadow: 0 8px 20px rgba(37,211,102,0.5);
  animation: pulse 2.4s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,0.55); }
  70% { box-shadow: 0 0 0 14px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

/* ===================== RESPONSIVE ===================== */
@media (max-width: 980px) {
  .hero-grid, .mv-grid, .grid-3, .grid-2, .grid-4, .contact-grid, .admission-wrap,
  .principal-section, .activity-grid, .skill-focus, .level-strip, .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
  .grid-3, .activity-grid, .skill-focus, .level-strip { grid-template-columns: 1fr 1fr; }
  .hero-grid, .mv-grid, .contact-grid, .admission-wrap, .principal-section { grid-template-columns: 1fr; }
  .principal-photo { min-height: 300px; }
}
@media (max-width: 720px) {
  .nav-links { position: fixed; top: 76px; left: 0; right: 0; background: var(--cream);
    flex-direction: column; padding: 20px; gap: 4px; box-shadow: 0 12px 20px rgba(0,0,0,0.08);
    transform: translateY(-150%); opacity: 0; transition: all 0.3s ease; }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-toggle { display: flex; }
  .grid-3, .grid-2, .grid-4, .footer-grid, .activity-grid, .skill-focus, .level-strip { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .admission-form, .admission-side { padding: 34px 26px; }
  .hero { padding-top: 140px; }
}
