/* Blimp Academy — one stylesheet for the whole site.
   Colours and font copied from the original Wix site. */

@font-face { font-family: "Poppins"; font-weight: 300; font-display: swap; src: url("/fonts/poppins-latin-300-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 400; font-display: swap; src: url("/fonts/poppins-latin-400-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-display: swap; src: url("/fonts/poppins-latin-600-normal.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 600; font-style: italic; font-display: swap; src: url("/fonts/poppins-latin-600-italic.woff2") format("woff2"); }
@font-face { font-family: "Poppins"; font-weight: 700; font-display: swap; src: url("/fonts/poppins-latin-700-normal.woff2") format("woff2"); }

:root {
  --blue: #1c8dd4;
  --navy: #135e8d;
  --yellow: #ffc636;
  --grey: #f0f0f0;
  --mist: #d6e3ec;
  --white: #ffffff;
  --max: 1100px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: "Poppins", system-ui, sans-serif;
  font-weight: 600;
  color: var(--blue);
  background: var(--white);
  line-height: 1.6;
}
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; }
h1, h2, h3 { line-height: 1.2; margin: 0 0 .6em; }
p { margin: 0 0 1em; }
.wrap { max-width: var(--max); margin: 0 auto; padding: 0 24px; }

/* ---------- header & navigation ---------- */
.site-header {
  position: sticky; top: 0; z-index: 10;
  background: var(--white);
  box-shadow: 0 2px 6px rgba(0,0,0,.08);
}
.site-header .wrap {
  display: flex; align-items: center; justify-content: space-between; gap: 24px;
  min-height: 92px; max-width: 1280px;
}
.logo img { width: 72px; }
.tagline { font-size: 14px; line-height: 1.25; text-align: right; color: var(--blue); font-weight: 700; }
.nav-toggle { display: none; }
.nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 28px; }
.nav a, .nav .drop-btn {
  text-decoration: none; color: var(--navy); font: inherit; font-size: 18px;
  background: none; border: 0; padding: 8px 0; cursor: pointer;
  display: inline-block; line-height: 1.6; font-weight: 600;
}
.nav a:hover, .nav .drop-btn:hover, .nav a[aria-current="page"] { color: var(--blue); }
.nav li { position: relative; }
.nav .sub {
  display: none; position: absolute; top: 100%; left: -16px; min-width: 210px;
  list-style: none; margin: 0; padding: 8px 0; background: var(--white);
  box-shadow: 0 6px 18px rgba(0,0,0,.12); border-radius: 6px;
}
.nav .sub a { display: block; padding: 8px 16px; font-size: 16px; }
.nav li:hover > .sub, .nav li:focus-within > .sub { display: block; }

@media (max-width: 860px) {
  .tagline { display: none; }
  .nav-toggle {
    display: block; background: none; border: 2px solid var(--navy); border-radius: 6px;
    color: var(--navy); font: inherit; padding: 6px 12px; cursor: pointer;
  }
  .nav { display: none; position: absolute; top: 100%; left: 0; right: 0; background: var(--white); box-shadow: 0 8px 16px rgba(0,0,0,.1); }
  .nav.open { display: block; }
  .nav > ul { flex-direction: column; gap: 0; padding: 8px 24px 16px; }
  .nav .sub { display: block; position: static; box-shadow: none; padding: 0 0 0 16px; }
}

/* ---------- page banners ---------- */
.banner { position: relative; height: 340px; overflow: hidden; }
.banner img { width: 100%; height: 100%; object-fit: cover; }
.page-title {
  text-align: center; color: var(--blue); font-size: 36px; letter-spacing: .12em;
  text-transform: uppercase; margin: 56px 0 8px;
}
.rule { width: 46px; height: 5px; background: var(--yellow); border: 0; margin: 0 auto 36px; }

section { padding: 56px 0; }
.lead { max-width: 820px; margin: 0 auto; text-align: center; font-size: 18px; }
.text { max-width: 860px; margin: 0 auto; font-size: 17px; font-weight: 400; color: var(--navy); }
.text strong { color: var(--blue); }

/* ---------- home ---------- */
.hero { background: var(--blue); color: var(--white); padding: 120px 0 140px; }
.hero h1 { font-size: clamp(40px, 7vw, 72px); max-width: 640px; }
.btn {
  display: inline-block; padding: 12px 34px; border-radius: 40px; text-decoration: none;
  font-weight: 600; background: var(--yellow); color: var(--navy); border: 2px solid var(--yellow);
}
.btn:hover { background: transparent; color: var(--white); }
.btn.outline { background: transparent; color: var(--blue); border-color: var(--blue); }
.btn.outline:hover { background: var(--blue); color: var(--white); }

.grey { background: var(--grey); }
.blue { background: var(--blue); color: var(--white); }
.blue .page-title { color: var(--white); }

.scale { max-width: 760px; margin: 40px auto 56px; position: relative; padding-top: 10px; }
.scale-labels { display: flex; justify-content: space-between; font-size: 30px; margin-bottom: 26px; }
.scale-bar { height: 10px; background: var(--white); border-radius: 5px; position: relative; margin-top: 8px; }
.scale-bar::before, .scale-bar::after { content: ""; position: absolute; top: -22px; width: 10px; height: 54px; background: var(--white); border-radius: 5px; }
.scale-bar::before { left: 0; } .scale-bar::after { right: 0; }
.scale-score {
  position: absolute; top: 50%; transform: translate(-50%, -50%);
  width: 82px; height: 82px; border-radius: 50%; background: var(--yellow); color: var(--white);
  display: grid; place-items: center; font-size: 26px; font-weight: 700;
}
.scale-caption { font-size: 13px; display: flex; justify-content: space-between; margin-top: 30px; opacity: .85; }

.quotes { columns: 3 300px; column-gap: 24px; }
.quote {
  break-inside: avoid; background: var(--white); color: var(--blue); padding: 24px 22px 18px;
  margin: 0 0 24px; text-align: center; font-style: italic; font-size: 15px;
}
.quote h3 { font-style: normal; color: var(--yellow); font-size: 16px; margin-bottom: 10px; }
.quote b { color: var(--yellow); }
.quote::after { content: "\201D"; display: block; color: var(--yellow); font-size: 56px; line-height: .6; margin-top: 18px; font-style: normal; }

/* ---------- services ---------- */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 24px; margin-top: 24px; }
.step { background: var(--white); color: var(--navy); padding: 24px; border-top: 6px solid var(--yellow); font-weight: 400; }
.step span { display: block; font-size: 40px; font-weight: 700; color: var(--blue); }

/* ---------- vision ---------- */
.vision { font-size: clamp(22px, 3vw, 30px); text-align: center; max-width: 820px; margin: 0 auto; }
.pillars { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 24px; margin-top: 40px; }
.pillar { position: relative; aspect-ratio: 5 / 7; overflow: hidden; }
.pillar img { width: 100%; height: 100%; object-fit: cover; filter: brightness(.7); }
.pillar span { position: absolute; inset: 0; display: grid; place-items: center; color: var(--white); font-size: 28px; letter-spacing: .1em; }

/* ---------- team ---------- */
.people { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 40px 32px; }
.person { text-align: center; }
.person img { width: 220px; height: 220px; border-radius: 50%; object-fit: cover; margin: 0 auto 14px; }
.person h3 { font-size: 20px; margin-bottom: 2px; }
.person .role { color: var(--yellow); margin-bottom: 10px; }
.person p { font-weight: 400; color: var(--navy); font-size: 15px; }
.coach .role { color: var(--navy); font-weight: 400; font-size: 15px; line-height: 1.5; }

/* ---------- curriculum ---------- */
.motto { background: var(--blue); color: var(--white); text-align: center; padding: 44px 24px; margin: 40px 0; }
.motto em { display: block; font-size: clamp(30px, 5vw, 48px); color: var(--yellow); font-style: normal; }
.principles { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 16px; margin: 24px 0 32px; }
.principles div { background: var(--yellow); color: var(--navy); text-align: center; padding: 22px 12px; font-weight: 700; }

/* ---------- activities ---------- */
.gallery { columns: 3 260px; column-gap: 14px; }
.gallery img { margin-bottom: 14px; width: 100%; }
.video { max-width: 860px; margin: 40px auto 0; }
.video video { width: 100%; }

/* ---------- work ---------- */
.two { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 40px; margin-top: 32px; }
.two img { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; margin-bottom: 18px; }
.two h3 { font-size: 26px; margin: 0; }
.two h4 { color: var(--yellow); margin: 0 0 10px; font-size: 18px; }
.two p { font-weight: 400; color: var(--navy); }

/* ---------- past work ---------- */
.project { display: grid; grid-template-columns: 1fr 1fr; gap: 48px; align-items: center; padding: 40px 0; }
.project:nth-child(even) .project-img { order: 2; }
.project-img img { max-height: 520px; width: auto; margin: 0 auto; box-shadow: 0 6px 20px rgba(0,0,0,.12); }
.project h2 { font-size: 30px; text-align: center; }
.project p { text-align: center; font-size: 16px; }
@media (max-width: 760px) {
  .project { grid-template-columns: 1fr; gap: 20px; }
  .project:nth-child(even) .project-img { order: 0; }
}

/* ---------- contact ---------- */
.contact-box { background: var(--mist); padding: 48px 24px; }
.contact-card { background: var(--white); max-width: 640px; margin: 0 auto; padding: 40px 32px; text-align: center; border-radius: 6px; }
.contact-card .btns { display: flex; flex-wrap: wrap; gap: 16px; justify-content: center; margin-top: 24px; }

/* ---------- footer ---------- */
.site-footer { padding: 32px 0; font-size: 15px; }
.site-footer .wrap { display: flex; flex-wrap: wrap; gap: 16px 48px; align-items: center; justify-content: center; }
.site-footer a { color: var(--blue); }
.site-footer svg { width: 30px; height: 30px; vertical-align: middle; }
