
:root {
  --magenta: #b31365;
  --magenta-dark: #7c0f49;
  --magenta-soft: #f7d7e8;
  --olive: #6f7d1f;
  --olive-dark: #3f4a10;
  --olive-soft: #e8edc8;
  --cream: #fff8ea;
  --sand: #f4ecd7;
  --ink: #253044;
  --muted: #6b7280;
  --white: #ffffff;
  --shadow: 0 20px 48px rgba(37, 48, 68, .16);
  --radius-xl: 34px;
  --radius-lg: 22px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Nunito", sans-serif;
  color: var(--ink);
  background: linear-gradient(135deg, #fff8ea 0%, #f8f1fb 48%, #f0f4d8 100%);
  overflow-x: hidden;
}
a { color: inherit; text-decoration: none; }
img, video { max-width: 100%; display: block; }
.top-header {
  padding: 10px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: linear-gradient(90deg, var(--magenta), var(--olive-dark));
  color: white;
  font-weight: 800;
}
.header-contact, .social-links { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.header-contact span, .social-links a {
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.18);
  padding: 8px 13px;
  border-radius: 999px;
  transition: .3s ease;
}
.header-contact span:hover, .social-links a:hover { background: white; color: var(--magenta); transform: translateY(-3px); }

nav {
  position: sticky;
  top: 0;
  z-index: 50;
  padding: 16px 6%;
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(16px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 12px 30px rgba(37,48,68,.08);
}
.logo { display: flex; align-items: center; gap: 12px; }
.logo-mark {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  color: white;
  font-size: 26px;
  background: linear-gradient(135deg, var(--magenta), var(--olive));
  box-shadow: var(--shadow);
}
.logo h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  letter-spacing: -.5px;
}
.logo p { color: var(--muted); font-weight: 800; font-size: 13px; }
.nav-links { display: flex; align-items: center; gap: 20px; font-weight: 900; }
.nav-links a {
  padding: 10px 13px;
  border-radius: 999px;
  transition: .3s ease;
}
.nav-links a:hover, .nav-links a.active {
  background: var(--magenta-soft);
  color: var(--magenta);
}
.mobile-toggle {
  display: none;
  width: 48px;
  height: 48px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--magenta), var(--olive));
  color: white;
  font-size: 22px;
  cursor: pointer;
}

section, .page-section { padding: 86px 6%; position: relative; }
.section-title {
  text-align: center;
  margin-bottom: 46px;
}
.section-title span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 9px 17px;
  border-radius: 999px;
  background: var(--olive-soft);
  color: var(--olive-dark);
  font-weight: 900;
  margin-bottom: 12px;
}
.section-title h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.04;
  color: var(--ink);
}
.section-title p {
  color: var(--muted);
  font-weight: 700;
  max-width: 760px;
  margin: 12px auto 0;
  line-height: 1.7;
}

.hero {
  min-height: 820px;
  display: grid;
  grid-template-columns: 1.02fr .98fr;
  align-items: center;
  gap: 44px;
  overflow: hidden;
  background:
    radial-gradient(circle at 10% 18%, rgba(179,19,101,.16), transparent 26%),
    radial-gradient(circle at 87% 12%, rgba(111,125,31,.23), transparent 28%),
    linear-gradient(135deg, #fff8ea, #fbf0f7 45%, #f1f5d7);
}
.hero::before {
  content: "MIDDLE SCHOOL";
  position: absolute;
  left: -20px;
  bottom: 30px;
  font-family: "Montserrat", sans-serif;
  font-size: clamp(50px, 12vw, 170px);
  font-weight: 900;
  letter-spacing: -8px;
  color: rgba(37,48,68,.045);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; }
.pill {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  padding: 11px 18px;
  border-radius: 999px;
  color: var(--magenta);
  font-weight: 900;
  box-shadow: var(--shadow);
  margin-bottom: 20px;
}
.hero h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(46px, 7vw, 82px);
  line-height: .95;
  letter-spacing: -2px;
}
.gradient-text {
  background: linear-gradient(90deg, var(--magenta), var(--olive));
  -webkit-background-clip: text;
  color: transparent;
}
.hero p {
  margin: 24px 0;
  color: var(--muted);
  font-size: 19px;
  font-weight: 700;
  line-height: 1.8;
  max-width: 660px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  border-radius: 999px;
  padding: 15px 26px;
  font-weight: 900;
  transition: .3s ease;
}
.btn-primary { background: linear-gradient(135deg, var(--magenta), var(--olive)); color: white; box-shadow: 0 16px 34px rgba(179,19,101,.22); }
.btn-secondary { background: white; color: var(--olive-dark); box-shadow: var(--shadow); }
.btn:hover { transform: translateY(-5px) scale(1.03); }

.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin-top: 32px;
}
.metric {
  background: rgba(255,255,255,.82);
  border: 1px solid rgba(255,255,255,.9);
  border-radius: 24px;
  padding: 19px;
  box-shadow: 0 16px 34px rgba(37,48,68,.09);
}
.metric strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 30px;
  color: var(--magenta);
}
.metric small { color: var(--muted); font-weight: 900; }

.hero-media {
  position: relative;
  z-index: 2;
  padding: 15px;
  border-radius: 36px;
  background: white;
  box-shadow: var(--shadow);
}
.slider {
  height: 530px;
  border-radius: 26px;
  overflow: hidden;
  position: relative;
  background: var(--ink);
}
.slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: .9s ease;
}
.slide.active { opacity: 1; transform: scale(1); }
.slide img, .slide video { width: 100%; height: 100%; object-fit: cover; }
.slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(37,48,68,.62), transparent 58%);
}
.slide-caption {
  position: absolute;
  left: 24px;
  right: 24px;
  bottom: 24px;
  z-index: 3;
  color: white;
}
.slide-caption h3 { font-family: "Montserrat", sans-serif; font-size: 30px; margin-bottom: 8px; }
.slide-caption p { margin: 0; color: rgba(255,255,255,.86); font-size: 15px; }
.slider-dots { display: flex; gap: 10px; justify-content: center; margin-top: 16px; }
.dot {
  width: 13px;
  height: 13px;
  border-radius: 99px;
  border: 0;
  background: var(--olive-soft);
  cursor: pointer;
}
.dot.active { width: 38px; background: var(--magenta); }

.home-cards {
  margin-top: -40px;
  position: relative;
  z-index: 4;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.focus-card {
  background: white;
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
  border-bottom: 5px solid var(--olive);
  transition: .35s ease;
}
.focus-card:hover { transform: translateY(-10px); border-bottom-color: var(--magenta); }
.focus-card i {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 18px;
  background: var(--magenta-soft);
  color: var(--magenta);
  font-size: 25px;
  margin-bottom: 14px;
}
.focus-card h3 { font-family: "Montserrat", sans-serif; font-size: 22px; margin-bottom: 8px; }
.focus-card p { color: var(--muted); line-height: 1.65; font-weight: 700; }

.academics-grid, .about-grid, .contact-wrap {
  display: grid;
  grid-template-columns: .95fr 1.05fr;
  gap: 38px;
  align-items: center;
}
.image-frame {
  background: white;
  padding: 14px;
  border-radius: 34px;
  box-shadow: var(--shadow);
  overflow: hidden;
}
.image-frame img {
  width: 100%;
  height: 520px;
  object-fit: cover;
  border-radius: 24px;
}
.content-card {
  background: rgba(255,255,255,.82);
  border-radius: 34px;
  padding: 34px;
  box-shadow: var(--shadow);
}
.content-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 40px;
  line-height: 1.12;
  margin-bottom: 16px;
}
.content-card p {
  color: var(--muted);
  font-weight: 700;
  line-height: 1.85;
  margin-bottom: 16px;
}
.subject-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 22px;
}
.subject {
  display: flex;
  align-items: center;
  gap: 12px;
  background: linear-gradient(135deg, var(--magenta-soft), var(--olive-soft));
  border-radius: 18px;
  padding: 15px;
  font-weight: 900;
}
.subject i { color: var(--magenta); }

.life-section {
  background: linear-gradient(135deg, rgba(111,125,31,.14), rgba(179,19,101,.10));
}
.life-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.life-card {
  min-height: 330px;
  border-radius: 30px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.life-card img {
  width: 100%;
  height: 100%;
  min-height: 330px;
  object-fit: cover;
  transition: .55s ease;
}
.life-card:hover img { transform: scale(1.08); }
.life-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(37,48,68,.78), transparent);
}
.life-info {
  position: absolute;
  z-index: 2;
  bottom: 0;
  padding: 24px;
  color: white;
}
.life-info h3 { font-family: "Montserrat", sans-serif; font-size: 26px; margin-bottom: 8px; }
.life-info p { color: rgba(255,255,255,.84); font-weight: 700; line-height: 1.6; }

.inner-hero {
  padding: 90px 6%;
  text-align: center;
  background:
    radial-gradient(circle at 12% 30%, rgba(179,19,101,.18), transparent 25%),
    radial-gradient(circle at 88% 24%, rgba(111,125,31,.24), transparent 27%),
    linear-gradient(135deg, #fff8ea, #f0f4d8);
}
.inner-hero h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(44px, 7vw, 76px);
  line-height: 1;
}
.inner-hero p { margin-top: 12px; color: var(--muted); font-size: 19px; font-weight: 800; }

.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.team-card {
  background: white;
  border-radius: 28px;
  padding: 18px;
  box-shadow: var(--shadow);
  text-align: center;
  transition: .35s ease;
  overflow: hidden;
}
.team-card:hover { transform: translateY(-10px); }
.team-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  border-radius: 22px;
  margin-bottom: 18px;
}
.team-card h3 { font-family: "Montserrat", sans-serif; font-size: 22px; }
.team-card p { color: var(--muted); font-weight: 800; margin: 8px 0 14px; }
.team-social { display: flex; justify-content: center; gap: 10px; }
.team-social a {
  width: 38px; height: 38px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: var(--olive-soft);
  color: var(--olive-dark);
  transition: .3s;
}
.team-social a:hover { background: var(--magenta); color: white; }

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 18px;
}
.gallery-item {
  min-height: 250px;
  border-radius: 28px;
  overflow: hidden;
  position: relative;
  cursor: pointer;
  box-shadow: var(--shadow);
}
.gallery-item:nth-child(1), .gallery-item:nth-child(6) { grid-column: span 5; }
.gallery-item:nth-child(2), .gallery-item:nth-child(5) { grid-column: span 4; }
.gallery-item:nth-child(3), .gallery-item:nth-child(4) { grid-column: span 3; }
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: .55s ease;
}
.gallery-item:hover img { transform: scale(1.1); }
.gallery-item::after {
  content: "Open Gallery";
  position: absolute;
  inset: 16px;
  border-radius: 22px;
  background: rgba(179,19,101,.78);
  color: white;
  display: grid;
  place-items: center;
  font-family: "Montserrat", sans-serif;
  font-weight: 900;
  opacity: 0;
  transform: scale(.9);
  transition: .3s ease;
}
.gallery-item:hover::after { opacity: 1; transform: scale(1); }

.contact-card, .map-card {
  background: white;
  border-radius: 34px;
  padding: 34px;
  min-height: 430px;
  box-shadow: var(--shadow);
}
.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 18px;
  border-radius: 22px;
  margin-bottom: 18px;
  background: linear-gradient(135deg, var(--magenta-soft), var(--olive-soft));
  transition: .3s ease;
}
.contact-item:hover { transform: translateX(8px); }
.contact-item i {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  background: white;
  color: var(--magenta);
  font-size: 22px;
  flex: 0 0 50px;
}
.contact-item h4 { font-family: "Montserrat", sans-serif; font-size: 21px; margin-bottom: 6px; }
.contact-item p { color: var(--muted); font-weight: 800; line-height: 1.6; }
.map-card iframe { width: 100%; height: 100%; min-height: 365px; border: 0; border-radius: 24px; }

.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(20,24,34,.88);
  backdrop-filter: blur(12px);
  z-index: 100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}
.lightbox.open { display: flex; }
.lightbox-content { max-width: min(1000px, 92vw); max-height: 84vh; }
.lightbox-content img {
  max-height: 78vh;
  width: auto;
  max-width: 100%;
  border-radius: 26px;
  box-shadow: 0 26px 90px rgba(0,0,0,.35);
}
.lightbox-caption { color: white; text-align: center; font-weight: 900; margin-top: 14px; }
.lightbox button {
  position: absolute;
  border: 0;
  cursor: pointer;
  display: grid;
  place-items: center;
  color: var(--ink);
  background: white;
  box-shadow: var(--shadow);
}
.lightbox-close { width: 48px; height: 48px; border-radius: 50%; top: 18px; right: 18px; font-size: 24px; }
.lightbox-prev, .lightbox-next { width: 54px; height: 54px; border-radius: 50%; top: 50%; transform: translateY(-50%); font-size: 22px; }
.lightbox-prev { left: 24px; }
.lightbox-next { right: 24px; }

footer {
  padding: 64px 6% 24px;
  background: linear-gradient(135deg, var(--ink), var(--olive-dark));
  color: white;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.25fr .75fr .75fr 1fr;
  gap: 34px;
}
.footer-box h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 28px;
  margin-bottom: 14px;
}
.footer-box p, .footer-box li {
  color: rgba(255,255,255,.78);
  list-style: none;
  font-weight: 700;
  line-height: 1.85;
}
.footer-box a:hover { color: var(--magenta-soft); }
.footer-social { display: flex; gap: 12px; margin-top: 18px; }
.footer-social a {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: rgba(255,255,255,.12);
  display: grid;
  place-items: center;
  transition: .3s ease;
}
.footer-social a:hover { background: white; color: var(--magenta); transform: translateY(-5px); }
.copyright {
  text-align: center;
  margin-top: 44px;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.15);
  color: rgba(255,255,255,.84);
  font-weight: 800;
}
.copyright a { color: var(--magenta-soft); font-weight: 900; }
.whatsapp {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 90;
  width: 66px;
  height: 66px;
  border-radius: 50%;
  background: #25D366;
  color: white;
  display: grid;
  place-items: center;
  font-size: 34px;
  box-shadow: 0 16px 36px rgba(37,211,102,.38);
  animation: pulse 1.8s infinite;
}
@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(37,211,102,.42); }
  70% { box-shadow: 0 0 0 18px rgba(37,211,102,0); }
  100% { box-shadow: 0 0 0 0 rgba(37,211,102,0); }
}

@media (max-width: 1100px) {
  .hero, .academics-grid, .about-grid, .contact-wrap { grid-template-columns: 1fr; }
  .home-cards, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .life-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .slider { height: 450px; }
}
@media (max-width: 760px) {
  .top-header { justify-content: center; text-align: center; }
  .header-contact { justify-content: center; }
  nav { flex-wrap: wrap; }
  .mobile-toggle { display: grid; place-items: center; margin-left: auto; }
  .nav-links {
    display: none;
    flex-direction: column;
    width: 100%;
    gap: 10px;
    padding: 14px;
    border-radius: 22px;
    background: white;
    box-shadow: var(--shadow);
  }
  .nav-links.open { display: flex; }
  .nav-links a { text-align: center; background: linear-gradient(135deg, var(--magenta-soft), var(--olive-soft)); }
  section, .page-section { padding: 64px 5%; }
  .hero { min-height: auto; padding-top: 64px; }
  .hero-metrics, .home-cards, .team-grid, .footer-grid, .subject-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr; }
  .gallery-item { grid-column: auto !important; }
  .slider { height: 390px; }
  .image-frame img { height: 360px; }
  .contact-card, .map-card, .content-card { padding: 22px; }
  .logo h1 { font-size: 23px; }
  .lightbox-prev, .lightbox-next { top: auto; bottom: 28px; transform: none; }
}


/* Grade 5-10 full-size middle school upgrades */
.full-hero {
  min-height: 92vh;
  padding: 0;
  position: relative;
  overflow: hidden;
  background: var(--ink);
}
.full-slider {
  position: absolute;
  inset: 0;
  height: 100%;
}
.full-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  transform: scale(1.06);
  transition: 1s ease;
}
.full-slide.active {
  opacity: 1;
  transform: scale(1);
}
.full-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.full-slide::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(37,48,68,.88), rgba(37,48,68,.45), rgba(37,48,68,.16)),
    linear-gradient(to top, rgba(37,48,68,.65), transparent 55%);
}
.full-hero-content {
  position: relative;
  z-index: 4;
  min-height: 92vh;
  width: min(900px, 90%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin-left: 6%;
  color: white;
}
.full-hero-content .pill {
  width: fit-content;
  color: var(--magenta);
}
.full-hero-content h2 {
  font-family: "Montserrat", sans-serif;
  font-size: clamp(46px, 7.8vw, 94px);
  line-height: .92;
  letter-spacing: -3px;
}
.full-hero-content p {
  color: rgba(255,255,255,.86);
  font-size: 20px;
  line-height: 1.8;
  font-weight: 800;
  max-width: 760px;
  margin: 24px 0;
}
.full-hero-content .gradient-text {
  background: linear-gradient(90deg, #ff7abc, #dce979);
  -webkit-background-clip: text;
  color: transparent;
}
.full-slider-controls {
  position: absolute;
  z-index: 5;
  right: 6%;
  bottom: 40px;
  display: flex;
  align-items: center;
  gap: 12px;
}
.full-dot {
  width: 14px;
  height: 14px;
  border-radius: 999px;
  border: 2px solid white;
  background: transparent;
  cursor: pointer;
  transition: .3s ease;
}
.full-dot.active {
  width: 44px;
  background: var(--magenta);
  border-color: var(--magenta);
}
.hero-badge-panel {
  position: absolute;
  z-index: 5;
  right: 6%;
  top: 26%;
  display: grid;
  gap: 14px;
  width: 250px;
}
.badge-tile {
  background: rgba(255,255,255,.9);
  backdrop-filter: blur(14px);
  border-radius: 22px;
  padding: 18px;
  box-shadow: var(--shadow);
  border-left: 5px solid var(--olive);
}
.badge-tile strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  color: var(--magenta);
}
.badge-tile span {
  color: var(--muted);
  font-weight: 900;
}
.grade-band {
  padding: 28px 6%;
  background: linear-gradient(90deg, var(--magenta), var(--olive-dark));
  color: white;
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}
.grade-pill {
  text-align: center;
  padding: 16px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.13);
  border: 1px solid rgba(255,255,255,.18);
  font-weight: 900;
  transition: .3s ease;
}
.grade-pill:hover {
  background: white;
  color: var(--magenta);
  transform: translateY(-6px);
}
.home-highlight-grid {
  display: grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 28px;
  align-items: stretch;
}
.highlight-large {
  border-radius: 34px;
  min-height: 520px;
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow);
}
.highlight-large img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.highlight-large::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(37,48,68,.82), transparent 60%);
}
.highlight-copy {
  position: absolute;
  z-index: 2;
  left: 28px;
  right: 28px;
  bottom: 28px;
  color: white;
}
.highlight-copy h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 38px;
  line-height: 1.08;
  margin-bottom: 10px;
}
.highlight-copy p {
  color: rgba(255,255,255,.86);
  font-weight: 800;
  line-height: 1.7;
}
.highlight-stack {
  display: grid;
  gap: 18px;
}
.info-tile {
  background: white;
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 18px;
  align-items: start;
  transition: .3s ease;
}
.info-tile:hover { transform: translateX(10px); }
.info-tile i {
  width: 62px;
  height: 62px;
  display: grid;
  place-items: center;
  border-radius: 20px;
  background: linear-gradient(135deg, var(--magenta-soft), var(--olive-soft));
  color: var(--magenta);
  font-size: 27px;
}
.info-tile h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 23px;
  margin-bottom: 8px;
}
.info-tile p {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.65;
}
.pathway-section {
  background:
    radial-gradient(circle at 8% 20%, rgba(179,19,101,.12), transparent 25%),
    radial-gradient(circle at 90% 70%, rgba(111,125,31,.17), transparent 25%),
    linear-gradient(135deg, #fff8ea, #f4f6df);
}
.pathway-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.pathway-card {
  background: white;
  border-radius: 30px;
  padding: 30px;
  box-shadow: var(--shadow);
  position: relative;
  overflow: hidden;
  min-height: 300px;
}
.pathway-card::before {
  content: "";
  position: absolute;
  width: 150px;
  height: 150px;
  right: -55px;
  top: -55px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--magenta-soft), var(--olive-soft));
}
.pathway-card span {
  position: relative;
  width: 70px;
  height: 70px;
  display: grid;
  place-items: center;
  border-radius: 24px;
  color: white;
  background: linear-gradient(135deg, var(--magenta), var(--olive));
  font-size: 30px;
  margin-bottom: 20px;
}
.pathway-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 27px;
  margin-bottom: 12px;
}
.pathway-card p {
  color: var(--muted);
  font-weight: 800;
  line-height: 1.75;
}
.achievement-strip {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
}
.achievement {
  background: linear-gradient(135deg, var(--magenta), var(--olive-dark));
  color: white;
  border-radius: 28px;
  padding: 28px;
  box-shadow: var(--shadow);
}
.achievement strong {
  display: block;
  font-family: "Montserrat", sans-serif;
  font-size: 42px;
  line-height: 1;
}
.achievement span {
  display: block;
  margin-top: 8px;
  font-weight: 900;
  color: rgba(255,255,255,.84);
}
.club-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 16px;
}
.club-card {
  background: white;
  border-radius: 24px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: var(--shadow);
  transition: .3s ease;
}
.club-card:hover {
  transform: translateY(-9px);
  background: var(--olive-soft);
}
.club-card i {
  color: var(--magenta);
  font-size: 30px;
  margin-bottom: 12px;
}
.club-card h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 18px;
}
.new-footer {
  padding: 0;
  background: var(--ink);
  color: white;
}
.footer-main {
  padding: 58px 6%;
  display: grid;
  grid-template-columns: 1.3fr .8fr .95fr;
  gap: 34px;
  background:
    radial-gradient(circle at 8% 20%, rgba(179,19,101,.22), transparent 25%),
    linear-gradient(135deg, var(--ink), var(--olive-dark));
}
.footer-brand-card {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 30px;
  padding: 30px;
}
.footer-brand-card h3, .footer-links h3, .footer-contact h3 {
  font-family: "Montserrat", sans-serif;
  font-size: 26px;
  margin-bottom: 16px;
}
.footer-brand-card p, .footer-links li, .footer-contact p {
  color: rgba(255,255,255,.78);
  font-weight: 700;
  line-height: 1.8;
  list-style: none;
}
.footer-links ul {
  columns: 2;
}
.footer-links li {
  margin-bottom: 8px;
}
.footer-links a:hover { color: var(--magenta-soft); }
.footer-contact p {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 14px;
}
.footer-contact i { color: #dce979; margin-top: 5px; }
.footer-bottom {
  padding: 18px 6%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  background: rgba(0,0,0,.2);
  color: rgba(255,255,255,.8);
  font-weight: 800;
}
.footer-bottom a { color: var(--magenta-soft); font-weight: 900; }
.footer-social.compact {
  margin: 0;
}
@media (max-width: 1100px) {
  .hero-badge-panel { position: relative; top: auto; right: auto; width: auto; grid-template-columns: repeat(3, 1fr); margin: -110px 6% 40px; }
  .home-highlight-grid { grid-template-columns: 1fr; }
  .pathway-grid { grid-template-columns: 1fr; }
  .achievement-strip, .club-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-main { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .full-hero, .full-hero-content { min-height: 82vh; }
  .full-hero-content { margin-left: 5%; }
  .hero-badge-panel { grid-template-columns: 1fr; margin: 24px 5%; }
  .grade-band { grid-template-columns: repeat(2, 1fr); }
  .achievement-strip, .club-grid { grid-template-columns: 1fr; }
  .highlight-large { min-height: 420px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-links ul { columns: 1; }
}
