/* ============================================================
   HSL AI Academy — Shared Stylesheet
   Theme: HSL Royal Blue (#2526C8) + White
   ============================================================ */

:root {
  --primary: #2526c8;
  --primary-dark: #1a1b8f;
  --primary-darker: #11125e;
  --primary-light: #4b4ce0;
  --accent: #ffb627;
  --accent-soft: #ffd87a;
  --ink: #14163a;
  --body: #4a4d6a;
  --muted: #7a7d9c;
  --bg: #f3f5fe;
  --bg-soft: #e9edfb;
  --bg-blue-tint: #e2e7fb;
  --line: #dde1f3;
  --white: #ffffff;
  --radius: 14px;
  --radius-lg: 22px;
  --shadow-sm: 0 2px 10px rgba(20, 22, 88, 0.07);
  --shadow-md: 0 10px 30px rgba(20, 22, 88, 0.12);
  --shadow-lg: 0 22px 60px rgba(20, 22, 88, 0.18);
  --font-head: "Poppins", sans-serif;
  --font-body: "Inter", sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: var(--font-body);
  color: var(--body);
  background: var(--bg);
  line-height: 1.7;
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
}

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

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

h1, h2, h3, h4, h5 {
  font-family: var(--font-head);
  color: var(--ink);
  line-height: 1.25;
  font-weight: 700;
}

.container {
  width: min(1180px, 92%);
  margin: 0 auto;
}

section { padding: 88px 0; }

/* ---------- Top bar ---------- */
.topbar {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  color: rgba(255, 255, 255, 0.92);
  font-size: 13px;
  padding: 7px 0;
}
.topbar .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.topbar a { color: #ffffff; }
.topbar a:hover { color: var(--accent); }
.topbar .tb-left, .topbar .tb-right { display: flex; gap: 22px; align-items: center; }

/* ---------- Header / Nav (light frosted glass) ---------- */
.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(240, 242, 253, 0.85);
  -webkit-backdrop-filter: blur(16px) saturate(150%);
  backdrop-filter: blur(16px) saturate(150%);
  border-bottom: 1px solid var(--line);
  transition: background 0.35s ease, box-shadow 0.35s ease;
}
.site-header.scrolled {
  background: rgba(243, 245, 254, 0.97);
  box-shadow: 0 10px 30px rgba(20, 22, 88, 0.10);
}
.navwrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 0;
}
.brand {
  display: flex;
  align-items: center;
  gap: 14px;
}
.brand img {
  height: 50px;
  width: auto;
  border-radius: 10px;
  background: var(--white);
  padding: 4px 10px;
  border: 1px solid var(--line);
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s;
}
.brand:hover img { transform: translateY(-2px); }
.brand .brand-text { color: var(--ink); }
.brand .brand-text strong {
  font-family: var(--font-head);
  font-size: 19px;
  display: block;
  line-height: 1.2;
  letter-spacing: 0.3px;
  background: linear-gradient(90deg, var(--primary-dark) 30%, var(--primary-light) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}
.brand .brand-text span {
  font-size: 11px;
  color: var(--muted);
  letter-spacing: 1px;
  text-transform: uppercase;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}
.nav-links a {
  position: relative;
  color: var(--body);
  font-weight: 500;
  font-size: 14.5px;
  letter-spacing: 0.2px;
  padding: 10px 15px;
  border-radius: 8px;
  transition: color 0.25s;
}
.nav-links a::after {
  content: "";
  position: absolute;
  left: 15px;
  right: 15px;
  bottom: 3px;
  height: 2.5px;
  border-radius: 3px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}
.nav-links a:hover { color: var(--primary); }
.nav-links a:hover::after { transform: scaleX(1); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-links a.active::after { transform: scaleX(1); }
.nav-links .nav-cta {
  background: linear-gradient(135deg, #ffc44d 0%, var(--accent) 45%, #ff9d1b 100%);
  color: var(--primary-darker);
  font-weight: 700;
  margin-left: 14px;
  padding: 11px 26px;
  border-radius: 999px;
  box-shadow: 0 8px 22px rgba(255, 182, 39, 0.38), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  transition: transform 0.25s, box-shadow 0.25s;
}
.nav-links .nav-cta::after { display: none; }
.nav-links .nav-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 30px rgba(255, 182, 39, 0.5), inset 0 1px 0 rgba(255, 255, 255, 0.45);
  color: var(--primary-darker);
}
.nav-links .nav-lms {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  border: 1.5px solid var(--primary);
  background: var(--white);
  border-radius: 999px;
  padding: 9.5px 22px;
  margin-left: 14px;
  color: var(--primary);
  font-weight: 600;
  transition: background 0.25s, color 0.25s, transform 0.25s, box-shadow 0.25s;
}
.nav-links .nav-lms::after { display: none; }
.nav-links .nav-lms:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(37, 38, 200, 0.3);
}

.nav-toggle {
  display: none;
  border: 1px solid var(--line);
  cursor: pointer;
  width: 42px;
  height: 42px;
  border-radius: 8px;
  background: var(--bg-soft);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--primary);
  margin: 5px auto;
  transition: transform 0.3s, opacity 0.3s;
}
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ---------- Register popup modal ---------- */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 3000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(10, 11, 40, 0.55);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.modal-overlay.show { opacity: 1; visibility: visible; }
.modal-box {
  position: relative;
  width: min(440px, 100%);
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px 34px 34px;
  text-align: center;
  box-shadow: var(--shadow-lg);
  transform: translateY(16px) scale(0.97);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.3, 1);
}
.modal-overlay.show .modal-box { transform: translateY(0) scale(1); }
.modal-box .modal-icon {
  width: 70px; height: 70px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: var(--bg-blue-tint);
  display: grid;
  place-items: center;
  font-size: 34px;
}
.modal-box h3 {
  font-size: 22px;
  margin-bottom: 10px;
  color: var(--ink);
}
.modal-box p {
  font-size: 15.5px;
  color: var(--body);
  margin-bottom: 26px;
  line-height: 1.6;
}
.modal-box .modal-ok { width: 100%; justify-content: center; }
.modal-box .modal-close {
  position: absolute;
  top: 14px; right: 16px;
  width: 34px; height: 34px;
  border: 0;
  border-radius: 50%;
  background: var(--bg-soft);
  color: var(--muted);
  font-size: 15px;
  cursor: pointer;
  transition: background 0.2s, color 0.2s;
}
.modal-box .modal-close:hover { background: var(--line); color: var(--ink); }

/* ---------- Next batch announcement banner ---------- */
.batch-banner {
  background: linear-gradient(90deg, #ffc44d 0%, var(--accent) 50%, #ff9d1b 100%);
  color: var(--primary-darker);
  font-size: 14px;
  padding: 9px 0;
  position: relative;
  z-index: 900;
  box-shadow: 0 4px 14px rgba(255, 182, 39, 0.30);
}
.batch-banner .container {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  text-align: center;
}
.batch-banner .bb-pulse {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--primary-darker);
  flex: 0 0 auto;
  animation: bbPulse 1.6s ease-in-out infinite;
}
@keyframes bbPulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(17, 18, 94, 0.45); }
  50% { box-shadow: 0 0 0 6px rgba(17, 18, 94, 0); }
}
.batch-banner .bb-text strong { font-weight: 800; }
.batch-banner .bb-link {
  font-weight: 800;
  color: var(--primary-darker);
  text-decoration: underline;
  text-underline-offset: 3px;
  white-space: nowrap;
}
.batch-banner .bb-link:hover { color: var(--primary); }
@media (max-width: 768px) {
  .batch-banner { font-size: 13px; }
}

/* ---------- Hero (light frosted veil over AI artwork) ---------- */
.hero {
  background:
    linear-gradient(95deg,
      rgba(243, 245, 254, 0.98) 0%,
      rgba(243, 245, 254, 0.94) 32%,
      rgba(240, 242, 253, 0.74) 58%,
      rgba(236, 239, 252, 0.52) 100%),
    url("../assets/img/hero-bg.jpg") no-repeat 72% 35% / cover,
    var(--bg);
  color: var(--ink);
  padding: 56px 0 110px;
  position: relative;
  overflow: hidden;
}
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37, 38, 200, 0.10) 1px, transparent 1px);
  background-size: 34px 34px;
  pointer-events: none;
}
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 460px at 14% 28%, rgba(255, 255, 255, 0.65), transparent 60%);
  pointer-events: none;
}
.hero .container { position: relative; z-index: 2; }
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 56px;
  align-items: center;
}
.hero .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-blue-tint);
  border: 1px solid #d8dcf7;
  color: var(--primary);
  padding: 7px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  margin-bottom: 26px;
}
.hero .eyebrow .dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 182, 39, 0.25);
}
.hero h1 {
  color: var(--ink);
  font-size: clamp(32px, 4vw, 50px);
  font-weight: 800;
  margin-bottom: 18px;
  letter-spacing: -0.5px;
}
.hero h1 .grad {
  background: linear-gradient(90deg, var(--primary) 0%, #7a5cff 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero p.lead {
  font-size: 17px;
  color: var(--body);
  max-width: 560px;
  margin-bottom: 30px;
}
.hero-actions { display: flex; gap: 16px; flex-wrap: wrap; }

.hero-card {
  background: rgba(255, 255, 255, 0.80);
  border: 1px solid rgba(255, 255, 255, 0.9);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 26px 30px;
  box-shadow: var(--shadow-lg);
}
.hero-card h3 { color: var(--ink); font-size: 18px; margin-bottom: 14px; }
.hero-card ul { list-style: none; }
.hero-card li {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  padding: 8px 0;
  color: var(--body);
  font-size: 15px;
  border-bottom: 1px dashed var(--line);
}
.hero-card li:last-child { border-bottom: 0; }
.hero-card li .tick {
  flex: 0 0 auto;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--accent);
  color: var(--primary-darker);
  font-size: 12px;
  font-weight: 800;
  display: grid;
  place-items: center;
  margin-top: 3px;
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-head);
  font-weight: 600;
  font-size: 15.5px;
  padding: 14px 32px;
  border-radius: 999px;
  cursor: pointer;
  border: 2px solid transparent;
  transition: transform 0.2s, box-shadow 0.2s, background 0.2s, color 0.2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: var(--accent);
  color: var(--primary-darker);
  box-shadow: 0 10px 24px rgba(255, 182, 39, 0.35);
}
.btn-primary:hover { background: var(--accent-soft); }
.btn-outline-light {
  border-color: rgba(255, 255, 255, 0.55);
  color: var(--white);
}
.btn-outline-light:hover { background: rgba(255, 255, 255, 0.12); }
.btn-blue {
  background: var(--primary);
  color: var(--white);
  box-shadow: 0 10px 24px rgba(37, 38, 200, 0.3);
}
.btn-blue:hover { background: var(--primary-light); color: var(--white); }
.btn-outline-blue {
  border-color: var(--primary);
  color: var(--primary);
}
.btn-outline-blue:hover { background: var(--primary); color: var(--white); }

/* ---------- Stats strip ---------- */
.stats-strip {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 34px 18px;
  margin-top: -64px;
  position: relative;
  z-index: 5;
}
.stat {
  text-align: center;
  padding: 6px 14px;
  border-right: 1px solid var(--line);
}
.stat:last-child { border-right: 0; }
.stat .num {
  font-family: var(--font-head);
  font-size: 34px;
  font-weight: 800;
  color: var(--primary);
  line-height: 1.1;
}
.stat .lbl {
  font-size: 13.5px;
  color: var(--muted);
  margin-top: 6px;
  font-weight: 500;
}

/* ---------- Section headers ---------- */
.sec-head { max-width: 720px; margin: 0 auto 54px; text-align: center; }
.sec-head.left { margin: 0 0 44px; text-align: left; }
.sec-head .kicker {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  color: var(--primary);
  background: var(--bg-blue-tint);
  padding: 7px 18px;
  border-radius: 999px;
  margin-bottom: 16px;
}
.sec-head h2 {
  font-size: clamp(28px, 3.4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.4px;
  margin-bottom: 14px;
}
.sec-head p { color: var(--muted); font-size: 16.5px; }

/* ---------- Cards & grids ---------- */
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 26px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 26px; }

.card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 32px 28px;
  transition: transform 0.25s, box-shadow 0.25s, border-color 0.25s;
}
.card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.card .icon {
  width: 54px; height: 54px;
  border-radius: 14px;
  background: var(--bg-blue-tint);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 24px;
  margin-bottom: 20px;
}
.card h3 { font-size: 18.5px; margin-bottom: 10px; }
.card p { font-size: 15px; color: var(--body); }

.soft {
  background:
    url("../assets/img/bg-circuit.svg") no-repeat right -110px top -110px / 360px auto,
    url("../assets/img/bg-circuit.svg") no-repeat left -130px bottom -130px / 360px auto,
    var(--bg-soft);
}

/* decorative section icons (never intercept clicks) */
section { position: relative; }
section > .container { position: relative; z-index: 2; }
section:not(.soft):not(.hero):not(.page-hero)::before {
  content: "";
  position: absolute;
  left: -90px;
  bottom: -60px;
  width: 320px;
  height: 320px;
  background: url("../assets/img/bg-ai-chip.svg") no-repeat center / contain;
  opacity: 0.5;
  pointer-events: none;
  z-index: 1;
}

/* ---------- Feature list chips ---------- */
.chip-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.chip {
  display: flex;
  align-items: center;
  gap: 12px;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 14px 18px;
  font-weight: 500;
  font-size: 15px;
  color: var(--ink);
  transition: border-color 0.2s, box-shadow 0.2s;
}
.chip:hover { border-color: var(--primary-light); box-shadow: var(--shadow-sm); }
.chip .tick {
  flex: 0 0 auto;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--primary);
  color: var(--white);
  font-size: 12px;
  display: grid;
  place-items: center;
  font-weight: 800;
}

/* ---------- Roadmap timeline ---------- */
.timeline { position: relative; margin-top: 10px; }
.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0; bottom: 0;
  width: 3px;
  transform: translateX(-50%);
  background: linear-gradient(var(--primary-light), var(--primary-darker));
  border-radius: 3px;
}
.t-item {
  position: relative;
  width: 50%;
  padding: 18px 48px 18px 0;
}
.t-item:nth-child(even) {
  margin-left: 50%;
  padding: 18px 0 18px 48px;
}
.t-item .t-dot {
  position: absolute;
  top: 38px;
  right: -11px;
  width: 22px; height: 22px;
  border-radius: 50%;
  background: var(--white);
  border: 5px solid var(--primary);
  z-index: 2;
}
.t-item:nth-child(even) .t-dot { right: auto; left: -11px; }
.t-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-sm);
  transition: transform 0.25s, box-shadow 0.25s;
}
.t-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.t-card .month {
  display: inline-block;
  font-family: var(--font-head);
  font-size: 12.5px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--primary);
  border-radius: 999px;
  padding: 5px 14px;
  margin-bottom: 12px;
}
.t-card h3 { font-size: 18px; margin-bottom: 10px; }
.t-card ul { list-style: none; }
.t-card li {
  font-size: 14.5px;
  padding: 4px 0 4px 22px;
  position: relative;
}
.t-card li::before {
  content: "▸";
  position: absolute;
  left: 2px;
  color: var(--primary);
  font-size: 13px;
}

/* Per-month relevant background imagery (fades into white behind the text) */
.timeline .t-card { position: relative; isolation: isolate; }
.timeline .t-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  border-radius: inherit;
  background-position: right center;
  background-size: cover;
  background-repeat: no-repeat;
  opacity: 0.9;
  -webkit-mask-image: linear-gradient(100deg, transparent 0%, transparent 52%, rgba(0,0,0,0.55) 80%, rgba(0,0,0,0.9) 100%);
  mask-image: linear-gradient(100deg, transparent 0%, transparent 52%, rgba(0,0,0,0.55) 80%, rgba(0,0,0,0.9) 100%);
}
.timeline .t-item:nth-child(1) .t-card::before { background-image: url("../assets/img/m1-foundations.jpg"); }
.timeline .t-item:nth-child(2) .t-card::before { background-image: url("../assets/img/m2-genai.jpg"); }
.timeline .t-item:nth-child(3) .t-card::before { background-image: url("../assets/img/m3-data.jpg"); }
.timeline .t-item:nth-child(4) .t-card::before { background-image: url("../assets/img/m4-automation.jpg"); }
.timeline .t-item:nth-child(5) .t-card::before { background-image: url("../assets/img/m5-projects.jpg"); }
.timeline .t-item:nth-child(6) .t-card::before { background-image: url("../assets/img/m6-career.jpg"); }

/* ---------- Media row (image + text) ---------- */
.media-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}
.media-img {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  aspect-ratio: 4 / 3;
}
.media-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}
.media-img:hover img { transform: scale(1.05); }
.media-img::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, transparent 45%, rgba(37, 38, 200, 0.28));
  pointer-events: none;
}
.media-img .float-badge {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  background: rgba(255, 255, 255, 0.92);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
  border-radius: 12px;
  padding: 12px 18px;
  box-shadow: var(--shadow-md);
  display: flex;
  align-items: center;
  gap: 12px;
}
.media-img .float-badge .fb-ic {
  width: 38px; height: 38px;
  border-radius: 10px;
  background: var(--primary);
  color: var(--white);
  display: grid;
  place-items: center;
  font-size: 18px;
  flex: 0 0 auto;
}
.media-img .float-badge strong {
  font-family: var(--font-head);
  font-size: 15px;
  color: var(--ink);
  display: block;
  line-height: 1.2;
}
.media-img .float-badge span { font-size: 12.5px; color: var(--muted); }

/* ---------- Tool pills ---------- */
.pill-wrap { display: flex; flex-wrap: wrap; gap: 12px; }
.pill {
  background: var(--white);
  border: 1.5px solid var(--line);
  color: var(--ink);
  border-radius: 999px;
  padding: 9px 20px;
  font-size: 14.5px;
  font-weight: 600;
  transition: all 0.2s;
}
.pill:hover {
  border-color: var(--primary);
  color: var(--primary);
  transform: translateY(-2px);
}
.tool-group { margin-bottom: 34px; }
.tool-group h3 {
  font-size: 17px;
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.tool-group h3 .bar {
  width: 26px; height: 4px;
  border-radius: 4px;
  background: var(--accent);
  display: inline-block;
}

/* ---------- CTA band ---------- */
.cta-band {
  background:
    radial-gradient(900px 400px at 90% 0%, rgba(75, 76, 224, 0.6), transparent 60%),
    linear-gradient(120deg, var(--primary-darker), var(--primary));
  border-radius: var(--radius-lg);
  color: var(--white);
  padding: 64px 56px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 36px;
  flex-wrap: wrap;
  position: relative;
  overflow: hidden;
}
.cta-band::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px);
  background-size: 30px 30px;
}
.cta-band > * { position: relative; z-index: 2; }
.cta-band h2 { color: var(--white); font-size: clamp(24px, 3vw, 34px); margin-bottom: 10px; }
.cta-band p { color: rgba(255, 255, 255, 0.85); max-width: 540px; }

/* ---------- Page hero (inner pages, light frosted veil over AI artwork) ---------- */
.page-hero {
  background:
    linear-gradient(95deg,
      rgba(243, 245, 254, 0.98) 0%,
      rgba(243, 245, 254, 0.94) 32%,
      rgba(240, 242, 253, 0.74) 58%,
      rgba(236, 239, 252, 0.52) 100%),
    url("../assets/img/hero-bg.jpg") no-repeat 72% 35% / cover,
    var(--bg);
  color: var(--ink);
  padding: 70px 0 76px;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--line);
}
.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: radial-gradient(rgba(37, 38, 200, 0.10) 1px, transparent 1px);
  background-size: 32px 32px;
  pointer-events: none;
}
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 420px at 14% 30%, rgba(255, 255, 255, 0.6), transparent 60%);
  pointer-events: none;
}
.page-hero .container { position: relative; z-index: 2; }
.page-hero h1 {
  color: var(--ink);
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  margin-bottom: 12px;
}
.page-hero p { color: var(--body); max-width: 640px; font-size: 17px; }
.breadcrumb {
  font-size: 13px;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 18px;
}
.breadcrumb a { color: var(--primary); }
.breadcrumb a:hover { color: var(--primary-light); }
.breadcrumb .sep { margin: 0 8px; opacity: 0.5; }

/* ---------- Founder ---------- */
.founder-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 56px;
  align-items: start;
}
.founder-photo {
  position: relative;
}
.founder-photo img {
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  width: 100%;
}
.founder-photo .badge {
  position: absolute;
  bottom: -20px;
  left: 24px;
  right: 24px;
  background: var(--primary);
  color: var(--white);
  border-radius: var(--radius);
  padding: 16px 22px;
  text-align: center;
  box-shadow: var(--shadow-md);
}
.founder-photo .badge strong {
  font-family: var(--font-head);
  display: block;
  font-size: 17px;
}
.founder-photo .badge span { font-size: 13px; opacity: 0.85; }

.quote-block {
  background: var(--bg-blue-tint);
  border-left: 5px solid var(--primary);
  border-radius: 0 var(--radius) var(--radius) 0;
  padding: 26px 30px;
  font-size: 16.5px;
  font-style: italic;
  color: var(--ink);
  margin: 26px 0;
}
.quote-block .who {
  display: block;
  margin-top: 14px;
  font-style: normal;
  font-weight: 700;
  font-family: var(--font-head);
  color: var(--primary);
  font-size: 14.5px;
}

.milestone-list { list-style: none; margin-top: 8px; }
.milestone-list li {
  position: relative;
  padding: 10px 0 10px 34px;
  font-size: 15.5px;
  border-bottom: 1px dashed var(--line);
}
.milestone-list li:last-child { border-bottom: 0; }
.milestone-list li::before {
  content: "★";
  position: absolute;
  left: 4px;
  top: 10px;
  color: var(--accent);
  font-size: 15px;
}

/* ---------- Gallery ---------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}
.g-item {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  cursor: pointer;
}
.g-item img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  transition: transform 0.4s;
}
.g-item:hover img { transform: scale(1.06); }
.g-item .cap {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  background: linear-gradient(transparent, rgba(17, 18, 94, 0.92));
  color: var(--white);
  font-size: 13.5px;
  font-weight: 500;
  padding: 38px 16px 14px;
}

/* Lightbox */
.lightbox {
  position: fixed;
  inset: 0;
  background: rgba(10, 11, 40, 0.92);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 2000;
  padding: 40px;
}
.lightbox.show { display: flex; }
.lightbox img {
  max-width: min(960px, 92vw);
  max-height: 82vh;
  border-radius: 12px;
  box-shadow: var(--shadow-lg);
}
.lightbox .lb-cap {
  position: absolute;
  bottom: 26px;
  left: 0; right: 0;
  text-align: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 15px;
}
.lightbox .lb-close {
  position: absolute;
  top: 22px; right: 30px;
  background: rgba(255, 255, 255, 0.12);
  border: 0;
  color: var(--white);
  font-size: 22px;
  width: 44px; height: 44px;
  border-radius: 50%;
  cursor: pointer;
}

/* ---------- Contact ---------- */
.contact-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 40px;
  align-items: start;
}
.info-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 26px 26px;
  display: flex;
  gap: 18px;
  align-items: flex-start;
  margin-bottom: 18px;
  transition: box-shadow 0.2s;
}
.info-card:hover { box-shadow: var(--shadow-sm); }
.info-card .icon {
  flex: 0 0 auto;
  width: 50px; height: 50px;
  border-radius: 12px;
  background: var(--bg-blue-tint);
  color: var(--primary);
  display: grid;
  place-items: center;
  font-size: 22px;
}
.info-card h3 { font-size: 16.5px; margin-bottom: 4px; }
.info-card p, .info-card a { font-size: 15px; color: var(--body); }
.info-card a:hover { color: var(--primary); }

.form-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-md);
}
.form-card h3 { font-size: 22px; margin-bottom: 6px; }
.form-card .sub { color: var(--muted); font-size: 14.5px; margin-bottom: 26px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.field { margin-bottom: 18px; }
.field label {
  display: block;
  font-weight: 600;
  font-size: 14px;
  color: var(--ink);
  margin-bottom: 7px;
}
.field input, .field select, .field textarea {
  width: 100%;
  font-family: var(--font-body);
  font-size: 15px;
  color: var(--ink);
  background: var(--bg-soft);
  border: 1.5px solid var(--line);
  border-radius: 10px;
  padding: 13px 16px;
  outline: none;
  transition: border-color 0.2s, background 0.2s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--primary);
  background: var(--white);
}
.field textarea { resize: vertical; min-height: 120px; }
.form-note { font-size: 13px; color: var(--muted); margin-top: 14px; }
.form-status {
  display: none;
  margin-top: 16px;
  padding: 13px 18px;
  border-radius: 10px;
  font-size: 14.5px;
  font-weight: 500;
  line-height: 1.5;
}
.form-status.show { display: block; }
.form-status.ok { background: #e7f8ef; color: #0f7a45; border: 1px solid #bfe9d2; }
.form-status.err { background: #fdeeee; color: #b3261e; border: 1px solid #f3c4c1; }

/* ---------- Footer ---------- */
.site-footer {
  background: var(--primary-darker);
  color: #b9bbed;
  padding: 70px 0 0;
  font-size: 14.5px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 0.8fr 0.9fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
}
.site-footer h4 {
  color: var(--white);
  font-size: 16px;
  margin-bottom: 18px;
}
.site-footer .f-brand img {
  height: 50px;
  background: var(--white);
  border-radius: 8px;
  padding: 4px 10px;
  margin-bottom: 16px;
}
.site-footer ul { list-style: none; }
.site-footer li { margin-bottom: 10px; }
.site-footer a:hover { color: var(--accent); }
.f-contact li {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}
.f-contact .ic { color: var(--accent); flex: 0 0 18px; }
.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
  font-size: 13.5px;
}
.footer-bottom a { color: var(--accent); }

/* ---------- Reveal animations ---------- */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal.d1 { transition-delay: 0.1s; }
.reveal.d2 { transition-delay: 0.2s; }
.reveal.d3 { transition-delay: 0.3s; }

/* ---------- WhatsApp float ---------- */
.wa-float {
  position: fixed;
  right: 22px;
  bottom: 22px;
  z-index: 1500;
  width: 56px; height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: var(--white);
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.25);
  transition: transform 0.2s;
}
.wa-float:hover { transform: scale(1.08); }
.wa-float svg { width: 30px; height: 30px; fill: var(--white); }

/* ---------- Responsive ---------- */
@media (max-width: 992px) {
  section { padding: 64px 0; }
  .hero { padding: 80px 0 96px; }
  .hero-grid { grid-template-columns: 1fr; gap: 40px; }
  .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-strip { grid-template-columns: repeat(2, 1fr); gap: 18px 0; }
  .stat:nth-child(2) { border-right: 0; }
  .founder-grid, .contact-grid, .media-grid { grid-template-columns: 1fr; }
  .media-grid { gap: 30px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); }

  .timeline::before { left: 14px; }
  .t-item, .t-item:nth-child(even) {
    width: 100%;
    margin-left: 0;
    padding: 14px 0 14px 48px;
  }
  .t-item .t-dot, .t-item:nth-child(even) .t-dot { left: 3px; right: auto; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    position: absolute;
    top: 100%;
    left: 0; right: 0;
    background: rgba(243, 245, 254, 0.98);
    -webkit-backdrop-filter: blur(18px);
    backdrop-filter: blur(18px);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: stretch;
    gap: 4px;
    padding: 18px 5%;
    display: none;
    box-shadow: 0 18px 30px rgba(20, 22, 88, 0.14);
  }
  .nav-links a::after { display: none; }
  .nav-links a.active { background: var(--bg-blue-tint); }
  .nav-links .nav-cta::after { display: none; }
  .nav-links.open { display: flex; }
  .nav-links .nav-cta, .nav-links .nav-lms { margin-left: 0; text-align: center; justify-content: center; }
  .topbar .tb-right { display: none; }
  .grid-3, .grid-4, .chip-grid, .form-row, .gallery-grid { grid-template-columns: 1fr; }
  .stats-strip { grid-template-columns: 1fr 1fr; padding: 24px 10px; }
  .stat { border-right: 0; }
  .cta-band { padding: 44px 28px; }
  .form-card { padding: 28px 22px; }
  .footer-grid { grid-template-columns: 1fr; }
}
