/* ═══════════════════════════════════════════
   KINETIC 132 — Main Stylesheet
   JBM Global School
═══════════════════════════════════════════ */

:root {
  --orange: #F26522;
  --pink:   #E91E8C;
  --green:  #8DC63F;
  --teal:   #00A79D;
  --black:  #1a1a1a;
  --offwhite: #FFF9F3;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Nunito', sans-serif;
  background: var(--offwhite);
  color: var(--black);
  overflow-x: hidden;
}

/* ═══ SCHOOL BANNER ═══ */
.school-banner {
  background: linear-gradient(90deg, var(--teal) 0%, #00c4b8 100%);
  text-align: center;
  padding: 9px 20px;
  font-size: 0.78rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}
.school-banner span {
  color: rgba(255,255,255,0.68);
  font-weight: 600;
  margin: 0 10px;
}

/* ═══ NAV ═══ */
nav {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: 0 2px 16px rgba(0,0,0,0.09);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 8px 48px;
}
.nav-logo img { height: 58px; display: block; }
.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  text-decoration: none;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--black);
  transition: color .2s;
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
}
.nav-links a:hover { color: var(--orange); border-bottom-color: var(--orange); }
.nav-cta {
  background: var(--orange) !important;
  color: #fff !important;
  padding: 9px 22px;
  border-radius: 40px;
  border-bottom: none !important;
  box-shadow: 0 4px 14px rgba(242,101,34,0.35);
  transition: transform .2s, box-shadow .2s !important;
}
.nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(242,101,34,0.42) !important;
}
.nav-pdf-btn {
  background: var(--teal);
  color: #fff;
  padding: 9px 20px;
  border-radius: 40px;
  border: none;
  font-family: 'Nunito', sans-serif;
  font-size: 0.88rem;
  font-weight: 800;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 14px rgba(0,167,157,0.32);
  transition: transform .2s, box-shadow .2s;
  white-space: nowrap;
}
.nav-pdf-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0,167,157,0.42);
}
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--black);
  border-radius: 2px;
  transition: all .3s;
}

/* ═══ MOBILE MENU ═══ */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  background: #fff;
  z-index: 200;
  padding: 30px 28px;
  flex-direction: column;
  gap: 0;
}
.mobile-menu.open { display: flex; }
.mobile-menu-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}
.mobile-menu a {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--black);
  text-decoration: none;
  padding: 16px 0;
  border-bottom: 1px solid #f0f0f0;
}
.mobile-menu a:last-child { border: none; }
.close-btn {
  font-size: 1.6rem;
  cursor: pointer;
  color: var(--black);
  background: none;
  border: none;
  line-height: 1;
}

/* ═══ HERO ═══ */
.hero {
  display: grid;
  grid-template-columns: 46% 54%;
  min-height: 90vh;
  overflow: hidden;
}
.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 70px 50px 70px 60px;
  background: #fff;
  position: relative;
  overflow: hidden;
}
.hero-decor {
  position: absolute;
  bottom: -60px; left: -60px;
  width: 340px; height: 340px;
  border-radius: 50%;
  background: rgba(242,101,34,0.05);
  pointer-events: none;
}
.hero-badge {
  display: inline-block;
  background: var(--orange);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 40px;
  margin-bottom: 22px;
  width: fit-content;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(4rem, 6vw, 7rem);
  line-height: .88;
  color: var(--black);
  margin-bottom: 14px;
}
.hero-title span { color: var(--orange); }
.hero-tagline {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--teal);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 22px;
}
.hero-desc {
  font-size: .96rem;
  line-height: 1.8;
  color: #555;
  margin-bottom: 36px;
  max-width: 400px;
}
.hero-btns { display: flex; gap: 12px; flex-wrap: wrap; }
.hero-right {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: 1fr 1fr;
}
.hero-right img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.hi-tall { grid-row: 1 / 3; }

/* ═══ BUTTONS ═══ */
.btn-orange {
  background: var(--orange);
  color: #fff;
  padding: 15px 30px;
  border-radius: 50px;
  border: none;
  font-family: 'Nunito', sans-serif;
  font-size: .96rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  box-shadow: 0 6px 22px rgba(242,101,34,0.38);
  transition: transform .2s, box-shadow .2s;
}
.btn-orange:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(242,101,34,0.44);
}
.btn-teal {
  background: #fff;
  color: var(--teal);
  border: 2.5px solid var(--teal);
  padding: 13px 26px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: .96rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all .2s;
}
.btn-teal:hover { background: var(--teal); color: #fff; transform: translateY(-3px); }
.btn-white {
  background: #fff;
  color: var(--orange);
  padding: 16px 36px;
  border-radius: 50px;
  border: none;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 900;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 8px 28px rgba(0,0,0,0.18);
  transition: all .2s;
}
.btn-white:hover { transform: translateY(-4px); box-shadow: 0 14px 36px rgba(0,0,0,0.24); }
.btn-dl {
  background: rgba(255,255,255,0.12);
  color: #fff;
  border: 2px solid rgba(255,255,255,0.8);
  padding: 16px 32px;
  border-radius: 50px;
  font-family: 'Nunito', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: all .2s;
}
.btn-dl:hover { background: rgba(255,255,255,0.22); transform: translateY(-3px); }

/* ═══ SECTIONS ═══ */
.section { padding: 80px 60px; }
.bg-white { background: #fff; }
.bg-off   { background: var(--offwhite); }
.s-tag {
  text-align: center;
  font-size: .72rem;
  font-weight: 800;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 8px;
}
.s-title {
  text-align: center;
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2rem, 4vw, 3.6rem);
  margin-bottom: 50px;
}

/* ═══ PILLARS ═══ */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  max-width: 1080px;
  margin: 0 auto;
}
.p-card {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 4px 22px rgba(0,0,0,0.09);
  background: #fff;
  transition: transform .28s, box-shadow .28s;
}
.p-card:hover { transform: translateY(-10px); box-shadow: 0 22px 46px rgba(0,0,0,0.14); }
.p-card img { width: 100%; height: 215px; object-fit: cover; display: block; }
.p-body { padding: 22px 24px; }
.p-card:nth-child(1) .p-body { border-top: 4px solid var(--pink); }
.p-card:nth-child(2) .p-body { border-top: 4px solid var(--teal); }
.p-card:nth-child(3) .p-body { border-top: 4px solid var(--green); }
.p-icon { font-size: 1.8rem; margin-bottom: 8px; }
.p-body h3 { font-size: 1.12rem; font-weight: 900; margin-bottom: 6px; }
.p-body p  { font-size: .875rem; color: #555; line-height: 1.65; }

/* ═══ SPORTS GALLERY ═══ */
.sports-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-template-rows: 280px 280px;
  gap: 10px;
  max-width: 1080px;
  margin: 0 auto;
  border-radius: 20px;
  overflow: hidden;
}
.sg { overflow: hidden; position: relative; background: #eee; }
.sg img {
  width: 100%; height: 100%;
  object-fit: cover; display: block;
  transition: transform .45s;
}
.sg:hover img { transform: scale(1.06); }
.sg-wide { grid-column: span 2; }
.sg-label {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.68));
  color: #fff;
  font-weight: 800;
  font-size: .82rem;
  padding: 28px 14px 12px;
  letter-spacing: .06em;
  text-transform: uppercase;
}

/* ═══ REGISTER ═══ */
.reg-section {
  padding: 90px 60px;
  background: linear-gradient(135deg, var(--orange) 0%, #ff8830 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}
.reg-section::before {
  content: 'KINETIC';
  position: absolute;
  left: 50%; top: 50%;
  transform: translate(-50%, -50%);
  font-family: 'Bebas Neue', sans-serif;
  font-size: 18vw;
  color: rgba(255,255,255,0.05);
  white-space: nowrap;
  pointer-events: none;
}
.reg-section h2 {
  font-family: 'Bebas Neue', sans-serif;
  font-size: clamp(2.5rem, 5vw, 4.2rem);
  color: #fff;
  margin-bottom: 14px;
}
.reg-section > p {
  color: rgba(255,255,255,0.93);
  font-size: 1rem;
  max-width: 540px;
  margin: 0 auto 36px;
  line-height: 1.78;
}
.reg-types { display: flex; justify-content: center; gap: 20px; margin-bottom: 42px; flex-wrap: wrap; }
.rt {
  background: rgba(255,255,255,0.14);
  backdrop-filter: blur(8px);
  border: 1.5px solid rgba(255,255,255,0.3);
  border-radius: 18px;
  padding: 22px 30px;
  color: #fff;
  min-width: 175px;
}
.rt-num { font-family: 'Bebas Neue', sans-serif; font-size: 2.6rem; line-height: 1; margin-bottom: 4px; }
.rt h4  { font-size: .96rem; font-weight: 800; margin-bottom: 4px; }
.rt p   { font-size: .8rem; color: rgba(255,255,255,0.82); margin: 0; }
.reg-cta { display: flex; justify-content: center; align-items: center; gap: 16px; flex-wrap: wrap; }
.reg-note { font-size: .8rem; color: rgba(255,255,255,0.72); margin-top: 22px; font-style: italic; }

/* ═══ FOOTER ═══ */
footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  text-align: center;
  padding: 36px 40px;
  font-size: .84rem;
}
footer img { height: 70px; margin: 0 auto 16px; display: block; background: #fff; border-radius: 12px; padding: 6px 14px; }
footer strong { color: #fff; }
.footer-links { display: flex; justify-content: center; gap: 24px; margin: 14px 0; flex-wrap: wrap; }
.footer-links a { color: rgba(255,255,255,0.45); text-decoration: none; font-size: .82rem; transition: color .2s; }
.footer-links a:hover { color: #fff; }

/* ═══ TABLET (max 900px) ═══ */
@media (max-width: 900px) {
  nav { padding: 8px 24px; }
  .section { padding: 60px 32px; }
  .reg-section { padding: 70px 32px; }
  .pillars-grid { grid-template-columns: 1fr 1fr; }
  .sports-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 220px);
  }
  .sg-wide { grid-column: span 1; }
}

/* ═══ MOBILE (max 768px) ═══ */
@media (max-width: 768px) {
  .school-banner { font-size: .68rem; padding: 7px 16px; }
  nav { padding: 8px 20px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* Hero */
  .hero { grid-template-columns: 1fr; grid-template-rows: auto auto; min-height: auto; }
  .hero-left  { padding: 44px 24px 40px; order: 2; }
  .hero-desc  { max-width: 100%; }
  .hero-right { order: 1; height: 58vw; }
  .hi-tall    { grid-row: 1 / 3; }

  /* Pillars */
  .section { padding: 52px 20px; }
  .pillars-grid { grid-template-columns: 1fr; gap: 20px; }
  .p-card img { height: 180px; }

  /* Sports grid */
  .sports-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-rows: repeat(4, 160px);
    gap: 6px;
  }
  .sg-wide { grid-column: span 1; }

  /* Register */
  .reg-section { padding: 60px 20px; }
  .reg-section h2 { font-size: 2.2rem; }
  .reg-types  { gap: 14px; }
  .rt         { min-width: 140px; padding: 18px 20px; }
  .reg-cta    { flex-direction: column; align-items: stretch; }
  .btn-white,
  .btn-dl     { justify-content: center; width: 100%; padding: 16px 20px; }

  /* Footer */
  footer { padding: 28px 20px; }
  .footer-links { gap: 16px; }

  /* Buttons */
  .hero-btns  { flex-direction: column; }
  .btn-orange,
  .btn-teal   { justify-content: center; text-align: center; }
}

/* ═══ SMALL PHONE (max 480px) ═══ */
@media (max-width: 480px) {
  .hero-right { height: 70vw; }
  .hero-title { font-size: 3.4rem; }
  .sports-grid {
    grid-template-columns: 1fr;
    grid-template-rows: repeat(6, 200px);
  }
}
