/* =========================================================
   GEOX Spatial Solution: Core Stylesheet
   Light survey sheet theme: Manrope, Tailwind type scale, spacing
   tokens, Tailwind radii, warm neutrals, one base motion curve.
   All sizes are rem so the layout scales as one piece (see html rule).
   ========================================================= */

/* ---------- Design tokens ---------- */
:root {
  /* Surfaces (modern glassmorphic & translucent) */
  --page-bg: #f8fafc;
  --surface: rgba(255, 255, 255, 0.72);
  /* warm neutrals: tuned to sit between white and the map paper (--paper) */
  --surface-subtle: rgba(244, 241, 234, 0.65);
  --surface-hover: rgba(235, 230, 218, 0.8);
  --bg-800: rgba(244, 241, 234, 0.65);              /* legacy alias used inline on inner pages */
  --border-soft: rgba(214, 204, 185, 0.45);
  --border-strong: rgba(190, 178, 155, 0.65);
  --glass-bg: rgba(255, 255, 255, 0.62);
  --glass-border: rgba(255, 255, 255, 0.75);
  --glass-blur: blur(18px) saturate(180%);

  /* Text */
  --text-primary: #0f1e2c;
  --text-secondary: #43556a;
  --text-muted: #5e6670;          /* 5.8:1 on white, 5.3:1 on the warm tint */

  /* Brand (sampled from the GeoX logo) */
  --navy: #17344d;
  --navy-hover: #1f4e78;
  --navy-click: #102638;
  --blue: #2e6da4;
  --blue-light: #4fa3d1;
  --accent: #2e6da4;              /* 5.4:1 on white */
  --accent-soft: #eaf2f9;

  /* On navy surfaces */
  --on-navy: #ffffff;
  --on-navy-secondary: #c5d3e0;
  --on-navy-border: rgba(255, 255, 255, 0.16);

  /* Paper: sampled from the GEOX relief map's own sheet */
  --paper: #e4d5b5;
  --paper-ink: #5a4c36;                                    /* 5.7:1 on paper; body text 5.3:1, headings 11.7:1 */
  --paper-rule: rgba(90, 76, 54, 0.24);

  /* Status */
  --amber: #8a5a12;
  --amber-soft: #fbf1df;
  --green: #1f7a4d;
  --danger: #b42318;

  /* Type */
  /* "Poppins" is loaded as a digits only subset (0 to 9), so numbers use Poppins and letters use Manrope */
  --font: "Poppins", "Manrope", "Segoe UI", system-ui, sans-serif;
  --font-mono: "Geist Mono", ui-monospace, "SFMono-Regular", Consolas, monospace;

  /* Spacing tokens (only these values) */
  --s-25: 2px;
  --s-50: 0.25rem;
  --s-75: 0.5rem;
  --s-100: 0.75rem;
  --s-200: 1rem;
  --s-300: 1.5rem;
  --s-400: 2rem;
  --s-500: 2.5rem;
  --s-600: 3rem;
  --s-700: 4rem;
  --s-800: 5rem;
  --s-900: 6rem;

  /* Radius (Tailwind values) */
  --r-sm: 0.25rem;      /* rounded */
  --r-md: 0.375rem;      /* rounded-md */
  --r-lg: 0.5rem;      /* rounded-lg */
  --r-xl: 0.75rem;     /* rounded-xl */
  --r-2xl: 1rem;    /* rounded-2xl */
  --r-3xl: 1.5rem;    /* rounded-3xl */
  --r-full: 9999px;
  --radius-sm: var(--r-lg);       /* legacy aliases */
  --radius-md: var(--r-2xl);
  --radius-lg: var(--r-3xl);

  /* Layout */
  --container: 76rem;
  --gutter: var(--s-300);
  --nav-offset: 6rem;

  /* Elevation (soft, navy tinted) */
  --shadow-sm: 0 1px 2px rgba(15, 30, 44, 0.04), 0 2px 0.5rem -2px rgba(15, 30, 44, 0.06);
  --shadow-md: 0 1px 2px rgba(15, 30, 44, 0.04), 0 0.75rem 2rem -12px rgba(15, 30, 44, 0.16);
  --shadow-lg: 0 2px 0.25rem rgba(15, 30, 44, 0.04), 0 1.5rem 4rem -24px rgba(15, 30, 44, 0.24);
  --shadow-xl: 0 2px 0.25rem rgba(15, 30, 44, 0.05), 0 2rem 5rem -24px rgba(15, 30, 44, 0.3);

  /* Motion */
  --ease: cubic-bezier(0.22, 1, 0.36, 1);
  --dur-move: 500ms;
  --dur-color: 300ms;
}

/* ---------- Brand wordmark: always GEOX in the Tesla font ----------
   To use the real Tesla font, put the licensed file at assets/fonts/tesla.woff2
   and add this line as the first entry of src below:
     url("../assets/fonts/tesla.woff2") format("woff2"),
   Until then, a locally installed Tesla font is used if present, otherwise Michroma. */
@font-face {
  font-family: "GEOX Tesla";
  src: local("Tesla"), local("TESLA"), local("Tesla Regular");
  font-display: swap;
}
.geox {
  font-family: "GEOX Tesla", "Michroma", var(--font);
  font-weight: 400;
  font-style: normal;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-size: 0.86em;          /* wide display faces read larger than Manrope at the same size */
  white-space: nowrap;
}
.brand .geox { font-size: 0.875rem; line-height: 1.429; letter-spacing: 0.08em; }   /* Title 4 size */

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { font-size: 100%; scroll-behavior: smooth; scroll-padding-top: var(--nav-offset); }
body {
  margin: 0;
  background-color: var(--page-bg);
  background-image:
    radial-gradient(at 15% 15%, rgba(46, 109, 164, 0.06) 0px, transparent 50%),
    radial-gradient(at 85% 35%, rgba(228, 213, 181, 0.28) 0px, transparent 55%),
    radial-gradient(at 25% 75%, rgba(79, 163, 209, 0.06) 0px, transparent 50%);
  background-attachment: fixed;
  color: var(--text-primary);
  font-family: var(--font);
  font-size: 0.9375rem;
  line-height: 1.55;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
  -webkit-tap-highlight-color: transparent;
  overflow-x: hidden;
  font-style: normal;
  text-wrap: pretty;            /* inherited: no single word alone on a last line */
  font-variant-numeric: lining-nums;
}
body.menu-open { overflow: hidden; }
img, svg, canvas { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
ul { list-style: none; margin: 0; padding: 0; }
button { font-family: inherit; cursor: pointer; }
input, textarea, select { font-family: inherit; }
em, i, cite, address { font-style: normal; }
h1, h2, h3, h4, h5, h6 {
  margin: 0 0 var(--s-200);
  font-weight: 600;
  letter-spacing: -0.02em;
  color: var(--text-primary);
  text-wrap: balance;
}
p { margin: 0 0 var(--s-200); color: var(--text-secondary); text-wrap: pretty; }
p:last-child { margin-bottom: 0; }
:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
  border-radius: var(--r-sm);
}
::selection { background: var(--accent-soft); color: var(--text-primary); }

.skip-link {
  position: absolute;
  left: var(--s-200);
  top: -4rem;
  z-index: 999;
  background: var(--navy);
  color: var(--on-navy);
  padding: var(--s-75) var(--s-100);
  border-radius: var(--r-lg);
  font-size: 0.875rem; line-height: 1.429; font-weight: 600;
  transition: transform var(--dur-color) var(--ease);
}
.skip-link:focus { transform: translateY(5rem); }

/* ---------- Named text styles ---------- */
.heading-1 { font-size: 2.75rem; line-height: 1.08; font-weight: 600; }
.heading-2 { font-size: 2.25rem; line-height: 1.12; font-weight: 600; }
.heading-3 { font-size: 1.75rem; line-height: 1.18; font-weight: 600; }
.heading-4 { font-size: 1.5rem; line-height: 1.25; font-weight: 600; }
.heading-5 { font-size: 1.25rem; line-height: 1.35; font-weight: 600; }
.heading-6 { font-size: 1.125rem; line-height: 1.4; font-weight: 600; }
.title-1 { font-size: 1.125rem; line-height: 1.4; font-weight: 500; }
.title-2 { font-size: 1rem; line-height: 1.5; font-weight: 500; }
.title-3 { font-size: 0.9375rem; line-height: 1.5; font-weight: 500; }
.title-4 { font-size: 0.8125rem; line-height: 1.45; font-weight: 500; }
.title-5 { font-size: 0.75rem; line-height: 1.333; font-weight: 500; }
.body-1 { font-size: 0.9375rem; line-height: 1.55; font-weight: 600; }
.body-2 { font-size: 0.9375rem; line-height: 1.55; font-weight: 500; }
.body-3 { font-size: 0.9375rem; line-height: 1.55; font-weight: 400; }
.body-4 { font-size: 0.8125rem; line-height: 1.45; font-weight: 600; }
.body-5 { font-size: 0.8125rem; line-height: 1.45; font-weight: 500; }
.body-6 { font-size: 0.8125rem; line-height: 1.45; font-weight: 400; }
.button-lg { font-size: 0.9375rem; line-height: 1.5; font-weight: 600; }
.button-md { font-size: 0.875rem; line-height: 1.45; font-weight: 600; }
.button-sm { font-size: 0.8125rem; line-height: 1.4; font-weight: 600; }
.button-xsm { font-size: 0.75rem; line-height: 1.333; font-weight: 600; }
.caption-1 { font-size: 0.8125rem; line-height: 1.429; font-weight: 500; }
.caption-2 { font-size: 0.8125rem; line-height: 1.429; font-weight: 400; }
.caption-3 { font-size: 0.75rem; line-height: 1.333; font-weight: 600; }
.caption-4 { font-size: 0.75rem; line-height: 1.333; font-weight: 500; }
.caption-5 { font-size: 0.75rem; line-height: 1.333; font-weight: 400; }

/* Element defaults map onto the named styles */
h1 { font-size: 2.25rem; line-height: 1.12; }          /* Heading 2 */
h2 { font-size: 1.75rem; line-height: 1.18; }          /* Heading 3 */
h3 { font-size: 1.0625rem; line-height: 1.45; font-weight: 600; letter-spacing: -0.01em; }
h4 { font-size: 0.9375rem; line-height: 1.5; font-weight: 600; letter-spacing: 0; }

/* ---------- Layout helpers ---------- */
.container {
  width: 100%;
  max-width: calc(var(--container) + var(--gutter) * 2);
  margin: 0 auto;
  padding: 0 var(--gutter);
}
section { position: relative; }
.section-pad { padding: var(--s-900) 0; }
.section-tint { background: var(--surface-subtle); }
.section-head {
  max-width: 42.5rem;
  margin: 0 0 var(--s-600);
  text-align: left;                                        /* every section starts on the same left edge as the hero text */
}
.section-head.align-left { margin-left: 0; text-align: left; }
.section-head p { font-size: 1rem; line-height: 1.55; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  font-size: 0.75rem; line-height: 1.333; font-weight: 600;   /* Caption 3 */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: var(--s-200);
}
.eyebrow-num {
  padding: var(--s-25) var(--s-75);
  border-radius: var(--r-full);
  background: var(--accent-soft);
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  font-size: 0.75rem; line-height: 1.333; font-weight: 600;
  letter-spacing: 0;
}
.grid { display: grid; gap: var(--s-300); }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.visually-hidden {
  position: absolute; width: 1px; height: 1px; overflow: hidden;
  clip: rect(0 0 0 0); white-space: nowrap;
}

/* ---------- Icons (Phosphor) ---------- */
.ph { font-size: 1.25rem; line-height: 1; flex-shrink: 0; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--s-75);
  padding: 0.5rem 0.9rem;
  font-size: 0.875rem; line-height: 1.45; font-weight: 600;   /* Button-md */
  border-radius: var(--r-lg);
  border: 1px solid transparent;
  white-space: nowrap;
  cursor: pointer;
  transition:
    background-color var(--dur-color) var(--ease),
    border-color var(--dur-color) var(--ease),
    color var(--dur-color) var(--ease),
    box-shadow var(--dur-color) var(--ease),
    transform var(--dur-color) var(--ease);
}
.btn:active { transform: scale(0.98); }
.btn .ph { font-size: 1rem; }
.btn-primary { background: var(--navy); color: var(--on-navy); box-shadow: 0 2px 10px rgba(23, 52, 77, 0.18); }
.btn-primary:hover { background: var(--navy-hover); box-shadow: 0 4px 14px rgba(23, 52, 77, 0.25); }
.btn-primary:active { background: var(--navy-click); }
.btn-outline { background: var(--glass-bg); -webkit-backdrop-filter: var(--glass-blur); backdrop-filter: var(--glass-blur); color: var(--text-primary); border-color: var(--border-strong); }
.btn-outline:hover { background: rgba(255, 255, 255, 0.85); border-color: var(--text-muted); }
.btn-ghost { background: rgba(255, 255, 255, 0.55); -webkit-backdrop-filter: blur(10px); backdrop-filter: blur(10px); color: var(--text-primary); border-color: var(--border-soft); }
.btn-ghost:hover { background: rgba(255, 255, 255, 0.85); }
.btn-light { background: rgba(255, 255, 255, 0.92); -webkit-backdrop-filter: blur(12px); backdrop-filter: blur(12px); color: var(--navy); }
.btn-light:hover { background: #ffffff; }
.btn-hero-ghost { background: rgba(15, 30, 44, 0.28); -webkit-backdrop-filter: blur(12px) saturate(160%); backdrop-filter: blur(12px) saturate(160%); color: #ffffff; border-color: rgba(255, 255, 255, 0.35); }   /* white text over glass */
.btn-hero-ghost:hover { background: rgba(255, 255, 255, 0.18); border-color: rgba(255, 255, 255, 0.75); }
.btn-whatsapp { background: #0f7a40; color: #ffffff; box-shadow: 0 2px 10px rgba(15, 122, 64, 0.2); }   /* 5.4:1 with white text */
.btn-whatsapp:hover { background: #0c6635; }
.btn-sm { font-size: 0.8125rem; line-height: 1.4; padding: 0.375rem 0.75rem; }            /* Button-sm */
.btn-lg { font-size: 0.9375rem; line-height: 1.5; padding: 0.625rem 1.125rem; }            /* Button-lg */
.btn-block { width: 100%; }
.btn[aria-disabled="true"], .btn:disabled { opacity: 0.5; pointer-events: none; }
.btn-arrow { transition: transform var(--dur-color) var(--ease); }
.btn:hover .btn-arrow { transform: translateX(var(--s-50)); }
                              /* legacy markup, replaced by icons */
.text-link {
  display: inline-flex; align-items: center; gap: var(--s-50);
  color: var(--accent); font-weight: 600;
  transition: color var(--dur-color) var(--ease);
}
.text-link:hover { color: var(--navy); }
.text-link .ph { font-size: 1rem; transition: transform var(--dur-color) var(--ease); }
.text-link:hover .ph { transform: translateX(var(--s-25)); }

/* ---------- Floating navigation ---------- */
.site-header {
  position: fixed;
  top: var(--s-200);
  left: 0; right: 0;
  z-index: 500;
  display: flex;
  justify-content: center;
  padding: 0 var(--s-200);
  pointer-events: none;
}
.nav-shell {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: var(--s-200);
  padding: 0.375rem 0.5rem 0.375rem 1rem;
  background: rgba(255, 255, 255, 0.55);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 8px 32px rgba(15, 30, 44, 0.08);
  border-radius: var(--r-full);
  transition: border-color var(--dur-color) var(--ease), background-color var(--dur-color) var(--ease), box-shadow var(--dur-color) var(--ease);
}
.site-header.is-scrolled .nav-shell {
  background: rgba(255, 255, 255, 0.68);
  border-color: rgba(214, 204, 185, 0.6);
  box-shadow: 0 10px 36px rgba(15, 30, 44, 0.12);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  color: var(--text-primary);
  font-size: 0.9375rem; line-height: 1.5; font-weight: 600;
  letter-spacing: -0.01em;
}
.brand img { width: 1.5rem; height: 1.5rem; }
.main-nav ul { display: flex; align-items: center; gap: 0.125rem; }
.main-nav a {
  display: inline-flex;
  align-items: center;
  padding: 0.375rem 0.75rem;
  border-radius: var(--r-full);
  font-size: 0.8125rem; line-height: 1.4; font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-color) var(--ease), background-color var(--dur-color) var(--ease);
}
.main-nav a:hover { color: var(--text-primary); background: rgba(15, 30, 44, 0.06); }
.main-nav a.is-active, .main-nav a[aria-current="page"] { color: var(--text-primary); background: rgba(15, 30, 44, 0.08); font-weight: 600; }
.nav-cta { border-radius: var(--r-full); }
.nav-toggle {
  display: none;
  position: relative;
  width: 2.375rem; height: 2.375rem;
  border: 0;
  border-radius: var(--r-full);
  background: transparent;
  padding: 0;
}
.nav-toggle:hover { background: rgba(15, 30, 44, 0.06); }
.nav-toggle span {
  position: absolute;
  left: 0.6875rem;
  width: 1rem; height: 1.75px;
  border-radius: var(--r-full);
  background: var(--text-primary);
  transition: transform var(--dur-move) var(--ease);
}
.nav-toggle span:nth-child(1) { top: 0.95rem; }
.nav-toggle span:nth-child(2) { top: 1.3rem; }
.nav-toggle.is-open span:nth-child(1) { transform: translateY(0.175rem) rotate(45deg); }
.nav-toggle.is-open span:nth-child(2) { transform: translateY(-0.175rem) rotate(-45deg); }

/* Floating glassmorphic mobile menu (built by navigation.js) */
.mobile-menu {
  position: fixed;
  top: 4.5rem;
  left: var(--s-200);
  right: var(--s-200);
  bottom: auto;
  max-height: calc(100svh - 5.5rem);
  overflow-y: auto;
  z-index: 490;
  padding: var(--s-300);
  background: rgba(255, 255, 255, 0.65);
  -webkit-backdrop-filter: blur(24px) saturate(180%);
  backdrop-filter: blur(24px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.75);
  border-radius: var(--r-2xl);
  box-shadow: 0 20px 50px rgba(15, 30, 44, 0.16);
  display: flex;
  flex-direction: column;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-0.5rem) scale(0.98);
  transition:
    opacity var(--dur-color) var(--ease),
    transform var(--dur-color) var(--ease),
    visibility 0s linear var(--dur-color);
}
.mobile-menu.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  transition:
    opacity var(--dur-color) var(--ease),
    transform var(--dur-color) var(--ease),
    visibility 0s;
}
.mobile-menu ul { display: flex; flex-direction: column; gap: 0.25rem; }
.mobile-menu li, .mobile-menu .mobile-menu-cta {
  opacity: 0;
  transform: translateY(0.5rem);
  transition: opacity var(--dur-move) var(--ease), transform var(--dur-move) var(--ease);
}
.mobile-menu.is-open li, .mobile-menu.is-open .mobile-menu-cta { opacity: 1; transform: none; }
.mobile-menu a.menu-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 2.5rem;
  padding: 0.5rem 0.75rem;
  border-radius: var(--r-lg);
  font-size: 0.9375rem; line-height: 1.4; font-weight: 500;
  letter-spacing: -0.01em;
  color: var(--text-primary);
  transition: background-color var(--dur-color) var(--ease), color var(--dur-color) var(--ease);
}
.mobile-menu a.menu-link:hover,
.mobile-menu a.menu-link.is-active {
  background: rgba(15, 30, 44, 0.06);
  color: var(--navy);
  font-weight: 600;
}
.mobile-menu a.menu-link .ph { font-size: 1rem; color: var(--text-muted); }
.mobile-menu .mobile-menu-cta { margin-top: var(--s-200); padding-top: var(--s-200); border-top: 1px solid rgba(214, 204, 185, 0.45); }

/* ---------- Home hero: Bangladesh from space ---------- */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: center;
  min-height: 86vh;                                        /* spec: 82 to 92vh on desktop */
  min-height: 86svh;
  padding: calc(var(--nav-offset) + var(--s-600)) 0 var(--s-900);
  background: #0b2a33;                                     /* shown until the image loads */
  color: #ffffff;
  overflow: hidden;
}
.hero-bg, .hero-bg img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-bg { z-index: -2; }
.hero-bg img { object-fit: cover; object-position: 60% 60%; }
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -1;
  /* dark teal only behind the text (the image's hazy, brightest part); the delta on
     the right stays almost uncovered. Measured worst case: headline 6:1, text 5.3:1 */
  background:
    linear-gradient(0deg, rgba(4, 32, 40, 0.6) 0%, rgba(4, 32, 40, 0.45) 18%, rgba(4, 32, 40, 0) 35%),   /* soft shade along the bottom edge for the credit line */
    linear-gradient(90deg, rgba(4, 32, 40, 0.86) 0%, rgba(4, 32, 40, 0.8) 36%, rgba(4, 32, 40, 0.66) 54%, rgba(4, 32, 40, 0.25) 66%, rgba(4, 32, 40, 0.05) 80%, rgba(4, 32, 40, 0) 100%);
}
.hero-content { position: relative; }
.hero h1 {
  max-width: 36rem;
  font-size: 2.75rem; line-height: 1.08;                      /* Heading 1 */
  letter-spacing: -0.03em;
  margin-bottom: var(--s-200);
  color: #ffffff;
}
.hero h1 .hero-blue {
  color: var(--blue-light);
}

/* Word-by-word writing animation */
.hero-write .write-word {
  display: inline-block;
  opacity: 0;
  clip-path: inset(-15% 100% -20% 0);
  transform: translateY(0.35rem);
  filter: blur(4px);
  animation: word-write 520ms var(--ease) forwards;
  animation-delay: calc(var(--w-idx, 0) * 380ms + 200ms);
}
.hero-write .hero-blue::after {
  content: "";
  display: inline-block;
  width: 2.5px;
  height: 0.88em;
  margin-left: 0.15em;
  vertical-align: -0.08em;
  background: var(--blue-light);
  border-radius: 2px;
  opacity: 0;
  animation:
    cursor-appear 10ms linear 1340ms forwards,
    cursor-blink 1.05s steps(2, start) 1340ms infinite;
}
@keyframes word-write {
  0% {
    opacity: 0;
    clip-path: inset(-15% 100% -20% 0);
    transform: translateY(0.35rem);
    filter: blur(4px);
  }
  100% {
    opacity: 1;
    clip-path: inset(-15% 0% -20% 0);
    transform: translateY(0);
    filter: blur(0);
  }
}
@keyframes cursor-appear {
  to { opacity: 1; }
}
@keyframes cursor-blink {
  0%, 100% { opacity: 1; }
  50% { opacity: 0; }
}
.hero .lede {
  max-width: 30rem;
  font-size: 1rem; line-height: 1.55;
  margin-bottom: var(--s-300);
  color: rgba(255, 255, 255, 0.9);
}
.hero-actions { display: flex; align-items: center; gap: var(--s-200); flex-wrap: wrap; }
.hero-wa { margin-top: var(--s-200); align-self: flex-start; }   /* same outlined block as About Us and Contact, on its own row */
.hero-wa .ph { font-size: 1.25rem; color: #8fe0b4; }      /* light green WhatsApp cue on the dark overlay */
.hero-credit-row {
  /* bottom right corner of the image, just above the torn edge */
  position: absolute;
  right: var(--gutter);
  bottom: 3.25rem;
  display: flex;
  justify-content: flex-end;
  pointer-events: none;
}
.hero-credit {
  /* a small plain credit line: no box, no icon */
  max-width: 24rem;
  margin: 0;
  font-size: 0.625rem; line-height: 1.5;
  letter-spacing: 0.01em;
  text-align: right;
  color: rgba(255, 255, 255, 0.9);                        /* 5.5:1 over the brightest corner pixel, with the bottom shade */
  pointer-events: auto;
}
.hero-edge {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 2.5rem;
  fill: var(--paper);                                      /* the satellite photo tears to reveal the paper map */
  pointer-events: none;
}
.btn-accent { background: var(--accent); color: #ffffff; }   /* 5.5:1 with white text */
.btn-accent:hover { background: var(--navy-hover); }
.btn-accent:active { background: var(--navy); }

/* ---------- Discover Bangladesh ---------- */
.discover {
  position: relative;
  padding: var(--s-700) 0 calc(var(--s-900) + var(--s-400));
  background: var(--paper);
  overflow-x: clip;                                        /* the contour layer never causes sideways scroll */
}
.paper-edge {
  position: absolute;
  left: 0; right: 0; bottom: -1px;
  width: 100%;
  height: 2.5rem;
  fill: var(--page-bg);                                    /* the paper sheet ends, the white page resumes */
  transform: scaleX(-1);                                   /* a different tear from the hero edge */
  pointer-events: none;
}
.discover h2 { color: var(--text-primary); }
.discover-copy > p { color: var(--text-secondary); }
.discover-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
  gap: var(--s-700);
  align-items: center;
}
.discover h2 { margin-bottom: var(--s-200); }
.discover-copy > p { font-size: 1rem; line-height: 1.55; }
.theme-title { margin: var(--s-300) 0 var(--s-100); font-size: 0.9375rem; line-height: 1.5; font-weight: 600; }
.theme-list { border-top: 1px solid var(--paper-rule); }
.theme-list li {
  display: flex; align-items: center; gap: var(--s-100);
  padding: 0.625rem 0;
  border-bottom: 1px solid var(--paper-rule);
  font-size: 0.9375rem; line-height: 1.5; font-weight: 500;
  color: var(--text-primary);
}
.theme-list .ph { font-size: 1.125rem; color: var(--accent); }
/* The GEOX relief map, mounted like a print on the survey sheet */
.map-print {
  position: relative;
  justify-self: end;
  width: 100%;
  max-width: 35rem;
  margin: 0;
  padding: var(--s-400) 0;
}
.map-print-contours {
  position: absolute;
  top: 50%; left: 50%;
  width: 190%;
  max-width: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.map-print-mat { position: relative; }
.map-print-mat img {
  width: 100%;
  height: auto;
  aspect-ratio: 1080 / 1350;
  /* feather the map's own paper into the section's paper; the title (top right) stays inside the solid area */
  -webkit-mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 90%, transparent 100%);
  -webkit-mask-composite: source-in;
  mask-image: linear-gradient(to right, transparent 0, #000 9%, #000 93%, transparent 100%), linear-gradient(to bottom, transparent 0, #000 5%, #000 90%, transparent 100%);
  mask-composite: intersect;
}
.map-print-caption {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: var(--s-200);
  padding: var(--s-100) var(--s-50) var(--s-25);
  font-family: var(--font-mono);
  font-size: 0.75rem; line-height: 1.333;
  border-top: 1px solid var(--paper-rule);
  color: var(--paper-ink);
}
.map-print-credit .geox { color: var(--text-primary); }

/* ---------- Tools strip (hero proof) ---------- */
.tools-strip { padding: var(--s-700) 0 var(--s-800); }
.tools-inner {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: var(--s-200);
}
.tools-inner > p { margin: 0; font-size: 1.0625rem; line-height: 1.4; font-weight: 600; color: var(--text-primary); }   /* Heading 6 size */
.tools-list { display: flex; flex-wrap: wrap; justify-content: flex-start; gap: var(--s-100); }
.tools-list li {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.5rem 1rem 0.5rem 0.625rem;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-full);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
  font-size: 0.875rem; line-height: 1.45; font-weight: 600;
  color: var(--text-primary);
}
.tools-list .ph { font-size: 1.375rem; color: var(--accent); }
.tools-list .tool-logo { width: auto; height: 1.625rem; flex-shrink: 0; }   /* real product logos; the label beside each one names the tool */

/* ---------- Problem / solution ---------- */
/* ---------- Partners & collaborators: continuous logo line ---------- */
.partners { padding-top: 0; }                              /* follows the course status card, which already ends with space */
.partner-marquee { overflow: hidden; }
.partner-marquee.marquee-ready {                           /* edges fade only while the line is scrolling */
  -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
  mask-image: linear-gradient(90deg, transparent 0, #000 8%, #000 92%, transparent 100%);
}
.partner-track {
  display: flex;
  flex-wrap: wrap;                                         /* static row without JavaScript or with reduced motion */
  gap: var(--s-200);
  margin: 0;
  padding: var(--s-75) 0;
  list-style: none;
}
.marquee-ready .partner-track {
  flex-wrap: nowrap;
  width: max-content;
  padding-right: var(--s-200);                             /* one gap after the last logo so -50% lands exactly on the copy */
  animation: partner-scroll var(--marquee-duration, 30s) linear infinite;   /* linear: a ticker must move at a constant speed */
}
.marquee-ready:hover .partner-track,
.marquee-ready:focus-within .partner-track,
.marquee-ready.is-paused .partner-track { animation-play-state: paused; }
@keyframes partner-scroll { to { transform: translateX(-50%); } }
.partner {
  flex: 0 0 14rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: var(--s-200);
  min-height: 8rem;
  padding: var(--s-300);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-xl);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
  text-align: center;
}
.partner img { width: auto; max-width: 100%; height: 3.5rem; object-fit: contain; }
.partner-name { font-size: 0.75rem; line-height: 1.333; font-weight: 500; color: var(--text-muted); }
.marquee-toggle { margin-top: var(--s-200); }

.problem-grid {
  display: grid;
  grid-template-columns: minmax(0, 5fr) minmax(0, 6fr);
  gap: var(--s-700);
  align-items: start;
}
.problem-grid h2 { margin-bottom: var(--s-200); }
.problem-grid > div > p { font-size: 1rem; line-height: 1.55; }
.compare {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.compare-col { padding: var(--s-300); }
.compare-col + .compare-col { border-left: 1px solid var(--border-soft); background: var(--surface-subtle); }
.compare-col h3 { display: flex; align-items: center; gap: var(--s-75); font-size: 0.875rem; line-height: 1.429; margin-bottom: var(--s-200); color: var(--text-muted); }
.compare-col + .compare-col h3 { color: var(--accent); }
.compare-col ul { display: flex; flex-direction: column; gap: var(--s-200); }
.compare-col li { display: flex; gap: var(--s-100); font-size: 0.875rem; line-height: 1.429; color: var(--text-secondary); }
.compare-col li .ph { font-size: 1.125rem; margin-top: var(--s-25); }
.compare-col:first-child li .ph { color: var(--text-muted); }
.compare-col + .compare-col li { color: var(--text-primary); }
.compare-col + .compare-col li .ph { color: var(--accent); }

/* ---------- Benefits (bento) ---------- */
.bento {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: var(--s-300);
}
.bento .card { display: flex; flex-direction: column; min-width: 0; }   /* lets the code window scroll instead of widening the grid */
.bento .span-4 { grid-column: span 4; }
.bento .span-2 { grid-column: span 2; }
.bento .span-6 { grid-column: 1 / -1; }
@media (min-width: 993px) {
  .bento .automation-card {
    display: grid;
    grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
    grid-template-rows: auto auto 1fr;                     /* icon, title, text stay together at the top */
    column-gap: var(--s-600);
    align-items: start;
  }
  .bento .automation-card > :not(.code-window) { grid-column: 1; }
  .bento .automation-card .code-window { grid-column: 2; grid-row: 1 / span 3; margin-top: 0; }
}
.bento h3 { font-size: 1.125rem; line-height: 1.4; margin-bottom: var(--s-75); }   /* Heading 6 */
.bento .card p { font-size: 0.9375rem; line-height: 1.55; }
.bento-visual {
  margin-top: auto;
  padding-top: var(--s-300);
  display: flex; flex-wrap: wrap; gap: var(--s-75);
}
.spec {
  display: inline-flex; align-items: center; gap: var(--s-75);
  padding: var(--s-50) var(--s-100);
  border-radius: var(--r-lg);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.65);
  font-family: var(--font);
  font-size: 0.8125rem; line-height: 1.429; font-weight: 500;
  color: var(--text-primary);
}
.spec .dot { width: 0.5rem; height: 0.5rem; border-radius: var(--r-full); }


/* Bangla card: lessons are taught in Bangla, so this card speaks Bangla */
:lang(bn) { font-family: "Hind Siliguri", "Noto Sans Bengali", var(--font); }
.bento .card-bangla {                                      /* .bento prefix: must beat the generic .card background */
  position: relative;
  isolation: isolate;                                      /* lets the watermark sit behind the text */
  overflow: hidden;
  border-color: rgba(216, 199, 163, 0.7);
  background: rgba(228, 213, 181, 0.75);                   /* translucent paper tone */
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.bangla-badge {
  align-self: flex-start;
  display: inline-flex; align-items: center; gap: var(--s-75);
  margin-bottom: var(--s-200);
  padding: var(--s-50) var(--s-100);
  border-radius: var(--r-full);
  background: var(--navy);
  color: #ffffff;
  font-size: 0.8125rem; line-height: 1.45; font-weight: 600;
}
.bangla-badge .ph { font-size: 0.9375rem; }
.bento .card-bangla h3 { position: relative; font-size: 1.25rem; line-height: 1.35; font-weight: 600; letter-spacing: 0; }
.bento .card-bangla p { position: relative; font-size: 1rem; line-height: 1.6; color: var(--text-primary); }
.bento .card-bangla .bangla-en {
  margin-top: auto;
  padding-top: var(--s-200);
  font-size: 0.75rem; line-height: 1.5;
  color: var(--paper-ink);                                 /* 5.7:1 on the paper */
}
.bangla-mark {
  position: absolute;
  right: var(--s-300);
  bottom: var(--s-100);
  font-family: "Hind Siliguri", "Noto Sans Bengali", sans-serif;
  font-size: 7.5rem; line-height: 1; font-weight: 600;
  color: rgba(90, 76, 54, 0.12);                           /* the first Bangla letter, a quiet watermark */
  z-index: -1;
  pointer-events: none;
  user-select: none;
}

/* Automation card: tabbed code window */
.code-window {
  margin-top: auto;
  border-radius: var(--r-xl);
  background: #0f1e2c;
  border: 1px solid #0f1e2c;
  overflow: hidden;
}
.automation-card > p { margin-bottom: var(--s-300); }
.code-tabs {
  display: flex;
  gap: var(--s-50);
  padding: var(--s-75);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}
.code-tabs button {
  padding: var(--s-50) var(--s-100);
  border: 0;
  border-radius: var(--r-sm);                              /* 12 window minus 8 gap */
  background: transparent;
  color: #9fb3c6;
  font-size: 0.75rem; line-height: 1.333; font-weight: 600;    /* Button-Xsm */
  transition: background-color var(--dur-color) var(--ease), color var(--dur-color) var(--ease);
}
.code-tabs button:hover { color: #ffffff; }
.code-tabs button[aria-selected="true"] { background: rgba(255, 255, 255, 0.1); color: #ffffff; }
.code-tabs button:focus-visible { outline-color: var(--blue-light); }
.code-panel {
  margin: 0;
  padding: var(--s-200);
  overflow-x: auto;
  font-family: var(--font-mono);
  font-size: 0.75rem; line-height: 1.667;
  color: #e6edf3;
  tab-size: 4;
}
.code-panel:focus-visible { outline: 2px solid var(--blue-light); outline-offset: -2px; }
.code-panel .k { color: #7dc2e8; }
.code-panel .s { color: #a5d6a7; }
.code-panel .f { color: #f2c97d; }
.code-panel .n { color: #f0a07a; }
.code-panel .c { color: #7f93a6; }

/* ---------- Tagline reveal ---------- */
.tagline { padding: var(--s-900) 0; }
.tagline-text {
  max-width: 48rem;
  margin: 0 auto;
  font-size: 2.125rem; line-height: 1.18; font-weight: 600;    /* Heading 2 */
  letter-spacing: -0.025em;
  color: var(--text-primary);
  text-align: center;
  text-wrap: balance;
}
.tagline-text .w {
  opacity: 0.28;
  transition: opacity var(--dur-move) var(--ease);
}
.tagline-text .w.is-lit { opacity: 1; }
.tagline-text .accent-word { color: var(--accent); }

/* ---------- Steps ---------- */
.steps {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--s-300);
  list-style: none;
  margin: 0;
  padding: 0;
}
.step {
  position: relative;
  padding: var(--s-300);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
  display: flex; flex-direction: column;
}
.step-num {
  align-self: flex-start;
  margin-bottom: var(--s-200);
  padding: var(--s-25) var(--s-75);
  border-radius: var(--r-md);
  background: var(--navy);
  color: var(--on-navy);
  font-family: var(--font);
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem; line-height: 1.429; font-weight: 600;
}
.step h3 { font-size: 1.125rem; line-height: 1.4; margin-bottom: var(--s-75); }
.step p { margin-bottom: var(--s-200); font-size: 0.9375rem; }
.step .text-link { margin-top: auto; font-size: 0.8125rem; line-height: 1.429; }

/* ---------- Curriculum list ---------- */
.topic-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}
.topic {
  display: flex;
  gap: var(--s-200);
  padding: var(--s-300);
  border-bottom: 1px solid var(--border-soft);
}
.topic:nth-child(odd) { border-right: 1px solid var(--border-soft); }
.topic:nth-last-child(-n+2) { border-bottom: 0; }
.topic-icon { flex-shrink: 0; padding-top: var(--s-25); color: var(--accent); }
.topic-icon .ph { font-size: 1.375rem; }
.topic h3 { font-size: 0.9375rem; line-height: 1.5; margin-bottom: var(--s-50); }
.topic p { font-size: 0.8125rem; line-height: 1.45; margin: 0; }

/* ---------- Founder ---------- */

/* ---------- Course status banner ---------- */
.status-card {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-400);
  padding: var(--s-300) var(--s-400);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
}
.contact-feature-text { display: flex; align-items: flex-start; gap: var(--s-300); }
.contact-feature-icon {
  flex-shrink: 0;
  width: 3rem; height: 3rem;
  display: grid; place-items: center;
  border-radius: var(--r-xl);
  background: rgba(227, 244, 234, 0.85);
  color: #0f7a40;
}
.contact-feature-icon .ph { font-size: 1.75rem; }
.contact-feature h2 { margin-bottom: var(--s-75); font-size: 1.25rem; line-height: 1.35; }
.contact-feature p { margin: 0; max-width: 34rem; font-size: 0.9375rem; }
.contact-feature .btn { flex-shrink: 0; }
.status-card h3 { font-size: 1.25rem; line-height: 1.35; margin-bottom: var(--s-75); }   /* Heading 5 */
.status-card p { margin: 0; max-width: 35rem; font-size: 0.9375rem; }

/* ---------- FAQ ---------- */
.faq-layout {
  display: grid;
  grid-template-columns: minmax(0, 4fr) minmax(0, 7fr);
  gap: var(--s-700);
  align-items: start;
}
.faq-layout .section-head { margin-bottom: 0; position: sticky; top: calc(var(--nav-offset) + var(--s-200)); }
.faq-list { border-top: 1px solid var(--border-soft); }
.faq-item { border-bottom: 1px solid var(--border-soft); }
.faq-item summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--s-300);
  padding: var(--s-200) 0;
  cursor: pointer;
  list-style: none;
  font-size: 1rem; line-height: 1.5; font-weight: 500;    /* Title 2 */
  color: var(--text-primary);
  border-radius: var(--r-sm);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary .ph {
  font-size: 1.125rem;
  color: var(--text-muted);
  transition: transform var(--dur-move) var(--ease);
}
.faq-item[open] summary .ph { transform: rotate(45deg); }
.faq-item summary:hover { color: var(--accent); }
.faq-answer { padding: 0 var(--s-600) var(--s-200) 0; }
.faq-answer a { color: var(--accent); font-weight: 500; }

/* ---------- Cards (shared) ---------- */
.card {
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  box-shadow: var(--shadow-sm);
  border-radius: var(--r-2xl);
  padding: var(--s-300);
  transition:
    transform var(--dur-move) var(--ease),
    box-shadow var(--dur-move) var(--ease),
    border-color var(--dur-color) var(--ease),
    background-color var(--dur-color) var(--ease);
}
a.card:hover, .media-card:hover {
  transform: translateY(calc(var(--s-50) * -1));
  background: rgba(255, 255, 255, 0.82);
  border-color: var(--border-strong);
  box-shadow: var(--shadow-md);
}
.card-icon { margin-bottom: var(--s-200); color: var(--accent); }
.card-icon svg { width: 1.5rem; height: 1.5rem; }
.card-icon .ph { font-size: 1.5rem; }
.card h3 { margin-bottom: var(--s-75); }
.card p { font-size: 0.9375rem; line-height: 1.55; }


/* ---------- Tags / badges ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: var(--s-75); }
.tag {
  padding: var(--s-25) var(--s-75);
  border-radius: var(--r-md);
  background: var(--surface-subtle);
  border: 1px solid var(--border-soft);
  font-size: 0.75rem; line-height: 1.333; font-weight: 500;    /* Caption 4 */
  color: var(--text-secondary);
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: var(--s-75);
  padding: var(--s-50) var(--s-100);
  border-radius: var(--r-full);
  font-size: 0.75rem; line-height: 1.333; font-weight: 600;    /* Caption 3 */
}
.badge-soon { background: var(--amber-soft); color: var(--amber); }
.badge-live { background: var(--accent-soft); color: var(--accent); }
.badge-dot { width: 0.375rem; height: 0.375rem; border-radius: var(--r-full); background: currentColor; }

/* ---------- Filter bar ---------- */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: var(--s-75);
  justify-content: center;
  margin-bottom: var(--s-600);
}
.filter-btn {
  padding: var(--s-75) var(--s-200);
  border-radius: var(--r-full);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  font-size: 0.875rem; line-height: 1.429; font-weight: 500;    /* Title 4 */
  color: var(--text-secondary);
  transition: color var(--dur-color) var(--ease), border-color var(--dur-color) var(--ease), background-color var(--dur-color) var(--ease), transform var(--dur-color) var(--ease);
}
.filter-btn:hover { color: var(--text-primary); border-color: var(--border-strong); }
.filter-btn:active { transform: scale(0.98); }
.filter-btn.is-active { background: var(--navy); border-color: var(--navy); color: var(--on-navy); }

/* ---------- Media cards ---------- */
.media-card { padding: 0; overflow: hidden; display: flex; flex-direction: column; }
.media-card .media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  position: relative;
  background: var(--surface-subtle);
  border-bottom: 1px solid var(--border-soft);
}
.media-card .media img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform var(--dur-move) var(--ease);
}
.media-card:hover .media img { transform: scale(1.04); }
.media-card .media .badge { position: absolute; top: var(--s-200); left: var(--s-200); }
.media-card .body { padding: var(--s-300); display: flex; flex-direction: column; gap: var(--s-100); flex: 1; }
.media-card .body h3 { margin: 0; }
.media-card .body p { margin: 0; }
.media-card .meta-row {
  display: flex; align-items: center; justify-content: space-between; gap: var(--s-200);
  margin-top: auto;
  padding-top: var(--s-200);
  border-top: 1px solid var(--border-soft);
  font-size: 0.75rem; line-height: 1.333;
  color: var(--text-muted);
}
.course-thumb { width: 100%; height: auto; aspect-ratio: 16 / 10; object-fit: cover; margin-bottom: var(--s-300); border-radius: var(--r-lg); }
.price { margin-bottom: var(--s-200); font-size: 1.125rem; line-height: 1.556; font-weight: 600; color: var(--text-primary); }
.price small { font-size: 0.75rem; line-height: 1.333; font-weight: 400; color: var(--text-muted); }

/* ---------- Split ---------- */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-700);
  align-items: center;
}

/* ---------- Final CTA (flat brand navy panel) ---------- */
.final-cta { padding: var(--s-900) 0; }
.final-cta .container > .cta-panel,
.final-cta .cta-panel {
  position: relative;
  overflow: hidden;
  isolation: isolate;
  padding: var(--s-800) var(--s-400);
  border-radius: var(--r-3xl);
  background: var(--navy);
  text-align: center;
}
.cta-contours {
  position: absolute;
  z-index: -1;
  top: 50%; left: 88%;
  width: 75rem;
  max-width: none;
  transform: translate(-50%, -50%);
  pointer-events: none;
}
.final-cta h2 {
  max-width: 36rem;
  margin: 0 auto var(--s-200);
  font-size: 2.125rem; line-height: 1.15;                      /* Heading 2 */
  letter-spacing: -0.025em;
  color: var(--on-navy);
}
.final-cta p {
  max-width: 32rem;
  margin: 0 auto var(--s-300);
  font-size: 1rem; line-height: 1.55;
  color: var(--on-navy-secondary);
}
.final-cta .cta-actions { display: flex; justify-content: center; align-items: center; gap: var(--s-200); flex-wrap: wrap; }
.final-cta .cta-note { margin: var(--s-300) auto 0; font-size: 0.875rem; line-height: 1.429; color: var(--on-navy-secondary); }

/* ---------- Footer ---------- */
.site-footer {
  border-top: 1px solid var(--border-soft);
  background: var(--surface-subtle);
  padding: var(--s-800) 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1fr;
  gap: var(--s-600);
  padding-bottom: var(--s-600);
}
.footer-brand .brand { margin-bottom: var(--s-200); }
.footer-brand .logo-full { width: 11rem; height: auto; }
.footer-brand p { max-width: 20rem; font-size: 0.875rem; line-height: 1.429; }
.social-row { display: flex; gap: var(--s-75); margin-top: var(--s-300); }
.social-row a {
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  border: 1px solid var(--border-soft);
  background: var(--surface);
  color: var(--text-secondary);
  transition: color var(--dur-color) var(--ease), border-color var(--dur-color) var(--ease), transform var(--dur-color) var(--ease);
}
.social-row a:hover { color: var(--accent); border-color: var(--border-strong); }
.social-row a:active { transform: scale(0.98); }
.social-row .ph { font-size: 1.125rem; }
.social-row svg { width: 1.125rem; height: 1.125rem; }
.footer-col h2 {
  margin-bottom: var(--s-200);
  font-size: 0.75rem; line-height: 1.333; font-weight: 600;    /* Caption 3 */
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-muted);
}
.footer-col ul { display: flex; flex-direction: column; gap: var(--s-100); }
/* the GEOX wordmark in a column heading: same cap height, colour and tracking as LEARN and CONNECT */
.footer-col h2 .geox { font-size: 0.92em; letter-spacing: 0.08em; color: var(--text-secondary); line-height: inherit; }
.footer-col a { font-size: 0.875rem; line-height: 1.429; color: var(--text-secondary); transition: color var(--dur-color) var(--ease); }
.footer-col a:hover { color: var(--text-primary); }
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: var(--s-200);
  flex-wrap: wrap;
  padding: var(--s-300) 0;
  border-top: 1px solid var(--border-soft);
  font-size: 0.75rem; line-height: 1.333;
  color: var(--text-muted);
}
.footer-bottom nav { display: flex; gap: var(--s-300); }
.footer-bottom a:hover { color: var(--text-primary); }

/* ---------- Inner page hero ---------- */
.page-hero {
  padding: calc(var(--nav-offset) + var(--s-700)) 0 var(--s-700);
  border-bottom: 1px solid var(--border-soft);
}
.page-hero h1 { max-width: 38rem; margin-bottom: var(--s-200); letter-spacing: -0.025em; }
.page-hero .lede { max-width: 38rem; font-size: 1rem; line-height: 1.55; }
.breadcrumb {
  margin-bottom: var(--s-300);
  font-size: 0.875rem; line-height: 1.429;
  color: var(--text-muted);
}
.breadcrumb ol { display: flex; flex-wrap: wrap; gap: var(--s-75); margin: 0; padding: 0; list-style: none; }
.breadcrumb li { display: inline-flex; align-items: center; gap: var(--s-75); }
.breadcrumb li + li::before { content: "/"; color: var(--border-strong); }
.breadcrumb [aria-current="page"] { color: var(--text-primary); font-weight: 500; }
.breadcrumb a { color: var(--text-secondary); transition: color var(--dur-color) var(--ease); }
.breadcrumb a:hover { color: var(--accent); }
.page-hero .badge { margin-bottom: var(--s-200); }

/* ---------- Subsections ---------- */
.subsection-title {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--s-200);
  margin-bottom: var(--s-400);
}
.subsection-title h2 { margin-bottom: 0; }
.subsection-title p { margin-bottom: 0; max-width: 26.25rem; font-size: 0.875rem; line-height: 1.429; }
.divider-block { height: 1px; background: var(--border-soft); }

/* ---------- Data page ---------- */
.data-card .body { gap: var(--s-75); }
.data-meta {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--s-50) var(--s-200);
  margin: var(--s-50) 0;
  font-size: 0.75rem; line-height: 1.333;
  color: var(--text-muted);
}
.data-meta strong { color: var(--text-secondary); font-weight: 500; }
.map-frame { position: relative; padding: var(--s-75); border: 1px solid var(--border-soft); border-radius: var(--r-3xl); background: var(--surface-subtle); }
#geox-data-map {
  height: 26.25rem;
  border-radius: var(--r-2xl);
  border: 1px solid var(--border-soft);
  z-index: 0;
}
.map-touch-hint {
  position: absolute;
  inset: var(--s-75);
  display: none;
  align-items: center;
  justify-content: center;
  gap: var(--s-75);
  border: 0;
  border-radius: var(--r-2xl);
  background: rgba(15, 30, 44, 0.4);
  color: #ffffff;
  font-size: 0.875rem; line-height: 1.429; font-weight: 600;
  z-index: 2;
}

/* ---------- Articles ---------- */
.article-layout { display: grid; grid-template-columns: 14rem 1fr; gap: var(--s-700); align-items: start; }
.article-layout > * { min-width: 0; }                      /* long code lines scroll inside their block instead of widening the page */
.toc { position: sticky; top: calc(var(--nav-offset) + var(--s-200)); font-size: 0.875rem; line-height: 1.429; }
.toc h4, .toc .toc-title { font-size: 0.75rem; line-height: 1.333; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); margin-bottom: var(--s-200); }
.toc ul { display: flex; flex-direction: column; gap: var(--s-100); }
.toc a { color: var(--text-secondary); transition: color var(--dur-color) var(--ease); }
.toc a:hover { color: var(--accent); }
.article-body { max-width: 45rem; }
.article-body h2 { margin-top: var(--s-600); font-size: 1.5rem; line-height: 1.333; }     /* Heading 5 */
.article-body h2:first-child { margin-top: 0; }
.article-body h3 { margin-top: var(--s-400); font-size: 1.25rem; line-height: 1.4; }     /* Heading 6 */
.article-body p, .article-body li { color: var(--text-secondary); font-size: 1rem; line-height: 1.5; }
.article-body ul, .article-body ol { padding-left: var(--s-300); margin-bottom: var(--s-300); list-style: disc; }
.article-body ol { list-style: decimal; }
.article-body li + li { margin-top: var(--s-75); }
.article-body a:not(.btn) { color: var(--accent); font-weight: 500; }
.article-body figure { margin: var(--s-400) 0; }
.article-body figure img { border-radius: var(--r-2xl); border: 1px solid var(--border-soft); }
.article-body figcaption { margin-top: var(--s-100); text-align: center; font-size: 0.875rem; line-height: 1.429; color: var(--text-muted); }
.article-body pre, .article-body code { font-family: var(--font-mono); }
.article-body pre {
  margin: 0 0 var(--s-300);
  padding: var(--s-300);
  border-radius: var(--r-xl);
  border: 1px solid var(--border-soft);
  background: var(--surface-subtle);
  color: var(--text-primary);
  overflow-x: auto;
  font-size: 0.875rem; line-height: 1.429;
}
/* Policy pages */
.policy-meta { margin-bottom: var(--s-200); font-size: 0.875rem; line-height: 1.429; color: var(--text-muted); }
.policy-links { display: flex; flex-wrap: wrap; gap: var(--s-75); margin-bottom: var(--s-600); }
.policy-links a {
  padding: var(--s-50) var(--s-100);
  border: 1px solid var(--border-soft);
  border-radius: var(--r-full);
  background: var(--surface);
  font-size: 0.875rem; line-height: 1.429; font-weight: 500;
  color: var(--text-secondary);
  transition: color var(--dur-color) var(--ease), border-color var(--dur-color) var(--ease);
}
.policy-links a:hover { color: var(--text-primary); border-color: var(--border-strong); }
.policy-links a[aria-current="page"] { background: var(--navy); border-color: var(--navy); color: #ffffff; }
.article-meta { display: flex; gap: var(--s-300); flex-wrap: wrap; margin-bottom: var(--s-400); font-size: 0.875rem; line-height: 1.429; color: var(--text-muted); }

/* ---------- Project detail & Course curriculum ---------- */
.curriculum-stack {
  display: flex;
  flex-direction: column;
  gap: var(--s-200);
  margin: var(--s-300) 0 var(--s-500);
}
.day-card {
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-2xl);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
}
.day-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: 0.75rem;
}
.day-pill {
  display: inline-flex;
  align-items: center;
  padding: 0.2rem 0.65rem;
  border-radius: var(--r-full);
  background: var(--navy);
  color: var(--on-navy);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.phase-pill {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--accent);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.day-card h3 {
  margin: 0 0 0.625rem;
  font-size: 1.0625rem;
  color: var(--text-primary);
}
.day-card h4 {
  margin: 0.75rem 0 0.375rem;
  font-size: 0.875rem;
  font-style: italic;
  color: var(--text-primary);
}
.day-card ul {
  margin: 0;
  padding-left: 1.25rem;
  list-style: disc;
}
.day-card li {
  font-size: 0.875rem;
  line-height: 1.5;
  color: var(--text-secondary);
}
.day-card li + li {
  margin-top: 0.3rem;
}
.ai-hack {
  margin-top: 0.75rem;
  padding: 0.625rem 0.875rem;
  border-radius: var(--r-lg);
  background: var(--accent-soft);
  border: 1px solid rgba(46, 109, 164, 0.2);
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-primary);
}
.ai-hack strong {
  color: var(--navy);
}
.mini-project-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-top: 0.625rem;
  padding: 0.25rem 0.65rem;
  border-radius: var(--r-md);
  background: var(--amber-soft);
  border: 1px solid rgba(138, 90, 18, 0.2);
  color: var(--amber);
  font-size: 0.75rem;
  font-weight: 600;
}

.project-meta-panel {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--s-300);
  padding: var(--s-300);
  margin: var(--s-500) 0;
  border: 1px solid var(--border-soft);
  border-radius: var(--r-2xl);
  background: var(--surface-subtle);
}
.project-meta-panel div span { display: block; margin-bottom: var(--s-50); font-size: 0.75rem; line-height: 1.333; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; color: var(--text-muted); }
.project-meta-panel div strong { font-size: 1rem; line-height: 1.5; font-weight: 500; color: var(--text-primary); }
.gallery-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: var(--s-200); margin: var(--s-400) 0; }
.gallery-grid img { border-radius: var(--r-xl); border: 1px solid var(--border-soft); }

/* ---------- Contact ---------- */
.form-note { margin-top: var(--s-200); font-size: 0.75rem; line-height: 1.333; color: var(--text-muted); }

/* ---------- Empty state ---------- */
.empty-state {
  text-align: center;
  padding: var(--s-600) var(--s-300);
  border: 1px solid var(--glass-border);
  border-radius: var(--r-2xl);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
}
.empty-state svg, .empty-state .ph {
  width: 3rem; height: 3rem;
  margin: 0 auto var(--s-300);
  padding: var(--s-100);
  border-radius: var(--r-xl);
  background: var(--surface);
  border: 1px solid var(--border-soft);
  color: var(--accent);
  font-size: 1.5rem;
  display: grid; place-items: center;
}
.empty-state h2, .empty-state h3 { margin-bottom: var(--s-75); font-size: 1.25rem; line-height: 1.4; }
.empty-state p { max-width: 27.5rem; margin: 0 auto; }
.empty-state p a { color: var(--accent); font-weight: 500; }
.empty-state .btn { margin-top: var(--s-300); }

.notice-placeholder {
  margin-top: var(--s-75);
  padding: var(--s-75) var(--s-100);
  border: 1px dashed var(--border-strong);
  border-radius: var(--r-lg);
  background: var(--surface-subtle);
  font-size: 0.75rem; line-height: 1.333;
  color: var(--text-muted);
}

/* ---------- Scroll reveal ---------- */
.reveal-ready .reveal {
  opacity: 0;
  transform: translateY(var(--s-400));
  transition: opacity 700ms var(--ease), transform 700ms var(--ease);
}
.reveal-ready .reveal.is-visible { opacity: 1; transform: none; }

/* ---------- Back to top & Floating WhatsApp ---------- */
.whatsapp-float {
  position: fixed;
  right: var(--s-300);
  bottom: var(--s-300);
  z-index: 410;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1rem;
  border-radius: var(--r-full);
  background: rgba(15, 122, 64, 0.88);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  backdrop-filter: blur(16px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 8px 24px rgba(15, 122, 64, 0.28);
  color: #ffffff;
  font-size: 0.8125rem;
  line-height: 1.4;
  font-weight: 600;
  transition:
    transform var(--dur-color) var(--ease),
    background-color var(--dur-color) var(--ease),
    box-shadow var(--dur-color) var(--ease);
}
.whatsapp-float:hover {
  background: rgba(12, 102, 53, 0.96);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(15, 122, 64, 0.36);
}
.whatsapp-float:active { transform: scale(0.98); }
.whatsapp-float .ph { font-size: 1.25rem; }

.back-to-top {
  position: fixed;
  right: var(--s-300);
  bottom: calc(var(--s-300) + 3.25rem);
  z-index: 400;
  width: 2.5rem; height: 2.5rem;
  display: grid; place-items: center;
  border-radius: var(--r-full);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-strong);
  box-shadow: var(--shadow-sm);
  color: var(--text-primary);
  opacity: 0;
  visibility: hidden;
  transform: translateY(var(--s-75));
  transition: opacity var(--dur-color) var(--ease), transform var(--dur-move) var(--ease), visibility 0s linear var(--dur-color), background-color var(--dur-color) var(--ease);
}
.back-to-top.is-visible { opacity: 1; visibility: visible; transform: none; transition: opacity var(--dur-color) var(--ease), transform var(--dur-move) var(--ease), visibility 0s, background-color var(--dur-color) var(--ease); }
.back-to-top:hover { background: var(--surface-subtle); }
.back-to-top svg { width: 1.125rem; height: 1.125rem; }

/* ---------- 404 ---------- */
.not-found { min-height: 80vh; display: grid; place-items: center; text-align: center; padding: calc(var(--nav-offset) + var(--s-700)) 0 var(--s-800); }
.not-found .code { font-family: var(--font-mono); font-size: 0.875rem; line-height: 1.429; color: var(--accent); margin-bottom: var(--s-200); }
.not-found h1 { margin-left: auto; margin-right: auto; max-width: 42.5rem; }
.not-found p { max-width: 32.5rem; margin: 0 auto var(--s-400); font-size: 1.125rem; line-height: 1.556; }
.not-found .hero-actions { justify-content: center; }

/* ---------- Giveaway announcement ---------- */
.giveaway-callout {
  padding: 1.5rem 1.75rem;
  border-radius: var(--r-2xl);
  border: 1.5px solid rgba(245, 197, 24, 0.55);
  background: linear-gradient(135deg, rgba(251, 241, 223, 0.72), rgba(234, 242, 249, 0.72));
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
}
.prize-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-300);
  margin: var(--s-300) 0;
}
.prize-card {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  padding: 1.5rem;
  border-radius: var(--r-2xl);
  border: 1px solid var(--glass-border);
  border-top: 4px solid #f5c518;
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
}
.prize-card h3 { margin: 0; font-size: 1.125rem; color: var(--text-primary); }
.prize-card ul { margin: 0; padding-left: 1.25rem; list-style: disc; }
.prize-card li { font-size: 0.9375rem; line-height: 1.55; color: var(--text-secondary); }
.prize-card li + li { margin-top: 0.35rem; }
.prize-card > .btn { margin-top: auto; align-self: flex-start; }

.rules-section-card {
  padding: 1.5rem 1.75rem;
  border-radius: var(--r-2xl);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
  margin-bottom: var(--s-300);
}
.rules-section-card h3 {
  margin: 0 0 1rem;
  font-size: 1.1875rem;
  color: var(--navy);
}
ol.bn-rules {
  list-style: none;
  margin: 0;
  padding-left: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
ol.bn-rules > li {
  font-size: 0.9375rem;
  line-height: 1.65;
  color: var(--text-secondary);
}
ol.bn-rules a { color: var(--accent); font-weight: 600; }

.content-types-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-200);
  margin: 1rem 0 0.5rem;
}
.content-type-card {
  padding: 1rem 1.125rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.72);
}
.content-type-card strong {
  display: block;
  margin-bottom: 0.3rem;
  color: var(--navy);
  font-size: 0.9375rem;
}
.content-type-card p {
  margin: 0;
  font-size: 0.875rem;
  line-height: 1.55;
  color: var(--text-secondary);
}

/* ---------- Upcoming courses roadmap ---------- */
.upcoming-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--s-200);
}
.upcoming-card {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: 1.25rem 1.5rem;
  border-radius: var(--r-2xl);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
  box-shadow: var(--shadow-sm);
}
.upcoming-card.span-full {
  grid-column: 1 / -1;
}
.upcoming-num {
  flex-shrink: 0;
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-lg);
  background: var(--navy);
  color: var(--on-navy);
  font-size: 0.8125rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}
.upcoming-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.0625rem;
  line-height: 1.35;
  color: var(--text-primary);
}
.upcoming-footer {
  margin-top: var(--s-400);
  padding-top: var(--s-300);
  border-top: 1px solid var(--border-soft);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}
.upcoming-card-body {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.upcoming-actions {
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- Live Countdown Widget ---------- */
.countdown-box {
  margin-top: 0.75rem;
  padding: 0.75rem 0.875rem;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid var(--border-soft);
}
.countdown-label {
  display: flex;
  align-items: center;
  gap: 0.375rem;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
}
.countdown-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.45rem;
}
.countdown-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 0.4rem 0.25rem;
  border-radius: var(--r-lg);
  background: var(--navy);
  color: var(--on-navy);
}
.countdown-num {
  font-size: 1.0625rem;
  font-weight: 700;
  line-height: 1.15;
  font-variant-numeric: tabular-nums;
}
.countdown-cap {
  font-size: 0.625rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: var(--on-navy-secondary);
  margin-top: 0.1rem;
}
.countdown-ended {
  font-size: 0.8125rem;
  font-weight: 600;
  color: var(--amber);
}

/* ---------- One-Tap Copy Button ---------- */
.copy-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  margin-left: 0.4rem;
  padding: 0.18rem 0.55rem;
  border-radius: var(--r-full);
  border: 1px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.9);
  color: var(--navy);
  font-family: var(--font);
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  vertical-align: middle;
  transition: background-color var(--dur-color) var(--ease), border-color var(--dur-color) var(--ease), color var(--dur-color) var(--ease);
}
.copy-chip:hover {
  background: var(--accent-soft);
  border-color: var(--accent);
}
.copy-chip.is-copied {
  background: #e3f4ea;
  border-color: rgba(31, 122, 77, 0.4);
  color: var(--green);
}

/* ---------- Collapsible Curriculum Accordion ---------- */
.curriculum-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-top: 2rem;
  margin-bottom: 0.75rem;
}
.curriculum-head h2 {
  margin: 0;
}
details.day-card {
  padding: 0;
  overflow: hidden;
}
.day-card-summary {
  list-style: none;
  cursor: pointer;
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  user-select: none;
  transition: background-color var(--dur-color) var(--ease);
}
.day-card-summary::-webkit-details-marker { display: none; }
.day-card-summary:hover {
  background: rgba(255, 255, 255, 0.45);
}
.day-card-summary-main {
  flex: 1;
  min-width: 0;
}
.day-card-summary-main .day-card-head {
  margin-bottom: 0.45rem;
  justify-content: flex-start;
  gap: 0.65rem;
}
.day-card-summary-main h3 {
  margin: 0;
  font-size: 1.0625rem;
}
.day-card-toggle-icon {
  flex-shrink: 0;
  width: 2rem;
  height: 2rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-full);
  background: var(--accent-soft);
  color: var(--navy);
  font-size: 1rem;
  transition: transform var(--dur-color) var(--ease), background-color var(--dur-color) var(--ease), color var(--dur-color) var(--ease);
}
details.day-card[open] .day-card-toggle-icon {
  transform: rotate(45deg);
  background: var(--navy);
  color: var(--on-navy);
}
.day-card-body {
  padding: 0 1.4rem 1.35rem;
  border-top: 1px solid var(--border-soft);
  padding-top: 0.95rem;
}

/* ---------- Instructor Avatar Header ---------- */
.instructor-header {
  display: flex;
  align-items: center;
  gap: 1.125rem;
  margin-bottom: 1.125rem;
}
.instructor-avatar {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: var(--r-full);
  object-fit: cover;
  object-position: top center;
  border: 2px solid var(--accent);
  box-shadow: var(--shadow-sm);
  flex-shrink: 0;
}

/* ---------- Course Outputs & Prerequisites ---------- */
.outputs-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-200);
  margin: 1rem 0 2rem;
}
.output-card {
  display: flex;
  flex-direction: column;
  overflow: hidden;
  padding: 0;
}
.output-media {
  aspect-ratio: 16 / 10;
  overflow: hidden;
  background: var(--navy);
  border-bottom: 1px solid var(--border-soft);
}
.output-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.output-code-preview {
  height: 100%;
  margin: 0;
  padding: 0.875rem 1rem;
  background: #0f2238;
  color: #d6e6f3;
  font-family: var(--font-mono);
  font-size: 0.72rem;
  line-height: 1.5;
  overflow: hidden;
}
.output-code-preview .kw { color: #f5c518; }
.output-code-preview .cm { color: #7ca3c4; }
.output-body {
  padding: 1rem 1.15rem 1.15rem;
}
.output-body h3 {
  margin: 0 0 0.35rem;
  font-size: 0.98rem;
}
.output-body p {
  margin: 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

.req-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem;
  margin: 1rem 0 2rem;
}
.req-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.1rem;
  border-radius: var(--r-xl);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  -webkit-backdrop-filter: var(--glass-blur);
  backdrop-filter: var(--glass-blur);
}
.req-item .ph {
  font-size: 1.35rem;
  color: var(--accent);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.req-item strong {
  display: block;
  font-size: 0.9rem;
  color: var(--text-primary);
  margin-bottom: 0.2rem;
}
.req-item span {
  display: block;
  font-size: 0.8125rem;
  line-height: 1.45;
  color: var(--text-secondary);
}

/* ---------- Enrollment QR & Share Row ---------- */
.enroll-qr-box {
  display: flex;
  align-items: center;
  gap: 0.875rem;
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: var(--r-xl);
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid var(--border-soft);
}
.enroll-qr-box img {
  width: 5.25rem;
  height: 5.25rem;
  border-radius: var(--r-md);
  background: #ffffff;
  padding: 0.25rem;
  border: 1px solid var(--border-soft);
  flex-shrink: 0;
}
.enroll-qr-box strong {
  display: block;
  font-size: 0.8125rem;
  color: var(--text-primary);
  margin-bottom: 0.15rem;
}
.enroll-qr-box p {
  margin: 0;
  font-size: 0.75rem;
  line-height: 1.4;
  color: var(--text-secondary);
}
.share-row {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

/* ---------- Sticky Mobile Enroll Bar ---------- */
.mobile-enroll-bar {
  display: none;
}

/* ---------- YouTube Preview Modal ---------- */
.yt-modal {
  position: fixed;
  inset: 0;
  z-index: 900;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(15, 30, 44, 0.78);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
}
.yt-modal.is-open {
  display: flex;
}
.yt-modal-dialog {
  width: min(100%, 54rem);
  border-radius: var(--r-2xl);
  background: #0f2238;
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.45);
  overflow: hidden;
}
.yt-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.875rem 1.25rem;
  color: #ffffff;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}
.yt-modal-head h3 {
  margin: 0;
  font-size: 1rem;
  color: #ffffff;
}
.yt-modal-close {
  width: 2.25rem;
  height: 2.25rem;
  display: grid;
  place-items: center;
  border-radius: var(--r-full);
  border: 1px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  font-size: 1.125rem;
  cursor: pointer;
}
.yt-modal-close:hover {
  background: rgba(255, 255, 255, 0.2);
}
.yt-modal-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  background: #000000;
}
.yt-modal-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---------- Certificate Verifier ---------- */
.verify-card {
  max-width: 54rem;
  margin: 0 auto;
  padding: 2rem;
}
.verify-quick-test {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.8125rem;
  color: var(--text-secondary);
}
.verify-form {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.verify-input {
  flex: 1 1 16rem;
  min-height: 2.875rem;
  padding: 0.625rem 1rem;
  border-radius: var(--r-xl);
  border: 1.5px solid var(--border-strong);
  background: rgba(255, 255, 255, 0.9);
  font-family: var(--font-mono);
  font-size: 0.9375rem;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-primary);
}
.verify-input:focus {
  outline: 2px solid var(--accent);
  border-color: var(--accent);
}
.verify-result {
  margin-top: 1.75rem;
  padding: 1.5rem;
  border-radius: var(--r-2xl);
  border: 1px solid var(--border-soft);
  background: rgba(255, 255, 255, 0.88);
}
.verify-result.is-valid {
  border-color: rgba(31, 122, 77, 0.35);
  background: linear-gradient(180deg, rgba(227, 244, 234, 0.45), rgba(255, 255, 255, 0.92));
}
.verify-result.is-invalid,
.verify-result.is-revoked {
  border-color: rgba(180, 35, 24, 0.35);
  background: rgba(254, 242, 242, 0.78);
}
.cert-status-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}
.cert-status-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 1.0625rem;
  color: var(--green);
}
.verify-result.is-revoked .cert-status-title {
  color: var(--danger);
}
.cert-status-meta {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* Digital Certificate Preview Card */
.cert-preview {
  position: relative;
  padding: 2rem 2.25rem 1.75rem;
  border-radius: var(--r-xl);
  background: linear-gradient(145deg, #ffffff 0%, #f6f9fc 60%, #edf3fa 100%);
  border: 2px solid var(--navy);
  outline: 1px solid rgba(245, 197, 24, 0.65);
  outline-offset: -8px;
  box-shadow: var(--shadow-md);
  color: var(--text-primary);
  overflow: hidden;
  margin-bottom: 1.35rem;
}
.cert-preview::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--navy) 0%, var(--accent) 55%, #f5c518 100%);
}
.cert-preview-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border-soft);
  margin-bottom: 1.25rem;
}
.cert-preview-logos {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
}
.cert-preview-logos img {
  height: 2.25rem;
  width: auto;
  display: block;
}
.cert-preview-eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 0.45rem;
}
.cert-preview-presented {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}
.cert-preview-name {
  margin: 0.25rem 0 0.2rem;
  font-size: 1.625rem;
  line-height: 1.2;
  color: var(--navy);
}
.cert-preview-inst {
  margin: 0 0 1rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-secondary);
}
.cert-preview-course {
  margin: 0 0 0.35rem;
  font-size: 1.0625rem;
  font-weight: 700;
  color: var(--text-primary);
}
.cert-preview-sub {
  margin: 0;
  font-size: 0.8125rem;
  color: var(--text-secondary);
  line-height: 1.5;
}
.cert-preview-foot {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px dashed var(--border-strong);
}
.cert-preview-foot > div span {
  display: block;
  font-size: 0.6875rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
}
.cert-preview-foot > div strong {
  display: block;
  font-size: 0.875rem;
  color: var(--text-primary);
  margin-top: 0.15rem;
}

.verify-meta-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.875rem 1.25rem;
  margin-top: 0.5rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}
.verify-meta-grid div span {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
}
.verify-meta-grid div strong {
  display: block;
  font-size: 0.9375rem;
  color: var(--text-primary);
  margin-top: 0.15rem;
}
.cert-skills {
  margin-top: 1.125rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
}
.cert-skills-label {
  display: block;
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}
.verify-actions {
  margin-top: 1.25rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border-soft);
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}
.verify-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: var(--s-200);
  max-width: 54rem;
  margin: 2rem auto 0;
}
.verify-step-card {
  padding: 1.25rem;
}
.verify-step-card h3 {
  margin: 0.5rem 0 0.35rem;
  font-size: 1rem;
}
.verify-step-card p {
  margin: 0;
  font-size: 0.85rem;
  line-height: 1.5;
  color: var(--text-secondary);
}

@media print {
  .site-header,
  .page-hero,
  .verify-form,
  .verify-quick-test,
  .verify-actions,
  .verify-steps,
  .site-footer,
  .whatsapp-float,
  .back-to-top {
    display: none !important;
  }
  body {
    background: #ffffff !important;
    padding: 0 !important;
  }
  .section-pad {
    padding: 0 !important;
  }
  .verify-card,
  .verify-result {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
  }
  .cert-preview {
    -webkit-print-color-adjust: exact;
    print-color-adjust: exact;
    box-shadow: none !important;
  }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal-ready .reveal { opacity: 1; transform: none; transition: none; }
  .hero-write .write-word { opacity: 1; clip-path: none; transform: none; filter: none; animation: none; }
  .hero-write .hero-blue::after { display: none; }
  .tagline-text .w { opacity: 1; transition: none; }
  .marquee-ready .partner-track { animation: none; }
  .mobile-menu li, .mobile-menu .mobile-menu-cta { transform: none; }
  .card, .media-card .media img, .btn, .nav-toggle span, .faq-item summary .ph { transition-property: opacity, background-color, border-color, color; }
  a.card:hover, .media-card:hover, .media-card:hover .media img { transform: none; }
}
