/* ==========================================================================
   DataSync Inc. — Design System
   Palette extracted from brand: navy / steel blue / cyan / orange
   ========================================================================== */

:root {
  /* Brand */
  --navy-900: #131F33;
  --navy-800: #1F304C;
  --navy-700: #2A4066;
  --blue-600: #3F6097;
  --blue-400: #5E90E3;
  --blue-100: #C6D8F6;
  --cyan-400: #00C8DC;
  --cyan-600: #008593;
  --orange-500: #E67A00;
  --orange-600: #C9660A;

  /* Neutrals */
  --ink: #26313F;
  --gray-600: #5A6675;
  --gray-300: #C7CFD9;
  --bg: #FFFFFF;
  --bg-alt: #F4F7FC;

  /* Type */
  --font-sans: "Inter", "Segoe UI", Helvetica, Arial, sans-serif;

  /* Rhythm */
  --container: 1180px;
  --radius: 14px;
  --shadow-sm: 0 2px 8px rgba(19, 31, 51, 0.06);
  --shadow-md: 0 10px 30px rgba(19, 31, 51, 0.10);
  --shadow-lg: 0 24px 60px rgba(19, 31, 51, 0.16);

  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
}

/* ---------- Reset ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 1.0625rem;
  line-height: 1.65;
  color: var(--ink);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}
img { max-width: 100%; display: block; }
a { color: var(--blue-600); text-decoration: none; }
h1, h2, h3, h4 { line-height: 1.15; color: var(--navy-800); margin: 0 0 0.6em; font-weight: 800; letter-spacing: 0em;
               font-family: "Helvetica Now", "DM Sans" !important;}
p { margin: 0 0 1em; }
:focus-visible { outline: 3px solid var(--blue-400); outline-offset: 3px; border-radius: 4px; }

.container { width: min(var(--container), 92%); margin-inline: auto; }

/* ---------- Typography scale ---------- */
h1 { font-size: clamp(2.4rem, 5.4vw, 4rem); }
h2 { font-size: clamp(1.8rem, 3.4vw, 2.6rem); }
h3 { font-size: 1.35rem; }

.eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--orange-500);
  margin-bottom: 1rem;
}
.eyebrow::before {
  content: "";
  display: inline-block;
  width: 28px;
  height: 2px;
  background: var(--orange-500);
  vertical-align: middle;
  margin-right: 10px;
}
.section-lead { max-width: 640px; color: var(--gray-600); font-size: 1.12rem; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.9rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 1rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out), background 0.25s, color 0.25s, border-color 0.25s;
}
.btn svg { transition: transform 0.25s var(--ease-out); }
.btn:hover svg { transform: translateX(4px); }
.btn-primary {
  background: var(--orange-500);
  color: #fff;
}
.btn-primary:hover {
  background: var(--orange-600);
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(230, 122, 0, 0.35);
}
.btn-ghost {
  background: transparent;
  color: #fff;
  border-color: rgba(255, 255, 255, 0.45);
}
.btn-ghost:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}
.btn-ghost-dark {
  background: transparent;
  color: var(--navy-800);
  border-color: var(--gray-300);
}
.btn-ghost-dark:hover { border-color: var(--blue-600); color: var(--blue-600); transform: translateY(-2px); }

/* ---------- Header ---------- */
.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 100;
  transition: background 0.35s, box-shadow 0.35s, padding 0.35s;
  padding: 1.1rem 0;
  background: transparent;
}
.site-header.scrolled {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-sm);
  padding: 0.55rem 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.5rem; }
.logo { display: flex; align-items: center; gap: 0.6rem; }
.logo img { height: 80px; width: auto; transition: height 0.35s; }
.site-header.scrolled .logo img { height: 64px; }

.main-nav { display: flex; align-items: center; gap: 2rem; }
.main-nav a {
  position: relative;
  font-weight: 600;
  font-size: 0.98rem;
  color: #fff;
  padding: 0.35rem 0;
  transition: color 0.25s;
}
.site-header.scrolled .main-nav a { color: var(--navy-800); }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 2px;
  background: var(--orange-500);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.3s var(--ease-out);
}
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); transform-origin: left; }
.main-nav .nav-cta {
  border: 2px solid rgba(255, 255, 255, 0.5);
  border-radius: 999px;
  padding: 0.45rem 1.2rem;
  font-size: 0.9rem;
}
.main-nav .nav-cta::after { display: none; }
.main-nav .nav-cta:hover { border-color: var(--orange-500); color: var(--orange-500); }
.site-header.scrolled .main-nav .nav-cta { border-color: var(--gray-300); }

/* Light-page variant (pages without dark hero) */
.site-header.on-light .main-nav a { color: var(--navy-800); }
.site-header.on-light .main-nav .nav-cta { border-color: var(--gray-300); }

/* Mobile nav */
.nav-toggle {
  display: none;
  background: none;
  border: 0;
  width: 44px; height: 44px;
  cursor: pointer;
  z-index: 110;
  position: relative;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after {
  content: "";
  display: block;
  position: absolute;
  left: 10px;
  width: 24px; height: 2.5px;
  border-radius: 2px;
  background: #fff;
  transition: transform 0.3s var(--ease-out), opacity 0.3s, background 0.3s;
}
.site-header.scrolled .nav-toggle span,
.site-header.scrolled .nav-toggle span::before,
.site-header.scrolled .nav-toggle span::after,
.site-header.on-light .nav-toggle span,
.site-header.on-light .nav-toggle span::before,
.site-header.on-light .nav-toggle span::after { background: var(--navy-800); }
.nav-toggle span { top: 21px; }
.nav-toggle span::before { top: -8px; left: 0; }
.nav-toggle span::after { top: 8px; left: 0; }
.nav-open .nav-toggle span { background: transparent !important; }
.nav-open .nav-toggle span::before { transform: translateY(8px) rotate(45deg); background: #fff; }
.nav-open .nav-toggle span::after { transform: translateY(-8px) rotate(-45deg); background: #fff; }

@media (max-width: 900px) {
  .nav-toggle { display: block; }
  .main-nav {
    position: fixed;
    inset: 0;
    flex-direction: column;
    justify-content: center;
    gap: 2.2rem;
    background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 60%, var(--navy-700));
    transform: translateX(100%);
    transition: transform 0.45s var(--ease-out);
  }
  .nav-open .main-nav { transform: translateX(0); }
  .main-nav a { color: #fff !important; font-size: 1.4rem; }
  .site-header.scrolled .main-nav a { color: #fff; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  background: linear-gradient(160deg, var(--navy-900) 0%, var(--navy-800) 55%, #17395c 100%);
  color: #fff;
  overflow: hidden;
}
.hero canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero::after {
  /* soft radial glow behind headline */
  content: "";
  position: absolute;
  left: -10%; top: 20%;
  width: 60%; height: 70%;
  background: radial-gradient(ellipse at center, rgba(0, 200, 220, 0.14), transparent 65%);
  pointer-events: none;
}
.hero-content {
  position: relative;
  z-index: 2;
  padding: 8rem 0 6rem;
  max-width: 780px;
}
.hero .eyebrow { color: var(--cyan-400); }
.hero .eyebrow::before { background: var(--cyan-400); }
.hero h1 { color: #fff; margin-bottom: 0.5em; }
.hero h1 .accent {
  background: linear-gradient(100deg, var(--cyan-400), var(--blue-400));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.hero-sub {
  font-size: 1.22rem;
  color: rgba(255, 255, 255, 0.82);
  max-width: 600px;
  margin-bottom: 2.2rem;
}
.hero-ctas { display: flex; flex-wrap: wrap; gap: 1rem; }

/* staged hero entrance */
.hero [data-stagger] { opacity: 0; transform: translateY(26px); animation: heroUp 0.9s var(--ease-out) forwards; }
.hero [data-stagger="1"] { animation-delay: 0.1s; }
.hero [data-stagger="2"] { animation-delay: 0.25s; }
.hero [data-stagger="3"] { animation-delay: 0.4s; }
.hero [data-stagger="4"] { animation-delay: 0.55s; }
@keyframes heroUp { to { opacity: 1; transform: translateY(0); } }

.scroll-hint {
  position: absolute;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 26px; height: 42px;
  border: 2px solid rgba(255, 255, 255, 0.4);
  border-radius: 14px;
}
.scroll-hint::before {
  content: "";
  position: absolute;
  top: 7px; left: 50%;
  width: 4px; height: 8px;
  margin-left: -2px;
  border-radius: 2px;
  background: var(--cyan-400);
  animation: scrollHint 2s infinite;
}
@keyframes scrollHint {
  0% { transform: translateY(0); opacity: 1; }
  70% { transform: translateY(14px); opacity: 0; }
  100% { transform: translateY(0); opacity: 0; }
}

/* Compact hero for inner pages */
.hero.hero-inner { min-height: 62svh; }
.hero.hero-inner .hero-content { padding: 9rem 0 4rem; }

/* ---------- Hero v2 (canvas scene: ribs, coin, diagonal plane, grain) ---------- */
@font-face {
  font-family: "DM Sans";
  src: url("../assets/hero/dm-sans.woff2") format("woff2");
  font-style: normal;
  font-weight: 100 900;
  font-display: swap;
}
@font-face {
  font-family: "Helvetica Now";
  src: url("../assets/hero/helvetica-now-medium.ttf") format("truetype");
  font-style: normal;
  font-weight: 500;
  font-display: swap;
}

.hero-v2 {
  position: relative;
  width: 100%;
  height: calc(100svh - 100px);
  min-height: 550px;
  overflow: hidden;
  isolation: isolate;
  background: #050921;
  color: #fff;
}
.hero-v2 canvas.hero-scene,
.hero-v2 .vignette2 {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.hero-v2 canvas.hero-scene { z-index: -3; display: block; }
.hero-v2 .vignette2 {
  z-index: -2;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(0, 2, 20, 0.12), transparent 35%, rgba(0, 1, 15, 0.13)),
    radial-gradient(circle at 54% 42%, transparent 35%, rgba(0, 1, 16, 0.16) 100%);
}
.hero-v2-content {
  position: absolute;
  z-index: 3;
  left: 40px;
  right: 40px;
  bottom: 44px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 3rem;
}
.hero-v2 h1 {
  margin: 0 0 24px;
  font-family: "Helvetica Now", "DM Sans", var(--font-sans);
  font-size: clamp(3.4rem, 4vw, 4.5rem);
  line-height: 1;
  font-weight: 500;
  letter-spacing: -0.03em;
  color: #fff;
}
.hero-v2-tagline,
.hero-v2-message > p {
  font-family: "DM Sans", var(--font-sans);
  font-size: 1.22rem;
  line-height: 1.25;
  font-weight: 300;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.92);
  margin: 0;
}
.hero-v2-tagline { margin-bottom: 12px; }
.hero-v2-inner {
  height: calc(62svh - 100px);
  min-height: 480px;
}
.hero-v2 .eyebrow { color: var(--cyan-400); margin-bottom: 1rem; }
.hero-v2 .eyebrow::before { background: var(--cyan-400); }
.hero-v2 .avatars { display: flex; align-items: center; }
.hero-v2 .avatars img {
  width: 34px; height: 34px;
  margin-left: -5px;
  object-fit: cover;
  border: 1px solid rgba(255, 255, 255, 0.34);
  border-radius: 50%;
  filter: saturate(0.82) contrast(1.03);
}
.hero-v2 .avatars img:first-child { margin-left: 0; }
.hero-v2-message { width: min(500px, 42vw); }
.hero-v2-message > p { margin-bottom: 30px; }
.hero-v2-actions { display: flex; align-items: center; gap: 5px; }
.btn-hero {
  height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 9px;
  font-family: "DM Sans", var(--font-sans);
  font-size: 1rem;
  font-weight: 400;
  letter-spacing: -0.02em;
  transition: transform 0.3s var(--ease-out), background 0.3s;
}
.btn-hero:hover { transform: translateY(-2px); }
.btn-hero-primary { min-width: 130px; padding: 0 16px 0 24px; color: #000; background: #fff; }
.btn-hero-primary:hover { background: #F1F3F6; }
.btn-hero-ghost {
  min-width: 150px;
  padding: 0 24px;
  color: #fff;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}
.btn-hero-ghost:hover { background: rgba(255, 255, 255, 0.16); }
.arrow-circ {
  width: 20px; height: 20px;
  flex: 0 0 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: #050505;
  color: #fff;
}
.hero-v2 [data-stagger] { opacity: 0; transform: translateY(26px); animation: heroUp 0.9s var(--ease-out) forwards; }
.hero-v2 [data-stagger="1"] { animation-delay: 0.1s; }
.hero-v2 [data-stagger="2"] { animation-delay: 0.25s; }
.hero-v2 [data-stagger="3"] { animation-delay: 0.4s; }
@media (max-width: 900px) {
  .hero-v2-content {
    left: 20px;
    right: 20px;
    bottom: 28px;
    flex-direction: column;
    align-items: stretch;
    gap: 2.2rem;
  }
  .hero-v2 { min-height: 700px; }
  .hero-v2 h1 { font-size: clamp(2.6rem, 11vw, 3.4rem); margin-bottom: 16px; }
  .hero-v2-message { width: 100%; }
  .hero-v2-message > p { max-width: 500px; margin-bottom: 20px; font-size: 1.06rem; }
}
@media (prefers-reduced-motion: reduce) {
  .hero-v2 [data-stagger] { opacity: 1; transform: none; animation: none; }
}

/* ---------- Sections ---------- */
.section { padding: 6.5rem 0; }
.section-alt { background: var(--bg-alt); }
.section-dark {
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 70%);
  color: rgba(255, 255, 255, 0.85);
}
.section-dark h2, .section-dark h3 { color: #fff; }
.section-head { margin-bottom: 3.2rem; }
.section-head.center { text-align: center; }
.section-head.center .section-lead { margin-inline: auto; }
.section-head.center .eyebrow::before { display: none; }

/* ---------- Stats band ---------- */
.stats-band {
  position: relative;
  z-index: 3;
  margin-top: -4.5rem;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.stat {
  padding: 2.2rem 1.4rem;
  text-align: center;
  border-right: 1px solid #ECF1F8;
}
.stat:last-child { border-right: 0; }
.stat-num {
  font-size: 2.6rem;
  font-weight: 800;
  color: var(--navy-800);
  letter-spacing: -0.03em;
  line-height: 1.1;
}
.stat-num .suffix { color: var(--orange-500); }
.stat-label { color: var(--gray-600); font-size: 0.95rem; margin-top: 0.3rem; }
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat:nth-child(2) { border-right: 0; }
  .stat:nth-child(-n+2) { border-bottom: 1px solid #ECF1F8; }
}

/* ---------- Cards ---------- */
.card-grid { display: grid; gap: 1.6rem; }
.cols-3 { grid-template-columns: repeat(3, 1fr); }
.cols-2 { grid-template-columns: repeat(2, 1fr); }
@media (max-width: 980px) { .cols-3 { grid-template-columns: 1fr 1fr; } }
@media (max-width: 660px) { .cols-3, .cols-2 { grid-template-columns: 1fr; } }

.card {
  background: #fff;
  border: 1px solid #E8EDF5;
  border-radius: var(--radius);
  padding: 2.2rem;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
  position: relative;
  overflow: hidden;
}
.card::before {
  /* top accent line sweeps in on hover */
  content: "";
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 3px;
  background: linear-gradient(90deg, var(--cyan-400), var(--blue-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.card:hover { transform: translateY(-8px); box-shadow: var(--shadow-md); border-color: transparent; }
.card:hover::before { transform: scaleX(1); }

.card-icon {
  width: 58px; height: 58px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
  background: linear-gradient(140deg, rgba(94, 144, 227, 0.12), rgba(0, 200, 220, 0.12));
  color: var(--blue-600);
  transition: background 0.35s, color 0.35s, transform 0.35s var(--ease-out);
}
.card:hover .card-icon {
  background: linear-gradient(140deg, var(--blue-600), var(--cyan-600));
  color: #fff;
  transform: scale(1.06) rotate(-3deg);
}
.card h3 { margin-bottom: 0.5rem; }
.card p { color: var(--gray-600); font-size: 0.99rem; margin-bottom: 0; }
.card ul { color: var(--gray-600); font-size: 0.96rem; padding-left: 1.1rem; margin: 0.8rem 0 0; }
.card ul li { margin-bottom: 0.3rem; }
.card .card-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.2rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--orange-500);
}
.card .card-link svg { transition: transform 0.25s var(--ease-out); }
.card:hover .card-link svg { transform: translateX(4px); }

/* Dark cards (on navy sections) */
.section-dark .card {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
}
.section-dark .card h3 { color: #fff; }
.section-dark .card p, .section-dark .card ul { color: rgba(255, 255, 255, 0.72); }
.section-dark .card:hover { box-shadow: 0 18px 44px rgba(0, 0, 0, 0.35); }

/* ---------- Split feature rows ---------- */
.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  padding: 3.5rem 0;
}
.feature-row.reverse .feature-media { order: 2; }
@media (max-width: 900px) {
  .feature-row { grid-template-columns: 1fr; gap: 2rem; }
  .feature-row.reverse .feature-media { order: 0; }
}
.feature-media {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  aspect-ratio: 5 / 3.4;
  background: linear-gradient(150deg, var(--navy-800), var(--blue-600));
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.9);
}
.feature-media svg { width: 52%; height: auto; opacity: 0.95; }
.check-list { list-style: none; padding: 0; margin: 1.2rem 0 0; }
.check-list li {
  position: relative;
  padding-left: 2rem;
  margin-bottom: 0.65rem;
  color: var(--gray-600);
}
.check-list li strong { color: var(--navy-800); }
.check-list li::before {
  content: "";
  position: absolute;
  left: 0; top: 0.32em;
  width: 18px; height: 18px;
  border-radius: 50%;
  background: rgba(0, 200, 220, 0.15);
}
.check-list li::after {
  content: "";
  position: absolute;
  left: 5px; top: calc(0.32em + 4px);
  width: 8px; height: 5px;
  border-left: 2px solid var(--cyan-600);
  border-bottom: 2px solid var(--cyan-600);
  transform: rotate(-45deg);
}
.section-dark .check-list li { color: rgba(255, 255, 255, 0.75); }
.section-dark .check-list li strong { color: #fff; }

/* ---------- Pills (industries / tech) ---------- */
.pill-grid { display: flex; flex-wrap: wrap; gap: 0.8rem; }
.pill {
  padding: 0.6rem 1.3rem;
  border-radius: 999px;
  background: #fff;
  border: 1px solid #E3E9F2;
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--navy-800);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.pill:hover { transform: translateY(-3px); border-color: var(--blue-400); box-shadow: var(--shadow-sm); }
.section-dark .pill {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.15);
  color: #fff;
}
.section-dark .pill:hover { border-color: var(--cyan-400); }

/* ---------- Tech logos row ---------- */
.tech-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 1rem;
}
.tech-item {
  background: #fff;
  border: 1px solid #E8EDF5;
  border-radius: 12px;
  padding: 1.3rem 1rem;
  text-align: center;
  font-weight: 700;
  color: var(--navy-800);
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.tech-item img { height: 44px; width: auto; margin: 0 auto 0.7rem; }
.tech-item strong { display: block; }
.tech-item span { display: block; font-size: 0.78rem; font-weight: 500; color: var(--gray-600); margin-top: 0.2rem; }

/* ---------- Tech marquee (auto-scrolling carousel) ---------- */
.tech-marquee {
  overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
  mask-image: linear-gradient(90deg, transparent, #000 8%, #000 92%, transparent);
}
.tech-track {
  display: flex;
  width: max-content;
  animation: techScroll 36s linear infinite;
}
.tech-marquee:hover .tech-track { animation-play-state: paused; }
.tech-track .tech-item {
  flex: 0 0 158px;
  margin-right: 1rem;
}
@keyframes techScroll {
  to { transform: translateX(-50%); }
}
@media (prefers-reduced-motion: reduce) {
  .tech-marquee { overflow-x: auto; -webkit-mask-image: none; mask-image: none; }
  .tech-track { animation: none; }
}

/* ---------- Stack carousel (category slides: Web Services, Cloud, ETL, etc.) ---------- */
.stack-carousel {
  position: relative;
  background: #fff;
  padding: 2.6rem 4.2rem 2.2rem;
  overflow: hidden;
}
.stack-slides { position: relative; min-height: 118px; }
.stack-slide {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  opacity: 0;
  transform: translateY(8px);
  pointer-events: none;
  transition: opacity 0.4s var(--ease-out), transform 0.4s var(--ease-out);
}
.stack-slide.active {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
  position: relative;
}
.stack-slide h3 {
  font-size: 1.3rem;
  letter-spacing: 0.02em;
  margin-bottom: 0.5rem;
}
.stack-slide .accent-bar { margin: 0 auto 1.4rem; }
.stack-items {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.4rem 1.6rem;
  max-width: 720px;
}
.stack-items span {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-weight: 700;
  color: var(--navy-800);
  font-size: 1.02rem;
}
.stack-items span::before {
  content: "";
  width: 6px; height: 6px;
  background: var(--navy-800);
  flex-shrink: 0;
}
.stack-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px; height: 40px;
  border: 0;
  background: none;
  color: var(--gray-300);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color 0.25s, transform 0.25s var(--ease-out);
}
.stack-nav:hover { color: var(--blue-600); }
.stack-nav.prev { left: 0.8rem; }
.stack-nav.next { right: 0.8rem; }
.stack-nav.prev:hover { transform: translateY(-50%) translateX(-2px); }
.stack-nav.next:hover { transform: translateY(-50%) translateX(2px); }
.stack-dots {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-top: 1.6rem;
}
.stack-dots button {
  width: 8px; height: 8px;
  border-radius: 50%;
  border: 0;
  padding: 0;
  background: var(--gray-300);
  cursor: pointer;
  transition: background 0.25s, transform 0.25s var(--ease-out);
}
.stack-dots button.active { background: transparent; border: 1.5px solid var(--navy-800); transform: scale(1.15); }
@media (max-width: 640px) {
  .stack-carousel { padding: 2.4rem 2.6rem 2rem; }
  .stack-nav { width: 32px; height: 32px; }
  .stack-nav.prev { left: 0.2rem; }
  .stack-nav.next { right: 0.2rem; }
}
.tech-item:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--blue-400); }

/* ---------- Certification band ---------- */
.cert-band {
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 2rem;
  background: linear-gradient(120deg, var(--navy-800), var(--blue-600) 130%);
  border-radius: var(--radius);
  padding: 2.4rem 2.8rem;
  color: #fff;
  box-shadow: var(--shadow-md);
}
.cert-badge {
  width: 84px; height: 84px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid var(--cyan-400);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}
.cert-band h3 { color: #fff; margin-bottom: 0.3rem; }
.cert-band p { margin: 0; color: rgba(255, 255, 255, 0.78); font-size: 0.98rem; }
@media (max-width: 800px) {
  .cert-band { grid-template-columns: 1fr; text-align: center; justify-items: center; }
}

/* ---------- CTA band ---------- */
.cta-band {
  position: relative;
  overflow: hidden;
  text-align: center;
  padding: 7rem 0;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 70%);
  color: #fff;
}
.cta-band canvas { position: absolute; inset: 0; width: 100%; height: 100%; }
.cta-band .container { position: relative; z-index: 2; }
.cta-band h2 { color: #fff; font-size: clamp(2rem, 4vw, 3rem); }
.cta-band p { color: rgba(255, 255, 255, 0.75); max-width: 560px; margin: 0 auto 2.2rem; font-size: 1.15rem; }

/* ---------- CTA video background (parallax) ---------- */
.cta-band { position: relative; }
.cta-video {
  position: absolute;
  left: 0;
  top: -18%;
  width: 100%;
  height: 136%;
  object-fit: cover;
  will-change: transform;
}
.cta-video-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(19, 31, 51, 0.88) 0%, rgba(31, 48, 76, 0.72) 60%, rgba(19, 31, 51, 0.86) 100%);
}
@media (prefers-reduced-motion: reduce) {
  .cta-video { display: none; }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--navy-900);
  color: rgba(255, 255, 255, 0.72);
  padding: 4.5rem 0 2rem;
  font-size: 0.95rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
  gap: 3rem;
  padding-bottom: 3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}
@media (max-width: 900px) { .footer-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width: 560px) { .footer-grid { grid-template-columns: 1fr; } }
.footer-brand img { height: 56px; margin-bottom: 1rem; }
.footer-brand .swam-badge { height: 80px; width: auto; margin-top: 1.2rem; display: block; }
.site-footer h4 {
  color: #fff;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  margin-bottom: 1.2rem;
}
.site-footer ul { list-style: none; padding: 0; margin: 0; }
.site-footer li { margin-bottom: 0.6rem; }
.site-footer a { color: rgba(255, 255, 255, 0.72); transition: color 0.25s; }
.site-footer a:hover { color: var(--cyan-400); }
.footer-contact li { display: flex; gap: 0.6rem; align-items: flex-start; }
.footer-contact svg { flex-shrink: 0; margin-top: 4px; color: var(--cyan-400); }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 2rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.45);
}
.social-links { display: flex; gap: 0.8rem; }
.social-links a {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  display: grid;
  place-items: center;
  transition: border-color 0.3s, background 0.3s, transform 0.3s var(--ease-out);
}
.social-links a:hover { border-color: var(--cyan-400); background: rgba(0, 200, 220, 0.12); transform: translateY(-3px); color: var(--cyan-400); }

/* ---------- Contact page ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.2fr; gap: 3.5rem; align-items: start; }
@media (max-width: 900px) { .contact-grid { grid-template-columns: 1fr; } }
.contact-info-card {
  display: flex;
  gap: 1.1rem;
  padding: 1.4rem 0;
  border-bottom: 1px solid #E8EDF5;
}
.contact-info-card:last-child { border-bottom: 0; }
.contact-info-card .card-icon { width: 48px; height: 48px; margin: 0; flex-shrink: 0; }
.contact-info-card h3 { font-size: 1.05rem; margin-bottom: 0.2rem; }
.contact-info-card p { color: var(--gray-600); margin: 0; font-size: 0.97rem; }

.contact-form {
  background: #fff;
  padding: 2.6rem;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.2rem; }
@media (max-width: 600px) { .form-row { grid-template-columns: 1fr; } }
.form-group { margin-bottom: 1.2rem; }
.form-group label { display: block; font-weight: 600; font-size: 0.92rem; margin-bottom: 0.4rem; color: var(--navy-800); }
.form-group input, .form-group textarea, .form-group select {
  width: 100%;
  padding: 0.85rem 1rem;
  border: 1.5px solid #DDE4EE;
  border-radius: 10px;
  font: inherit;
  color: var(--ink);
  background: var(--bg-alt);
  transition: border-color 0.25s, background 0.25s, box-shadow 0.25s;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none;
  border-color: var(--blue-400);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(94, 144, 227, 0.15);
}

.form-status { margin: 1rem 0 0; font-weight: 600; font-size: 0.96rem; display: none; }
.form-status.success { display: block; color: #1B7F4D; }
.form-status.error { display: block; color: #C0392B; }

/* ---------- Accent bar (orange underline below headings) ---------- */
.accent-bar {
  width: 52px; height: 4px;
  background: var(--orange-500);
  border-radius: 4px;
  margin: 0 0 1.5rem;
}
.accent-bar.center { margin-inline: auto; }

/* ---------- Practice cards (stacked, icon-left) ---------- */
.practice-card {
  display: flex;
  gap: 1.2rem;
  align-items: flex-start;
  background: var(--bg-alt);
  border: 1px solid #E3E9F2;
  border-radius: var(--radius);
  padding: 1.8rem;
  transition: transform 0.3s var(--ease-out), border-color 0.3s, background 0.3s, box-shadow 0.3s;
}
.practice-card:hover {
  transform: translateY(-3px);
  background: #EAF0FB;
  border-color: var(--blue-400);
  box-shadow: var(--shadow-sm);
}
.practice-card .card-icon { width: 52px; height: 52px; margin: 0; flex-shrink: 0; }
.practice-card h3 { font-size: 1.15rem; margin-bottom: 0.4rem; }
.practice-card p { color: var(--gray-600); font-size: 0.96rem; margin: 0 0 0.8rem; }
.practice-card .card-link { display: inline-flex; align-items: center; gap: 0.4rem; font-weight: 700; font-size: 0.93rem; color: var(--orange-500); }
.practice-card .card-link svg { transition: transform 0.25s var(--ease-out); }
.practice-card:hover .card-link svg { transform: translateX(4px); }

/* ---------- Pillar cards (compact 2x2) ---------- */
.pillar-card {
  background: #fff;
  border: 1px solid #E8EDF5;
  border-radius: var(--radius);
  padding: 1.7rem;
  transition: transform 0.3s var(--ease-out), box-shadow 0.3s, border-color 0.3s;
}
.pillar-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-sm); border-color: var(--blue-100); }
.pillar-card .card-icon { width: 46px; height: 46px; border-radius: 12px; margin-bottom: 1rem; }
.pillar-card h3 { font-size: 1rem; margin-bottom: 0.4rem; }
.pillar-card p { color: var(--gray-600); font-size: 0.88rem; line-height: 1.6; margin: 0; }
.pillar-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .pillar-grid { grid-template-columns: 1fr; } }

/* ---------- Industry cards (dark gradient tiles) ---------- */
.ind-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 1.1rem;
}
.ind-card {
  background: linear-gradient(148deg, rgba(255, 255, 255, 0.04) 0%, rgba(94, 144, 227, 0.09) 100%);
  border: 1px solid rgba(94, 144, 227, 0.22);
  border-radius: var(--radius);
  padding: 1.8rem 1.5rem;
  transition: border-color 0.3s, transform 0.3s var(--ease-out), box-shadow 0.3s;
}
.ind-card:hover {
  border-color: var(--cyan-400);
  transform: translateY(-5px);
  box-shadow: 0 16px 38px rgba(0, 200, 220, 0.12);
}
.ind-card .ind-icon {
  width: 46px; height: 46px;
  border-radius: 12px;
  background: rgba(94, 144, 227, 0.16);
  display: grid;
  place-items: center;
  color: var(--cyan-400);
  margin-bottom: 1.1rem;
}
.ind-card h3 { color: #fff; font-size: 1.06rem; margin-bottom: 0.5rem; }
.ind-card p { color: #9CC3F0; font-size: 0.86rem; line-height: 1.6; margin: 0; }

/* ---------- Industries image-reveal variant ---------- */
.section-ind-reveal {
  position: relative;
  background: url('../section-background/banking.jpg') center/cover no-repeat;
}
.section-ind-reveal::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, var(--navy-900), var(--navy-800) 70%);
  opacity: 1;
  transition: opacity 1.4s ease;
  pointer-events: none;
  z-index: 0;
}
.section-ind-reveal.ind-revealed::before {
  opacity: 0.30;
}
.section-ind-reveal.ind-fast::before {
  transition: opacity 0.28s ease;
}
.section-ind-reveal::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    160deg,
    rgba(13, 20, 38, 0.82) 0%,
    rgba(13, 20, 38, 0.45) 45%,
    rgba(13, 20, 38, 0.75) 100%
  );
  pointer-events: none;
  z-index: 0;
}
.section-ind-reveal .container {
  position: relative;
  z-index: 1;
}
.section-ind-reveal .ind-card {
  background: var(--navy-800);
}

/* ---------- Tags (small filled pills) ---------- */
.tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin: 0 0 2rem; }
.tag {
  background: rgba(94, 144, 227, 0.12);
  color: var(--blue-600);
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.32rem 0.85rem;
  border-radius: 999px;
}

/* ---------- Job Cards (Current Hot Jobs) ---------- */
.job-card {
  background: #fff;
  border: 1px solid #E8EDF5;
  border-radius: var(--radius);
  padding: 1.8rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.35s var(--ease-out), box-shadow 0.35s var(--ease-out), border-color 0.35s;
}
.job-card::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.4s var(--ease-out);
}
.job-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); border-color: transparent; }
.job-card:hover::before { transform: scaleX(1); }
.job-tag-row { display: flex; flex-wrap: wrap; gap: 0.5rem; margin-bottom: 1rem; }
.job-tag {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.07em;
  text-transform: uppercase;
  padding: 0.28rem 0.85rem;
  border-radius: 999px;
}
.job-tag-type { background: rgba(230,122,0,0.1); color: var(--orange-500); }
.job-tag-area { background: rgba(94,144,227,0.12); color: var(--blue-600); }
.job-card h3 { font-size: 1.15rem; margin-bottom: 0.55rem; }
.job-card p { color: var(--gray-600); font-size: 0.97rem; margin-bottom: 1.4rem; flex: 1; }
.job-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 1rem;
  border-top: 1px solid #E8EDF5;
  margin-top: auto;
}
.job-location {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.86rem;
  color: var(--gray-600);
}
.job-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  font-weight: 700;
  font-size: 0.93rem;
  color: var(--orange-500);
  transition: gap 0.25s var(--ease-out);
}
.job-link svg { transition: transform 0.25s var(--ease-out); }
.job-card:hover .job-link svg { transform: translateX(4px); }

/* ---------- FAQ accordion ---------- */
.faq-list { display: flex; flex-direction: column; gap: 0.8rem; }
.faq-item {
  background: #fff;
  border: 1px solid #E8EDF5;
  border-radius: 12px;
  overflow: hidden;
  transition: border-color 0.3s, box-shadow 0.3s;
}
.faq-item.open { border-color: var(--blue-100); box-shadow: var(--shadow-sm); }
.faq-q {
  width: 100%;
  background: none;
  border: 0;
  padding: 1.15rem 1.4rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
  color: var(--navy-800);
  text-align: left;
  transition: background 0.25s;
}
.faq-q:hover { background: var(--bg-alt); }
.faq-ico {
  width: 28px; height: 28px;
  border-radius: 50%;
  background: rgba(94, 144, 227, 0.12);
  display: grid;
  place-items: center;
  flex-shrink: 0;
  color: var(--blue-600);
  transition: transform 0.3s var(--ease-out), background 0.25s, color 0.25s;
}
.faq-item.open .faq-ico { transform: rotate(45deg); background: var(--orange-500); color: #fff; }
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s var(--ease-out);
}
.faq-a > div {
  padding: 0 1.4rem 1.2rem;
  color: var(--gray-600);
  font-size: 0.97rem;
  line-height: 1.7;
}

/* ---------- Capabilities page: sticky chip nav (scroll-spy) ---------- */
.cap-nav {
  position: sticky;
  top: 0;
  z-index: 60;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #E8EDF5;
  padding: 0.7rem 0;
}
.cap-nav .container {
  display: flex;
  gap: 0.55rem;
  overflow-x: auto;
  scrollbar-width: none;
}
.cap-nav .container::-webkit-scrollbar { display: none; }
.cap-nav a {
  flex-shrink: 0;
  padding: 0.42rem 1.05rem;
  border-radius: 999px;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--gray-600);
  border: 1.5px solid transparent;
  transition: background 0.25s, color 0.25s, border-color 0.25s;
}
.cap-nav a:hover { border-color: var(--blue-400); color: var(--blue-600); }
.cap-nav a.active { background: var(--navy-800); color: #fff; }
.cap-nav a .n { color: var(--orange-500); margin-right: 0.3rem; }
.cap-nav a.active .n { color: var(--cyan-400); }

/* ---------- Ghost section numbers ---------- */
.cap-section { position: relative; overflow: hidden; }
.ghost-num {
  position: absolute;
  top: 1.5rem;
  right: 3%;
  font-size: clamp(6rem, 13vw, 10.5rem);
  font-weight: 800;
  letter-spacing: -0.05em;
  line-height: 1;
  color: rgba(63, 96, 151, 0.07);
  pointer-events: none;
  user-select: none;
}
.section-dark .ghost-num { color: rgba(255, 255, 255, 0.05); }

/* ---------- Vertical timeline ---------- */
.timeline { list-style: none; margin: 0; padding: 0 0 0 1.7rem; position: relative; }
.timeline::before {
  content: "";
  position: absolute;
  left: 6px; top: 8px; bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, var(--cyan-400), var(--blue-400));
  border-radius: 2px;
}
.timeline li { position: relative; padding: 0 0 1.5rem; }
.timeline li:last-child { padding-bottom: 0; }
.timeline li::before {
  content: "";
  position: absolute;
  left: -1.7rem; top: 6px;
  width: 14px; height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue-600);
  box-shadow: 0 0 0 4px rgba(94, 144, 227, 0.15);
}
.timeline h3 { font-size: 1.05rem; margin-bottom: 0.25rem; }
.timeline p { color: var(--gray-600); font-size: 0.93rem; margin: 0; }

/* ---------- Icon chips ---------- */
.chip-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(190px, 1fr));
  gap: 0.8rem;
}
.icon-chip {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  background: #fff;
  border: 1px solid #E8EDF5;
  border-radius: 12px;
  padding: 0.9rem 1.05rem;
  font-weight: 600;
  font-size: 0.92rem;
  color: var(--navy-800);
  transition: transform 0.3s var(--ease-out), border-color 0.3s, box-shadow 0.3s;
}
.icon-chip svg { color: var(--cyan-600); flex-shrink: 0; }
.icon-chip:hover { transform: translateY(-3px); border-color: var(--blue-400); box-shadow: var(--shadow-sm); }
.section-dark .icon-chip {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.13);
  color: #fff;
}
.section-dark .icon-chip svg { color: var(--cyan-400); }
.section-dark .icon-chip:hover { border-color: var(--cyan-400); }

/* ---------- Animated bar chart ---------- */
.chart-panel {
  background: transparent;
  padding: 2rem 2rem 1.4rem;
}
.chart {
  display: flex;
  align-items: flex-end;
  gap: 9%;
  height: 200px;
  border-bottom: 2px solid #E8EDF5;
  padding: 0 0.5rem;
}
.chart .bar {
  flex: 1;
  height: var(--h);
  border-radius: 8px 8px 3px 3px;
  background: linear-gradient(180deg, var(--blue-400), var(--blue-600));
  transform: scaleY(0);
  transform-origin: bottom;
  transition: transform 1.1s var(--ease-out);
}
.chart .bar.cyan { background: linear-gradient(180deg, var(--cyan-400), var(--cyan-600)); }
.chart .bar.orange { background: linear-gradient(180deg, #F5A65B, var(--orange-500)); }
.reveal.in-view .chart .bar { transform: scaleY(1); }
.reveal.in-view .chart .bar:nth-child(2) { transition-delay: 0.12s; }
.reveal.in-view .chart .bar:nth-child(3) { transition-delay: 0.24s; }
.reveal.in-view .chart .bar:nth-child(4) { transition-delay: 0.36s; }
.reveal.in-view .chart .bar:nth-child(5) { transition-delay: 0.48s; }
.chart-caption {
  display: flex;
  justify-content: space-between;
  gap: 0.5rem;
  padding-top: 0.9rem;
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--gray-600);
  text-align: center;
}
.chart-caption span { flex: 1; }

/* ---------- Stat chips ---------- */
.stat-chip-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
@media (max-width: 560px) { .stat-chip-grid { grid-template-columns: 1fr; } }
.stat-chip {
  background: #fff;
  border: 1px solid #E8EDF5;
  border-radius: 12px;
  padding: 1.3rem 1.5rem;
  transition: transform 0.3s var(--ease-out), border-color 0.3s;
}
.stat-chip:hover { transform: translateY(-3px); }
.stat-chip .v { display: block; font-size: 1.7rem; font-weight: 800; color: var(--navy-800); letter-spacing: -0.02em; }
.stat-chip .v em { font-style: normal; color: var(--orange-500); }
.stat-chip .l { font-size: 0.88rem; color: var(--gray-600); }
.section-dark .stat-chip { background: rgba(255, 255, 255, 0.05); border-color: rgba(255, 255, 255, 0.13); }
.section-dark .stat-chip .v { color: #fff; }
.section-dark .stat-chip .v em { color: var(--cyan-400); }
.section-dark .stat-chip .l { color: rgba(255, 255, 255, 0.65); }
.section-dark .stat-chip:hover { border-color: var(--cyan-400); }

/* ---------- Gradient glow panel (AI/RPA) ---------- */
.glow-panel {
  position: relative;
  background: linear-gradient(150deg, var(--navy-800), var(--blue-600) 130%);
  border-radius: var(--radius);
  padding: 2.4rem;
  color: #fff;
  overflow: hidden;
  box-shadow: var(--shadow-md);
}
.glow-panel::before {
  content: "";
  position: absolute;
  top: -40%; right: -25%;
  width: 70%; height: 120%;
  background: radial-gradient(circle, rgba(0, 200, 220, 0.25), transparent 65%);
  pointer-events: none;
}
.glow-panel h3 { color: #fff; }
.glow-panel .check-list li { color: rgba(255, 255, 255, 0.8); }
.glow-panel .check-list li strong { color: #fff; }
.glow-panel .check-list li::before { background: rgba(0, 200, 220, 0.25); }
.glow-panel .check-list li::after { border-color: var(--cyan-400); }

/* ---------- Scroll-reveal animation utilities ---------- */
.reveal {
  opacity: 0;
  transform: translateY(34px);
  transition: opacity 0.8s var(--ease-out), transform 0.8s var(--ease-out);
  transition-delay: var(--reveal-delay, 0s);
}
.reveal.in-view { opacity: 1; transform: translateY(0); }
.reveal-left { transform: translateX(-40px); }
.reveal-right { transform: translateX(40px); }
.reveal-left.in-view, .reveal-right.in-view { transform: translateX(0); }

/* ---------- Utility ---------- */
.text-center { text-align: center; }
.mt-3 { margin-top: 3rem; }

/* ---------- Career Chat Consultant ---------- */
.career-chat {
  max-width: 740px;
  margin: 3rem auto 0;
  background: #fff;
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.cc-progress { height: 4px; background: #e8edf5; flex-shrink: 0; }
.cc-progress-bar {
  height: 100%;
  background: linear-gradient(90deg, var(--blue-600), var(--cyan-400));
  width: 0%;
  transition: width 0.45s var(--ease-out);
}
.cc-messages {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
  min-height: 300px;
  max-height: 400px;
  overflow-y: auto;
  background: #f4f7fc;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
}
.cc-bubble {
  max-width: 78%;
  padding: 0.72rem 1rem;
  border-radius: 16px;
  font-size: 0.93rem;
  line-height: 1.55;
  word-break: break-word;
}
.cc-bubble-bot {
  background: #fff;
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(19,31,51,0.07);
}
.cc-bubble-user {
  background: var(--navy-800);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.cc-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.72rem 1rem;
  background: #fff;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(19,31,51,0.07);
}
.cc-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gray-300);
  display: inline-block;
  animation: chatBounce 1.2s infinite;
}
.cc-typing span:nth-child(2) { animation-delay: 0.18s; }
.cc-typing span:nth-child(3) { animation-delay: 0.36s; }
.cc-input-area {
  padding: 1rem 1.5rem 1.25rem;
  background: #fff;
  border-top: 1px solid #edf0f7;
  min-height: 76px;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}
.cc-chips { display: flex; flex-wrap: wrap; gap: 0.5rem; width: 100%; }
.cc-chip {
  padding: 0.48rem 1.1rem;
  border-radius: 999px;
  border: 1.5px solid var(--blue-600);
  background: transparent;
  color: var(--blue-600);
  font-size: 0.875rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s, color 0.2s, border-color 0.2s, transform 0.2s;
}
.cc-chip:hover { background: var(--navy-800); border-color: var(--navy-800); color: #fff; transform: translateY(-1px); }
.cc-input-row { display: flex; align-items: center; gap: 0.5rem; width: 100%; }
.cc-input {
  flex: 1;
  border: 1.5px solid var(--gray-300);
  border-radius: 999px;
  padding: 0.52rem 1.1rem;
  font-size: 0.9rem;
  font-family: var(--font-sans);
  color: var(--ink);
  outline: none;
  background: #f4f7fc;
  transition: border-color 0.2s, background 0.2s;
}
.cc-input:focus { border-color: var(--blue-400); background: #fff; }
.cc-input.cc-input-error { border-color: #e53e3e; animation: ccShake 0.4s; }
@keyframes ccShake { 0%,100% { transform:translateX(0); } 25% { transform:translateX(-5px); } 75% { transform:translateX(5px); } }
.cc-send-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange-500);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.cc-send-btn:hover { background: var(--orange-600); transform: scale(1.08); }
.cc-send-btn svg { color: #fff; display: block; }
.cc-skip-btn {
  padding: 0.48rem 1rem;
  border-radius: 999px;
  border: 1.5px solid var(--gray-300);
  background: transparent;
  color: var(--gray-600);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  flex-shrink: 0;
  font-family: var(--font-sans);
  transition: border-color 0.2s, color 0.2s;
}
.cc-skip-btn:hover { border-color: var(--navy-800); color: var(--navy-800); }
.cc-summary-card {
  background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
  border-radius: 12px;
  padding: 1rem 1.2rem;
  align-self: flex-start;
  max-width: 85%;
}
.cc-summary-card p { color: rgba(255,255,255,0.85); font-size: 0.855rem; margin: 0 0 0.28rem; }
.cc-summary-card p:last-child { margin: 0; }
.cc-action-row { display: flex; align-items: center; gap: 0.75rem; width: 100%; }
.cc-restart-btn {
  padding: 0.58rem 1.2rem;
  border-radius: 999px;
  border: 1.5px solid var(--gray-300);
  background: transparent;
  color: var(--gray-600);
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: border-color 0.2s, color 0.2s;
}
.cc-restart-btn:hover { border-color: var(--navy-800); color: var(--navy-800); }
.cc-submit-btn {
  padding: 0.62rem 1.8rem;
  border-radius: 999px;
  border: none;
  background: var(--orange-500);
  color: #fff;
  font-size: 0.95rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-sans);
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
}
.cc-submit-btn:hover { background: var(--orange-600); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(230,122,0,0.35); }
.cc-submit-btn:disabled { opacity: 0.6; cursor: not-allowed; transform: none; box-shadow: none; }

/* ---------- Chat widget ---------- */
.chat-btn {
  position: fixed;
  bottom: 28px;
  right: 28px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--orange-500);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 20px rgba(230,122,0,0.45);
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s;
}
.chat-btn:hover { transform: scale(1.08) translateY(-2px); box-shadow: 0 8px 28px rgba(230,122,0,0.55); }
.chat-btn svg { color: #fff; display: block; }
.chat-badge {
  position: absolute;
  top: -2px; right: -2px;
  min-width: 20px; height: 20px;
  border-radius: 999px;
  background: var(--cyan-400);
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0 4px;
  border: 2px solid #fff;
  animation: chatPop 0.3s var(--ease-out);
}
@keyframes chatPop { from { transform: scale(0); } to { transform: scale(1); } }

.chat-panel {
  position: fixed;
  bottom: 96px;
  right: 28px;
  z-index: 998;
  width: 360px;
  max-height: 520px;
  background: #fff;
  border-radius: 18px;
  box-shadow: 0 20px 60px rgba(19,31,51,0.18), 0 2px 8px rgba(19,31,51,0.06);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateY(16px) scale(0.97);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.3s var(--ease-out), opacity 0.3s;
}
.chat-panel.open { transform: translateY(0) scale(1); opacity: 1; pointer-events: all; }

.chat-header {
  background: linear-gradient(135deg, var(--navy-900) 0%, var(--navy-800) 100%);
  padding: 1rem 1.2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.chat-header-info { display: flex; align-items: center; gap: 0.75rem; }
.chat-avatar {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange-500);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.chat-header-name { color: #fff; font-weight: 700; font-size: 0.95rem; line-height: 1.2; }
.chat-header-status { font-size: 0.73rem; color: var(--cyan-400); display: flex; align-items: center; gap: 5px; }
.chat-header-status::before { content: ""; width: 6px; height: 6px; border-radius: 50%; background: var(--cyan-400); display: inline-block; }
.chat-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.6);
  cursor: pointer;
  font-size: 1.5rem;
  line-height: 1;
  padding: 0.1rem 0.3rem;
  transition: color 0.2s;
  border-radius: 6px;
}
.chat-close:hover { color: #fff; }

.chat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  background: #f4f7fc;
  scrollbar-width: thin;
  scrollbar-color: var(--gray-300) transparent;
}
.chat-msg {
  max-width: 85%;
  padding: 0.6rem 0.9rem;
  border-radius: 14px;
  font-size: 0.875rem;
  line-height: 1.55;
  word-break: break-word;
}
.chat-msg-bot {
  background: #fff;
  color: var(--ink);
  align-self: flex-start;
  border-bottom-left-radius: 4px;
  box-shadow: 0 2px 8px rgba(19,31,51,0.07);
}
.chat-msg-user {
  background: var(--navy-800);
  color: #fff;
  align-self: flex-end;
  border-bottom-right-radius: 4px;
}
.chat-typing {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 0.7rem 0.9rem;
  background: #fff;
  border-radius: 14px;
  border-bottom-left-radius: 4px;
  align-self: flex-start;
  box-shadow: 0 2px 8px rgba(19,31,51,0.07);
}
.chat-typing span {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--gray-300);
  display: inline-block;
  animation: chatBounce 1.2s infinite;
}
.chat-typing span:nth-child(2) { animation-delay: 0.18s; }
.chat-typing span:nth-child(3) { animation-delay: 0.36s; }
@keyframes chatBounce { 0%,60%,100% { transform: translateY(0); } 30% { transform: translateY(-7px); } }

.chat-input-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 0.9rem;
  border-top: 1px solid #edf0f7;
  background: #fff;
  flex-shrink: 0;
}
.chat-input-row input {
  flex: 1;
  border: 1.5px solid var(--gray-300);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  font-family: var(--font-sans);
  color: var(--ink);
  outline: none;
  background: #f4f7fc;
  transition: border-color 0.2s, background 0.2s;
}
.chat-input-row input:focus { border-color: var(--blue-400); background: #fff; }
.chat-input-row input::placeholder { color: var(--gray-300); }
.chat-send-btn {
  width: 38px; height: 38px;
  border-radius: 50%;
  background: var(--orange-500);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.2s;
}
.chat-send-btn:hover { background: var(--orange-600); transform: scale(1.08); }
.chat-send-btn svg { color: #fff; display: block; }

@media (max-width: 420px) {
  .chat-panel { right: 12px; left: 12px; width: auto; bottom: 88px; }
  .chat-btn { right: 16px; bottom: 20px; }
}

/* ---------- Reduced motion ---------- */
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
  .hero [data-stagger] { opacity: 1; transform: none; animation: none; }
}
