/* ============================================================
   BENCH BUSINESS ADVISORY — DESIGN SYSTEM v3
   Brand: #F9F9FA base · #0B4E8F blue
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400&family=Cairo:wght@300;400;500;600;700;800;900&display=swap');

/* === TOKENS === */
:root {
  --bg:          #F9F9FA;
  --blue:        #0B4E8F;
  --blue-dark:   #073A6B;
  --blue-mid:    #1464B4;
  --blue-light:  #DCEcFF;
  --blue-pale:   #EEF5FF;
  --text:        #0D1B2E;
  --text-mid:    #3D5166;
  --text-light:  #7A92A8;
  --border:      #DDE5F0;
  --border-mid:  #C4D4E8;
  --white:       #FFFFFF;
  --shadow-xs:   0 1px 4px rgba(11,78,143,.06);
  --shadow-sm:   0 4px 24px rgba(11,78,143,.09);
  --shadow:      0 12px 48px rgba(11,78,143,.14);
  --shadow-lg:   0 24px 80px rgba(11,78,143,.20);
  --shadow-glow: 0 0 0 1px rgba(11,78,143,.08), 0 16px 56px rgba(11,78,143,.18);
  --radius-xs:   6px;
  --radius-sm:   10px;
  --radius:      18px;
  --radius-lg:   28px;
  --nav-h:       76px;
  --ease:        cubic-bezier(.4,0,.2,1);
  --ease-spring: cubic-bezier(.34,1.56,.64,1);
  --ease-out:    cubic-bezier(0,0,.2,1);
}

/* === RESET === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'IBM Plex Sans', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Arabic mode */
body.lang-ar { font-family: 'Cairo', sans-serif; direction: rtl; text-align: right; }
body.lang-ar .en, body.lang-en .ar { display: none !important; }
body.lang-ar .ar, body.lang-en .en { display: block; }
span.ar, span.en, a.ar, a.en { display: none; }
body.lang-ar span.ar, body.lang-ar a.ar { display: inline; }
body.lang-en span.en, body.lang-en a.en { display: inline; }

/* === GRAIN OVERLAY === */
body::after {
  content: '';
  position: fixed; inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='300' height='300'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='300' height='300' filter='url(%23n)' opacity='.025'/%3E%3C/svg%3E");
  pointer-events: none; z-index: 9999; opacity: .6;
}

/* === TYPOGRAPHY === */
h1,h2,h3,h4,h5 { font-weight: 700; line-height: 1.18; color: var(--text); }
body.lang-ar h1, body.lang-ar h2, body.lang-ar h3, body.lang-ar h4 { font-weight: 800; line-height: 1.28; letter-spacing: 0; }
h1 { font-size: clamp(2.6rem, 5.2vw, 4.6rem); letter-spacing: -0.03em; }
h2 { font-size: clamp(2rem, 3.4vw, 3rem); letter-spacing: -0.022em; }
h3 { font-size: clamp(1.15rem, 2vw, 1.55rem); letter-spacing: -0.012em; }
p { max-width: 66ch; line-height: 1.82; color: var(--text-mid); }
a { color: inherit; }

.label {
  display: inline-flex; align-items: center; gap: .5rem;
  font-size: .7rem; font-weight: 700;
  letter-spacing: .16em; text-transform: uppercase;
  color: var(--blue);
}
.label::before {
  content: '';
  display: inline-block; width: 18px; height: 2px;
  background: var(--blue); border-radius: 2px; flex-shrink: 0;
}
body.lang-ar .label { letter-spacing: 0; font-size: .82rem; flex-direction: row-reverse; }

/* Phone numbers always LTR — never reversed by RTL page direction */
[href^="tel:"] { direction: ltr; unicode-bidi: embed; display: inline-block; }

/* === LAYOUT === */
.container { width: min(1320px, 100% - 3rem); margin-inline: auto; }
.section { padding-block: 72px; }

/* === SCROLL PROGRESS === */
.scroll-progress {
  position: fixed; top: 0; left: 0; right: 0;
  height: 2px; background: linear-gradient(90deg, var(--blue), var(--blue-mid));
  transform-origin: left; transform: scaleX(0);
  z-index: 200; transition: transform .06s linear;
}

/* === NAV === */
.nav {
  position: fixed; top: 0; inset-inline: 0;
  height: var(--nav-h); z-index: 100;
  display: flex; align-items: center;
  /* iOS safe-area: nav background extends into status bar area */
  padding-top: env(safe-area-inset-top, 0px);
  /* Always visible — stands out from both light and dark sections */
  background: rgba(255,255,255,.95);
  backdrop-filter: blur(28px) saturate(1.9);
  -webkit-backdrop-filter: blur(28px) saturate(1.9);
  box-shadow: 0 1px 0 rgba(0,0,0,.08), 0 2px 16px rgba(0,0,0,.05);
  transition: background 280ms var(--ease), box-shadow 280ms var(--ease);
}
.nav.scrolled {
  background: rgba(249,249,250,.97);
  box-shadow: 0 1px 0 var(--border), var(--shadow-xs);
}
/* 3-column grid: logo | truly-centered links | lang-btn — forced LTR so layout is identical in both languages */
.nav-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  width: 100%;
  direction: ltr;
  padding-inline: 1.75rem; /* insets logo and lang-btn slightly away from container edges */
}
.nav-logo  { justify-self: start; }
.nav-actions { justify-self: end; }

.nav-logo { text-decoration: none; display: flex; align-items: center; flex-shrink: 0; margin-inline-start: -0.5rem; }
.nav-logo img { height: 34px; width: auto; display: block; object-fit: contain; }

/* Nav links: LTR in English, RTL in Arabic (reverses visual order automatically) */
.nav-links { display: flex; align-items: center; gap: 2rem; list-style: none; }
body.lang-ar .nav-links { direction: rtl; }
.nav-links a {
  text-decoration: none; font-size: .86rem; font-weight: 600;
  color: var(--text-mid); position: relative; padding-bottom: 3px;
  transition: color 220ms var(--ease); white-space: nowrap;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 0;
  height: 2px; background: var(--blue); border-radius: 2px;
  transform: scaleX(0); transform-origin: left;
  transition: transform 240ms var(--ease);
}
body.lang-ar .nav-links a::after { transform-origin: right; }
.nav-links a:hover, .nav-links a.active { color: var(--blue); }
.nav-links a:hover::after, .nav-links a.active::after { transform: scaleX(1); }

.nav-actions { display: flex; align-items: center; gap: .875rem; }
.lang-btn {
  background: none; border: 1.5px solid var(--border-mid);
  border-radius: 50px; padding: .38rem 1rem;
  font-size: .76rem; font-weight: 700; letter-spacing: .07em;
  cursor: pointer; color: var(--text-mid); font-family: inherit;
  transition: all 220ms var(--ease);
}
.lang-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }
.nav-cta {
  background: var(--blue); color: #fff !important;
  border-radius: 50px; padding: .52rem 1.5rem !important;
  font-size: .84rem !important; font-weight: 700 !important;
  transition: all 220ms var(--ease) !important;
  white-space: nowrap; box-shadow: 0 4px 16px rgba(11,78,143,.28) !important;
}
.nav-cta::after { display: none !important; }
.nav-cta:hover { background: var(--blue-dark) !important; transform: translateY(-1px); box-shadow: 0 8px 24px rgba(11,78,143,.38) !important; }

.hamburger { display: none; flex-direction: column; gap: 5px; background: none; border: none; cursor: pointer; padding: 6px; }
.hamburger span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 260ms var(--ease); }
/* Mobile nav — floating rounded panel */
.mobile-backdrop {
  display: none; position: fixed; inset: 0;
  background: rgba(7,26,55,.35);
  backdrop-filter: blur(3px); -webkit-backdrop-filter: blur(3px);
  z-index: 100;
}
.mobile-backdrop.open { display: block; }

.mobile-close {
  position: absolute; top: 1rem; inset-inline-end: 1rem;
  background: var(--blue-pale); border: none;
  border-radius: 50%; width: 34px; height: 34px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; font-size: .85rem; color: var(--blue-dark);
  transition: background 200ms;
}
.mobile-close:hover { background: var(--blue-light); }

.mobile-nav {
  position: fixed;
  top: calc(60px + 12px + 10px);
  inset-inline: 1rem;
  width: auto;
  background: #fff;
  border-radius: 22px;
  z-index: 101;
  display: flex; flex-direction: column;
  padding: 1.25rem 1.5rem 1.5rem;
  box-shadow: 0 24px 64px rgba(7,26,55,.18), 0 4px 16px rgba(7,26,55,.08);
  border: 1px solid var(--border);
  /* Blue accent top bar */
  border-top: 3px solid var(--blue);
  /* Hidden state */
  opacity: 0; pointer-events: none; visibility: hidden;
  transform: translateY(-10px) scale(0.97);
  transform-origin: top right;
  transition: opacity 240ms var(--ease), transform 240ms var(--ease), visibility 240ms;
}
.mobile-nav.open {
  opacity: 1; pointer-events: auto; visibility: visible;
  transform: translateY(0) scale(1);
}
/* Close button inside panel */
.mobile-nav .mobile-close {
  position: absolute; top: .9rem; inset-inline-end: 1rem;
}
/* Spacer so first link clears the close button */
.mobile-nav > a:first-of-type { margin-top: 2rem; }
/* Nav links */
.mobile-nav a {
  font-size: 1rem; font-weight: 600; text-decoration: none;
  color: var(--text-mid);
  padding: .875rem 0;
  border-bottom: 1px solid var(--border);
  transition: color 180ms, padding-inline-start 180ms;
  display: block; width: 100%;
}
body.lang-ar .mobile-nav a { text-align: right; }
body.lang-en .mobile-nav a { text-align: left; }
.mobile-nav a:last-of-type { border-bottom: none; }
.mobile-nav a:hover { color: var(--blue); padding-inline-start: .35rem; }
/* Contact link styled as a blue pill */
.mobile-nav a[href="contact.html"] {
  margin-top: 1.25rem;
  background: var(--blue); color: #fff;
  border-radius: 50px; padding: .7rem 1.25rem;
  text-align: center; border: none;
  font-weight: 700; font-size: .92rem;
  box-shadow: 0 4px 16px rgba(11,78,143,.28);
}
.mobile-nav a[href="contact.html"]:hover {
  background: var(--blue-dark); padding-inline-start: 1.25rem;
}
/* Lang button inside panel */
.mobile-nav .lang-btn {
  margin-top: .75rem; align-self: flex-start;
  color: var(--text-mid); border-color: var(--border-mid); font-size: .76rem;
}
.mobile-nav .lang-btn:hover { border-color: var(--blue); color: var(--blue); background: var(--blue-pale); }
/* No decorative line needed */
.mobile-nav::before { display: none; }

/* === HERO === */
.hero {
  min-height: 100dvh; display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: stretch;
  padding-top: 0;
  position: relative; overflow: hidden;
  background: var(--bg);
}

.hero-left {
  position: relative; z-index: 2;
  padding-block: calc(var(--nav-h) + 48px) 60px;
  padding-inline: max(1.5rem, calc((100vw - 1320px)/2 + 1.5rem));
  padding-inline-end: 5rem;
  display: flex; flex-direction: column; justify-content: center;
  background: var(--bg);
}
/* Subtle radial light on left panel */
.hero-left::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(ellipse 80% 60% at 0% 60%, rgba(11,78,143,.05) 0%, transparent 65%);
  pointer-events: none;
}
.hero-right {
  position: relative;
  display: flex; align-items: center; justify-content: center;
  min-height: 100dvh; align-self: stretch;
}
body.lang-ar .hero { direction: rtl; }

.hero-eyebrow {
  display: inline-flex; align-items: center; gap: .625rem;
  margin-bottom: 2.25rem;
}
.hero-pill {
  display: inline-flex; align-items: center; gap: .5rem;
  background: rgba(11,78,143,.07);
  border: 1px solid rgba(11,78,143,.14);
  border-radius: 50px; padding: .42rem 1rem;
  font-size: .72rem; font-weight: 700; color: var(--blue);
  letter-spacing: .06em; text-transform: uppercase;
}
.hero-pill-dot {
  width: 7px; height: 7px; background: var(--blue);
  border-radius: 50%; flex-shrink: 0;
  animation: pulseDot 2.4s ease-in-out infinite;
}
@keyframes pulseDot { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.35;transform:scale(1.6)} }

.hero h1 { margin-bottom: 1.5rem; text-wrap: balance; }
.hero h1 em, .hero h1 .hero-accent {
  font-style: normal; color: transparent;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-mid) 100%);
  -webkit-background-clip: text; background-clip: text;
}
.hero-lead {
  font-size: 1.08rem; line-height: 1.85; color: var(--text-mid);
  margin-bottom: 2.5rem; max-width: 50ch;
}
.hero-actions { display: flex; align-items: center; gap: 1rem; flex-wrap: wrap; }
.hero-divider { width: 100%; height: 1px; background: var(--border); margin-block: 2.75rem; }
.hero-stats { display: flex; gap: 0; flex-wrap: nowrap; }
.hero-stat {
  padding-inline-end: 2.5rem;
  margin-inline-end: 2.5rem;
  border-inline-end: 1px solid var(--border);
}
.hero-stat:last-child { border-inline-end: none; margin-inline-end: 0; padding-inline-end: 0; }
.stat-num {
  font-size: 2.4rem; font-weight: 800; color: var(--blue);
  line-height: 1; margin-bottom: .35rem;
  font-variant-numeric: tabular-nums; letter-spacing: -0.03em;
}
.stat-label { font-size: .72rem; color: var(--text-light); font-weight: 600; text-transform: uppercase; letter-spacing: .08em; }
body.lang-ar .stat-label { letter-spacing: 0; text-transform: none; font-size: .82rem; }

/* Hero visual panel — dark navy */
.hero-visual {
  position: absolute; inset: 0;
  background: linear-gradient(160deg, #020D1A 0%, #041426 40%, #073A6B 85%, #0B4E8F 100%);
  overflow: hidden;
}
/* Fine grid lines */
.hero-visual::before {
  content: '';
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.028) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.028) 1px, transparent 1px);
  background-size: 52px 52px;
  pointer-events: none;
}
/* Radial glow from center-bottom */
.hero-visual::after {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 90% 55% at 50% 100%, rgba(11,78,143,.55) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 80% 20%, rgba(20,90,160,.2) 0%, transparent 60%);
  pointer-events: none;
}
.hero-visual-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}

/* Animated chart lines canvas */
.hero-chart {
  position: absolute; inset: 0;
  overflow: hidden; pointer-events: none;
}
.hero-chart-line {
  position: absolute; bottom: 0;
  width: 2px;
  background: linear-gradient(to top, rgba(11,78,143,.5), rgba(100,165,255,.25), transparent);
  transform-origin: bottom;
  animation: chartBar 3.5s var(--ease-out) forwards;
  opacity: 0;
}
@keyframes chartBar {
  from { transform: scaleY(0); opacity: 0; }
  to { transform: scaleY(1); opacity: 1; }
}
/* Trend line across chart */
.hero-trend-path {
  position: absolute; inset: 0; pointer-events: none;
  transform-origin: center center;
  transition: transform 0ms;
}
/* Trend line is identical in both languages — no mirror */

.hero-card-float {
  position: absolute;
  background: rgba(255,255,255,.07);
  backdrop-filter: blur(24px) saturate(1.4);
  -webkit-backdrop-filter: blur(24px) saturate(1.4);
  border: 1px solid rgba(255,255,255,.13);
  border-radius: var(--radius);
  padding: 1.6rem 1.9rem;
  box-shadow: 0 24px 64px rgba(0,0,0,.4), inset 0 1px 0 rgba(255,255,255,.08);
  will-change: transform;
}
/* Cards — LTR (English): rising trend from bottom-left to top-right */
/* Card positions aligned to SVG trend anchors: (220,430)=~62%y, (340,280)=~40%y, (490,150)=~21%y */
/* card-1: lower-left → SVG anchor at ~34%x, ~62%y */
.hero-card-float.card-1 { top: 72%; left: 5%; right: auto; min-width: 172px; }
/* card-3: center → SVG anchor at ~56%x, ~40%y */
.hero-card-float.card-3 { top: 44%; left: 50%; transform: translateX(-50%); right: auto; min-width: 188px; text-align: center; }
/* card-2: upper-right → SVG anchor at ~84%x, ~21%y */
.hero-card-float.card-2 { top: 21%; right: 5%; left: auto; min-width: 168px; }

/* Arabic: identical positions — trend line direction is the same in both languages */
body.lang-ar .hero-card-float.card-1 { left: 5%; right: auto; top: 72%; }
body.lang-ar .hero-card-float.card-3 { left: 50%; transform: translateX(-50%); top: 44%; }
body.lang-ar .hero-card-float.card-2 { left: auto; right: 5%; top: 21%; }

/* Pin connector: small line + dot below each card toward the trend */
.hero-card-float::after {
  content: '';
  position: absolute;
  bottom: -20px; left: 50%;
  width: 1px; height: 16px;
  background: linear-gradient(to bottom, rgba(255,255,255,.25), transparent);
  transform: translateX(-50%);
}
.hero-card-float::before {
  content: '';
  position: absolute;
  bottom: -28px; left: 50%;
  width: 5px; height: 5px; border-radius: 50%;
  background: rgba(100,165,255,.6);
  transform: translateX(-50%);
  box-shadow: 0 0 10px rgba(100,165,255,.55);
}
.float-card-label { font-size: .67rem; font-weight: 700; color: rgba(255,255,255,.45); margin-bottom: .3rem; text-transform: uppercase; letter-spacing: .09em; }
body.lang-ar .float-card-label { text-transform: none; letter-spacing: 0; font-size: .75rem; }
.float-card-value { font-size: 1.6rem; font-weight: 800; color: #fff; line-height: 1; letter-spacing: -0.02em; }
.float-card-sub { font-size: .7rem; color: rgba(255,255,255,.45); margin-top: .25rem; }
/* Icon inside card-3 */
.float-card-icon {
  width: 40px; height: 40px;
  background: rgba(11,78,143,.5); border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto .625rem;
  border: 1px solid rgba(255,255,255,.1);
}
.float-card-icon svg { stroke: rgba(255,255,255,.85); }

.bg-shape {
  position: absolute; pointer-events: none;
  border-radius: 50%; filter: blur(64px); opacity: .15;
}
/* Corner accent line on visual panel */
.hero-visual-corner {
  position: absolute; pointer-events: none;
}
.hero-visual-corner.tl { top: 2.5rem; inset-inline-start: 2.5rem; }
.hero-visual-corner.br { bottom: 2.5rem; inset-inline-end: 2.5rem; }

/* === HERO SEAM DIVIDER === */
.hero-seam {
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; /* sits exactly on the grid column boundary */
  width: 80px;
  margin-left: -40px;
  z-index: 10;
  pointer-events: none;
}
/* Main glowing vertical line */
.hero-seam::before {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  left: 50%; margin-left: -.5px;
  width: 1px;
  background: linear-gradient(
    to bottom,
    transparent                   0%,
    rgba(11,78,143,.15)          8%,
    rgba(11,78,143,.35)          30%,
    rgba(100,165,255,.7)         48%,
    rgba(100,165,255,.7)         52%,
    rgba(11,78,143,.35)          70%,
    rgba(11,78,143,.15)          92%,
    transparent                  100%
  );
}
/* Soft outer glow halo */
.hero-seam::after {
  content: '';
  position: absolute;
  top: 20%; bottom: 20%;
  left: 50%; margin-left: -.5px;
  width: 1px;
  box-shadow: 0 0 14px 5px rgba(11,78,143,.2), 0 0 36px 10px rgba(11,78,143,.08);
}

/* Tick marks — horizontal lines crossing the seam */
.seam-mark {
  position: absolute;
  left: 50%;
  transform: translate(-50%, 0);
  height: 1px;
  /* gradient: fades from light-panel blue → center bright → dark-panel white */
  background: linear-gradient(90deg,
    transparent,
    rgba(11,78,143,.2) 20%,
    rgba(100,165,255,.55) 50%,
    rgba(255,255,255,.2) 80%,
    transparent
  );
}
.seam-mark.sm { width: 36px; }
.seam-mark.lg { width: 56px; opacity: .9; }

/* Central medallion: two rings + glowing core */
.seam-center {
  position: absolute;
  top: 82%; left: 50%;
  transform: translate(-50%, -50%);
  width: 44px; height: 44px;
}
/* Outer ring */
.seam-center::before {
  content: '';
  position: absolute; inset: 0;
  border-radius: 50%;
  border: 1px solid rgba(100,165,255,.28);
  box-shadow: 0 0 12px rgba(100,165,255,.15);
  animation: seam-pulse-outer 3.5s ease-in-out infinite;
}
/* Inner ring */
.seam-center::after {
  content: '';
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1px solid rgba(100,165,255,.5);
  box-shadow: 0 0 8px rgba(100,165,255,.2);
  animation: seam-pulse-inner 3.5s ease-in-out infinite;
}

@keyframes seam-pulse-outer {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.35); opacity: .5; }
}
@keyframes seam-pulse-inner {
  0%, 100% { transform: scale(1);   opacity: 1; }
  50%       { transform: scale(1.2); opacity: .6; }
}

@media (prefers-reduced-motion: reduce) {
  .seam-center::before, .seam-center::after { animation: none; }
}
/* Core dot */
.seam-dot {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 8px; height: 8px;
  border-radius: 50%;
  background: rgba(100,165,255,.95);
  box-shadow: 0 0 14px 4px rgba(100,165,255,.45), 0 0 30px 8px rgba(11,78,143,.2);
}

/* Small extra dots flanking the center — visual data-point effect */
.seam-flanker {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 3px; height: 3px;
  border-radius: 50%;
  background: rgba(100,165,255,.5);
}

@media (max-width: 1024px) { .hero-seam { display: none; } }

/* Mobile hero trend line */
.hero-mobile-trend {
  display: none;
  position: absolute; inset: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 1;
}

/* Footer logo glass card */
.footer-logo-wrap {
  display: inline-block;
  margin-bottom: 1.5rem;
}
.footer-logo-wrap img { display: block; height: 34px; width: auto; }

/* Mobile hero bottom seam circle */
.hero-mobile-seam {
  display: none;
  position: absolute;
  bottom: -22px; left: 50%;
  transform: translateX(-50%);
  width: 44px; height: 44px;
  z-index: 20;
  pointer-events: none;
}
.hero-mobile-seam::before {
  content: '';
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(11,78,143,.4);
  background: var(--bg);
  box-shadow: 0 0 12px rgba(11,78,143,.2);
  animation: seam-pulse-outer 3.5s ease-in-out infinite;
}
.hero-mobile-seam::after {
  content: '';
  position: absolute; inset: 10px; border-radius: 50%;
  border: 1px solid rgba(11,78,143,.6);
  box-shadow: 0 0 8px rgba(11,78,143,.15);
  animation: seam-pulse-inner 3.5s ease-in-out infinite;
}

.hero-scroll-hint {
  position: absolute; bottom: 2.5rem; left: 50%;
  transform: translateX(-50%);
  display: flex; flex-direction: column; align-items: center; gap: .5rem;
  animation: hintBounce 2.8s ease-in-out infinite;
}
.hero-scroll-hint span { font-size: .68rem; font-weight: 600; letter-spacing: .12em; text-transform: uppercase; color: var(--text-light); }
body.lang-ar .hero-scroll-hint span { letter-spacing: 0; }
@keyframes hintBounce { 0%,100%{transform:translateX(-50%) translateY(0)} 50%{transform:translateX(-50%) translateY(10px)} }

/* marquee removed */

/* === BUTTONS === */
.btn {
  display: inline-flex; align-items: center; gap: .5rem;
  border-radius: 50px; padding: .85rem 2rem;
  font-size: .9rem; font-weight: 700; cursor: pointer;
  text-decoration: none; border: 2px solid transparent;
  white-space: nowrap; font-family: inherit;
  transition: all 240ms var(--ease);
  position: relative; overflow: hidden;
}
.btn::before {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(255,255,255,.12) 0%, transparent 60%);
  opacity: 0; transition: opacity 240ms;
  pointer-events: none;
}
.btn:hover::before { opacity: 1; }
.btn-primary { background: var(--blue); color: #fff; border-color: var(--blue); box-shadow: 0 4px 20px rgba(11,78,143,.3); }
.btn-primary:hover { background: var(--blue-dark); border-color: var(--blue-dark); transform: translateY(-2px); box-shadow: 0 10px 32px rgba(11,78,143,.4); }
.btn-primary:active { transform: scale(.98) translateY(0); }
.btn-outline { background: transparent; color: var(--blue); border-color: rgba(11,78,143,.3); }
.btn-outline:hover { background: var(--blue); color: #fff; border-color: var(--blue); transform: translateY(-2px); }
.btn-white { background: #fff; color: var(--blue); border-color: #fff; box-shadow: 0 4px 16px rgba(0,0,0,.12); }
.btn-white:hover { background: var(--blue-pale); transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,.15); }
.btn svg { flex-shrink: 0; }

/* === SECTION HEADER === */
.section-header { margin-bottom: 3rem; }
.section-header.centered { text-align: center; }
.section-header.centered p { margin-inline: auto; }
.section-header.centered .label { justify-content: center; }
.section-header h2 { margin-block: .75rem 1.1rem; }
.section-header p { font-size: 1.06rem; }
.section-accent {
  display: block; width: 48px; height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-mid));
  border-radius: 2px; margin-top: 1rem;
}
.section-header.centered .section-accent { margin-inline: auto; }

/* === SERVICE CARDS (home grid) === */
.svc-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  padding: 2.5rem;
  display: flex; flex-direction: column;
  transition: transform 320ms var(--ease), box-shadow 320ms var(--ease), border-color 320ms var(--ease);
  position: relative; overflow: hidden;
  cursor: default;
}
/* Spotlight effect on hover */
.svc-card::before {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(145deg, rgba(11,78,143,.04) 0%, transparent 50%);
  opacity: 0; transition: opacity 320ms;
}
.svc-card::after {
  content: '';
  position: absolute; inset-inline-start: 0; top: 0;
  width: 3px; height: 100%;
  background: linear-gradient(180deg, var(--blue-mid), var(--blue));
  transform: scaleY(0); transform-origin: bottom;
  transition: transform 320ms var(--ease);
  border-radius: 2px;
}
.svc-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-glow); border-color: rgba(11,78,143,.16); }
.svc-card:hover::before { opacity: 1; }
.svc-card:hover::after { transform: scaleY(1); }
.svc-num {
  font-size: 4rem; font-weight: 800; line-height: 1;
  color: rgba(11,78,143,.06); margin-bottom: 1.25rem;
  font-variant-numeric: tabular-nums; letter-spacing: -0.04em;
}
.svc-icon {
  width: 54px; height: 54px; background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
  transition: all 320ms var(--ease);
}
.svc-icon svg { stroke: var(--blue); stroke-width: 1.6; transition: all 320ms var(--ease); }
.svc-card:hover .svc-icon { background: var(--blue); box-shadow: 0 8px 24px rgba(11,78,143,.3); }
.svc-card:hover .svc-icon svg { stroke: #fff; }
.svc-card h3 { margin-bottom: .7rem; }
.svc-card p { font-size: .92rem; flex: 1; max-width: none; }
.svc-link {
  display: inline-flex; align-items: center; gap: .4rem;
  margin-top: 1.75rem; font-size: .84rem; font-weight: 700;
  color: var(--blue); text-decoration: none;
  transition: gap 200ms var(--ease);
  position: relative; z-index: 2; pointer-events: auto;
  cursor: pointer;
}
.svc-link:hover { gap: .7rem; }
.svc-link svg { width: 14px; height: 14px; stroke: currentColor; stroke-width: 2.5; }

/* === WHY BENCH === */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.why-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.5rem 1.75rem;
  display: flex; gap: 1rem;
  transition: all 260ms var(--ease); position: relative; overflow: hidden;
}
.why-item::before {
  content: '';
  position: absolute; top: 0; inset-inline-start: 0; inset-inline-end: 0;
  height: 2px; background: linear-gradient(90deg, var(--blue), transparent);
  opacity: 0; transition: opacity 260ms;
}
.why-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-3px); border-color: rgba(11,78,143,.12); }
.why-item:hover::before { opacity: 1; }
.why-num { font-size: 1.5rem; font-weight: 800; color: rgba(11,78,143,.15); line-height: 1; flex-shrink: 0; min-width: 2ch; }
.why-item h4 { font-size: .93rem; margin-bottom: .3rem; }
.why-item p { font-size: .84rem; max-width: none; }

/* === TESTIMONIALS === */
.testi-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2.25rem; border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: all 280ms var(--ease);
  position: relative; overflow: hidden;
  /* Equal height: flex column so author always sits at bottom */
  display: flex; flex-direction: column;
}
.testi-card::before {
  content: '';
  position: absolute; top: 0; inset-inline-start: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-mid), transparent);
  opacity: 0; transition: opacity 280ms;
}
.testi-card:hover { transform: translateY(-5px); box-shadow: var(--shadow); border-color: rgba(11,78,143,.12); }
.testi-card:hover::before { opacity: 1; }
.testi-quote {
  font-size: 4rem; line-height: .8; font-family: Georgia, serif;
  color: var(--blue); opacity: .15; margin-bottom: .5rem;
  display: block;
}
body.lang-ar .testi-quote { text-align: right; }
/* flex:1 pushes author to the bottom regardless of text length */
.testi-text { font-size: .91rem; line-height: 1.85; color: var(--text-mid); margin-bottom: 1.5rem; font-style: italic; flex: 1; }
body.lang-ar .testi-text { font-style: normal; }
.testi-author { display: flex; align-items: center; gap: .875rem; padding-top: 1.25rem; border-top: 1px solid var(--border); margin-top: auto; }
.testi-av {
  width: 60px; height: 60px; border-radius: 50%;
  position: relative; flex-shrink: 0; overflow: hidden;
  border: 2px solid rgba(11,78,143,.14);
  box-shadow: 0 2px 10px rgba(11,78,143,.1);
}
/* SVG placeholder fills the circle */
.testi-av svg { display: block; width: 100%; height: 100%; }
/* Real photo sits on top of SVG, hidden until loaded */
.testi-av img {
  position: absolute; inset: 0;
  width: 100%; height: 100%; object-fit: cover; border-radius: 50%;
}
.testi-name { font-size: .88rem; font-weight: 700; }
.testi-co { font-size: .76rem; color: var(--text-light); margin-top: .1rem; }

/* === BLUE BANNER === */
.blue-banner {
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue) 55%, var(--blue-mid) 100%);
  padding-block: 72px;
  position: relative; overflow: hidden;
}
.blue-banner::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 55% 90% at 90% 50%, rgba(255,255,255,.06), transparent),
    radial-gradient(ellipse 35% 60% at 10% 50%, rgba(255,255,255,.04), transparent);
  pointer-events: none;
}
.blue-banner::after {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='.6' fill='%23fff' opacity='.06'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}
.blue-banner h2 { color: #fff; }
.blue-banner p { color: rgba(255,255,255,.72); }
.blue-banner .section-accent { background: rgba(255,255,255,.3); }

/* === PAGE HERO === */
.page-hero {
  padding-top: calc(var(--nav-h) + 88px);
  padding-bottom: 88px;
  /* Deep blue gradient — dark navy → blue */
  background:
    linear-gradient(150deg, #020C18 0%, #041628 35%, #083E74 70%, #0B4E8F 100%);
  position: relative; overflow: hidden;
}
/* Subtle noise/grain overlay on gradient */
.page-hero::before {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 70% 60% at 90% 50%, rgba(20,100,180,.22) 0%, transparent 65%),
    radial-gradient(ellipse 50% 80% at 5%  50%, rgba(2,10,24,.5)      0%, transparent 60%);
}
/* Fine grid lines over gradient */
.page-hero::after {
  content: '';
  position: absolute; inset: 0; pointer-events: none; z-index: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 56px 56px;
  mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
}
/* Ghost oversized text — white stroke on dark gradient */
.page-hero-ghost {
  position: absolute; z-index: 1;
  font-size: clamp(8rem, 22vw, 18rem);
  font-weight: 900;
  color: transparent;
  -webkit-text-stroke: 1.5px rgba(255,255,255,.08);
  text-stroke: 1.5px rgba(255,255,255,.08);
  line-height: 1;
  top: 50%; inset-inline-end: -2%;
  transform: translateY(-50%);
  white-space: nowrap;
  pointer-events: none; user-select: none;
  letter-spacing: -0.04em;
  font-family: 'IBM Plex Sans', sans-serif;
}
/* Horizontal rule lines — white tinted */
.page-hero-rules {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  overflow: hidden;
}
.page-hero-rules::before,
.page-hero-rules::after {
  content: '';
  position: absolute; inset-inline: 0; height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,.07) 20%, rgba(255,255,255,.07) 80%, transparent 100%);
}
.page-hero-rules::before { top: 30%; }
.page-hero-rules::after  { top: 70%; }
/* Content block with left-border accent — white on dark */
.page-hero-inner {
  position: relative; z-index: 2;
  padding-inline-start: 2.25rem;
}
.page-hero-inner::before {
  content: '';
  position: absolute;
  inset-block: 0;
  inset-inline-start: 0;
  width: 3px;
  background: linear-gradient(180deg, rgba(255,255,255,.7) 0%, rgba(255,255,255,.15) 100%);
  border-radius: 3px;
}
/* Text colours — white on dark gradient */
.page-hero .label { margin-bottom: 1.25rem; display: block; color: rgba(255,255,255,.55); }
.page-hero .label::before { background: rgba(255,255,255,.4); }
.page-hero h1 { margin-bottom: 1.1rem; color: #fff; }
.page-hero p { font-size: 1.08rem; color: rgba(255,255,255,.68); max-width: 60ch; }
/* Year badge */
.page-hero-year {
  position: absolute; z-index: 2;
  bottom: 2.5rem; inset-inline-end: max(1.5rem, calc((100vw - 1320px)/2 + 1.5rem));
  font-size: .7rem; font-weight: 700; letter-spacing: .16em;
  color: rgba(255,255,255,.3); text-transform: uppercase;
  display: flex; align-items: center; gap: .625rem;
}
.page-hero-year::before {
  content: ''; display: inline-block;
  width: 24px; height: 1px; background: rgba(255,255,255,.2);
}
/* Entry animation for ghost text */
@keyframes ghostSlide {
  from { opacity: 0; transform: translateY(-44%) translateX(3%); }
  to   { opacity: 1; transform: translateY(-50%) translateX(0); }
}
.page-hero-ghost { animation: ghostSlide .9s var(--ease-out) .1s both; }

/* === CARDS (generic) === */
.card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-xs);
  padding: 2rem; transition: all 260ms var(--ease);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-sm); border-color: rgba(11,78,143,.1); }
.card-icon {
  width: 52px; height: 52px; background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 1.25rem;
}
.card-icon svg { stroke: var(--blue); }

/* === VALUE ITEMS === */
.value-item {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1.875rem;
  display: flex; gap: 1.25rem;
  transition: all 260ms var(--ease);
}
.value-item:hover { box-shadow: var(--shadow-sm); transform: translateY(-2px); border-color: rgba(11,78,143,.12); }
.value-icon { width: 48px; height: 48px; background: var(--blue-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: all 260ms; }
.value-icon svg { stroke: var(--blue); stroke-width: 1.75; width: 26px; height: 26px; display: block; flex-shrink: 0; }
.value-item:hover .value-icon { background: var(--blue); }
.value-item:hover .value-icon svg { stroke: #fff; }
.value-item h4 { font-size: .95rem; margin-bottom: .35rem; }
.value-item p { font-size: .88rem; max-width: none; }

/* === ABOUT TABS === */
.about-tabs {
  display: flex; gap: .25rem;
  border-bottom: 2px solid var(--border);
  margin-bottom: 3rem;
  overflow-x: auto; scrollbar-width: none;
}
.about-tabs::-webkit-scrollbar { display: none; }
.tab-btn {
  padding: .875rem 1.5rem; font-size: .86rem; font-weight: 700;
  color: var(--text-mid); background: none; border: none; cursor: pointer;
  border-bottom: 2px solid transparent; margin-bottom: -2px;
  transition: all 220ms var(--ease); white-space: nowrap; font-family: inherit;
  border-radius: var(--radius-sm) var(--radius-sm) 0 0;
}
.tab-btn:hover { color: var(--blue); background: var(--blue-pale); }
.tab-btn.active { color: var(--blue); border-bottom-color: var(--blue); background: var(--blue-pale); }
.tab-panel { display: none; }
.tab-panel.active { display: block; animation: tabIn .35s var(--ease); }
@keyframes tabIn { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }

/* === TEAM CARDS === */
.team-card {
  background: var(--white); border-radius: var(--radius);
  border: 1px solid var(--border); box-shadow: var(--shadow-xs);
  transition: all 280ms var(--ease); text-align: center;
  padding: 2.25rem 1.75rem; overflow: hidden; position: relative;
  display: flex; flex-direction: column; align-items: center;
}
.team-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--blue-mid));
  opacity: 0; transition: opacity 280ms;
}
.team-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: rgba(11,78,143,.14); }
.team-card:hover::before { opacity: 1; }

.team-avatar {
  width: 112px; height: 112px; border-radius: 50%;
  overflow: hidden; margin: 0 auto 1.375rem;
  background: linear-gradient(135deg, var(--blue-pale), var(--blue-light));
  border: 3px solid rgba(11,78,143,.1);
  box-shadow: 0 4px 20px rgba(11,78,143,.12);
  flex-shrink: 0;
}
.team-bio { font-size: .86rem; color: var(--text-mid); line-height: 1.7; max-width: none; margin-top: .875rem; flex: 1; }
.team-role { font-size: .78rem; color: var(--blue); font-weight: 700; margin-bottom: .625rem; text-transform: uppercase; letter-spacing: .06em; }
body.lang-ar .team-role { text-transform: none; letter-spacing: 0; font-size: .86rem; }

.team-featured {
  background: var(--white); border-radius: var(--radius-lg);
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  padding: 3rem; display: flex; gap: 2.5rem; align-items: flex-start;
  position: relative; overflow: hidden;
}
.team-featured::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 4px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--blue-mid));
}
.team-featured-avatar {
  width: 110px; height: 110px; border-radius: 50%;
  overflow: hidden; flex-shrink: 0;
  background: linear-gradient(135deg, var(--blue-pale), var(--blue-light));
  border: 3px solid rgba(11,78,143,.12);
  box-shadow: 0 8px 24px rgba(11,78,143,.12);
}
.team-featured h3 { margin-bottom: .375rem; }
.team-title { font-size: .88rem; color: var(--blue); font-weight: 600; margin-bottom: .625rem; }

.cred-badge {
  font-size: .68rem; font-weight: 700; padding: .22rem .65rem;
  background: var(--blue-pale); color: var(--blue);
  border-radius: var(--radius-xs); letter-spacing: .03em; display: inline-block;
  border: 1px solid rgba(11,78,143,.12);
  transition: all 200ms;
}
.cred-badge:hover { background: var(--blue); color: #fff; }

.cert-pill {
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.16);
  color: rgba(255,255,255,.9); border-radius: 50px; padding: .55rem 1.4rem;
  font-size: .83rem; font-weight: 600; letter-spacing: .02em;
  transition: all 220ms;
}
.cert-pill:hover { background: rgba(255,255,255,.18); border-color: rgba(255,255,255,.3); }

/* === SERVICE PAGE === */
.svc-num-lg {
  font-size: 5.5rem; font-weight: 800; line-height: 1;
  color: rgba(11,78,143,.06); margin-bottom: .5rem;
  font-variant-numeric: tabular-nums; letter-spacing: -0.05em;
}
.svc-feature-item {
  display: flex; align-items: center; gap: .75rem;
  font-size: .9rem; color: var(--text-mid); padding-block: .25rem;
}
.svc-feature-item svg { flex-shrink: 0; }
.svc-visual {
  background: linear-gradient(145deg, #eaf3ff 0%, var(--white) 100%);
  border-radius: var(--radius-lg); padding: 3rem;
  border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  min-height: 300px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.svc-visual::before {
  content: ''; position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='40' height='40'%3E%3Ccircle cx='20' cy='20' r='.5' fill='%230B4E8F' opacity='.06'/%3E%3C/svg%3E") repeat;
  pointer-events: none;
}

/* === CONTACT PAGE === */
.contact-info-block {
  display: flex; gap: 1.1rem; align-items: flex-start;
  margin-bottom: 2rem; padding-bottom: 2rem;
  border-bottom: 1px solid var(--border);
}
.contact-info-block:last-of-type { border-bottom: none; margin-bottom: 0; padding-bottom: 0; }
.contact-info-icon {
  width: 48px; height: 48px;
  background: linear-gradient(135deg, var(--blue-pale), var(--blue-light));
  border-radius: var(--radius-sm); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center;
  border: 1px solid rgba(11,78,143,.1);
}
.contact-info-icon svg { width: 20px; height: 20px; }
.contact-info-block h4 { font-size: .88rem; margin-bottom: .4rem; }
.contact-info-block a { font-size: .92rem; color: var(--text-mid); text-decoration: none; line-height: 1.7; display: block; }
.contact-info-block a:hover { color: var(--blue); }
.contact-info-block p { font-size: .92rem; line-height: 1.7; max-width: none; }

.contact-form-card {
  background: var(--white); border-radius: var(--radius-lg);
  padding: 3rem; border: 1px solid var(--border); box-shadow: var(--shadow-sm);
  position: relative; overflow: hidden;
}
.contact-form-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--blue-dark), var(--blue), var(--blue-mid));
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-group { margin-bottom: 1.25rem; }
.form-group label { display: block; font-size: .8rem; font-weight: 700; color: var(--text); margin-bottom: .5rem; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: .8rem 1.1rem;
  border: 1.5px solid var(--border); border-radius: var(--radius-sm);
  font-size: .9rem; font-family: inherit; color: var(--text);
  background: var(--bg); outline: none;
  transition: all 220ms var(--ease);
  appearance: none; -webkit-appearance: none;
  box-sizing: border-box;
}
.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%230B4E8F' stroke-width='2.5'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 1rem center;
  padding-left: 2.5rem;
  cursor: pointer;
}
body.lang-en .form-group select {
  background-position: right 1rem center;
  padding-left: 1.1rem; padding-right: 2.5rem;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  border-color: var(--blue); background-color: var(--white);
  box-shadow: 0 0 0 4px rgba(11,78,143,.08);
}
.form-group textarea { min-height: 130px; resize: vertical; }

/* === SECTOR CARDS === */
.sector-card {
  background: var(--white); border-radius: var(--radius);
  padding: 2rem; text-align: center; border: 1px solid var(--border);
  transition: all 260ms var(--ease); cursor: default;
}
.sector-card:hover { background: var(--blue); transform: translateY(-4px); border-color: var(--blue); box-shadow: var(--shadow); }
.sector-card:hover h4 { color: #fff; }
.sector-card:hover .sector-icon { background: rgba(255,255,255,.2); }
.sector-card:hover .sector-icon svg { stroke: #fff; }
.sector-icon { width: 50px; height: 50px; background: var(--blue-pale); border-radius: var(--radius-sm); display: flex; align-items: center; justify-content: center; margin: 0 auto 1rem; transition: all 260ms; }
.sector-icon svg { stroke: var(--blue); transition: stroke 260ms; }
.sector-card h4 { font-size: .9rem; transition: color 260ms; }

/* === FOOTER === */
.footer { background: #060F1D; color: rgba(255,255,255,.6); padding-block: 60px 28px; }
/* ── Map section ───────────────────────────────────────────── */
.map-section {
  height: 460px; position: relative; overflow: hidden;
  background: var(--blue-dark);
  border-top: 3px solid rgba(11,78,143,.35);
  border-bottom: 3px solid rgba(11,78,143,.35);
}
.map-section iframe {
  width: 100%; height: 100%; display: block;
}
.map-overlay {
  position: absolute; inset: 0; pointer-events: none; z-index: 1;
  background: transparent;
}
.map-card {
  position: absolute; bottom: 2rem; z-index: 2;
  background: rgba(255,255,255,.97);
  border-radius: 14px;
  padding: 1.25rem 1.5rem;
  box-shadow: 0 8px 32px rgba(7,58,107,.22), 0 2px 8px rgba(0,0,0,.08);
  display: flex; flex-direction: column; gap: .6rem;
  max-width: 280px;
  backdrop-filter: blur(8px);
}
body.lang-en .map-card { left: 2rem; }
body.lang-ar .map-card { right: 2rem; }
.map-card-pin {
  width: 36px; height: 36px; border-radius: 50%;
  background: var(--blue); display: flex; align-items: center; justify-content: center;
}
.map-card-pin svg { width: 18px; height: 18px; stroke: #fff; }
.map-card-label { font-size: .82rem; color: var(--text); font-weight: 500; line-height: 1.5; margin: 0; }
.map-card-link {
  display: inline-flex; align-items: center; gap: .35rem;
  font-size: .78rem; font-weight: 700; color: var(--blue);
  text-decoration: none; transition: gap 180ms var(--ease);
}
.map-card-link:hover { gap: .55rem; }
.map-card-link svg { width: 12px; height: 12px; flex-shrink: 0; }
@media (max-width: 768px) {
  .map-section { height: 380px; }
  .map-card { max-width: calc(100% - 3rem); bottom: 1.25rem; }
  body.lang-en .map-card { left: 1.5rem; }
  body.lang-ar .map-card { right: 1.5rem; }
}

/* ── Footer ────────────────────────────────────────────────── */
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr; gap: 3rem; margin-bottom: 2.5rem; }
.footer h4 { color: rgba(255,255,255,.9); font-size: .85rem; margin-bottom: 1.5rem; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; }
body.lang-ar .footer h4 { letter-spacing: 0; text-transform: none; font-size: .9rem; }
.footer-links { list-style: none; display: flex; flex-direction: column; gap: .625rem; }
.footer-links a { font-size: .86rem; color: rgba(255,255,255,.45); text-decoration: none; transition: color 200ms; }
.footer-links a:hover { color: rgba(255,255,255,.9); }
.footer-divider { border: none; border-top: 1px solid rgba(255,255,255,.06); margin-bottom: 1.75rem; }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; gap: 1rem; flex-wrap: wrap; }
.footer-copy { font-size: .78rem; color: rgba(255,255,255,.3); }
.socials { display: flex; gap: .625rem; }
.social-btn {
  width: 38px; height: 38px; border-radius: 50%;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.08);
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,.45); text-decoration: none;
  transition: all 240ms var(--ease);
}
.social-btn:hover { background: var(--blue); border-color: var(--blue); color: #fff; transform: translateY(-2px); box-shadow: 0 6px 18px rgba(11,78,143,.4); }
.social-btn svg { width: 16px; height: 16px; }

/* === LINK HOVER UNDERLINES === */
a:not(.btn):not(.btn-primary):not(.btn-outline):not(.btn-white):not(.btn-login):not(.nav-logo):not(.nav-cta):not(.social-btn):not(.svc-link):not(.map-card-link):not(.testi-card):not(.nav-links a):hover {
  text-decoration: underline;
  text-decoration-thickness: 1px;
  text-underline-offset: 3px;
}

/* === SCROLL ANIMATIONS === */
.reveal { opacity: 0; transform: translateY(36px); transition: opacity .75s var(--ease-out), transform .75s var(--ease-out); }
.reveal.in { opacity: 1; transform: none; }
.reveal-left { opacity: 0; transform: translateX(-48px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.reveal-left.in { opacity: 1; transform: none; }
.reveal-right { opacity: 0; transform: translateX(48px); transition: opacity .85s var(--ease-out), transform .85s var(--ease-out); }
.reveal-right.in { opacity: 1; transform: none; }
.d1 { transition-delay: .08s; } .d2 { transition-delay: .16s; }
.d3 { transition-delay: .24s; } .d4 { transition-delay: .32s; }
.d5 { transition-delay: .4s; }

/* float shape */
.float-shape { position: absolute; pointer-events: none; }

/* grids */
.grid-2 { display: grid; grid-template-columns: repeat(2,1fr); gap: 1.5rem; align-items: stretch; }
.grid-3 { display: grid; grid-template-columns: repeat(3,1fr); gap: 1.5rem; align-items: stretch; }
.grid-4 { display: grid; grid-template-columns: repeat(4,1fr); gap: 1.25rem; align-items: stretch; }

/* === GROUP PHOTO === */
.group-photo-section { margin: 0; padding: 0; line-height: 0; }
.group-photo-wrap {
  position: relative; width: 100%; height: 520px; overflow: hidden; background: var(--blue-pale);
  border-top: 4px solid var(--blue);
  border-bottom: 4px solid var(--blue);
}
.group-photo-img { width: 100%; height: 100%; object-fit: cover; object-position: center top; display: block; }
.group-photo-placeholder {
  width: 100%; height: 100%;
  background: linear-gradient(135deg, var(--blue-pale) 0%, #dde8f5 100%);
  align-items: center; justify-content: center; flex-direction: column; gap: 1rem;
  color: rgba(11,78,143,.4); font-size: .95rem; font-weight: 600; letter-spacing: .04em;
}
.group-photo-placeholder-inner { display: flex; flex-direction: column; align-items: center; gap: .75rem; }
.group-photo-overlay {
  position: absolute; inset-inline: 0; bottom: 0;
  padding: 1.25rem 0;
  background: linear-gradient(to top, rgba(2,12,24,.55) 0%, transparent 100%);
}
.group-photo-label {
  color: #fff; font-size: .92rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; margin: 0;
  padding-inline-start: 2.25rem;
  text-shadow: 0 2px 12px rgba(0,0,0,.5);
}
body.lang-ar .group-photo-label { text-transform: none; letter-spacing: 0; font-size: 1rem; }

/* === REDUCED MOTION === */
@media (prefers-reduced-motion: reduce) {
  .reveal, .reveal-left, .reveal-right { opacity: 1 !important; transform: none !important; transition: none !important; }
  .hero-pill-dot, .hero-scroll-hint, .hero-chart-line, .page-hero-ghost { animation: none !important; opacity: 1 !important; }
}

/* === RESPONSIVE === */
@media (max-width: 1024px) {
  .grid-4 { grid-template-columns: repeat(2,1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 2.5rem; }
  .hero { grid-template-columns: 1fr; }
  .hero-right { display: none; }
  .hero-left {
    padding-block: calc(var(--nav-h) + 60px) 80px;
    padding-inline: max(1.5rem, calc((100vw - 1320px)/2 + 1.5rem));
    padding-inline-end: max(1.5rem, calc((100vw - 1320px)/2 + 1.5rem));
  }
  .page-hero-ghost { font-size: clamp(5rem, 28vw, 10rem); }
}
@media (max-width: 768px) {
  :root { --nav-h: 68px; }
  .section { padding-block: 52px; }
  .nav-links { display: none; }
  .hamburger { display: flex; }

  /* ── Mobile nav: floating pill ── */
  .nav {
    top: 12px;
    inset-inline: 1rem;
    height: 60px;
    border-radius: 18px;
    background: rgba(255,255,255,.92);
    backdrop-filter: blur(24px) saturate(1.8);
    -webkit-backdrop-filter: blur(24px) saturate(1.8);
    box-shadow: 0 4px 24px rgba(7,26,55,.12), 0 1px 4px rgba(7,26,55,.08), 0 0 0 1px rgba(11,78,143,.07);
    padding-top: 0;
  }
  .nav.scrolled {
    background: rgba(255,255,255,.97);
    box-shadow: 0 8px 32px rgba(7,26,55,.14), 0 1px 4px rgba(7,26,55,.08), 0 0 0 1px rgba(11,78,143,.1);
  }
  /* Page content needs top clearance for the floating nav */
  body { padding-top: calc(60px + 20px); }
  .hero { margin-top: calc(-60px - 20px); padding-top: calc(60px + 20px); }
  .page-hero { margin-top: calc(-60px - 20px); padding-top: calc(60px + 64px); }

  /* ── Inner grid ── */
  .nav-inner {
    grid-template-columns: auto 1fr auto;
    direction: ltr;
    padding-inline: 1.25rem;
  }
  .nav-logo { justify-self: start; }
  .nav-actions { justify-self: end; display: flex; align-items: center; gap: .75rem; }

  /* ── Mobile hero: navy grid background, white text ── */
  .hero-left {
    background:
      linear-gradient(135deg, #040e1f 0%, #0b2244 60%, #0b3a7a 100%);
    position: relative;
    overflow: hidden;
  }
  .hero-left::before {
    content: '';
    position: absolute; inset: 0;
    background-image:
      linear-gradient(rgba(100,165,255,.07) 1px, transparent 1px),
      linear-gradient(90deg, rgba(100,165,255,.07) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
  }
  .hero-left h1 { color: #fff; position: relative; }
  .hero-left h1 .hero-accent { color: transparent; font-style: normal;
    background: linear-gradient(135deg, #7ec8ff, #b8deff);
    -webkit-background-clip: text; background-clip: text;
  }
  .hero-lead { color: rgba(255,255,255,.72) !important; position: relative; }
  .hero-actions { position: relative; }
  .hero-actions .btn-outline {
    border-color: rgba(255,255,255,.4) !important;
    color: #fff !important;
  }
  .hero-actions .btn-outline:hover {
    background: rgba(255,255,255,.1) !important;
  }

  /* ── Team photo: show full image ── */
  .group-photo-wrap { height: auto; }
  .group-photo-img { height: auto; object-fit: contain; object-position: center; }

  /* ── Services: number + icon side by side ── */
  .svc-card { flex-direction: column; align-items: flex-start; }
  .svc-num { margin-bottom: 0; transform: translateY(-8px); }
  .svc-card .svc-num,
  .svc-card .svc-icon {
    display: inline-flex;
  }
  .svc-card::after { content: none; }
  /* Wrap num + icon in a flex row using adjacent sibling flow */
  .svc-num + .svc-icon {
    margin-inline-start: .75rem;
    margin-bottom: .75rem;
  }
  .svc-card { flex-wrap: wrap; flex-direction: row; align-items: center; }
  .svc-card h3,
  .svc-card p,
  .svc-card .svc-link { flex: 0 0 100%; }

  .grid-2, .grid-3, .why-grid { grid-template-columns: 1fr; }

  /* Footer: logo row full-width, quick links + contact side by side */
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    grid-template-areas: "logo logo" "links contact";
    gap: 1.75rem 1.5rem;
  }
  .footer-grid > div:first-child  { grid-area: logo; }
  .footer-grid > div:nth-child(2) { grid-area: links; }
  .footer-grid > div:nth-child(3) { grid-area: contact; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .hero-stats { flex-wrap: wrap; gap: 0; }
  .hero-stat { padding-inline-end: 1.5rem; margin-inline-end: 1.5rem; margin-bottom: 1rem; }
  .form-row { grid-template-columns: 1fr; }
  .team-featured { flex-direction: column; gap: 1.5rem; padding: 2rem; }
  .contact-form-card { padding: 2rem; }
  .page-hero-year { display: none; }
  .page-hero-inner { padding-inline-start: 1.5rem; }

  /* Mobile hero: trend line + seam circle */
  .hero-mobile-trend { display: block; }
  .hero { overflow: visible; }
  .hero-left { overflow: hidden; }
  .hero-mobile-seam { display: block; }

  /* Value icons: always show on mobile */
  .value-item { align-items: flex-start; }
  .value-icon { display: flex !important; flex-shrink: 0; }

  /* Services visual: smaller and ordered after text */
  .svc-visual { min-height: 160px; padding: 1.5rem; }
  .svc-visual svg { max-height: 140px; }
  .two-col:has(.reveal-left > .svc-visual) .reveal-left { order: 2; }
  .two-col:has(.reveal-left > .svc-visual) .reveal-right { order: 1; }

  /* Footer logo: remove invert filter, scale naturally */
  .footer-grid > div:first-child > img {
    max-width: 100%;
    height: auto !important;
    filter: none !important;
    opacity: .9 !important;
  }

  /* Group photo label: ensure visible on mobile */
  .group-photo-label { font-size: .85rem; }
  .group-photo-wrap { height: auto; border-top: 3px solid var(--blue); border-bottom: 3px solid var(--blue); }
}
@media (max-width: 480px) {
  h1 { font-size: 2.2rem; }
  .btn { padding: .78rem 1.5rem; font-size: .87rem; }
  .section-header { margin-bottom: 3rem; }
}

@media (max-width: 768px) {
  /* Sample of Our Work — tighter vertical padding */
  #svc-sample-section { padding: 3rem 0 !important; }
  /* Card narrower so it doesn't dominate on mobile */
  #svc-sample-section .reveal-right { max-width: 82%; margin-inline: auto; }
}

