:root {
  --brand: #00306e;
  --brand-deep: #001f49;
  --accent: #d2093c;
  --accent-soft: #fff1f4;
  --ink: #0f1d33;
  --muted: #5f6f86;
  --line: #dfe8f4;
  --soft: #f4f8ff;
  --white: #ffffff;
  --shadow: 0 18px 45px rgba(0, 48, 110, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  line-height: 1.6;
  background: var(--white);
}

h1,
h2,
h3,
.brand,
.nav-links,
.button {
  font-weight: 750;
}

body::selection {
  color: var(--white);
  background: var(--accent);
}

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

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

.container {
  width: min(1120px, calc(100% - 32px));
  margin-inline: auto;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 50;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 999px;
  color: var(--white);
  background: #25d366;
  font-weight: 850;
  box-shadow: 0 16px 32px rgba(37, 211, 102, 0.32);
}

.event-list,
.faq-list {
  display: grid;
  gap: 18px;
}

.event-card--wide,
.news-card,
.faq-list details {
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 48, 110, 0.06);
}

.news-card p {
  color: var(--muted);
}

.faq-list summary {
  color: var(--brand-deep);
  font-weight: 800;
  cursor: pointer;
}

.faq-list p {
  margin-bottom: 0;
  color: var(--muted);
}

.testimonial-grid,
.blog-grid,
.resource-grid,
.cms-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.testimonial-card,
.blog-card,
.resource-card,
.cms-card,
.not-found-card {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow-soft);
}

.testimonial-card p,
.blog-card p,
.resource-card p,
.cms-card p {
  color: var(--muted);
}

.testimonial-card strong,
.blog-card h3,
.resource-card h3,
.cms-card h3 {
  color: var(--brand-deep);
}

.blog-meta,
.resource-meta {
  color: var(--brand);
  font-weight: 800;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.admission-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 18px;
}

.button--ghost-light {
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.7);
  background: transparent;
}

.not-found {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 40px 18px;
  background: linear-gradient(135deg, var(--brand-deep), #071f45);
}

.not-found-card {
  max-width: 720px;
  text-align: center;
}

.not-found-card img {
  width: 86px;
  height: 86px;
  object-fit: contain;
}

.submit-result {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 24px;
  background: var(--soft);
}

.submit-result__card {
  max-width: 520px;
  padding: 36px;
  border-radius: 8px;
  text-align: center;
  background: var(--white);
  box-shadow: var(--shadow);
}

.submit-result__card img {
  width: 120px;
  margin: 0 auto 20px;
}

.topbar {
  background: var(--brand-deep);
  color: var(--white);
  font-size: 0.92rem;
}

.topbar__inner {
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.topbar a,
.contact-list a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}

.icon {
  width: 1.05em;
  height: 1.05em;
  flex: 0 0 auto;
  fill: currentColor;
}

.sprite {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  background: rgba(255, 255, 255, 0.96);
  box-shadow: 0 1px 0 var(--line);
  backdrop-filter: blur(14px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand,
.footer-brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-weight: 750;
  letter-spacing: 0;
}

.brand img,
.footer-brand img {
  width: 64px;
  height: 64px;
  object-fit: contain;
  border-radius: 8px;
  background: var(--white);
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 22px;
  color: #1a2d4a;
  font-weight: 650;
  font-size: 0.95rem;
}

.nav-links a:not(.button):hover,
.nav-dropdown__toggle:hover,
.text-link:hover,
.site-footer a:hover {
  color: var(--brand);
}

.nav-dropdown {
  position: relative;
}

.nav-dropdown__toggle {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  font: inherit;
  font-weight: 700;
  cursor: pointer;
}

.nav-dropdown__toggle::after {
  content: "▾";
  margin-left: 6px;
  font-size: 0.78em;
}

.nav-dropdown__menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  min-width: 210px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
  opacity: 0;
  visibility: hidden;
  transform: translate(-50%, 8px);
  transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
}

.nav-dropdown:hover .nav-dropdown__menu,
.nav-dropdown:focus-within .nav-dropdown__menu,
.nav-dropdown.is-open .nav-dropdown__menu {
  opacity: 1;
  visibility: visible;
  transform: translate(-50%, 0);
}

.nav-dropdown__menu a {
  display: block;
  padding: 10px 12px;
  border-radius: 8px;
  margin: 0;
}

.nav-dropdown__menu a:hover {
  background: var(--soft);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  padding: 10px;
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--brand-deep);
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border-radius: 8px;
  background: var(--accent);
  color: var(--white);
  font-weight: 750;
  box-shadow: 0 12px 26px rgba(210, 9, 60, 0.18);
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 18px 34px rgba(210, 9, 60, 0.25);
}

.button--small {
  min-height: 42px;
  padding-inline: 16px;
}

.button--ghost {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
  border: 1px solid rgba(255, 255, 255, 0.42);
  box-shadow: none;
}

.button--light {
  background: var(--white);
  color: var(--brand-deep);
  box-shadow: none;
}

.hero {
  position: relative;
  min-height: 680px;
  color: var(--white);
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  display: grid;
  align-items: center;
  min-height: 680px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 700ms ease, visibility 700ms ease;
}

.hero-slide.is-active {
  opacity: 1;
  visibility: visible;
}

.hero-slide > img,
.hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-slide > img {
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 4s ease;
}

.hero-slide.is-active > img {
  transform: scale(1);
}

.hero__overlay {
  background: linear-gradient(90deg, rgba(0, 31, 73, 0.9), rgba(0, 48, 110, 0.64) 52%, rgba(210, 9, 60, 0.18));
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 1120px;
}

.hero h1 {
  max-width: 760px;
  margin: 10px 0 18px;
  font-size: clamp(2.25rem, 5.2vw, 4.7rem);
  line-height: 1.04;
}

.hero p {
  max-width: 650px;
  font-size: 1.2rem;
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.hero-controls {
  position: absolute;
  z-index: 2;
  left: 50%;
  bottom: 30px;
  display: flex;
  align-items: center;
  gap: 18px;
  transform: translateX(-50%);
}

.hero-arrow,
.hero-dots button {
  border: 0;
  cursor: pointer;
  transition: transform 180ms ease, background 180ms ease;
}

.hero-arrow {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  color: var(--white);
  background: rgba(210, 9, 60, 0.94);
  font-size: 2rem;
  line-height: 1;
}

.hero-arrow:hover,
.hero-dots button:hover {
  transform: translateY(-2px);
}

.hero-dots {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  backdrop-filter: blur(10px);
}

.hero-dots button {
  width: 11px;
  height: 11px;
  padding: 0;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.72);
}

.hero-dots button.is-active {
  width: 30px;
  border-radius: 999px;
  background: var(--accent);
}

.section {
  padding: 88px 0;
}

.promise-strip {
  background: var(--brand-deep);
  color: var(--white);
}

.promise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.14);
}

.promise-grid article {
  min-height: 230px;
  padding: 32px;
  background: var(--brand-deep);
}

.promise-grid span {
  color: var(--accent);
  font-weight: 900;
}

.promise-grid h2 {
  margin-top: 18px;
  font-size: clamp(1.45rem, 2vw, 2rem);
  line-height: 1.16;
}

.promise-grid p {
  color: rgba(255, 255, 255, 0.78);
}

.section--soft {
  background: var(--soft);
}

.section--dark {
  background: var(--brand-deep);
  color: var(--white);
}

.section--brand {
  background: var(--brand);
  color: var(--white);
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--brand);
  font-size: 0.8rem;
  font-weight: 760;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.section--dark .eyebrow,
.section--brand .eyebrow,
.hero .eyebrow {
  color: var(--accent);
}

.hero .eyebrow {
  color: var(--white);
}

h1,
h2,
h3,
p {
  overflow-wrap: break-word;
}

h2 {
  margin: 0 0 18px;
  font-size: clamp(1.85rem, 3.3vw, 3rem);
  line-height: 1.12;
}

h3 {
  margin: 0 0 10px;
  font-size: 1.25rem;
  line-height: 1.25;
}

.lead {
  font-size: 1.15rem;
  color: #253d61;
  font-weight: 650;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1.02fr 0.98fr;
  gap: 54px;
  align-items: center;
}

.intro__media img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: var(--shadow);
}

.text-link {
  display: inline-flex;
  margin-top: 10px;
  color: var(--brand-deep);
  font-weight: 900;
  transition: color 180ms ease, transform 180ms ease;
}

.text-link:hover {
  transform: translateX(4px);
}

.text-link--spaced {
  margin-left: 18px;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head--split {
  max-width: none;
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
}

.section-head--actions-only {
  justify-content: flex-end;
}

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.feature-card {
  min-height: 250px;
  padding: 26px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.feature-card:hover,
.class-grid article:hover {
  transform: translateY(-6px);
  border-color: rgba(210, 9, 60, 0.22);
  box-shadow: var(--shadow);
}

.feature-icon {
  display: block;
  width: 52px;
  height: 52px;
  margin-bottom: 22px;
  padding: 10px;
  border-radius: 8px;
  color: var(--brand);
  fill: currentColor;
  background: var(--soft);
  box-shadow: inset 0 0 0 1px rgba(0, 48, 110, 0.12);
}

.feature-card p,
.class-grid p,
.site-footer p,
.contact-list,
.event-card p {
  color: var(--muted);
}

.class-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}

.class-grid article {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease;
}

.class-grid img {
  width: 100%;
  aspect-ratio: 1.15 / 1;
  object-fit: cover;
  transition: transform 500ms ease;
}

.class-grid article:hover img {
  transform: scale(1.05);
}

.stats-band {
  padding: 34px 0;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(255, 255, 255, 0.16);
}

.stats-grid div {
  min-height: 136px;
  display: grid;
  align-content: center;
  padding: 28px;
  background: rgba(0, 31, 73, 0.32);
}

.stats-grid strong {
  display: block;
  color: var(--white);
  font-size: clamp(2rem, 4vw, 3.5rem);
  line-height: 1;
}

.stats-grid span {
  margin-top: 8px;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 750;
}

.class-grid article div {
  padding: 22px;
}

.anthem__grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 48px;
}

.anthem__lyrics {
  padding: 34px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.06);
}

.quote-section {
  position: relative;
  overflow: hidden;
  padding: 78px 0;
  background:
    radial-gradient(circle at 12% 20%, rgba(210, 9, 60, 0.12), transparent 30%),
    linear-gradient(135deg, #f7fbff, #fff3f6);
}

.quote-section blockquote {
  position: relative;
  max-width: 980px;
  margin: 0;
  padding: 34px 38px 34px 76px;
  border: 1px solid rgba(210, 9, 60, 0.18);
  border-left: 6px solid var(--accent);
  border-radius: 8px;
  color: var(--brand-deep);
  font-size: clamp(1.45rem, 3vw, 2.45rem);
  font-weight: 620;
  line-height: 1.25;
  background: rgba(255, 255, 255, 0.78);
  box-shadow: var(--shadow-soft);
}

.quote-section blockquote::before {
  content: "\201C";
  position: absolute;
  top: 16px;
  left: 24px;
  color: var(--accent);
  font-family: Georgia, serif;
  font-size: 5rem;
  line-height: 1;
}

.class-readmore {
  display: inline-flex;
  margin-top: 14px;
  color: var(--brand);
  font-weight: 760;
}

.class-readmore:hover {
  color: var(--accent);
}

.event-grid {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 32px;
  align-items: center;
}

.event-card {
  display: grid;
  grid-template-columns: 132px 1fr;
  gap: 26px;
  padding: 28px;
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.event-date {
  min-height: 132px;
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 8px;
  background: var(--brand);
  color: var(--white);
}

.event-date span {
  display: block;
  font-size: 3.2rem;
  line-height: 1;
  font-weight: 900;
}

.event-date small {
  display: block;
  font-weight: 800;
}

.event-time {
  margin-top: 0;
  font-weight: 800;
}

.gallery-grid {
  column-count: 4;
  column-gap: 16px;
}

.gallery-preview-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: 210px;
  gap: 14px;
}

.gallery-preview-grid img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 14px 32px rgba(0, 48, 110, 0.08);
}

.gallery-preview-grid img:first-child {
  grid-row: span 2;
}

.gallery-preview-button {
  margin-top: 24px;
}

.gallery-toolbar {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin: -12px 0 28px;
}

.gallery-toolbar span {
  padding: 8px 12px;
  border-radius: 999px;
  color: var(--brand);
  background: var(--soft);
  font-weight: 850;
  font-size: 0.9rem;
}

.gallery-item {
  position: relative;
  display: block;
  break-inside: avoid;
  margin: 0 0 16px;
  overflow: hidden;
  border-radius: 8px;
  background: var(--soft);
  box-shadow: 0 14px 32px rgba(0, 48, 110, 0.08);
  content-visibility: auto;
  contain-intrinsic-size: 280px 220px;
}

.gallery-item::after {
  content: "View";
  position: absolute;
  right: 12px;
  bottom: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  color: var(--white);
  background: rgba(210, 9, 60, 0.92);
  font-size: 0.78rem;
  font-weight: 900;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 220ms ease, transform 220ms ease;
}

.gallery-item img {
  width: 100%;
  min-height: 180px;
  max-height: 420px;
  object-fit: cover;
  transition: transform 260ms ease, filter 260ms ease;
}

.gallery-item:hover img {
  transform: scale(1.025);
  filter: saturate(1.12) contrast(1.03);
}

.gallery-item:hover::after {
  opacity: 1;
  transform: translateY(0);
}

.gallery-load {
  display: grid;
  place-items: center;
  gap: 10px;
  margin-top: 28px;
  text-align: center;
}

.gallery-load p {
  min-height: 1.4em;
  margin: 0;
  color: var(--muted);
  font-weight: 800;
}

.lightbox[hidden] {
  display: none;
}

.lightbox {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  grid-template-rows: auto 1fr;
  padding: 16px;
  background: rgba(0, 15, 35, 0.94);
}

.is-lightbox-open {
  overflow: hidden;
}

.lightbox__bar {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  margin-bottom: 12px;
}

.lightbox__button {
  min-height: 42px;
  border: 0;
  border-radius: 8px;
  padding: 0 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  background: var(--accent);
  font: inherit;
  font-weight: 900;
  cursor: pointer;
}

.lightbox__stage {
  min-height: 0;
  display: grid;
  place-items: center;
  overflow: hidden;
  border-radius: 8px;
  touch-action: none;
  cursor: grab;
}

.lightbox__stage img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  transition: transform 120ms ease;
  user-select: none;
}

.page-hero {
  position: relative;
  min-height: 520px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: var(--white);
}

.page-hero > img,
.page-hero__overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.page-hero > img {
  object-fit: cover;
}

.page-hero__overlay {
  background: linear-gradient(90deg, rgba(0, 31, 73, 0.92), rgba(0, 48, 110, 0.64), rgba(210, 9, 60, 0.16));
}

.page-hero__content {
  position: relative;
  z-index: 1;
}

.page-hero h1 {
  max-width: 820px;
  margin: 10px 0 18px;
  font-size: clamp(2.2rem, 5vw, 4.2rem);
  line-height: 1.06;
}

.page-hero p:not(.eyebrow) {
  max-width: 720px;
  font-size: 1.15rem;
}

.about-story__grid,
.about-feature__grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 54px;
  align-items: center;
}

.about-card {
  min-height: 420px;
  display: grid;
  align-content: end;
  padding: 28px;
  border-radius: 8px;
  background: linear-gradient(180deg, var(--white), var(--soft));
  box-shadow: var(--shadow);
}

.about-card img {
  width: min(360px, 100%);
  margin: 0 auto 28px;
}

.about-card strong {
  color: var(--brand);
  font-size: 1.45rem;
  line-height: 1.2;
}

.about-card span {
  margin-top: 8px;
  color: var(--muted);
}

.mission-grid,
.values-grid {
  display: grid;
  gap: 18px;
}

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

.mission-grid article,
.values-grid article {
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 48, 110, 0.06);
}

.mission-grid h2 {
  font-size: clamp(1.55rem, 2.6vw, 2.2rem);
}

.values-layout {
  display: grid;
  grid-template-columns: 0.82fr 1.18fr;
  gap: 42px;
}

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

.values-grid span {
  display: inline-grid;
  place-items: center;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  color: var(--white);
  background: var(--accent);
  font-weight: 900;
}

.about-feature__grid img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: 8px;
}

.about-feature__grid p {
  color: rgba(255, 255, 255, 0.78);
}

.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.team-card {
  position: relative;
  overflow: hidden;
  min-height: 340px;
  border-radius: 8px;
  background: var(--brand-deep);
  box-shadow: var(--shadow);
}

.team-card img {
  width: 100%;
  height: 100%;
  min-height: 340px;
  object-fit: cover;
  opacity: 0.9;
  transition: transform 500ms ease, opacity 220ms ease;
}

.team-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 35%, rgba(0, 31, 73, 0.92));
}

.team-card div {
  position: absolute;
  z-index: 1;
  left: 22px;
  right: 22px;
  bottom: 20px;
  color: var(--white);
}

.team-card h3 {
  margin-bottom: 4px;
}

.team-card p {
  margin: 0;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

.team-card:hover img {
  opacity: 1;
  transform: scale(1.05);
}

.team-card--lead {
  background: var(--white);
}

.team-card--lead img {
  object-fit: contain;
  padding: 28px;
  background: var(--white);
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.contact-card {
  min-height: 210px;
  display: grid;
  align-content: start;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 48, 110, 0.06);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.contact-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
}

.contact-card span {
  color: var(--accent);
  font-weight: 900;
}

.contact-card strong {
  margin-top: 8px;
  color: var(--brand-deep);
  font-size: 1.12rem;
  line-height: 1.35;
}

.contact-lines {
  display: grid;
  gap: 6px;
  margin-top: 10px;
}

.contact-lines small {
  margin-top: 8px;
  color: var(--muted);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.contact-lines a,
.contact-lines strong {
  color: var(--brand-deep);
  font-size: 1rem;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.contact-lines a:hover {
  color: var(--accent);
}

.contact-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: start;
}

.class-page-grid {
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 42px;
  align-items: start;
}

.class-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 320px;
  gap: 42px;
  align-items: start;
}

.class-main {
  display: grid;
  gap: 20px;
}

.class-section {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 48, 110, 0.05);
}

.class-section h3 {
  color: var(--brand);
}

.class-section ul,
.class-sidebar ul {
  display: grid;
  gap: 10px;
  margin-bottom: 0;
  padding-left: 20px;
}

.class-sidebar {
  position: sticky;
  top: 126px;
  padding: 28px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: var(--shadow);
}

.class-sidebar ul {
  margin: 18px 0 24px;
}

.class-sidebar li {
  color: rgba(255, 255, 255, 0.82);
}

.class-detail-card {
  padding: 30px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--soft);
  box-shadow: var(--shadow);
}

.class-detail-card ul {
  display: grid;
  gap: 12px;
  padding-left: 20px;
  margin-bottom: 0;
}

.class-detail-card li {
  color: var(--muted);
  font-weight: 750;
}

.admission-form-shell {
  max-width: 1040px;
}

.admission-form {
  display: grid;
  gap: 22px;
}

.admission-form__intro {
  padding: 30px;
  border-radius: 8px;
  color: var(--white);
  background: linear-gradient(135deg, var(--brand), var(--brand-deep));
  box-shadow: var(--shadow);
}

.admission-form__intro span {
  color: rgba(255, 255, 255, 0.74);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.admission-form__intro h2 {
  margin-top: 8px;
}

.admission-form__intro p {
  max-width: 680px;
  margin-bottom: 0;
  color: rgba(255, 255, 255, 0.78);
}

.admission-form fieldset {
  margin: 0;
  padding: 32px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: 0 12px 30px rgba(0, 48, 110, 0.06);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.admission-form fieldset:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow);
}

.admission-form legend {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  color: var(--brand);
  font-size: 1.25rem;
  font-weight: 760;
}

.section-head h2,
.about-story h2,
.about-feature h2,
.values-layout h2,
.admission-form__intro h2 {
  font-weight: 720;
}

.admission-form legend span {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  color: var(--white);
  background: var(--accent);
  font-size: 0.9rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-grid label,
.admission-form label {
  display: grid;
  gap: 7px;
  color: var(--brand-deep);
  font-weight: 850;
}

.form-span {
  grid-column: 1 / -1;
}

.admission-form input,
.admission-form select,
.admission-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  outline: 0;
  background: var(--soft);
}

.admission-form textarea {
  resize: vertical;
}

.admission-form input:focus,
.admission-form select:focus,
.admission-form textarea:focus {
  border-color: rgba(210, 9, 60, 0.6);
  box-shadow: 0 0 0 4px rgba(210, 9, 60, 0.1);
}

.form-actions {
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}

.contact-form-panel,
.contact-info-panel {
  padding: 34px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--white);
  box-shadow: var(--shadow);
}

.contact-form {
  display: grid;
  gap: 12px;
}

.contact-form label {
  color: var(--brand-deep);
  font-weight: 850;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 13px 14px;
  color: var(--ink);
  font: inherit;
  outline: 0;
  background: var(--soft);
}

.contact-form textarea {
  resize: vertical;
}

.contact-form input:focus,
.contact-form textarea:focus {
  border-color: rgba(210, 9, 60, 0.6);
  box-shadow: 0 0 0 4px rgba(210, 9, 60, 0.1);
}

.form-status {
  min-height: 1.4em;
  margin: 0;
  color: var(--brand);
  font-weight: 850;
}

.map-card {
  min-height: 280px;
  display: grid;
  place-items: center;
  margin: 28px 0;
  border-radius: 8px;
  color: var(--white);
  background:
    linear-gradient(135deg, rgba(0, 31, 73, 0.88), rgba(210, 9, 60, 0.6)),
    repeating-linear-gradient(45deg, rgba(255, 255, 255, 0.12) 0 2px, transparent 2px 18px);
}

.map-card--embed {
  overflow: hidden;
  display: block;
  background: var(--soft);
}

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

.map-card div {
  display: grid;
  place-items: center;
  gap: 8px;
  text-align: center;
}

.map-card .icon {
  width: 48px;
  height: 48px;
}

.map-card span {
  color: rgba(255, 255, 255, 0.78);
}

.contact-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

.button--blue {
  background: var(--brand);
  border-color: var(--brand);
}

.admission__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 28px;
}

.admission__inner h2 {
  max-width: 720px;
}

.site-footer {
  position: relative;
  overflow: hidden;
  padding: 74px 0 22px;
  color: rgba(255, 255, 255, 0.82);
  background: #001f49;
}

.site-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 12% 18%, rgba(210, 9, 60, 0.18), transparent 28%),
    radial-gradient(circle at 88% 72%, rgba(0, 48, 110, 0.55), transparent 32%);
  pointer-events: none;
}

.footer-shell {
  position: relative;
  z-index: 1;
}

.footer-shell {
  padding-top: 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.8fr 0.82fr 1.2fr;
  gap: 34px;
}

.site-footer h3,
.footer-brand {
  color: var(--white);
}

.site-footer h3 {
  margin-top: 0;
}

.site-footer a {
  display: block;
  margin-bottom: 10px;
  transition: color 180ms ease, transform 180ms ease;
}

.site-footer a:hover {
  transform: translateX(4px);
}

.footer-about,
.footer-panel {
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  backdrop-filter: none;
}

.footer-about {
  min-height: 100%;
}

.footer-call {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding: 12px 16px;
  border-radius: 8px;
  color: var(--white);
  background: var(--accent);
  font-weight: 900;
}

.site-footer .contact-list a {
  display: inline-flex;
}

.contact-list {
  padding: 0;
  margin: 22px 0 0;
  list-style: none;
}

.newsletter {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px;
  margin-top: 16px;
  padding: 12px;
  border-radius: 8px;
  overflow: visible;
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.14);
}

.newsletter__intro {
  grid-column: 1 / -1;
  display: grid;
  gap: 2px;
}

.newsletter__intro strong {
  color: var(--white);
  font-size: 0.95rem;
}

.newsletter__intro span,
.newsletter label {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.82rem;
}

.newsletter label {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.newsletter input {
  width: 100%;
  min-height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 8px;
  padding: 0 14px;
  color: var(--white);
  font: inherit;
  outline: 0;
  background: rgba(255, 255, 255, 0.08);
}

.newsletter input::placeholder {
  color: rgba(255, 255, 255, 0.52);
}

.newsletter input:focus {
  border-color: rgba(210, 9, 60, 0.75);
  box-shadow: 0 0 0 4px rgba(210, 9, 60, 0.16);
}

.newsletter button {
  border: 0;
  min-height: 42px;
  border-radius: 8px;
  padding: 0 14px;
  background: var(--accent);
  color: var(--white);
  font-weight: 900;
  cursor: pointer;
  transition: background 180ms ease;
}

.newsletter button:hover {
  background: #b90734;
}

.newsletter-status {
  min-height: 1.4em;
  margin: 12px 0 0;
  color: #ffffff;
  font-weight: 800;
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-top: 44px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.back-to-top {
  color: #ffffff;
  font-weight: 900;
}

.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 650ms ease, transform 650ms ease;
}

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

@media (max-width: 980px) {
  .nav-toggle {
    display: block;
  }

  .nav-links {
    position: absolute;
    inset: 124px 16px auto;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: var(--white);
    box-shadow: var(--shadow);
  }

  .nav-links.is-open {
    display: flex;
  }

  .nav-links a {
    padding: 12px 10px;
  }

  .nav-dropdown__toggle {
    width: 100%;
    padding: 12px 10px;
    text-align: left;
  }

  .nav-dropdown {
    width: 100%;
  }

  .nav-dropdown__menu {
    position: static;
    display: none;
    width: 100%;
    min-width: 0;
    margin: 0;
    padding: 4px 0 4px 14px;
    border: 0;
    box-shadow: none;
    opacity: 1;
    visibility: visible;
    transform: none !important;
    background: transparent;
  }

  .nav-dropdown__menu a {
    width: 100%;
    padding: 11px 12px;
  }

  .nav-dropdown.is-open .nav-dropdown__menu,
  .nav-dropdown:focus-within .nav-dropdown__menu {
    display: block;
  }

  .intro__grid,
  .anthem__grid,
  .event-grid,
  .footer-grid,
  .about-story__grid,
  .about-feature__grid,
  .values-layout,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .class-page-grid {
    grid-template-columns: 1fr;
  }

  .class-content {
    grid-template-columns: 1fr;
  }

  .class-sidebar {
    position: static;
  }

  .feature-grid,
  .class-grid,
  .promise-grid,
  .stats-grid,
  .mission-grid,
  .values-grid,
  .team-grid,
  .contact-card-grid,
  .testimonial-grid,
  .blog-grid,
  .resource-grid,
  .cms-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .gallery-grid {
    column-count: 2;
  }

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

  .section-head--split,
  .admission__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 680px) {
  .topbar__inner {
    justify-content: flex-start;
    gap: 10px;
    padding: 10px 0;
  }

  .brand span {
    max-width: 170px;
    line-height: 1.1;
  }

  .hero {
    min-height: 610px;
  }

  .hero-slide {
    min-height: 610px;
  }

  .hero__overlay {
    background: rgba(0, 31, 73, 0.76);
  }

  .hero p {
    font-size: 1rem;
  }

  .hero-controls {
    bottom: 18px;
    gap: 12px;
  }

  .hero-arrow {
    width: 40px;
    height: 40px;
  }

  .section {
    padding: 64px 0;
  }

  .feature-grid,
  .class-grid,
  .promise-grid,
  .stats-grid,
  .mission-grid,
  .values-grid,
  .team-grid,
  .contact-card-grid,
  .testimonial-grid,
  .blog-grid,
  .resource-grid,
  .cms-grid {
    grid-template-columns: 1fr;
  }

  .promise-grid article {
    min-height: auto;
  }

  .event-card {
    grid-template-columns: 1fr;
  }

  .gallery-grid {
    column-count: 1;
  }

  .gallery-preview-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 240px;
  }

  .gallery-preview-grid img:first-child {
    grid-row: auto;
  }

  .newsletter {
    display: grid;
  }

  .newsletter input,
  .newsletter button {
    min-height: 48px;
  }

  .form-grid {
    grid-template-columns: 1fr;
  }

  .admission-form fieldset {
    padding: 22px;
  }

  .lightbox {
    padding: 10px;
  }

  .lightbox__bar {
    flex-wrap: wrap;
  }

  .footer-bottom {
    align-items: flex-start;
    flex-direction: column;
  }
}
