/* ==========================================================================
   SkillXen Bangladesh: site design v2
   Clean, professional, Apple-style glass on a light background.
   Brand: blue #0c5484, green #3c9c3c (from the logo).
   No framework, no build step.
   ========================================================================== */

:root {
  --blue: #0c5484;
  --blue-d: #083e63;
  --blue-l: #1b7ab5;
  --green: #3c9c3c;
  --green-d: #2b7f31;
  --ink: #0f2a3d;
  --muted: #4a6073;
  --bg: #f3f8fb;
  --glass: rgba(255, 255, 255, .58);
  --glass-strong: rgba(255, 255, 255, .8);
  --glass-line: rgba(255, 255, 255, .8);
  --shadow: 0 10px 40px rgba(12, 84, 132, .12);
  --shadow-hi: 0 18px 50px rgba(12, 84, 132, .20);
  --radius: 24px;
  --ease: cubic-bezier(.22, .9, .3, 1);
  --font: 'Plus Jakarta Sans', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; color-scheme: light; }
body {
  margin: 0;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; height: auto; }
a { color: inherit; }
h1, h2, h3, p { margin-top: 0; }
:focus-visible { outline: 3px solid var(--blue-l); outline-offset: 3px; border-radius: 12px; }

.skip-link {
  position: absolute; left: 12px; top: -60px; z-index: 2000;
  background: var(--blue); color: #fff; padding: .6rem 1rem; border-radius: 999px; text-decoration: none; font-weight: 600;
}
.skip-link:focus { top: 12px; }

/* ---------- Soft background lights (give the glass something to blur) ---------- */
.bg-orbs { position: fixed; inset: 0; z-index: -1; overflow: hidden; pointer-events: none; }
.bg-orbs span { position: absolute; border-radius: 50%; animation: drift 24s ease-in-out infinite; }
.bg-orbs .o1 { width: 620px; height: 620px; left: -180px; top: -160px; background: radial-gradient(circle, rgba(60,156,60,.28), rgba(60,156,60,0) 68%); }
.bg-orbs .o2 { width: 720px; height: 720px; right: -220px; top: 8%; background: radial-gradient(circle, rgba(27,122,181,.26), rgba(27,122,181,0) 68%); animation-delay: -9s; }
.bg-orbs .o3 { width: 560px; height: 560px; left: 28%; bottom: -240px; background: radial-gradient(circle, rgba(60,156,60,.20), rgba(60,156,60,0) 68%); animation-delay: -15s; }
@keyframes drift { 0%, 100% { translate: 0 0; } 50% { translate: 36px 28px; } }

/* ---------- Glass ---------- */
.glass {
  background: var(--glass);
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  backdrop-filter: blur(20px) saturate(180%);
}
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  .glass { background: rgba(255, 255, 255, .92); }
}

/* ---------- Floating motion (gentle, staggered) ---------- */
@keyframes floaty { 0%, 100% { translate: 0 0; } 50% { translate: 0 var(--amp, -4px); } }
.pill.float { --amp: -2px; }   /* navbar and footer links drift less, so the row stays tidy */
.float { animation: floaty 6.5s ease-in-out infinite; animation-delay: var(--d, 0s); }
.float-slow { animation: floaty 9s ease-in-out infinite; animation-delay: var(--d, 0s); }

/* ---------- Layout ---------- */
.wrap { width: 100%; max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.section { padding: clamp(60px, 8vw, 104px) 0; position: relative; }
.eyebrow { display: inline-block; font-size: .78rem; font-weight: 700; letter-spacing: .14em; text-transform: uppercase; color: var(--green-d); margin-bottom: .9rem; }
.section-title { font-size: clamp(1.75rem, 3.4vw, 2.7rem); line-height: 1.15; letter-spacing: -.02em; font-weight: 800; margin-bottom: 1rem; }
.section-lead { color: var(--muted); font-size: 1.08rem; max-width: 640px; }
.section-head { margin-bottom: clamp(32px, 5vw, 56px); }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-left: auto; margin-right: auto; }
.grad { background: linear-gradient(100deg, var(--blue) 10%, var(--green) 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }

/* ---------- Header / navbar ---------- */
.site-header { position: fixed; top: 14px; left: 0; right: 0; z-index: 60; padding: 0 16px; pointer-events: none; }
.nav {
  pointer-events: auto;
  max-width: 1160px; margin: 0 auto; height: 66px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 0 12px 0 22px; border-radius: 999px;
  transition: box-shadow .35s var(--ease), background .35s;
}
.site-header.is-scrolled .nav { box-shadow: var(--shadow-hi), inset 0 1px 0 rgba(255, 255, 255, .95); background: var(--glass-strong); }
.brand { display: inline-flex; align-items: center; flex-shrink: 0; }
.brand img { height: 38px; width: auto; display: block; }
.nav-links { list-style: none; margin: 0; padding: 0; display: none; align-items: center; gap: 6px; }
.pill {
  display: inline-flex; align-items: center; gap: .45rem; white-space: nowrap;
  padding: .55rem 1.05rem; border-radius: 999px;
  font-size: .9rem; font-weight: 600; text-decoration: none; color: var(--ink);
  background: rgba(255, 255, 255, .42);
  border: 1px solid rgba(255, 255, 255, .85);
  box-shadow: 0 4px 14px rgba(12, 84, 132, .08), inset 0 1px 0 rgba(255, 255, 255, .9);
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s;
}
.pill:hover { transform: translateY(-3px) scale(1.03); background: rgba(255, 255, 255, .85); box-shadow: 0 10px 22px rgba(12, 84, 132, .16), inset 0 1px 0 #fff; color: var(--blue); }
.pill:active { transform: translateY(-1px) scale(.98); }
.pill.is-active { color: #fff; border-color: rgba(255, 255, 255, .35); background: linear-gradient(135deg, var(--blue), var(--blue-l)); box-shadow: 0 8px 20px rgba(12, 84, 132, .32), inset 0 1px 0 rgba(255, 255, 255, .4); }
.pill.is-active:hover { color: #fff; }
.pill svg { width: 1.05em; height: 1.05em; flex-shrink: 0; }

/* shine that sweeps across glass buttons on hover */
.pill::after, .btn::after {
  content: ""; position: absolute; inset: 0; z-index: 1; pointer-events: none;
  background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .6) 50%, transparent 70%);
  transform: translateX(-130%); transition: transform .9s var(--ease);
}
.pill:hover::after, .btn:hover::after { transform: translateX(130%); }

.nav-toggle {
  pointer-events: auto; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .55); color: var(--ink); cursor: pointer;
  box-shadow: 0 4px 14px rgba(12, 84, 132, .1);
}
.nav-toggle svg { width: 22px; height: 22px; }
.nav-tools { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.theme-toggle {
  pointer-events: auto; width: 46px; height: 46px; border-radius: 50%; display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255, 255, 255, .85); background: rgba(255, 255, 255, .55); color: var(--ink); cursor: pointer;
  box-shadow: 0 4px 14px rgba(12, 84, 132, .1);
  transition: transform .35s var(--ease), background .35s, border-color .35s, color .35s, box-shadow .35s;
}
.theme-toggle:hover { transform: translateY(-3px) scale(1.04); background: rgba(255, 255, 255, .85); }
.theme-toggle:active { transform: translateY(-1px) scale(.97); }
.theme-toggle svg { width: 21px; height: 21px; }
.theme-toggle .icon-sun { display: none; }
html[data-theme="dark"] .theme-toggle .icon-moon { display: none; }
html[data-theme="dark"] .theme-toggle .icon-sun { display: block; }
.nav-sheet { pointer-events: auto; max-width: 1160px; margin: 10px auto 0; border-radius: 28px; padding: 14px; display: grid; gap: 8px; }
.nav-sheet[hidden] { display: none; }
.nav-sheet .pill { justify-content: flex-start; padding: .8rem 1.1rem; font-size: 1rem; }
@media (min-width: 960px) {
  .nav-links { display: flex; }
  .nav-toggle, .nav-sheet { display: none !important; }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: .55rem;
  padding: .95rem 1.7rem; border-radius: 999px; font: inherit; font-weight: 700; font-size: .98rem;
  text-decoration: none; cursor: pointer; border: 1px solid transparent;
  position: relative; overflow: hidden; isolation: isolate;
  transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s;
}
.btn:hover { transform: translateY(-4px) scale(1.03); }
.btn:active { transform: translateY(-1px) scale(.98); }
.btn svg { width: 1.1em; height: 1.1em; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  color: #fff; border-color: rgba(255, 255, 255, .3);
  background: linear-gradient(135deg, #2a8530, #1f6f27);
  box-shadow: 0 12px 28px rgba(43, 127, 49, .38), inset 0 1px 0 rgba(255, 255, 255, .4);
}
.btn-primary:hover { box-shadow: 0 18px 36px rgba(43, 127, 49, .5), inset 0 1px 0 rgba(255, 255, 255, .5); }
.btn-glass {
  color: var(--blue-d); background: rgba(255, 255, 255, .62); border-color: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(14px); backdrop-filter: blur(14px);
  box-shadow: 0 10px 26px rgba(12, 84, 132, .14), inset 0 1px 0 #fff;
}
.btn-glass:hover { background: rgba(255, 255, 255, .9); box-shadow: 0 16px 34px rgba(12, 84, 132, .22), inset 0 1px 0 #fff; }

/* ---------- Hero ---------- */
.hero { padding: 132px 0 clamp(46px, 5.6vw, 82px); }

/* The crystal glass stage. A photo covers it at first, then it fades away and
   this glass is what shows through. The soft glow drifts slowly so the glass
   feels alive even while the copy is still typing. */
.hero-stage {
  --hero-fade: 1.2s;
  position: relative; isolation: isolate; overflow: hidden;
  border-radius: clamp(26px, 3vw, 44px);
  background: linear-gradient(155deg, rgba(255, 255, 255, .7), rgba(255, 255, 255, .34) 46%, rgba(212, 236, 250, .52));
  border: 1px solid var(--glass-line);
  box-shadow: var(--shadow-hi), inset 0 1px 0 rgba(255, 255, 255, .95);
  -webkit-backdrop-filter: blur(22px) saturate(170%);
  backdrop-filter: blur(22px) saturate(170%);
}
.hero-stage::before {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background:
    radial-gradient(72% 88% at 0% 0%, rgba(255, 255, 255, .82), rgba(255, 255, 255, 0) 62%),
    radial-gradient(62% 80% at 100% 100%, rgba(60, 156, 60, .16), rgba(60, 156, 60, 0) 66%),
    linear-gradient(120deg, rgba(27, 122, 181, .12), rgba(27, 122, 181, 0) 52%);
  animation: heroAura 18s ease-in-out infinite alternate;
}
@keyframes heroAura {
  0%   { opacity: .82; transform: translate3d(0, 0, 0) scale(1); }
  100% { opacity: 1;   transform: translate3d(-1.6%, 1.2%, 0) scale(1.05); }
}
.hero-stage::after {
  content: ""; position: absolute; inset: 0; z-index: 0; pointer-events: none; border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .6), inset 0 26px 60px -32px rgba(255, 255, 255, .95);
}
.hero-card {
  position: relative; z-index: 1;
  display: grid; gap: clamp(20px, 3.4vw, 30px); align-items: center;
  padding: clamp(20px, 4vw, 30px);
}
@media (min-width: 960px) {
  .hero-card { grid-template-columns: minmax(0, 1.04fr) minmax(0, .96fr); gap: clamp(26px, 3vw, 44px); padding: clamp(30px, 3.6vw, 48px); }
}
.chip {
  display: inline-flex; align-items: center; gap: .55rem; padding: .45rem 1rem .45rem .5rem; border-radius: 999px;
  font-size: .85rem; font-weight: 600; text-decoration: none; color: var(--blue-d); margin-bottom: 1.4rem;
  transition: transform .35s var(--ease), box-shadow .35s;
}
.chip:hover { transform: translateY(-3px); box-shadow: var(--shadow-hi), inset 0 1px 0 #fff; }
.chip .dot { width: 26px; height: 26px; border-radius: 50%; display: grid; place-items: center; background: linear-gradient(135deg, var(--green), var(--green-d)); color: #fff; font-size: .8rem; }
.hero-copy { min-width: 0; }
.hero h1 { font-size: clamp(2.05rem, 4.8vw, 3.85rem); line-height: 1.07; letter-spacing: -.035em; font-weight: 800; margin-bottom: 1.1rem; }
.hero h1 .grad { white-space: nowrap; padding-bottom: .08em; }
.hero .lead { font-size: clamp(1rem, 1.5vw, 1.16rem); color: var(--muted); max-width: 560px; margin-bottom: 1.8rem; }
.cta { display: flex; flex-wrap: wrap; gap: 14px; }
.hero .cta { transition: opacity .5s var(--ease), translate .5s var(--ease); }
.hero-run .hero-copy:not(.is-typed) .cta { opacity: 0; translate: 0 10px; pointer-events: none; }
.hero-static .hero-copy:not(.is-typed) .cta { opacity: 1; translate: 0 0; pointer-events: auto; }

/* typewriter caret, only while a line is being typed */
.tw.is-typing::after {
  content: ""; display: inline-block; width: .07em; height: .85em; margin-left: .08em;
  background: var(--blue); vertical-align: -.05em; animation: caret 1s steps(1) infinite;
}
@keyframes caret { 0%, 49% { opacity: 1; } 50%, 100% { opacity: 0; } }

.hero-visual { position: relative; min-width: 0; }
.hero-slides {
  position: relative; width: 100%; aspect-ratio: 1 / 1; max-height: 62vh;
  border-radius: clamp(18px, 2.4vw, 28px); overflow: hidden; isolation: isolate;
  background: rgba(255, 255, 255, .5); border: 1px solid var(--glass-line);
  box-shadow: 0 16px 40px rgba(12, 84, 132, .18), inset 0 1px 0 rgba(255, 255, 255, .8);
}
@media (min-width: 700px) { .hero-slides { aspect-ratio: 5 / 4; } }
@media (min-width: 960px) { .hero-slides { aspect-ratio: 4 / 3.15; max-height: 58vh; } }
.hero-slide {
  position: absolute; inset: 0; margin: 0; opacity: 0;
  transition: opacity var(--hero-fade, 1.2s) var(--ease);
  will-change: opacity;
}
.hero-slide.is-active { opacity: 1; }
.hero-slide img {
  width: 100%; height: 100%; display: block; object-fit: cover;
  transform: scale(1.02); transform-origin: 58% 42%;
  transition: transform 8.5s linear;
  will-change: transform;
}
.hero-slide.is-active img { transform: scale(1.09); }

/* the photo that fills the whole hero before the glass fades through */
.hero-cover {
  position: absolute; inset: 0; z-index: 3; pointer-events: none; opacity: 0;
  transition: opacity var(--hero-fade, 1.2s) var(--ease);
  will-change: opacity;
}
.hero-cover img { width: 100%; height: 100%; display: block; object-fit: cover; }
.js .hero-cover { opacity: 1; }
.js .hero-cover.is-off { opacity: 0; }
.hero-static .hero-cover { display: none !important; }
@media (max-width: 959px) { .hero { padding-top: 108px; } }
@media (max-width: 520px) { .hero-slides { border-radius: 20px; } .hero .lead { margin-bottom: 1.5rem; } }

/* ---------- Intro strip ---------- */
.strip { padding: 0 0 clamp(40px, 6vw, 72px); }
.strip-card { border-radius: 32px; padding: clamp(26px, 4vw, 44px); display: grid; gap: 26px; align-items: center; }
@media (min-width: 860px) { .strip-card { grid-template-columns: 1.2fr 1fr; } }
.strip-card h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); line-height: 1.25; letter-spacing: -.015em; margin: 0; font-weight: 800; }
.strip-card p { margin: 0; color: var(--muted); }
.values { list-style: none; padding: 0; margin: 0; display: flex; flex-wrap: wrap; gap: 10px; }
.values li { padding: .5rem 1rem; border-radius: 999px; background: rgba(255, 255, 255, .7); border: 1px solid #fff; font-weight: 700; font-size: .88rem; color: var(--blue-d); box-shadow: 0 4px 12px rgba(12, 84, 132, .08); }

/* ---------- Cards ---------- */
.grid { display: grid; gap: 22px; }
.grid.c2 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 320px), 1fr)); }
.grid.c3 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 290px), 1fr)); }
.grid.c4 { grid-template-columns: repeat(auto-fit, minmax(min(100%, 230px), 1fr)); }
.card { border-radius: var(--radius); padding: 30px; transition: transform .4s var(--ease), box-shadow .4s var(--ease), background .4s; position: relative; }
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-hi), inset 0 1px 0 #fff; background: rgba(255, 255, 255, .78); }
.card h3 { font-size: 1.2rem; line-height: 1.3; letter-spacing: -.01em; font-weight: 800; margin-bottom: .6rem; }
.card p { color: var(--muted); margin-bottom: 1.2rem; font-size: .98rem; }
.icon-bubble { width: 54px; height: 54px; border-radius: 18px; display: grid; place-items: center; margin-bottom: 1.3rem; color: #fff; background: linear-gradient(135deg, var(--blue), var(--blue-l)); box-shadow: 0 10px 22px rgba(12, 84, 132, .28), inset 0 1px 0 rgba(255, 255, 255, .45); }
.icon-bubble.g { background: linear-gradient(135deg, var(--green), var(--green-d)); box-shadow: 0 10px 22px rgba(43, 127, 49, .3), inset 0 1px 0 rgba(255, 255, 255, .45); }
.icon-bubble svg { width: 26px; height: 26px; }
.more { display: inline-flex; align-items: center; gap: .4rem; font-weight: 700; font-size: .92rem; color: var(--blue); text-decoration: none; }
.more svg { width: 1em; height: 1em; transition: transform .3s var(--ease); }
.more:hover svg, .card:hover .more svg { transform: translateX(5px); }
.more::after { content: ""; position: absolute; inset: 0; border-radius: inherit; } /* whole card clickable */

/* ---------- Feature band (Python learning) ---------- */
.feature { border-radius: 36px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 36px; align-items: center; position: relative; overflow: hidden; }
@media (min-width: 900px) { .feature { grid-template-columns: 1.1fr .9fr; } }
.feature::before { content: ""; position: absolute; width: 420px; height: 420px; right: -120px; top: -160px; background: radial-gradient(circle, rgba(60,156,60,.25), rgba(60,156,60,0) 70%); pointer-events: none; }
.facts { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; position: relative; }
.fact { border-radius: 22px; padding: 20px; background: rgba(255, 255, 255, .72); border: 1px solid #fff; box-shadow: 0 8px 22px rgba(12, 84, 132, .1); }
.fact b { display: block; font-size: 1.7rem; line-height: 1.1; letter-spacing: -.02em; color: var(--blue); }
.fact span { font-size: .85rem; color: var(--muted); font-weight: 600; }
.feature .cta { margin-top: 1.6rem; }

/* ---------- Stats / sample sections ---------- */
.stat { text-align: center; padding: 30px 20px; }
.stat b { display: block; font-size: clamp(2.2rem, 4vw, 3.2rem); line-height: 1; letter-spacing: -.03em; font-weight: 800; }
.stat span { display: block; margin-top: .6rem; color: var(--muted); font-weight: 600; font-size: .95rem; }
.ph { aspect-ratio: 16 / 10; border-radius: 18px; margin-bottom: 1.2rem; display: grid; place-items: center; color: rgba(255, 255, 255, .9); background: linear-gradient(135deg, #0c5484, #3c9c3c); position: relative; overflow: hidden; }
.ph.b { background: linear-gradient(135deg, #3c9c3c, #1b7ab5); } .ph.c { background: linear-gradient(135deg, #1b7ab5, #0c5484); }
.ph svg { width: 44px; height: 44px; opacity: .85; }
.date { display: inline-block; font-size: .78rem; font-weight: 700; color: var(--green-d); letter-spacing: .04em; margin-bottom: .5rem; text-transform: uppercase; }
.quote { border-radius: 36px; padding: clamp(28px, 5vw, 56px); display: grid; gap: 28px; align-items: center; }
@media (min-width: 800px) { .quote { grid-template-columns: 200px 1fr; } }
.avatar { width: 160px; height: 160px; border-radius: 50%; background: linear-gradient(135deg, var(--blue), var(--green)); display: grid; place-items: center; color: #fff; font-size: 3.4rem; font-weight: 800; box-shadow: 0 16px 36px rgba(12, 84, 132, .28); }
.quote blockquote { margin: 0; font-size: clamp(1.15rem, 2.2vw, 1.6rem); line-height: 1.5; font-weight: 600; letter-spacing: -.01em; }
.quote cite { display: block; margin-top: 1rem; font-style: normal; font-size: .95rem; color: var(--muted); font-weight: 600; }
.logos { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; }
.logos span { padding: 1rem 1.6rem; border-radius: 18px; font-weight: 800; color: var(--blue); background: rgba(255, 255, 255, .7); border: 1px solid #fff; box-shadow: 0 6px 18px rgba(12, 84, 132, .08); }
.sample-tag { position: absolute; top: 10px; right: 20px; z-index: 3; font-size: .7rem; font-weight: 800; letter-spacing: .06em; text-transform: uppercase; color: #8a5a00; background: #ffe9b3; border: 1px solid #f3cf72; border-radius: 999px; padding: .25rem .7rem; }

/* ---------- Final call to action ---------- */
.cta-band { border-radius: 40px; padding: clamp(36px, 6vw, 72px) clamp(22px, 4vw, 48px); text-align: center; position: relative; overflow: hidden; }
.cta-band::before, .cta-band::after { content: ""; position: absolute; width: 380px; height: 380px; border-radius: 50%; pointer-events: none; }
.cta-band::before { left: -140px; bottom: -200px; background: radial-gradient(circle, rgba(60,156,60,.28), rgba(60,156,60,0) 70%); }
.cta-band::after { right: -140px; top: -200px; background: radial-gradient(circle, rgba(27,122,181,.28), rgba(27,122,181,0) 70%); }
.cta-band > * { position: relative; z-index: 1; }
.cta-band .cta { justify-content: center; margin-top: 1.8rem; }
.cta-band p { color: var(--muted); max-width: 520px; margin: 0 auto; }

/* ---------- Footer ---------- */
.site-footer { padding: 40px 0 28px; }
.footer-glass { border-radius: 36px; padding: clamp(28px, 4vw, 52px); display: grid; gap: 36px; }
@media (min-width: 900px) { .footer-glass { grid-template-columns: 1.5fr 1fr 1.2fr; } }
.footer-glass img { height: 44px; width: auto; margin-bottom: 1rem; display: block; }
.footer-glass p { color: var(--muted); font-size: .95rem; margin-bottom: 1rem; }
.footer-glass h4 { margin: 0 0 1rem; font-size: .8rem; letter-spacing: .12em; text-transform: uppercase; color: var(--green-d); }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px; }
.footer-links .pill { font-size: .86rem; padding: .45rem .95rem; }
.contact-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; color: var(--muted); font-size: .95rem; }
.contact-list a { text-decoration: none; transition: color .25s; } .contact-list a:hover { color: var(--blue); }
.contact-list b { color: var(--ink); }
.social { display: flex; gap: 10px; flex-wrap: wrap; }
.social a { width: 44px; height: 44px; border-radius: 50%; display: grid; place-items: center; color: var(--blue); background: rgba(255, 255, 255, .7); border: 1px solid #fff; box-shadow: 0 6px 16px rgba(12, 84, 132, .12); transition: transform .35s var(--ease), box-shadow .35s, color .3s; }
.social a:hover { transform: translateY(-4px) scale(1.08); color: var(--green-d); box-shadow: 0 12px 24px rgba(12, 84, 132, .2); }
.social svg { width: 20px; height: 20px; }
.copy { text-align: center; color: var(--muted); font-size: .85rem; margin-top: 22px; }
.to-top { position: fixed; right: 18px; bottom: 18px; z-index: 55; width: 50px; height: 50px; border-radius: 50%; display: grid; place-items: center; color: var(--blue); cursor: pointer; border: 1px solid #fff; opacity: 0; visibility: hidden; transition: opacity .35s, visibility .35s, transform .35s var(--ease); }
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { transform: translateY(-4px) scale(1.06); }
.to-top svg { width: 22px; height: 22px; }

/* ---------- Scroll reveal ---------- */
.js .reveal { opacity: 0; translate: 0 28px; transition: opacity .85s var(--ease), translate .85s var(--ease), transform .4s var(--ease), box-shadow .4s var(--ease), background .4s; }
.js .reveal.in { opacity: 1; translate: 0 0; }
.reveal-all .reveal { opacity: 1 !important; translate: 0 0 !important; }

/* ---------- Intro: logo + slogan on white, then the logo flies to the navbar ---------- */
#intro { display: none; }
.intro, .intro body { overflow: hidden; }
.intro #intro { position: fixed; inset: 0; z-index: 1000; background: #fff; display: flex; align-items: center; justify-content: center; }
.intro-brand { display: flex; flex-direction: column; align-items: center; gap: 22px; padding: 0 24px; text-align: center; }
.intro-logo { width: min(400px, 70vw); height: auto; display: block; opacity: 0; scale: .94; translate: 0 10px; animation: introLogo 1s var(--ease) .15s forwards; will-change: transform; }
.intro-slogan { margin: 0; font-size: clamp(.95rem, 2.1vw, 1.3rem); font-weight: 600; letter-spacing: .16em; text-transform: uppercase; color: var(--blue); opacity: 0; translate: 0 10px; animation: introSlogan .9s var(--ease) .8s forwards; }
.intro-slogan b { color: var(--green-d); font-weight: 700; }
@keyframes introLogo { to { opacity: 1; scale: 1; translate: 0 0; } }
@keyframes introSlogan { to { opacity: 1; translate: 0 0; } }
.intro .site-header, .intro main, .intro .site-footer, .intro .to-top { opacity: 0; }
.intro .nav { animation: none; }
.intro #site-logo { visibility: hidden; }
.intro.intro-reveal .site-header, .intro.intro-reveal main, .intro.intro-reveal .site-footer { opacity: 1; transition: opacity .9s ease; }

/* ---------- Dark mode ---------- */
html[data-theme="dark"] {
  color-scheme: dark;
  --blue: #78c6f0;
  --blue-d: #a8dcf7;
  --blue-l: #5bb6e8;
  --green: #78d478;
  --green-d: #9ce29c;
  --ink: #e8f3fa;
  --muted: #a6c0d1;
  --bg: #07131f;
  --glass: rgba(16, 35, 51, .66);
  --glass-strong: rgba(12, 28, 42, .9);
  --glass-line: rgba(151, 203, 232, .2);
  --shadow: 0 12px 42px rgba(0, 0, 0, .4);
  --shadow-hi: 0 20px 56px rgba(0, 0, 0, .55);
  scrollbar-color: #2a4a60 #07131f;
}
html[data-theme="dark"] body { background: var(--bg); color: var(--ink); }
html[data-theme="dark"] .bg-orbs .o1 { background: radial-gradient(circle, rgba(60, 156, 60, .16), rgba(60, 156, 60, 0) 68%); }
html[data-theme="dark"] .bg-orbs .o2 { background: radial-gradient(circle, rgba(27, 122, 181, .18), rgba(27, 122, 181, 0) 68%); }
html[data-theme="dark"] .bg-orbs .o3 { background: radial-gradient(circle, rgba(60, 156, 60, .12), rgba(60, 156, 60, 0) 68%); }

html[data-theme="dark"] .glass { border-color: var(--glass-line); box-shadow: var(--shadow), inset 0 1px 0 rgba(255, 255, 255, .08); }
@supports not ((backdrop-filter: blur(1px)) or (-webkit-backdrop-filter: blur(1px))) {
  html[data-theme="dark"] .glass { background: rgba(14, 31, 45, .96); }
}
html[data-theme="dark"] .site-header.is-scrolled .nav { box-shadow: var(--shadow-hi), inset 0 1px 0 rgba(255, 255, 255, .1); }

html[data-theme="dark"] .pill {
  color: var(--ink); background: rgba(28, 53, 73, .6); border-color: rgba(151, 203, 232, .22);
  box-shadow: 0 4px 14px rgba(0, 0, 0, .25), inset 0 1px 0 rgba(255, 255, 255, .08);
}
html[data-theme="dark"] .pill:hover { background: rgba(43, 76, 101, .85); box-shadow: 0 10px 22px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .12); color: var(--blue-d); }
html[data-theme="dark"] .pill.is-active { color: #fff; background: linear-gradient(135deg, #11608f, #1b7ab5); border-color: rgba(151, 203, 232, .32); box-shadow: 0 8px 20px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .22); }
html[data-theme="dark"] .pill.is-active:hover { color: #fff; }
html[data-theme="dark"] .pill::after, html[data-theme="dark"] .btn::after { background: linear-gradient(110deg, transparent 30%, rgba(255, 255, 255, .24) 50%, transparent 70%); }

html[data-theme="dark"] .nav-toggle,
html[data-theme="dark"] .theme-toggle { border-color: rgba(151, 203, 232, .22); background: rgba(28, 53, 73, .6); color: var(--ink); box-shadow: 0 4px 14px rgba(0, 0, 0, .25); }
html[data-theme="dark"] .nav-toggle:hover,
html[data-theme="dark"] .theme-toggle:hover { background: rgba(43, 76, 101, .85); }

html[data-theme="dark"] .btn-glass {
  color: var(--blue-d); background: rgba(25, 48, 67, .72); border-color: rgba(151, 203, 232, .24);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .3), inset 0 1px 0 rgba(255, 255, 255, .1);
}
html[data-theme="dark"] .btn-glass:hover { background: rgba(39, 70, 94, .9); box-shadow: 0 16px 34px rgba(0, 0, 0, .4), inset 0 1px 0 rgba(255, 255, 255, .14); }
html[data-theme="dark"] .chip { color: var(--blue-d); }
html[data-theme="dark"] .chip:hover { box-shadow: var(--shadow-hi), inset 0 1px 0 rgba(255, 255, 255, .12); }

html[data-theme="dark"] .grad { background: linear-gradient(100deg, #8ed3f7 10%, #8be08b 90%); -webkit-background-clip: text; background-clip: text; color: transparent; }
html[data-theme="dark"] .values li { background: rgba(25, 48, 67, .72); border-color: rgba(151, 203, 232, .2); color: var(--blue-d); box-shadow: 0 4px 12px rgba(0, 0, 0, .25); }
html[data-theme="dark"] .icon-bubble { background: linear-gradient(135deg, #0f5e8b, #1b7ab5); box-shadow: 0 10px 22px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
html[data-theme="dark"] .icon-bubble.g { background: linear-gradient(135deg, #2f8734, #246d29); box-shadow: 0 10px 22px rgba(0, 0, 0, .35), inset 0 1px 0 rgba(255, 255, 255, .25); }
html[data-theme="dark"] .card:hover { background: rgba(27, 50, 69, .82); box-shadow: var(--shadow-hi), inset 0 1px 0 rgba(255, 255, 255, .12); }
html[data-theme="dark"] .fact { background: rgba(25, 48, 67, .72); border-color: rgba(151, 203, 232, .2); box-shadow: 0 8px 22px rgba(0, 0, 0, .28); }
html[data-theme="dark"] .logos span { background: rgba(25, 48, 67, .72); border-color: rgba(151, 203, 232, .2); color: var(--blue-d); box-shadow: 0 6px 18px rgba(0, 0, 0, .25); }
html[data-theme="dark"] .social a { background: rgba(25, 48, 67, .72); border-color: rgba(151, 203, 232, .2); color: var(--blue-d); box-shadow: 0 6px 16px rgba(0, 0, 0, .3); }
html[data-theme="dark"] .social a:hover { color: var(--green-d); box-shadow: 0 12px 24px rgba(0, 0, 0, .4); }
html[data-theme="dark"] .contact-list a:hover { color: var(--blue-d); }
html[data-theme="dark"] .to-top { border-color: rgba(151, 203, 232, .24); color: var(--blue-d); }
html[data-theme="dark"] .skip-link { background: #0c5484; }
html[data-theme="dark"] .hero-slides { background: rgba(10, 24, 36, .7); box-shadow: var(--shadow-hi), inset 0 1px 0 rgba(255, 255, 255, .1); }
html[data-theme="dark"] .hero-stage { background: linear-gradient(155deg, rgba(20, 42, 60, .84), rgba(10, 26, 39, .72) 46%, rgba(12, 44, 62, .8)); }
html[data-theme="dark"] .hero-stage::before { background: radial-gradient(72% 88% at 0% 0%, rgba(120, 198, 240, .16), rgba(120, 198, 240, 0) 62%), radial-gradient(62% 80% at 100% 100%, rgba(120, 212, 120, .14), rgba(120, 212, 120, 0) 66%); }
html[data-theme="dark"] .hero-stage::after { box-shadow: inset 0 0 0 1px rgba(151, 203, 232, .14), inset 0 26px 60px -32px rgba(255, 255, 255, .1); }
html[data-theme="dark"] .tw.is-typing::after { background: var(--blue-d); }

html[data-theme="dark"] .brand { background: #fff; padding: 5px 12px; border-radius: 999px; box-shadow: 0 4px 14px rgba(0, 0, 0, .3); }
html[data-theme="dark"] .footer-glass img { background: #fff; padding: 6px 12px; border-radius: 14px; height: 56px; }
html[data-theme="dark"].intro #intro { background: #07131f; }
html[data-theme="dark"] .intro-logo { background: #fff; border-radius: 14px; box-shadow: 0 20px 50px rgba(0, 0, 0, .35); }
html[data-theme="dark"] .intro-slogan { color: var(--blue-d); }
html[data-theme="dark"] .intro-slogan b { color: var(--green-d); }

/* ---------- Motion preferences ---------- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
  .js .reveal { opacity: 1; translate: 0 0; }
  .hero-cover { display: none !important; }
  .hero-run .hero-copy:not(.is-typed) .cta { opacity: 1; translate: 0 0; pointer-events: auto; }
}
