/* =========================================================
   VANTAGE INTERNATIONAL — STYLESHEET
   Pure CSS3, no preprocessor, no build step required.
   Table of contents:
   1. Custom properties (design tokens)
   2. Reset / base
   3. Layout utilities
   4. Typography
   5. Buttons & links
   6. Header / navigation
   7. Hero sections
   8. Cards / glass surfaces
   9. Stats counters
   10. Process steps
   11. Footer
   12. WhatsApp button
   13. Forms
   14. Gallery
   15. Animations & reveal
   16. Responsive breakpoints
   ========================================================= */

/* 1. DESIGN TOKENS ---------------------------------------- */
:root {
  --navy-950: #050b16;
  --navy-900: #0a1730;
  --navy-800: #0f2247;
  --navy-700: #16315e;
  --navy-600: #1e3f75;

  --emerald-600: #047857;
  --emerald-500: #0ea571;
  --emerald-400: #34c28c;
  --emerald-300: #6fdcae;

  --gold-500: #c9a24b;
  --gold-400: #dcbe76;

  --ink-900: #0b1320;
  --ink-700: #3a4458;
  --ink-500: #6b7488;
  --ink-300: #a6adbc;

  --white: #ffffff;

  --font-display: "Sora", "Segoe UI", sans-serif;
  --font-body: "Inter", "Segoe UI", sans-serif;

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2rem;

  --container-max: 1200px;
  --shadow-glass: 0 8px 32px rgba(5, 11, 22, 0.35);
  --shadow-glow: 0 0 40px rgba(14, 165, 113, 0.25);

  --header-height: 92px;

  /* Light-mode semantic tokens */
  --bg-page:       #ffffff;
  --bg-card:       #ffffff;
  --bg-card-hover: #f7f9fc;
  --text-primary:  #0b1320;
  --text-secondary:#6b7488;
  --border-card:   rgba(11,19,32,0.08);
  --shadow-card:   0 2px 12px rgba(11,19,32,0.06);
  --theme-toggle-bg: rgba(255,255,255,0.1);
}

/* Dark mode overrides — applied when JS sets data-theme="dark" on <html> */
[data-theme="dark"] {
  --bg-page:       #0d1724;
  --bg-card:       #152036;
  --bg-card-hover: #1a2a44;
  --text-primary:  #e8edf5;
  --text-secondary:#8fa3bb;
  --border-card:   rgba(255,255,255,0.08);
  --shadow-card:   0 2px 12px rgba(0,0,0,0.35);
  --white:         #0d1724;    /* reverses white backgrounds on sections */
  --ink-900:       #e8edf5;
  --ink-500:       #8fa3bb;
  --navy-900:      #c5d4e8;    /* headings readable on dark bg */
  --theme-toggle-bg: rgba(14,165,113,0.15);
}

[data-theme="dark"] body          { background: var(--bg-page); color: var(--text-primary); }
[data-theme="dark"] h1,
[data-theme="dark"] h2,
[data-theme="dark"] h3,
[data-theme="dark"] h4            { color: #e8edf5; }
[data-theme="dark"] .card         { background: var(--bg-card); border-color: var(--border-card); }
[data-theme="dark"] .field input,
[data-theme="dark"] .field select,
[data-theme="dark"] .field textarea { background: var(--bg-card); color: var(--text-primary); border-color: var(--border-card); }
[data-theme="dark"] .field label  { color: #c5d4e8; }
[data-theme="dark"] .timeline-card { background: var(--bg-card); border-color: var(--border-card); }
[data-theme="dark"] .timeline-card::after { border-left-color: var(--bg-card); }
[data-theme="dark"] .timeline-entry:nth-child(even) .timeline-card::after { border-right-color: var(--bg-card); border-left-color: transparent; }
[data-theme="dark"] .timeline-card::before { border-left-color: var(--border-card); }
[data-theme="dark"] .timeline-entry:nth-child(even) .timeline-card::before { border-right-color: var(--border-card); border-left-color: transparent; }
[data-theme="dark"] .doc-tile     { background: var(--bg-card); border-color: var(--border-card); }
[data-theme="dark"] .doc-tile p   { color: var(--text-secondary); }

/* Smooth theme transition */
body, .card, .timeline-card, .doc-tile, .field input, .field select, .field textarea {
  transition: background-color 0.3s ease, border-color 0.3s ease, color 0.3s ease;
}

/* 2. RESET / BASE ------------------------------------------ */
*, *::before, *::after { box-sizing: border-box; }

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

@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;
    scroll-behavior: auto !important;
  }
}

body {
  margin: 0;
  background: var(--white);
  color: var(--ink-900);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

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

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-display);
  margin: 0;
  line-height: 1.2;
  color: var(--navy-900);
}

p { margin: 0; }

ul { margin: 0; padding: 0; list-style: none; }

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
}

input, textarea, select {
  font-family: inherit;
  font-size: 1rem;
}

/* Visible keyboard focus across the site */
a:focus-visible,
button:focus-visible,
input:focus-visible,
textarea:focus-visible,
select:focus-visible {
  outline: 2px solid var(--emerald-500);
  outline-offset: 3px;
  border-radius: 4px;
}

::selection {
  background-color: var(--emerald-500);
  color: var(--white);
}

/* 3. LAYOUT -------------------------------------------------- */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin-inline: auto;
  padding-inline: 1.25rem;
}

@media (min-width: 640px) {
  .container { padding-inline: 2rem; }
}

.section {
  padding-block: 6rem;
}

.section--tight { padding-block: 4rem; }

.section--navy {
  background: radial-gradient(circle at 20% 20%, var(--navy-700) 0%, var(--navy-900) 55%, var(--navy-950) 100%);
  color: var(--white);
}

.section--navy h2, .section--navy h3 { color: var(--white); }

.section--dark {
  background: var(--navy-950);
  color: var(--white);
}

.section--dark h2, .section--dark h3 { color: var(--white); }

.grid {
  display: grid;
  gap: 1.5rem;
}

.grid-2 { grid-template-columns: 1fr; }
.grid-3 { grid-template-columns: 1fr; }
.grid-4 { grid-template-columns: repeat(2, 1fr); }
.grid-5 { grid-template-columns: repeat(2, 1fr); }
.grid-6 { grid-template-columns: repeat(2, 1fr); }

@media (min-width: 640px) {
  .grid-2 { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
}

@media (min-width: 900px) {
  .grid-3 { grid-template-columns: repeat(3, 1fr); }
  .grid-4 { grid-template-columns: repeat(4, 1fr); }
  .grid-5 { grid-template-columns: repeat(5, 1fr); }
  .grid-6 { grid-template-columns: repeat(6, 1fr); }
}

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-sm { gap: 0.75rem; }
.gap-md { gap: 1.25rem; }

.text-center { text-align: center; }
.mx-auto { margin-inline: auto; }

.max-w-content { max-width: 640px; }

/* 4. TYPOGRAPHY ------------------------------------------------ */
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald-500);
}

.section--navy .eyebrow,
.section--dark .eyebrow { color: var(--emerald-300); }

.eyebrow::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

.h1 { font-size: 2.25rem; font-weight: 700; letter-spacing: -0.02em; }
.h2 { font-size: 1.875rem; font-weight: 700; letter-spacing: -0.02em; }
.h3 { font-size: 1.25rem; font-weight: 600; }

.lede {
  font-size: 1.0625rem;
  line-height: 1.7;
  color: var(--ink-500);
}

.section--navy .lede,
.section--dark .lede { color: rgba(255,255,255,0.7); }

@media (min-width: 900px) {
  .h1 { font-size: 3.4rem; }
  .h2 { font-size: 2.25rem; }
}

/* 5. BUTTONS ----------------------------------------------------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.9rem 1.75rem;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 600;
  border: 1px solid transparent;
  transition: transform 0.25s ease, background-color 0.25s ease, border-color 0.25s ease, color 0.25s ease;
  white-space: nowrap;
}

.btn-primary {
  background: var(--emerald-500);
  color: var(--white);
  box-shadow: var(--shadow-glow);
}

.btn-primary:hover {
  background: var(--emerald-400);
  transform: scale(1.04);
}

.btn-outline {
  border-color: rgba(255,255,255,0.3);
  color: var(--white);
}

.btn-outline:hover {
  border-color: var(--emerald-400);
  color: var(--emerald-300);
}

.btn-outline-dark {
  border-color: rgba(11,19,32,0.18);
  color: var(--navy-900);
}

.btn-outline-dark:hover {
  border-color: var(--emerald-500);
  color: var(--emerald-600);
}

.btn-block { width: 100%; justify-content: center; }

@media (min-width: 640px) {
  .btn-block { width: auto; }
}

.text-link {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--emerald-600);
  transition: color 0.2s ease;
}

.text-link:hover { color: var(--emerald-700, #036148); }

.section--navy .text-link,
.section--dark .text-link { color: var(--emerald-400); }

/* 6. HEADER / NAV -------------------------------------------------- */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 999;
  height: var(--header-height);
  background: transparent;
  transition: background-color 0.3s ease, backdrop-filter 0.3s ease, box-shadow 0.3s ease;
}

.site-header.is-scrolled {
  background: rgba(5, 11, 22, 0.85);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: var(--shadow-glass);
}

.site-header .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
}

.brand img {
  height: 66px;
  width: auto;
  max-width: 240px;
  object-fit: contain;
  transition: transform 0.25s ease;
}

.brand:hover img {
  transform: scale(1.03);
}

.brand-name {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.05rem;
  color: var(--white);
  letter-spacing: -0.01em;
}

.brand-name span { color: var(--emerald-400); }

.main-nav {
  display: none;
  align-items: center;
  gap: 2.25rem;
  height: 100%;
}

.main-nav > ul {
  height: 100%;
  align-items: center;
}

.main-nav a {
  position: relative;
  font-size: 0.875rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  color: rgba(255,255,255,0.8);
  transition: color 0.2s ease;
  padding-block: 0.6rem;
}

.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 0;
  height: 2px;
  background: var(--emerald-400);
  border-radius: 2px;
  transition: width 0.25s ease;
}

.main-nav a:hover {
  color: var(--white);
}

.main-nav a:hover::after,
.main-nav a[aria-current="page"]::after {
  width: 100%;
}

.main-nav a[aria-current="page"] {
  color: var(--emerald-400);
}

.nav-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: none;
  background: transparent;
  color: var(--white);
}

.nav-toggle svg { width: 26px; height: 26px; }

.mobile-nav {
  display: none;
  background: rgba(5, 11, 22, 0.97);
  backdrop-filter: blur(14px);
  padding: 0.5rem 1.25rem 1.5rem;
}

.mobile-nav.is-open { display: block; }

.mobile-nav a {
  display: block;
  padding: 0.85rem 0.75rem;
  border-radius: 0.6rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
}

.mobile-nav a:hover,
.mobile-nav a[aria-current="page"] {
  background: rgba(255,255,255,0.08);
  color: var(--emerald-400);
}

@media (min-width: 1024px) {
  .main-nav { display: flex; }
  .nav-toggle { display: none; }
  .mobile-nav { display: none !important; }
}

/* DROPDOWN MENU ------------------------------------------------------------- */
.nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
  height: 100%;
}

/* Chevron icon next to parent link */
.nav-item-has-dropdown > a {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}

.nav-chevron {
  width: 14px;
  height: 14px;
  transition: transform 0.25s ease;
  flex-shrink: 0;
  opacity: 0.6;
}

.nav-item-has-dropdown:hover .nav-chevron,
.nav-item-has-dropdown.is-open .nav-chevron {
  transform: rotate(180deg);
  opacity: 1;
}

/* Dropdown panel */
.nav-dropdown {
  position: absolute;
  top: calc(100% + 0.5rem);
  left: 50%;
  transform: translateX(-50%) translateY(6px);
  min-width: 210px;
  background: rgba(8, 17, 38, 0.97);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
  z-index: 200;
  box-shadow: 0 16px 40px rgba(0,0,0,0.4);
}

/* Invisible bridge: fills the gap between nav link and dropdown panel so mouse hover doesn't break */
.nav-dropdown::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 0;
  right: 0;
  height: 14px;
  background: transparent;
}

.nav-dropdown::after {
  content: "";
  position: absolute;
  top: -10px;
  left: 50%;
  transform: translateX(-50%);
  border: 5px solid transparent;
  border-bottom-color: rgba(8, 17, 38, 0.97);
}

.nav-item-has-dropdown:hover .nav-dropdown,
.nav-item-has-dropdown.is-open .nav-dropdown {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 0.9rem;
  border-radius: 0.5rem;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.78);
  transition: background 0.15s ease, color 0.15s ease;
  white-space: nowrap;
  /* override main-nav a::after underline for dropdown items */
  padding-bottom: 0.65rem;
}

.nav-dropdown a::after { display: none !important; }

.nav-dropdown a:hover {
  background: rgba(52,194,140,0.12);
  color: var(--emerald-400);
}

.nav-dropdown-icon {
  width: 16px;
  height: 16px;
  color: var(--emerald-400);
  flex-shrink: 0;
}

/* Mobile dropdown sub-items */
.mobile-sub-item {
  padding-left: 1.5rem !important;
  font-size: 0.82rem !important;
  color: rgba(255,255,255,0.6) !important;
  border-left: 2px solid rgba(52,194,140,0.4);
  margin-left: 0.75rem;
  margin-bottom: 0.15rem;
}

.mobile-sub-item:hover {
  color: var(--emerald-400) !important;
  border-left-color: var(--emerald-400);
}


.hero {
  position: relative;
  overflow: hidden;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding-top: calc(var(--header-height) + 3rem);
  padding-bottom: 6rem;
  background-size: cover;
  background-position: center right;
  background-repeat: no-repeat;
}

/* Left-to-right gradient: text side opaque → image side clear */
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    105deg,
    rgba(5,11,22,0.98)  0%,
    rgba(5,11,22,0.95)  30%,
    rgba(5,11,22,0.72)  55%,
    rgba(5,11,22,0.18)  78%,
    rgba(5,11,22,0.04)  100%
  );
  z-index: 0;
  pointer-events: none;
}

/* Subtle dot-grid texture overlay */
.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 28px 28px;
  z-index: 0;
  pointer-events: none;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 640px;
}

/* Pulsing eyebrow dot */
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--emerald-300);
}

.hero-eyebrow-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--emerald-400);
  position: relative;
  flex-shrink: 0;
}

.hero-eyebrow-dot::before {
  content: "";
  position: absolute;
  inset: -4px;
  border-radius: 50%;
  background: rgba(52,194,140,0.35);
  animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
  0%, 100% { transform: scale(1);   opacity: 0.8; }
  50%       { transform: scale(1.7); opacity: 0; }
}

/* Hero headline */
.hero-h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
  color: #ffffff;
  margin-top: 1.1rem;
}

.hero-h1-highlight {
  color: var(--emerald-400);
  position: relative;
  display: inline-block;
}

/* Underline accent on highlighted word */
.hero-h1-highlight::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, var(--emerald-500), transparent);
  border-radius: 2px;
}

.hero-desc {
  margin-top: 1.4rem;
  font-size: 1rem;
  line-height: 1.75;
  color: rgba(255,255,255,0.72);
  max-width: 32rem;
}

/* Trust badge */
.hero-trust {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1.5rem;
  padding: 0.45rem 0.9rem;
  border-radius: 999px;
  background: rgba(52,194,140,0.12);
  border: 1px solid rgba(52,194,140,0.3);
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--emerald-300);
  letter-spacing: 0.03em;
}

.hero-trust svg { flex-shrink: 0; }

/* CTA row */
.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-top: 2rem;
}

/* Stats row */
.hero-stats {
  display: flex;
  flex-wrap: wrap;
  gap: 0;
  margin-top: 2.5rem;
  padding-top: 2rem;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.hero-stat {
  padding-right: 1.75rem;
  margin-right: 1.75rem;
  border-right: 1px solid rgba(255,255,255,0.12);
}

.hero-stat:last-child {
  border-right: none;
  margin-right: 0;
  padding-right: 0;
}

.hero-stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 800;
  color: var(--emerald-400);
  line-height: 1;
}

.hero-stat-label {
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: rgba(255,255,255,0.45);
  margin-top: 0.3rem;
}

/* Animated route line — decorative SVG */
.hero-route-svg {
  position: absolute;
  right: 0;
  bottom: 5rem;
  width: min(42vw, 480px);
  z-index: 1;
  opacity: 0.55;
  pointer-events: none;
}

/* Scroll indicator */
.hero-scroll {
  position: absolute;
  bottom: 1.75rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  color: rgba(255,255,255,0.4);
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  animation: bounce-down 2.2s ease-in-out infinite;
}

.hero-scroll svg { width: 18px; height: 18px; }

@keyframes bounce-down {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(6px); }
}

/* Mobile tweaks */
@media (max-width: 600px) {
  .hero { min-height: auto; padding-bottom: 4rem; }
  .hero-stat { padding-right: 1.1rem; margin-right: 1.1rem; }
  .hero-stat-value { font-size: 1.35rem; }
  .hero-route-svg { display: none; }
  .hero-scroll { display: none; }
}

.page-hero {
  position: relative;
  overflow: hidden;
  padding-top: calc(var(--header-height) + 4rem);
  padding-bottom: 5rem;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

/* Overlay for page heroes with background images */
.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(5, 11, 22, 0.75);
  z-index: 0;
  pointer-events: none;
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.page-hero p.lede { max-width: 640px; margin-top: 1.25rem; }

/* 8. CARDS / GLASS ------------------------------------------------ */
.card {
  border: 1px solid rgba(11,19,32,0.08);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: 0 1px 2px rgba(11,19,32,0.04);
  background: var(--white);
}

.glass {
  background: rgba(255,255,255,0.06);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  color: var(--white);
}

.panel-dark {
  background: var(--navy-950);
  color: var(--white);
  border-radius: var(--radius-xl);
  padding: 2.5rem;
}

.icon-circle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.75rem;
  height: 2.75rem;
}

.tag {
  display: inline-flex;
  padding: 0.3rem 0.75rem;
  border-radius: 999px;
  background: rgba(14,165,113,0.1);
  color: var(--emerald-600);
  font-size: 0.75rem;
  font-weight: 600;
}

.section--dark .tag,
.section--navy .tag {
  background: rgba(255,255,255,0.1);
  color: var(--white);
}

/* 9. STATS ----------------------------------------------------------- */
.stat-block { text-align: center; }

.stat-value {
  font-family: var(--font-display);
  font-size: 2.25rem;
  font-weight: 700;
  color: var(--emerald-400);
}

@media (min-width: 900px) { .stat-value { font-size: 3rem; } }

.stat-label {
  margin-top: 0.5rem;
  font-size: 0.85rem;
  color: rgba(255,255,255,0.6);
}

/* 10. PROCESS ---------------------------------------------------------- */
.process-step { text-align: center; position: relative; }

.process-number {
  width: 3rem;
  height: 3rem;
  margin-inline: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  background: var(--navy-950);
  color: var(--emerald-400);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
}

.section--navy .process-number,
.section--dark .process-number { background: rgba(255,255,255,0.1); }

.process-step h3 { margin-top: 1rem; font-size: 0.9rem; }
.process-step p { margin-top: 0.5rem; font-size: 0.8rem; color: var(--ink-500); }
.section--navy .process-step p,
.section--dark .process-step p { color: rgba(255,255,255,0.6); }

/* 11. FOOTER --------------------------------------------------------------- */
.site-footer { background: var(--navy-950); color: var(--white); }

.site-footer .brand img { height: 48px; }

.footer-grid {
  display: grid;
  gap: 2.5rem;
  padding-block: 4rem;
}

@media (min-width: 640px) { .footer-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 1024px) { .footer-grid { grid-template-columns: repeat(4, 1fr); } }

.footer-heading {
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--emerald-400);
}

.footer-grid p { color: rgba(255,255,255,0.6); font-size: 0.9rem; }

.footer-links { margin-top: 1rem; }
.footer-links li { margin-bottom: 0.65rem; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.7); transition: color 0.2s ease; }
.footer-links a:hover { color: var(--white); }

.footer-contact { margin-top: 1rem; }
.footer-contact li { display: flex; gap: 0.65rem; margin-bottom: 0.85rem; font-size: 0.875rem; color: rgba(255,255,255,0.7); align-items: flex-start; }
.footer-contact li svg { flex-shrink: 0; margin-top: 0.15rem; color: var(--emerald-400); }
.footer-contact a:hover { color: var(--white); }

.footer-social { display: flex; gap: 0.75rem; margin-top: 1.25rem; }
.footer-social a {
  width: 2.25rem; height: 2.25rem;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(255,255,255,0.15); border-radius: 50%;
  color: rgba(255,255,255,0.7);
  transition: border-color 0.2s ease, color 0.2s ease;
}
.footer-social a:hover { border-color: var(--emerald-400); color: var(--emerald-400); }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-block: 1.5rem;
  font-size: 0.75rem;
  color: rgba(255,255,255,0.5);
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  text-align: center;
  flex-wrap: wrap;
}

@media (min-width: 640px) {
  .footer-bottom {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    text-align: left;
  }
}

/* 12. WHATSAPP FLOAT --------------------------------------------------------- */
.whatsapp-float {
  position: fixed;
  bottom: 1.5rem;
  right: 1.5rem;
  z-index: 900;
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: #25d366;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: transform 0.25s ease;
}

.whatsapp-float:hover { transform: scale(1.1); }
.whatsapp-float svg { width: 28px; height: 28px; fill: #fff; }

/* 13. FORMS ------------------------------------------------------------------ */
.form-row { display: grid; gap: 1.25rem; }

@media (min-width: 640px) { .form-row.two-col { grid-template-columns: 1fr 1fr; } }

.field { display: flex; flex-direction: column; gap: 0.4rem; }

.field label { font-size: 0.875rem; font-weight: 500; color: var(--navy-900); }

.field input, .field select, .field textarea {
  border: 1px solid rgba(11,19,32,0.15);
  border-radius: 0.75rem;
  padding: 0.8rem 1rem;
  font-size: 0.9rem;
  background: var(--white);
  transition: border-color 0.2s ease;
}

.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--emerald-500);
  outline: none;
}

.field textarea { resize: vertical; min-height: 130px; }

.form-success {
  display: none;
  text-align: center;
  padding: 3rem 1.5rem;
  background: rgba(14,165,113,0.08);
  border-radius: var(--radius-lg);
}

.form-success.is-visible { display: block; }

.form-success svg { color: var(--emerald-600); width: 36px; height: 36px; }

.form-error {
  display: none;
  color: #c0392b;
  font-size: 0.875rem;
  margin-top: 0.5rem;
}

.form-error.is-visible { display: block; }

/* 13b. IMAGE MEDIA BLOCKS ------------------------------------------------------- */
.media-3-2 {
  aspect-ratio: 3 / 2;
  overflow: hidden;
  border-radius: var(--radius-lg);
}

.media-4-3 {
  aspect-ratio: 4 / 3;
  overflow: hidden;
  border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.media-cover {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.card-media {
  margin: -1.75rem -1.75rem 1.25rem -1.75rem;
}

/* 14. GALLERY ----------------------------------------------------------------- */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 768px) { .gallery-grid { grid-template-columns: repeat(3, 1fr); } }

.gallery-tile {
  aspect-ratio: 1 / 1;
  border-radius: var(--radius-md);
  background: var(--navy-950);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  text-align: center;
  padding: 1.25rem;
  color: rgba(255,255,255,0.65);
  font-size: 0.8rem;
}

.gallery-tile svg { color: rgba(52,194,140,0.7); width: 28px; height: 28px; }

/* 15. ANIMATIONS / REVEAL ------------------------------------------------------- */
[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s cubic-bezier(0.21,0.47,0.32,0.98), transform 0.6s cubic-bezier(0.21,0.47,0.32,0.98);
}

[data-reveal].is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  [data-reveal] { opacity: 1; transform: none; transition: none; }
}

@keyframes float-slow {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-12px); }
}

.route-line { stroke-dasharray: 6 6; animation: route-dash 3s linear infinite; }

@keyframes route-dash { to { stroke-dashoffset: -24; } }

@media (prefers-reduced-motion: reduce) {
  .hero-art-frame, .route-line { animation: none; }
}

/* 16. MISC RESPONSIVE HELPERS ---------------------------------------------------- */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mt-4 { margin-top: 2rem; }
.mt-5 { margin-top: 2.5rem; }
.mt-6 { margin-top: 3rem; }

.divide > * + * { border-top: 1px solid rgba(11,19,32,0.08); padding-top: 1.25rem; margin-top: 1.25rem; }
.section--dark .divide > * + *,
.section--navy .divide > * + * { border-top-color: rgba(255,255,255,0.1); }

/* IMAGE SLIDER -------------------------------------------------------------- */
.img-slider {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  background: var(--navy-950);
}

.img-slider-track {
  display: flex;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
}

.img-slider-slide {
  flex: 0 0 100%;
  width: 100%;
}

.img-slider-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Prev / Next arrows */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  border: none;
  background: rgba(5, 11, 22, 0.65);
  backdrop-filter: blur(6px);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-btn:hover {
  background: var(--emerald-600);
  transform: translateY(-50%) scale(1.08);
}

.slider-btn svg { width: 18px; height: 18px; pointer-events: none; }
.slider-btn-prev { left: 0.6rem; }
.slider-btn-next { right: 0.6rem; }

/* Dot indicators */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.75rem 0 0.25rem;
}

.slider-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  border: none;
  background: rgba(11,19,32,0.2);
  cursor: pointer;
  padding: 0;
  transition: background 0.2s ease, transform 0.2s ease;
}

.slider-dot.is-active {
  background: var(--emerald-500);
  transform: scale(1.25);
}

/* Slide count for country hero sliders (shown inside image) */
.slider-counter {
  position: absolute;
  bottom: 0.75rem;
  right: 0.75rem;
  background: rgba(5, 11, 22, 0.65);
  backdrop-filter: blur(4px);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  z-index: 10;
  pointer-events: none;
}

/* BG IMAGE OVERLAY ----------------------------------------------------------
   JS (script.js) একটা .bg-layer div inject করে প্রতিটা
   .has-bg-img section-এ। ছবি এবং slideshow সব JS-এ control হয়।
   Opacity: css/site-images.css এ পরিবর্তন করুন।
   Images:  js/bg-images.js এ যোগ/বাদ দিন।              */
.has-bg-img {
  position: relative;
  isolation: isolate;
}

.bg-layer {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  transition: background-image 1.2s ease;
  pointer-events: none;
  z-index: 0;
}

.has-bg-img > .container,
.has-bg-img > *:not(.bg-layer) {
  position: relative;
  z-index: 1;
}

/* DOCUMENT VIEWER MODAL ----------------------------------------------------- */
.doc-viewer-modal {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(5, 11, 22, 0.93);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.doc-viewer-modal.is-open {
  opacity: 1;
  pointer-events: all;
}

.doc-viewer-inner {
  position: relative;
  width: 100%;
  max-width: 900px;
  max-height: 92vh;
  background: var(--navy-800, #0f2247);
  border-radius: var(--radius-xl);
  border: 1px solid rgba(255,255,255,0.1);
  box-shadow: 0 24px 80px rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: scale(0.95);
  transition: transform 0.3s ease;
}

.doc-viewer-modal.is-open .doc-viewer-inner {
  transform: scale(1);
}

.doc-viewer-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  flex-shrink: 0;
}

.doc-viewer-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.doc-viewer-title svg { color: var(--emerald-400); }

.doc-viewer-close {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: transparent;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.doc-viewer-close:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.doc-viewer-body {
  flex: 1;
  overflow: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem;
  min-height: 300px;
  user-select: none;
  -webkit-user-select: none;
}

.doc-viewer-body img {
  max-width: 100%;
  max-height: 68vh;
  object-fit: contain;
  border-radius: 0.5rem;
  pointer-events: none;
  -webkit-user-drag: none;
  user-select: none;
  display: block;
}

.doc-viewer-body embed,
.doc-viewer-body iframe {
  width: 100%;
  height: 68vh;
  border: none;
  border-radius: 0.5rem;
}

.doc-viewer-notice {
  padding: 0.6rem 1.5rem;
  background: rgba(14,165,113,0.08);
  border-top: 1px solid rgba(14,165,113,0.15);
  font-size: 0.7rem;
  color: rgba(255,255,255,0.4);
  text-align: center;
  flex-shrink: 0;
}

/* Make doc-tiles clearly clickable */
.doc-tile[data-doc-src] {
  cursor: pointer;
}

.doc-tile[data-doc-src]:hover {
  border-color: var(--emerald-400);
  box-shadow: 0 0 0 3px rgba(52,194,140,0.15);
}

/* DOCUMENT / CREDENTIAL TILES ----------------------------------------------- */
.doc-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

@media (min-width: 640px)  { .doc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 900px)  { .doc-grid { grid-template-columns: repeat(4, 1fr); } }

.doc-tile {
  border: 1px solid var(--border-card, rgba(11,19,32,0.08));
  border-radius: var(--radius-lg);
  background: var(--bg-card, #fff);
  padding: 1.5rem 1.25rem;
  text-align: center;
  cursor: pointer;
  transition: box-shadow 0.25s ease, transform 0.25s ease, border-color 0.25s ease;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
}

.doc-tile:hover {
  box-shadow: 0 8px 28px rgba(11,19,32,0.1);
  transform: translateY(-3px);
  border-color: var(--emerald-400);
}

.doc-tile svg { color: var(--emerald-500); flex-shrink: 0; }

.doc-tile h3 {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--ink-900);
  line-height: 1.4;
}

.doc-tile p {
  font-size: 0.75rem;
  color: var(--ink-500);
  line-height: 1.5;
}

.doc-tile .doc-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  font-weight: 600;
  padding: 0.25rem 0.6rem;
  border-radius: 999px;
  background: rgba(14,165,113,0.1);
  color: var(--emerald-600);
}

/* DEMAND LETTER ACCORDION --------------------------------------------------- */

/* Country card — clickable header */
.dl-country-card {
  border: 1px solid var(--border-card, rgba(11,19,32,0.08));
  border-radius: var(--radius-lg);
  background: var(--bg-card, #fff);
  overflow: hidden;
  transition: box-shadow 0.25s ease;
}

.dl-country-card.is-open {
  box-shadow: 0 8px 28px rgba(11,19,32,0.1);
}

.dl-country-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  cursor: pointer;
  user-select: none;
  gap: 1rem;
  transition: background 0.2s ease;
}

.dl-country-header:hover {
  background: rgba(14,165,113,0.04);
}

.dl-country-header-left {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  min-width: 0;
}

.dl-country-header-right {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

.dl-chevron {
  width: 18px;
  height: 18px;
  color: var(--ink-400, #8a94a8);
  transition: transform 0.3s ease;
  flex-shrink: 0;
}

.dl-country-card.is-open .dl-chevron {
  transform: rotate(180deg);
}

/* Accordion panel */
.dl-panel {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.dl-country-card.is-open .dl-panel {
  max-height: 600px;
}

.dl-panel-inner {
  border-top: 1px solid var(--border-card, rgba(11,19,32,0.08));
  padding: 1rem 1.5rem 1.25rem;
}

/* Company list inside panel */
.dl-company-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.dl-company-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card, rgba(11,19,32,0.08));
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--ink-900);
  background: transparent;
  text-align: left;
  width: 100%;
}

.dl-company-item:hover {
  background: rgba(14,165,113,0.06);
  border-color: var(--emerald-400);
  color: var(--emerald-600);
}

.dl-company-item svg {
  color: var(--emerald-500);
  flex-shrink: 0;
}

/* Empty state */
.dl-empty {
  font-size: 0.8rem;
  color: var(--ink-400, #8a94a8);
  font-style: italic;
  padding: 0.25rem 0;
}

/* Sector tags inside header */
.dl-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.35rem;
}

/* Dark mode */
[data-theme="dark"] .dl-country-card {
  background: var(--bg-card);
  border-color: var(--border-card);
}

[data-theme="dark"] .dl-country-header:hover {
  background: rgba(52,194,140,0.06);
}

[data-theme="dark"] .dl-company-item {
  color: var(--text-primary);
  border-color: var(--border-card);
}

[data-theme="dark"] .dl-company-item:hover {
  background: rgba(52,194,140,0.08);
  border-color: var(--emerald-400);
  color: var(--emerald-400);
}

/* Confidential doc-tile variant */
.doc-tile--confidential {
  cursor: pointer;
}

.doc-tile--confidential:hover {
  border-color: var(--emerald-400);
  box-shadow: 0 8px 28px rgba(11,19,32,0.1);
  transform: translateY(-3px);
}

.doc-badge--confidential {
  background: rgba(234, 179, 8, 0.12);
  color: #b45309;
}

[data-theme="dark"] .doc-badge--confidential {
  background: rgba(234, 179, 8, 0.15);
  color: #fbbf24;
}

/* MOU ACCESS REQUEST MODAL -------------------------------------------------- */
.mou-request-modal {
  position: fixed;
  inset: 0;
  z-index: 1100;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  background: rgba(5, 11, 22, 0.75);
  backdrop-filter: blur(4px);
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.mou-request-modal.is-open {
  opacity: 1;
  pointer-events: auto;
}

.mou-request-inner {
  background: var(--bg-card, #fff);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 460px;
  box-shadow: 0 24px 64px rgba(5,11,22,0.35);
  transform: translateY(20px) scale(0.97);
  transition: transform 0.3s ease;
  overflow: hidden;
}

.mou-request-modal.is-open .mou-request-inner {
  transform: translateY(0) scale(1);
}

.mou-request-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid var(--border-card, rgba(11,19,32,0.08));
}

.mou-request-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--ink-900);
  font-family: var(--font-display);
}

.mou-request-title svg { color: var(--emerald-500); }

.mou-request-close {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid var(--border-card, rgba(11,19,32,0.08));
  background: transparent;
  color: var(--ink-500);
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
  flex-shrink: 0;
}

.mou-request-close:hover {
  background: rgba(11,19,32,0.06);
  color: var(--ink-900);
}

.mou-request-body {
  padding: 1.5rem;
}

.mou-request-note {
  font-size: 0.85rem;
  color: var(--ink-500);
  line-height: 1.6;
  padding: 0.75rem 1rem;
  background: rgba(234,179,8,0.07);
  border-left: 3px solid #f59e0b;
  border-radius: 0 var(--radius-sm) var(--radius-sm) 0;
}

.mou-request-error {
  font-size: 0.8rem;
  color: #dc2626;
  margin-top: 0.75rem;
  display: none;
}

.mou-request-error.is-visible {
  display: block;
}

.mou-request-success {
  display: none;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 1rem 0 0.5rem;
}

.mou-request-success.is-visible {
  display: flex;
}

.mou-request-success svg { color: var(--emerald-500); }

[data-theme="dark"] .mou-request-inner { background: var(--bg-card); }
[data-theme="dark"] .mou-request-title { color: var(--text-primary); }
[data-theme="dark"] .mou-request-note  { background: rgba(234,179,8,0.08); }

/* THEME TOGGLE BUTTON ------------------------------------------------------- */
.theme-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.2);
  background: var(--theme-toggle-bg, rgba(255,255,255,0.1));
  color: #fff;
  cursor: pointer;
  transition: background 0.25s ease, border-color 0.25s ease, transform 0.2s ease;
  flex-shrink: 0;
}

.theme-toggle:hover {
  background: rgba(52,194,140,0.2);
  border-color: var(--emerald-400);
  transform: rotate(20deg);
}

.theme-toggle svg { width: 18px; height: 18px; }

/* Country cards — 2 col (image + info) on desktop */
@media (min-width: 760px) {
  .country-card {
    grid-template-columns: 1fr 1.3fr !important;
    align-items: center;
  }
}

/* Management message section — 2 col on desktop */
@media (min-width: 760px) {
  .management-grid {
    grid-template-columns: 220px 1fr !important;
  }
}

/* TIMELINE ------------------------------------------------------------------ */
.timeline {
  position: relative;
  padding: 2rem 0;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom,
    transparent 0%,
    var(--emerald-500) 8%,
    var(--emerald-500) 92%,
    transparent 100%);
  transform: translateX(-50%);
}

.timeline-entry {
  display: flex;
  justify-content: flex-end;
  padding-right: calc(50% + 2.5rem);
  padding-bottom: 3.5rem;
  position: relative;
  width: 100%;
}

.timeline-entry:last-child { padding-bottom: 0; }

.timeline-entry:nth-child(even) {
  justify-content: flex-start;
  padding-right: 0;
  padding-left: calc(50% + 2.5rem);
}

.timeline-card {
  background: var(--white);
  border: 1px solid rgba(11,19,32,0.08);
  border-radius: var(--radius-lg);
  padding: 1.5rem 1.75rem;
  box-shadow: 0 2px 12px rgba(11,19,32,0.06);
  max-width: 380px;
  width: 100%;
  position: relative;
  transition: box-shadow 0.25s ease, transform 0.25s ease;
}

.timeline-card:hover {
  box-shadow: 0 8px 32px rgba(11,19,32,0.1);
  transform: translateY(-3px);
}

.timeline-card::after {
  content: "";
  position: absolute;
  top: 1.4rem;
  right: -10px;
  border: 10px solid transparent;
  border-left-color: var(--white);
}

.timeline-entry:nth-child(even) .timeline-card::after {
  right: auto;
  left: -10px;
  border-left-color: transparent;
  border-right-color: var(--white);
}

.timeline-card::before {
  content: "";
  position: absolute;
  top: 1.28rem;
  right: -13px;
  border: 12px solid transparent;
  border-left-color: rgba(11,19,32,0.08);
}

.timeline-entry:nth-child(even) .timeline-card::before {
  right: auto;
  left: -13px;
  border-left-color: transparent;
  border-right-color: rgba(11,19,32,0.08);
}

.timeline-badge {
  position: absolute;
  left: 50%;
  top: 1.1rem;
  transform: translateX(-50%);
  width: 3.5rem;
  height: 3.5rem;
  border-radius: 50%;
  background: var(--navy-950);
  border: 3px solid var(--emerald-500);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.65rem;
  color: var(--emerald-400);
  z-index: 2;
  box-shadow: 0 0 0 6px rgba(14,165,113,0.12);
}

.timeline-year {
  color: var(--emerald-500);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  margin-bottom: 0.4rem;
}

.timeline-text {
  font-size: 0.9rem;
  line-height: 1.65;
  color: var(--ink-500);
}

@media (max-width: 700px) {
  .timeline::before {
    left: 1.5rem;
    transform: none;
  }

  .timeline-entry,
  .timeline-entry:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 4.5rem;
  }

  .timeline-badge {
    left: 1.5rem;
    transform: translateX(-50%);
    width: 3rem;
    height: 3rem;
    font-size: 0.6rem;
  }

  .timeline-card { max-width: 100%; }

  .timeline-card::after,
  .timeline-entry:nth-child(even) .timeline-card::after {
    right: auto;
    left: -10px;
    border-left-color: transparent;
    border-right-color: var(--white);
  }

  .timeline-card::before,
  .timeline-entry:nth-child(even) .timeline-card::before {
    right: auto;
    left: -13px;
    border-left-color: transparent;
    border-right-color: rgba(11,19,32,0.08);
  }
}
