@import url("../fonts/fonts.css");

/* ==========================================================================
   Golden Gate Schools — homepage
   Brand: gold #FBC50B · deep teal #073A3B · aqua #18C0CB
   Headings: Fredoka · Body: Jost
   ========================================================================== */

:root {
  --gold: #fbc50b;
  --gold-dark: #dfab00;
  --gold-soft: #fff8e0;
  --teal: #073a3b;
  --teal-light: #0d5a5c;
  --aqua: #18c0cb;
  --ink: #172323;
  --body: #4a5555;
  --line: #e6ecec;
  --bg-soft: #f6faf9;
  --white: #fff;
  --radius: 16px;
  --shadow: 0 18px 45px rgba(7, 58, 59, .10);
  --shadow-sm: 0 8px 22px rgba(7, 58, 59, .08);
  --wrap: 1200px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: "Jost", "Segoe UI", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.75;
  color: var(--body);
  background: var(--white);
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5 {
  font-family: "Fredoka", "Jost", sans-serif;
  color: var(--ink);
  line-height: 1.2;
  margin: 0 0 .6em;
  font-weight: 600;
}

p { margin: 0 0 1.1em; }
a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }

.wrap {
  width: min(var(--wrap), calc(100% - 48px));
  margin-inline: auto;
}

.btn {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  padding: .85rem 2rem;
  border-radius: 999px;
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: 1rem;
  letter-spacing: .02em;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--ink); box-shadow: 0 10px 24px rgba(251, 197, 11, .35); }
.btn-gold:hover { background: var(--gold-dark); }
.btn-teal { background: var(--teal); color: #fff; }
.btn-teal:hover { background: var(--teal-light); }
.btn-ghost { border-color: rgba(255, 255, 255, .75); color: #fff; }
.btn-ghost:hover { background: #fff; color: var(--teal); }

.eyebrow {
  font-family: "Fredoka", sans-serif;
  font-size: .82rem;
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--gold-dark);
  margin-bottom: .7rem;
  display: block;
}

.section { padding: 92px 0; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 56px; }
.section-head h2 { font-size: clamp(1.9rem, 3.4vw, 2.7rem); }
.section-head p { color: var(--body); margin-bottom: 0; }

/* ---------- 1. announcement bar ------------------------------------------ */
.announce {
  background: var(--teal);
  color: #fff;
  font-size: .92rem;
}
.announce .wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.1rem;
  flex-wrap: wrap;
  padding: .5rem 0;
}
.announce strong {
  font-family: "Fredoka", sans-serif;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--gold);
  font-weight: 600;
}
.announce .dot {
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--gold);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: .35; transform: scale(.7); }
}
.announce .btn {
  padding: .32rem 1.25rem;
  font-size: .85rem;
  background: var(--gold);
  color: var(--ink);
  box-shadow: none;
}

/* ---------- 2. top contact bar ------------------------------------------- */
.topbar {
  background: var(--bg-soft);
  border-bottom: 1px solid var(--line);
  font-size: .88rem;
  color: var(--teal);
}
.topbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .6rem 0;
  flex-wrap: wrap;
}
.topbar-info { display: flex; gap: 1.6rem; flex-wrap: wrap; align-items: center; }
.topbar-info span { display: inline-flex; align-items: center; gap: .45rem; }
.topbar-info svg { width: 15px; height: 15px; fill: var(--gold-dark); flex: none; }
.socials { display: flex; gap: .5rem; }
.socials a {
  width: 30px; height: 30px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: var(--teal);
  transition: background .18s ease, transform .18s ease;
}
.socials a:hover { background: var(--gold); transform: translateY(-2px); }
.socials svg { width: 14px; height: 14px; fill: #fff; }
.socials a:hover svg { fill: var(--ink); }

/* ---------- 3. navigation ------------------------------------------------ */
.nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: #fff;
  box-shadow: 0 2px 18px rgba(7, 58, 59, .07);
}
.nav .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: .7rem 0;
}
.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { width: 56px; height: auto; }
.brand-text strong {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.12rem;
  font-weight: 600;
  color: var(--teal);
  line-height: 1.15;
}
.brand-text span {
  font-size: .74rem;
  letter-spacing: .13em;
  text-transform: uppercase;
  color: var(--gold-dark);
  font-weight: 500;
}
.menu { display: flex; align-items: center; gap: 1.9rem; list-style: none; margin: 0; padding: 0; }
.menu a {
  font-family: "Fredoka", sans-serif;
  font-size: .96rem;
  font-weight: 500;
  color: var(--teal);
  padding: .35rem 0;
  position: relative;
}
.menu a::after {
  content: "";
  position: absolute;
  left: 0; bottom: -2px;
  height: 3px; width: 0;
  border-radius: 3px;
  background: var(--gold);
  transition: width .22s ease;
}
.menu a:hover::after, .menu a.active::after { width: 100%; }
.nav-cta { display: flex; align-items: center; gap: .8rem; }
.burger {
  display: none;
  width: 44px; height: 40px;
  border: 0; border-radius: 10px;
  background: var(--bg-soft);
  cursor: pointer;
  padding: 0;
}
.burger span {
  display: block;
  width: 20px; height: 2px;
  margin: 4px auto;
  background: var(--teal);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.burger[aria-expanded="true"] span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.burger[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.burger[aria-expanded="true"] span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- 4. hero video band ------------------------------------------- */
.hero {
  position: relative;
  background: var(--teal) center/cover no-repeat;
  overflow: hidden;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: url("../img/video-backdrop.jpg") center/cover no-repeat;
  transform: scale(1.1);
  opacity: .55;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(105deg, rgba(7, 58, 59, .93) 0%, rgba(7, 58, 59, .74) 45%, rgba(7, 58, 59, .55) 100%);
}
.hero-inner {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: 1fr minmax(280px, 360px);
  gap: 56px;
  align-items: center;
  padding: 68px 0 72px;
}
.hero-copy { color: #fff; max-width: 620px; }
.hero-copy .eyebrow { color: var(--gold); }
.hero-copy h1 {
  color: #fff;
  font-size: clamp(2.2rem, 4.6vw, 3.5rem);
  margin-bottom: .5em;
}
.hero-copy h1 em {
  font-style: normal;
  color: var(--gold);
  position: relative;
  white-space: nowrap;
}
.hero-copy p {
  color: rgba(255, 255, 255, .88);
  font-size: 1.08rem;
  max-width: 34em;
}
.hero-actions { display: flex; gap: .9rem; flex-wrap: wrap; margin-top: 1.6rem; }
.hero-facts {
  display: flex;
  gap: 2.4rem;
  margin-top: 2.6rem;
  padding-top: 1.7rem;
  border-top: 1px solid rgba(255, 255, 255, .2);
  flex-wrap: wrap;
}
.hero-facts b {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.7rem;
  color: var(--gold);
  line-height: 1;
}
.hero-facts span { font-size: .85rem; color: rgba(255, 255, 255, .8); }

/* portrait video card */
.video-card {
  position: relative;
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(0, 0, 0, .4);
  border: 5px solid rgba(255, 255, 255, .12);
  background: #000;
  aspect-ratio: 9 / 16;
}
.video-card video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.video-play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  border: 0;
  background: linear-gradient(180deg, rgba(7, 58, 59, .12), rgba(7, 58, 59, .55));
  cursor: pointer;
  transition: opacity .25s ease;
}
.video-play span {
  width: 66px; height: 66px;
  border-radius: 50%;
  background: var(--gold);
  display: grid; place-items: center;
  box-shadow: 0 0 0 12px rgba(251, 197, 11, .22);
  animation: ripple 2.4s infinite;
}
.video-play svg { width: 22px; height: 22px; fill: var(--ink); margin-left: 3px; }
@keyframes ripple {
  0% { box-shadow: 0 0 0 0 rgba(251, 197, 11, .38); }
  100% { box-shadow: 0 0 0 26px rgba(251, 197, 11, 0); }
}
.video-card.playing .video-play { opacity: 0; pointer-events: none; }
.video-label {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 42px 18px 14px;
  background: linear-gradient(transparent, rgba(0, 0, 0, .75));
  color: #fff;
  font-size: .84rem;
  font-family: "Fredoka", sans-serif;
  letter-spacing: .04em;
  pointer-events: none;
}

/* ---------- 5. welcome --------------------------------------------------- */
.welcome-grid {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 64px;
  align-items: center;
}
.welcome-media { position: relative; }
.welcome-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 520px;
  object-fit: cover;
}
.welcome-badge {
  position: absolute;
  right: -22px;
  bottom: -22px;
  background: var(--gold);
  color: var(--ink);
  border-radius: var(--radius);
  padding: 1.1rem 1.5rem;
  box-shadow: var(--shadow);
  text-align: center;
  max-width: 190px;
}
.welcome-badge b {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.05rem;
  line-height: 1.25;
}
.welcome-badge span { font-size: .78rem; opacity: .8; }
.welcome-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.welcome-copy .lede {
  color: var(--teal);
  font-size: 1.1rem;
  font-weight: 500;
  border-left: 4px solid var(--gold);
  padding-left: 1rem;
  margin-bottom: 1.4rem;
}
.approval {
  display: inline-flex;
  align-items: center;
  gap: .6rem;
  background: var(--gold-soft);
  border: 1px dashed var(--gold);
  border-radius: 999px;
  padding: .45rem 1.1rem;
  font-size: .88rem;
  color: var(--teal);
  margin-bottom: 1.4rem;
}
.approval svg { width: 17px; height: 17px; fill: var(--gold-dark); }

/* ---------- 6. vision / mission / values panels -------------------------- */
.pillars { display: grid; grid-template-columns: repeat(3, 1fr); }
.pillar {
  padding: 66px 46px;
  color: #fff;
  text-align: center;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.pillar:nth-child(1) { background: var(--teal); }
.pillar:nth-child(2) { background: var(--gold); color: var(--ink); }
.pillar:nth-child(3) { background: var(--aqua); }
.pillar-icon {
  width: 76px; height: 76px;
  margin: 0 auto 1.3rem;
  border-radius: 50%;
  background: rgba(255, 255, 255, .16);
  display: grid; place-items: center;
  border: 2px solid rgba(255, 255, 255, .45);
}
.pillar:nth-child(2) .pillar-icon {
  background: rgba(7, 58, 59, .1);
  border-color: rgba(7, 58, 59, .3);
}
.pillar-icon svg { width: 32px; height: 32px; fill: #fff; }
.pillar:nth-child(2) .pillar-icon svg { fill: var(--teal); }
.pillar h3 { color: inherit; font-size: 1.45rem; margin-bottom: .7rem; }
.pillar p { color: inherit; opacity: .93; margin-bottom: 0; font-size: .99rem; }
.pillar ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: .38rem;
  text-align: left;
  max-width: 240px;
  margin-inline: auto;
}
.pillar li {
  position: relative;
  padding-left: 1.5rem;
  font-size: .96rem;
}
.pillar li::before {
  content: "";
  position: absolute;
  left: 0; top: .62em;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: currentColor;
  opacity: .75;
}

/* ---------- 7. class levels ---------------------------------------------- */
.levels { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; }
.level {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.level:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.level-img { position: relative; height: 240px; overflow: hidden; }
.level-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.level:hover .level-img img { transform: scale(1.07); }
.level-tag {
  position: absolute;
  left: 16px; top: 16px;
  background: var(--gold);
  color: var(--ink);
  font-family: "Fredoka", sans-serif;
  font-size: .76rem;
  letter-spacing: .1em;
  text-transform: uppercase;
  padding: .3rem .9rem;
  border-radius: 999px;
}
.level-body { padding: 26px 26px 30px; }
.level-body h3 { font-size: 1.3rem; margin-bottom: .45rem; }
.level-body p { font-size: .96rem; margin-bottom: 1rem; }
.level-body a {
  font-family: "Fredoka", sans-serif;
  font-size: .92rem;
  color: var(--teal);
  display: inline-flex;
  align-items: center;
  gap: .4rem;
}
.level-body a svg { width: 15px; height: 15px; fill: var(--gold-dark); transition: transform .2s ease; }
.level-body a:hover svg { transform: translateX(4px); }

/* ---------- section call-to-action strip --------------------------------- */
.section-cta {
  position: relative;
  z-index: 2;
  margin-top: 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 26px;
  flex-wrap: wrap;
  padding: 30px 38px;
  border-radius: var(--radius);
  background: var(--teal);
  box-shadow: var(--shadow);
}
.section-cta.cta-gold { background: var(--gold); }
.section-cta-copy { flex: 1 1 340px; min-width: 0; }
.section-cta b {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 1.28rem;
  color: #fff;
  line-height: 1.3;
  margin-bottom: .25rem;
}
.section-cta span {
  display: block;
  font-size: .96rem;
  color: rgba(255, 255, 255, .82);
  line-height: 1.55;
}
.section-cta.cta-gold b { color: var(--ink); }
.section-cta.cta-gold span { color: rgba(23, 35, 35, .78); }
.section-cta .btn { flex: 0 0 auto; }
.section-cta.cta-gold .btn-gold {
  background: var(--teal);
  color: #fff;
  box-shadow: 0 10px 24px rgba(7, 58, 59, .3);
}
.section-cta.cta-gold .btn-gold:hover { background: var(--teal-light); }

@media (max-width: 720px) {
  .section-cta {
    padding: 28px 22px;
    /* give it real breathing room from the card above on phones */
    margin-top: 72px;
    flex-direction: column;
    align-items: stretch;
    text-align: center;
    gap: 18px;
  }
  .section-cta .btn { justify-content: center; }
  /* once stacked, flex-basis applies to HEIGHT — stop the copy stretching */
  .section-cta-copy { flex: 0 0 auto; }
  /* the management CTA follows the placeholder note, so it needs less */
  #team .section-cta { margin-top: 52px; }
}

/* ---------- 8. motto band ------------------------------------------------ */
.motto {
  position: relative;
  background: url("../img/band-motto.jpg") center/cover no-repeat fixed;
  padding: 128px 0;
  text-align: center;
  color: #fff;
}
.motto::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(rgba(7, 58, 59, .82), rgba(7, 58, 59, .88));
}
.motto .wrap { position: relative; z-index: 2; }
.motto h2 {
  color: #fff;
  font-size: clamp(2.1rem, 5vw, 3.4rem);
  margin-bottom: .35em;
}
.motto h2 em { font-style: normal; color: var(--gold); }
.motto p {
  color: rgba(255, 255, 255, .88);
  max-width: 660px;
  margin: 0 auto 2rem;
  font-size: 1.08rem;
}

/* ---------- 9. why golden gate ------------------------------------------- */
.why { background: var(--bg-soft); }
.why-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.why-copy h2 { font-size: clamp(1.9rem, 3.4vw, 2.6rem); }
.why-copy h2 em { font-style: normal; color: var(--gold-dark); }
.classes {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: .6rem 1.4rem;
  list-style: none;
  padding: 0;
  margin: 1.4rem 0 2rem;
}
.classes li {
  display: flex;
  align-items: center;
  gap: .6rem;
  font-weight: 500;
  color: var(--teal);
}
.classes svg { width: 20px; height: 20px; fill: var(--gold); flex: none; }
.why-media { position: relative; }
.why-media img {
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  width: 100%;
  height: 540px;
  object-fit: cover;
}
.why-stats {
  position: absolute;
  left: -26px;
  bottom: 28px;
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1.2rem 1.5rem;
  display: grid;
  gap: 1rem;
}
.why-stat { display: flex; align-items: center; gap: .8rem; }
.why-stat b {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.4rem;
  color: var(--teal);
  line-height: 1.15;
  margin-bottom: .15rem;
}
.why-stat span { display: block; font-size: .82rem; color: var(--body); line-height: 1.35; }
.why-stat i {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: var(--gold-soft);
  display: grid; place-items: center;
  flex: none;
}
.why-stat i svg { width: 19px; height: 19px; fill: var(--gold-dark); }

/* ---------- 10. career day slider ---------------------------------------- */
.slider-sec { background: var(--teal); }
.slider-sec .section-head h2, .slider-sec .section-head p { color: #fff; }
.slider-sec .section-head p { opacity: .82; }
.slider-sec .eyebrow { color: var(--gold); }
.slider {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 26px 60px rgba(0, 0, 0, .35);
}
.slides { display: flex; transition: transform .6s cubic-bezier(.4, 0, .2, 1); }
.slide { min-width: 100%; position: relative; }
.slide img { width: 100%; height: 540px; object-fit: cover; }
.slide-cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 70px 36px 30px;
  background: linear-gradient(transparent, rgba(7, 58, 59, .9));
  color: #fff;
}
.slide-cap b {
  font-family: "Fredoka", sans-serif;
  font-size: 1.35rem;
  display: block;
}
.slide-cap span { font-size: .93rem; opacity: .85; }
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 48px; height: 48px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .92);
  display: grid; place-items: center;
  cursor: pointer;
  transition: background .2s ease;
  z-index: 3;
}
.slider-btn:hover { background: var(--gold); }
.slider-btn svg { width: 18px; height: 18px; fill: var(--teal); }
.slider-btn.prev { left: 18px; }
.slider-btn.next { right: 18px; }
.dots { display: flex; justify-content: center; gap: .55rem; margin-top: 1.8rem; }
.dots button {
  width: 11px; height: 11px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, .35);
  cursor: pointer;
  padding: 0;
  transition: background .2s ease, width .2s ease;
}
.dots button.active { background: var(--gold); width: 30px; border-radius: 999px; }

/* ---------- 11. testimonials --------------------------------------------- */
.quotes { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.quote {
  border-radius: var(--radius);
  padding: 34px 30px 30px;
  position: relative;
  background: #fff;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
}
.quote:nth-child(3n+1) { background: var(--teal); border-color: var(--teal); }
.quote:nth-child(3n+2) { background: var(--gold-soft); border-color: #f4e3a8; }
.quote:nth-child(3n+1) p, .quote:nth-child(3n+1) .quote-name b { color: #fff; }
.quote:nth-child(3n+1) .quote-name span { color: rgba(255, 255, 255, .72); }
.quote-mark {
  font-family: "Fredoka", sans-serif;
  font-size: 3.4rem;
  line-height: .7;
  color: var(--gold);
  margin-bottom: .5rem;
}
.quote p { font-size: .98rem; flex: 1; }
.quote-name { display: flex; align-items: center; gap: .8rem; margin-top: .6rem; }
.quote-avatar {
  width: 42px; height: 42px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--ink);
  display: grid; place-items: center;
  font-family: "Fredoka", sans-serif;
  font-size: 1rem;
  flex: none;
}
.quote-name b {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  color: var(--ink);
  font-size: .98rem;
}
.quote-name span { font-size: .82rem; color: var(--body); }

/* ---------- 12. management ----------------------------------------------- */
.team { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.member {
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform .25s ease, box-shadow .25s ease;
}
.member:hover { transform: translateY(-8px); box-shadow: var(--shadow); }
.member-img { position: relative; height: 330px; overflow: hidden; background: var(--bg-soft); }
.member-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.member:hover .member-img img { transform: scale(1.06); }
.member-img::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 90px;
  background: linear-gradient(transparent, rgba(7, 58, 59, .55));
}
.member-body { padding: 22px 24px 26px; text-align: center; }
.member-body b {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-size: 1.14rem;
  color: var(--ink);
  font-weight: 600;
}
.member-body span { font-size: .9rem; color: var(--gold-dark); font-weight: 500; }
.placeholder-note {
  margin-top: 2.4rem;
  text-align: center;
  font-size: .88rem;
  color: #8a9797;
}

/* ---------- 13. map / directions ----------------------------------------- */
.map-sec { padding-bottom: 96px; }
.map-grid {
  display: grid;
  grid-template-columns: .8fr 1.2fr;
  gap: 44px;
  align-items: stretch;
}
.map-info {
  background: var(--teal);
  color: #fff;
  border-radius: var(--radius);
  padding: 42px 38px;
}
.map-info h3 { color: #fff; font-size: 1.6rem; }
.map-info p { color: rgba(255, 255, 255, .82); font-size: .98rem; }
.map-list { list-style: none; padding: 0; margin: 1.8rem 0 0; display: grid; gap: 1.2rem; }
.map-list li { display: flex; gap: .9rem; align-items: flex-start; }
.map-list i {
  width: 40px; height: 40px;
  border-radius: 12px;
  background: rgba(255, 255, 255, .12);
  display: grid; place-items: center;
  flex: none;
}
.map-list svg { width: 17px; height: 17px; fill: var(--gold); }
.map-list b {
  display: block;
  font-family: "Fredoka", sans-serif;
  font-weight: 500;
  font-size: .95rem;
  color: var(--gold);
}
.map-list span { font-size: .93rem; color: rgba(255, 255, 255, .85); line-height: 1.5; }
.map-frame {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  min-height: 420px;
  background: var(--bg-soft);
}
.map-frame iframe { width: 100%; height: 100%; min-height: 420px; border: 0; display: block; }

/* ---------- 14. footer --------------------------------------------------- */
.footer {
  background: var(--teal);
  color: rgba(255, 255, 255, .78);
  padding: 76px 0 0;
  margin-top: 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.1fr;
  gap: 44px;
  padding-bottom: 52px;
}
.footer h4 {
  color: #fff;
  font-size: 1.08rem;
  margin-bottom: 1.2rem;
  position: relative;
  padding-bottom: .6rem;
}
.footer h4::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 34px; height: 3px;
  border-radius: 3px;
  background: var(--gold);
}
.footer p, .footer li { font-size: .93rem; }
.footer ul { list-style: none; padding: 0; margin: 0; display: grid; gap: .6rem; }
.footer a:hover { color: var(--gold); }
.footer-brand { display: flex; align-items: center; gap: .8rem; margin-bottom: 1.2rem; }
.footer-brand img { width: 54px; }
.footer-brand strong {
  font-family: "Fredoka", sans-serif;
  color: #fff;
  font-size: 1.1rem;
  display: block;
  line-height: 1.2;
}
.footer-brand span { font-size: .74rem; letter-spacing: .12em; text-transform: uppercase; color: var(--gold); }
.footer-contact { display: grid; gap: .8rem; }
.footer-contact li { display: flex; gap: .65rem; align-items: flex-start; }
.footer-contact svg { width: 16px; height: 16px; fill: var(--gold); flex: none; margin-top: .28em; }
.footer .socials a { background: rgba(255, 255, 255, .12); }
.footer .socials { margin-top: 1.1rem; }
.hours { display: grid; gap: .45rem; }
.hours div { display: flex; justify-content: space-between; gap: 1rem; font-size: .92rem; }
.hours span:last-child { color: var(--gold); }
.copyright {
  border-top: 1px solid rgba(255, 255, 255, .12);
  padding: 22px 0;
  text-align: center;
  font-size: .88rem;
}

/* ---------- reveal on scroll --------------------------------------------- */
.reveal { opacity: 0; transform: translateY(26px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ---------- responsive --------------------------------------------------- */
@media (max-width: 1080px) {
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .video-card { max-width: 320px; margin-inline: auto; }
  .welcome-grid, .why-grid, .map-grid { grid-template-columns: 1fr; gap: 44px; }
  .why-stats {
    position: relative;
    left: auto;
    bottom: auto;
    margin-top: 20px;
    box-shadow: var(--shadow-sm);
  }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .levels, .quotes, .team { grid-template-columns: repeat(2, 1fr); }
  .pillars { grid-template-columns: 1fr; }
  .motto { background-attachment: scroll; }
}

@media (max-width: 860px) {
  .menu {
    position: absolute;
    top: 100%; left: 0; right: 0;
    background: #fff;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
    padding: 0 24px;
    max-height: 0;
    overflow: hidden;
    box-shadow: 0 18px 30px rgba(7, 58, 59, .1);
    transition: max-height .3s ease, padding .3s ease;
  }
  .menu.open { max-height: 420px; padding: 12px 24px 20px; }
  .menu li { width: 100%; border-bottom: 1px solid var(--line); }
  .menu li:last-child { border-bottom: 0; }
  .menu a { display: block; padding: .8rem 0; }
  .burger { display: block; }
  .nav .wrap { position: relative; flex-wrap: nowrap; }
  .nav-cta .btn { display: none; }
  .topbar-info span:nth-child(n+2) { display: none; }
  .brand img { width: 44px; }
  .brand-text strong { font-size: 1rem; }
  .brand-text span { font-size: .66rem; letter-spacing: .1em; }
}

@media (max-width: 720px) {
  body { font-size: 16px; }
  .section { padding: 64px 0; }
  .wrap { width: calc(100% - 32px); }
  .levels, .quotes, .team { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 34px; }
  .welcome-media img, .why-media img { height: 380px; }
  .slide img { height: 320px; }
  .welcome-badge { right: 12px; bottom: -16px; }
  .why-stats { position: static; margin-top: 24px; margin-inline: 0; box-shadow: var(--shadow-sm); }
  .hero-facts { gap: 1.6rem; }
  .motto { padding: 88px 0; }
  .slider-btn { width: 38px; height: 38px; }
  .announce .wrap { font-size: .82rem; gap: .7rem; }
}

@media (prefers-reduced-motion: reduce) {
  * { animation: none !important; transition: none !important; }
  .reveal { opacity: 1; transform: none; }
  html { scroll-behavior: auto; }
}

/* ==========================================================================
   Full-Bleed Autoplay Video Hero Section (Brand Teal & Edge-to-Edge)
   ========================================================================== */
.hero-fullbleed {
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background: var(--teal, #073a3b);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.hero-video-bg {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: 62%;
  z-index: 1;
  overflow: hidden;
}

.hero-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 10%;
  display: block;
}

.hero-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    #073a3b 0%,
    rgba(7, 58, 59, 0.96) 22%,
    rgba(7, 58, 59, 0.6) 48%,
    rgba(7, 58, 59, 0.1) 85%
  );
  pointer-events: none;
}

.hero-wrap {
  position: relative;
  z-index: 5;
  width: min(1280px, calc(100% - 64px));
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.brand-text {
  display: flex;
  flex-direction: column;
  white-space: nowrap;
}

.brand-text strong,
.brand-text span {
  white-space: nowrap;
}

.hero-nav-full {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.hero-nav-full .brand {
  flex-shrink: 0;
}

.hero-nav-full .brand strong {
  color: #ffffff;
}

.hero-nav-full .brand span {
  color: var(--gold, #fbc50b);
}

.hero-menu {
  flex-shrink: 1;
}

.hero-menu ul {
  display: flex;
  align-items: center;
  gap: 24px;
  list-style: none;
  margin: 0;
  padding: 0;
  white-space: nowrap;
}

.hero-menu a {
  font-family: "Fredoka", "Jost", system-ui, sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.2s ease;
}

.hero-menu a:hover,
.hero-menu a.active {
  color: var(--gold, #fbc50b);
}

.hero-copy-full {
  padding: 72px 0 100px;
  max-width: 620px;
  margin-top: auto;
  margin-bottom: auto;
}

.hero-copy-full h1 {
  font-family: "Fredoka", "Jost", sans-serif;
  font-size: clamp(2.8rem, 5vw, 4.2rem);
  font-weight: 700;
  color: #ffffff;
  line-height: 1.12;
  margin-bottom: 24px;
  letter-spacing: -0.01em;
}

.hero-copy-full h1 .highlight-gold {
  color: var(--gold, #fbc50b);
}

.hero-copy-full p {
  color: rgba(255, 255, 255, 0.92);
  font-size: 1.12rem;
  line-height: 1.65;
  margin-bottom: 38px;
  max-width: 500px;
}

.hero-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
}

.sound-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  background: rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  border: 1px solid rgba(255, 255, 255, 0.5);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.sound-btn:hover,
.sound-btn.active-sound {
  background: var(--gold, #fbc50b);
  border-color: var(--gold, #fbc50b);
  color: var(--ink, #172323);
}

@media (max-width: 1180px) and (min-width: 993px) {
  .hero-nav-full {
    gap: 14px;
  }
  .hero-menu ul {
    gap: 14px;
  }
  .hero-menu a {
    font-size: 0.88rem;
  }
  .nav-cta .btn {
    padding: 8px 16px;
    font-size: 0.85rem;
  }
}

@media (max-width: 992px) {
  .hero-fullbleed {
    min-height: 100vh;
    min-height: 100dvh;
  }
  .hero-video-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
  }
  .hero-video-bg video {
    object-position: center 15%;
  }
  .hero-video-overlay {
    background: linear-gradient(
      to bottom,
      rgba(7, 58, 59, 0.65) 0%,
      rgba(7, 58, 59, 0.35) 30%,
      rgba(7, 58, 59, 0.88) 62%,
      #073a3b 100%
    );
  }
  .hero-wrap {
    width: calc(100% - 32px);
    position: relative;
    z-index: 5;
  }
  .hero-nav-full {
    padding: 16px 0;
    border-bottom: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
  }
  /* mobile drop-down navigation */
  .burger-light { display: block; background: rgba(255, 255, 255, .14); }
  .burger-light span { background: #fff; }
  .hero-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--teal);
    border-radius: 14px;
    box-shadow: 0 22px 44px rgba(0, 0, 0, .38);
    max-height: 0;
    overflow: hidden;
    transition: max-height .3s ease;
    z-index: 30;
  }
  .hero-menu.open { max-height: 420px; }
  .hero-menu ul {
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 6px 18px;
    margin: 0;
    list-style: none;
  }
  .hero-menu li { border-bottom: 1px solid rgba(255, 255, 255, .1); }
  .hero-menu li:last-child { border-bottom: 0; }
  .hero-menu a { display: block; padding: .85rem 0; font-size: 1rem; }
  .sound-btn {
    position: static;
    margin-top: 4px;
  }
  .hero-copy-full {
    padding: 100px 0 64px;
    max-width: 100%;
  }
  .hero-copy-full h1 {
    font-size: clamp(2.2rem, 7vw, 3rem);
    margin-bottom: 18px;
  }
  .hero-copy-full p {
    font-size: 1rem;
    margin-bottom: 28px;
  }
}

@media (max-width: 640px) {
  .hero-actions {
    flex-direction: column;
    align-items: stretch;
  }
}

/* ==========================================================================
   Section Background Textures (Full Section Stretch & Enhanced Opacity)
   ========================================================================== */
/* Gentle Live Slow Pan Animation for Background Textures */
@keyframes bgSlowPan {
  0% {
    transform: scale(1) translate(0, 0);
  }
  50% {
    transform: scale(1.08) translate(-10px, -8px);
  }
  100% {
    transform: scale(1) translate(0, 0);
  }
}

#about::before,
#classes::before,
.section.why::before,
.quotes-sec::before,
#team::before,
#contact::before {
  animation: bgSlowPan 24s ease-in-out infinite alternate;
  transform-origin: center center;
}

/* Touch devices and narrow screens: freeze the texture pan.
   Six full-viewport layers animating transform simultaneously forces a
   continuous composite on every scroll frame, which reads as stutter on
   phones. The textures are decorative, so hold them still instead. */
@media (hover: none), (max-width: 1080px) {
  #about::before,
  #classes::before,
  .section.why::before,
  .quotes-sec::before,
  #team::before,
  #contact::before {
    animation: none;
    transform: none;
  }
}

#about {
  position: relative;
  overflow: hidden;
}
#about::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/bg-welcome.jpg") center/cover no-repeat;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}
#about .wrap {
  position: relative;
  z-index: 1;
}

#classes {
  position: relative;
  overflow: hidden;
}
#classes::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/bg-classes.jpg") center/cover no-repeat;
  opacity: 0.22;
  pointer-events: none;
  z-index: 0;
}
#classes .wrap {
  position: relative;
  z-index: 1;
}

.section.why {
  position: relative;
  overflow: hidden;
}
.section.why::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/bg-why.jpg") center/cover no-repeat;
  opacity: 0.25;
  pointer-events: none;
  z-index: 0;
}
.section.why .wrap {
  position: relative;
  z-index: 1;
}

.quotes-sec {
  position: relative;
  overflow: hidden;
  background-color: var(--bg-soft);
}
.quotes-sec::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/bg-testimonials.jpg") center/cover no-repeat;
  opacity: 0.28;
  pointer-events: none;
  z-index: 0;
}
.quotes-sec .wrap {
  position: relative;
  z-index: 1;
}

#team {
  position: relative;
  overflow: hidden;
  background-color: var(--teal);
  color: #ffffff;
}
#team::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/bg-forest-gold.jpg") center/cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
#team .wrap {
  position: relative;
  z-index: 1;
}
#team .section-head h2, #team .section-head p {
  color: #ffffff;
}
#team .member-body b {
  color: #ffffff;
}
#team .member-body span {
  color: rgba(255, 255, 255, 0.85);
}

#contact {
  position: relative;
  overflow: hidden;
  background-color: var(--teal);
  color: #ffffff;
  padding-bottom: 96px;
}
#contact::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: url("../img/bg-forest-gold.jpg") center/cover no-repeat;
  opacity: 0.15;
  pointer-events: none;
  z-index: 0;
}
#contact .wrap {
  position: relative;
  z-index: 1;
}
#contact .section-head h2,
#contact .section-head p {
  color: #ffffff;
}
#contact .eyebrow {
  color: var(--gold);
}

/* ==========================================================================
   Interactive Enrolment & Admissions Form with Background Video
   ========================================================================== */
.form-section {
  position: relative;
  overflow: hidden;
  padding: 100px 0;
  background: var(--teal);
}

.form-video-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  overflow: hidden;
}

.form-video-bg video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0.35;
}

.form-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom,
    rgba(7, 58, 59, 0.85) 0%,
    rgba(7, 58, 59, 0.75) 50%,
    rgba(7, 58, 59, 0.92) 100%
  );
  pointer-events: none;
}

.form-card {
  position: relative;
  z-index: 2;
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 28px;
  padding: 54px 48px;
  max-width: 860px;
  margin: 0 auto;
  box-shadow: 0 30px 60px rgba(0, 0, 0, 0.35);
}

.form-head {
  text-align: center;
  margin-bottom: 38px;
}

.form-head h2 {
  color: #ffffff;
  font-size: clamp(2rem, 4vw, 2.6rem);
  margin-bottom: 12px;
}

.form-head p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-group.full-width {
  grid-column: span 2;
}

.form-group label {
  color: var(--gold, #fbc50b);
  font-family: "Fredoka", sans-serif;
  font-size: 0.95rem;
  font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.94);
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 12px;
  padding: 14px 18px;
  font-size: 0.98rem;
  color: var(--ink, #172323);
  font-family: inherit;
  transition: all 0.25s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  background: #ffffff;
  border-color: var(--gold, #fbc50b);
  box-shadow: 0 0 0 4px rgba(251, 197, 11, 0.35);
}

.form-submit {
  margin-top: 32px;
  text-align: center;
}

.whatsapp-submit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 16px 36px;
  font-size: 1.08rem;
  width: 100%;
  max-width: 420px;
  border-radius: 999px;
  box-shadow: 0 10px 24px rgba(251, 197, 11, 0.35);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.whatsapp-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 30px rgba(251, 197, 11, 0.5);
}

@media (max-width: 768px) {
  .form-card {
    padding: 32px 22px;
  }
  .form-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }
  .form-group.full-width {
    grid-column: span 1;
  }
}

@media (max-width: 620px) {
  /* tighten the vertical rhythm so the form is not one long scroll */
  .enrol-main { padding: 28px 0 40px; }
  .form-card { padding: 26px 18px; border-radius: 22px; }
  .form-head { margin-bottom: 24px; }
  .form-head h2 { font-size: 1.7rem; margin-bottom: 8px; }
  .form-head p { font-size: .95rem; line-height: 1.5; }
  .form-grid { gap: 14px; }
  .form-group { gap: 6px; }
  .form-group label { font-size: .88rem; }
  .form-group input,
  .form-group select,
  .form-group textarea { padding: 12px 14px; font-size: .95rem; }
  .form-group textarea { min-height: 84px; }
  .form-submit { margin-top: 20px; }
  .whatsapp-submit-btn { width: 100%; justify-content: center; }
  .enrol-footer { padding: 18px 0; font-size: .8rem; }
  .enrol-footer-flex { flex-direction: column; text-align: center; gap: 8px; }
}

/* ==========================================================================
   Standalone Enrolment Page Layout (enrol.html)
   ========================================================================== */
.enrol-page-body {
  margin: 0;
  padding: 0;
  background: var(--teal, #073a3b);
  min-height: 100vh;
  min-height: 100dvh;
  color: #ffffff;
}

.enrol-page-wrapper {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 100dvh;
}

.enrol-header {
  padding: 24px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
}

/* the enrol header sits on a dark video backdrop — force light brand text */
.enrol-header .brand-text strong { color: #fff; }
.enrol-header .brand-text span { color: var(--gold); }

.enrol-header-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
}
.enrol-header .brand { min-width: 0; flex: 1 1 auto; }
.enrol-header .back-home-btn { flex: 0 0 auto; }
.back-home-btn .lbl-short { display: none; }

/* class arrived pre-selected from the homepage — make that visible */
.enrol-form select.prefilled {
  box-shadow: 0 0 0 3px rgba(251, 197, 11, .55);
  font-weight: 600;
}

@media (max-width: 620px) {
  .enrol-header { padding: 16px 0; }
  .enrol-header .brand img { width: 40px; }
  .enrol-header .brand-text strong { font-size: .92rem; }
  .enrol-header .brand-text span { font-size: .58rem; letter-spacing: .08em; }
  .back-home-btn { padding: 8px 14px; font-size: .82rem; }
  .back-home-btn .lbl-long { display: none; }
  .back-home-btn .lbl-short { display: inline; }
}

.back-home-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 0.9rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.back-home-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: #ffffff;
  color: var(--gold, #fbc50b);
}

.enrol-main {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 60px 0 80px;
}

.enrol-footer {
  padding: 24px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.75);
}

.enrol-footer-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.enrol-footer-contact {
  display: flex;
  align-items: center;
  gap: 20px;
}
