@import url("https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,600;0,700;1,600&family=Lora:ital,wght@0,400;0,500;1,400&family=Poppins:wght@400;500;600;700;800&display=swap");

:root {
  --gold: #f0a500;
  --gold-soft: #fdf0d0;
  --green: #1b5e3b;
  --green-soft: #e8f5ee;
  --coral: #ff6b47;
  --coral-soft: #fff0ec;
  --navy: #0d1b2a;
  --cream: #fffdf7;
  --rose: #f9e8e8;
  --surface: #ffffff;
  --border: #e8e5dc;
  --text: #1a1a1a;
  --muted: #6b6460;
  --font-display: "Cormorant Garamond", Georgia, serif;
  --font-ui: "Poppins", sans-serif;
  --font-body: "Lora", Georgia, serif;
  --shadow-sm: 0 1px 3px rgba(13, 27, 42, 0.08);
  --shadow-md: 0 10px 28px rgba(13, 27, 42, 0.11);
  --shadow-lg: 0 20px 52px rgba(13, 27, 42, 0.16);
  --container: 1180px;
  --header: 72px;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-body);
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
}

body.menu-open {
  overflow: hidden;
}

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

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

button,
input,
select,
textarea {
  font: inherit;
}

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

.topbar {
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
  font-family: var(--font-ui);
  font-size: 12px;
}

.topbar-inner {
  min-height: 38px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.topbar a {
  color: var(--gold);
  font-weight: 700;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: #fffdf7;
  border-bottom: 1px solid var(--border);
}

.nav-shell {
  min-height: var(--header);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  color: var(--navy);
  font-size: 22px;
  font-weight: 700;
  line-height: 1;
}

.brand small {
  display: block;
  margin-top: 4px;
  font-family: var(--font-ui);
  font-size: 10px;
  color: var(--muted);
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.brand-logo {
  width: 48px;
  height: 48px;
  flex: 0 0 auto;
}

.primary-nav {
  display: flex;
  align-items: center;
  gap: 24px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 600;
}

.primary-nav a {
  color: var(--navy);
  transition: color 0.2s ease;
}

.primary-nav a:hover,
.primary-nav a[aria-current="page"] {
  color: var(--gold);
}

.nav-cta {
  min-height: 42px;
  padding: 0 18px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--gold);
  color: var(--navy) !important;
  box-shadow: var(--shadow-sm);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: none;
  border-radius: 8px;
  background: transparent;
  cursor: pointer;
  position: relative;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px;
}

.nav-toggle .bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all 0.3s ease;
  transform-origin: center;
}

body.menu-open .nav-toggle .bar:nth-child(1) {
  transform: translateY(8.5px) rotate(45deg);
}

body.menu-open .nav-toggle .bar:nth-child(2) {
  opacity: 0;
}

body.menu-open .nav-toggle .bar:nth-child(3) {
  transform: translateY(-8.5px) rotate(-45deg);
}

.hero {
  position: relative;
  min-height: calc(100vh - 110px);
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(13, 27, 42, 0.92) 0%, rgba(13, 27, 42, 0.72) 48%, rgba(13, 27, 42, 0.18) 100%),
    url("../img/school_small.jpg") center right / cover no-repeat;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  height: 120px;
  background: linear-gradient(to bottom, transparent, var(--cream));
}

.hero-content {
  position: relative;
  z-index: 1;
  max-width: 650px;
  padding: 82px 0 110px;
  color: #fff;
}

.eyebrow,
.section-kicker,
.badge {
  font-family: var(--font-ui);
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  padding: 0 14px;
  border-radius: 999px;
  background: rgba(240, 165, 0, 0.16);
  border: 1px solid rgba(240, 165, 0, 0.35);
  color: var(--gold);
  font-size: 11px;
  margin-bottom: 18px;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
.page-title,
.section-title {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.04;
  letter-spacing: 0;
}

h1 {
  max-width: 720px;
  margin-bottom: 18px;
  font-size: clamp(44px, 8vw, 76px);
}

h1 em,
.section-title em,
.page-title em {
  color: var(--gold);
  font-style: italic;
}

.hero-lead {
  max-width: 560px;
  margin-bottom: 28px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 18px;
}

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

.btn {
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 0 24px;
  border: 1px solid transparent;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

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

.btn-secondary {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.38);
  color: #fff;
}

.btn-coral {
  background: var(--coral);
  color: #fff;
}

.btn-outline {
  border-color: var(--navy);
  color: var(--navy);
  background: transparent;
}

.trust-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 24px;
}

.trust-row span {
  padding: 7px 12px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.12);
  color: rgba(255, 255, 255, 0.86);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
}

.section {
  padding: 78px 0;
}

.section-alt {
  background: #f7f3e8;
}

.section-green {
  background: var(--green);
  color: #fff;
}

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

.section-kicker {
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 12px;
}

.section-title {
  margin-bottom: 14px;
  color: var(--navy);
  font-size: clamp(34px, 5vw, 52px);
}

.section-green .section-title,
.section-green p,
.section-green .section-kicker {
  color: #fff;
}

.section-desc {
  max-width: 680px;
  margin-bottom: 34px;
  color: var(--muted);
  font-size: 16px;
}

.grid {
  display: grid;
  gap: 22px;
}

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

.grid-3 {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

.grid-4 {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.card {
  padding: 24px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.card h3 {
  margin-bottom: 8px;
  color: var(--navy);
  font-family: var(--font-ui);
  font-size: 18px;
  line-height: 1.25;
}

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

.stat-card {
  padding: 24px;
  border-left: 4px solid var(--gold);
  background: var(--surface);
  box-shadow: var(--shadow-sm);
}

.stat-number {
  display: block;
  font-family: var(--font-display);
  font-size: 48px;
  font-weight: 700;
  color: var(--green);
  line-height: 1;
}

.stat-label {
  font-family: var(--font-ui);
  color: var(--muted);
  font-size: 13px;
  font-weight: 600;
}

.split {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 42px;
  align-items: center;
}

.photo-slot {
  min-height: 340px;
  display: grid;
  place-items: center;
  padding: 28px;
  border: 1px solid var(--border);
  border-radius: 32px;
  background: url("../img/photo_6239755408943811551_y.jpg") center / cover no-repeat;
  color: var(--navy);
  text-align: center;
  box-shadow: var(--shadow-md);
}

.photo-slot strong {
  display: block;
  font-family: var(--font-display);
  font-size: 34px;
  line-height: 1.1;
}

.photo-slot span {
  display: block;
  margin-top: 8px;
  font-family: var(--font-ui);
  color: var(--muted);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.timeline {
  position: relative;
  display: grid;
  gap: 18px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 12px;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: var(--border);
}

.timeline-item {
  position: relative;
  padding-left: 38px;
}

.timeline-item::before {
  content: "";
  position: absolute;
  left: 4px;
  top: 8px;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: var(--gold);
  border: 4px solid var(--cream);
}

.timeline-item strong {
  display: block;
  font-family: var(--font-ui);
  color: var(--navy);
}

.page-hero {
  min-height: 50vh;
  display: grid;
  place-items: center;
  padding: 78px 0;
  color: #fff;
  text-align: center;
  background:
    linear-gradient(rgba(27, 94, 59, 0.86), rgba(13, 27, 42, 0.78)),
    url("../img/children.jpg") center / cover no-repeat;
}

@keyframes panBackground {
  0% { background-position: 50% 0%; }
  50% { background-position: 50% 100%; }
  100% { background-position: 50% 0%; }
}

.animated-hero {
  min-height: 75vh !important;
  background-size: 130% !important;
  animation: panBackground 25s linear infinite;
}

.breadcrumb {
  margin-bottom: 12px;
  color: rgba(255, 255, 255, 0.72);
  font-family: var(--font-ui);
  font-size: 12px;
  font-weight: 600;
}

.page-title {
  margin: 0 auto 12px;
  max-width: 760px;
  color: #fff;
  font-size: clamp(42px, 7vw, 62px);
}

.page-lead {
  max-width: 660px;
  margin: 0 auto;
  color: rgba(255, 255, 255, 0.82);
  font-size: 17px;
}

.quote-strip {
  padding: 56px 0;
  background: var(--green);
  color: #fff;
  text-align: center;
}

.quote-strip blockquote {
  max-width: 850px;
  margin: 0 auto;
  font-family: var(--font-display);
  font-size: clamp(32px, 6vw, 56px);
  font-style: italic;
  line-height: 1.1;
}

.sports-hero {
  padding: 44px;
  border-radius: 8px;
  background:
    linear-gradient(90deg, rgba(255, 107, 71, 0.94), rgba(255, 107, 71, 0.68)),
    url("../img/children.jpg") center / cover no-repeat;
  color: #fff;
}

.sports-hero h2 {
  max-width: 620px;
  margin: 0 0 10px;
  font-family: var(--font-display);
  font-size: clamp(36px, 5vw, 52px);
}

.event-timeline {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(210px, 1fr);
  gap: 14px;
  overflow-x: auto;
  padding-bottom: 12px;
}

.event-item {
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: var(--surface);
}

.event-item span {
  display: inline-flex;
  margin-bottom: 8px;
  padding: 4px 10px;
  border-radius: 999px;
  background: var(--gold-soft);
  color: #8a5a00;
  font-family: var(--font-ui);
  font-size: 11px;
  font-weight: 700;
}

.gallery-grid {
  columns: 3 240px;
  column-gap: 16px;
}

.gallery-item {
  break-inside: avoid;
  margin: 0 0 16px;
  padding: 20px;
  min-height: 180px;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, var(--gold-soft), var(--green-soft));
  color: var(--navy);
}

.gallery-item.tall {
  min-height: 260px;
}

.gallery-item h3 {
  font-family: var(--font-display);
  font-size: 28px;
}

.steps {
  counter-reset: step;
}

.step {
  position: relative;
  padding-top: 58px;
}

.step::before {
  counter-increment: step;
  content: counter(step);
  position: absolute;
  top: 0;
  left: 0;
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: var(--gold);
  color: var(--navy);
  font-family: var(--font-ui);
  font-weight: 800;
}

.form-shell {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 28px;
  align-items: start;
}

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

.field {
  display: grid;
  gap: 7px;
}

.field.full {
  grid-column: 1 / -1;
}

.field label {
  font-family: var(--font-ui);
  color: var(--navy);
  font-size: 13px;
  font-weight: 700;
}

.field input,
.field select,
.field textarea {
  width: 100%;
  min-height: 46px;
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 10px 12px;
  background: #fff;
  color: var(--text);
}

.field textarea {
  min-height: 118px;
  resize: vertical;
}

.form-message {
  display: none;
  grid-column: 1 / -1;
  padding: 12px 14px;
  border-left: 4px solid var(--green);
  background: var(--green-soft);
  color: var(--green);
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 600;
}

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

.contact-list a,
.contact-list span {
  display: block;
  color: var(--muted);
}

.map-placeholder {
  min-height: 330px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 8px;
  background: linear-gradient(135deg, #edf1f8, var(--green-soft));
  color: var(--navy);
  text-align: center;
}

.footer {
  padding: 48px 0 24px;
  background: var(--navy);
  color: rgba(255, 255, 255, 0.78);
}

.footer h3,
.footer .brand {
  color: #fff;
}

.footer h3 {
  margin-bottom: 12px;
  font-family: var(--font-ui);
  font-size: 15px;
}

.footer p,
.footer a {
  color: rgba(255, 255, 255, 0.68);
}

.footer a:hover {
  color: var(--gold);
}

.map-link {
  display: inline-block;
  margin-top: 8px;
  color: var(--gold) !important;
  font-family: var(--font-ui);
  font-weight: 600;
}

.footer-bottom {
  margin-top: 32px;
  padding-top: 16px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
}

.copyright {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5) !important;
  margin: 0;
}

.footer-links {
  display: grid;
  gap: 8px;
  font-family: var(--font-ui);
  font-size: 14px;
}

.whatsapp-float {
  position: fixed;
  right: 18px;
  bottom: 18px;
  z-index: 60;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  font-family: var(--font-ui);
  font-weight: 800;
  box-shadow: var(--shadow-lg);
}

.admission-bar {
  position: fixed;
  left: 50%;
  bottom: 18px;
  z-index: 55;
  transform: translateX(-50%) translateY(120px);
  width: min(calc(100% - 112px), 720px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 14px 12px 20px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  box-shadow: var(--shadow-lg);
  transition: transform 0.25s ease;
}

.admission-bar.is-visible {
  transform: translateX(-50%) translateY(0);
}

.admission-bar span {
  font-family: var(--font-ui);
  font-size: 13px;
  font-weight: 700;
}

.admission-bar .btn {
  min-height: 38px;
  padding: 0 16px;
}

[data-placeholder="true"] {
  outline: 1px dashed rgba(240, 165, 0, 0.3);
  outline-offset: 2px;
}

@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 900px) {
  body.menu-open {
    overflow: hidden;
  }

  .topbar {
    display: none;
  }

  .nav-shell {
    min-height: 66px;
  }

  .brand {
    font-size: 19px;
  }

  .brand-logo {
    width: 42px;
    height: 42px;
  }

  .nav-toggle {
    display: flex;
  }

  .primary-nav {
    position: fixed;
    top: 66px;
    right: 0;
    bottom: 0;
    width: 280px;
    z-index: 999;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 32px 28px;
    background: var(--navy);
    overflow-y: auto;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -4px 0 24px rgba(0, 0, 0, 0.2);
  }

  .primary-nav.is-open {
    transform: translateX(0);
  }

  body.menu-open::after {
    content: "";
    position: fixed;
    inset: 66px 0 0;
    z-index: 998;
    background: rgba(0, 0, 0, 0.4);
  }

  .primary-nav a {
    padding: 16px 0;
    color: #fff;
    font-size: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-cta {
    margin-top: 18px;
    color: var(--navy) !important;
  }

  .hero {
    min-height: 680px;
    align-items: end;
    background:
      linear-gradient(180deg, rgba(13, 27, 42, 0.1) 0%, rgba(13, 27, 42, 1) 45%),
      url("../img/school_small.jpg") top center / 100% auto no-repeat;
    background-color: rgb(13, 27, 42);
  }

  .hero-content {
    padding: 120px 0 82px;
  }

  .hero-lead {
    font-size: 16px;
  }

  .section {
    padding: 56px 0;
  }

  .grid-2,
  .grid-3,
  .grid-4,
  .split,
  .form-shell,
  .inquiry-form {
    grid-template-columns: 1fr;
  }

  .photo-slot {
    min-height: 250px;
    border-radius: 20px;
  }

  .page-hero {
    min-height: 480px;
    align-items: end;
    padding-bottom: 40px;
    background:
      linear-gradient(180deg, rgba(27, 94, 59, 0.3) 0%, rgba(13, 27, 42, 1) 50%),
      url("../img/children.jpg") top center / 100% auto no-repeat !important;
    background-color: rgb(13, 27, 42) !important;
  }

  .sports-hero {
    padding: 28px;
  }

  .admission-bar {
    right: 0;
    left: 0;
    bottom: 0;
    width: 100%;
    transform: translateY(120px);
    border-radius: 0;
  }

  .admission-bar.is-visible {
    transform: translateY(0);
  }

  .whatsapp-float {
    bottom: 76px;
  }
}

@media (max-width: 520px) {
  .container {
    width: min(100% - 24px, var(--container));
  }

  .actions {
    align-items: stretch;
    flex-direction: column;
  }

  .btn {
    width: 100%;
  }

  .trust-row span {
    width: 100%;
  }
}

/* ── Animation utilities ── */
[data-animate] {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

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

/* Stagger children for common grid layouts */
[data-animate] .card:nth-child(2),
[data-animate] .stat-card:nth-child(2),
[data-animate] .step:nth-child(2),
[data-animate] .trust-row span:nth-child(2) {
  transition-delay: 0.1s;
}
[data-animate] .card:nth-child(3),
[data-animate] .stat-card:nth-child(3),
[data-animate] .step:nth-child(3),
[data-animate] .trust-row span:nth-child(3) {
  transition-delay: 0.2s;
}
[data-animate] .card:nth-child(4),
[data-animate] .stat-card:nth-child(4),
[data-animate] .step:nth-child(4),
[data-animate] .trust-row span:nth-child(4) {
  transition-delay: 0.3s;
}
[data-animate] .card:nth-child(5),
[data-animate] .stat-card:nth-child(5) {
  transition-delay: 0.4s;
}
