/* =====================================================
   Future Achievers Academy — style.css
   Palette: deep navy / white / soft blue / emerald CTA
   ===================================================== */

:root {
  /* Colors */
  --navy-900: #081534;
  --navy-800: #0a1f44;
  --navy-700: #122c5c;
  --navy-600: #1d3d77;
  --blue-soft: #eaf2ff;
  --blue-mist: #f5f9ff;
  --blue-line: #d8e6fb;
  --emerald: #10b981;
  --emerald-bright: #34d399;
  --emerald-soft: #d6f7ea;
  --ink: #16233f;
  --ink-soft: #4a5a78;
  --white: #ffffff;
  --gold: #f4b942;

  /* Type */
  --font-display: "Sora", system-ui, sans-serif;
  --font-body: "Inter", system-ui, sans-serif;

  /* Layout */
  --container: 1180px;
  --radius: 18px;
  --radius-sm: 12px;
  --shadow-card: 0 6px 24px rgba(10, 31, 68, 0.07);
  --shadow-card-hover: 0 16px 40px rgba(10, 31, 68, 0.13);
  --shadow-pop: 0 24px 60px rgba(10, 31, 68, 0.25);

  --ease: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.65;
  color: var(--ink);
  background: var(--white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img, svg { display: inline-block; vertical-align: middle; }

h1, h2, h3, h4 {
  font-family: var(--font-display);
  color: var(--navy-800);
  line-height: 1.18;
  margin: 0 0 0.5em;
  letter-spacing: -0.015em;
}

h1 { font-size: clamp(2.1rem, 5.2vw, 3.4rem); font-weight: 800; }
h2 { font-size: clamp(1.7rem, 3.6vw, 2.4rem); font-weight: 700; }
h3 { font-size: 1.12rem; font-weight: 600; }

p { margin: 0 0 1em; }

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

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

.container-narrow { width: min(800px, 100% - 2.5rem); }

.center { text-align: center; }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 1.6rem;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  transition: transform 0.25s var(--ease), box-shadow 0.25s var(--ease), background 0.25s;
  will-change: transform;
}

.btn-cta {
  background: linear-gradient(135deg, var(--emerald-bright), var(--emerald));
  color: var(--navy-900);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}
.btn-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(16, 185, 129, 0.45);
}
.btn-cta:active { transform: translateY(0); }

.btn-ghost {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(6px);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.16);
  border-color: rgba(255, 255, 255, 0.6);
  transform: translateY(-2px);
}

.btn-lg { padding: 1rem 1.9rem; font-size: 1rem; }
.btn-xl { padding: 1.1rem 2.2rem; font-size: 1.08rem; }
.btn-sm { padding: 0.6rem 1.2rem; font-size: 0.88rem; }
.btn-block { width: 100%; }

:focus-visible {
  outline: 3px solid var(--emerald-bright);
  outline-offset: 3px;
  border-radius: 6px;
}

/* ============ Navbar ============ */
.navbar {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 100;
  padding: 0.9rem 0;
  transition: padding 0.3s var(--ease), background 0.3s, box-shadow 0.3s;
  background: rgba(8, 21, 52, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

.navbar.scrolled {
  padding: 0.55rem 0;
  background: rgba(8, 21, 52, 0.88);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
}

.nav-inner {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  color: var(--white);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.02rem;
  white-space: nowrap;
}
.brand-mark {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: linear-gradient(135deg, var(--emerald-bright), var(--emerald));
  color: var(--navy-900);
  flex-shrink: 0;
}
.brand-text em { font-style: normal; color: var(--emerald-bright); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.4rem;
  margin-left: auto;
}
.nav-links a:not(.btn) {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.92rem;
  font-weight: 500;
  position: relative;
  padding: 0.25rem 0;
}
.nav-links a:not(.btn)::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 2px;
  background: var(--emerald-bright);
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s var(--ease);
}
.nav-links a:not(.btn):hover { color: var(--white); }
.nav-links a:not(.btn):hover::after { transform: scaleX(1); }

.btn-nav-desktop { margin-left: 0.4rem; }
.btn-nav-mobile { display: none; }

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: 0;
  padding: 8px;
  cursor: pointer;
  margin-left: auto;
}
.hamburger span {
  width: 24px;
  height: 2.5px;
  border-radius: 2px;
  background: var(--white);
  transition: transform 0.3s var(--ease), opacity 0.3s;
}
.hamburger.open span:nth-child(1) { transform: translateY(7.5px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-7.5px) rotate(-45deg); }

/* ============ Hero ============ */
.hero {
  position: relative;
  background:
    radial-gradient(1100px 600px at 85% -10%, rgba(29, 61, 119, 0.85), transparent 60%),
    linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, #0d2a5e 100%);
  color: var(--white);
  padding: clamp(7.5rem, 14vh, 10rem) 0 clamp(4rem, 9vh, 6.5rem);
  overflow: hidden;
}

.hero-bg { position: absolute; inset: 0; pointer-events: none; }

.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  opacity: 0.5;
  animation: drift 14s ease-in-out infinite alternate;
}
.orb-1 { width: 420px; height: 420px; background: #1f4fa0; top: -120px; left: -120px; }
.orb-2 { width: 340px; height: 340px; background: var(--emerald); bottom: -140px; right: 8%; opacity: 0.22; animation-delay: -5s; }
.orb-3 { width: 260px; height: 260px; background: #6aa6ff; top: 30%; right: -100px; opacity: 0.3; animation-delay: -9s; }

@keyframes drift {
  from { transform: translate(0, 0) scale(1); }
  to { transform: translate(40px, 30px) scale(1.08); }
}

.grid-lines {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, black, transparent);
}

.hero-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: clamp(2.5rem, 5vw, 4.5rem);
  align-items: center;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: var(--emerald-bright);
  background: rgba(52, 211, 153, 0.12);
  border: 1px solid rgba(52, 211, 153, 0.3);
  padding: 0.45rem 1rem;
  border-radius: 999px;
  margin-bottom: 1.4rem;
}

.pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-bright);
  animation: pulse 1.8s ease-in-out infinite;
}
@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(52, 211, 153, 0.6); }
  60% { box-shadow: 0 0 0 8px rgba(52, 211, 153, 0); }
}

.grad-text {
  background: linear-gradient(100deg, var(--emerald-bright), #7fe9c3 55%, #9ec9ff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  background-size: 200% 100%;
  animation: shimmer 6s ease-in-out infinite alternate;
}
@keyframes shimmer {
  from { background-position: 0% 50%; }
  to { background-position: 100% 50%; }
}

.hero h1 { color: var(--white); margin-bottom: 1.1rem; }

.lead {
  font-size: clamp(1rem, 1.6vw, 1.13rem);
  color: rgba(232, 241, 255, 0.85);
  max-width: 34rem;
  margin-bottom: 1.9rem;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.9rem;
}

.trust-badges {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem 1.4rem;
  margin: 0;
  padding: 0;
  font-size: 0.88rem;
  color: rgba(232, 241, 255, 0.85);
}
.trust-badges li {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
}
.trust-badges svg { color: var(--emerald-bright); flex-shrink: 0; }

/* ---- Live class illustration ---- */
.hero-visual { position: relative; }

.class-window {
  position: relative;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  box-shadow: var(--shadow-pop), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  padding: 1rem 1rem 0.9rem;
}

.cw-top {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  padding-bottom: 0.8rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 0.9rem;
}
.cw-dots { display: inline-flex; gap: 5px; }
.cw-dots i { width: 9px; height: 9px; border-radius: 50%; }
.cw-dots i:nth-child(1) { background: #ff6b6b; }
.cw-dots i:nth-child(2) { background: var(--gold); }
.cw-dots i:nth-child(3) { background: var(--emerald-bright); }

.cw-title {
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  letter-spacing: 0.02em;
}

.live-badge {
  margin-left: auto;
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ff8989;
  background: rgba(255, 107, 107, 0.14);
  border: 1px solid rgba(255, 107, 107, 0.35);
  padding: 0.22rem 0.6rem;
  border-radius: 999px;
}
.live-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #ff6b6b;
  animation: pulse-red 1.4s ease-in-out infinite;
}
@keyframes pulse-red {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.6); }
  60% { box-shadow: 0 0 0 6px rgba(255, 107, 107, 0); }
}

.cw-stage {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 0.8rem;
  margin-bottom: 0.8rem;
}

.teacher-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  background: linear-gradient(160deg, rgba(52, 211, 153, 0.16), rgba(52, 211, 153, 0.04));
  border: 1px solid rgba(52, 211, 153, 0.3);
  border-radius: 14px;
  padding: 1rem 0.6rem 0.8rem;
}

.avatar {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
}
.avatar-teacher {
  width: 60px;
  height: 60px;
  background: linear-gradient(135deg, var(--emerald-bright), #7fe9c3);
  box-shadow: 0 0 0 3px rgba(52, 211, 153, 0.25), 0 0 24px rgba(52, 211, 153, 0.4);
}

.tile-name {
  font-size: 0.68rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  text-align: center;
}

.audio-bars {
  display: inline-flex;
  align-items: flex-end;
  gap: 3px;
  height: 14px;
}
.audio-bars i {
  width: 3px;
  border-radius: 2px;
  background: var(--emerald-bright);
  animation: eq 1s ease-in-out infinite;
}
.audio-bars i:nth-child(1) { height: 40%; animation-delay: 0s; }
.audio-bars i:nth-child(2) { height: 90%; animation-delay: 0.15s; }
.audio-bars i:nth-child(3) { height: 60%; animation-delay: 0.3s; }
.audio-bars i:nth-child(4) { height: 100%; animation-delay: 0.45s; }
.audio-bars i:nth-child(5) { height: 50%; animation-delay: 0.6s; }
@keyframes eq {
  0%, 100% { transform: scaleY(0.5); }
  50% { transform: scaleY(1); }
}

.board {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0.55rem;
  background: rgba(8, 21, 52, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 1rem 1.1rem;
}
.board-line {
  height: 7px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.14);
}
.w-90 { width: 90%; }
.w-70 { width: 70%; }
.w-50 { width: 50%; }
.board-formula {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(0.95rem, 1.6vw, 1.15rem);
  color: var(--emerald-bright);
  text-shadow: 0 0 18px rgba(52, 211, 153, 0.5);
}

.cw-students {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.55rem;
  margin-bottom: 0.85rem;
}
.student-tile {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 0.6rem 0.3rem 0.5rem;
}
.student-tile span { font-size: 0.62rem; color: rgba(255, 255, 255, 0.7); font-weight: 500; }
.student-tile .avatar { width: 34px; height: 34px; font-size: 0.8rem; }
.a-1 { background: linear-gradient(135deg, #ffd66b, #f4a942); }
.a-2 { background: linear-gradient(135deg, #9ec9ff, #6aa6ff); }
.a-3 { background: linear-gradient(135deg, #ffb3c1, #ff8aa1); }
.a-4 { background: linear-gradient(135deg, #b9f0d8, #7fe9c3); }

.student-tile.is-raised { border-color: rgba(244, 185, 66, 0.55); }
.hand {
  position: absolute;
  top: -9px;
  right: -6px;
  font-size: 1rem;
  animation: wave 1.6s ease-in-out infinite;
  transform-origin: bottom center;
}
@keyframes wave {
  0%, 100% { transform: rotate(0deg); }
  40% { transform: rotate(18deg); }
  70% { transform: rotate(-8deg); }
}

.cw-controls {
  display: flex;
  justify-content: center;
  gap: 0.7rem;
}
.ctrl {
  display: grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}
.ctrl-end { background: #ff6b6b; width: 44px; border-radius: 999px; }

/* Floating chips */
.chip {
  position: absolute;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--navy-800);
  background: var(--white);
  border-radius: 999px;
  padding: 0.5rem 0.95rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}
.chip-1 { top: -16px; left: -14px; }
.chip-2 { bottom: 26%; right: -20px; background: linear-gradient(135deg, var(--emerald-bright), #7fe9c3); }
.chip-3 { bottom: -14px; left: 8%; }

.chat-pop {
  position: absolute;
  top: 34%;
  left: -30px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--white);
  border-radius: 14px 14px 14px 4px;
  padding: 0.5rem 0.8rem;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--navy-800);
}
.chat-avatar {
  display: grid;
  place-items: center;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, #b9f0d8, #7fe9c3);
  font-size: 0.7rem;
  font-weight: 700;
  flex-shrink: 0;
}

/* Floating animations */
.float-slow { animation: floaty 7s ease-in-out infinite; }
.float-a { animation: floaty 5.5s ease-in-out infinite; }
.float-b { animation: floaty 6.5s ease-in-out infinite reverse; }
.float-c { animation: floaty 6s ease-in-out infinite; animation-delay: -2s; }
@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

/* ============ Sections ============ */
.section { padding: clamp(4rem, 9vw, 6.5rem) 0; }
.section-tinted { background: linear-gradient(180deg, var(--blue-mist), var(--blue-soft)); }
.section-dark {
  background:
    radial-gradient(800px 400px at 15% 0%, rgba(29, 61, 119, 0.9), transparent 60%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
  color: rgba(232, 241, 255, 0.85);
}
.section-dark h2 { color: var(--white); }

.section-head {
  text-align: center;
  max-width: 620px;
  margin: 0 auto clamp(2.5rem, 5vw, 3.5rem);
}
.section-head p { color: var(--ink-soft); }
.section-dark .section-head p { color: rgba(232, 241, 255, 0.75); }

.kicker {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--emerald);
  background: var(--emerald-soft);
  padding: 0.35rem 0.9rem;
  border-radius: 999px;
  margin-bottom: 1rem;
}
.kicker-light { background: rgba(52, 211, 153, 0.15); color: var(--emerald-bright); }
.kicker-soft { background: var(--emerald-soft); }

/* ============ Grids & cards ============ */
.grid { display: grid; gap: 1.4rem; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-5 { grid-template-columns: repeat(5, 1fr); }

.card {
  background: var(--white);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(52, 211, 153, 0.45);
}
.card p { color: var(--ink-soft); font-size: 0.94rem; margin: 0; }

.card-ico {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--blue-soft), #ffffff);
  border: 1px solid var(--blue-line);
  color: var(--navy-700);
  margin-bottom: 1.1rem;
  transition: transform 0.35s var(--ease), background 0.35s, color 0.35s;
}
.card:hover .card-ico {
  background: linear-gradient(135deg, var(--emerald-bright), #7fe9c3);
  color: var(--navy-900);
  transform: scale(1.06) rotate(-4deg);
}

/* ============ Program cards ============ */
.programs { align-items: stretch; }

.program-card {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.program-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-card-hover);
}

.pc-featured {
  border: 2px solid rgba(52, 211, 153, 0.5);
  box-shadow: 0 14px 40px rgba(16, 185, 129, 0.16);
}

.pc-band {
  padding: 1.7rem 1.6rem 1.4rem;
  color: var(--white);
}
.pc-band h3 { color: var(--white); font-size: 1.45rem; margin: 0.35rem 0 0.45rem; }
.pc-band p { margin: 0; font-size: 0.9rem; opacity: 0.88; }

.band-primary { background: linear-gradient(135deg, #1d3d77, #2c5aa8); }
.band-middle { background: linear-gradient(135deg, #0e8f6f, #10b981); }
.band-olevels { background: linear-gradient(135deg, #081534, #1d3d77); }

.pc-level {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, 0.16);
  border: 1px solid rgba(255, 255, 255, 0.3);
  padding: 0.28rem 0.75rem;
  border-radius: 999px;
}

.pc-subjects {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 1.4rem 1.6rem;
  margin: 0;
  flex: 1;
}
.pc-subjects li {
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--navy-700);
  background: var(--blue-mist);
  border: 1px solid var(--blue-line);
  padding: 0.34rem 0.8rem;
  border-radius: 999px;
  transition: background 0.25s, border-color 0.25s;
}
.pc-subjects li:hover { background: var(--emerald-soft); border-color: rgba(16, 185, 129, 0.4); }

.program-card .btn { margin: 0 1.6rem 1.6rem; }

/* ============ Subject groups ============ */
.subject-groups {
  display: flex;
  flex-direction: column;
  gap: 1.6rem;
  margin-bottom: 2.4rem;
}

.subject-group {
  background: var(--white);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  padding: 1.5rem 1.6rem;
  box-shadow: var(--shadow-card);
}

.sg-title { margin: 0 0 1rem; }
.sg-tag {
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  color: var(--white);
}
.tag-primary { background: linear-gradient(135deg, #1d3d77, #2c5aa8); }
.tag-middle { background: linear-gradient(135deg, #0e8f6f, #10b981); }
.tag-olevels { background: linear-gradient(135deg, #081534, #1d3d77); }

.chips { display: flex; flex-wrap: wrap; gap: 0.6rem; }
.schip {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--navy-700);
  background: var(--blue-mist);
  border: 1px solid var(--blue-line);
  padding: 0.5rem 1rem;
  border-radius: 999px;
  transition: transform 0.25s var(--ease), background 0.25s, border-color 0.25s, box-shadow 0.25s;
}
.schip:hover {
  transform: translateY(-3px);
  background: var(--emerald-soft);
  border-color: rgba(16, 185, 129, 0.45);
  box-shadow: 0 8px 18px rgba(16, 185, 129, 0.15);
}

/* ============ Extra classes ============ */
.extra-grid { margin-bottom: 2.4rem; }

.extra-card {
  background: var(--white);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  padding: 1.6rem 1.2rem;
  text-align: center;
  box-shadow: var(--shadow-card);
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease), border-color 0.35s;
}
.extra-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-card-hover);
  border-color: rgba(52, 211, 153, 0.45);
}
.extra-ico { font-size: 2rem; display: block; margin-bottom: 0.7rem; }
.extra-card h3 { font-size: 1rem; }
.extra-card p { font-size: 0.85rem; color: var(--ink-soft); margin: 0; }

/* ============ Wellbeing ============ */
.wellbeing {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  background:
    radial-gradient(600px 300px at 90% 10%, rgba(52, 211, 153, 0.1), transparent 60%),
    linear-gradient(150deg, var(--blue-mist), var(--white));
  border: 1px solid var(--blue-line);
  border-radius: 26px;
  padding: clamp(2rem, 5vw, 3.5rem);
  box-shadow: var(--shadow-card);
}
.wb-copy p { color: var(--ink-soft); max-width: 36rem; }
.wb-note { font-size: 0.88rem; font-style: italic; }
.wb-copy .btn { margin-top: 0.4rem; }

.wb-visual { display: grid; place-items: center; }
.wb-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.6rem;
  text-align: center;
  background: var(--white);
  border: 1px solid var(--blue-line);
  border-radius: 20px;
  padding: 2rem 1.8rem;
  box-shadow: var(--shadow-card-hover);
  font-family: var(--font-display);
  color: var(--navy-800);
}
.wb-emoji { font-size: 2.4rem; }
.wb-tags { display: flex; gap: 0.45rem; }
.wb-tags i {
  font-style: normal;
  font-size: 0.74rem;
  font-weight: 600;
  color: var(--emerald);
  background: var(--emerald-soft);
  padding: 0.3rem 0.7rem;
  border-radius: 999px;
}

/* ============ Steps ============ */
.steps {
  list-style: none;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.4rem;
  padding: 0;
  margin: 0;
  counter-reset: step;
}

.step {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem 1.5rem;
  backdrop-filter: blur(8px);
  transition: transform 0.35s var(--ease), border-color 0.35s, background 0.35s;
}
.step:hover {
  transform: translateY(-6px);
  border-color: rgba(52, 211, 153, 0.5);
  background: rgba(52, 211, 153, 0.07);
}
.step h3 { color: var(--white); font-size: 1.02rem; margin-top: 0.9rem; }
.step p { font-size: 0.88rem; margin: 0; color: rgba(232, 241, 255, 0.7); }

.step-num {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 13px;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--emerald-bright), #7fe9c3);
  box-shadow: 0 6px 18px rgba(16, 185, 129, 0.35);
}

/* ============ Testimonials ============ */
.t-card {
  margin: 0;
  background: var(--white);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius);
  padding: 1.8rem 1.6rem;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease), box-shadow 0.35s var(--ease);
}
.t-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-card-hover); }

.t-stars { color: var(--gold); letter-spacing: 0.15em; margin-bottom: 0.8rem; font-size: 0.95rem; }

.t-card blockquote {
  margin: 0 0 1.3rem;
  font-size: 0.96rem;
  color: var(--ink-soft);
  flex: 1;
}

.t-card figcaption {
  display: flex;
  align-items: center;
  gap: 0.8rem;
}
.t-card figcaption strong { display: block; font-family: var(--font-display); font-size: 0.92rem; color: var(--navy-800); }
.t-card figcaption span:not(.t-avatar) { font-size: 0.8rem; color: var(--ink-soft); }

.t-avatar {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  font-family: var(--font-display);
  font-weight: 700;
  color: var(--navy-900);
  background: linear-gradient(135deg, var(--emerald-bright), #9ec9ff);
  flex-shrink: 0;
}

/* ============ FAQ ============ */
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; }

.faq-item {
  background: var(--white);
  border: 1px solid var(--blue-line);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item.active {
  border-color: rgba(52, 211, 153, 0.5);
  box-shadow: 0 8px 24px rgba(16, 185, 129, 0.1);
}

.faq-q {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: left;
  background: none;
  border: 0;
  cursor: pointer;
  font-family: var(--font-display);
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--navy-800);
  padding: 1.1rem 1.3rem;
}

.faq-ico {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}
.faq-ico::before,
.faq-ico::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--emerald);
  border-radius: 2px;
  transition: transform 0.3s var(--ease);
}
.faq-ico::before { width: 14px; height: 2.4px; }
.faq-ico::after { width: 2.4px; height: 14px; }
.faq-item.active .faq-ico::after { transform: rotate(90deg); }

.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease);
}
.faq-a p {
  padding: 0 1.3rem 1.2rem;
  margin: 0;
  font-size: 0.93rem;
  color: var(--ink-soft);
}

/* ============ Final CTA ============ */
.final-cta {
  position: relative;
  padding: clamp(4.5rem, 10vw, 7rem) 0;
  background:
    radial-gradient(700px 350px at 50% 0%, rgba(52, 211, 153, 0.16), transparent 65%),
    linear-gradient(160deg, var(--navy-900), var(--navy-800));
  overflow: hidden;
}
.final-cta h2 { color: var(--white); font-size: clamp(1.9rem, 4.5vw, 2.8rem); }
.final-cta p {
  color: rgba(232, 241, 255, 0.8);
  max-width: 32rem;
  margin: 0 auto 2rem;
}

/* ============ Footer ============ */
.footer {
  background: var(--navy-900);
  color: rgba(232, 241, 255, 0.72);
  padding-top: clamp(3rem, 7vw, 4.5rem);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1.1fr;
  gap: 2.4rem;
  padding-bottom: 3rem;
}

.f-brand p { font-size: 0.9rem; max-width: 22rem; margin-top: 1rem; }
.brand-footer { margin-bottom: 0.2rem; }

.socials { display: flex; gap: 0.7rem; margin-top: 1.2rem; }
.socials a {
  display: grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 11px;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: rgba(232, 241, 255, 0.8);
  transition: background 0.3s, color 0.3s, transform 0.3s var(--ease), border-color 0.3s;
}
.socials a:hover {
  background: var(--emerald);
  color: var(--navy-900);
  border-color: var(--emerald);
  transform: translateY(-3px);
}

.f-col { display: flex; flex-direction: column; gap: 0.55rem; }
.f-col h4 {
  color: var(--white);
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}
.f-col a:not(.btn) {
  font-size: 0.9rem;
  color: rgba(232, 241, 255, 0.72);
  transition: color 0.25s, transform 0.25s var(--ease);
  width: fit-content;
}
.f-col a:not(.btn):hover { color: var(--emerald-bright); transform: translateX(3px); }

.f-contact { font-size: 0.9rem; margin: 0; }
.f-phone {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--white) !important;
  margin-bottom: 0.6rem;
}
.f-col .btn { width: fit-content; }

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.4rem 0;
}
.footer-bottom .container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
}
.footer-bottom p { margin: 0; font-size: 0.84rem; }
.f-cities { color: rgba(232, 241, 255, 0.5); }

/* ============ Floating WhatsApp ============ */
.wa-float {
  position: fixed;
  right: 1.3rem;
  bottom: 1.3rem;
  z-index: 90;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #10b981);
  color: var(--white);
  box-shadow: 0 10px 30px rgba(16, 185, 129, 0.45);
  transition: transform 0.3s var(--ease), box-shadow 0.3s;
  animation: wa-pulse 2.6s ease-in-out infinite;
}
.wa-float:hover { transform: scale(1.1); box-shadow: 0 14px 38px rgba(16, 185, 129, 0.6); }

@keyframes wa-pulse {
  0%, 100% { box-shadow: 0 10px 30px rgba(16, 185, 129, 0.45), 0 0 0 0 rgba(37, 211, 102, 0.4); }
  60% { box-shadow: 0 10px 30px rgba(16, 185, 129, 0.45), 0 0 0 16px rgba(37, 211, 102, 0); }
}

/* ============ Scroll reveal ============ */
.reveal {
  opacity: 0;
  transform: translateY(26px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.in-view {
  opacity: 1;
  transform: translateY(0);
}
.d-1 { transition-delay: 0.1s; }
.d-2 { transition-delay: 0.2s; }
.d-3 { transition-delay: 0.3s; }
.d-4 { transition-delay: 0.4s; }

/* ============ Responsive ============ */
@media (max-width: 1024px) {
  .grid-5 { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 900px) {
  .hero-grid { grid-template-columns: 1fr; }
  .hero-visual { max-width: 540px; margin: 0.5rem auto 0; width: 100%; }
  .chat-pop { left: -8px; }
  .chip-2 { right: -6px; }

  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .steps { grid-template-columns: repeat(2, 1fr); }
  .wellbeing { grid-template-columns: 1fr; }

  /* Mobile nav */
  .hamburger { display: flex; }
  .btn-nav-desktop { display: none; }
  .btn-nav-mobile { display: inline-flex; margin-top: 0.4rem; }

  .nav-links {
    position: fixed;
    top: 0;
    right: 0;
    height: 100dvh;
    width: min(320px, 82vw);
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
    gap: 0.4rem;
    padding: 5.5rem 1.8rem 2rem;
    background: rgba(8, 21, 52, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    transform: translateX(100%);
    transition: transform 0.4s var(--ease);
    box-shadow: -20px 0 60px rgba(0, 0, 0, 0.4);
  }
  .nav-links.open { transform: translateX(0); }
  .nav-links a:not(.btn) {
    font-size: 1.05rem;
    padding: 0.7rem 0;
    width: 100%;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  }
}

@media (max-width: 600px) {
  .grid-3, .grid-5 { grid-template-columns: 1fr; }
  .steps { grid-template-columns: 1fr; }

  .hero { padding-top: 6.5rem; }
  .hero-ctas .btn { width: 100%; }

  .cw-students { grid-template-columns: repeat(4, 1fr); }
  .chip { font-size: 0.7rem; padding: 0.4rem 0.75rem; }
  .chip-1 { top: -12px; left: 0; }
  .chip-3 { bottom: -10px; }
  .chat-pop { display: none; }

  .footer-grid { grid-template-columns: 1fr; gap: 1.8rem; }
  .footer-bottom .container { flex-direction: column; text-align: center; }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001s !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001s !important;
  }
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; }
}
