/* ============================================================
   Arabia Group — Main Stylesheet
   Edit this file to change colors, fonts, spacing, and layout.

   FONTS:   Noto Naskh Arabic (headings) · IBM Plex Sans Arabic (body)
   PRIMARY: #002FFF  |  ACCENT: #00CBFF  |  NAVY: #0A1B3D
   ============================================================ */

/* ── 1. GOOGLE FONTS ─────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Noto+Naskh+Arabic:wght@400;500;600;700&family=IBM+Plex+Sans+Arabic:wght@400;500;600;700&display=swap');

/* ── 2. CSS VARIABLES (Design Tokens) ───────────────────── */
:root {
  /* Brand colors */
  --brand-primary:       #002FFF;
  --brand-primary-hover: #0026D6;
  --brand-accent:        #00CBFF;
  --brand-ink:           #0A1B3D;
  --brand-gradient:      linear-gradient(110deg, #0019A5 0%, #002FFF 45%, #00CBFF 100%);
  --brand-gradient-soft: linear-gradient(110deg, #EAF0FF 0%, #D6F6FF 100%);

  /* Neutrals */
  --neutral-0:   #FFFFFF;
  --neutral-50:  #F5F7FB;
  --neutral-100: #ECEFF6;
  --neutral-200: #DDE2EC;
  --neutral-300: #C4CBD9;
  --neutral-400: #9AA3B5;
  --neutral-500: #6B7484;
  --neutral-600: #4C5462;
  --neutral-700: #353C49;
  --neutral-800: #232936;
  --neutral-900: #131722;

  /* Semantic text */
  --text-strong:   #131722;
  --text-body:     #353C49;
  --text-muted:    #6B7484;
  --text-subtle:   #9AA3B5;
  --text-on-brand: #FFFFFF;

  /* Surfaces */
  --surface-page:       #F5F7FB;
  --surface-card:       #FFFFFF;
  --surface-sunken:     #ECEFF6;
  --surface-brand-tint: #EAF0FF;
  --surface-inverse:    #0A1B3D;

  /* Borders */
  --border-subtle:  #DDE2EC;
  --border-default: #C4CBD9;
  --border-brand:   #002FFF;

  /* Shadows */
  --shadow-xs:    0 1px 2px rgba(10,27,61,.06);
  --shadow-sm:    0 1px 3px rgba(10,27,61,.08), 0 1px 2px rgba(10,27,61,.05);
  --shadow-md:    0 4px 12px rgba(10,27,61,.08), 0 2px 4px rgba(10,27,61,.05);
  --shadow-lg:    0 12px 28px rgba(10,27,61,.12), 0 4px 8px rgba(10,27,61,.06);
  --shadow-brand: 0 8px 24px rgba(0,47,255,.28);

  /* Radius */
  --radius-sm:      8px;
  --radius-md:      12px;
  --radius-lg:      16px;
  --radius-xl:      24px;
  --radius-pill:    999px;
  --radius-card:    16px;
  --radius-control: 8px;

  /* Typography */
  --font-display: "Noto Naskh Arabic", serif;
  --font-sans:    "IBM Plex Sans Arabic", "Segoe UI", system-ui, sans-serif;

  /* Spacing */
  --space-1: 0.25rem;  /* 4px  */
  --space-2: 0.5rem;   /* 8px  */
  --space-3: 0.75rem;  /* 12px */
  --space-4: 1rem;     /* 16px */
  --space-5: 1.5rem;   /* 24px */
  --space-6: 2rem;     /* 32px */
  --space-7: 3rem;     /* 48px */
  --space-8: 4rem;     /* 64px */
  --space-9: 6rem;     /* 96px */

  /* Layout */
  --container-max:    1200px;
  --container-narrow: 760px;
  --nav-height:       76px;
  --section-y:        96px;
}

/* ── 3. BASE RESET ───────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: var(--font-sans);
  font-size: 17px;
  line-height: 1.8;
  color: var(--text-body);
  background: #fff;
  -webkit-font-smoothing: antialiased;
}
img { display: block; max-width: 100%; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
::selection { background: #A8C0FF; }

/* ── 4. LAYOUT UTILITIES ─────────────────────────────────── */
.container {
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 24px;
}
.section {
  padding-block: var(--section-y);
}
.section--page  { background: var(--surface-page); }
.section--card  { background: var(--surface-card); }

/* ── 5. TYPOGRAPHY ───────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font-display);
  font-weight: 700;
  line-height: 1.3;
  color: var(--text-strong);
}
.display-1 { font-size: clamp(36px, 5.5vw, 68px); }
.display-2 { font-size: clamp(28px, 4vw, 52px); }
.h1        { font-size: clamp(28px, 3.5vw, 40px); }
.h2        { font-size: clamp(22px, 3vw, 32px); }
.h3        { font-size: clamp(18px, 2.5vw, 24px); }
.h4        { font-size: 20px; }

.gradient-text {
  background: linear-gradient(110deg, #002FFF, #00CBFF);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ── 6. NAVIGATION ───────────────────────────────────────── */
.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--nav-height);
  transition: padding-top 0.42s cubic-bezier(0.16,1,0.3,1);
}
.header-inner {
  max-width: var(--container-max);
  height: var(--nav-height);
  margin-inline: auto;
  padding-inline: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
  border: 1px solid transparent;
  transition: max-width .42s cubic-bezier(0.16,1,0.3,1),
              height .42s cubic-bezier(0.16,1,0.3,1),
              gap .42s cubic-bezier(0.16,1,0.3,1),
              padding .42s cubic-bezier(0.16,1,0.3,1),
              background-color .3s ease,
              border-color .3s ease,
              box-shadow .3s ease,
              border-radius .42s cubic-bezier(0.16,1,0.3,1);
}
/* Scrolled glass-island state (added via JS) */
.site-header.scrolled { padding-top: 16px; }
.site-header.scrolled .header-inner {
  max-width: 940px;
  height: 60px;
  padding-inline: 14px 18px;
  gap: 16px;
  background: rgba(255,255,255,0.62);
  backdrop-filter: saturate(180%) blur(16px);
  -webkit-backdrop-filter: saturate(180%) blur(16px);
  border-color: rgba(255,255,255,0.85);
  border-radius: var(--radius-pill);
  box-shadow: 0 8px 30px rgba(10,27,61,.10),
              inset 0 1px 0 rgba(255,255,255,0.6);
}

.nav-logo img {
  height: 40px;
  transition: height .42s cubic-bezier(0.16,1,0.3,1);
}
.site-header.scrolled .nav-logo img { height: 34px; }

.nav-links {
  display: flex;
  align-items: center;
  gap: 32px;
  list-style: none;
}
.nav-link {
  font-size: 17px;
  font-weight: 500;
  color: var(--text-body);
  white-space: nowrap;
  position: relative;
  padding-block: 4px;
  transition: color .2s ease;
}
.nav-link:hover { color: var(--brand-primary); }
.nav-link.active {
  font-weight: 600;
  color: var(--brand-primary);
}
.nav-link.active::after {
  content: "";
  position: absolute;
  bottom: -6px; inset-inline: 0;
  height: 2px;
  background: var(--brand-accent);
  border-radius: 2px;
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px; height: 40px;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-default);
  background: rgba(255,255,255,0.7);
}
.hamburger span {
  display: block;
  width: 18px; height: 2px;
  background: var(--text-body);
  border-radius: 2px;
  transition: transform .2s ease, opacity .2s ease;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }

/* ── 7. MOBILE MENU ──────────────────────────────────────── */
.mobile-menu {
  display: none;
  position: fixed;
  inset: var(--nav-height) 0 0;
  z-index: 49;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
}
.mobile-menu.open { display: flex; }
.mobile-menu a {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: clamp(24px,5vw,40px);
  color: var(--text-strong);
  transition: color .2s ease;
}
.mobile-menu a:hover,
.mobile-menu a.active { color: var(--brand-primary); }

/* ── 8. BUTTONS ──────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: var(--font-sans);
  font-weight: 600;
  white-space: nowrap;
  border: 0px solid transparent;
  border-radius: var(--radius-control);
  cursor: pointer;
  transition: background .15s ease, color .15s ease,
              box-shadow .2s ease, transform .2s ease;
  text-decoration: none;
}
.btn:active { transform: translateY(1px); }

.btn-sm  { font-size: 15px; height: 36px; padding-inline: 16px; }
.btn-md  { font-size: 17px; height: 44px; padding-inline: 24px; }
.btn-lg  { font-size: 20px; height: 54px; padding-inline: 32px; border-radius: var(--radius-md); }

.btn-primary {
  background: var(--brand-primary);
  color: #fff;
  box-shadow: 0 4px 12px rgba(0,47,255,.22);
}
.btn-primary:hover {
  background: var(--brand-primary-hover);
  box-shadow: var(--shadow-brand);
}

.btn-gradient {
  background: var(--brand-gradient);
  color: #fff;
  box-shadow: var(--shadow-brand);
}
.btn-gradient:hover { filter: saturate(1.1) brightness(1.04); }

.btn-secondary {
  background: #fff;
  color: var(--brand-primary);
  border-color: var(--brand-primary);
}
.btn-secondary:hover { background: var(--surface-brand-tint); }

.btn-ghost {
  background: transparent;
  color: var(--text-body);
}
.btn-ghost:hover { background: var(--surface-sunken); }

.btn-full { width: 100%; }

/* ── 9. HERO SECTION + AURORA BACKGROUND ─────────────────── */
/* The hero section slides UNDER the sticky nav (negative margin-top). */
.hero-section {
  position: relative;
  overflow: hidden;
  margin-top: calc(-1 * var(--nav-height));
  padding-top: calc(var(--nav-height) + var(--space-9));
  padding-bottom: var(--space-9);
  background: linear-gradient(160deg,#FFF 0%,#F0F6FF 25%,#E8F5FF 55%,#EBF9FF 80%,#F0FFFE 100%);
}
.hero-section--centered {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: calc(100vh + var(--nav-height));
  text-align: center;
}
.hero-content { position: relative; }
.hero-content--center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* Aurora decorative blobs */
.aurora-bg { position: absolute; inset: 0; pointer-events: none; }
.aurora-bg div { position: absolute; border-radius: 50%; }

.aurora-glow {
  left: 50%; top: -5%;
  transform: translateX(-50%);
  width: 1100px; height: 780px;
  background: radial-gradient(ellipse at 50% 28%,
    rgba(255,255,255,1) 0%, rgba(240,250,255,.85) 35%,
    rgba(220,245,255,.4) 60%, transparent 75%);
  filter: blur(28px);
}
.aurora-blob-1 {
  right: -8%; top: -15%;
  width: 660px; height: 620px;
  background: radial-gradient(circle at 45% 45%, rgba(56,180,255,.52), transparent 62%);
  filter: blur(110px);
  animation: auroraA 18s ease-in-out infinite;
}
.aurora-blob-2 {
  right: 8%; top: 38%;
  width: 540px; height: 500px;
  background: radial-gradient(circle at 45% 45%, rgba(0,210,255,.60), transparent 60%);
  filter: blur(100px);
  animation: auroraB 22s ease-in-out infinite;
}
.aurora-blob-3 {
  left: 22%; bottom: -10%;
  width: 720px; height: 560px;
  background: radial-gradient(circle at 50% 50%, rgba(0,218,188,.50), transparent 62%);
  filter: blur(120px);
  animation: auroraC 20s ease-in-out infinite;
}
.aurora-blob-4 {
  left: -6%; top: -5%;
  width: 580px; height: 540px;
  background: radial-gradient(circle at 55% 55%, rgba(120,210,255,.38), transparent 64%);
  filter: blur(115px);
  animation: auroraD 24s ease-in-out infinite;
}
.aurora-blob-5 {
  left: -4%; top: 28%;
  width: 460px; height: 420px;
  background: radial-gradient(circle at 50% 50%, rgba(200,242,255,.55), transparent 65%);
  filter: blur(130px);
  animation: auroraE 28s ease-in-out infinite;
}
.aurora-streak-1 {
  border-radius: 40%;
  left: -5%; bottom: 10%;
  width: 112%; height: 200px;
  background: linear-gradient(90deg,
    transparent 0%, rgba(180,238,255,.35) 20%,
    rgba(0,210,255,.52) 50%, rgba(120,235,255,.32) 78%, transparent 100%);
  filter: blur(52px);
  animation: auroraStreak 16s ease-in-out infinite;
}
.aurora-streak-2 {
  border-radius: 40%;
  right: -4%; top: 52%;
  width: 88%; height: 140px;
  background: linear-gradient(85deg,
    transparent 0%, rgba(0,218,188,.28) 30%,
    rgba(80,220,255,.32) 60%, transparent 100%);
  filter: blur(65px);
  animation: auroraStreak 20s ease-in-out infinite reverse;
}
.aurora-glow-2 {
  left: 30%; bottom: 5%;
  width: 600px; height: 380px;
  border-radius: 50%;
  background: radial-gradient(ellipse at center, rgba(255,255,255,.70), transparent 68%);
  filter: blur(40px);
}

@keyframes auroraA { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(6%,4%) scale(1.12)} }
@keyframes auroraB { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(-7%,5%) scale(1.08)} }
@keyframes auroraC { 0%,100%{transform:translate(0,0) scale(1)} 50%{transform:translate(5%,-6%) scale(1.15)} }
@keyframes auroraD { 0%,100%{transform:translate(0,0) scale(1) rotate(0deg)} 50%{transform:translate(-4%,-5%) scale(1.10) rotate(3deg)} }
@keyframes auroraE { 0%,100%{transform:translate(0,0) scale(1)} 33%{transform:translate(3%,6%) scale(1.07)} 66%{transform:translate(-3%,-3%) scale(1.13)} }
@keyframes auroraStreak { 0%,100%{transform:translateX(-4%) rotate(-12deg);opacity:.45} 50%{transform:translateX(4%) rotate(-8deg);opacity:.75} }
@media (prefers-reduced-motion: reduce) {
  .aurora-blob-1,.aurora-blob-2,.aurora-blob-3,.aurora-blob-4,.aurora-blob-5,
  .aurora-streak-1,.aurora-streak-2 { animation: none; }
}

/* ── 10. SECTION HEADINGS ────────────────────────────────── */
.section-heading { display: flex; flex-direction: column; gap: 12px; }
.section-heading--center { text-align: center; align-items: center; max-width: var(--container-narrow); margin-inline: auto; }
.section-heading .eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 13px; font-weight: 600; color: var(--brand-primary);
  letter-spacing: .05em; text-transform: uppercase;
}
.section-heading .eyebrow::before {
  content: ""; display: inline-block;
  width: 22px; height: 2px;
  background: var(--brand-accent); border-radius: 2px;
}
.section-heading p { font-size: 20px; color: var(--text-muted); max-width: var(--container-narrow); }

/* ── 11. CARDS ───────────────────────────────────────────── */
.card {
  background: var(--surface-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-card);
  box-shadow: var(--shadow-sm);
  padding: 32px;
}
.card--interactive {
  transition: transform .3s cubic-bezier(0.16,1,0.3,1),
              box-shadow .3s ease;
}
.card--interactive:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}
.card--outline {
  background: var(--surface-card);
  border-color: var(--border-default);
  box-shadow: none;
}
.card--brand-tint { background: var(--surface-brand-tint); border-color: #A8C0FF; box-shadow: none; }
.card--inverse { background: var(--surface-inverse); border-color: #1E3A6E; color: #fff; box-shadow: var(--shadow-lg); }
.card--inverse h1,.card--inverse h2,.card--inverse h3,.card--inverse h4 { color: #fff; }

/* ── 12. BADGES ──────────────────────────────────────────── */
.badge {
  display: inline-flex; align-items: center;
  padding: 3px 10px; border-radius: var(--radius-pill);
  font-size: 13px; font-weight: 600; line-height: 1.6;
}
.badge--brand   { background: #EAF0FF; color: #0026D6; }
.badge--accent  { background: #D6F6FF; color: #006B8A; }
.badge--glass   { background: rgba(255,255,255,.7); backdrop-filter: blur(6px); border: 1px solid #D3E0FF; color: var(--brand-primary); }

/* ── 13. STATS ───────────────────────────────────────────── */
.stats-strip { display: flex; gap: 56px; flex-wrap: wrap; justify-content: center; margin-top: 72px; }
.stat-value {
  font-family: var(--font-display); font-weight: 700;
  font-size: 44px; line-height: 1;
  color: var(--brand-ink);
  display: flex; align-items: baseline; gap: 3px; justify-content: center;
}
.stat-value .suffix { font-size: 26px; color: var(--brand-primary); }
.stat-label { margin-top: 8px; font-size: 15px; color: var(--text-muted); text-align: center; }

/* ── 14. SERVICES GRID ───────────────────────────────────── */
.services-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 20px; margin-top: 48px; }
.service-icon-chip {
  width: 72px; height: 72px; border-radius: var(--radius-lg);
  display: grid; place-items: center; margin-bottom: 18px;
  background: linear-gradient(135deg, #EAF0FF, #D6F6FF);
}
.service-icon-chip img { width: 48px; height: 48px; }

/* Services page list */
.service-row {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 24px; align-items: center;
}
.service-row-icon {
  width: 76px; height: 76px; flex-shrink: 0;
  border-radius: var(--radius-lg);
  display: grid; place-items: center;
  background: linear-gradient(135deg, #EAF0FF, #D6F6FF);
}
.service-row-icon img { width: 50px; height: 50px; }

/* Methodology steps */
.steps-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 0; margin-top: 48px; }
.step { position: relative; padding-top: 28px; }
.step::before { content: ""; position: absolute; top: 0; inset-inline: 0; height: 2px; background: var(--border-default); }
.step::after {
  content: ""; position: absolute;
  top: -5px; inset-inline-start: 0;
  width: 12px; height: 12px; border-radius: 50%;
  background: var(--brand-primary);
  border: 2px solid var(--surface-card);
}
.step-number { font-family: var(--font-display); font-weight: 700; font-size: 32px; color: var(--neutral-200); }
.step h4 { margin: 4px 0 6px; font-size: 20px; }
.step p { font-size: 15px; color: var(--text-muted); padding-inline-end: 20px; }

/* ── 15. VALUES ──────────────────────────────────────────── */
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 40px; }
.value-icon {
  width: 64px; height: 64px; border-radius: 50%;
  display: grid; place-items: center; margin: 0 auto 18px;
  background: var(--brand-gradient-soft); color: var(--brand-primary);
}
.value-icon svg { width: 30px; height: 30px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }

/* ── 16. QUOTE ───────────────────────────────────────────── */
.quote-icon { display: block; margin: 0 auto 20px; color: var(--brand-accent); }
.quote-icon svg { width: 44px; height: 44px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
blockquote {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(20px,3vw,32px); line-height: 1.5;
  color: var(--text-strong);
}
.quote-attribution { margin-top: 24px; color: var(--text-muted); }

/* ── 17. CTA SECTION ─────────────────────────────────────── */
.cta-section {
  position: relative; overflow: hidden;
  background: linear-gradient(160deg,#F0FFFE 0%,#E6F9FF 40%,#EBF5FF 70%,#F5FFFE 100%);
  text-align: center;
}
.cta-section h2 { margin-bottom: 16px; }
.cta-section p { margin: 0 auto 30px; max-width: 540px; font-size: 20px; color: var(--text-body); }

/* ── 18. TIMELINE ────────────────────────────────────────── */
.timeline-wrapper { position: relative; margin-top: 52px; direction: ltr; }
.timeline-nav-btn {
  position: absolute; top: calc(50% - 32px); z-index: 10;
  width: 44px; height: 44px; border-radius: 50%;
  border: 1.5px solid var(--border-default);
  background: var(--surface-card); color: var(--brand-primary);
  font-size: 20px; display: grid; place-items: center;
  box-shadow: var(--shadow-md);
  transition: opacity .2s ease, box-shadow .2s ease;
}
.timeline-nav-btn:disabled { color: var(--text-subtle); background: var(--surface-sunken); box-shadow: none; cursor: default; }
.timeline-btn-prev { left: 8px; }
.timeline-btn-next { right: 8px; }

.timeline-viewport { overflow: hidden; padding: 20px 64px 32px; }

.timeline-line-track { height: 2px; background: var(--border-subtle); margin-bottom: -2px; position: relative; }
.timeline-line-fill { position: absolute; top: 0; left: 0; height: 100%; width: 0; background: var(--brand-gradient); transition: width .5s cubic-bezier(0.16,1,0.3,1); }

.timeline-track {
  display: flex; gap: 24px;
  transition: transform .5s cubic-bezier(0.16,1,0.3,1);
  direction: ltr;
}
.timeline-item { flex: none; width: 300px; direction: rtl; }

.timeline-dot-marker {
  width: 14px; height: 14px; border-radius: 50%;
  margin: 0 auto 20px;
  background: var(--neutral-300);
  border: 3px solid var(--surface-card);
  transition: background .25s ease, box-shadow .25s ease;
}
.timeline-item.active .timeline-dot-marker { background: var(--brand-primary); box-shadow: 0 0 0 3px rgba(0,47,255,.18); }
.timeline-item:hover .timeline-dot-marker { background: var(--brand-accent); box-shadow: 0 0 0 4px rgba(0,203,255,.3); }

.timeline-card-inner {
  height: 340px; display: flex; flex-direction: column;
  background: var(--surface-card);
  border-radius: var(--radius-card);
  border: 1.5px solid var(--border-subtle);
  box-shadow: var(--shadow-xs);
  overflow: hidden;
  transition: border-color .25s ease, box-shadow .25s ease, transform .3s cubic-bezier(0.16,1,0.3,1);
}
.timeline-item.active .timeline-card-inner { border-color: #A8C0FF; box-shadow: var(--shadow-sm); }
.timeline-item:hover .timeline-card-inner { border-color: #7397FF; box-shadow: var(--shadow-lg); transform: translateY(-4px); }

.timeline-card-top {
  padding: 18px 18px 14px; flex-shrink: 0;
  border-bottom: 1px solid var(--border-subtle);
  transition: border-color .25s ease;
}
.timeline-item:hover .timeline-card-top { border-color: #D3E0FF; }
.timeline-year {
  font-family: var(--font-display); font-weight: 700; font-size: 46px; line-height: 1;
  background: linear-gradient(110deg,#002FFF,#00CBFF);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}
.timeline-flags { display: flex; gap: 6px; margin-top: 10px; direction: ltr; justify-content: flex-end; }
.timeline-flags img { width: 30px; height: 20px; border-radius: 3px; object-fit: cover; border: 1px solid var(--border-subtle); }

.timeline-card-body { flex: 1; padding: 14px 18px 18px; overflow: hidden; display: flex; flex-direction: column; }
.timeline-card-body h4 {
  font-size: 16px; line-height: 1.55; flex-shrink: 0;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.timeline-card-body p {
  margin-top: 8px; flex: 1; overflow: hidden;
  font-size: 13px; line-height: 1.75; color: var(--text-subtle);
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  transition: color .25s ease;
}
.timeline-item:hover .timeline-card-body p { color: var(--text-body); }

/* Pagination dots */
.timeline-dots { display: flex; justify-content: center; gap: 6px; margin-top: 12px; direction: ltr; }
.timeline-dots button {
  width: 8px; height: 8px; border-radius: 4px;
  border: none; background: var(--neutral-300); cursor: pointer; padding: 0;
  transition: width .3s cubic-bezier(0.16,1,0.3,1), background .25s ease;
}
.timeline-dots button.active { width: 22px; background: var(--brand-primary); }

/* About intro */
.about-split { display: grid; grid-template-columns: 1fr 1fr; gap: 56px; align-items: center; }
.about-image-box {
  aspect-ratio: 4/3; border-radius: var(--radius-xl);
  overflow: hidden; position: relative;
  background: linear-gradient(135deg,#F0F8FF,#E3F4FF 40%,#EBF9FF 70%,#F5FFFE);
  display: grid; place-items: center;
  box-shadow: var(--shadow-lg); border: 1px solid #D3E0FF;
}
.about-image-blob {
  position: absolute; border-radius: 50%; pointer-events: none;
}
.about-image-box img { width: 58%; position: relative; }

/* ── 19. CONTACT FORM ────────────────────────────────────── */
.contact-grid { display: grid; grid-template-columns: 1.4fr 1fr; gap: 32px; margin-top: 44px; align-items: start; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }
.form-label { font-size: 15px; font-weight: 500; color: var(--text-strong); }
.form-input, .form-select, .form-textarea {
  font-family: var(--font-sans); font-size: 17px;
  color: var(--text-strong); background: #fff;
  border: 1.5px solid var(--border-default);
  border-radius: var(--radius-control);
  padding-inline: 16px; transition: border-color .2s ease, box-shadow .2s ease; outline: none; width: 100%;
}
.form-input, .form-select { height: 46px; }
.form-textarea { padding-block: 12px; resize: vertical; line-height: 1.6; }
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--brand-primary);
  box-shadow: 0 0 0 3px rgba(0,47,255,.15);
}
.form-input::placeholder, .form-textarea::placeholder { color: var(--text-subtle); }
.form-select { appearance: none; -webkit-appearance: none; cursor: pointer; }

.form-checkbox { display: flex; align-items: center; gap: 12px; cursor: pointer; }
.form-checkbox input { width: 20px; height: 20px; accent-color: var(--brand-primary); cursor: pointer; flex-shrink: 0; }
.form-checkbox span { font-size: 17px; color: var(--text-body); }

.alert {
  display: flex; align-items: flex-start; gap: 12px;
  border-radius: var(--radius-sm); padding: 16px 20px;
  font-size: 15px; margin-bottom: 22px;
}
.alert--success { background: #DDF4E7; border-inline-start: 3px solid #138A5B; }
.alert--error   { background: #FBE0E0; border-inline-start: 3px solid #D03535; }
.alert--warning { background: #FBEFD2; border-inline-start: 3px solid #C98A14; }
.alert strong { display: block; margin-bottom: 2px; color: var(--text-strong); }

.contact-info { display: flex; flex-direction: column; gap: 16px; }
.contact-info-item {
  display: flex; align-items: center; gap: 16px;
  padding: 20px; border-radius: var(--radius-card);
  border: 1px solid var(--border-default);
  background: var(--surface-card);
}
.contact-info-icon {
  width: 48px; height: 48px; flex-shrink: 0; border-radius: var(--radius-md);
  display: grid; place-items: center;
  background: var(--surface-brand-tint); color: var(--brand-primary);
}
.contact-info-icon svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 1.75; stroke-linecap: round; stroke-linejoin: round; }
.contact-info-label { font-size: 13px; color: var(--text-muted); }
.contact-info-value { font-size: 17px; font-weight: 600; color: var(--text-strong); }

/* ── 20. FOOTER ──────────────────────────────────────────── */
.site-footer {
  background: var(--surface-card);
  border-top: 1px solid var(--border-subtle);
}
.footer-inner {
  display: flex; flex-direction: column; align-items: center; gap: 16px;
  text-align: center; padding-block: 64px 48px;
}
.footer-inner img { height: 48px; }
.footer-tagline { max-width: 480px; font-size: 15px; color: var(--text-muted); line-height: 1.8; }
.footer-copy { font-size: 13px; color: var(--text-subtle); }

/* ── 21. RESPONSIVE ──────────────────────────────────────── */
@media (max-width: 1024px) {
  :root { --section-y: 64px; }
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .steps-grid { grid-template-columns: 1fr 1fr; gap: 28px; }
  .about-split { grid-template-columns: 1fr; gap: 32px; }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .service-row { grid-template-columns: 1fr; gap: 14px; }
  .service-row .btn-ghost { display: none; }
  .stats-strip { display: grid; grid-template-columns: 1fr 1fr; gap: 28px 16px; margin-top: 40px; }
  .stats-strip .stat { text-align: center; }
}

@media (max-width: 640px) {
  :root { --section-y: 48px; }
  .container { padding-inline: 16px; }
  .hero-section { padding-top: calc(var(--nav-height) + 36px); padding-bottom: 48px; }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .hero-ctas { flex-direction: column; align-items: center; }
  .hero-ctas .btn { width: 100%; max-width: 320px; }
  .timeline-item { width: 280px; }
  .footer-inner { padding-block: 48px 36px; }
}
