/* ============================================
   SPS INTERNATIONAL SCHOOL — Design Tokens
   ============================================ */
:root {
  --navy: #1B3A4B;
  --navy-deep: #122730;
  --gold: #E8A33D;
  --gold-soft: #F4C874;
  --ivory: #FAF6EE;
  --ivory-dim: #F1EADA;
  --ink: #1F2A2E;
  --sage: #7C9885;
  --sage-soft: #E4ECE4;
  --white: #FFFFFF;

  --font-display: "Newsreader", Georgia, serif;
  --font-body: "Manrope", -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --radius: 4px;
  --max-width: 1180px;
  --shadow-soft: 0 12px 32px rgba(27, 58, 75, 0.10);
}

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

html { scroll-behavior: smooth; }

/* Prevent sticky header + status banner from covering anchor-linked sections */
section[id], #principal-message, #our-team, #how-to-apply, #application-form {
  scroll-margin-top: 128px;
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  * { animation-duration: 0.01ms !important; animation-iteration-count: 1 !important; transition-duration: 0.01ms !important; }
}

body {
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

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

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

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-body);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}

.eyebrow::before {
  content: "";
  width: 22px;
  height: 2px;
  background: var(--gold);
  display: inline-block;
}

.section {
  padding: 96px 0;
}

.section-head {
  max-width: 620px;
  margin-bottom: 56px;
}

.section-head.center {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.section-head h2 {
  font-size: clamp(1.9rem, 3.2vw, 2.6rem);
}

.section-head p {
  color: #4A5A5F;
  font-size: 1.05rem;
  margin-top: 14px;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 30px;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  white-space: nowrap;
}

.btn:focus-visible {
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

.btn-primary {
  background: var(--gold);
  color: var(--navy-deep);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(232, 163, 61, 0.35);
}

.btn-outline {
  background: transparent;
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
}

.btn-outline:hover {
  background: rgba(255,255,255,0.12);
}

/* ===== Header ===== */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 246, 238, 0.92);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(27,58,75,0.08);
}

.nav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 0;
}

/* Header needs more horizontal room than the site's normal 1180px content
   container (logo + 8 nav links + Apply Now button won't fit in that width).
   This overrides max-width only for the header nav, leaving every other
   section's .container at the original 1180px untouched. */
.site-header .nav.container {
  max-width: 1400px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--navy-deep);
}

.brand-mark-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  flex-shrink: 0;
  object-fit: contain;
}

.brand small {
  display: block;
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.7rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--sage);
}

.nav-links {
  display: flex;
  gap: 22px;
  list-style: none;
}

.nav-links a {
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--navy);
  position: relative;
  padding: 4px 0;
  white-space: nowrap;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 2px;
  width: 0;
  background: var(--gold);
  transition: width 0.25s ease;
}

.nav-links a:hover::after { width: 100%; }

/* ===== Nav Dropdown ===== */
.has-dropdown { position: relative; }

.caret {
  display: inline-block;
  width: 6px; height: 6px;
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: rotate(45deg);
  margin-left: 4px;
  margin-bottom: 2px;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  padding-top: 10px;
  z-index: 50;
}

.dropdown-menu-inner {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
  min-width: 200px;
  padding: 8px;
  list-style: none;
}

.has-dropdown:hover .dropdown-menu,
.has-dropdown:focus-within .dropdown-menu {
  display: block;
}

.dropdown-menu-inner li a {
  display: block;
  padding: 9px 14px;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--navy);
  border-radius: 3px;
  white-space: nowrap;
}

.dropdown-menu-inner li a::after { display: none; }
.dropdown-menu-inner li a:hover { background: var(--ivory-dim); color: var(--navy-deep); }

.nav-cta { display: flex; align-items: center; gap: 16px; }

.nav-cta .btn-primary { padding: 10px 22px; font-size: 0.88rem; }

@media (max-width: 1400px) {
  .nav-links { gap: 16px; }
  .nav-links a { font-size: 0.86rem; }
  .nav-cta .btn-primary { padding: 8px 16px; font-size: 0.84rem; }
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.menu-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--navy-deep);
  margin: 5px 0;
  transition: 0.25s;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 92vh;
  display: flex;
  align-items: flex-start;
  background: linear-gradient(160deg, var(--navy-deep) 0%, var(--navy) 62%, #24506650 100%);
  color: var(--white);
  overflow: hidden;
  padding: 100px 0 60px;
}

.hero-bg {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
}

.hero-bg img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.55;
  animation: kenburns 11s ease-in-out infinite alternate;
}

.hero-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(18,39,48,0.88) 0%, rgba(27,58,75,0.78) 55%, rgba(27,58,75,0.5) 100%);
}

.scroll-cue {
  position: absolute;
  bottom: 28px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  color: rgba(255,255,255,0.6);
  font-size: 0.72rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.scroll-cue .chevron {
  width: 18px; height: 18px;
  border-right: 2px solid rgba(255,255,255,0.5);
  border-bottom: 2px solid rgba(255,255,255,0.5);
  transform: rotate(45deg);
  animation: scroll-bounce 1.8s ease-in-out infinite;
}

@keyframes scroll-bounce {
  0%, 100% { transform: rotate(45deg) translate(0,0); opacity: 0.5; }
  50% { transform: rotate(45deg) translate(4px,4px); opacity: 1; }
}

@media (prefers-reduced-motion: reduce) {
  .scroll-cue .chevron { animation: none; }
}

@keyframes kenburns {
  0% { transform: scale(1) translate(0, 0); }
  100% { transform: scale(1.2) translate(-2%, -2%); }
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg img { animation: none; }
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 15% 20%, rgba(232,163,61,0.10) 0, transparent 45%),
    radial-gradient(circle at 85% 80%, rgba(124,152,133,0.14) 0, transparent 50%);
  pointer-events: none;
}

.hero-grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 56px;
  align-items: center;
}

.hero-eyebrow {
  color: var(--gold-soft);
}
.hero-eyebrow::before { background: var(--gold-soft); }

.hero h1 {
  color: var(--white);
  font-size: clamp(2.3rem, 4.6vw, 3.6rem);
  max-width: 620px;
}

.hero h1 em {
  font-style: normal;
  color: var(--gold-soft);
}

.hero p {
  margin-top: 22px;
  font-size: 1.12rem;
  color: rgba(255,255,255,0.82);
  max-width: 500px;
}

.hero-actions {
  margin-top: 34px;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}

.hero-stats {
  margin-top: 52px;
  display: flex;
  gap: 40px;
  flex-wrap: wrap;
}

.hero-stat .num {
  font-family: var(--font-display);
  font-size: 2rem;
  font-weight: 700;
  color: var(--gold-soft);
}

.hero-stat .label {
  font-size: 0.82rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

/* Hero visual: petal growth motif */
.hero-visual {
  position: relative;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-visual svg { width: 100%; height: 100%; }

/* ===== About ===== */
.about-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 64px;
  align-items: center;
}

.about-media {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  aspect-ratio: 4/5;
  background: var(--sage-soft);
}

.about-media img { width: 100%; height: 100%; object-fit: cover; }

.about-badge {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: var(--white);
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-soft);
}

.about-badge .num {
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--navy);
}

.about-badge .label {
  font-size: 0.78rem;
  color: #6b7a7e;
}

.about-copy p {
  color: #465257;
  margin-bottom: 16px;
}

.value-list {
  list-style: none;
  margin-top: 28px;
  display: grid;
  gap: 16px;
}

.value-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.value-list .dot {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-top: 3px;
}

.value-list strong { display: block; color: var(--navy-deep); font-size: 0.98rem; }
.value-list span.desc { color: #5c6a6e; font-size: 0.9rem; }

/* ===== How to Apply ===== */
.apply-info-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  margin-bottom: 48px;
}

.apply-info-card {
  background: var(--white);
  border: 1px solid rgba(27,58,75,0.08);
  border-radius: var(--radius);
  padding: 30px 26px;
}

.apply-info-icon {
  width: 46px; height: 46px;
  border-radius: 50%;
  background: var(--ivory-dim);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 16px;
}

.apply-info-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.apply-info-card p { font-size: 0.9rem; color: #5c6a6e; }

.apply-doc-list {
  list-style: none;
  display: grid;
  gap: 8px;
  margin-bottom: 12px;
}

.apply-doc-list li {
  font-size: 0.88rem;
  color: #465257;
  padding-left: 20px;
  position: relative;
}

.apply-doc-list li::before {
  content: "✓";
  position: absolute;
  left: 0;
  color: var(--sage);
  font-weight: 700;
}

.apply-note {
  font-size: 0.8rem;
  color: #8a9498;
  font-style: italic;
}

.apply-timeline {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  background: var(--ivory-dim);
  border-radius: var(--radius);
  padding: 36px 30px;
}

.apply-timeline-step {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}

.apply-timeline-num {
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.apply-timeline-step strong { display: block; font-size: 0.92rem; color: var(--navy-deep); margin-bottom: 2px; }
.apply-timeline-step span { font-size: 0.82rem; color: #5c6a6e; }

.apply-cta-row {
  text-align: center;
  margin-top: 40px;
}

@media (max-width: 900px) {
  .apply-timeline { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 560px) {
  .apply-timeline { grid-template-columns: 1fr; }
}

/* ===== Impact Stats Strip ===== */
.stats-strip {
  background: var(--navy);
  padding: 42px 0;
}

.stats-strip-inner {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.stat-block {
  text-align: center;
  color: white;
  border-right: 1px solid rgba(255,255,255,0.14);
}

.stat-block:last-child { border-right: none; }

.stat-block .stat-value {
  font-family: var(--font-display);
  font-size: 2.2rem;
  font-weight: 700;
  color: var(--gold-soft);
}

.stat-block .stat-label {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.65);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-top: 4px;
}

@media (max-width: 720px) {
  .stats-strip-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .stat-block:nth-child(2) { border-right: none; }
  .stat-block { border-right: 1px solid rgba(255,255,255,0.14); }
}

/* ===== Scroll Reveal ===== */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

/* ===== Why Choose Us ===== */
.why-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(230px, 1fr));
  gap: 22px;
}

.why-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 26px;
  border: 1px solid rgba(27,58,75,0.08);
}

.why-card-feature {
  background: var(--navy-deep);
  color: white;
  border: none;
}

.why-card-feature h3, .why-card-feature p { color: white; }
.why-card-feature p { opacity: 0.8; }

.why-num {
  display: block;
  font-family: var(--font-display);
  font-size: 1.6rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 14px;
}

.why-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.why-card p { font-size: 0.9rem; color: #5c6a6e; }

/* ===== FAQ Accordion ===== */
.faq-list {
  max-width: 760px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border: 1px solid rgba(27,58,75,0.08);
  border-radius: var(--radius);
  overflow: hidden;
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 22px;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--navy-deep);
  font-family: var(--font-body);
}

.faq-icon {
  width: 20px; height: 20px;
  flex-shrink: 0;
  position: relative;
}

.faq-icon::before, .faq-icon::after {
  content: "";
  position: absolute;
  background: var(--navy);
  transition: transform 0.25s ease;
}

.faq-icon::before { width: 14px; height: 2px; top: 9px; left: 3px; }
.faq-icon::after { width: 2px; height: 14px; top: 3px; left: 9px; }

.faq-item.is-open .faq-icon::after { transform: rotate(90deg); }
.faq-item.is-open .faq-q { color: var(--gold); }
.faq-item.is-open .faq-icon::before,
.faq-item.is-open .faq-icon::after { background: var(--gold); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
}

.faq-a p {
  padding: 0 22px 20px;
  font-size: 0.9rem;
  color: #5c6a6e;
}

/* ===== Back to Top ===== */
.back-to-top {
  position: fixed;
  bottom: 24px;
  left: 24px;
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: var(--shadow-soft);
  z-index: 90;
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.back-to-top:hover { transform: translateY(-3px); }

/* ===== Gallery Tabs ===== */
.gallery-tabs {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-bottom: 36px;
  flex-wrap: wrap;
}

.tab-btn {
  background: var(--white);
  border: 1.5px solid rgba(27,58,75,0.14);
  color: var(--navy);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 11px 24px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tab-btn:hover { border-color: var(--gold); }

.tab-btn.active {
  background: var(--navy);
  border-color: var(--navy);
  color: var(--white);
}

/* ===== Leadership: Principal Card ===== */
.principal-card {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 28px;
  align-items: center;
  background: var(--navy-deep);
  color: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  margin-bottom: 40px;
}

.principal-avatar {
  width: 120px; height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gold);
  flex-shrink: 0;
}

.principal-quote {
  font-family: var(--font-display);
  font-size: 1.15rem;
  line-height: 1.55;
  color: rgba(255,255,255,0.92);
  font-style: italic;
  margin-bottom: 14px;
}

.principal-card strong { display: block; font-size: 1rem; }
.principal-card span.role { font-size: 0.85rem; color: var(--gold-soft); }

/* ===== Team Grid ===== */
.team-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 22px;
}

.team-card {
  background: var(--white);
  border: 1px solid rgba(27,58,75,0.08);
  border-radius: var(--radius);
  padding: 26px 24px;
  text-align: center;
}

.team-avatar {
  width: 96px; height: 96px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--sage-soft);
  margin: 0 auto 14px;
  display: block;
}

.team-card strong { display: block; font-size: 0.95rem; color: var(--navy-deep); }
.team-card .role { font-size: 0.8rem; color: var(--gold); font-weight: 700; margin-bottom: 8px; display: block; }
.team-card p { font-size: 0.85rem; color: #5c6a6e; }

/* ===== Facilities ===== */
.facility-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
}

.facility-card {
  background: var(--white);
  padding: 32px 26px;
  border-radius: var(--radius);
  border: 1px solid rgba(27,58,75,0.08);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.facility-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-soft);
}

.facility-icon {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--ivory-dim);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
  color: var(--navy);
}

.facility-card h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.facility-card p {
  color: #5c6a6e;
  font-size: 0.92rem;
}

.status-pill {
  font-size: 0.66rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  padding: 3px 10px;
  border-radius: 20px;
}

.status-pill.available { background: var(--sage-soft); color: #3d6b4a; }
.status-pill.developing { background: #FBE9CC; color: #9C6A17; }

/* ===== Growing With Purpose (roadmap) ===== */
.roadmap-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.roadmap-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  border-top: 4px solid var(--sage);
}

.roadmap-card.is-growing { border-top-color: var(--gold); }
.roadmap-card.is-future { border-top-color: var(--navy); }

.roadmap-tag {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--sage);
  margin-bottom: 10px;
}

.roadmap-card.is-growing .roadmap-tag { color: var(--gold); }
.roadmap-card.is-future .roadmap-tag { color: var(--navy); }

.roadmap-card h3 {
  font-size: 1.2rem;
  margin-bottom: 16px;
}

.roadmap-card ul {
  list-style: none;
  display: grid;
  gap: 10px;
}

.roadmap-card li {
  font-size: 0.92rem;
  color: #4A5A5F;
  padding-left: 20px;
  position: relative;
}

.roadmap-card li::before {
  content: "";
  position: absolute;
  left: 0; top: 8px;
  width: 6px; height: 6px;
  border-radius: 50%;
  background: var(--sage);
}

.roadmap-card.is-growing li::before { background: var(--gold); }
.roadmap-card.is-future li::before { background: var(--navy); }

/* ===== Video Gallery ===== */
.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
}

.video-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(27,58,75,0.08);
}

.video-card .video-embed {
  position: relative;
  width: 100%;
  aspect-ratio: 16/9;
}

.video-card .video-embed iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.video-card .video-title {
  padding: 14px 16px;
  font-weight: 700;
  font-size: 0.92rem;
  color: var(--navy-deep);
}

.channel-cta {
  text-align: center;
  margin-top: 24px;
}

.channel-cta .btn-outline {
  border-color: var(--navy);
  color: var(--navy);
}

/* ===== Campus Video Placeholder ===== */
.video-placeholder {
  max-width: 820px;
  margin: 0 auto;
  aspect-ratio: 16/9;
  border-radius: var(--radius);
  background: repeating-linear-gradient(135deg, var(--navy-deep), var(--navy-deep) 14px, #17303d 14px, #17303d 28px);
  border: 2px dashed rgba(232,163,61,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}

.video-placeholder-inner {
  text-align: center;
  color: var(--white);
  padding: 20px;
}

.play-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.video-placeholder-inner p { font-family: var(--font-display); font-size: 1.15rem; margin-bottom: 8px; }
.video-placeholder-inner span { font-size: 0.85rem; color: rgba(255,255,255,0.6); max-width: 380px; display: inline-block; }

/* ===== Live Status Banner ===== */
.status-banner {
  background: var(--sage);
  color: white;
  padding: 10px 0;
}

.status-banner.is-closed { background: #B4552F; }

.status-banner-inner {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.86rem;
  font-weight: 600;
}

.status-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: white;
  flex-shrink: 0;
  animation: pulse-dot 1.8s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.4; }
}

/* ===== WhatsApp Update CTA (within Notice Board) ===== */
.whatsapp-cta {
  margin-top: 32px;
  background: linear-gradient(135deg, #1F7A4C, #25D366);
  border-radius: var(--radius);
  padding: 26px 30px;
  display: flex;
  align-items: center;
  gap: 20px;
  color: white;
  flex-wrap: wrap;
}

.whatsapp-cta-icon {
  width: 48px; height: 48px;
  border-radius: 50%;
  background: rgba(255,255,255,0.18);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.whatsapp-cta strong { display: block; font-size: 1.05rem; margin-bottom: 4px; }
.whatsapp-cta p { font-size: 0.88rem; opacity: 0.9; }
.whatsapp-cta > div { flex: 1; min-width: 200px; }
.whatsapp-cta .btn-primary { background: white; color: #1F7A4C; flex-shrink: 0; }
.whatsapp-cta .btn-primary:hover { box-shadow: 0 10px 24px rgba(0,0,0,0.2); }

/* ===== Achievements ===== */
.achievements-block {
  margin-top: 48px;
}

.achievements-title {
  text-align: center;
  font-size: 1.2rem;
  margin-bottom: 24px;
}

.achievements-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 18px;
}

.achievement-card {
  background: var(--white);
  border: 1px dashed rgba(27,58,75,0.2);
  border-radius: var(--radius);
  padding: 22px;
  text-align: center;
  color: #8a9498;
}

.achievement-card strong {
  display: block;
  color: var(--navy-deep);
  font-family: var(--font-display);
  font-size: 0.98rem;
  margin-bottom: 6px;
}

.achievement-card span { font-size: 0.82rem; }

/* ===== Testimonials empty state ===== */
.testimonial-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 40px 20px;
  background: var(--white);
  border: 1px dashed rgba(27,58,75,0.2);
  border-radius: var(--radius);
  color: #5c6a6e;
}

.testimonial-empty strong { display: block; color: var(--navy-deep); margin-bottom: 6px; font-family: var(--font-display); font-size: 1.1rem; }

/* ===== Growth Path (signature element) ===== */
.growth-section {
  background: var(--navy-deep);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

.growth-section .section-head h2 { color: var(--white); }
.growth-section .section-head p { color: rgba(255,255,255,0.68); }

.growth-path {
  position: relative;
  display: flex;
  overflow-x: auto;
  gap: 0;
  padding-bottom: 20px;
  scrollbar-width: thin;
}

.growth-step {
  flex: 0 0 auto;
  width: 168px;
  text-align: center;
  position: relative;
  padding-top: 8px;
}

.growth-step .petal {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 50% 50% 50% 4px;
  background: linear-gradient(140deg, var(--gold-soft), var(--gold));
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-deep);
  font-size: 0.85rem;
  position: relative;
  z-index: 2;
}

.growth-step .stage {
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.growth-step .age {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.55);
}

.growth-connector {
  position: absolute;
  top: 35px;
  left: 50%;
  width: 100%;
  height: 2px;
  background: repeating-linear-gradient(90deg, rgba(232,163,61,0.5) 0 6px, transparent 6px 12px);
  z-index: 1;
}

.growth-step:last-child .growth-connector { display: none; }

/* ===== Notice Board ===== */
.notice-board {
  display: grid;
  gap: 14px;
}

.notice-item {
  display: grid;
  grid-template-columns: 90px 1fr auto;
  gap: 20px;
  align-items: center;
  background: var(--white);
  border: 1px solid rgba(27,58,75,0.08);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 18px 22px;
}

.notice-date {
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy);
  font-size: 0.95rem;
  text-align: center;
  line-height: 1.2;
}

.notice-date .day { font-size: 1.3rem; display: block; }
.notice-date .mon { font-size: 0.72rem; text-transform: uppercase; color: var(--sage); }

.notice-title { font-weight: 700; color: var(--navy-deep); font-size: 0.98rem; }
.notice-desc { color: #5c6a6e; font-size: 0.88rem; margin-top: 2px; }

.notice-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  padding: 5px 12px;
  border-radius: 20px;
  background: var(--sage-soft);
  color: var(--sage);
  white-space: nowrap;
}

.notice-tag.urgent { background: #FBE4D9; color: #B4552F; }

.notice-loading { color: #8a9498; font-size: 0.9rem; padding: 20px 0; }

/* ===== Gallery ===== */
/* ===== Gallery: Auto-scrolling strip ===== */
.gallery-grid {
  overflow: hidden;
  position: relative;
  -webkit-mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
  mask-image: linear-gradient(90deg, transparent, black 5%, black 95%, transparent);
}

.gallery-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: gallery-scroll 45s linear infinite;
}

.gallery-track:hover {
  animation-play-state: paused;
}

.gallery-track a {
  flex-shrink: 0;
  display: block;
  border-radius: var(--radius);
  overflow: hidden;
}

.gallery-track img {
  height: 240px;
  width: auto;
  display: block;
  object-fit: cover;
  border-radius: var(--radius);
  transition: transform 0.4s ease;
}

.gallery-track a:hover img {
  transform: scale(1.05);
}

@keyframes gallery-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

@media (prefers-reduced-motion: reduce) {
  .gallery-track { animation: none; overflow-x: auto; }
}

@media (max-width: 720px) {
  .gallery-track img { height: 160px; }
}

/* ===== Testimonials ===== */
.testimonial-track {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 30px 28px;
  border: 1px solid rgba(27,58,75,0.08);
}

.testimonial-card .quote-mark {
  font-family: var(--font-display);
  font-size: 2.6rem;
  color: var(--gold);
  line-height: 1;
  display: block;
  margin-bottom: 10px;
}

.testimonial-card p.quote {
  color: #465257;
  font-size: 0.95rem;
  margin-bottom: 20px;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--sage-soft);
  color: var(--sage);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-family: var(--font-display);
}

.testimonial-author strong { display: block; font-size: 0.92rem; color: var(--navy-deep); }
.testimonial-author span { font-size: 0.8rem; color: #7a8589; }

/* ===== Admission Form ===== */
.admission-section {
  background: var(--ivory-dim);
}

.admission-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 56px;
}

.admission-info h2 { font-size: clamp(1.8rem, 3vw, 2.4rem); margin-bottom: 16px; }
.admission-info p { color: #4A5A5F; margin-bottom: 24px; }

.admission-steps { list-style: none; display: grid; gap: 18px; }
.admission-steps li { display: flex; gap: 14px; }

.admission-steps .step-num {
  width: 30px; height: 30px;
  border-radius: 50%;
  background: var(--navy);
  color: var(--gold-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}

.admission-steps strong { display: block; font-size: 0.95rem; color: var(--navy-deep); }
.admission-steps span { font-size: 0.86rem; color: #5c6a6e; }

.form-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px;
  box-shadow: var(--shadow-soft);
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-bottom: 18px;
}

.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group.full { grid-column: 1 / -1; }

.form-group label {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--navy-deep);
}

.form-group input,
.form-group select,
.form-group textarea {
  border: 1.5px solid #DCE3DC;
  border-radius: var(--radius);
  padding: 12px 14px;
  font-family: var(--font-body);
  font-size: 0.94rem;
  color: var(--ink);
  background: var(--ivory);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
}

.form-note {
  font-size: 0.8rem;
  color: #7a8589;
  margin-top: 14px;
}

.form-success {
  display: none;
  background: var(--sage-soft);
  color: #2d4a35;
  padding: 16px 18px;
  border-radius: var(--radius);
  font-size: 0.9rem;
  margin-bottom: 18px;
}

.form-success.show { display: block; }

/* ===== Contact ===== */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.contact-card {
  background: var(--white);
  border: 1px solid rgba(27,58,75,0.08);
  border-radius: var(--radius);
  padding: 30px;
}

.contact-item {
  display: flex;
  gap: 16px;
  padding: 16px 0;
  border-bottom: 1px solid var(--ivory-dim);
}

.contact-item:last-child { border-bottom: none; }

.contact-item .icon {
  width: 40px; height: 40px;
  border-radius: 50%;
  background: var(--ivory-dim);
  color: var(--navy);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}

.contact-item strong { display: block; font-size: 0.88rem; color: var(--navy-deep); }
.contact-item span { font-size: 0.9rem; color: #5c6a6e; }

.map-embed {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid rgba(27,58,75,0.08);
  min-height: 320px;
}

.map-placeholder-tag {
  position: absolute;
  top: 10px; left: 10px;
  z-index: 5;
  background: #B4552F;
  color: white;
  font-size: 0.7rem;
  font-weight: 700;
  padding: 5px 12px;
  border-radius: 20px;
}

.map-embed iframe { width: 100%; height: 100%; min-height: 320px; border: 0; }

.map-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 20px;
}

.map-actions .btn { font-size: 0.85rem; padding: 11px 20px; }

/* ===== Footer ===== */
.site-footer {
  background: var(--navy-deep);
  color: rgba(255,255,255,0.75);
  padding: 64px 0 28px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.1fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}

.footer-brand .brand { color: var(--white); }
.footer-brand p { margin-top: 14px; font-size: 0.88rem; color: rgba(255,255,255,0.6); max-width: 280px; }

.footer-col h4 {
  color: var(--white);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 18px;
  font-family: var(--font-body);
}

.footer-col ul { list-style: none; display: grid; gap: 10px; }
.footer-col a { font-size: 0.9rem; color: rgba(255,255,255,0.65); }
.footer-col a:hover { color: var(--gold-soft); }

.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 36px; height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.75);
}
.footer-social a:hover { border-color: var(--gold-soft); color: var(--gold-soft); background: rgba(255,255,255,0.06); }

.footer-bottom {
  padding-top: 24px;
  display: flex;
  justify-content: space-between;
  font-size: 0.82rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 10px;
}

/* ===== WhatsApp Float ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25D366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(37,211,102,0.4);
  z-index: 90;
  transition: transform 0.2s ease;
}
.whatsapp-float:hover { transform: scale(1.08); }

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 320px; margin: 0 auto; }
  .about-grid, .admission-grid, .contact-grid { grid-template-columns: 1fr; }
  .testimonial-track { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .roadmap-grid { grid-template-columns: 1fr; }
}

@media (max-width: 1250px) {
  .nav-links, .nav-cta .has-dropdown { display: none; }
  .menu-toggle { display: block; }
  .section { padding: 64px 0; }
  .form-row { grid-template-columns: 1fr; }
  .testimonial-track { grid-template-columns: 1fr; }
  .notice-item { grid-template-columns: 60px 1fr; }
  .notice-tag { grid-column: 1 / -1; justify-self: start; }
  .footer-grid { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; }
  .principal-card { grid-template-columns: 1fr; text-align: center; padding: 30px 24px; }
  .principal-avatar { margin: 0 auto; }
  .whatsapp-cta { flex-direction: column; text-align: center; }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: var(--ivory);
    flex-direction: column;
    padding: 20px 28px;
    gap: 18px;
    border-bottom: 1px solid rgba(27,58,75,0.08);
    max-height: 80vh;
    overflow-y: auto;
  }

  .nav-links.open .dropdown-menu {
    display: block;
    position: static;
    padding-top: 0;
  }

  .nav-links.open .dropdown-menu-inner {
    box-shadow: none;
    background: transparent;
    padding: 0 0 0 14px;
    margin-top: 8px;
  }

  .nav-links.open .dropdown-menu-inner li a { padding: 8px 0; }
}
