/* ============================================================
   ABSYS CONSULTANCY LLP — WHITE & SKY BLUE DESIGN SYSTEM
   Clean Enterprise Light Theme · Official Brand Colors
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Nunito:wght@300;400;500;600;700;800;900&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ── Design Tokens ──────────────────────────────────────── */
:root {
  /* Brand Colors */
  --brand-navy: #0052A3;
  --brand-blue: #0066B2;
  --brand-mid: #0077C8;
  --brand-cyan: #00A8E8;
  --brand-sky: #38BDF8;
  --brand-light: #BAE6FD;
  --brand-pale: #E0F4FD;
  --brand-ultra: #F0FAFF;

  /* White Theme Backgrounds */
  --bg-root: #FFFFFF;
  --bg-page: #F8FCFF;
  --bg-section: #F0F8FF;
  --bg-alt: #E8F5FF;
  --bg-card: #FFFFFF;
  --bg-elevated: #F5FAFF;
  --bg-deep: #EBF5FF;

  /* Borders */
  --border-light: rgba(0, 168, 232, 0.15);
  --border-mid: rgba(0, 168, 232, 0.28);
  --border-strong: rgba(0, 102, 178, 0.40);
  --border-card: rgba(0, 119, 200, 0.12);

  /* Text */
  --text-primary: #0A1628;
  --text-secondary: #2D5078;
  --text-muted: #6B8FAB;
  --text-light: #9BB8D0;
  --text-white: #FFFFFF;
  --text-accent: #0077C8;

  /* Shadow */
  --shadow-sm: 0 2px 8px rgba(0, 102, 178, 0.08);
  --shadow-md: 0 6px 24px rgba(0, 102, 178, 0.12);
  --shadow-lg: 0 16px 48px rgba(0, 102, 178, 0.16);
  --shadow-glow: 0 8px 30px rgba(0, 168, 232, 0.25);

  /* Status Colors */
  --green: #16A34A;
  --amber: #D97706;
  --red: #DC2626;
  --purple: #7C3AED;

  /* Typography */
  --font-display: 'Nunito', -apple-system, sans-serif;
  --font-body: 'Nunito', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  /* Layout */
  --max-width: 1320px;
  --header-h: 72px;

  /* Radius */
  --r-xs: 6px;
  --r-sm: 10px;
  --r-md: 16px;
  --r-lg: 24px;
  --r-xl: 36px;
  --r-full: 9999px;

  /* Transitions */
  --ease-fast: 0.18s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-norm: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-spring: 0.55s cubic-bezier(0.16, 1, 0.3, 1);
}

/* ── Reset ──────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-primary);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand-mid);
  text-decoration: none;
  transition: color var(--ease-fast);
}

a:hover {
  color: var(--brand-cyan);
}

/* ── Typography ─────────────────────────────────────────── */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-display);
  color: var(--text-primary);
  line-height: 1.15;
  letter-spacing: -0.02em;
}

h1 {
  font-size: clamp(2.4rem, 5vw, 4.2rem);
  font-weight: 800;
}

h2 {
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  font-weight: 750;
}

h3 {
  font-size: clamp(1.2rem, 2vw, 1.75rem);
  font-weight: 700;
}

h4 {
  font-size: 1.1rem;
  font-weight: 700;
}

p {
  color: var(--text-secondary);
  font-size: 1rem;
}

/* ── Layout Helpers ─────────────────────────────────────── */
.container {
  width: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 clamp(1rem, 3vw, 2rem);
}

/* Section wrappers with alternating backgrounds */
.module {
  padding: 5.5rem 0;
}

.module-white {
  background: #FFFFFF;
}

.module-light {
  background: var(--bg-page);
}

.module-sky {
  background: var(--bg-section);
}

.module-blue {
  background: linear-gradient(160deg, #0066B2 0%, #0077C8 50%, #00A8E8 100%);
}

@keyframes scanline {
  0% {
    background-position: 200% 0;
  }

  100% {
    background-position: -200% 0;
  }
}

.module-white::before {
  opacity: 0.5;
}

.module-blue::before {
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 30%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 0.4) 70%, transparent 100%);
  background-size: 200% 100%;
  animation: scanline 4s linear infinite;
}

/* ── Section Header ─────────────────────────────────────── */
.sec-hdr {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 4rem;
}

.sec-hdr p {
  margin-top: .9rem;
  font-size: 1.05rem;
  color: var(--text-secondary);
}

.module-blue .sec-hdr h2,
.module-blue .sec-hdr p {
  color: rgba(255, 255, 255, 0.92);
}

/* Gradient text */
.grad {
  background: linear-gradient(130deg, var(--brand-blue) 0%, var(--brand-cyan) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── Grids ──────────────────────────────────────────────── */
.g2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 2rem;
}

.g3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
}

.g4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

@media (max-width: 1024px) {

  .g3,
  .g4 {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 660px) {

  .g2,
  .g3,
  .g4 {
    grid-template-columns: 1fr;
  }
}

/* ── Badge / Pill ───────────────────────────────────────── */
.pill {
  display: inline-flex;
  align-items: center;
  gap: .4rem;
  padding: .3rem .85rem;
  background: rgba(0, 168, 232, 0.10);
  border: 1px solid rgba(0, 168, 232, 0.30);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  color: var(--brand-mid);
  text-transform: uppercase;
  letter-spacing: .09em;
  margin-bottom: .9rem;
}

.module-blue .pill {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.40);
  color: #fff;
}

/* Live dot */
.live-dot {
  width: 7px;
  height: 7px;
  background: #22C55E;
  border-radius: 50%;
  box-shadow: 0 0 7px #22C55E;
  animation: pulse-dot 1.8s infinite;
}

@keyframes pulse-dot {

  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.55);
    opacity: 0.5;
  }
}

/* ── Card ───────────────────────────────────────────────── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-card);
  border-radius: var(--r-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: border-color var(--ease-norm), box-shadow var(--ease-norm), transform var(--ease-norm);
  position: relative;
  overflow: hidden;
}

.card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease-spring);
}

.card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-lg);
  transform: translateY(-4px);
}

.card:hover::after {
  transform: scaleX(1);
}

/* ── Stat Card ──────────────────────────────────────────── */
.stat-card {
  background: #FFFFFF;
  border: 1px solid var(--border-card);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease-norm);
}

.stat-card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-glow);
  transform: translateY(-3px);
}

.stat-num {
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  margin-bottom: .35rem;
  background: linear-gradient(130deg, var(--brand-blue), var(--brand-cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-lbl {
  font-size: .8rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .06em;
}

/* ── Divider ────────────────────────────────────────────── */
.hr-blue {
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--brand-cyan), transparent);
  border: none;
  margin: 3rem 0;
  opacity: 0.4;
}

/* ══════════════════════════════════════════════════════════
   HEADER
══════════════════════════════════════════════════════════ */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 900;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--border-light);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: box-shadow var(--ease-norm);
}

.header.scrolled {
  box-shadow: 0 4px 24px rgba(0, 102, 178, 0.12);
  border-color: var(--border-mid);
}

.header-inner {
  display: flex;
  align-items: center;
  height: 100%;
}

/* Logo */
.logo-wrap {
  display: flex;
  align-items: center;
  gap: .6rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-wrap img {
  height: 46px;
  width: auto;
}

/* Nav */
.nav {
  display: flex;
  align-items: center;
  gap: .15rem;
  flex: 1;
}

.nav-link {
  padding: .42rem .82rem;
  border-radius: var(--r-xs);
  font-family: var(--font-display);
  font-size: .86rem;
  font-weight: 600;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: background var(--ease-fast), color var(--ease-fast);
}

.nav-link:hover {
  background: var(--bg-alt);
  color: var(--brand-mid);
}

.nav-link.active {
  background: rgba(0, 168, 232, 0.10);
  color: var(--brand-mid);
}

/* Header Actions */
.hdr-actions {
  display: flex;
  align-items: center;
  gap: .65rem;
  flex-shrink: 0;
  margin-left: 19px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 4px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
}

.hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text-secondary);
  border-radius: 2px;
  transition: transform var(--ease-norm), opacity var(--ease-norm);
}

@media (max-width: 960px) {
  .hamburger {
    display: flex;
  }

  .nav {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--header-h);
    left: 0;
    right: 0;
    background: #fff;
    border-bottom: 2px solid var(--border-mid);
    padding: 1.25rem;
    gap: .2rem;
    box-shadow: var(--shadow-md);
  }

  .nav.open {
    display: flex;
  }

  .nav-link {
    width: 100%;
  }
}

/* ══════════════════════════════════════════════════════════
   BUTTONS
══════════════════════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: .5rem;
  padding: .75rem 1.6rem;
  border-radius: var(--r-sm);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .9rem;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all var(--ease-fast);
  white-space: nowrap;
  text-decoration: none;
  letter-spacing: .01em;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  color: #fff;
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(0, 168, 232, 0.35);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border-color: var(--brand-cyan);
  color: var(--brand-mid);
}

.btn-outline:hover {
  background: var(--brand-pale);
  border-color: var(--brand-mid);
  color: var(--brand-mid);
}

.btn-white {
  background: #fff;
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--brand-blue);
}

.btn-white:hover {
  background: var(--brand-pale);
  box-shadow: 0 4px 16px rgba(255, 255, 255, 0.5);
  color: var(--brand-blue);
}

.btn-ghost {
  background: var(--bg-alt);
  border-color: var(--border-card);
  color: var(--text-secondary);
}

.btn-ghost:hover {
  border-color: var(--brand-cyan);
  color: var(--brand-mid);
}

.btn-sm {
  padding: .48rem 1rem;
  font-size: .82rem;
}

.btn-icon {
  padding: .5rem;
  width: 38px;
  height: 38px;
  border-radius: var(--r-sm);
}

/* ══════════════════════════════════════════════════════════
   FORMS
══════════════════════════════════════════════════════════ */
.form-group {
  display: flex;
  flex-direction: column;
  gap: .4rem;
  margin-bottom: 1.2rem;
}

.form-label {
  font-size: .78rem;
  font-weight: 700;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: .07em;
}

.form-ctrl {
  width: 100%;
  padding: .78rem 1rem;
  background: #FFFFFF;
  border: 1.5px solid rgba(0, 119, 200, 0.22);
  border-radius: var(--r-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: .95rem;
  transition: border-color var(--ease-fast), box-shadow var(--ease-fast);
  -webkit-appearance: none;
}

.form-ctrl:focus {
  outline: none;
  border-color: var(--brand-cyan);
  box-shadow: 0 0 0 3px rgba(0, 168, 232, 0.15);
}

.form-ctrl option {
  background: #fff;
  color: var(--text-primary);
}

/* ══════════════════════════════════════════════════════════
   MODULE 1 — HERO
══════════════════════════════════════════════════════════ */
.hero {
  padding-top: calc(var(--header-h) + 4rem);
  padding-bottom: 5rem;
  background: linear-gradient(160deg, #FFFFFF 0%, #EBF7FF 45%, #D9F0FC 100%);
  position: relative;
  overflow: hidden;
}

/* Subtle grid overlay */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(0, 168, 232, .05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 168, 232, .05) 1px, transparent 1px);
  background-size: 48px 48px;
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
  position: relative;
  z-index: 1;
}

@media (max-width: 900px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  padding: .28rem .85rem;
  background: rgba(0, 168, 232, 0.10);
  border: 1.5px solid rgba(0, 168, 232, 0.32);
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .74rem;
  font-weight: 700;
  color: var(--brand-mid);
  text-transform: uppercase;
  letter-spacing: .10em;
}

.hero-kicker {
  display: flex;
  align-items: center;
  gap: .6rem;
  margin-bottom: 1.4rem;
  flex-wrap: wrap;
}

.hero h1 {
  margin-bottom: 1.4rem;
  color: #061A2E;
}

.hero-sub {
  font-size: 1.05rem;
  line-height: 1.78;
  margin-bottom: 2.2rem;
  max-width: 560px;
  color: var(--text-secondary);
}

.hero-ctas {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

.hero-trust-row {
  display: flex;
  align-items: center;
  gap: 0.60rem;
  padding-top: 1.5rem;
  border-top: 1.5px solid var(--border-light);
  flex-wrap: wrap;
}

.trust-item {
  display: flex;
  align-items: center;
  gap: .5rem;
}

.trust-num {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--brand-blue);
}

.trust-txt {
  font-size: .75rem;
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.trust-divider {
  width: 1px;
  height: 26px;
  background: var(--border-mid);
}

/* Hero Radar Panel */
.radar-panel {
  background: linear-gradient(145deg, #EBF7FF 0%, #D6EFFC 100%);
  border: 2px solid rgba(0, 168, 232, 0.30);
  border-radius: var(--r-xl);
  box-shadow: var(--shadow-lg), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  aspect-ratio: 1;
  max-width: 500px;
  margin: 0 auto;
  overflow: hidden;
  position: relative;
}

.radar-badge {
  position: absolute;
  top: 1rem;
  left: 2rem;
  display: flex;
  align-items: center;
  gap: .5rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid var(--border-mid);
  padding: .3rem .85rem;
  border-radius: var(--r-full);
  font-family: var(--font-mono);
  font-size: .7rem;
  color: var(--brand-mid);
  z-index: 2;
  font-weight: 600;
}

#heroCanvas {
  width: 100%;
  height: 100%;
  display: block;
}

/* ══════════════════════════════════════════════════════════
   MODULE 2 — STATS BAR
══════════════════════════════════════════════════════════ */
.stats-bar {
  background: linear-gradient(135deg, var(--brand-blue) 0%, var(--brand-mid) 50%, var(--brand-cyan) 100%);
  padding: 3rem 0;
}

.stats-bar .stat-card {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.25);
  backdrop-filter: blur(8px);
  box-shadow: none;
}

.stats-bar .stat-card:hover {
  background: rgba(255, 255, 255, 0.25);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.15);
  transform: translateY(-3px);
}

.stats-bar .stat-num {
  -webkit-text-fill-color: #fff;
  background: none;
  color: #fff;
}

.stats-bar .stat-lbl {
  color: rgba(255, 255, 255, 0.80);
}

/* ══════════════════════════════════════════════════════════
   MODULE 3 — ECOSYSTEM
══════════════════════════════════════════════════════════ */
.eco-wrap {
  background: #fff;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-xl);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.flow-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: .65rem;
  flex-wrap: wrap;
}

.flow-node {
  padding: .55rem 1.1rem;
  background: var(--bg-alt);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-sm);
  font-family: var(--font-mono);
  font-size: .79rem;
  font-weight: 600;
  color: var(--brand-blue);
  cursor: pointer;
  transition: all var(--ease-fast);
}

.flow-node:hover,
.flow-node.active {
  background: var(--brand-pale);
  border-color: var(--brand-cyan);
  color: var(--brand-mid);
  box-shadow: 0 4px 14px rgba(0, 168, 232, 0.25);
  transform: translateY(-2px);
}

.flow-core {
  padding: 1rem 2.5rem;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  border-radius: var(--r-sm);
  color: #fff;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .95rem;
  text-align: center;
  box-shadow: 0 6px 24px rgba(0, 119, 200, 0.40);
  letter-spacing: .02em;
}

.flow-arrow {
  color: var(--brand-cyan);
  font-size: 1.4rem;
  opacity: 0.75;
  animation: bob 2.5s ease-in-out infinite;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0)
  }

  50% {
    transform: translateY(5px)
  }
}

.flow-label {
  font-size: .78rem;
  color: var(--text-muted);
  text-align: center;
  font-weight: 600;
  padding: .2rem .6rem;
  background: var(--bg-alt);
  border-radius: var(--r-full);
}

/* Domain Map */
.domain-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
  margin-top: 2.5rem;
}

@media (max-width: 1100px) {
  .domain-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 680px) {
  .domain-grid {
    grid-template-columns: 1fr;
  }
}

.domain-col {
  background: #fff;
  border: 1.5px solid var(--border-card);
  border-radius: var(--r-md);
  padding: 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease-norm);
}

.domain-col:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}

.domain-col-hdr {
  font-family: var(--font-display);
  font-size: .82rem;
  font-weight: 800;
  color: var(--brand-mid);
  text-transform: uppercase;
  letter-spacing: .08em;
  margin-bottom: .8rem;
  padding-bottom: .55rem;
  border-bottom: 2px solid var(--border-light);
}

.domain-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .38rem;
}

.domain-list li {
  font-size: .8rem;
  color: var(--text-secondary);
  padding: .3rem .55rem;
  border-radius: var(--r-xs);
  transition: all var(--ease-fast);
}

.domain-list li:hover {
  background: var(--brand-pale);
  color: var(--brand-mid);
}

.absys-bar {
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  padding: 1rem 2rem;
  border-radius: var(--r-sm);
  color: #fff;
  text-align: center;
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 1rem;
  letter-spacing: .04em;
  box-shadow: 0 6px 24px rgba(0, 168, 232, 0.35);
  margin-top: 1.75rem;
}

/* ══════════════════════════════════════════════════════════
   MODULE 4 — SERVICES
══════════════════════════════════════════════════════════ */
.service-card {
  background: #fff;
  border: 1.5px solid var(--border-card);
  border-radius: var(--r-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease-norm);
  position: relative;
  overflow: hidden;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease-spring);
}

.service-card:hover {
  border-color: rgba(0, 168, 232, 0.35);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.service-card:hover::before {
  transform: scaleX(1);
}

.service-icon {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--brand-pale), var(--brand-alt, #D9F0FC));
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-md);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  font-size: 1.5rem;
  transition: all var(--ease-norm);
}

.service-card:hover .service-icon {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  border-color: var(--brand-blue);
}

.service-card:hover .service-icon svg {
  stroke: #fff;
}

.service-card h3 {
  font-size: 1.15rem;
  margin-bottom: .65rem;
}

.service-card p {
  font-size: .9rem;
  line-height: 1.65;
}

/* IB Demo Broker */
.broker-wrap {
  display: grid;
  grid-template-columns: 1fr 1.6fr 1fr;
  gap: 1.5rem;
  align-items: center;
  background: var(--bg-section);
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-md);
}

@media (max-width: 800px) {
  .broker-wrap {
    grid-template-columns: 1fr;
  }
}

.broker-core {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-mid));
  border-radius: var(--r-md);
  padding: 2rem 1.5rem;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 102, 178, 0.35);
}

.broker-core h4 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: .25rem;
}

.packet-stream {
  display: flex;
  flex-direction: column;
  gap: .45rem;
  margin-top: 1rem;
}

.packet {
  font-family: var(--font-mono);
  font-size: .7rem;
  padding: .38rem .65rem;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.30);
  border-radius: var(--r-xs);
  color: #fff;
  display: flex;
  justify-content: space-between;
  animation: fadeSlide 3s ease-in-out infinite;
}

.packet:nth-child(2) {
  animation-delay: 1s;
}

.packet:nth-child(3) {
  animation-delay: 2s;
}

@keyframes fadeSlide {

  0%,
  100% {
    opacity: 0.4;
    transform: translateY(3px)
  }

  50% {
    opacity: 1;
    transform: translateY(0)
  }
}

.broker-side {
  text-align: center;
}

.broker-side .pill {
  margin-bottom: .65rem;
}

.broker-side p {
  font-size: .85rem;
  color: var(--brand-mid);
  font-weight: 700;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   MODULE 5 — AIRPORT SYSTEMS EXPLORER
══════════════════════════════════════════════════════════ */
.sys-filter {
  display: flex;
  gap: .5rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 2.5rem;
}

.sys-filter-btn {
  padding: .42rem 1.1rem;
  border-radius: var(--r-full);
  font-family: var(--font-display);
  font-size: .8rem;
  font-weight: 700;
  background: #fff;
  border: 1.5px solid var(--border-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all var(--ease-fast);
  box-shadow: var(--shadow-sm);
}

.sys-filter-btn:hover,
.sys-filter-btn.active {
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-cyan));
  border-color: var(--brand-cyan);
  color: #fff;
  box-shadow: 0 4px 14px rgba(0, 168, 232, 0.30);
}

.sys-card {
  background: #fff;
  border: 1.5px solid var(--border-card);
  border-radius: var(--r-md);
  padding: 1.25rem 1.35rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease-norm);
}

.sys-card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.sys-code {
  font-family: var(--font-mono);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--brand-mid);
  margin-bottom: .25rem;
}

.sys-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .88rem;
  color: var(--text-primary);
  margin-bottom: .45rem;
}

.sys-cat {
  font-size: .68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
  margin-bottom: .5rem;
}

.sys-desc {
  font-size: .82rem;
  color: var(--text-secondary);
  line-height: 1.6;
}

.sys-cat-badge {
  display: inline-block;
  padding: .18rem .6rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-light);
  border-radius: var(--r-full);
  font-size: .68rem;
  font-weight: 700;
  color: var(--brand-mid);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .5rem;
}

/* ══════════════════════════════════════════════════════════
   MODULE 6 — PRODUCTS (Simulators)
══════════════════════════════════════════════════════════ */
.sim-card {
  background: #fff;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.sim-hdr {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 1.75rem;
  padding-bottom: 1.25rem;
  border-bottom: 1.5px solid var(--border-light);
  gap: 1rem;
  flex-wrap: wrap;
}

.sim-hdr h3 {
  font-size: 1.35rem;
  color: var(--brand-blue);
}

.sim-hdr p {
  font-size: .87rem;
  color: var(--text-muted);
  margin-top: .25rem;
}

.metric-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: .65rem 0;
  border-bottom: 1px solid rgba(0, 168, 232, 0.10);
  font-size: .9rem;
  color: var(--text-secondary);
}

.metric-val {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brand-mid);
}

.esc-flow {
  display: flex;
  align-items: center;
  gap: .5rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.esc-step {
  flex: 1;
  min-width: 95px;
  background: var(--bg-section);
  border: 1.5px solid var(--border-light);
  border-radius: var(--r-sm);
  padding: .8rem .7rem;
  text-align: center;
}

.esc-step-lbl {
  font-size: .63rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .25rem;
  font-weight: 700;
}

.esc-step-val {
  font-weight: 700;
  font-size: .82rem;
  color: var(--brand-mid);
}

.esc-arrow {
  color: var(--brand-cyan);
  font-size: 1.25rem;
  flex-shrink: 0;
}

/* ══════════════════════════════════════════════════════════
   MODULE 7 — PROJECTS
══════════════════════════════════════════════════════════ */
.proj-card {
  background: #fff;
  border: 1.5px solid var(--border-card);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease-norm);
}

.proj-card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-lg);
  transform: translateY(-5px);
}

.proj-img-wrap {
  height: 200px;
  overflow: hidden;
  position: relative;
}

.proj-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform .5s ease;
}

.proj-card:hover .proj-img {
  transform: scale(1.05);
}

.proj-img-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 30, 60, 0.55) 0%, transparent 55%);
}

.proj-body {
  padding: 1.5rem;
}

.proj-client {
  font-size: .74rem;
  color: var(--brand-cyan);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .35rem;
}

.proj-name {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: .7rem;
  line-height: 1.3;
}

.proj-scope {
  font-size: .84rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: .85rem;
}

.proj-systems {
  font-size: .72rem;
  color: var(--text-muted);
  padding-top: .7rem;
  border-top: 1px solid var(--border-light);
  font-family: var(--font-mono);
}

/* ══════════════════════════════════════════════════════════
   MODULE 8 — CLIENTS
══════════════════════════════════════════════════════════ */
.client-card {
  background: #fff;
  border: 1.5px solid var(--border-card);
  border-radius: var(--r-md);
  padding: 1.35rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease-norm);
}

.client-card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.client-icon {
  font-size: 1.5rem;
  margin-bottom: .5rem;
  color: var(--brand-cyan);
}

.client-name {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .88rem;
  color: var(--text-primary);
  margin-bottom: .2rem;
}

.client-cat {
  font-size: .68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: .08em;
  font-weight: 700;
}

/* ══════════════════════════════════════════════════════════
   MODULE 9 — PROCESS (HOW WE DELIVER)
══════════════════════════════════════════════════════════ */
.process-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.25rem;
}

@media (max-width: 1000px) {
  .process-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 560px) {
  .process-grid {
    grid-template-columns: 1fr;
  }
}

.process-card {
  background: #fff;
  border: 1.5px solid var(--border-card);
  border-radius: var(--r-md);
  padding: 1.75rem 1.5rem;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease-norm);
  position: relative;
  overflow: hidden;
  text-align: left;
}

.process-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform var(--ease-spring);
}

.process-card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.process-card:hover::after {
  transform: scaleX(1);
}

.process-num {
  font-family: var(--font-mono);
  font-size: 2.2rem;
  font-weight: 800;
  color: rgba(0, 168, 232, 0.22);
  line-height: 1;
  margin-bottom: .5rem;
}

.process-title {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: .92rem;
  color: var(--brand-blue);
  margin-bottom: .5rem;
  letter-spacing: .04em;
}

.process-card>p {
  font-size: .82rem;
  line-height: 1.6;
}

/* ══════════════════════════════════════════════════════════
   MODULE 10 — LEADERSHIP
══════════════════════════════════════════════════════════ */
.leader-img {
  width: 100%;
  max-width: 340px;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--r-xl);
  border: 3px solid rgba(0, 168, 232, 0.35);
  box-shadow: var(--shadow-lg);
  display: block;
}

.timeline-item {
  display: flex;
  align-items: flex-start;
  gap: 1rem;
  padding: .85rem 0;
  border-bottom: 1px solid var(--border-light);
}

.timeline-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--brand-cyan);
  border: 2px solid var(--brand-mid);
  flex-shrink: 0;
  margin-top: .5rem;
}

.timeline-year {
  font-family: var(--font-mono);
  font-weight: 700;
  color: var(--brand-mid);
  font-size: .9rem;
  min-width: 68px;
}

.timeline-role {
  font-weight: 700;
  color: var(--text-primary);
  font-size: .9rem;
}

.timeline-org {
  font-size: .8rem;
  color: var(--text-muted);
  margin-top: .12rem;
}

/* ══════════════════════════════════════════════════════════
   MODULE 11 — CAREERS
══════════════════════════════════════════════════════════ */
.career-card {
  background: #fff;
  border: 1.5px solid var(--border-card);
  border-radius: var(--r-md);
  padding: 1.35rem 1.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  flex-wrap: wrap;
  box-shadow: var(--shadow-sm);
  transition: all var(--ease-norm);
}

.career-card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-md);
  transform: translateX(3px);
}

.career-dept {
  display: inline-block;
  padding: .18rem .65rem;
  background: var(--brand-pale);
  border: 1px solid var(--border-light);
  border-radius: var(--r-full);
  font-size: .7rem;
  color: var(--brand-mid);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: .35rem;
  font-family: var(--font-display);
}

.career-title {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: .22rem;
}

.career-meta {
  font-size: .8rem;
  color: var(--text-muted);
}

/* ══════════════════════════════════════════════════════════
   MODULE 12 — CONTACT
══════════════════════════════════════════════════════════ */
.contact-info-item {
  display: flex;
  align-items: center;
  gap: .85rem;
  padding: 1rem 0;
  border-bottom: 1px solid var(--border-light);
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--r-sm);
  background: var(--brand-pale);
  border: 1.5px solid var(--border-mid);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--brand-mid);
}

/* ══════════════════════════════════════════════════════════
   FOOTER
══════════════════════════════════════════════════════════ */
.footer {
  background: #061A2E;
  border-top: 3px solid var(--brand-cyan);
  padding: 5rem 0 2rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: 3rem;
  margin-bottom: 3.5rem;
}

@media (max-width: 900px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 580px) {
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

.footer-col h4 {
  font-family: var(--font-display);
  font-size: .92rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 1.25rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: .55rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  font-size: .86rem;
  transition: color var(--ease-fast);
}

.footer-links a:hover {
  color: var(--brand-sky);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  padding-top: 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.45);
  font-size: .8rem;
  flex-wrap: wrap;
  gap: .75rem;
}

.footer-bottom a {
  color: var(--brand-sky);
}

/* Footer logo on dark bg */
.footer-logo {
  filter: brightness(0) invert(1);
  opacity: 0.9;
}

/* ══════════════════════════════════════════════════════════
   MODALS, SEARCH, CMS DRAWER
══════════════════════════════════════════════════════════ */
.modal-bg {
  position: fixed;
  inset: 0;
  background: rgba(6, 26, 46, 0.65);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-norm);
}

.modal-bg.open {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background: #fff;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-xl);
  padding: 2.5rem;
  width: 100%;
  max-width: 540px;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: var(--shadow-lg);
  transform: scale(0.96) translateY(10px);
  transition: transform var(--ease-norm);
  position: relative;
}

.modal-bg.open .modal-box {
  transform: scale(1) translateY(0);
}

.modal-close {
  position: absolute;
  top: 1.1rem;
  right: 1.1rem;
  background: var(--bg-alt);
  border: 1px solid var(--border-card);
  color: var(--text-muted);
  font-size: 1.3rem;
  cursor: pointer;
  width: 32px;
  height: 32px;
  border-radius: var(--r-full);
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: all var(--ease-fast);
}

.modal-close:hover {
  background: var(--brand-pale);
  color: var(--brand-mid);
}

/* Search Palette */
.search-bg {
  position: fixed;
  inset: 0;
  background: rgba(6, 26, 46, 0.70);
  backdrop-filter: blur(10px);
  z-index: 1500;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 8vh;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-fast);
}

.search-bg.open {
  opacity: 1;
  pointer-events: auto;
}

.search-box {
  width: 100%;
  max-width: 600px;
  background: #fff;
  border: 1.5px solid var(--border-mid);
  border-radius: var(--r-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.search-input-row {
  display: flex;
  align-items: center;
  gap: .75rem;
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-light);
}

.search-input-row input {
  background: none;
  border: none;
  outline: none;
  color: var(--text-primary);
  font-size: 1rem;
  width: 100%;
  font-family: var(--font-body);
}

.search-results {
  max-height: 380px;
  overflow-y: auto;
  padding: .65rem;
  list-style: none;
}

.search-result-item {
  padding: .7rem 1rem;
  border-radius: var(--r-sm);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  transition: background var(--ease-fast);
}

.search-result-item:hover {
  background: var(--brand-pale);
}

.search-result-item .title {
  font-weight: 600;
  font-size: .88rem;
  color: var(--text-primary);
}

.search-result-item .cat {
  font-size: .7rem;
  color: var(--brand-mid);
  background: var(--brand-pale);
  border: 1px solid var(--border-mid);
  padding: .18rem .55rem;
  border-radius: var(--r-full);
  text-transform: uppercase;
  letter-spacing: .06em;
  font-weight: 700;
}

/* CMS Drawer */
.cms-bg {
  position: fixed;
  inset: 0;
  background: rgba(6, 26, 46, 0.55);
  backdrop-filter: blur(6px);
  z-index: 1200;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--ease-norm);
}

.cms-bg.open {
  opacity: 1;
  pointer-events: auto;
}

.cms-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(860px, 95vw);
  background: #fff;
  border-left: 2px solid var(--border-mid);
  box-shadow: -8px 0 40px rgba(0, 102, 178, 0.18);
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--ease-spring);
}

.cms-bg.open .cms-panel {
  transform: translateX(0);
}

.cms-hdr {
  padding: 1.1rem 1.75rem;
  background: linear-gradient(135deg, var(--brand-blue), var(--brand-mid));
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.cms-hdr strong {
  font-family: var(--font-display);
  color: #fff;
  font-size: 1rem;
}

.cms-hdr .modal-close {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.3);
  color: #fff;
  position: static;
}

.cms-tabs {
  display: flex;
  border-bottom: 1.5px solid var(--border-light);
  padding: 0 1.5rem;
  overflow-x: auto;
  background: var(--bg-page);
}

.cms-tab {
  padding: .82rem 1.1rem;
  background: none;
  border: none;
  color: var(--text-muted);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: .82rem;
  cursor: pointer;
  position: relative;
  white-space: nowrap;
  transition: color var(--ease-fast);
}

.cms-tab.active {
  color: var(--brand-mid);
}

.cms-tab.active::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2.5px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-cyan));
}

.cms-body {
  flex: 1;
  overflow-y: auto;
  padding: 1.75rem;
  background: var(--bg-page);
}

.cms-pane {
  display: none;
}

.cms-pane.active {
  display: block;
}

.cms-table {
  width: 100%;
  border-collapse: collapse;
  font-size: .86rem;
}

.cms-table th {
  background: var(--bg-section);
  color: var(--text-muted);
  font-weight: 700;
  padding: .7rem 1rem;
  border-bottom: 1.5px solid var(--border-mid);
  text-align: left;
  font-size: .76rem;
  text-transform: uppercase;
  letter-spacing: .06em;
}

.cms-table td {
  padding: .78rem 1rem;
  border-bottom: 1px solid var(--border-light);
  color: var(--text-primary);
}

.cms-table tr:hover td {
  background: var(--brand-pale);
}

.status-pill {
  padding: .18rem .6rem;
  border-radius: var(--r-full);
  font-size: .72rem;
  font-weight: 700;
  text-transform: uppercase;
}

.status-active {
  background: rgba(22, 163, 74, 0.12);
  color: var(--green);
  border: 1px solid rgba(22, 163, 74, 0.25);
}

.status-draft {
  background: rgba(217, 119, 6, 0.12);
  color: var(--amber);
  border: 1px solid rgba(217, 119, 6, 0.25);
}

/* ══════════════════════════════════════════════════════════
   TOAST
══════════════════════════════════════════════════════════ */
.toast-stack {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: .65rem;
}

.toast {
  background: #fff;
  border: 1px solid var(--border-mid);
  border-left: 4px solid var(--brand-cyan);
  padding: .85rem 1.2rem;
  border-radius: var(--r-sm);
  color: var(--text-primary);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: .7rem;
  min-width: 270px;
  animation: slideRight .3s ease-out;
  font-size: .88rem;
}

.toast.success {
  border-left-color: var(--green);
}

.toast.warning {
  border-left-color: var(--amber);
}

@keyframes slideRight {
  from {
    transform: translateX(110%);
    opacity: 0;
  }

  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* ══════════════════════════════════════════════════════════
   GLOBAL UTILITIES
══════════════════════════════════════════════════════════ */
.text-center {
  text-align: center;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.w-full {
  width: 100%;
}

.mt-2 {
  margin-top: 1rem;
}

.mt-4 {
  margin-top: 2rem;
}

.mb-2 {
  margin-bottom: 1rem;
}

.mb-4 {
  margin-bottom: 2rem;
}

/* Responsive Utility */
@media (max-width: 900px) {
  .hide-mobile {
    display: none !important;
  }
}

/* ══════════════════════════════════════════════════════════
   OFFICE CARDS & GLOBAL PRESENCE
══════════════════════════════════════════════════════════ */
.office-card {
  background: #fff;
  border: 1.5px solid var(--border-card);
  border-radius: var(--r-md);
  padding: 2rem;
  box-shadow: var(--shadow-sm);
  text-align: center;
  transition: all var(--ease-norm);
}

.office-card:hover {
  border-color: var(--border-mid);
  box-shadow: var(--shadow-md);
  transform: translateY(-3px);
}

.office-flag {
  font-size: 2rem;
  margin-bottom: .65rem;
}

.office-country {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 800;
  color: var(--brand-mid);
  margin-bottom: .2rem;
}

.office-city {
  font-size: .9rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: .65rem;
}

.office-desc {
  font-size: .83rem;
  color: var(--text-secondary);
  line-height: 1.65;
}

.hero-canvas-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: auto;
}

/* ── Animated Section Divider ────────────────────────────── */
.hero-wave-divider {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.hero-wave-divider svg {
  position: relative;
  display: block;
  width: calc(100% + 1.3px);
  height: 90px;
}

.parallax>use {
  animation: move-forever 25s cubic-bezier(.55, .5, .45, .5) infinite;
}

.parallax>use:nth-child(1) {
  animation-delay: -2s;
  animation-duration: 7s;
}

.parallax>use:nth-child(2) {
  animation-delay: -3s;
  animation-duration: 10s;
}

.parallax>use:nth-child(3) {
  animation-delay: -4s;
  animation-duration: 13s;
}

.parallax>use:nth-child(4) {
  animation-delay: -5s;
  animation-duration: 20s;
}

@keyframes move-forever {
  0% {
    transform: translate3d(-90px, 0, 0);
  }

  100% {
    transform: translate3d(85px, 0, 0);
  }
}

@media (max-width: 768px) {
  .hero-wave-divider svg {
    height: 40px;
    min-height: 40px;
  }
}

/* ==========================================================================
   GLOBAL MOBILE ALIGNMENT FIXES (Added for responsive text and flex blocks)
   ========================================================================== */
@media (max-width: 768px) {
  /* Force all massive H1 headers (even those with inline styles) to scale down */
  h1 {
    font-size: 2.2rem !important;
    line-height: 1.2 !important;
  }
  
  h2 {
    font-size: 1.8rem !important;
  }

  /* Make Hero CTA buttons full width on mobile */
  .hero-ctas {
    flex-direction: column !important;
    width: 100% !important;
    gap: 1rem !important;
  }
  .hero-ctas .btn {
    width: 100% !important;
    justify-content: center !important;
    text-align: center !important;
  }

  /* Align the trust badges neatly on mobile */
  .hero-trust-row {
    justify-content: flex-start !important;
    gap: 1rem !important;
  }
  .trust-divider {
    display: none !important; /* Hide dividers on mobile so they stack or wrap cleaner */
  }
  
  /* Ensure grids in contact form don't overflow */
  input, select, textarea {
    max-width: 100% !important;
  }
}
