/* ==========================================================================
   HEXABEE KIDS — STYLESHEET
   Sections: 1. Reset & Variables  2. Base/Typography  3. Utilities
   4. Loader/Progress/Cursor  5. Background & Particles  6. Bee Mascot
   7. Navbar  8. Hero  9. Mission  10. Hexa Orbit  11. Hive Philosophy
   12. Mentor Cards  13. Why720 + Feature Grid  14. CTA  15. Footer
   16. Reveal Animations  17. Responsive  18. Reduced Motion
   ========================================================================== */

/* ---------- 1. RESET & VARIABLES ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

:root {
  --navy: #081B6E;
  --yellow: #FFC107;
  --pink: #FF006E;
  --green: #66A63A;
  --blue: #1E88E5;
  --orange: #FF6F00;
  --bg: #FFFFFF;

  --navy-soft: rgba(8, 27, 110, 0.08);
  --shadow-soft: 0 20px 60px rgba(8, 27, 110, 0.10);
  --shadow-lift: 0 30px 70px rgba(8, 27, 110, 0.18);
  --glass-bg: rgba(255, 255, 255, 0.55);
  --glass-border: rgba(255, 255, 255, 0.6);

  --font-head: 'Poppins', sans-serif;
  --font-body: 'Inter', sans-serif;

  --section-pad: clamp(50px, 7.5vw, 100px);
  --radius-lg: 32px;
  --radius-md: 20px;
  --ease-out: cubic-bezier(.16,1,.3,1);
  --ease-soft: cubic-bezier(.22,.61,.36,1);
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--navy);
  font-family: var(--font-body);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* ---------- 2. BASE / TYPOGRAPHY ---------- */
h1, h2, h3 { font-family: var(--font-head); font-weight: 800; margin: 0; line-height: 1.08; }
p { margin: 0; line-height: 1.65; }
a { color: inherit; text-decoration: none; }
img, svg { display: block; max-width: 100%; }
button { font-family: inherit; cursor: pointer; background: none; border: none; color: inherit; }
ul { list-style: none; margin: 0; padding: 0; }

::selection { background: var(--yellow); color: var(--navy); }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--blue);
  outline-offset: 4px;
  border-radius: 6px;
}

/* ---------- 3. UTILITIES ---------- */
.section-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
}

section { position: relative; padding: var(--section-pad) 0; overflow: clip; scroll-margin-top: 74px; }

.eyebrow {
  display: inline-block;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--orange);
  margin-bottom: 18px;
  position: relative;
  padding-left: 28px;
}
.eyebrow::before {
  content: "";
  position: absolute;
  left: 0; top: 50%;
  transform: translateY(-50%);
  width: 18px; height: 18px;
  background: var(--yellow);
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.eyebrow--light { color: var(--yellow); }
.eyebrow--center { display: block; text-align: center; padding-left: 0; }
.eyebrow--center::before { display: none; }

.section-title {
  font-size: clamp(2rem, 4vw, 3.1rem);
  color: var(--navy);
  margin-bottom: 24px;
}
.section-title span { color: var(--orange); }
.section-title--light { color: #fff; }
.section-title--center { text-align: center; margin-left: auto; margin-right: auto; max-width: 700px; }

.section-text {
  font-size: 1.08rem;
  color: rgba(8,27,110,0.72);
  max-width: 480px;
  margin-bottom: 18px;
}
.section-text--light { color: rgba(255,255,255,0.85); max-width: 460px; }

.glass-card {
  background: var(--glass-bg);
  backdrop-filter: blur(18px) saturate(160%);
  -webkit-backdrop-filter: blur(18px) saturate(160%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
}

/* Buttons */
.btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 1rem;
  padding: 17px 30px;
  border-radius: 100px;
  isolation: isolate;
  overflow: hidden;
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out);
}
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--pink), var(--orange) 60%, var(--yellow));
  background-size: 180% 180%;
  box-shadow: 0 14px 34px rgba(255, 111, 0, 0.35);
  animation: gradientShift 6s ease infinite;
}
.btn--primary:hover { transform: translateY(-3px) scale(1.03); box-shadow: 0 20px 44px rgba(255, 0, 110, 0.4); }
.btn--ghost {
  color: var(--navy);
  border: 1.5px solid rgba(8,27,110,0.25);
  background: rgba(255,255,255,0.4);
}
.btn--ghost:hover { border-color: var(--navy); background: rgba(255,255,255,0.7); transform: translateY(-3px); }
.btn--large { padding: 20px 38px; font-size: 1.1rem; }
.btn-arrow { transition: transform .35s var(--ease-out); }
.btn:hover .btn-arrow { transform: translateX(5px); }

.btn .ripple {
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.55);
  transform: scale(0);
  animation: rippleAnim .6s ease-out forwards;
  pointer-events: none;
}
@keyframes rippleAnim { to { transform: scale(2.6); opacity: 0; } }

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

/* ---------- 4. LOADER / PROGRESS / CURSOR ---------- */
.loader {
  position: fixed; inset: 0; z-index: 9999;
  background: var(--bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .7s var(--ease-out), visibility .7s;
}
.loader.is-done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-hex { width: 64px; height: 64px; animation: loaderSpin 1.1s ease-in-out infinite; }
.loader-hex svg { width: 100%; height: 100%; }
.loader-hex polygon { fill: var(--yellow); }
@keyframes loaderSpin {
  0% { transform: scale(0.7) rotate(0deg); opacity: 0.5; }
  50% { transform: scale(1) rotate(180deg); opacity: 1; }
  100% { transform: scale(0.7) rotate(360deg); opacity: 0.5; }
}

.scroll-progress {
  position: fixed; top: 0; left: 0; height: 3px;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow));
  width: 0%;
  z-index: 1001;
  transition: width .12s linear;
}

.cursor-spotlight {
  position: fixed;
  width: 420px; height: 420px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255,193,7,0.14), transparent 70%);
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2;
  left: -500px; top: -500px;
  transition: opacity .3s ease;
  will-change: transform;
}

/* ---------- 5. BACKGROUND & PARTICLES ---------- */
.bg-layers { position: fixed; inset: 0; z-index: 0; pointer-events: none; overflow: hidden; }

.honeycomb-layer {
  position: absolute;
  top: -10%; left: -10%;
  width: 120%; height: 140%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='84' height='96' viewBox='0 0 84 96'%3E%3Cpolygon points='21,2 63,2 84,25 63,48 21,48 0,25' fill='none' stroke='%23081B6E' stroke-width='1'/%3E%3Cpolygon points='21,50 63,50 84,73 63,96 21,96 0,73' fill='none' stroke='%23081B6E' stroke-width='1'/%3E%3C/svg%3E");
  background-size: 168px 192px;
  will-change: transform;
}
.honeycomb-layer--1 { opacity: 0.05; }
.honeycomb-layer--2 { opacity: 0.045; background-size: 96px 110px; }

.glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(90px);
  opacity: 0.35;
  will-change: transform;
}
.glow-blob--1 { width: 480px; height: 480px; background: var(--yellow); top: 0%; left: -8%; }
.glow-blob--2 { width: 560px; height: 560px; background: var(--pink); top: 55%; right: -12%; opacity: .22; }
.glow-blob--3 { width: 420px; height: 420px; background: var(--blue); top: 120%; left: 10%; opacity: .18; }

.particle-field { position: fixed; inset: 0; z-index: 1; pointer-events: none; overflow: hidden; }
.particle {
  position: absolute;
  border-radius: 50%;
  will-change: transform, opacity;
  animation: particleFloat linear infinite;
}
.particle--hex {
  border-radius: 0;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
}
.particle--sparkle {
  border-radius: 50%;
  animation: particleFloat linear infinite, sparkleTwinkle 1.8s ease-in-out infinite;
}
@keyframes particleFloat {
  0% { transform: translateY(0) translateX(0) rotate(0deg); opacity: 0; }
  10% { opacity: 1; }
  90% { opacity: 1; }
  100% { transform: translateY(-120vh) translateX(30px) rotate(180deg); opacity: 0; }
}
@keyframes sparkleTwinkle { 0%,100% { filter: brightness(1); } 50% { filter: brightness(1.8); } }

.deco-line {
  position: absolute;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255,193,7,0.5), transparent);
  will-change: transform, opacity;
  animation: lineDrift 14s ease-in-out infinite;
}
.deco-line--1 { width: 340px; top: 22%; left: 6%; transform: rotate(-18deg); animation-delay: 0s; }
.deco-line--2 { width: 260px; top: 62%; right: 8%; transform: rotate(14deg); background: linear-gradient(90deg, transparent, rgba(255,0,110,0.35), transparent); animation-delay: 2.5s; }
.deco-line--3 { width: 220px; top: 140%; left: 14%; transform: rotate(-8deg); background: linear-gradient(90deg, transparent, rgba(30,136,229,0.35), transparent); animation-delay: 5s; }
@keyframes lineDrift { 0%,100% { opacity: .3; transform-origin: left center; } 50% { opacity: .8; } }

/* ---------- 6. BEE MASCOT ---------- */
.bee-wrap {
  position: fixed;
  top: 0; left: 0;
  width: 90px; height: 90px;
  z-index: 40;
  pointer-events: none;
  will-change: transform;
  transform: translate3d(-200px, -200px, 0);
}
.bee { position: relative; z-index: 2; overflow: visible; filter: drop-shadow(0 10px 14px rgba(8,27,110,0.25)); }
.bee-shadow {
  position: absolute;
  bottom: -6px; left: 50%;
  width: 50px; height: 10px;
  background: rgba(8,27,110,0.28);
  border-radius: 50%;
  transform: translateX(-50%);
  filter: blur(4px);
  transition: width .3s ease, opacity .3s ease;
}
.bee-wing { fill: rgba(255,255,255,0.75); stroke: rgba(8,27,110,0.4); stroke-width: 1; transform-origin: 40px 30px; }
.bee-wing--right { transform-origin: 80px 30px; }
.bee.is-flapping .bee-wing--left { animation: flapLeft 0.12s ease-in-out infinite; }
.bee.is-flapping .bee-wing--right { animation: flapRight 0.12s ease-in-out infinite; }
.bee.is-landed .bee-wing--left, .bee.is-landed .bee-wing--right { animation: flapSlow 1.4s ease-in-out infinite; }
@keyframes flapLeft { 0%,100% { transform: scaleY(1) rotate(0deg); } 50% { transform: scaleY(0.55) rotate(-8deg); } }
@keyframes flapRight { 0%,100% { transform: scaleY(1) rotate(0deg); } 50% { transform: scaleY(0.55) rotate(8deg); } }
@keyframes flapSlow { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(0.85); } }

.bee-antenna { transform-origin: 60px 38px; }
.bee.is-flapping .bee-antenna--l { animation: antBounceL 0.9s ease-in-out infinite; }
.bee.is-flapping .bee-antenna--r { animation: antBounceR 0.9s ease-in-out infinite; }
@keyframes antBounceL { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(4deg); } }
@keyframes antBounceR { 0%,100% { transform: rotate(0deg); } 50% { transform: rotate(-4deg); } }

/* ---------- 7. NAVBAR ---------- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 100;
  padding: 14px 0;
  transition: background .4s var(--ease-out), box-shadow .4s var(--ease-out), padding .4s var(--ease-out);
}
.navbar.is-scrolled {
  padding: 9px 0;
  background: rgba(255,255,255,0.72);
  backdrop-filter: blur(16px) saturate(160%);
  -webkit-backdrop-filter: blur(16px) saturate(160%);
  box-shadow: 0 10px 40px rgba(8,27,110,0.08);
}
.nav-inner {
  max-width: 1240px; margin: 0 auto; padding: 0 32px;
  display: flex; align-items: center; justify-content: space-between;
}
.nav-logo { display: flex; align-items: center; gap: 9px; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; color: var(--navy); }
.nav-logo em { font-style: normal; color: var(--orange); }
.nav-logo-icon { display: block; object-fit: contain; transition: transform .4s var(--ease-out); }
.nav-logo:hover .nav-logo-icon { transform: scale(1.08) rotate(-4deg); }
.nav-menu { display: flex; align-items: center; gap: 30px; }
.nav-menu a { font-weight: 500; font-size: 0.95rem; position: relative; padding: 6px 0; display: inline-block; transition: color .3s ease, transform .3s var(--ease-out); }
.nav-menu a:not(.nav-cta)::after {
  content: ""; position: absolute; left: 0; bottom: 0; height: 2.5px; width: 0%; border-radius: 2px;
  background: linear-gradient(90deg, var(--pink), var(--orange), var(--yellow));
  transition: width .4s var(--ease-out);
}
.nav-menu a:not(.nav-cta):hover { color: var(--orange); transform: translateY(-1px); }
.nav-menu a:not(.nav-cta):hover::after, .nav-menu a.is-active::after { width: 100%; }
.nav-menu a.is-active { color: var(--orange); }
.nav-cta {
  font-family: var(--font-head); font-weight: 600;
  background: var(--navy); color: #fff !important;
  padding: 10px 22px !important; border-radius: 100px;
  transition: transform .3s var(--ease-out), background .3s, box-shadow .3s;
}
.nav-cta:hover { background: var(--orange); transform: translateY(-2px); box-shadow: 0 10px 24px rgba(255,111,0,0.35); }

.nav-toggle { display: none; flex-direction: column; gap: 5px; width: 30px; }
.nav-toggle span { width: 100%; height: 2.5px; background: var(--navy); border-radius: 2px; transition: transform .3s, opacity .3s; }
.nav-toggle[aria-expanded="true"] span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.nav-toggle[aria-expanded="true"] span:nth-child(2) { opacity: 0; }
.nav-toggle[aria-expanded="true"] span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ---------- 8. HERO ---------- */
.hero {
  height: auto;
  min-height: 100vh;
  display: flex; align-items: center;
  padding: 150px 0px;
  background-image: url("assets/images/banner-img.webp");
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(
    90deg,
    rgba(255,244,205,0.92) 0%,
    rgba(255,244,205,0.68) 40%,
    rgba(255,244,205,0.15) 70%,
    rgba(255,244,205,0) 100%
  );
}
.hero-inner {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 32px 0 clamp(32px, 5vw, 72px);
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.hero-content { flex: 0 1 45%; max-width: 600px; text-align: left; }
.hero-visual { flex: 0 1 55%; }
@keyframes rotateSlow { to { transform: rotate(360deg); } }

.eyebrow { opacity: 0; transform: translateY(16px); }
.hero .eyebrow { color: #000; }
.hero-title .line { display: block; opacity: 0; transform: translateY(40px); }
.hero-title .line--accent { background: linear-gradient(120deg, var(--pink), var(--orange)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero-title { font-size: clamp(2.4rem, 6vw, 4.4rem); margin-bottom: 20px; color: #000; }
.hero-sub { font-size: 1.15rem; color: rgba(0,0,0,0.9); max-width: 540px; margin: 0 0 34px; opacity: 0; transform: translateY(20px); }
.hero-actions { display: flex; gap: 18px; justify-content: flex-start; flex-wrap: wrap; opacity: 0; transform: translateY(20px); }

[data-reveal].is-visible { animation: revealUp .9s var(--ease-out) forwards; }
@keyframes revealUp { to { opacity: 1; transform: translateY(0); } }

.scroll-indicator {
  position: absolute; bottom: 40px; left: 50%; transform: translateX(-50%);
  width: 30px; height: 48px; border: 2px solid rgba(8,27,110,0.3); border-radius: 20px;
  display: flex; justify-content: center; padding-top: 8px;
  z-index: 2;
}
.scroll-indicator-dot { width: 5px; height: 9px; border-radius: 3px; background: var(--orange); animation: scrollDot 1.6s ease-in-out infinite; }
@keyframes scrollDot { 0% { transform: translateY(0); opacity: 1; } 60% { transform: translateY(14px); opacity: 0; } 100% { opacity: 0; } }

/* ---------- 9. MISSION ---------- */
.mission {
  display: flex; justify-content: center;
  padding-top: calc(var(--section-pad) * 0.3);
  padding-bottom: calc(var(--section-pad) * 0.5);
}
.mission-card {
  max-width: 720px; margin: 0 auto; padding: 44px 48px; text-align: center;
  opacity: 0; transform: translateY(30px) scale(0.97);
}
.mission-icon { width: 60px; height: 60px; margin: 0 auto 24px; animation: floatY 4s ease-in-out infinite; }
@keyframes floatY { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }
.mission-quote { font-family: var(--font-head); font-weight: 700; font-size: clamp(1.3rem, 3vw, 2rem); color: var(--navy); }
.mission-quote span { color: var(--orange); }
.mission-label { margin-top: 20px; font-size: 0.85rem; letter-spacing: 0.18em; text-transform: uppercase; color: rgba(8,27,110,0.5); }

/* ---------- 10. HEXA ORBIT ---------- */
.orbit-section { padding-top: calc(var(--section-pad) * 0.75); padding-bottom: calc(var(--section-pad) * 0.75); }
.orbit-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; align-items: center; }
.orbit-copy .section-text { max-width: 460px; }

.hexa-orbit {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  max-width: 620px;
  margin: 0 auto;
}
.hexa-cell {
  position: absolute;
  top: 50%; left: 50%;
  width: 185px; height: 163px;
  margin: -81.5px 0 0 -92.5px;
  clip-path: polygon(25% 0%, 75% 0%, 100% 50%, 75% 100%, 25% 100%, 0% 50%);
  display: flex; align-items: center; justify-content: center; text-align: center;
  padding: 14px;
  font-family: var(--font-head); font-weight: 600; font-size: 0.92rem;
  color: #fff;
  background: linear-gradient(150deg, var(--navy), #123099);
  box-shadow: 0 16px 30px rgba(8,27,110,0.22);
  opacity: 0; transform: translate(var(--tx, 0), var(--ty, 0)) scale(0.5);
  transition: transform .6s var(--ease-out), box-shadow .35s ease, opacity .6s var(--ease-out), filter .35s ease;
  cursor: pointer;
}
.hexa-cell.is-visible { opacity: 1; transform: translate(var(--tx, 0), var(--ty, 0)) scale(1); }
.hexa-cell span { display: inline-block; animation: hexBob 3.6s ease-in-out infinite; animation-play-state: paused; }
.hexa-cell.is-visible span { animation-play-state: running; }
@keyframes hexBob { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-7px); } }
.hexa-cell--1 span { animation-delay: 0s; }
.hexa-cell--2 span { animation-delay: .5s; animation-duration: 3.9s; }
.hexa-cell--3 span { animation-delay: 1s; animation-duration: 3.3s; }
.hexa-cell--4 span { animation-delay: 1.5s; animation-duration: 4.1s; }
.hexa-cell--5 span { animation-delay: .8s; animation-duration: 3.7s; }
.hexa-cell--6 span { animation-delay: .2s; animation-duration: 3.5s; }
.hexa-cell--center {
  z-index: 3;
  width: 194px; height: 172px; margin: -86px 0 0 -97px;
  background: linear-gradient(150deg, var(--pink), var(--orange));
  font-size: 1.05rem;
  box-shadow: 0 20px 50px rgba(255,0,110,0.35);
  opacity: 1; transform: translate(0,0) scale(1);
  animation: centerPulse 3.6s ease-in-out infinite;
}
@keyframes centerPulse { 0%,100% { box-shadow: 0 20px 50px rgba(255,0,110,0.30); } 50% { box-shadow: 0 24px 60px rgba(255,193,7,0.45); } }

.hexa-cell--1 { --tx: 0px; --ty: -209px; transition-delay: .05s; }
.hexa-cell--2 { --tx: 180px; --ty: -104px; transition-delay: .15s; }
.hexa-cell--3 { --tx: 180px; --ty: 104px; transition-delay: .25s; }
.hexa-cell--4 { --tx: 0px; --ty: 209px; transition-delay: .35s; }
.hexa-cell--5 { --tx: -180px; --ty: 104px; transition-delay: .45s; }
.hexa-cell--6 { --tx: -180px; --ty: -104px; transition-delay: .55s; }

.hexa-cell:not(.hexa-cell--center):hover {
  filter: brightness(1.15);
  box-shadow: 0 0 0 3px var(--yellow), 0 20px 40px rgba(255,193,7,0.4);
  z-index: 4;
}
.hexa-cell:not(.hexa-cell--center):hover { transform: translate(var(--tx,0), var(--ty,0)) scale(1.08); }

/* ---------- 11. HIVE PHILOSOPHY ---------- */
.hive { padding-top: calc(var(--section-pad) * 0.6); padding-bottom: calc(var(--section-pad) * 0.6); }
.hive-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 30px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  padding: clamp(36px, 5vw, 68px);
  background: linear-gradient(135deg, var(--orange), #ff9800 55%, var(--yellow));
  opacity: 0; transform: translateY(30px);
}
.hive-decor { position: absolute; inset: 0; pointer-events: none; }
.hive-honeycomb-deco { position: absolute; right: -40px; top: -40px; width: 280px; animation: rotateSlow 50s linear infinite; }
.hive-bee-deco { position: absolute; left: 6%; bottom: 8%; width: 90px; animation: floatY 5s ease-in-out infinite; }
.hive-content { position: relative; flex: 1 1 480px; max-width: 540px; }
.hive-icons { display: flex; gap: 30px; margin-top: 28px; flex-wrap: wrap; }
.hive-icon { display: flex; flex-direction: column; align-items: center; gap: 10px; color: #fff; font-size: 0.85rem; font-weight: 500; }
.hive-icon svg { width: 34px; height: 34px; }

/* Right-side illustration composition */
.hive-illustration {
  position: relative;
  flex: 1 1 340px;
  min-height: 320px;
  align-self: stretch;
  display: block;
}
.hive-illustration svg { position: absolute; inset: 0; width: 100%; height: 100%; overflow: visible; }
.hive-illo-float { animation: floatY 5.5s ease-in-out infinite; }
.hive-illo-float--slow { animation-duration: 7.5s; animation-delay: .4s; }
.hive-illo-float--fast { animation-duration: 4.2s; animation-delay: .9s; }
.hive-illo-spin { transform-origin: center; animation: rotateSlow 40s linear infinite; }
.hive-illo-spin--rev { animation-direction: reverse; animation-duration: 55s; }
.hive-illo-twinkle { animation: illoTwinkle 2.6s ease-in-out infinite; }
@keyframes illoTwinkle { 0%,100% { opacity: .35; } 50% { opacity: 1; } }
.hive-illo-wing { animation: illoFlap .18s ease-in-out infinite; transform-origin: center; }
@keyframes illoFlap { 0%,100% { transform: scaleY(1); } 50% { transform: scaleY(0.6); } }

/* ---------- 12. MENTOR CARDS ---------- */
.mentor { padding-top: calc(var(--section-pad) * 0.55); }
.mentor-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; margin-top: 38px;
  align-items: stretch;
}
.mentor-card {
  position: relative;
  display: flex;
  flex-direction: column;
  min-height: 256px;
  padding: 42px 32px;
  border-radius: var(--radius-md);
  background: #fff;
  border: 1px solid rgba(8,27,110,0.08);
  box-shadow: var(--shadow-soft);
  opacity: 0; transform: translateY(28px);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
  transform-style: preserve-3d;
  will-change: transform;
}
.mentor-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-md);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--pink), var(--yellow), var(--blue));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s ease;
}
.mentor-card:hover { box-shadow: 0 30px 60px rgba(8,27,110,0.16), 0 0 0 1px rgba(255,255,255,0.4); border-color: transparent; transform: translateY(-6px); }
.mentor-card.is-visible:hover { transform: translateY(-6px); }
.mentor-card:hover::before { opacity: 1; }
.mentor-icon {
  width: 46px; height: 46px; margin-bottom: 22px;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  transition: transform .4s var(--ease-out);
}
.mentor-card:hover .mentor-icon { transform: scale(1.12) rotate(-4deg); }
.mentor-card h3 { font-size: 1.15rem; margin-bottom: 10px; }
.mentor-card p { font-size: 0.95rem; color: rgba(8,27,110,0.65); margin-top: auto; }

/* ---------- 13. WHY 720 + FEATURE GRID ---------- */
.why720 { padding-top: calc(var(--section-pad) * 0.7); }
.why720-infographic {
  display: flex; align-items: center; justify-content: center; gap: 18px;
  margin: 44px 0 60px; flex-wrap: wrap;
  opacity: 0; transform: translateY(20px);
}
.why720-circle {
  width: 130px; height: 130px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(145deg, var(--navy), #1c33a8);
  color: #fff; box-shadow: var(--shadow-soft);
  transform: scale(0.5); opacity: 0;
  transition: transform .7s var(--ease-out), opacity .7s var(--ease-out);
}
.why720-infographic.is-visible .why720-circle,
.why720-infographic.is-revealed .why720-circle { transform: scale(1); opacity: 1; }
.why720-circle:nth-of-type(1) { transition-delay: .05s; }
.why720-circle:nth-of-type(2) { transition-delay: .22s; }
.why720-circle:nth-of-type(3) { transition-delay: .4s; }
.why720-circle--final { background: linear-gradient(145deg, var(--pink), var(--orange)); width: 156px; height: 156px; }
.why720-number { font-family: var(--font-head); font-weight: 800; font-size: 2.4rem; line-height: 1; }
.why720-circle--final .why720-number { font-size: 2.9rem; }
.why720-deg { font-size: 1.2rem; font-weight: 600; align-self: flex-start; margin-top: 4px; }
.why720-plus {
  width: 44px; flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-head); font-weight: 700; font-size: 2rem; color: var(--orange);
}
.why720-arrow { width: 60px; flex-shrink: 0; display: flex; align-items: center; justify-content: center; }

.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; align-items: stretch; }
.feature-card {
  position: relative;
  display: flex; flex-direction: column;
  min-height: 190px;
  padding: 34px 28px;
  border-radius: var(--radius-md);
  background: linear-gradient(160deg, #fff, #fbfbff);
  border: 1px solid rgba(8,27,110,0.08);
  opacity: 0; transform: translateY(24px);
  transition: transform .4s var(--ease-out), box-shadow .4s var(--ease-out), border-color .4s;
}
.feature-card::before {
  content: ""; position: absolute; inset: 0; border-radius: var(--radius-md);
  padding: 1.5px;
  background: linear-gradient(135deg, var(--blue), var(--pink), var(--yellow));
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor; mask-composite: exclude;
  opacity: 0; transition: opacity .4s ease;
}
.feature-card:hover { transform: translateY(-6px); box-shadow: 0 26px 54px rgba(8,27,110,0.15); border-color: transparent; }
.feature-card:hover::before { opacity: 1; }
.feature-num {
  display: inline-block; font-family: var(--font-head); font-weight: 800;
  font-size: 0.85rem; color: var(--orange);
  background: rgba(255,111,0,0.1); padding: 5px 11px; border-radius: 100px;
  margin-bottom: 16px;
}
.feature-card h3 { font-size: 1.05rem; margin-bottom: 8px; }
.feature-card p { font-size: 0.92rem; color: rgba(8,27,110,0.62); margin-top: 0; }

/* ---------- 14. CTA ---------- */
.cta { text-align: center; padding-top: calc(var(--section-pad) * 0.55); }
.cta-inner { max-width: 700px; }
.cta-title { font-size: clamp(2.3rem, 5.6vw, 3.7rem); margin-bottom: 20px; opacity: 0; transform: translateY(26px); }
.cta-sub { font-size: 1.1rem; color: rgba(8,27,110,0.68); margin-bottom: 38px; opacity: 0; transform: translateY(20px); }
.cta .btn { opacity: 0; transform: translateY(20px); }

/* ---------- 15. FOOTER ---------- */
.footer { background: var(--navy); color: rgba(255,255,255,0.7); padding: 50px 0; text-align: center; }
.footer-inner { display: flex; flex-direction: column; align-items: center; gap: 10px; }
.footer-logo { display: flex; align-items: center; gap: 10px; color: #fff; font-family: var(--font-head); font-weight: 700; font-size: 1.1rem; }
.footer-tag { font-size: 0.95rem; color: var(--yellow); }
.footer-copy { font-size: 0.8rem; margin-top: 12px; color: rgba(255,255,255,0.45); }

/* ---------- 16. REVEAL / GENERIC VISIBLE STATES ---------- */
[data-reveal] { opacity: 0; transform: translateY(24px); }
[data-reveal].is-visible {
  animation: revealUp .8s var(--ease-out) forwards;
}
[data-reveal].is-revealed { opacity: 1; transform: none; }
.hero [data-reveal].is-visible,
.hero-logo.is-visible { animation-delay: 0s; }

.mission-card, .hive-card { animation-duration: .9s; }

/* stagger children of grids (animation-delay, since reveal uses the keyframe) */
.mentor-grid .mentor-card:nth-child(1) { animation-delay: .05s; }
.mentor-grid .mentor-card:nth-child(2) { animation-delay: .12s; }
.mentor-grid .mentor-card:nth-child(3) { animation-delay: .19s; }
.mentor-grid .mentor-card:nth-child(4) { animation-delay: .26s; }
.mentor-grid .mentor-card:nth-child(5) { animation-delay: .33s; }
.mentor-grid .mentor-card:nth-child(6) { animation-delay: .40s; }
.feature-grid .feature-card:nth-child(1) { animation-delay: .05s; }
.feature-grid .feature-card:nth-child(2) { animation-delay: .11s; }
.feature-grid .feature-card:nth-child(3) { animation-delay: .17s; }
.feature-grid .feature-card:nth-child(4) { animation-delay: .23s; }
.feature-grid .feature-card:nth-child(5) { animation-delay: .29s; }
.feature-grid .feature-card:nth-child(6) { animation-delay: .35s; }

/* sequence hero + CTA reveals */
.hero-title .line:nth-of-type(1) { animation-delay: .1s; }
.hero-title .line:nth-of-type(2) { animation-delay: .22s; }
.hero-sub[data-reveal].is-visible { animation-delay: .38s; }
.hero-actions[data-reveal].is-visible { animation-delay: .52s; }
.cta-title[data-reveal] { animation-delay: 0s; }
.cta-sub[data-reveal] { animation-delay: .14s; }
.cta .btn[data-reveal] { animation-delay: .28s; }

/* ---------- 17. RESPONSIVE ---------- */
@media (max-width: 1024px) {
  .hero-content { flex: 0 1 80%; max-width: 80%; }
  .hero-visual { flex: 0 1 20%; }
  .orbit-grid { grid-template-columns: 1fr; text-align: center; }
  .orbit-copy .section-text { margin-left: auto; margin-right: auto; }
  .mentor-grid { grid-template-columns: repeat(2, 1fr); }
  .feature-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 860px) {
  .nav-menu {
    position: fixed; top: 0; right: 0; height: 100vh; width: min(78vw, 320px);
    background: rgba(255,255,255,0.94); backdrop-filter: blur(20px);
    flex-direction: column; justify-content: center; align-items: flex-start;
    padding: 40px; gap: 26px;
    transform: translateX(100%); transition: transform .45s var(--ease-out);
    box-shadow: -20px 0 60px rgba(8,27,110,0.15);
  }
  .nav-menu.is-open { transform: translateX(0); }
  .nav-toggle { display: flex; }

  .hero { background-position: center; }
  .hero::before {
    background: linear-gradient(
      180deg,
      rgba(255,244,205,0.92) 0%,
      rgba(255,244,205,0.75) 55%,
      rgba(255,244,205,0.55) 100%
    );
  }
  .hero-inner { flex-direction: column; justify-content: center; padding: 0 24px; }
  .hero-content { flex: none; width: 100%; max-width: 100%; text-align: center; }
  .hero-visual { display: none; }
  .hero-title { font-size: clamp(2rem, 8vw, 2.8rem); }
  .hero-sub { margin-left: auto; margin-right: auto; }
  .hero-actions { flex-direction: column; align-items: center; justify-content: center; }

  .hexa-orbit { max-width: 420px; }
  .hexa-cell { width: 130px; height: 116px; margin: -58px 0 0 -65px; font-size: 0.8rem; }
  .hexa-cell--center { width: 138px; height: 122px; margin: -61px 0 0 -69px; font-size: .92rem; }
  .hexa-cell--1 { --tx: 0px; --ty: -145px; }
  .hexa-cell--2 { --tx: 126px; --ty: -72px; }
  .hexa-cell--3 { --tx: 126px; --ty: 72px; }
  .hexa-cell--4 { --tx: 0px; --ty: 145px; }
  .hexa-cell--5 { --tx: -126px; --ty: 72px; }
  .hexa-cell--6 { --tx: -126px; --ty: -72px; }

  .hive-card { flex-direction: column; text-align: left; }
  .hive-content { max-width: none; }
  .hive-illustration { width: 100%; min-height: 220px; flex: none; }
}

@media (max-width: 640px) {
  :root { --section-pad: 70px; }
  .section-inner { padding: 0 22px; }
  .mentor-grid, .feature-grid { grid-template-columns: 1fr; }
  .hexa-orbit { max-width: 300px; }
  .hexa-cell { width: 108px; height: 96px; margin: -48px 0 0 -54px; font-size: 0.72rem; padding: 8px; }
  .hexa-cell--center { width: 116px; height: 104px; margin: -52px 0 0 -58px; font-size: .8rem; }
  .hexa-cell--1 { --ty: -120px; }
  .hexa-cell--2 { --tx: 104px; --ty: -60px; }
  .hexa-cell--3 { --tx: 104px; --ty: 60px; }
  .hexa-cell--4 { --ty: 120px; }
  .hexa-cell--5 { --tx: -104px; --ty: 60px; }
  .hexa-cell--6 { --tx: -104px; --ty: -60px; }
  .hive-icons { justify-content: center; }
  .hive-illustration { min-height: 170px; }
  .why720-infographic { gap: 12px; }
  .why720-circle { width: 60px; height: 60px; }
  .why720-circle--final { width: 80px; height: 80px; }
  .bee-wrap { width: 60px; height: 60px; }
  .bee { width: 52px; height: 44px; }
  .cursor-spotlight { display: none; }
}

/* ---------- 18. REDUCED MOTION ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation-duration: 0.001ms !important; animation-iteration-count: 1 !important; transition-duration: 0.001ms !important; scroll-behavior: auto !important; }
  .bee-wrap { display: none; }
  [data-reveal] { opacity: 1 !important; transform: none !important; }
}
/* --------- custom mobile styles ------------ */
@media only screen and (max-width: 800px) {
  #hero {
    padding-top: 140px;
    padding-bottom: 100px;
    height: auto;
}
.why720-infographic {
  flex-wrap: nowrap;
}
.why720-number {
  font-size: 16px;
}
.why720-deg {
  margin-top: 12px;
}
.why720-circle--final .why720-number {
  font-size: 28px;
}
.nav-inner {
  padding-left: 0px;
}
}
.every-child-image {
  border-radius: var(--radius-lg);
}
/* Hide on desktop */
.nav-close-wrap{
  display:none;
}

/* Mobile only */
@media (max-width:860px){

  .nav-close-wrap{
      display:ruby;
      width:100%;
      position:absolute;
      top:20px;
      right:20px;
      text-align:right;
  }

  .nav-close{
      width:42px;
      height:42px;
      border-radius:50%;
      background:#081B6E;
      color:#fff;
      font-size:28px;
      line-height:1;
      display:flex;
      align-items:center;
      justify-content:center;
      cursor:pointer;
      transition:.3s;
  }

  .nav-close:hover{
      background:#FF6F00;
      transform:rotate(90deg);
  }

  .nav-menu{
      position:fixed;
  }
}
.logo-badge {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15); /* Soft glass effect */
  backdrop-filter: blur(8px);
  padding: 10px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.2);
}