/* ============================================================
   Mind Bubble Learning — rebuild
   Palette (from original): blue #22A0DD · navy #1A1B4E · white
   Headings: Baloo Tamma 2 · Body: system sans
   ============================================================ */

:root{
  --blue:      #22A0DD;
  --blue-dark: #1c8dc4;
  --navy:      #1A1B4E;
  --green:     #26C280;
  --green-dark:#20a86e;
  --text:      #5f6067;
  --heading:   #2d2e33;
  --white:     #ffffff;
  --max:       1180px;
  --radius:    10px;
  --shadow:    0 14px 40px rgba(20,25,60,.12);
  --header-h:  86px;
}

*,*::before,*::after{box-sizing:border-box}

html{scroll-behavior:smooth;scroll-padding-top:var(--header-h)}

body{
  margin:0;
  font-family:system-ui,-apple-system,"Segoe UI",Roboto,Helvetica,Arial,sans-serif;
  color:var(--text);
  line-height:1.65;
  font-size:17px;
  -webkit-font-smoothing:antialiased;
  background:var(--white);
}

img{max-width:100%;height:auto;display:block}

h1,h2,h3{
  font-family:"Baloo Tamma 2",system-ui,sans-serif;
  font-weight:800;
  color:var(--heading);
  line-height:1.12;
  margin:0 0 .55em;
  letter-spacing:.2px;
}
h1{font-size:clamp(2rem,4.2vw,3rem);text-transform:uppercase}
h2{font-size:clamp(1.65rem,3.2vw,2.4rem);text-transform:uppercase}

p{margin:0 0 1.1em}
a{color:inherit}

.container{width:100%;max-width:var(--max);margin:0 auto;padding:0 24px}
.narrow{max-width:900px}
.center{text-align:center}
.lead{font-size:1.12rem}

.text-link{color:var(--blue);text-decoration:none;font-weight:600;border-bottom:2px solid rgba(34,160,221,.35);transition:border-color .2s}
.text-link:hover{border-color:var(--blue)}

/* ---------- Header ---------- */
.site-header{
  position:fixed;top:0;left:0;right:0;z-index:50;
  height:var(--header-h);
  display:flex;align-items:center;
  transition:background .3s ease, box-shadow .3s ease;
}
.site-header.scrolled{background:var(--blue);box-shadow:0 4px 18px rgba(20,25,60,.18)}
.header-inner{display:flex;align-items:center;justify-content:space-between;gap:20px}
.logo img{width:auto;height:56px}
.site-nav{display:flex;align-items:center;gap:28px}
.site-nav a{
  color:var(--white);text-decoration:none;font-weight:600;font-size:.98rem;
  letter-spacing:.3px;opacity:.92;transition:opacity .2s;
  text-shadow:0 1px 3px rgba(20,25,60,.25);
}
.site-nav a:hover{opacity:1}
.nav-cta{
  background:var(--green);padding:9px 18px;border-radius:40px;
  text-shadow:none;box-shadow:0 6px 16px rgba(38,194,128,.4);
}
.nav-cta:hover{background:var(--green-dark)}

/* ---------- Hero ---------- */
.hero{
  position:relative;
  height:640px;
  overflow:hidden;
  background:linear-gradient(180deg,#2fb0ec 0%, #22A0DD 55%, #1f97d2 100%);
}
.hero-stage{
  position:absolute;
  left:50%;
  bottom:0;
  width:1160px;
  height:640px;                 /* fixed design height — scaled (not resized) to fit */
  transform-origin:center bottom;
  will-change:transform;
}
.hero-scene{position:absolute;inset:0}

.hero-layer{
  position:absolute;
  left:50%;
  will-change:transform;
}
/* Three skyline strips, stacked so each rear layer's crest peeks above the one
   in front (depth 1 = palest/farthest/highest, depth 3 = dark front, tallest).
   Each parallaxes at its own rate (see MAXX in hero.js) for the depth effect. */
.hero-layer.city{width:1936px;max-width:none}
.hero-layer.city[data-depth="1"]{bottom:137px;opacity:.92}
.hero-layer.city[data-depth="2"]{bottom:128px}
.hero-layer.city[data-depth="3"]{bottom:-84px}

/* Characters standing on the skyline */
.hero-layer.head{bottom:0}

/* Small bubbles float mid-scene */
.hero-layer.bubble-sm{top:340px;width:44px}

/* Big bubbles near the top, with a text label */
.hero-layer.bubble-lg{top:96px;width:200px;text-decoration:none;display:block}
.hero-layer.bubble-lg img{width:200px;height:auto;filter:drop-shadow(0 10px 18px rgba(20,25,60,.22));transition:transform .25s ease}
.hero-layer.bubble-lg:hover img{transform:scale(1.05)}
.bubble-label{
  position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);
  width:150px;text-align:center;
  font-family:"Baloo Tamma 2",sans-serif;font-weight:700;
  font-size:15px;line-height:1.2;color:var(--heading);
  text-transform:uppercase;letter-spacing:.3px;pointer-events:none;
}

/* Entrance animation — opacity only, so it never fights the
   positioning/parallax transform applied to each layer in JS. */
@keyframes floatIn{from{opacity:0}to{opacity:1}}
.hero-layer{opacity:1}
.hero-scene.animate .hero-layer{opacity:0;animation:floatIn .7s ease both}
.hero-scene.animate .hero-layer.city[data-depth="1"]{animation-delay:.05s}
.hero-scene.animate .hero-layer.city[data-depth="2"]{animation-delay:.12s}
.hero-scene.animate .hero-layer.city[data-depth="3"]{animation-delay:.18s}
.hero-scene.animate .hero-layer.head{animation-delay:.30s}
.hero-scene.animate .hero-layer.bubble-sm{animation-delay:.42s}
.hero-scene.animate .hero-layer.bubble-lg{animation-delay:.5s}

/* ---------- Sections ---------- */
.section{padding:88px 0}
.section-light{background:var(--white);color:var(--text)}
.section-blue{background:var(--blue);color:rgba(255,255,255,.92)}
.section-navy{background:var(--navy);color:rgba(255,255,255,.82)}
.section-blue h1,.section-blue h2,
.section-navy h1,.section-navy h2{color:var(--white)}
.section-blue .text-link,.section-navy .text-link{color:#fff;border-color:rgba(255,255,255,.5)}
.section-blue .text-link:hover,.section-navy .text-link:hover{border-color:#fff}

.section h1,.section h2{margin-top:0}
.narrow.center .lead{max-width:760px;margin-left:auto;margin-right:auto}

/* Two-column split */
.split{display:grid;grid-template-columns:1fr 1fr;gap:56px;align-items:center}
.split-media img{border-radius:var(--radius);box-shadow:var(--shadow)}
.signature{margin-top:18px;width:220px;height:auto;box-shadow:none;border-radius:0}
.section-blue .signature{filter:brightness(0) invert(1) opacity(.9)}

.topic-list{
  columns:2;column-gap:36px;
  margin:0 0 1.2em;padding:0;list-style:none;
}
.topic-list li{
  break-inside:avoid;margin:0 0 .5em;padding-left:26px;position:relative;
}
.topic-list li::before{
  content:"";position:absolute;left:0;top:.55em;
  width:10px;height:10px;border-radius:50%;background:var(--blue);
}
.section-blue .topic-list li::before,
.section-navy .topic-list li::before{background:#fff}
.useful-links a{color:inherit;font-weight:600}

/* ---------- Contact form ---------- */
.contact-form{
  max-width:760px;margin:36px auto 0;
  background:#f7f9fb;border:1px solid #e7edf2;border-radius:16px;
  padding:34px;box-shadow:0 10px 30px rgba(20,25,60,.06);
}
.form-row{display:grid;grid-template-columns:1fr 1fr;gap:20px}
.field{margin-bottom:20px}
.field label,.field legend{
  display:block;font-weight:600;color:var(--heading);
  margin-bottom:7px;font-size:.95rem;
}
.req{color:var(--green-dark)}
.field input,.field textarea{
  width:100%;padding:12px 14px;font:inherit;color:var(--heading);
  background:#fff;border:1px solid #d5dee6;border-radius:8px;
  transition:border-color .2s, box-shadow .2s;
}
.field input:focus,.field textarea:focus{
  outline:none;border-color:var(--blue);box-shadow:0 0 0 3px rgba(34,160,221,.18);
}
.field textarea{resize:vertical}
fieldset.field{border:0;padding:0;margin:0 0 20px}
.checkbox-grid{display:grid;grid-template-columns:1fr 1fr;gap:10px 20px}
.checkbox{
  display:flex;align-items:flex-start;gap:10px;font-weight:400;
  color:var(--text);cursor:pointer;font-size:.98rem;margin:0;
}
.checkbox input{width:auto;margin-top:3px;accent-color:var(--blue)}

.hp-field{position:absolute;left:-9999px;width:1px;height:1px;overflow:hidden}

.form-actions{margin-top:6px}
.btn-submit{
  appearance:none;border:0;cursor:pointer;
  background:var(--green);color:#fff;font:inherit;font-weight:700;
  padding:14px 34px;border-radius:8px;font-size:1.02rem;
  box-shadow:0 8px 20px rgba(38,194,128,.35);
  transition:background .2s, transform .1s;
}
.btn-submit:hover{background:var(--green-dark)}
.btn-submit:active{transform:translateY(1px)}
.btn-submit[disabled]{opacity:.6;cursor:default}
.form-message{margin:16px 0 0;font-weight:600;min-height:1.2em}
.form-message.ok{color:var(--green-dark)}
.form-message.err{color:#d33}

/* ---------- Footer ---------- */
.site-footer{background:var(--navy);color:rgba(255,255,255,.75);padding:28px 0}
.footer-inner{display:flex;align-items:center;justify-content:space-between;gap:16px;flex-wrap:wrap}
.site-footer a{color:#fff}
.copyright,.credit{margin:0;font-size:.92rem}
.to-top{
  display:inline-grid;place-items:center;width:42px;height:42px;
  border-radius:50%;background:rgba(255,255,255,.12);color:#fff;
  text-decoration:none;font-size:1.2rem;transition:background .2s;
}
.to-top:hover{background:rgba(255,255,255,.25)}

/* ---------- Responsive ---------- */
@media (max-width:900px){
  .split{grid-template-columns:1fr;gap:30px}
  .split-media{order:-1}
  #one-to-one-coaching .split-media{order:-1}
  .section{padding:60px 0}
  .form-row,.checkbox-grid{grid-template-columns:1fr}
  .topic-list{columns:1}
  .site-nav a:not(.nav-cta){display:none}
}

@media (max-width:600px){
  body{font-size:16px}
  .hero{height:460px}
  .contact-form{padding:22px}
  .footer-inner{justify-content:center;text-align:center}
}

@media (prefers-reduced-motion:reduce){
  html{scroll-behavior:auto}
  .hero-scene.animate .hero-layer{animation:none}
  .hero-layer.bubble-lg img{transition:none}
}
