/*
  main.css — Global styles for Learning Steps website
  ──────────────────────────────────────────────────
  Load order expected in every HTML page:
    1. fonts.css        (Google Fonts + custom face declarations)
    2. main.css?v=N     (this file — layout, nav, footer, shared components)
    3. page-specific    (gallery.css / causes.css as needed)

  CSS version query string (?v=N) is bumped manually whenever this
  file changes, to bust browser cache across all pages.

  Key layout constants (--nav-h, --banner-h) are set here as custom
  properties so that body padding-top and scroll-margin-top can both
  reference them from a single source of truth.
*/

/* ═══════════════════════════════════════════════
   DESIGN TOKENS — colours, spacing, typography
   All site-wide values live here so changing a
   colour or radius only requires one edit.
═══════════════════════════════════════════════ */
:root {
  /* ── Logo-matched palette ───────────────────── */
  --brand:           #003169;   /* Navy — primary brand, logo text */
  --brand-light:     #E6EDF7;   /* Navy tint — hover states, backgrounds */
  --brand-dark:      #002050;   /* Navy dark — pressed states */
  --brand-xlight:    #F0F4FA;   /* Navy barely-there tint */

  --accent-yellow:   #FEC905;   /* Logo puzzle 3 — yellow */
  --accent-yellow-bg:#FFF8D6;   /* Yellow tint */
  --accent-green:    #8CBC58;   /* Logo puzzle 2 — green */
  --accent-green-bg: #EEF7DC;   /* Green tint */
  --accent-blue:     #62A4D5;   /* Logo puzzle 1 — sky blue */
  --accent-blue-bg:  #E3F1FB;   /* Blue tint */
  --accent-purple:   #8B75A6;   /* Logo puzzle 5 — purple */
  --accent-purple-bg:#F0EBF7;   /* Purple tint */
  --accent-orange:   #FE9020;   /* Logo arc / orange accent */
  --accent-orange-bg:#FFF0DC;   /* Orange tint */

  --off-white:       #F7F9FC;   /* Soft cool white — page bg */
  --cream:           #FDFBF5;   /* Warm section bg */
  --white:           #FFFFFF;

  --text-dark:       #1A1A2E;   /* Near-black with navy hint */
  --text-mid:        #4A5568;   /* Mid grey */
  --text-light:      #8A96A8;   /* Light grey */

  --border:          #D8E2F0;   /* Cool border */
  --border-light:    #E8EEF8;   /* Light border */

  --footer-bg:       #001845;   /* Very dark navy footer */
  --footer-dark:     #00112E;

  --radius-sm:       8px;
  --radius-md:       16px;
  --radius-lg:       24px;
  --radius-pill:     50px;

  --shadow-sm:       0 2px 10px rgba(0,0,0,0.06);
  --shadow:          0 4px 20px rgba(0,0,0,0.08);
  --shadow-hover:    0 10px 36px rgba(0,0,0,0.13);
  --shadow-brand:    0 6px 20px rgba(0,49,105,0.25);

  --font-head:       'Raleway', 'Trebuchet MS', 'Segoe UI', sans-serif;
  --font-body:       'Lato', 'Helvetica Neue', Arial, sans-serif;

  --max-w:           1140px;
  --nav-h:           176px;
  --banner-h:        32px;
}

/* ═══════════════════════════════════════════════
   RESET & BASE
═══════════════════════════════════════════════ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
:focus-visible { outline: 3px solid var(--brand); outline-offset: 3px; border-radius: 4px; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font-body);
  background: var(--off-white);
  color: var(--text-dark);
  line-height: 1.65;
  overflow-x: hidden;
  /* Offset for the fixed admission banner + fixed nav so content
     is never hidden underneath them at any viewport size.
     Both heights are updated in media queries below. */
  padding-top: calc(var(--banner-h) + var(--nav-h));
}
img { display: block; max-width: 100%; }
a { text-decoration: none; color: inherit; }

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

/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
.nav {
  position: fixed;
  top: var(--banner-h);
  left: 0;
  right: 0;
  height: var(--nav-h);
  background: #ffffff;
  border-bottom: 2px solid var(--border-light);
  z-index: 1000;
  transition: box-shadow 0.3s;
}
.nav.scrolled { box-shadow: 0 4px 20px rgba(0,49,105,0.12); }
.nav-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 40px;
  height: 100%;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-mark {
  width: 38px; height: 38px;
  background: var(--brand);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 18px;
  flex-shrink: 0;
}
.nav-logo-text {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  line-height: 1.1;
}
.nav-logo-text span { color: var(--brand); }
.nav-logo-sub {
  font-size: 10px;
  font-weight: 400;
  color: var(--text-light);
  letter-spacing: 0.5px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 2px;
  flex-shrink: 0;
}
.nav-link {
  font-family: var(--font-body);
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  padding: 6px 10px;
  border-radius: var(--radius-sm);
  transition: color 0.2s, background 0.2s;
  letter-spacing: 0.1px;
  white-space: nowrap;
}
.nav-link:hover { color: var(--brand); background: var(--brand-light); }
.nav-link.active { color: var(--brand); }
.nav-cta {
  background: var(--brand);
  color: white !important;
  padding: 8px 18px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-body);
  box-shadow: var(--shadow-brand);
  transition: background 0.2s, transform 0.2s;
  margin-left: 6px;
  white-space: nowrap;
  flex-shrink: 0;
}
.nav-cta:hover {
  background: var(--brand-dark);
  transform: translateY(-1px);
  box-shadow: 0 8px 24px rgba(0,49,105,0.35);
}

/* Nav social icons — desktop only (hidden at ≤900px breakpoint).
   On mobile they re-appear inside the hamburger menu as pill buttons
   via .mobile-nav-social defined further below. */
.nav-social {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.nav-social-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  transition: transform 0.2s, box-shadow 0.2s, filter 0.2s;
  flex-shrink: 0;
}

.nav-social-btn:hover {
  transform: translateY(-2px) scale(1.08);
  filter: brightness(1.12);
  box-shadow: 0 6px 18px rgba(0,0,0,0.22);
}

.nav-insta {
  background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
  box-shadow: 0 3px 10px rgba(220,39,67,0.35);
}

.nav-fb {
  background: #1877f2;
  box-shadow: 0 3px 10px rgba(24,119,242,0.35);
}

/* Hamburger */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: var(--radius-sm);
  transition: background 0.2s;
  flex-shrink: 0;
}
.nav-hamburger:hover { background: var(--brand-light); }
.nav-hamburger span {
  display: block;
  width: 24px; height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

.nav-mobile {
  display: none;
  position: fixed;
  top: calc(var(--banner-h) + var(--nav-h));
  left: 0; right: 0;
  background: white;
  border-bottom: 1px solid var(--border);
  padding: 16px 24px 24px;
  z-index: 999;
  box-shadow: var(--shadow);
  max-height: calc(100dvh - var(--banner-h) - var(--nav-h));
  overflow-y: auto;
}
.nav-mobile.open { display: block; }
.nav-mobile a {
  display: block;
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  padding: 12px 8px;
  border-bottom: 1px solid var(--border-light);
  font-family: var(--font-body);
}
.nav-mobile a:last-child { border: none; }
.nav-mobile a.cta-mobile {
  background: var(--brand);
  color: white;
  border-radius: var(--radius-pill);
  text-align: center;
  margin-top: 12px;
  border: none;
  padding: 14px;
}

/* Social row inside mobile nav */
.mobile-nav-social {
  display: flex;
  gap: 12px;
  padding: 16px 8px 4px;
  border-top: 1px solid var(--border-light);
  margin-top: 4px;
}

.mobile-nav-social .nav-social-btn {
  display: flex;
  align-items: center;
  gap: 8px;
  width: auto;
  height: 44px;
  padding: 0 16px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-body);
  color: white;
  flex: 1;
  justify-content: center;
}

.mobile-nav-social .nav-social-btn span {
  font-size: 13px;
  font-weight: 700;
}

/* ═══════════════════════════════════════════════
   ADMISSION BANNER
═══════════════════════════════════════════════ */
.admission-banner {
  background: var(--brand);
  color: white;
  text-align: center;
  height: var(--banner-h);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  font-size: 10px;
  font-weight: 700;
  font-family: var(--font-body);
  letter-spacing: 0.3px;
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1001;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.admission-banner a {
  color: white;
  text-decoration: underline;
  margin-left: 8px;
  opacity: 0.9;
}
.admission-banner a:hover { opacity: 1; }
@media (max-width: 600px) {
  .admission-banner { font-size: 11px; letter-spacing: 0; }
  .admission-banner a { display: none; }
}



/* ═══════════════════════════════════════════════
   HERO SECTION
═══════════════════════════════════════════════ */
.hero {
  background: var(--off-white);
  padding: 18px 0 72px;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: -120px; right: -120px;
  width: 500px; height: 500px;
  background: var(--accent-yellow);
  border-radius: 50%;
  opacity: 0.15;
  pointer-events: none;
}
.hero::after {
  content: '';
  position: absolute;
  bottom: -80px; left: 10%;
  width: 300px; height: 300px;
  background: var(--accent-green);
  border-radius: 50%;
  opacity: 0.12;
  pointer-events: none;
}
.hero-blob-purple {
  position: absolute;
  top: 40%; left: -60px;
  width: 200px; height: 200px;
  background: var(--accent-purple);
  border-radius: 50%;
  opacity: 0.1;
  pointer-events: none;
}
.hero-inner {
  max-width: var(--max-w);
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--brand-light);
  color: var(--brand);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: var(--radius-pill);
  margin-bottom: 20px;
}
.hero-eyebrow::before { content: '✦'; font-size: 10px; }
.hero-title {
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  line-height: 1.1;
  color: var(--text-dark);
  margin-bottom: 20px;
  letter-spacing: -0.5px;
}
.hero-title .highlight {
  color: var(--brand);
  position: relative;
  display: inline-block;
}
.hero-title .highlight::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 0; right: 0;
  height: 4px;
  background: var(--accent-yellow);
  border-radius: 2px;
  z-index: -1;
  opacity: 0.6;
}
.hero-sub {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 16px;
  font-weight: 300;
}
.hero-tagline {
  font-family: var(--font-head);
  font-size: 14px;
  font-weight: 700;
  color: var(--brand);
  font-style: italic;
  margin-bottom: 36px;
}
.hero-btns {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}
.btn {
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 32px;
  border-radius: var(--radius-pill);
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  letter-spacing: 0.2px;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--brand);
  color: white;
  box-shadow: var(--shadow-brand);
}
.btn-primary:hover {
  background: var(--brand-dark);
  box-shadow: 0 8px 28px rgba(0,49,105,0.35);
}
.btn-secondary {
  background: transparent;
  color: var(--brand);
  border-color: var(--brand);
}
.btn-secondary:hover {
  background: var(--brand-light);
  box-shadow: var(--shadow);
}
.hero-stats {
  display: flex;
  gap: 32px;
}
.hero-stat {
  text-align: left;
}
.hero-stat-num {
  font-family: var(--font-head);
  font-size: 28px;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
  margin-bottom: 4px;
}
.hero-stat-label {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 700;
  letter-spacing: 0.3px;
}

/* Hero image side */
.hero-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}
.hero-frame {
  width: 380px;
  background: white;
  border-radius: var(--radius-lg);
  padding: 12px 12px 48px;
  box-shadow: 0 20px 60px rgba(0,49,105,0.18), 0 4px 16px rgba(0,0,0,0.08);
  position: relative;
  transform: rotate(-1.5deg);
}
.hero-frame-photos {
  position: relative;
  width: 100%;
  aspect-ratio: 4/3;
  border-radius: calc(var(--radius-lg) - 4px);
  overflow: hidden;
  background: var(--brand-light);
}
.hero-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.9s ease-in-out;
}
.hero-slide.active {
  opacity: 1;
}
.hero-frame-label {
  text-align: center;
  margin-top: 10px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  letter-spacing: 0.5px;
  font-family: var(--font-body);
}
.hero-frame-dots {
  display: flex;
  justify-content: center;
  gap: 6px;
  margin-top: 8px;
}
.hero-frame-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--brand-light);
  border: 1.5px solid var(--brand);
  transition: background 0.3s;
}
.hero-frame-dot.active {
  background: var(--brand);
}
.hero-float-badge {
  position: absolute;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: 12px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-body);
}
.hero-float-badge.badge-1 { top: 20px; right: -20px; }
.hero-float-badge.badge-2 { bottom: 40px; left: -30px; }
.badge-icon { font-size: 22px; }
.badge-text-main { font-size: 13px; font-weight: 700; color: var(--text-dark); }
.badge-text-sub { font-size: 11px; color: var(--text-light); margin-top: 1px; }
.hero-dot {
  position: absolute;
  border-radius: 50%;
}
.hero-dot-1 {
  width: 16px; height: 16px;
  background: var(--accent-yellow);
  top: 10px; left: 20px;
}
.hero-dot-2 {
  width: 12px; height: 12px;
  background: var(--accent-orange);
  bottom: 20px; right: 10px;
}
.hero-dot-3 {
  width: 14px; height: 14px;
  background: var(--accent-green);
  top: 50%; right: -10px;
}

/* ═══════════════════════════════════════════════
   SECTION SHARED STYLES
═══════════════════════════════════════════════ */
section { padding: 20px 0 80px; }
.section-alt { background: var(--white); }
.section-cream { background: var(--cream); }

.section-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 10px;
  font-family: var(--font-body);
}
.section-title {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 14px;
  line-height: 1.2;
  letter-spacing: -0.3px;
}
.section-title .accent { color: var(--brand); }
.section-sub {
  font-size: 17px;
  color: var(--text-mid);
  line-height: 1.75;
  max-width: 580px;
  font-weight: 300;
}
.section-header { margin-bottom: 52px; }
.section-header.center { text-align: center; }
.section-header.center .section-sub { margin: 0 auto; }

/* ═══════════════════════════════════════════════
   ABOUT TEASER
═══════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.about-visual {
  position: relative;
}
.about-img-placeholder {
  width: 100%;
  aspect-ratio: 4/3;
  background: var(--brand-light);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 72px;
  position: relative;
  overflow: hidden;
}
.about-img-placeholder::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 40%;
  background: linear-gradient(to top, rgba(244,132,95,0.12), transparent);
}
/* [DUMMY] badge on about image */
.dummy-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--accent-yellow);
  color: #7A6200;
  font-size: 10px;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  font-family: var(--font-body);
  letter-spacing: 0.5px;
  z-index: 2;
}
.about-founded {
  position: absolute;
  bottom: -20px; right: -20px;
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-hover);
  padding: 18px 22px;
  text-align: center;
}
.about-founded-year {
  font-family: var(--font-head);
  font-size: 32px;
  font-weight: 900;
  color: var(--brand);
  line-height: 1;
}
.about-founded-label { font-size: 11px; color: var(--text-light); font-weight: 700; margin-top: 4px; letter-spacing: 0.5px; }

.about-content .section-sub { max-width: 100%; margin-bottom: 24px; }
.about-quote {
  border-left: 4px solid var(--brand);
  padding: 16px 20px;
  background: var(--brand-xlight);
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 700;
  color: var(--text-dark);
  font-style: italic;
  line-height: 1.6;
  margin-bottom: 28px;
}
.about-pillars {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}
.pillar-chip {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-pill);
  padding: 7px 16px;
  font-size: 13px;
  font-weight: 700;
  color: var(--text-mid);
  font-family: var(--font-body);
  display: flex; align-items: center; gap: 6px;
}

/* ═══════════════════════════════════════════════
   SERVICES / PROGRAMMES
═══════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.service-card {
  background: white;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  cursor: pointer;
  border: 1px solid var(--border-light);
}
.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}
.service-card-top {
  height: 6px;
}
.service-card-body { padding: 28px 24px; }
.service-icon {
  width: 52px; height: 52px;
  border-radius: 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 24px;
  margin-bottom: 18px;
  transition: transform 0.3s;
}
.service-card:hover .service-icon { transform: scale(1.1) rotate(5deg); }
.service-title {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
}
.service-desc {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.65;
}
.service-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 700;
  margin-top: 16px;
  transition: gap 0.2s;
}
.service-card:hover .service-link { gap: 10px; }

/* Card colour variants */
.card-yellow .service-card-top { background: var(--accent-yellow); }
.card-yellow .service-icon { background: var(--accent-yellow-bg); }
.card-yellow .service-link { color: #9A7500; }
.card-green .service-card-top { background: var(--accent-green); }
.card-green .service-icon { background: var(--accent-green-bg); }
.card-green .service-link { color: #4A7A20; }
.card-blue .service-card-top { background: var(--accent-blue); }
.card-blue .service-icon { background: var(--accent-blue-bg); }
.card-blue .service-link { color: #2A6FA8; }
.card-purple .service-card-top { background: var(--accent-purple); }
.card-purple .service-icon { background: var(--accent-purple-bg); }
.card-purple .service-link { color: #5A3E88; }

/* ═══════════════════════════════════════════════
   DIRECTOR'S DESK
═══════════════════════════════════════════════ */
.director-section {
  background: var(--off-white);
}
.director-inner {
  display: grid;
  grid-template-columns: 340px 1fr;
  gap: 64px;
  align-items: start;
}
.director-photo-wrap {
  position: relative;
}
.director-photo {
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--brand-light);
  border-radius: var(--radius-lg);
  display: flex; align-items: center; justify-content: center;
  font-size: 80px;
  position: relative;
  overflow: hidden;
}
.director-photo::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: var(--radius-lg);
  border: 3px solid rgba(244,132,95,0.25);
}
.director-tag {
  position: absolute;
  bottom: -16px; left: 50%;
  transform: translateX(-50%);
  background: var(--brand);
  color: white;
  padding: 10px 24px;
  border-radius: var(--radius-pill);
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  box-shadow: var(--shadow-brand);
  font-family: var(--font-body);
}
.director-content {
  padding-top: 8px;
}
.director-quote-mark {
  font-family: var(--font-head);
  font-size: 96px;
  color: var(--brand);
  line-height: 0.7;
  margin-bottom: 16px;
  opacity: 0.3;
}
.director-message {
  font-size: 16px;
  color: var(--text-dark);
  line-height: 1.8;
  margin-bottom: 20px;
}
.director-message:first-of-type {
  font-size: 18px;
  color: var(--text-dark);
  font-style: italic;
  font-family: var(--font-head);
  font-weight: 600;
}
.director-milestone {
  background: white;
  border-radius: var(--radius-md);
  border-left: 4px solid var(--brand);
  padding: 16px 20px;
  margin: 24px 0;
  box-shadow: var(--shadow-sm);
}
.director-milestone p {
  font-size: 14px;
  color: var(--text-mid);
  line-height: 1.6;
}
.director-milestone strong { color: var(--brand); }
.director-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 28px;
}
.director-desig {
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  margin-top: 4px;
  letter-spacing: 0.3px;
}

/* ═══════════════════════════════════════════════
   ANCHOR OFFSET — fixed nav compensation
   Without this, clicking a nav link that targets
   #principal or #aditya would scroll so the
   heading sits behind the fixed banner + nav bar.
   The extra 20px is breathing room above the heading.
═══════════════════════════════════════════════ */
#principal,
#aditya {
  scroll-margin-top: calc(var(--nav-h) + var(--banner-h) + 20px);
}

/* ═══════════════════════════════════════════════
   PRINCIPAL SECTION (Homepage pull-quote)
═══════════════════════════════════════════════ */
.principal-section {
  padding: 72px 0 88px;
}
.principal-inner {
  display: grid;
  grid-template-columns: 260px 1fr;
  gap: 72px;
  align-items: center;
}
.principal-photo {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  background: var(--brand-light);
  overflow: hidden;
  border: 4px solid var(--brand);
  box-shadow: var(--shadow-brand);
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 60px;
}
.principal-quote {
  font-family: var(--font-head);
  font-size: 24px;
  font-weight: 700;
  color: var(--brand);
  line-height: 1.5;
  border-left: 4px solid var(--brand);
  padding-left: 24px;
  margin: 20px 0 28px;
}
.principal-body {
  font-size: 15px;
  color: var(--text-mid);
  line-height: 1.75;
  margin-bottom: 20px;
}
.principal-name {
  font-family: var(--font-head);
  font-size: 18px;
  font-weight: 800;
  color: var(--text-dark);
  margin-top: 4px;
}
.principal-desig {
  font-size: 13px;
  color: var(--brand);
  font-weight: 700;
  margin-top: 2px;
}

/* ═══════════════════════════════════════════════
   FOUNDER MEMORIAL SECTION
═══════════════════════════════════════════════ */
.founder-section {
  background: linear-gradient(135deg, #f0f4fa 0%, #faf8f5 100%);
  border-top: 3px solid rgba(0,49,105,0.08);
  border-bottom: 3px solid rgba(0,49,105,0.08);
}

.aditya-section {
  background: linear-gradient(135deg, #f0fdf4 0%, #ecfdf5 50%, #f0f9ff 100%);
  border-top: 3px solid rgba(5,150,105,0.12);
  border-bottom: 3px solid rgba(5,150,105,0.12);
  padding: 72px 0;
}
.founder-tribute {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 800;
  color: var(--brand);
  font-style: italic;
  text-align: center;
  padding: 24px 20px;
  margin: 24px 0 8px;
  border-top: 1px solid rgba(0,49,105,0.12);
}
.founder-candle {
  text-align: center;
  font-size: 28px;
  margin-bottom: 4px;
}

/* ═══════════════════════════════════════════════
   JOURNEY / MILESTONES
═══════════════════════════════════════════════ */
.journey-section { background: var(--white); }
.journey-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
.journey-card {
  background: var(--off-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  border: 1px solid var(--border-light);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.journey-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.journey-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
}
.journey-card:nth-child(1)::before { background: var(--accent-yellow); }
.journey-card:nth-child(2)::before { background: var(--accent-green); }
.journey-card:nth-child(3)::before { background: var(--accent-blue); }
.journey-card:nth-child(4)::before { background: var(--brand); }
.journey-year {
  font-family: var(--font-head);
  font-size: 22px;
  font-weight: 900;
  color: var(--brand);
  margin-bottom: 8px;
}
.journey-title {
  font-family: var(--font-head);
  font-size: 15px;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 10px;
  line-height: 1.3;
}
.journey-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   WHO WE SERVE
═══════════════════════════════════════════════ */
.conditions-section { background: var(--off-white); }
.conditions-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}
.condition-pill {
  background: white;
  border: 1.5px solid var(--border-light);
  border-radius: var(--radius-pill);
  padding: 14px 22px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  font-weight: 700;
  color: var(--text-dark);
  transition: border-color 0.2s, background 0.2s, transform 0.2s;
}
.condition-pill:hover {
  border-color: var(--accent-blue);
  background: var(--accent-blue-bg);
  transform: translateX(4px);
  color: var(--brand);
}
.condition-icon { font-size: 20px; flex-shrink: 0; }

/* ═══════════════════════════════════════════════
   TESTIMONIALS
═══════════════════════════════════════════════ */
.testimonials-section { background: var(--cream); }
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.testimonial-card {
  background: white;
  border-radius: var(--radius-md);
  padding: 32px 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border-light);
  position: relative;
  transition: transform 0.2s, box-shadow 0.2s;
}
.testimonial-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.testimonial-quote-mark {
  font-family: var(--font-head);
  font-size: 72px;
  color: var(--brand);
  line-height: 0.6;
  margin-bottom: 16px;
  opacity: 0.25;
}
.testimonial-stars {
  color: var(--accent-yellow);
  font-size: 14px;
  margin-bottom: 12px;
  filter: saturate(1.5);
}
.testimonial-text {
  font-size: 15px;
  color: var(--text-dark);
  line-height: 1.75;
  font-style: italic;
  margin-bottom: 22px;
}
.testimonial-divider {
  width: 32px; height: 3px;
  background: var(--brand);
  border-radius: 2px;
  margin-bottom: 16px;
  opacity: 0.4;
}
.testimonial-author { font-weight: 700; font-size: 14px; color: var(--text-dark); }
.testimonial-relation { font-size: 12px; color: var(--text-light); margin-top: 3px; }

/* [DUMMY] indicator */
.dummy-note {
  display: inline-block;
  background: #FFF3CD;
  border: 1px solid #FFD700;
  color: #856404;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 8px;
  border-radius: 4px;
  margin-top: 6px;
  font-family: var(--font-body);
  letter-spacing: 0.5px;
}

/* ═══════════════════════════════════════════════
   GALLERY TEASER
═══════════════════════════════════════════════ */
.gallery-section { background: var(--white); }
.gallery-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  grid-template-rows: 200px 200px;
  gap: 16px;
  margin-bottom: 36px;
}
.gallery-item {
  border-radius: var(--radius-md);
  overflow: hidden;
  position: relative;
  cursor: pointer;
}
.gallery-item:first-child { grid-row: 1 / 3; }
.gallery-img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: flex; align-items: center; justify-content: center;
  font-size: 40px;
  transition: transform 0.4s;
}
.gallery-item:hover .gallery-img { transform: scale(1.05); }
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
  display: flex;
  align-items: flex-end;
  padding: 16px;
  opacity: 0;
  transition: opacity 0.3s;
}
.gallery-item:hover .gallery-overlay { opacity: 1; }
.gallery-label {
  color: white;
  font-size: 13px;
  font-weight: 700;
  font-family: var(--font-body);
}
/* Gallery placeholder colours */
.gallery-item:nth-child(1) .gallery-img { background: #FDEEE8; }
.gallery-item:nth-child(2) .gallery-img { background: var(--accent-yellow-bg); }
.gallery-item:nth-child(3) .gallery-img { background: var(--accent-green-bg); }
.gallery-item:nth-child(4) .gallery-img { background: var(--accent-blue-bg); }
.gallery-item:nth-child(5) .gallery-img { background: var(--accent-purple-bg); }

.gallery-cta { text-align: center; }

/* ═══════════════════════════════════════════════
   FEATURES STRIP
═══════════════════════════════════════════════ */
.features-strip {
  background: var(--brand);
  padding: 48px 0;
}
.features-strip-inner {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 24px;
  text-align: center;
}
.feature-item { }
.feature-icon-wrap {
  width: 52px; height: 52px;
  background: rgba(255,255,255,0.15);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 22px;
  margin: 0 auto 12px;
}
.feature-label {
  font-size: 13px;
  font-weight: 700;
  color: white;
  font-family: var(--font-body);
  line-height: 1.3;
}

/* ═══════════════════════════════════════════════
   ADMISSIONS CTA
═══════════════════════════════════════════════ */
.cta-section {
  background: var(--off-white);
  padding: 80px 0;
}
.cta-inner {
  background: var(--text-dark);
  border-radius: var(--radius-lg);
  padding: 64px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 48px;
  align-items: center;
  position: relative;
  overflow: hidden;
}
.cta-inner::before {
  content: '';
  position: absolute;
  top: -60px; right: 200px;
  width: 250px; height: 250px;
  background: var(--brand);
  border-radius: 50%;
  opacity: 0.08;
}
.cta-inner::after {
  content: '';
  position: absolute;
  bottom: -80px; right: -40px;
  width: 300px; height: 300px;
  background: var(--accent-yellow);
  border-radius: 50%;
  opacity: 0.06;
}
.cta-eyebrow {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brand);
  margin-bottom: 12px;
}
.cta-title {
  font-family: var(--font-head);
  font-size: 36px;
  font-weight: 800;
  color: white;
  margin-bottom: 12px;
  line-height: 1.2;
}
.cta-sub {
  font-size: 16px;
  color: rgba(255,255,255,0.65);
  line-height: 1.7;
}
.cta-btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  min-width: 200px;
  position: relative;
  z-index: 1;
}
.btn-white {
  background: white;
  color: var(--text-dark);
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 15px;
  padding: 14px 28px;
  border-radius: var(--radius-pill);
  border: none;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  text-align: center;
}
.btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.btn-outline-white {
  background: transparent;
  color: white;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 14px;
  padding: 12px 28px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255,255,255,0.35);
  cursor: pointer;
  transition: background 0.2s, border-color 0.2s;
  text-align: center;
}
.btn-outline-white:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.6); }

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
footer {
  background: var(--footer-bg);
  padding: 20px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 24px;
  padding-bottom: 16px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand {}
.footer-logo-img {
  display: inline-block;
  opacity: 0.92;
  transition: opacity 0.2s;
}
.footer-logo-img:hover { opacity: 1; }
.footer-logo-name {
  font-family: var(--font-head);
  font-size: 20px;
  font-weight: 800;
  color: white;
  margin-bottom: 4px;
}
.footer-logo-name span { color: var(--brand); }
.footer-tagline {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.4;
  margin-bottom: 10px;
}
.footer-socials {
  display: flex;
  gap: 10px;
}
.social-btn {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.08);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75);
  transition: background 0.2s, transform 0.2s, color 0.2s;
  cursor: pointer;
}
.social-btn svg { display: block; }
.social-btn:hover { background: var(--brand); color: white; transform: translateY(-2px); }

.footer-col-title {
  font-family: var(--font-head);
  font-size: 11px;
  font-weight: 700;
  color: white;
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-bottom: 8px;
}
.footer-link {
  display: block;
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  margin-bottom: 2px;
  padding: 4px 0;
  transition: color 0.2s;
  font-family: var(--font-body);
}
.footer-link:hover { color: var(--brand); }

.footer-contact-item {
  display: flex;
  gap: 8px;
  margin-bottom: 7px;
  align-items: flex-start;
}
.footer-contact-icon { font-size: 13px; flex-shrink: 0; margin-top: 1px; }
.footer-contact-text {
  font-size: 12px;
  color: rgba(255,255,255,0.45);
  line-height: 1.5;
}
.footer-contact-text a { color: var(--brand); }

.footer-bottom {
  padding: 10px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-copy {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-body);
}
.footer-remembrance {
  font-size: 12px;
  color: rgba(255,255,255,0.3);
  font-family: var(--font-body);
  font-style: italic;
}

/* ═══════════════════════════════════════════════
   SCROLL ANIMATIONS
   Elements with class="reveal" start invisible
   and slide up into view when they enter the
   viewport. The IntersectionObserver in main.js
   adds "visible" once the element crosses the
   threshold. reveal-delay-* staggers siblings
   so they don't all pop in at the same instant.
═══════════════════════════════════════════════ */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 900px) {
  :root { --nav-h: 144px; }
  body { padding-top: calc(40px + 144px); }
  .nav-links { display: none; }
  .nav-social { display: none; }
  .nav-hamburger { display: flex; }
  .nav-logo img { height: 128px !important; }

  .hero-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero-visual { display: none; }
  .hero-title { font-size: 36px; }

  .about-grid { grid-template-columns: 1fr; gap: 40px; }
  .about-visual { display: none; }

  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .journey-grid { grid-template-columns: repeat(2, 1fr); }

  .director-inner { grid-template-columns: 1fr; }
  .director-photo-wrap {
    display: block;
    max-width: 240px;
    margin: 0 auto 32px;
  }

  .principal-inner { grid-template-columns: 1fr; text-align: center; }
  .principal-quote { border-left: none; padding-left: 0; border-top: 4px solid var(--brand); padding-top: 16px; }

  .conditions-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: repeat(2, 1fr); }

  .gallery-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto;
  }
  .gallery-item:first-child { grid-row: auto; }

  .features-strip-inner { grid-template-columns: repeat(3, 1fr); gap: 20px; }

  .cta-inner { grid-template-columns: 1fr; text-align: center; padding: 40px; }
  .cta-btns { flex-direction: row; justify-content: center; }

  .hero-stats { flex-wrap: wrap; gap: 20px 32px; }

  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }

  section { padding: 56px 0; }
}

@media (max-width: 600px) {
  :root { --nav-h: 112px; }
  body { padding-top: calc(40px + 112px); }
  .nav-logo img { height: 96px !important; }
  .testimonials-grid { grid-template-columns: 1fr; }
  .hero-title { font-size: 30px; }
  .section-title { font-size: 26px; }
  .services-grid { grid-template-columns: 1fr; }
  .journey-grid { grid-template-columns: 1fr; }
  .conditions-grid { grid-template-columns: 1fr; }
  .features-strip-inner { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .cta-btns { flex-direction: column; align-items: stretch; }
  .cta-btns .btn-white,
  .cta-btns .btn-outline-white { display: block; text-align: center; }
  .cta-title { font-size: 26px; }
  .hero-stats { gap: 16px 24px; }
}

/* ═══════════════════════════════════════════════
   STAFF PAGE
═══════════════════════════════════════════════ */
.staff-category {
  margin-bottom: 64px;
}
.staff-category-label {
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 800;
  color: var(--brand);
  letter-spacing: 2px;
  text-transform: uppercase;
  margin-bottom: 28px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--border-light);
  display: flex;
  align-items: center;
  gap: 10px;
}
.staff-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.staff-grid.support {
  grid-template-columns: repeat(3, 1fr);
}
.staff-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
  transition: transform 0.25s, box-shadow 0.25s;
  border: 1px solid var(--border-light);
}
.staff-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
}
.staff-photo-wrap {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  background: var(--brand-light);
  overflow: hidden;
}
.staff-photo-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}
.staff-photo-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-head);
  font-size: 48px;
  font-weight: 900;
  color: var(--brand);
  background: var(--brand-light);
}
.staff-card-body {
  padding: 18px 20px 22px;
}
.staff-name {
  font-family: var(--font-head);
  font-size: 16px;
  font-weight: 800;
  color: var(--text-dark);
  margin-bottom: 4px;
}
.staff-role {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  color: white;
  background: var(--brand);
  padding: 3px 10px;
  border-radius: var(--radius-pill);
  letter-spacing: 0.3px;
  margin-bottom: 12px;
}
.staff-role.support-role {
  background: var(--accent-green);
  color: white;
}
.staff-role.admin-role {
  background: var(--accent-purple);
  color: white;
}
.staff-desc {
  font-size: 13px;
  color: var(--text-mid);
  line-height: 1.7;
}

@media (max-width: 900px) {
  .staff-grid { grid-template-columns: repeat(2, 1fr); }
  .staff-grid.support { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .staff-grid { grid-template-columns: repeat(2, 1fr); gap: 16px; }
  .staff-grid.support { grid-template-columns: repeat(2, 1fr); }
  .staff-card-body { padding: 14px 14px 18px; }
  .staff-name { font-size: 14px; }
  .staff-desc { font-size: 12px; }
}

/* ═══════════════════════════════════════════════
   WHATSAPP FLOATING BUTTON
═══════════════════════════════════════════════ */
.whatsapp-float {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 9999;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #25D366;
  color: white;
  border-radius: var(--radius-pill);
  padding: 13px 20px 13px 16px;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  font-family: var(--font-body);
  font-size: 14px;
  font-weight: 700;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.whatsapp-float:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(37,211,102,0.55);
  color: white;
}
.whatsapp-float svg {
  width: 22px; height: 22px;
  flex-shrink: 0;
}
@media (max-width: 600px) {
  .whatsapp-float span { display: none; }
  .whatsapp-float { padding: 14px; border-radius: 50%; bottom: 20px; right: 20px; }
}
