/* Exact front-end stylesheet ported from the production application. */
@font-face{font-family:"IBM Plex Sans Arabic";src:url("../fonts/ibm-plex-arabic-300.woff2") format("woff2");font-style:normal;font-weight:300;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url("../fonts/ibm-plex-arabic-400.woff2") format("woff2");font-style:normal;font-weight:400;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url("../fonts/ibm-plex-arabic-500.woff2") format("woff2");font-style:normal;font-weight:500;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url("../fonts/ibm-plex-arabic-600.woff2") format("woff2");font-style:normal;font-weight:600;font-display:swap}
@font-face{font-family:"IBM Plex Sans Arabic";src:url("../fonts/ibm-plex-arabic-700.woff2") format("woff2");font-style:normal;font-weight:700;font-display:swap}
@font-face{font-family:"Manrope";src:url("../fonts/manrope-latin-variable.woff2") format("woff2");font-style:normal;font-weight:400 800;font-display:swap}

/* ============================================================
   CUSTOM FONTS
   ============================================================ */
@font-face {
  font-family: 'Zarid';
  src: url('/fonts/Zarid-Regular.ttf') format('truetype');
  font-weight: 300 700;
  font-style: normal;
  font-display: swap;
}

/* ============================================================
   HOME — IMMERSIVE SLIDE EXPERIENCE
   Mobile has a dedicated app-like interface. Desktop sections
   keep their full content and gain soft viewport snapping.
   ============================================================ */
.em-home {
  display: none;
}

.eh-desktop-experience {
  display: block;
}

@media (min-width: 768px) {
  html:has(.eh-home) {
    scroll-behavior: smooth;
    scroll-snap-type: y proximity;
  }

  .eh-desktop-experience > section {
    min-height: max(760px, 100svh);
    scroll-snap-align: start;
    scroll-snap-stop: normal;
  }

  .eh-desktop-experience > .eh-hero {
    min-height: max(760px, 100svh);
  }

  .eh-desktop-experience > .eh-final-cta {
    display: flex;
    align-items: center;
  }

  body:has(.eh-home) .header-pill:not(.scrolled) img,
  .nav-overlay img {
    filter: brightness(0) invert(1);
  }
}

@media (max-width: 767px) {
  html:has(.em-home),
  body:has(.em-home) {
    height: 100%;
    overflow: hidden;
    overscroll-behavior: none;
  }

  body:has(.em-home) main {
    height: 100svh;
    overflow: hidden;
  }

  body:has(.em-home) > footer,
  body:has(.em-home) .scroll-progress {
    display: none;
  }

  .eh-desktop-experience {
    display: none;
  }

  .em-home {
    --em-blue: #1d5be4;
    --em-ink: #06132d;
    position: relative;
    display: block;
    width: 100%;
    height: 100svh;
    overflow-x: hidden;
    overflow-y: auto;
    color: #fff;
    background: #040c1d;
    direction: inherit;
    scroll-behavior: smooth;
    scroll-snap-type: y mandatory;
    overscroll-behavior-y: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
  }

  .em-home::-webkit-scrollbar {
    display: none;
  }

  .em-slide {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 100svh;
    display: flex;
    align-items: stretch;
    overflow: hidden;
    isolation: isolate;
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }

  .em-slide-content {
    position: relative;
    z-index: 4;
    width: min(100% - 32px, 470px);
    height: 100%;
    margin-inline: auto;
    padding: 88px 0 86px;
    display: flex;
    flex-direction: column;
    justify-content: center;
  }

  .em-kicker {
    display: inline-flex;
    align-items: center;
    align-self: flex-start;
    gap: 9px;
    color: rgba(255,255,255,.68);
    font-size: 10px;
    font-weight: 750;
  }

  .em-kicker i {
    width: 6px;
    height: 6px;
    display: block;
    border-radius: 50%;
    background: #5f90ff;
    box-shadow: 0 0 0 5px rgba(95,144,255,.13);
  }

  .em-kicker-blue {
    color: #5d6b84;
  }

  .em-kicker-blue i {
    background: var(--em-blue);
    box-shadow: 0 0 0 5px rgba(29,91,228,.1);
  }

  .em-slide h1,
  .em-slide h2,
  .em-slide h3 {
    font-family: var(--font-heading);
  }

  .em-hero {
    background: #030a17;
  }

  .em-hero-media,
  .em-hero-shade {
    position: absolute;
    inset: 0;
  }

  .em-hero-media img {
    object-position: center 28%;
    transform: scale(1.035);
    will-change: transform;
  }

  .em-hero-shade {
    z-index: 1;
    background:
      linear-gradient(0deg, #030a17 0%, rgba(3,10,23,.96) 27%, rgba(3,10,23,.16) 61%, rgba(3,10,23,.2) 100%),
      linear-gradient(90deg, rgba(3,10,23,.12), rgba(3,10,23,.38));
  }

  .em-orbit {
    position: absolute;
    z-index: 2;
    border: 1px solid rgba(121,164,255,.2);
    border-radius: 50%;
    pointer-events: none;
    animation: emOrbit 14s linear infinite;
  }

  .em-orbit::after {
    content: "";
    position: absolute;
    top: 12%;
    inset-inline-end: 8%;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #6d9aff;
    box-shadow: 0 0 18px #4f83ff;
  }

  .em-orbit-one {
    width: 390px;
    height: 390px;
    top: -120px;
    inset-inline-end: -210px;
  }

  .em-orbit-two {
    width: 245px;
    height: 245px;
    inset-inline-start: -155px;
    bottom: 90px;
    animation-direction: reverse;
    animation-duration: 10s;
  }

  @keyframes emOrbit {
    to { transform: rotate(360deg); }
  }

  .em-hero-content {
    justify-content: flex-end;
    padding-bottom: 98px;
  }

  .em-hero h1 {
    max-width: 340px;
    margin-top: 20px;
    font-size: clamp(2.65rem, 12vw, 3.6rem);
    font-weight: 600;
    line-height: 1.05;
    letter-spacing: -.035em;
  }

  .em-hero h1 span {
    display: block;
    margin-top: .1em;
    color: #83a9ff;
  }

  .em-hero-content > p {
    max-width: 345px;
    margin-top: 19px;
    color: rgba(235,241,255,.7);
    font-size: 13px;
    line-height: 1.85;
  }

  .em-actions {
    margin-top: 25px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 9px;
  }

  .em-primary,
  .em-ghost {
    min-height: 50px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #fff;
    border-radius: 16px;
    font-size: 11px;
    font-weight: 800;
  }

  .em-primary {
    border: 1px solid #3977ff;
    background: linear-gradient(135deg, #164fcf, #2769f3);
    box-shadow: 0 16px 36px rgba(20,79,210,.3);
  }

  .em-ghost {
    border: 1px solid rgba(255,255,255,.17);
    background: rgba(255,255,255,.075);
    backdrop-filter: blur(16px);
  }

  .em-scroll-hint {
    margin-top: 23px;
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,.48);
    font-size: 9px;
    font-weight: 650;
    animation: emHint 1.9s ease-in-out infinite;
  }

  @keyframes emHint {
    0%, 100% { transform: translateY(0); opacity: .55; }
    50% { transform: translateY(5px); opacity: 1; }
  }

  .em-slide-index {
    position: absolute;
    top: 69px;
    inset-inline-end: -6px;
    color: rgba(6,19,45,.035);
    font: 700 clamp(7rem, 34vw, 10rem)/1 var(--font-heading);
    pointer-events: none;
  }

  .em-manifesto {
    color: var(--em-ink);
    background:
      radial-gradient(circle at 5% 5%, rgba(52,109,237,.1), transparent 28%),
      #f5f7fb;
  }

  .em-manifesto h2,
  .em-process-slide h2,
  .em-voices-slide h2 {
    margin-top: 16px;
    font-size: clamp(2rem, 9vw, 2.75rem);
    font-weight: 600;
    line-height: 1.12;
    letter-spacing: -.025em;
  }

  .em-manifesto h2 span,
  .em-process-slide h2 span {
    color: #778399;
  }

  .em-focus-stack {
    margin-top: 27px;
    display: grid;
    gap: 9px;
  }

  .em-focus-card {
    min-height: 82px;
    padding: 13px 14px;
    display: grid;
    grid-template-columns: 28px 34px 1fr;
    gap: 10px;
    align-items: center;
    border: 1px solid rgba(6,19,45,.09);
    border-radius: 20px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 12px 38px rgba(15,38,82,.055);
    backdrop-filter: blur(14px);
  }

  .em-focus-card > span {
    direction: ltr;
    color: #a0a9b8;
    font: 700 9px var(--font-heading);
  }

  .em-focus-card > svg {
    color: var(--em-blue);
  }

  .em-focus-card h3 {
    font-size: 14px;
    font-weight: 750;
  }

  .em-focus-card p {
    margin-top: 3px;
    color: #68758b;
    font-size: 10px;
    line-height: 1.55;
  }

  .em-services-slide {
    color: var(--em-ink);
    background:
      radial-gradient(circle at 100% 0%, rgba(48,110,244,.16), transparent 31%),
      radial-gradient(circle at 0% 75%, rgba(63,127,255,.09), transparent 27%),
      #eef2f8;
  }

  .em-sectors-slide {
    background: #030b1b;
  }

  .em-services-mesh {
    position: absolute;
    inset: 0;
    opacity: .42;
    pointer-events: none;
    background-image:
      linear-gradient(rgba(22,71,169,.04) 1px, transparent 1px),
      linear-gradient(90deg, rgba(22,71,169,.04) 1px, transparent 1px);
    background-size: 34px 34px;
    mask-image: linear-gradient(180deg, #000 0%, transparent 72%);
  }

  .em-service-screen-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 18px;
  }

  .em-service-screen-head h2 {
    margin-top: 10px;
    color: var(--em-ink);
    font-size: clamp(1.65rem, 7.6vw, 2.15rem);
    font-weight: 650;
    line-height: 1.12;
  }

  .em-service-screen-head h2 span {
    color: #76839a;
  }

  .em-service-screen-head > span {
    direction: ltr;
    padding-bottom: 4px;
    color: #8a96a9;
    font: 700 9px var(--font-heading);
  }

  .em-service-switcher {
    min-height: 44px;
    margin-top: 13px;
    padding: 4px;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    border: 1px solid rgba(6,19,45,.08);
    border-radius: 15px;
    background: rgba(255,255,255,.64);
    box-shadow: 0 10px 30px rgba(30,54,98,.05);
    backdrop-filter: blur(16px);
  }

  .em-service-switcher button {
    position: relative;
    min-width: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
    color: #8b96a7;
    border-radius: 11px;
    transition: color .3s ease, background .3s ease, box-shadow .3s ease;
  }

  .em-service-switcher button span {
    font: 700 7px var(--font-heading);
  }

  .em-service-switcher button.is-active {
    color: #fff;
    background: linear-gradient(135deg, #174dc8, #2d70f4);
    box-shadow: 0 9px 20px rgba(29,86,220,.24);
  }

  .em-service-product {
    position: relative;
    height: min(47svh, 390px);
    min-height: 360px;
    margin-top: 12px;
    display: grid;
    grid-template-rows: 53% 47%;
    overflow: hidden;
    border: 1px solid rgba(6,19,45,.09);
    border-radius: 28px;
    background: #fff;
    box-shadow:
      0 24px 60px rgba(21,42,82,.12),
      0 7px 18px rgba(21,42,82,.06);
    touch-action: pan-y;
  }

  .em-service-product-media {
    position: relative;
    min-height: 0;
    overflow: hidden;
  }

  .em-service-product-media img {
    object-position: center;
    transition: transform .8s var(--ease-out, ease);
  }

  .em-service-product-shade {
    position: absolute;
    inset: 0;
    background:
      linear-gradient(0deg, rgba(3,12,29,.62), transparent 62%),
      linear-gradient(90deg, rgba(3,12,29,.08), rgba(3,12,29,.25));
  }

  .em-service-product-icon {
    position: absolute;
    top: 14px;
    inset-inline-start: 14px;
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 14px;
    background: rgba(4,15,35,.42);
    backdrop-filter: blur(13px);
  }

  .em-service-product-media > small {
    position: absolute;
    inset-inline-end: 15px;
    bottom: 13px;
    direction: ltr;
    color: rgba(255,255,255,.72);
    font: 700 9px var(--font-heading);
  }

  .em-service-product-body {
    min-height: 0;
    padding: 14px 17px 15px;
    display: flex;
    flex-direction: column;
  }

  .em-service-product-body h3 {
    color: var(--em-ink);
    font-size: clamp(1.3rem, 6vw, 1.65rem);
    font-weight: 700;
    line-height: 1.18;
  }

  .em-service-product-body > p {
    margin-top: 5px;
    color: #66738a;
    font-size: 9.5px;
    line-height: 1.55;
  }

  .em-product-features {
    margin-top: 10px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 7px;
  }

  .em-product-features small {
    min-width: 0;
    min-height: 27px;
    padding: 5px 7px;
    display: flex;
    align-items: center;
    gap: 5px;
    overflow: hidden;
    color: #4e5d75;
    border: 1px solid rgba(28,82,190,.08);
    border-radius: 9px;
    background: #f4f7fc;
    font-size: 8.5px;
    font-weight: 650;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .em-product-features small svg {
    flex: 0 0 auto;
    color: #2968ee;
  }

  .em-service-product-body > a {
    min-height: 38px;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    color: #fff;
    border-radius: 12px;
    background: linear-gradient(135deg, #0a347f, #1857d3);
    box-shadow: 0 9px 19px rgba(14,65,157,.16);
    font-size: 9px;
    font-weight: 800;
  }

  .em-service-product-controls {
    min-height: 40px;
    margin-top: 9px;
  }

  .em-service-product-controls > button {
    width: 39px;
    height: 39px;
    color: #0a347f;
    border-color: rgba(6,19,45,.1);
    border-radius: 13px;
    background: rgba(255,255,255,.72);
    box-shadow: 0 8px 22px rgba(20,44,88,.06);
  }

  .em-service-product-controls > span {
    color: #8792a5;
    font-size: 8px;
    font-weight: 700;
  }

  .em-service-bg,
  .em-service-overlay,
  .em-sector-bg,
  .em-sector-overlay {
    position: absolute;
    inset: 0;
  }

  .em-service-bg img,
  .em-sector-bg img {
    object-position: center;
  }

  .em-service-overlay,
  .em-sector-overlay {
    z-index: 1;
    background:
      linear-gradient(0deg, #030b1b 0%, rgba(3,11,27,.87) 34%, rgba(3,11,27,.34) 72%, rgba(3,11,27,.74) 100%);
  }

  .em-section-topline {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: rgba(255,255,255,.53);
    font: 700 9px var(--font-heading);
  }

  .em-service-card {
    position: relative;
    min-height: min(47svh, 385px);
    margin-top: auto;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.17);
    border-radius: 28px;
    background:
      radial-gradient(circle at 0 0, rgba(76,129,255,.2), transparent 34%),
      rgba(4,15,35,.68);
    box-shadow: 0 28px 70px rgba(0,0,0,.25);
    backdrop-filter: blur(22px) saturate(1.1);
    touch-action: pan-y;
  }

  .em-service-card > span {
    position: absolute;
    top: 22px;
    inset-inline-end: 20px;
    direction: ltr;
    color: rgba(255,255,255,.45);
    font: 700 9px var(--font-heading);
  }

  .em-service-icon {
    position: absolute;
    top: 17px;
    inset-inline-start: 18px;
    width: 45px;
    height: 45px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 15px;
    background: rgba(255,255,255,.08);
  }

  .em-service-card h2 {
    max-width: 290px;
    font-size: clamp(1.65rem, 7.7vw, 2.25rem);
    font-weight: 650;
    line-height: 1.15;
  }

  .em-service-card > p {
    margin-top: 8px;
    color: rgba(255,255,255,.66);
    font-size: 11px;
    line-height: 1.7;
  }

  .em-feature-list {
    margin-top: 15px;
    display: grid;
    gap: 7px;
  }

  .em-feature-list small {
    display: flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.78);
    font-size: 10px;
    font-weight: 600;
  }

  .em-feature-list small svg {
    color: #79a1ff;
  }

  .em-service-card > a {
    margin-top: 18px;
    min-height: 42px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #071431;
    border-radius: 13px;
    background: #fff;
    font-size: 10px;
    font-weight: 800;
  }

  .em-carousel-controls {
    min-height: 45px;
    margin-top: 13px;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .em-carousel-controls > button {
    width: 41px;
    height: 41px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 14px;
    background: rgba(255,255,255,.07);
    backdrop-filter: blur(12px);
  }

  .em-carousel-controls > div {
    display: flex;
    align-items: center;
    gap: 5px;
  }

  .em-carousel-controls > div button {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.28);
    transition: width .3s ease, border-radius .3s ease, background .3s ease;
  }

  .em-carousel-controls > div button.is-active {
    width: 24px;
    border-radius: 999px;
    background: #6b97ff;
  }

  .em-impact-slide {
    background:
      radial-gradient(circle at 10% 10%, rgba(139,178,255,.32), transparent 30%),
      #1450d2;
  }

  .em-impact-rings {
    position: absolute;
    width: 650px;
    height: 650px;
    top: -300px;
    inset-inline-end: -300px;
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 50%;
    box-shadow:
      0 0 0 80px rgba(255,255,255,.025),
      0 0 0 160px rgba(255,255,255,.018);
  }

  .em-impact-slide h2 {
    margin-top: 17px;
    font-size: clamp(2rem, 9vw, 2.8rem);
    font-weight: 600;
    line-height: 1.12;
  }

  .em-impact-slide h2 span {
    color: rgba(255,255,255,.52);
  }

  .em-stats-grid {
    margin-top: 28px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    border-top: 1px solid rgba(255,255,255,.22);
    border-inline-start: 1px solid rgba(255,255,255,.22);
  }

  .em-stats-grid article {
    min-height: 118px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border-inline-end: 1px solid rgba(255,255,255,.22);
    border-bottom: 1px solid rgba(255,255,255,.22);
    background: rgba(255,255,255,.025);
  }

  .em-stats-grid strong {
    direction: ltr;
    align-self: flex-start;
    font: 700 clamp(2.45rem, 12vw, 3.7rem)/.9 var(--font-heading);
    letter-spacing: -.065em;
  }

  .em-stats-grid article > span {
    color: rgba(255,255,255,.65);
    font-size: 9px;
    font-weight: 650;
  }

  .em-stats-grid strong span {
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
  }

  .em-impact-note {
    margin-top: 17px;
    display: flex;
    align-items: center;
    gap: 9px;
    color: rgba(255,255,255,.65);
    font-size: 10px;
  }

  .em-process-slide {
    color: var(--em-ink);
    background:
      linear-gradient(130deg, rgba(31,89,223,.06), transparent 42%),
      #f8f9fc;
  }

  .em-process-list {
    position: relative;
    margin-top: 24px;
    display: grid;
    gap: 8px;
  }

  .em-process-list::before {
    content: "";
    position: absolute;
    top: 22px;
    bottom: 22px;
    inset-inline-start: 13px;
    width: 1px;
    background: rgba(29,91,228,.18);
  }

  .em-process-list article {
    position: relative;
    min-height: 70px;
    padding: 10px 41px 10px 12px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 9px;
    align-items: center;
    border: 1px solid rgba(6,19,45,.08);
    border-radius: 18px;
    background: rgba(255,255,255,.75);
  }

  .em-process-number {
    color: #9ba5b6;
    font: 700 9px var(--font-heading);
  }

  .em-process-number i {
    position: absolute;
    z-index: 2;
    top: 50%;
    inset-inline-start: 8px;
    width: 11px;
    height: 11px;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--em-blue);
    box-shadow: 0 0 0 1px rgba(29,91,228,.16);
    transform: translateY(-50%);
  }

  .em-process-list article span {
    color: var(--em-blue);
    font-size: 8px;
    font-weight: 800;
  }

  .em-process-list article h3 {
    margin-top: 2px;
    font-size: 12px;
    font-weight: 800;
  }

  .em-process-list article p {
    margin-top: 2px;
    color: #748095;
    font-size: 9px;
  }

  .em-sectors-slide .em-slide-content {
    justify-content: flex-start;
    padding-bottom: 94px;
  }

  .em-sector-bg img {
    object-position: center;
  }

  .em-sector-overlay {
    background:
      linear-gradient(0deg, #030b1b 0%, rgba(3,11,27,.88) 31%, rgba(3,11,27,.22) 67%, rgba(3,11,27,.74) 100%);
  }

  .em-sector-feature {
    height: clamp(245px, 34svh, 295px);
    min-height: 245px;
    margin-top: auto;
    padding: 17px 18px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 28px;
    background: rgba(4,15,35,.6);
    box-shadow: 0 28px 70px rgba(0,0,0,.24);
    backdrop-filter: blur(21px);
    touch-action: pan-y;
  }

  .em-sector-feature-top {
    margin-bottom: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  .em-sector-feature-top > span {
    width: 42px;
    height: 42px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.2);
    border-radius: 15px;
    background: rgba(255,255,255,.08);
  }

  .em-sector-inline-nav {
    display: flex;
    align-items: center;
    gap: 7px;
  }

  .em-sector-inline-nav button {
    width: 36px;
    height: 36px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 12px;
    background: rgba(255,255,255,.07);
    transition: background .25s ease, transform .25s ease;
  }

  .em-sector-inline-nav button:active {
    background: rgba(111,155,255,.22);
    transform: scale(.94);
  }

  .em-sector-inline-nav small {
    min-width: 42px;
    direction: ltr;
    color: rgba(255,255,255,.48);
    font: 700 9px var(--font-heading);
    text-align: center;
  }

  .em-sector-feature h2 {
    font-size: clamp(1.75rem, 8.5vw, 2.45rem);
    font-weight: 600;
    line-height: 1.1;
  }

  .em-sector-feature > p {
    max-width: 310px;
    margin-top: 8px;
    color: rgba(255,255,255,.65);
    font-size: 10px;
    line-height: 1.65;
  }

  .em-sector-swipe-hint {
    margin-top: 13px;
    padding-top: 11px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255,255,255,.48);
    border-top: 1px solid rgba(255,255,255,.1);
    font-size: 8px;
    font-weight: 650;
  }

  .em-sector-swipe-hint i {
    width: 26px;
    height: 2px;
    display: block;
    border-radius: 99px;
    background: #6f9bff;
  }

  .em-voices-slide {
    background:
      radial-gradient(circle at 6% 12%, rgba(50,108,239,.23), transparent 31%),
      #040c1d;
  }

  .em-voices-slide h2 span {
    color: #7da5ff;
  }

  .em-voices-glow {
    position: absolute;
    width: 330px;
    height: 330px;
    inset-inline-start: -220px;
    bottom: 80px;
    border-radius: 50%;
    background: #1a5ae4;
    filter: blur(100px);
    opacity: .2;
  }

  .em-quote-card {
    min-height: min(42svh, 340px);
    margin-top: 25px;
    padding: 22px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 27px;
    background: rgba(255,255,255,.038);
    backdrop-filter: blur(16px);
  }

  .em-quote-card > svg {
    color: #6594ff;
  }

  .em-quote-card blockquote {
    font-family: var(--font-heading);
    font-size: clamp(1.25rem, 6vw, 1.65rem);
    font-weight: 500;
    line-height: 1.65;
  }

  .em-quote-card footer {
    margin-top: 19px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-family: var(--font-body);
  }

  .em-quote-card footer strong {
    font-size: 11px;
  }

  .em-quote-card footer span {
    color: rgba(255,255,255,.46);
    font-size: 9px;
  }

  .em-voices-slide .em-carousel-controls > span {
    direction: ltr;
    color: rgba(255,255,255,.46);
    font: 700 9px var(--font-heading);
  }

  .em-cta-slide {
    background:
      linear-gradient(145deg, #0a2d7e 0%, #1554da 58%, #2c70f4 100%);
  }

  .em-cta-grid {
    position: absolute;
    inset: 0;
    opacity: .1;
    background-image:
      linear-gradient(rgba(255,255,255,.35) 1px, transparent 1px),
      linear-gradient(90deg, rgba(255,255,255,.35) 1px, transparent 1px);
    background-size: 38px 38px;
    mask-image: linear-gradient(0deg, #000, transparent 72%);
  }

  .em-cta-orb {
    position: absolute;
    width: 440px;
    height: 440px;
    top: -260px;
    inset-inline-end: -190px;
    border: 1px solid rgba(255,255,255,.18);
    border-radius: 50%;
    box-shadow:
      0 0 0 55px rgba(255,255,255,.03),
      0 0 0 110px rgba(255,255,255,.018);
  }

  .em-cta-content {
    align-items: flex-start;
  }

  .em-cta-logo {
    position: relative;
    width: 52px;
    height: 60px;
    margin-bottom: 22px;
  }

  .em-white-logo {
    filter: brightness(0) invert(1);
  }

  .em-cta-slide h2 {
    margin-top: 17px;
    font-size: clamp(2.45rem, 11vw, 3.45rem);
    font-weight: 600;
    line-height: 1.08;
    letter-spacing: -.03em;
  }

  .em-cta-slide h2 span {
    color: rgba(255,255,255,.55);
  }

  .em-cta-content > p {
    max-width: 320px;
    margin-top: 17px;
    color: rgba(255,255,255,.7);
    font-size: 12px;
    line-height: 1.8;
  }

  .em-primary-light {
    width: 100%;
    margin-top: 25px;
    color: #0b3da8;
    border-color: rgba(255,255,255,.8);
    background: #fff;
    box-shadow: 0 18px 40px rgba(5,25,72,.2);
  }

  .em-quick-links {
    width: 100%;
    margin-top: 17px;
    padding-top: 17px;
    display: flex;
    justify-content: space-between;
    border-top: 1px solid rgba(255,255,255,.17);
  }

  .em-quick-links a {
    color: rgba(255,255,255,.68);
    font-size: 9px;
    font-weight: 700;
  }

  .em-back-top {
    margin-top: 21px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: rgba(255,255,255,.48);
    font-size: 9px;
    font-weight: 650;
  }

  .em-slide-dock {
    position: fixed;
    z-index: 45;
    right: 16px;
    bottom: max(12px, env(safe-area-inset-bottom));
    left: 16px;
    min-height: 60px;
    padding: 7px;
    display: grid;
    grid-template-columns: 46px 1fr 46px;
    gap: 8px;
    align-items: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,.14);
    border-radius: 21px;
    background: rgba(3,10,24,.76);
    box-shadow: 0 22px 60px rgba(0,0,0,.28);
    backdrop-filter: blur(24px) saturate(1.25);
  }

  .em-slide-dock > button {
    width: 46px;
    height: 46px;
    display: grid;
    place-items: center;
    color: #fff;
    border: 1px solid rgba(255,255,255,.13);
    border-radius: 15px;
    background: rgba(255,255,255,.075);
  }

  .em-slide-dock > button:disabled {
    opacity: .22;
  }

  .em-dock-progress {
    min-width: 0;
    display: grid;
    grid-template-columns: 24px 1fr 44px;
    gap: 8px;
    align-items: center;
  }

  .em-dock-progress > span {
    direction: ltr;
    color: rgba(255,255,255,.86);
    font: 700 9px var(--font-heading);
  }

  .em-dock-progress > div {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .em-dock-progress > div button {
    width: 100%;
    height: 2px;
    border-radius: 99px;
    background: rgba(255,255,255,.18);
    transition: background .3s ease, transform .3s ease;
  }

  .em-dock-progress > div button.is-active {
    background: #6f9bff;
    transform: scaleY(2);
  }

  .em-dock-progress > small {
    overflow: hidden;
    color: rgba(255,255,255,.5);
    font-size: 8px;
    font-weight: 650;
    text-align: end;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  body:has(.em-home) .mobile-header {
    min-height: 64px;
    padding: 8px 14px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.11);
    background: rgba(3,10,24,.78);
    box-shadow: none;
    backdrop-filter: blur(24px) saturate(1.25);
  }

  body:has(.em-home) .mobile-header::after {
    content: "إسناد المواهب";
    grid-area: empty;
    justify-self: end;
    direction: inherit;
    color: rgba(255,255,255,.76);
    font: 650 10px var(--font-heading);
  }

  body:has(.em-home) .mobile-header-menu {
    width: 42px;
    height: 42px;
    color: #fff;
    border-color: rgba(255,255,255,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.075);
    box-shadow: none;
  }

  body:has(.em-home) .mobile-header-logo {
    width: 43px;
    height: 43px;
    border-color: rgba(255,255,255,.14);
    border-radius: 15px;
    background: rgba(255,255,255,.08);
    box-shadow: none;
  }

  body:has(.em-home) .mobile-header-logo img,
  .nav-overlay img {
    filter: brightness(0) invert(1);
  }

  .nav-overlay {
    z-index: 60;
    background:
      radial-gradient(circle at 0 0, rgba(91,142,255,.3), transparent 34%),
      linear-gradient(145deg, #030b1b, #0c2d74 64%, #1e5bdc);
  }
}

@media (max-width: 767px) and (max-height: 720px) {
  .em-slide-content {
    padding-top: 74px;
    padding-bottom: 76px;
  }

  .em-hero-content {
    padding-bottom: 82px;
  }

  .em-hero h1 {
    margin-top: 13px;
    font-size: clamp(2.25rem, 11vw, 2.85rem);
  }

  .em-hero-content > p {
    margin-top: 13px;
    line-height: 1.65;
  }

  .em-actions {
    margin-top: 17px;
  }

  .em-scroll-hint {
    margin-top: 13px;
  }

  .em-manifesto h2,
  .em-process-slide h2,
  .em-voices-slide h2,
  .em-impact-slide h2 {
    margin-top: 11px;
    font-size: clamp(1.75rem, 8vw, 2.2rem);
  }

  .em-focus-stack,
  .em-process-list {
    margin-top: 17px;
  }

  .em-focus-card {
    min-height: 70px;
    padding-block: 9px;
  }

  .em-sector-feature {
    height: 245px;
    min-height: 245px;
  }

  .em-service-screen-head h2 {
    margin-top: 7px;
    font-size: 1.55rem;
  }

  .em-service-switcher {
    min-height: 40px;
    margin-top: 8px;
  }

  .em-service-product {
    height: 335px;
    min-height: 335px;
    margin-top: 8px;
    grid-template-rows: 48% 52%;
  }

  .em-service-product-body {
    padding: 12px 14px;
  }

  .em-service-product-body > p {
    line-height: 1.45;
  }

  .em-service-product-controls {
    min-height: 36px;
    margin-top: 5px;
  }

  .em-service-product-controls > button {
    width: 36px;
    height: 36px;
  }

  .em-stats-grid {
    margin-top: 18px;
  }

  .em-stats-grid article {
    min-height: 94px;
    padding: 12px 14px;
  }

  .em-process-list article {
    min-height: 60px;
    padding-block: 7px;
  }

  .em-quote-card {
    min-height: 285px;
    margin-top: 17px;
  }

  .em-cta-logo {
    width: 40px;
    height: 47px;
    margin-bottom: 14px;
  }
}

@media (max-width: 360px) {
  .em-slide-content {
    width: calc(100% - 26px);
  }

  .em-actions {
    grid-template-columns: 1fr;
  }

  .em-ghost {
    display: none;
  }

  .em-focus-card {
    grid-template-columns: 24px 30px 1fr;
    gap: 7px;
  }

  .em-slide-dock {
    right: 11px;
    left: 11px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .em-home {
    scroll-behavior: auto;
  }

  .em-orbit,
  .em-scroll-hint {
    animation: none;
  }
}

/* ============================================================
   THEME VARIABLES
   Default = Light Blue | [data-theme="dark"] = Dark Blue
   ============================================================ */
:root {
  --font-ibm: 'IBM Plex Sans Arabic';
  --font-heading: var(--font-ibm), 'Tajawal', sans-serif;
  --font-body:    var(--font-ibm), 'Cairo', sans-serif;
  --bg-primary: #f0f5ff;
  --bg-secondary: #e4edfb;
  --bg-card: #ffffff;
  --accent: #1b50d4;
  --accent-light: #4b80ff;
  --accent-dark: #1038a8;
  --text-primary: #0d1b42;
  --text-secondary: #4a5b80;
  --border-accent: rgba(27, 80, 212, 0.15);
  --border-subtle: rgba(13, 27, 66, 0.08);
  --shadow-card: 0 2px 16px rgba(27, 80, 212, 0.07), 0 1px 4px rgba(0,0,0,0.04);
  --shadow-hover: 0 16px 48px rgba(27, 80, 212, 0.14), 0 4px 12px rgba(0,0,0,0.06);
  --glass-bg: rgba(255,255,255,0.85);
  --glass-bg-hover: rgba(255,255,255,0.98);
  --nav-bg: rgba(240,245,255,0.96);
  --orb-accent: rgba(27, 80, 212, 0.1);
  --gradient-line: rgba(27, 80, 212, 0.2);
  --grid-color: rgba(27, 80, 212, 0.04);
  --scrollbar-track: #e4edfb;
  --scrollbar-thumb: #1b50d4;
  --progress-bar: linear-gradient(90deg, #1b50d4, #4b80ff);
  --stats-overlay: rgba(224, 234, 252, 0.7);
}

[data-theme="dark"] {
  --bg-primary: #060d1e;
  --bg-secondary: #0b1530;
  --bg-card: #0f1d3a;
  --accent: #3b7ef8;
  --accent-light: #6ba4ff;
  --accent-dark: #1b50d4;
  --text-primary: #e8eeff;
  --text-secondary: #7288b0;
  --border-accent: rgba(59, 126, 248, 0.22);
  --border-subtle: rgba(114, 136, 176, 0.12);
  --shadow-card: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-hover: 0 20px 60px rgba(59,126,248,0.15), 0 8px 25px rgba(0,0,0,0.4);
  --glass-bg: rgba(15,29,58,0.7);
  --glass-bg-hover: rgba(22,40,78,0.9);
  --nav-bg: rgba(6,13,30,0.96);
  --orb-accent: rgba(59, 126, 248, 0.18);
  --gradient-line: rgba(59, 126, 248, 0.25);
  --grid-color: rgba(59, 126, 248, 0.04);
  --scrollbar-track: #0b1530;
  --scrollbar-thumb: #3b7ef8;
  --progress-bar: linear-gradient(90deg, #3b7ef8, #6ba4ff);
  --stats-overlay: rgba(11,21,48,0.7);
}

/* ============================================================
   BASE RESET
   ============================================================ */
* { box-sizing: border-box; margin: 0; padding: 0; }

html {
  scroll-behavior: smooth;
  scrollbar-width: thin;
  scrollbar-color: var(--scrollbar-thumb) var(--scrollbar-track);
  max-width: 100%;
  overflow-x: hidden;
}
html::-webkit-scrollbar { width: 5px; }
html::-webkit-scrollbar-track { background: var(--scrollbar-track); }
html::-webkit-scrollbar-thumb { background: var(--scrollbar-thumb); border-radius: 4px; }

body {
  background-color: var(--bg-primary);
  color: var(--text-primary);
  font-family: var(--font-body);
  direction: inherit;
  text-align: start;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  transition: background-color 0.3s ease, color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
}

main h1,
main h2,
main h3 {
  font-weight: 600 !important;
}

p, li, label, input, textarea, select, blockquote {
  font-family: var(--font-body);
}

/* ============================================================
   KEYFRAMES  (ALL defined here so inline style="" works)
   ============================================================ */
@keyframes slideUp {
  from { opacity: 0; transform: translateY(36px); }
  to   { opacity: 1; transform: translateY(0); }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes goldShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes accentShimmer {
  0%   { background-position: 0% center; }
  100% { background-position: 200% center; }
}

@keyframes heroReveal {
  from { opacity: 0; transform: translateY(28px) skewY(1.5deg); filter: blur(6px); }
  to   { opacity: 1; transform: translateY(0) skewY(0deg);      filter: blur(0); }
}

@keyframes particleFloat {
  0%,100% { transform: translateY(0) translateX(0) rotate(0deg);   opacity: 0.6; }
  33%     { transform: translateY(-28px) translateX(12px) rotate(120deg); opacity: 1; }
  66%     { transform: translateY(-14px) translateX(-8px) rotate(240deg); opacity: 0.4; }
}

@keyframes pulseRing {
  0%,100% { transform: scale(1);    opacity: 0.8; }
  50%     { transform: scale(1.08); opacity: 0.4; }
}

@keyframes spinRing        { from { transform: rotate(0deg);   } to { transform: rotate(360deg);  } }
@keyframes spinRingReverse { from { transform: rotate(0deg);   } to { transform: rotate(-360deg); } }
@keyframes heroFloat       { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-18px) scale(1.02); } }

/* Marquee: moves LEFT (reveals cards from left edge) — seamless with margin-right-per-card */
@keyframes marqueeLeft  { 0% { transform: translateX(0);    } 100% { transform: translateX(-50%); } }
@keyframes marqueeRight { 0% { transform: translateX(-50%); } 100% { transform: translateX(0);   } }

/* ── BCG-style animated mesh gradient blobs ── */
@keyframes blob1 {
  0%,100% { transform: translate(0,   0)   scale(1);    }
  25%     { transform: translate(80px,-60px) scale(1.12); }
  50%     { transform: translate(30px, 90px) scale(0.94); }
  75%     { transform: translate(-70px,30px) scale(1.06); }
}
@keyframes blob2 {
  0%,100% { transform: translate(0,   0)   scale(1);    }
  25%     { transform: translate(-60px,50px) scale(0.9);  }
  50%     { transform: translate(70px,-70px) scale(1.1);  }
  75%     { transform: translate(20px, 60px) scale(0.96); }
}
@keyframes blob3 {
  0%,100% { transform: translate(0,   0)   scale(1);    }
  25%     { transform: translate(50px, 50px) scale(1.08); }
  50%     { transform: translate(-80px,10px) scale(0.92); }
  75%     { transform: translate(10px,-80px) scale(1.04); }
}
@keyframes blob4 {
  0%,100% { transform: translate(0,   0)   scale(1);    }
  33%     { transform: translate(-40px,-60px) scale(1.1); }
  66%     { transform: translate(60px,  40px) scale(0.9); }
}

/* Hero gradient blobs */
.hero-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(110px);
  pointer-events: none;
  will-change: transform;
}
.hero-blob-1 { animation: blob1 22s ease-in-out infinite; }
.hero-blob-2 { animation: blob2 26s ease-in-out infinite; }
.hero-blob-3 { animation: blob3 18s ease-in-out infinite; }
.hero-blob-4 { animation: blob4 30s ease-in-out infinite; }

/* ── Full-screen nav overlay ── */
.nav-overlay {
  position: fixed;
  inset: 0;
  z-index: 40;
  background: linear-gradient(140deg, var(--accent-dark) 0%, var(--accent) 55%, var(--accent-light) 100%);
  transform: translateY(-100%);
  transition: transform 0.7s cubic-bezier(0.76, 0, 0.24, 1);
  overflow-y: auto;
}
.nav-overlay.open {
  transform: translateY(0);
}

/* Nav item slide-up reveal */
.nav-overlay-item {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.6s ease, transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}
.nav-overlay.open .nav-overlay-item {
  opacity: 1;
  transform: translateY(0);
}

/* Pill container (BCG style) */
.header-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px 8px 10px;
  border-radius: 9999px;
  background: rgba(255,255,255,0.88);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(27,80,212,0.12);
  box-shadow: 0 2px 20px rgba(27,80,212,0.1);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}
[data-theme="dark"] .header-pill {
  background: rgba(15,29,58,0.85);
  border-color: rgba(59,126,248,0.2);
}
.header-pill.scrolled {
  background: rgba(255,255,255,0.98);
  box-shadow: 0 4px 30px rgba(27,80,212,0.14);
}
[data-theme="dark"] .header-pill.scrolled {
  background: rgba(15,29,58,0.98);
}

/* ============================================================
   HERO 3D PLATFORM
   ============================================================ */
@keyframes platformPulse {
  0%,100% {
    box-shadow:
      0 0 0 1px rgba(100,160,255,0.18),
      0 0 35px rgba(27,80,212,0.75),
      0 0 80px rgba(27,80,212,0.42),
      0 50px 100px rgba(0,5,40,0.82);
  }
  50% {
    box-shadow:
      0 0 0 1px rgba(100,160,255,0.32),
      0 0 55px rgba(27,80,212,1),
      0 0 120px rgba(27,80,212,0.65),
      0 50px 100px rgba(0,5,40,0.82);
  }
}

@keyframes cardFloat {
  0%,100% { transform: translateY(0); }
  50%      { transform: translateY(-8px); }
}

@keyframes glowPulse {
  0%,100% { opacity: 0.75; transform: scale(1); }
  50%      { opacity: 1;    transform: scale(1.1); }
}

/* 3D Platform block */
.platform-3d {
  position: relative;
  z-index: 10;
  width: 170px;
  height: 170px;
  border-radius: 28px;
  background: linear-gradient(155deg, #0f2252 0%, #1a3a80 45%, #0c1a45 100%);
  transform: perspective(500px) rotateX(14deg) rotateY(-7deg);
  animation: platformPulse 3.5s ease-in-out infinite;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

@media (min-width: 400px) {
  .platform-3d { width: 190px; height: 190px; }
}

@media (min-width: 768px) {
  .platform-3d { width: 200px; height: 200px; }
}

/* Grid texture overlay */
.platform-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background-image:
    linear-gradient(rgba(100,160,255,0.07) 1px, transparent 1px),
    linear-gradient(90deg, rgba(100,160,255,0.07) 1px, transparent 1px);
  background-size: 17px 17px;
}

/* Shine highlight */
.platform-3d::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: 26px;
  background: linear-gradient(145deg, rgba(255,255,255,0.11) 0%, transparent 50%);
  pointer-events: none;
}

/* Floating service cards */
.float-card {
  position: absolute;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  padding: clamp(8px,2.5%,12px) clamp(10px,3%,14px);
  border-radius: 16px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid rgba(27,80,212,0.1);
  box-shadow: 0 8px 28px rgba(27,80,212,0.1), 0 2px 6px rgba(0,0,0,0.06);
  width: 88px;
  text-align: center;
  animation: cardFloat 3.5s ease-in-out infinite;
}

[data-theme="dark"] .float-card {
  background: rgba(10,22,50,0.92);
  border-color: rgba(59,130,246,0.2);
  box-shadow: 0 8px 28px rgba(0,0,0,0.35);
}

.float-card-icon {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  background: linear-gradient(135deg, rgba(27,80,212,0.12), rgba(27,80,212,0.05));
  border: 1px solid rgba(27,80,212,0.14);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
}

.float-card-label {
  font-size: 10px;
  font-weight: 700;
  color: var(--text-primary);
  font-family: var(--font-body);
  line-height: 1.35;
  word-break: keep-all;
}

/* ── Dark stats bar ── */
/* ── Stat icon pill (mobile stats bar) ── */
.stat-icon-pill {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(27,80,212,0.28) 0%, rgba(75,138,255,0.16) 100%);
  border: 1.5px solid rgba(75,138,255,0.32);
  box-shadow: 0 0 20px rgba(27,80,212,0.32), inset 0 1px 0 rgba(255,255,255,0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #92c2ff;
  flex-shrink: 0;
}

/* ── Glassmorphic stats section ── */
.stats-section-glass {
  position: relative;
  overflow: hidden;
  border-top: 1px solid rgba(75,138,255,0.07);
  border-bottom: 1px solid rgba(75,138,255,0.07);
}

.stat-glass-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 28px 14px;
  border-radius: 20px;
  background: rgba(255,255,255,0.035);
  border: 1px solid rgba(100,150,255,0.1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  text-align: center;
}

.stat-glass-card:hover {
  background: rgba(27,80,212,0.09);
  border-color: rgba(75,138,255,0.24);
  transform: translateY(-4px);
  box-shadow: 0 14px 44px rgba(27,80,212,0.18);
}

.stat-glass-icon {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(27,80,212,0.2);
  border: 1px solid rgba(75,138,255,0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #90c4ff;
  box-shadow: 0 0 20px rgba(27,80,212,0.28), inset 0 1px 0 rgba(255,255,255,0.08);
}

.stat-glass-number {
  font-size: 2.4rem;
  font-weight: 900;
  line-height: 1;
  background: linear-gradient(140deg, #c8dfff 0%, #ffffff 55%, #e8f2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stat-glass-label {
  font-size: 0.68rem;
  color: rgba(255,255,255,0.45);
  text-align: center;
  line-height: 1.45;
  font-weight: 500;
  letter-spacing: 0.01em;
}

/* ── Mobile app-like header ── */
.mobile-header {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  grid-template-areas: "menu logo empty";
  align-items: center;
  gap: 10px;
  min-height: 68px;
  padding: 10px 14px;
  direction: ltr;
  background: rgba(255,255,255,0.82);
  backdrop-filter: blur(22px) saturate(1.25);
  -webkit-backdrop-filter: blur(22px) saturate(1.25);
  border-bottom: 1px solid rgba(27,80,212,0.1);
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  box-shadow: 0 16px 44px rgba(13,27,66,0.08);
}

[data-theme="dark"] .mobile-header {
  background: rgba(8,16,36,0.84);
  border-bottom-color: rgba(59,130,246,0.16);
  box-shadow: 0 16px 44px rgba(0,0,0,0.28);
}

.mobile-header-menu {
  grid-area: menu;
  justify-self: start;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 16px;
  background: rgba(255,255,255,0.72);
  border: 1px solid rgba(27,80,212,0.13);
  color: var(--text-primary);
  box-shadow: 0 10px 28px rgba(27,80,212,0.08);
}

[data-theme="dark"] .mobile-header-menu {
  background: rgba(15,29,58,0.7);
  border-color: rgba(59,130,246,0.2);
}

.mobile-header-logo {
  grid-area: logo;
  justify-self: center;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  background: rgba(255,255,255,0.7);
  border: 1px solid rgba(27,80,212,0.1);
  box-shadow: 0 12px 32px rgba(13,27,66,0.08);
}

[data-theme="dark"] .mobile-header-logo {
  background: rgba(15,29,58,0.62);
  border-color: rgba(59,130,246,0.18);
}

@media (max-width: 360px) {
  .mobile-header {
    grid-template-columns: 1fr auto 1fr;
    padding-inline: 10px;
    gap: 8px;
  }
}

/* ============================================================
   SCROLL REVEAL
   ============================================================ */
.reveal        { opacity: 0; transform: translateY(48px);  transition: opacity .7s ease, transform .7s ease; }
.reveal-left   { opacity: 0; transform: translateX(-48px); transition: opacity .7s ease, transform .7s ease; }
.reveal-right  { opacity: 0; transform: translateX(48px);  transition: opacity .7s ease, transform .7s ease; }
.reveal-scale  { opacity: 0; transform: scale(.92);         transition: opacity .6s ease, transform .6s ease; }

.reveal.revealed, .reveal-left.revealed, .reveal-right.revealed, .reveal-scale.revealed {
  opacity: 1; transform: none;
}

.delay-100 { transition-delay: .1s !important; }
.delay-200 { transition-delay: .2s !important; }
.delay-300 { transition-delay: .3s !important; }
.delay-400 { transition-delay: .4s !important; }
.delay-500 { transition-delay: .5s !important; }
.delay-600 { transition-delay: .6s !important; }

/* ============================================================
   ACCENT (BLUE) TEXT GRADIENT
   ============================================================ */
.accent-text {
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-light) 50%, var(--accent) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  background-size: 200% auto;
  animation: accentShimmer 5s linear infinite;
}
/* Legacy alias kept for any existing usage */
.gold-text { @apply accent-text; }

/* ============================================================
   CARDS
   ============================================================ */
.card-glass {
  background: var(--glass-bg);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border-accent);
  border-radius: 16px;
  box-shadow: var(--shadow-card);
  transition: all .4s cubic-bezier(.4,0,.2,1);
}

.card-glass:hover {
  background: var(--glass-bg-hover);
  border-color: rgba(27,80,212,.35);
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
}

[data-theme="dark"] .card-glass               { background: var(--glass-bg); }
[data-theme="dark"] .card-glass:hover          { border-color: rgba(59,126,248,.5); }

/* ============================================================
   GLOW
   ============================================================ */
.glow-accent { box-shadow: 0 0 30px rgba(27,80,212,.25), 0 0 60px rgba(27,80,212,.08); }
.glow-gold   { box-shadow: 0 0 30px rgba(27,80,212,.25); } /* alias */

/* ============================================================
   ORBS
   ============================================================ */
.orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}
.orb-gold  { background: radial-gradient(circle, var(--orb-accent) 0%, transparent 70%); }
.orb-blue  { background: radial-gradient(circle, rgba(27,80,212,.08) 0%, transparent 70%); }

/* ============================================================
   GRADIENT LINE
   ============================================================ */
.gradient-line {
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--accent), transparent);
  opacity: .35;
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: linear-gradient(135deg, var(--accent-dark), var(--accent), var(--accent-light));
  background-size: 200% auto;
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  transition: all .3s ease;
  text-decoration: none;
  position: relative;
  overflow: hidden;
}
.btn-primary:hover {
  background-position: right center;
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(27,80,212,.35);
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 32px;
  background: transparent;
  color: var(--accent);
  font-weight: 700;
  font-size: 15px;
  border-radius: 50px;
  border: 2px solid var(--accent);
  cursor: pointer;
  transition: all .3s ease;
  text-decoration: none;
}
.btn-outline:hover {
  background: rgba(27,80,212,.07);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(27,80,212,.15);
}

/* ============================================================
   SECTION BADGE
   ============================================================ */
.section-badge {
  display: inline-block;
  padding: 6px 18px;
  background: rgba(27,80,212,.08);
  border: 1px solid rgba(27,80,212,.22);
  border-radius: 50px;
  color: var(--accent);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: .3px;
  margin-bottom: 16px;
}

/* ============================================================
   SERVICE ICON
   ============================================================ */
.service-icon-wrap {
  width: 64px;
  height: 64px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(27,80,212,.12), rgba(27,80,212,.04));
  border: 1px solid rgba(27,80,212,.2);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all .3s ease;
  color: var(--accent);
}
.card-glass:hover .service-icon-wrap {
  background: linear-gradient(135deg, rgba(27,80,212,.2), rgba(27,80,212,.08));
  box-shadow: 0 0 20px rgba(27,80,212,.2);
}

/* ============================================================
   INDUSTRY TAG
   ============================================================ */
.industry-tag {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px 18px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 12px;
  transition: all .3s ease;
  cursor: default;
  box-shadow: var(--shadow-card);
}
.industry-tag:hover {
  background: rgba(27,80,212,.06);
  border-color: rgba(27,80,212,.35);
  transform: scale(1.02);
  box-shadow: var(--shadow-hover);
}

/* ============================================================
   NAV
   ============================================================ */
.mobile-menu {
  background: var(--nav-bg);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-accent);
}

.nav-link { position: relative; transition: color .3s ease; }
.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px; right: 0; left: 0;
  height: 2px;
  background: var(--accent);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform .3s ease;
}
.nav-link:hover::after, .nav-link.active::after { transform: scaleX(1); }

/* ============================================================
   SCROLL PROGRESS BAR
   ============================================================ */
.scroll-progress {
  position: fixed;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: var(--progress-bar);
  transform-origin: left;
  z-index: 9999;
}

/* ============================================================
   GRID PATTERN
   ============================================================ */
.grid-pattern {
  background-image:
    linear-gradient(var(--grid-color) 1px, transparent 1px),
    linear-gradient(90deg, var(--grid-color) 1px, transparent 1px);
  background-size: 50px 50px;
}

/* ============================================================
   HERO ANIMATIONS
   ============================================================ */
.hero-title-reveal    { animation: heroReveal 1s cubic-bezier(.4,0,.2,1) forwards; }
.hero-subtitle-reveal { animation: heroReveal 1s cubic-bezier(.4,0,.2,1) .3s forwards; opacity: 0; }
.hero-cta-reveal      { animation: heroReveal 1s cubic-bezier(.4,0,.2,1) .6s forwards; opacity: 0; }
.hero-graphic         { animation: heroFloat 8s ease-in-out infinite; }

/* ============================================================
   HERO SECTION
   ============================================================ */
.hero-section { min-height: 100svh; display: flex; align-items: center; position: relative; overflow: hidden; }

.hero-copy {
  width: 100%;
  min-width: 0;
  max-width: 620px;
  text-align: center;
}

@media (min-width: 1024px) {
  .hero-copy {
    text-align: start;
  }
}

.hero-mobile-proof {
  margin: 22px auto 0;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  max-width: 440px;
}

.hero-proof-item {
  min-width: 0;
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 11px 8px;
  border-radius: 18px;
  background: rgba(255,255,255,0.78);
  border: 1px solid rgba(27,80,212,0.12);
  box-shadow: 0 14px 34px rgba(27,80,212,0.08);
  color: var(--accent);
  font-size: 11px;
  font-weight: 800;
  white-space: normal;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  line-height: 1.35;
}

[data-theme="dark"] .hero-proof-item {
  background: rgba(15,29,58,0.62);
  border-color: rgba(59,126,248,0.18);
  box-shadow: 0 12px 34px rgba(0,0,0,0.25);
}

.hero-mobile-stats-bar {
  width: 100%;
  background: linear-gradient(160deg, #060d1e 0%, #0a1632 55%, #060d1e 100%);
  border-top: 1px solid rgba(75,138,255,0.1);
  padding: 28px 16px 32px;
}

.hero-mobile-stats-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-width: 340px;
  margin: 0 auto;
}

.hero-mobile-stat-dark {
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px 10px;
  border-radius: 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(75,138,255,0.1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: border-color 0.3s;
}

.hero-mobile-stat-dark-value {
  background: linear-gradient(140deg, #c8dfff 0%, #fff 55%, #e8f2ff 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

.hero-mobile-stat-dark-label {
  color: rgba(255,255,255,0.48);
  font-size: 11px;
  font-weight: 600;
  line-height: 1.3;
  text-align: center;
}

/* ============================================================
   SERVICES CAROUSEL
   ============================================================ */
.service-card-link {
  display: block;
  height: 100%;
}

@media (max-width: 639px) {
  .services-carousel {
    display: flex;
    gap: 12px;
    width: 100%;
    overflow-x: auto;
    overflow-y: visible;
    padding: 4px 1rem 20px;
    scroll-snap-type: x mandatory;
    scroll-padding-inline-start: 1rem;
    overscroll-behavior-x: contain;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    touch-action: pan-x;
    /* fade-out on the right to hint there's more */
    -webkit-mask-image: linear-gradient(to left, transparent 0, #000 56px);
    mask-image: linear-gradient(to left, transparent 0, #000 56px);
  }

  .services-carousel::-webkit-scrollbar {
    display: none;
  }

  .services-carousel-item {
    flex: 0 0 min(82vw, 320px);
    min-width: 0;
    scroll-snap-align: start;
    scroll-snap-stop: always;
    /* disable reveal animation in carousel — show immediately */
    opacity: 1 !important;
    transform: none !important;
  }

  .services-carousel-item > * {
    height: 100%;
  }

  .services-carousel .card-glass {
    transform: translateZ(0);
  }
}

/* ============================================================
   PULSE
   ============================================================ */
.pulse-ring { animation: pulseRing 3s ease-in-out infinite; }

/* ============================================================
   COUNTER
   ============================================================ */
.counter-number {
  font-size: clamp(2.5rem, 5vw, 4rem);
  font-weight: 800;
  line-height: 1;
}

/* ============================================================
   MARQUEE (Testimonials infinite scroll)
   ============================================================ */

/* Force LTR on the wrapper so translate math is predictable regardless of page direction */
.marquee-wrapper {
  overflow: hidden;
  position: relative;
  direction: ltr;
}

/* No gap — use margin-right on cards instead so -50% aligns perfectly */
.marquee-track {
  display: flex;
  gap: 0;
  width: max-content;
  animation: marqueeLeft 42s linear infinite;
  will-change: transform;
}
.marquee-track.reverse {
  animation: marqueeRight 48s linear infinite;
}
.marquee-wrapper:hover .marquee-track,
.marquee-wrapper:hover .marquee-track.reverse {
  animation-play-state: paused;
}

/* Edge fade masks */
.marquee-wrapper::before,
.marquee-wrapper::after {
  content: '';
  position: absolute;
  top: 0; bottom: 0;
  width: 80px;
  z-index: 2;
  pointer-events: none;
}
.marquee-wrapper::before { left:  0; background: linear-gradient(to right, var(--bg-primary), transparent); }
.marquee-wrapper::after  { right: 0; background: linear-gradient(to left,  var(--bg-primary), transparent); }

/* Testimonial card — margin-right instead of gap (guarantees seamless loop) */
.testimonial-card {
  flex-shrink: 0;
  direction: inherit;        /* restore Arabic text direction inside card */
  width: 300px;
  margin-inline-start: 20px;   /* physical gap; part of the card's total slot width */
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  border-radius: 20px;
  padding: 22px;
  box-shadow: var(--shadow-card);
  transition: box-shadow .3s ease, transform .3s ease;
}
@media (min-width: 640px) {
  .testimonial-card { width: 340px; padding: 26px; }
}
.testimonial-card:hover {
  box-shadow: var(--shadow-hover);
  transform: translateY(-4px);
}

/* ============================================================
   STORY SECTION slide animations
   ============================================================ */
.story-content-enter { animation: slideUp .5s cubic-bezier(.4,0,.2,1) forwards; }
.story-visual-enter  { animation: fadeIn  .6s ease forwards; }

/* ============================================================
   GLOBAL COMPATIBILITY — fix hardcoded dark-mode colors
   ============================================================ */

/* text-white → follows theme (use inline style="color:#fff" for intentional white) */
.text-white { color: var(--text-primary) !important; }
[data-theme="dark"] .text-white { color: #ffffff !important; }

/* Hardcoded muted & accent colors → CSS variables */
.text-\[\#7a8db0\],
.text-\[\#b0bdd8\],
.text-\[\#4a5568\] { color: var(--text-secondary) !important; }
[data-theme="dark"] .text-\[\#7a8db0\],
[data-theme="dark"] .text-\[\#b0bdd8\] { color: #7288b0 !important; }

.text-\[\#c9a84c\] { color: var(--accent) !important; }
[data-theme="dark"] .text-\[\#c9a84c\] { color: var(--accent) !important; }

/* Form inputs — light-mode safe */
.form-input {
  width: 100%;
  padding: 12px 16px;
  border-radius: 12px;
  background: var(--bg-card);
  border: 1px solid var(--border-accent);
  color: var(--text-primary);
  font-size: 14px;
  font-family: var(--font-body);
  outline: none;
  transition: border-color .25s, box-shadow .25s, transform .25s;
}
.form-input::placeholder { color: var(--text-secondary); opacity: 0.6; }
.form-input:focus {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(27,80,212,.12), 0 8px 24px rgba(27,80,212,.08);
  transform: translateY(-1px);
}

/* ============================================================
   MISC
   ============================================================ */
.orbit-dot {
  position: absolute;
  width: 7px; height: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 10px var(--accent);
  top: -3.5px; left: 50%; margin-left: -3.5px;
}

/* ============================================================
   MOBILE GLOBAL OVERRIDES  (< 640px)
   ============================================================ */
@media (max-width: 639px) {
  /* Reduce large section header bottom margins */
  .text-center.mb-16 { margin-bottom: 2rem; }

  /* Card padding tightening */
  .card-glass.p-8  { padding: 1.25rem; }
  .card-glass.p-10 { padding: 1.5rem;  }

  /* Prevent buttons from overflowing on narrow screens */
  .btn-primary, .btn-outline {
    padding-inline-end: 1.25rem;
    padding-inline-start: 1.25rem;
    font-size: 14px;
  }

  /* Industry tag: smaller gap */
  .industry-tag { gap: 6px; padding: 10px 12px; }

  .hero-section {
    min-height: auto;
    display: block;
    align-items: flex-start;
    padding-bottom: 0;
    isolation: isolate;
    overflow-x: clip;
    max-width: 100vw;
  }

  .hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background:
      linear-gradient(180deg, rgba(255,255,255,0.8) 0%, rgba(240,245,255,0.84) 48%, rgba(224,234,252,0.9) 100%),
      radial-gradient(circle at 78% 16%, rgba(75,128,255,0.18), transparent 32%),
      radial-gradient(circle at 14% 82%, rgba(27,80,212,0.12), transparent 36%);
    pointer-events: none;
  }

  [data-theme="dark"] .hero-section::before {
    background:
      linear-gradient(180deg, rgba(6,13,30,0.86) 0%, rgba(8,17,38,0.9) 52%, rgba(11,21,48,0.94) 100%),
      radial-gradient(circle at 76% 18%, rgba(59,126,248,0.22), transparent 34%),
      radial-gradient(circle at 16% 78%, rgba(107,164,255,0.13), transparent 38%);
  }

  .hero-section .hero-blob {
    width: 300px !important;
    height: 300px !important;
    filter: blur(76px);
    opacity: 0.62;
  }

  .hero-blob-1 { top: 4% !important; inset-inline-start: -32% !important; }
  .hero-blob-2 { top: 48% !important; inset-inline-end: -38% !important; }
  .hero-blob-3 { bottom: -10% !important; inset-inline-end: 16% !important; }

  .hero-copy {
    width: 100%;
    max-width: 100%;
    margin-inline: auto;
    overflow: hidden;
  }

  .hero-copy h1 {
    width: 100%;
    max-width: 21rem;
    margin-inline: auto;
    font-size: clamp(2rem, 9vw, 2.65rem);
    line-height: 1.18 !important;
    letter-spacing: 0;
    margin-top: 0.65rem;
    margin-bottom: 1rem;
    overflow-wrap: break-word;
    word-break: normal;
  }

  .hero-copy h1 span {
    max-width: 100%;
    overflow-wrap: break-word;
  }

  .hero-copy p {
    max-width: 20.5rem;
    margin-inline: auto;
    margin-bottom: 1.45rem;
    font-size: 14.5px;
    line-height: 1.95;
    overflow-wrap: break-word;
  }

  .hero-copy .section-badge {
    margin-bottom: 6px;
    padding: 7px 15px;
    font-size: 12px;
    background: rgba(255,255,255,0.74);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
  }

  .hero-mobile-proof {
    width: 100%;
    max-width: 21rem;
    margin-top: 22px;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 8px;
  }

  .hero-mobile-proof svg {
    flex: 0 0 auto;
  }

  .hero-proof-item {
    min-height: 46px;
    padding: 9px 6px;
    border-radius: 16px;
    gap: 5px;
    font-size: 10.5px;
  }

  .hero-proof-item span {
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .hero-cta-reveal {
    width: 100%;
    max-width: 21rem;
    margin-inline: auto;
  }

  .hero-cta-reveal .btn-primary,
  .hero-cta-reveal .btn-outline {
    width: 100%;
    max-width: 100%;
  }

  /* CTA card padding */
  .card-glass.p-12 { padding: 1.5rem; }
  .card-glass.p-16 { padding: 1.5rem; }
}

/* ============================================================
   HERO ANIMATED BACKGROUND SLIDESHOW
   ============================================================ */
.hero-bg-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
  overflow: hidden;
  pointer-events: none;
}

.hero-bg-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  will-change: opacity, transform;
}

/* 5 slides × 6s each = 30s cycle */
.hero-bg-slide-1 { animation: heroSlide 30s  0s linear infinite; }
.hero-bg-slide-2 { animation: heroSlide 30s  6s linear infinite; }
.hero-bg-slide-3 { animation: heroSlide 30s 12s linear infinite; }
.hero-bg-slide-4 { animation: heroSlide 30s 18s linear infinite; }
.hero-bg-slide-5 { animation: heroSlide 30s 24s linear infinite; }

@keyframes heroSlide {
  0%   { opacity: 0;   transform: scale(1.0)   translate( 0%,    0%);   }
  8%   { opacity: 1;                                                      }
  20%  { opacity: 1;   transform: scale(1.09)  translate(-1.5%, -1%);   }
  27%  { opacity: 0;                                                      }
  100% { opacity: 0;   transform: scale(1.0)   translate( 0%,    0%);   }
}

/* Gradient overlay — text side (RTL=right) gets stronger cover */
.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to left,
    rgba(240,245,255,0.93) 0%,
    rgba(240,245,255,0.84) 45%,
    rgba(240,245,255,0.46) 70%,
    rgba(240,245,255,0.18) 100%
  );
}

[data-theme="dark"] .hero-bg-overlay {
  background: linear-gradient(
    to left,
    rgba(5,10,24,0.96) 0%,
    rgba(5,10,24,0.86) 45%,
    rgba(5,10,24,0.50) 70%,
    rgba(5,10,24,0.20) 100%
  );
}

/* On mobile: full overlay since text takes full width */
@media (max-width: 1023px) {
  .hero-bg-overlay {
    background: rgba(240,245,255,0.87);
  }
  [data-theme="dark"] .hero-bg-overlay {
    background: rgba(5,10,24,0.90);
  }
}

/* ============================================================
   HEADER QUICK NAV
   ============================================================ */
.header-quicknav {
  gap: 2px;
  padding: 6px 10px;
}

.quicknav-link {
  display: inline-flex;
  align-items: center;
  padding: 6px 13px;
  border-radius: 22px;
  font-size: 13px;
  font-weight: 500;
  transition: background 0.2s ease, color 0.2s ease;
  white-space: nowrap;
}

.quicknav-link:hover {
  background: rgba(27,80,212,0.08);
  color: var(--accent) !important;
}

/* Hide center nav on md screens (space too tight) */
@media (max-width: 1180px) {
  .header-quicknav { display: none !important; }
}

/* ============================================================
   BLOG ARTICLE CONTENT
   ============================================================ */
.blog-content {
  direction: inherit;
  font-size: 1.0625rem;
  line-height: 1.9;
  color: var(--text-secondary);
}

.blog-content h2 {
  font-size: 1.45rem;
  font-weight: 900;
  color: var(--text-primary);
  margin: 2.5rem 0 1rem;
  padding-bottom: 0.4rem;
  border-bottom: 2px solid var(--border-accent);
  display: inline-block;
}

.blog-content h3 {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  margin: 2rem 0 0.75rem;
}

.blog-content p {
  margin-bottom: 1.3rem;
}

.blog-content ul,
.blog-content ol {
  margin: 1rem 0 1.5rem;
  padding-inline-start: 1.5rem;
  list-style: disc;
}

.blog-content li {
  margin-bottom: 0.65rem;
  padding-inline-start: 0.4rem;
}

.blog-content strong {
  font-weight: 800;
  color: var(--text-primary);
}

.blog-content a {
  color: var(--accent);
  text-decoration: underline;
  text-underline-offset: 3px;
}

.blog-content blockquote {
  border-inline-start: 3px solid var(--accent);
  padding-inline-start: 1.25rem;
  margin: 1.5rem 0;
  font-style: italic;
  color: var(--text-primary);
  background: rgba(27,80,212,0.04);
  border-radius: 0 8px 8px 0;
  padding-block: 0.75rem;
}

/* ============================================================
   ABOUT PAGE — STORYTELLING TIMELINE
   ============================================================ */

/* Mobile: single column with connecting line on the side */
.about-timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Mobile vertical line */
.about-timeline::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  inset-inline-start: 28px;
  width: 2px;
  background: linear-gradient(
    to bottom,
    transparent,
    var(--border-accent) 10%,
    var(--border-accent) 90%,
    transparent
  );
}

.about-timeline-row {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 32px;
  position: relative;
}

.about-timeline-card {
  flex: 1;
  padding: 20px;
}

/* Mobile connector dot */
.about-timeline-connector {
  flex-shrink: 0;
  width: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 18px;
}

.about-timeline-dot-ring {
  width: 18px;
  height: 18px;
  border-radius: 50%;
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-secondary);
  flex-shrink: 0;
}

.about-timeline-dot-core {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent);
}

/* Mobile: hide year label column */
.about-timeline-year-label {
  display: none;
}

/* ──── DESKTOP (lg+) ──── */
@media (min-width: 1024px) {
  /* Remove mobile vertical line */
  .about-timeline::before { display: none; }

  /* Center vertical line */
  .about-timeline::after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 2px;
    background: linear-gradient(
      to bottom,
      transparent,
      var(--border-accent) 8%,
      var(--border-accent) 92%,
      transparent
    );
  }

  .about-timeline-row {
    display: grid;
    grid-template-columns: 1fr 60px 1fr;
    align-items: center;
    gap: 0;
    margin-bottom: 48px;
  }

  /* Row A: card on left, year on right */
  .about-timeline-row--a .about-timeline-card {
    grid-column: 1;
    grid-row: 1;
    padding: 28px 32px;
    text-align: start;
  }

  .about-timeline-row--a .about-timeline-connector {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    padding-top: 0;
    width: 60px;
    align-items: center;
    justify-content: center;
  }

  .about-timeline-row--a .about-timeline-year-label {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    align-items: center;
    padding-inline-start: 28px;
  }

  /* Row B: year on left, card on right */
  .about-timeline-row--b .about-timeline-year-label {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    padding-inline-end: 28px;
    text-align: end;
  }

  .about-timeline-row--b .about-timeline-connector {
    grid-column: 2;
    grid-row: 1;
    justify-self: center;
    padding-top: 0;
    width: 60px;
    align-items: center;
    justify-content: center;
  }

  .about-timeline-row--b .about-timeline-card {
    grid-column: 3;
    grid-row: 1;
    padding: 28px 32px;
    text-align: start;
  }

  /* Dot ring larger on desktop */
  .about-timeline-dot-ring {
    width: 22px;
    height: 22px;
  }

  .about-timeline-dot-core {
    width: 10px;
    height: 10px;
  }
}

/* ============================================================
   ABOUT PAGE — 3D TEAM CAROUSEL
   ============================================================ */
.team-carousel-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  user-select: none;
}

.team-carousel-stage {
  position: relative;
  width: 100%;
  height: 320px;
  transform-style: preserve-3d;
  cursor: grab;
}

.team-carousel-stage:active { cursor: grabbing; }

.team-carousel-card {
  padding: 28px 24px;
  border-radius: 20px;
  text-align: start;
  direction: inherit;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 0;
  min-height: 280px;
}

.team-carousel-avatar {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  font-weight: 900;
  color: #fff;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  margin-inline-start: auto;
  margin-inline-end: 0;
  box-shadow: 0 6px 20px rgba(27,80,212,0.32);
  flex-shrink: 0;
}

.team-carousel-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  direction: inherit;
}

.team-carousel-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1.5px solid var(--border-accent);
  background: var(--bg-card);
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
  cursor: pointer;
  flex-shrink: 0;
}

.team-carousel-btn:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
  transform: scale(1.08);
}

.team-carousel-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}

.team-carousel-dot {
  height: 8px;
  border-radius: 99px;
  transition: width 0.35s ease, opacity 0.35s ease, background 0.35s ease;
  cursor: pointer;
  border: none;
}

.team-carousel-label {
  text-align: center;
  min-height: 50px;
}

@media (max-width: 639px) {
  .team-carousel-stage {
    height: 295px;
  }
}

/* ============================================================
   ABOUT PAGE — OFFICE CARDS
   ============================================================ */
.office-card {
  border-radius: 20px;
  overflow: hidden;
  cursor: pointer;
}

.office-card-img {
  position: relative;
  height: 400px;
  overflow: hidden;
  border-radius: 20px;
}

@media (max-width: 639px) {
  .office-card-img {
    height: 300px;
  }
}

.office-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.82) 0%,
    rgba(0, 0, 0, 0.35) 50%,
    rgba(0, 0, 0, 0.05) 100%
  );
  z-index: 1;
  transition: opacity 0.4s ease;
}

.office-card:hover .office-card-overlay {
  opacity: 0.85;
}

.office-card-content {
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  z-index: 2;
  padding: 24px 20px;
  text-align: start;
}

.office-card-arrow {
  position: absolute;
  top: 16px;
  inset-inline-end: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: scale(0.8);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.office-card:hover .office-card-arrow {
  opacity: 1;
  transform: scale(1);
}

/* ============================================================
   PRICING CARDS
   ============================================================ */
.pricing-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 22px;
  box-shadow: var(--shadow-card);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.pricing-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 48px rgba(0,0,0,0.12);
}

/* Override for highlighted card — keeps its upward offset */
.pricing-card[style*="translateY(-8px)"]:hover {
  transform: translateY(-12px);
}

/* ============================================================
   ACCESSIBILITY — respect reduced motion
   Calms looping/decorative CSS animations. Framer Motion
   components handle this in JS via useReducedMotion().
   ============================================================ */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }

  .hero-blob,
  .hero-bg-slide,
  .float-card,
  .platform-3d,
  .marquee-track,
  .pulse-ring {
    animation: none !important;
  }
}

/* ============================================================
   ESNAD 2026 — IMMERSIVE HOME EXPERIENCE
   ============================================================ */
.preloader-active {
  overflow: hidden !important;
}

.brand-preloader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: grid;
  place-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 50% 48%, rgba(47, 110, 255, 0.17), transparent 29%),
    #030915;
}

.preloader-grid {
  position: absolute;
  inset: 0;
  opacity: 0.2;
  background-image:
    linear-gradient(rgba(255,255,255,.045) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.045) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at center, #000 0%, transparent 68%);
}

.preloader-orbit {
  position: absolute;
  top: 50%;
  left: 50%;
  border-radius: 50%;
  pointer-events: none;
}

.preloader-orbit::before {
  content: "";
  position: absolute;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #73a2ff;
  box-shadow: 0 0 24px 5px rgba(76, 132, 255, .65);
}

.preloader-orbit-outer {
  width: min(440px, 78vw);
  aspect-ratio: 1;
  margin: min(-220px, -39vw) 0 0 min(-220px, -39vw);
  border: 1px solid rgba(255,255,255,.1);
}

.preloader-orbit-outer::before {
  top: 14%;
  inset-inline-start: 14%;
}

.preloader-orbit-inner {
  width: min(300px, 56vw);
  aspect-ratio: 1;
  margin: min(-150px, -28vw) 0 0 min(-150px, -28vw);
  border: 1px dashed rgba(91, 146, 255, .28);
}

.preloader-orbit-inner::before {
  bottom: 6%;
  inset-inline-end: 26%;
  width: 5px;
  height: 5px;
  background: #d8b973;
  box-shadow: 0 0 22px 4px rgba(216, 185, 115, .55);
}

.preloader-core {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.preloader-logo {
  position: relative;
  width: 58px;
  height: 68px;
  margin-bottom: 20px;
  filter: drop-shadow(0 14px 30px rgba(51, 109, 246, .35));
}

.preloader-logo img {
  filter: brightness(0) invert(1);
}

.preloader-wordmark-wrap {
  overflow: hidden;
  font-family: var(--font-heading);
  font-size: clamp(1.45rem, 3vw, 2.15rem);
  font-weight: 800;
  line-height: 1.25;
}

.preloader-wordmark-wrap span {
  display: block;
}

.preloader-core p {
  margin-top: 8px;
  color: #d8e2f8;
  font-size: 12px;
  letter-spacing: .03em;
}

.preloader-progress {
  position: absolute;
  right: 50%;
  bottom: 8vh;
  width: min(210px, 52vw);
  height: 1px;
  transform: translateX(50%);
  overflow: hidden;
  background: rgba(255,255,255,.12);
}

.preloader-progress span {
  display: block;
  width: 100%;
  height: 100%;
  transform-origin: right;
  background: linear-gradient(90deg, #d7b56e, #4c84ff);
}

.eh-home {
  --eh-ink: #06132d;
  --eh-blue: #1854dc;
  --eh-bright: #3e7cff;
  --eh-cream: #f3f0e9;
  --eh-line: rgba(6, 19, 45, .12);
  direction: inherit;
  overflow: clip;
  background: #f8f9fc;
  color: var(--eh-ink);
}

.eh-shell {
  width: min(1340px, calc(100% - 64px));
  margin-inline: auto;
  position: relative;
  z-index: 2;
}

.eh-hero {
  position: relative;
  min-height: max(760px, 100svh);
  display: flex;
  align-items: stretch;
  overflow: hidden;
  color: #fff;
  background: #030a17;
}

.eh-hero-media,
.eh-hero-overlay,
.eh-hero-noise {
  position: absolute;
  inset: 0;
}

.eh-hero-media {
  transform-origin: center;
}

.eh-hero-media img {
  object-position: center center;
}

.eh-hero-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 8, 20, .18) 0%, rgba(2, 8, 20, .12) 33%, rgba(3, 10, 24, .77) 67%, #030a17 100%),
    linear-gradient(0deg, rgba(2, 8, 20, .88) 0%, transparent 33%, rgba(2, 8, 20, .18) 100%);
}

.eh-hero-noise {
  z-index: 2;
  opacity: .09;
  pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 180 180' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  mix-blend-mode: soft-light;
}

.eh-hero-shell {
  min-height: max(760px, 100svh);
  padding-top: 140px;
  padding-bottom: 82px;
  display: grid;
  grid-template-columns: 1.17fr .83fr;
  gap: 64px;
  align-items: center;
  z-index: 3;
}

.eh-hero-copy {
  max-width: 760px;
}

.eh-hero-eyebrow {
  width: min(100%, 650px);
  margin-bottom: 30px;
  padding-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  border-bottom: 1px solid rgba(255,255,255,.17);
  color: rgba(255,255,255,.77);
  font-size: 12px;
  font-weight: 650;
}

.eh-hero-eyebrow span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.eh-hero-eyebrow i,
.eh-kicker i {
  width: 7px;
  height: 7px;
  display: inline-block;
  flex: 0 0 auto;
  border-radius: 50%;
  background: #4b82ff;
  box-shadow: 0 0 0 5px rgba(75,130,255,.13);
}

.eh-hero-eyebrow small {
  font: inherit;
  opacity: .6;
}

.eh-hero h1 {
  max-width: 780px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(3.35rem, 4.7vw, 5.65rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
  text-wrap: balance;
}

.eh-hero h1 span {
  display: block;
  margin-top: .12em;
  color: #84aaff;
}

.eh-hero-copy > p {
  max-width: 610px;
  margin-top: 28px;
  color: rgba(236, 242, 255, .72);
  font-size: clamp(1rem, 1.35vw, 1.25rem);
  font-weight: 400;
  line-height: 1.9;
}

.eh-hero-actions {
  margin-top: 36px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.eh-btn {
  min-height: 54px;
  padding: 0 25px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 750;
  transition: transform .35s ease, background .35s ease, border-color .35s ease, color .35s ease;
}

.eh-btn:hover {
  transform: translateY(-3px);
}

.eh-btn-primary {
  color: #fff;
  background: var(--eh-blue);
  box-shadow: 0 18px 44px rgba(24, 84, 220, .32);
}

.eh-btn-primary:hover {
  background: #2b67ed;
}

.eh-btn-ghost {
  color: #fff;
  border: 1px solid rgba(255,255,255,.24);
  background: rgba(255,255,255,.075);
  backdrop-filter: blur(14px);
}

.eh-btn-ghost:hover {
  border-color: rgba(255,255,255,.52);
  background: rgba(255,255,255,.13);
}

.eh-hero-signal {
  width: 230px;
  min-height: 238px;
  padding: 22px;
  align-self: end;
  justify-self: start;
  direction: inherit;
  border: 1px solid rgba(255,255,255,.17);
  border-radius: 24px;
  background: rgba(7, 20, 45, .56);
  box-shadow: 0 24px 80px rgba(0,0,0,.28);
  backdrop-filter: blur(20px);
}

.eh-signal-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: rgba(255,255,255,.64);
  font-size: 11px;
}

.eh-signal-top span {
  display: flex;
  align-items: center;
  gap: 7px;
}

.eh-signal-top i {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #50d897;
  box-shadow: 0 0 0 5px rgba(80,216,151,.1);
}

.eh-hero-signal > strong {
  display: block;
  margin-top: 24px;
  font-family: var(--font-heading);
  font-size: 3.1rem;
  font-weight: 800;
  line-height: 1;
  letter-spacing: -.05em;
}

.eh-hero-signal > p {
  margin-top: 7px;
  color: rgba(255,255,255,.55);
  font-size: 12px;
}

.eh-signal-chart {
  height: 58px;
  margin-top: 21px;
  display: flex;
  align-items: end;
  gap: 6px;
  direction: ltr;
}

.eh-signal-chart i {
  width: 100%;
  border-radius: 3px 3px 1px 1px;
  opacity: .82;
  background: linear-gradient(180deg, #75a2ff, rgba(38, 92, 218, .2));
  animation: ehBarRise .75s both var(--ease-out, ease);
}

@keyframes ehBarRise {
  from { transform: scaleY(0); transform-origin: bottom; }
  to { transform: scaleY(1); transform-origin: bottom; }
}

.eh-scroll-cue {
  position: absolute;
  z-index: 4;
  inset-inline-end: 32px;
  bottom: 32px;
  display: flex;
  align-items: center;
  gap: 14px;
  color: rgba(255,255,255,.52);
  font-size: 10px;
  letter-spacing: .06em;
  transform: rotate(-90deg) translateY(100%);
  transform-origin: left bottom;
}

.eh-scroll-cue i {
  width: 54px;
  height: 1px;
  position: relative;
  overflow: hidden;
  background: rgba(255,255,255,.18);
}

.eh-scroll-cue i::after {
  content: "";
  position: absolute;
  inset: 0;
  background: #fff;
  animation: ehScrollCue 2s ease-in-out infinite;
}

@keyframes ehScrollCue {
  0% { transform: translateX(-100%); }
  55%, 100% { transform: translateX(100%); }
}

.eh-ticker {
  position: relative;
  z-index: 5;
  direction: ltr;
  overflow: hidden;
  color: #fff;
  background: var(--eh-blue);
}

.eh-ticker-track {
  width: max-content;
  display: flex;
  align-items: center;
  animation: ehTicker 28s linear infinite;
}

.eh-ticker-track span {
  min-height: 66px;
  padding-inline: 38px;
  display: inline-flex;
  align-items: center;
  gap: 28px;
  direction: inherit;
  white-space: nowrap;
  font-size: 14px;
  font-weight: 650;
}

.eh-ticker-track i {
  width: 7px;
  height: 7px;
  transform: rotate(45deg);
  border: 1px solid rgba(255,255,255,.7);
}

@keyframes ehTicker {
  to { transform: translateX(-50%); }
}

.eh-manifesto {
  padding: 150px 0 130px;
  background: var(--eh-cream);
}

.eh-kicker {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #4c5d7c;
  font-size: 12px;
  font-weight: 750;
}

.eh-manifesto-intro {
  max-width: 1140px;
}

.eh-manifesto-intro h2 {
  margin-top: 32px;
  color: var(--eh-ink);
  font-size: clamp(2.8rem, 4.5vw, 5.1rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.eh-manifesto-intro h2 span {
  display: block;
  color: #7b8494;
}

.eh-focus-grid {
  margin-top: 100px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--eh-line);
  border-bottom: 1px solid var(--eh-line);
}

.eh-focus-card {
  min-height: 340px;
  padding: 34px 36px 40px;
  border-inline-end: 1px solid var(--eh-line);
  transition: background .4s ease, transform .4s ease;
}

.eh-focus-card:last-child {
  border-inline-end: 0;
}

.eh-focus-card:hover {
  background: rgba(255,255,255,.55);
  transform: translateY(-6px);
}

.eh-focus-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--eh-blue);
}

.eh-focus-card-top span {
  font-family: var(--font-heading);
  font-size: 12px;
  font-weight: 800;
}

.eh-focus-card h3 {
  margin-top: 92px;
  font-size: clamp(1.45rem, 2.2vw, 2.05rem);
  font-weight: 800;
  letter-spacing: -.025em;
}

.eh-focus-card p {
  margin-top: 15px;
  color: #5e6980;
  font-size: 14px;
  line-height: 1.85;
}

.eh-services {
  padding: 140px 0;
  background: #fff;
}

.eh-section-head {
  margin-bottom: 70px;
  display: grid;
  grid-template-columns: 1.2fr .65fr;
  gap: 80px;
  align-items: end;
}

.eh-section-head h2 {
  margin-top: 26px;
  color: var(--eh-ink);
  font-size: clamp(2.6rem, 3.8vw, 4.3rem);
  font-weight: 600;
  line-height: 1.1;
  letter-spacing: -.025em;
}

.eh-section-head h2 em {
  color: var(--eh-blue);
  font-style: normal;
}

.eh-section-head > div:last-child > p {
  max-width: 480px;
  padding-bottom: 7px;
  color: #687389;
  font-size: 15px;
  line-height: 1.9;
}

.eh-services-stage {
  min-height: 680px;
  display: grid;
  grid-template-columns: .88fr 1.12fr;
  gap: 18px;
}

.eh-service-list {
  padding: 8px 0;
  display: flex;
  flex-direction: column;
}

.eh-service-tab {
  flex: 1;
  min-height: 114px;
  padding: 22px 18px;
  display: grid;
  grid-template-columns: 40px 1fr 28px;
  gap: 15px;
  align-items: center;
  text-align: start;
  color: #8590a3;
  border: 0;
  border-bottom: 1px solid rgba(6,19,45,.12);
  background: transparent;
  cursor: pointer;
  transition: color .3s ease, padding .3s ease, background .3s ease;
}

.eh-service-tab:first-child {
  border-top: 1px solid rgba(6,19,45,.12);
}

.eh-service-tab:hover,
.eh-service-tab.is-active {
  padding-inline: 26px;
  color: var(--eh-ink);
  background: #f4f6fb;
}

.eh-service-tab.is-active {
  box-shadow: inset -3px 0 0 var(--eh-blue);
}

.eh-service-number {
  font-family: var(--font-heading);
  color: var(--eh-blue);
  font-size: 11px;
  font-weight: 800;
}

.eh-service-tab-copy {
  display: block;
}

.eh-service-tab-copy strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.55vw, 1.35rem);
  font-weight: 800;
}

.eh-service-tab-copy small {
  display: block;
  max-height: 0;
  margin-top: 0;
  overflow: hidden;
  color: #687389;
  font-size: 12px;
  font-weight: 450;
  line-height: 1.7;
  opacity: 0;
  transition: max-height .35s ease, opacity .35s ease, margin .35s ease;
}

.eh-service-tab.is-active .eh-service-tab-copy small {
  max-height: 60px;
  margin-top: 7px;
  opacity: 1;
}

.eh-service-tab > svg {
  justify-self: end;
  transition: transform .3s ease;
}

.eh-service-tab.is-active > svg {
  color: var(--eh-blue);
  transform: translate(-4px, -4px);
}

.eh-service-visual,
.eh-service-image {
  position: relative;
  min-height: 680px;
  overflow: hidden;
  border-radius: 32px;
}

.eh-service-image img {
  transition: transform 1.2s var(--ease-out, ease);
}

.eh-service-image:hover img {
  transform: scale(1.035);
}

.eh-service-shade {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(3,10,24,.92) 0%, rgba(3,10,24,.1) 55%),
    linear-gradient(90deg, transparent 45%, rgba(3,10,24,.24));
}

.eh-service-icon {
  position: absolute;
  top: 26px;
  inset-inline-start: 26px;
  width: 56px;
  height: 56px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.22);
  border-radius: 18px;
  background: rgba(5,18,44,.38);
  backdrop-filter: blur(15px);
}

.eh-service-features {
  position: absolute;
  inset-inline-start: 34px;
  bottom: 90px;
  color: #fff;
}

.eh-service-features > span {
  display: block;
  margin-bottom: 15px;
  color: rgba(255,255,255,.52);
  font-size: 10px;
  font-weight: 700;
}

.eh-service-features p {
  margin-top: 9px;
  display: flex;
  align-items: center;
  gap: 9px;
  font-size: 14px;
  font-weight: 600;
}

.eh-service-features p svg {
  color: #8eb0ff;
}

.eh-service-link {
  position: absolute;
  inset-inline-end: 28px;
  bottom: 28px;
  min-height: 48px;
  padding: 0 20px;
  display: inline-flex;
  align-items: center;
  gap: 11px;
  color: #071331;
  border-radius: 999px;
  background: #fff;
  font-size: 13px;
  font-weight: 800;
  transition: transform .3s ease;
}

.eh-service-link:hover {
  transform: translateY(-3px);
}

.eh-impact {
  position: relative;
  padding: 150px 0 130px;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 12% 12%, rgba(115,160,255,.28), transparent 27%),
    #1249cb;
}

.eh-impact-lines {
  position: absolute;
  inset: -20%;
  opacity: .17;
  background:
    repeating-radial-gradient(circle at 20% 10%, transparent 0 65px, rgba(255,255,255,.28) 66px 67px);
  transform: rotate(-12deg);
}

.eh-kicker-dark {
  color: rgba(255,255,255,.66);
}

.eh-kicker-dark i {
  background: #fff;
  box-shadow: 0 0 0 5px rgba(255,255,255,.12);
}

.eh-impact-title h2 {
  max-width: 940px;
  margin-top: 28px;
  font-size: clamp(2.8rem, 4.4vw, 5rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.eh-impact-title h2 span {
  color: rgba(255,255,255,.5);
}

.eh-impact-stats {
  margin-top: 95px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  border-top: 1px solid rgba(255,255,255,.25);
  border-bottom: 1px solid rgba(255,255,255,.25);
}

.eh-impact-stat {
  min-height: 230px;
  padding: 38px 30px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-inline-end: 1px solid rgba(255,255,255,.25);
}

.eh-impact-stat:last-child {
  border-inline-end: 0;
}

.eh-impact-stat strong {
  direction: ltr;
  width: 100%;
  align-self: stretch;
  text-align: right;
  font-family: var(--font-heading);
  font-size: clamp(3.4rem, 5vw, 5.6rem);
  font-weight: 700;
  line-height: .9;
  letter-spacing: -.07em;
}

.eh-impact-stat > span {
  color: rgba(255,255,255,.68);
  font-size: 13px;
  font-weight: 650;
}

.eh-impact-note {
  margin-top: 28px;
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,.74);
  font-size: 13px;
}

.eh-process {
  padding: 145px 0;
  background: #f9fafc;
}

.eh-process-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}

.eh-process-track::before {
  content: "";
  position: absolute;
  top: 34px;
  right: 0;
  left: 0;
  height: 1px;
  background: rgba(6,19,45,.18);
}

.eh-process-step {
  min-height: 300px;
  padding-inline-end: 34px;
}

.eh-process-node {
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eh-process-node i {
  position: relative;
  z-index: 2;
  width: 17px;
  height: 17px;
  border: 5px solid #f9fafc;
  border-radius: 50%;
  background: var(--eh-blue);
  box-shadow: 0 0 0 1px rgba(24,84,220,.2);
}

.eh-process-node span {
  color: #a0a8b6;
  font: 700 11px var(--font-heading);
}

.eh-process-step small {
  margin-top: 40px;
  display: block;
  color: var(--eh-blue);
  font-size: 11px;
  font-weight: 800;
}

.eh-process-step h3 {
  margin-top: 10px;
  color: var(--eh-ink);
  font-size: clamp(1.3rem, 2vw, 1.75rem);
  font-weight: 800;
}

.eh-process-step p {
  max-width: 250px;
  margin-top: 13px;
  color: #687389;
  font-size: 13px;
  line-height: 1.8;
}

.eh-sectors {
  padding: 135px 0;
  background: var(--eh-cream);
}

.eh-sectors .eh-shell {
  display: block;
}

.eh-sectors-head {
  margin-bottom: 58px;
  display: grid;
  grid-template-columns: 1fr .72fr;
  gap: 80px;
  align-items: end;
}

.eh-sectors-copy h2 {
  margin-top: 26px;
  color: var(--eh-ink);
  font-size: clamp(2.25rem, 3.2vw, 3.55rem);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -.025em;
}

.eh-sectors-copy h2 span {
  color: #7b8494;
}

.eh-sectors-intro {
  padding-bottom: 6px;
}

.eh-sectors-intro p {
  max-width: 520px;
  color: #667289;
  font-size: 15px;
  line-height: 1.9;
}

.eh-sectors-intro > span {
  margin-top: 18px;
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--eh-blue);
  font-size: 11px;
  font-weight: 800;
}

.eh-sectors-intro > span::before {
  content: "";
  width: 24px;
  height: 1px;
  background: currentColor;
}

.eh-sector-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  grid-auto-flow: dense;
  grid-auto-rows: 248px;
  gap: 14px;
}

.eh-sector-item {
  min-width: 0;
}

.eh-sector-item:nth-child(1),
.eh-sector-item:nth-child(6),
.eh-sector-item:nth-child(7),
.eh-sector-item:nth-child(12) {
  grid-column: span 2;
}

.eh-sector-card {
  position: relative;
  display: block;
  height: 100%;
  min-height: 0;
  overflow: hidden;
  color: #fff;
  border: 1px solid rgba(6, 19, 45, .08);
  border-radius: 26px;
  background: #071329;
  box-shadow: 0 18px 50px rgba(17, 35, 70, .08);
  isolation: isolate;
}

.eh-sector-image {
  object-fit: cover;
  transition: transform .9s var(--ease-out, ease), filter .6s ease;
}

.eh-sector-shade {
  position: absolute;
  z-index: 1;
  inset: 0;
  background:
    linear-gradient(0deg, rgba(3, 10, 24, .9) 0%, rgba(3, 10, 24, .12) 62%),
    linear-gradient(90deg, rgba(3, 10, 24, .2), transparent 52%);
  transition: background .45s ease;
}

.eh-sector-meta {
  position: absolute;
  z-index: 2;
  top: 18px;
  right: 18px;
  left: 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.eh-sector-icon {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, .24);
  border-radius: 14px;
  background: rgba(4, 15, 35, .38);
  backdrop-filter: blur(12px);
}

.eh-sector-number {
  direction: ltr;
  color: rgba(255, 255, 255, .68);
  font-family: var(--font-heading);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: .16em;
}

.eh-sector-card h3 {
  position: absolute;
  z-index: 2;
  right: 21px;
  bottom: 45px;
  left: 21px;
  margin: 0;
  font-family: var(--font-heading);
  font-size: clamp(1.05rem, 1.35vw, 1.35rem);
  font-weight: 650;
  line-height: 1.35;
}

.eh-sector-open {
  position: absolute;
  z-index: 2;
  inset-inline-start: 21px;
  bottom: 18px;
  color: rgba(255,255,255,.62);
  font-size: 10px;
  font-weight: 700;
  transition: color .3s ease, transform .3s ease;
}

.eh-sector-card:hover .eh-sector-open {
  color: #fff;
  transform: translateX(-4px);
}

.eh-sector-card:hover .eh-sector-image {
  transform: scale(1.055);
  filter: saturate(1.06);
}

.eh-sector-card:hover .eh-sector-shade {
  background:
    linear-gradient(0deg, rgba(5, 35, 96, .94) 0%, rgba(3, 10, 24, .04) 68%),
    linear-gradient(90deg, rgba(3, 10, 24, .14), transparent 52%);
}

.eh-voices {
  padding: 140px 0;
  color: #fff;
  background: #040c1d;
}

.eh-voice-grid {
  display: grid;
  grid-template-columns: .67fr 1.33fr;
  gap: 80px;
}

.eh-voice-aside .eh-kicker {
  color: rgba(255,255,255,.54);
}

.eh-voice-aside h2 {
  margin-top: 28px;
  font-size: clamp(2.25rem, 3.4vw, 3.7rem);
  font-weight: 600;
  line-height: 1.14;
  letter-spacing: -.02em;
}

.eh-voice-controls {
  margin-top: 70px;
  display: flex;
  align-items: center;
  gap: 14px;
}

.eh-voice-controls button {
  width: 45px;
  height: 45px;
  display: grid;
  place-items: center;
  color: #fff;
  border: 1px solid rgba(255,255,255,.2);
  border-radius: 50%;
  background: transparent;
  cursor: pointer;
  transition: background .3s ease, color .3s ease;
}

.eh-voice-controls button:hover {
  color: var(--eh-ink);
  background: #fff;
}

.eh-voice-controls span {
  min-width: 62px;
  direction: ltr;
  text-align: center;
  color: rgba(255,255,255,.46);
  font-size: 11px;
}

.eh-quote-panel {
  min-height: 440px;
  padding: 55px 60px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #fff;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 32px;
  background:
    radial-gradient(circle at 12% 18%, rgba(57,116,255,.18), transparent 32%),
    rgba(255,255,255,.035);
}

.eh-quote-panel > svg {
  color: #5d8fff;
}

.eh-quote-panel blockquote {
  font-family: var(--font-heading);
  font-size: clamp(1.7rem, 2.5vw, 2.8rem);
  font-weight: 500;
  line-height: 1.55;
  letter-spacing: -.015em;
}

.eh-quote-panel footer {
  margin-top: 48px;
  display: flex;
  flex-direction: column;
  gap: 5px;
  font-family: var(--font-body);
}

.eh-quote-panel footer strong {
  font-size: 14px;
}

.eh-quote-panel footer span {
  color: rgba(255,255,255,.48);
  font-size: 12px;
  font-weight: 450;
}

.eh-final-cta {
  padding: 110px 0;
  background: #f8f9fc;
}

.eh-final-card {
  position: relative;
  min-height: 580px;
  padding: 85px 70px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  overflow: hidden;
  color: #fff;
  border-radius: 42px;
  background: #1550d5;
}

.eh-final-card::before,
.eh-final-card::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%;
}

.eh-final-card::before {
  width: 620px;
  height: 620px;
  inset-inline-end: -140px;
  top: -330px;
}

.eh-final-card::after {
  width: 430px;
  height: 430px;
  inset-inline-end: 90px;
  bottom: -310px;
}

.eh-final-glow {
  position: absolute;
  width: 600px;
  height: 600px;
  inset-inline-end: -80px;
  top: -100px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(147,184,255,.42), transparent 62%);
}

.eh-final-card > span,
.eh-final-card > h2,
.eh-final-card > p,
.eh-final-card > a {
  position: relative;
  z-index: 2;
}

.eh-final-card > span {
  color: rgba(255,255,255,.64);
  font-size: 12px;
  font-weight: 700;
}

.eh-final-card h2 {
  max-width: 930px;
  margin-top: 24px;
  font-size: clamp(2.8rem, 4.7vw, 5.2rem);
  font-weight: 600;
  line-height: 1.08;
  letter-spacing: -.025em;
}

.eh-final-card > p {
  max-width: 570px;
  margin-top: 25px;
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.8;
}

.eh-btn-light {
  margin-top: 35px;
  color: var(--eh-ink);
  background: #fff;
}

/* Let the global navigation sit naturally over the cinematic hero. */
body:has(.eh-home) .header-pill:not(.scrolled) {
  border-color: rgba(255,255,255,.18);
  background: rgba(4,12,29,.58);
  box-shadow: 0 14px 44px rgba(0,0,0,.16);
  backdrop-filter: blur(20px);
}

body:has(.eh-home) .header-pill:not(.scrolled) a,
body:has(.eh-home) .header-pill:not(.scrolled) button,
body:has(.eh-home) .header-pill:not(.scrolled) span {
  color: rgba(255,255,255,.84) !important;
}

body:has(.eh-home) .header-pill:not(.scrolled) a[href="/contact"] {
  color: #fff !important;
}

@media (max-width: 1100px) {
  .eh-shell {
    width: min(100% - 42px, 1000px);
  }

  .eh-hero-shell {
    grid-template-columns: 1fr .55fr;
    gap: 28px;
  }

  .eh-hero h1 {
    font-size: clamp(3.8rem, 7.6vw, 6.2rem);
  }

  .eh-services-stage {
    grid-template-columns: .95fr 1.05fr;
  }

  .eh-service-tab {
    min-height: 110px;
  }

  .eh-impact-stat {
    padding-inline: 18px;
  }
}

@media (max-width: 900px) {
  .eh-manifesto,
  .eh-services,
  .eh-process,
  .eh-sectors,
  .eh-voices {
    padding-block: 100px;
  }

  .eh-hero-shell {
    grid-template-columns: 1fr;
    align-items: center;
  }

  .eh-hero-signal {
    display: none;
  }

  .eh-focus-grid {
    grid-template-columns: 1fr;
  }

  .eh-focus-card {
    min-height: 250px;
    border-inline-end: 0;
    border-bottom: 1px solid var(--eh-line);
  }

  .eh-focus-card:last-child {
    border-bottom: 0;
  }

  .eh-focus-card h3 {
    margin-top: 50px;
  }

  .eh-section-head {
    grid-template-columns: 1fr;
    gap: 26px;
  }

  .eh-services-stage {
    min-height: 0;
    grid-template-columns: 1fr;
  }

  .eh-service-list {
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .eh-service-tab {
    min-height: 108px;
    border-top: 1px solid rgba(6,19,45,.12);
  }

  .eh-service-tab-copy small {
    display: none;
  }

  .eh-service-visual,
  .eh-service-image {
    min-height: 560px;
  }

  .eh-impact-stats {
    grid-template-columns: 1fr 1fr;
  }

  .eh-impact-stat:nth-child(2) {
    border-inline-end: 0;
  }

  .eh-impact-stat:nth-child(-n+2) {
    border-bottom: 1px solid rgba(255,255,255,.25);
  }

  .eh-process-track {
    grid-template-columns: 1fr 1fr;
    gap: 42px 0;
  }

  .eh-process-track::before {
    display: none;
  }

  .eh-process-step {
    min-height: 250px;
  }

  .eh-process-node {
    border-bottom: 1px solid rgba(6,19,45,.14);
  }

  .eh-voice-grid {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .eh-sectors-head {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .eh-sectors-intro p {
    max-width: 640px;
  }

  .eh-sector-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    grid-auto-rows: 240px;
  }

  .eh-voice-controls {
    margin-top: 35px;
  }
}

@media (max-width: 639px) {
  .eh-shell {
    width: calc(100% - 32px);
  }

  .eh-hero {
    min-height: 760px;
  }

  .eh-hero-media img {
    object-position: 38% center;
  }

  .eh-hero-overlay {
    background:
      linear-gradient(0deg, #030a17 0%, rgba(3,10,23,.9) 44%, rgba(3,10,23,.38) 100%),
      linear-gradient(90deg, rgba(3,10,23,.28), rgba(3,10,23,.75));
  }

  .eh-hero-shell {
    min-height: 760px;
    padding-top: 125px;
    padding-bottom: 65px;
    align-items: end;
  }

  .eh-hero-eyebrow {
    margin-bottom: 23px;
  }

  .eh-hero-eyebrow small {
    display: none;
  }

  .eh-hero h1 {
    max-width: 360px;
    font-size: clamp(2.75rem, 11.5vw, 3.55rem);
    line-height: 1.09;
  }

  .eh-hero-copy > p {
    margin-top: 20px;
    font-size: 14px;
    line-height: 1.85;
  }

  .eh-hero-actions {
    margin-top: 25px;
    gap: 9px;
  }

  .eh-btn {
    min-height: 49px;
    padding-inline: 18px;
    font-size: 12px;
  }

  .eh-btn-ghost {
    backdrop-filter: blur(8px);
  }

  .eh-scroll-cue {
    display: none;
  }

  .eh-ticker-track span {
    min-height: 56px;
    padding-inline: 25px;
    font-size: 12px;
  }

  .eh-manifesto,
  .eh-services,
  .eh-process,
  .eh-sectors,
  .eh-voices {
    padding-block: 78px;
  }

  .eh-manifesto-intro h2,
  .eh-section-head h2,
  .eh-sectors-copy h2 {
    font-size: clamp(2.05rem, 8.4vw, 2.75rem);
  }

  .eh-manifesto-intro h2 {
    margin-top: 24px;
  }

  .eh-focus-grid {
    margin-top: 55px;
  }

  .eh-focus-card {
    min-height: 235px;
    padding: 28px 20px 30px;
  }

  .eh-focus-card h3 {
    margin-top: 40px;
  }

  .eh-section-head {
    margin-bottom: 45px;
  }

  .eh-service-list {
    grid-template-columns: 1fr;
  }

  .eh-service-tab {
    min-height: 86px;
    grid-template-columns: 34px 1fr 24px;
  }

  .eh-service-tab:hover,
  .eh-service-tab.is-active {
    padding-inline: 19px;
  }

  .eh-service-visual,
  .eh-service-image {
    min-height: 470px;
    border-radius: 24px;
  }

  .eh-service-features {
    inset-inline-start: 21px;
    bottom: 92px;
  }

  .eh-service-features p {
    font-size: 12px;
  }

  .eh-service-link {
    inset-inline-start: 20px;
    inset-inline-end: auto;
    bottom: 22px;
  }

  .eh-impact {
    padding: 90px 0 80px;
  }

  .eh-impact-title h2 {
    font-size: clamp(2.45rem, 10vw, 3.3rem);
  }

  .eh-impact-stats {
    margin-top: 58px;
  }

  .eh-impact-stat {
    min-height: 160px;
    padding: 24px 15px;
  }

  .eh-impact-stat strong {
    font-size: clamp(2.8rem, 12vw, 4rem);
  }

  .eh-process-track {
    grid-template-columns: 1fr;
    gap: 0;
  }

  .eh-process-step {
    min-height: 230px;
    padding-inline-end: 0;
  }

  .eh-process-step small {
    margin-top: 28px;
  }

  .eh-sectors-head {
    margin-bottom: 38px;
    gap: 22px;
  }

  .eh-sectors-intro p {
    font-size: 13px;
    line-height: 1.8;
  }

  .eh-sector-grid {
    grid-auto-rows: 205px;
    gap: 9px;
  }

  .eh-sector-card {
    border-radius: 19px;
  }

  .eh-sector-meta {
    top: 12px;
    right: 12px;
    left: 12px;
  }

  .eh-sector-icon {
    width: 36px;
    height: 36px;
    border-radius: 12px;
  }

  .eh-sector-card h3 {
    right: 14px;
    bottom: 40px;
    left: 14px;
    font-size: .9rem;
  }

  .eh-sector-open {
    inset-inline-start: 14px;
    bottom: 13px;
  }

  .eh-sector-item:nth-child(1),
  .eh-sector-item:nth-child(6),
  .eh-sector-item:nth-child(7),
  .eh-sector-item:nth-child(12) {
    min-height: 225px;
  }

  .eh-voice-grid {
    gap: 42px;
  }

  .eh-voice-aside h2 {
    font-size: 2.5rem;
  }

  .eh-quote-panel {
    min-height: 410px;
    padding: 34px 25px;
    border-radius: 24px;
  }

  .eh-quote-panel blockquote {
    font-size: clamp(1.7rem, 7.6vw, 2.35rem);
  }

  .eh-final-cta {
    padding: 64px 0;
  }

  .eh-final-card {
    min-height: 530px;
    padding: 48px 25px;
    border-radius: 28px;
  }

  .eh-final-card h2 {
    font-size: clamp(2.6rem, 10.5vw, 3.5rem);
  }

  body:has(.eh-home) .mobile-header {
    border-color: rgba(255,255,255,.18);
    background: rgba(3,10,23,.64);
    box-shadow: 0 12px 35px rgba(0,0,0,.18);
    backdrop-filter: blur(18px);
  }

  body:has(.eh-home) .mobile-header-menu {
    color: #fff;
    border-color: rgba(255,255,255,.16);
    background: rgba(255,255,255,.08);
  }
}

/* Homepage mobile chrome stays consistent across every slide. */
@media (max-width: 767px) {
  body:has(.em-home) .mobile-header {
    min-height: 64px;
    padding: 8px 14px;
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,.11);
    background: rgba(3,10,24,.78);
    box-shadow: none;
    backdrop-filter: blur(24px) saturate(1.25);
    -webkit-backdrop-filter: blur(24px) saturate(1.25);
  }

  body:has(.em-home) .mobile-header::after {
    content: "إسناد المواهب";
    grid-area: empty;
    justify-self: end;
    direction: inherit;
    color: rgba(255,255,255,.76);
    font: 650 10px var(--font-heading);
  }

  body:has(.em-home) .mobile-header-menu {
    width: 42px;
    height: 42px;
    color: #fff;
    border-color: rgba(255,255,255,.14);
    border-radius: 14px;
    background: rgba(255,255,255,.075);
    box-shadow: none;
  }

  body:has(.em-home) .mobile-header-logo {
    width: 43px;
    height: 43px;
    border-color: rgba(255,255,255,.14);
    border-radius: 15px;
    background: rgba(255,255,255,.08);
    box-shadow: none;
  }

body:has(.em-home) .mobile-header-logo img,
  .nav-overlay img {
    filter: brightness(0) invert(1);
  }
}

/* WordPress parity bridge: Next/Image positioning and stateful React panels. */
.eh-home a{text-decoration:none}.eh-home button{font:inherit}.eh-home svg{width:1.15em;height:1.15em;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
.eh-hero-media img,.em-hero-media img,.eh-service-image>img,.em-service-product-media>img,.em-sector-bg>img,.eh-sector-card>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.eh-service-image:not(.is-active),.em-service-product:not(.is-active),.em-sector-bg:not(.is-active),.em-sector-feature:not(.is-active),.em-quote-card blockquote:not(.is-active),.eh-quote-panel blockquote:not(.is-active){display:none}
.eh-service-image.is-active,.em-service-product.is-active,.em-sector-bg.is-active,.em-sector-feature.is-active,.em-quote-card blockquote.is-active,.eh-quote-panel blockquote.is-active{animation:exactPanelIn .62s cubic-bezier(.16,1,.3,1) both}
@keyframes exactPanelIn{from{opacity:0;transform:translateY(18px) scale(.985);filter:blur(5px)}to{opacity:1;transform:none;filter:none}}
.exact-reveal,.mobile-reveal{opacity:0;transform:translateY(34px);filter:blur(7px);transition:opacity .85s cubic-bezier(.16,1,.3,1),transform .85s cubic-bezier(.16,1,.3,1),filter .85s cubic-bezier(.16,1,.3,1)}
.exact-reveal.is-visible,.mobile-reveal.is-visible{opacity:1;transform:none;filter:none}
.quote-glyph{display:block;color:#5d8fff;font:400 64px/1 Georgia,serif}.eh-quote-panel blockquote,.em-quote-card blockquote{margin:0}
.em-tab-icon{font-size:15px}.em-service-products{position:relative}.em-service-product{touch-action:pan-y}.em-sector-feature{touch-action:pan-y}
.em-sector-detail{width:max-content;margin-top:12px;padding:9px 14px;display:inline-flex;align-items:center;gap:8px;color:#071329!important;border-radius:999px;background:#fff;font-size:9px;font-weight:800}.em-sector-detail svg{width:12px;height:12px}
.em-cta-logo img{position:absolute;inset:0;width:100%;height:100%;object-fit:contain}
.em-scroll-hint,.em-back-top{padding:0;border:0;background:transparent;cursor:pointer}
@media(max-width:767px){body.home .site-footer{display:none}.em-home .site-header{display:none}.em-service-product-media{position:relative}.em-sector-bg{position:absolute;inset:0}.em-sector-feature{position:relative}.em-slide-dock svg{width:15px;height:15px}}
@media(prefers-reduced-motion:reduce){.exact-reveal,.mobile-reveal{opacity:1;transform:none;filter:none}}

/* Exact responsive navigation shell. */
.exact-desktop-header{position:fixed;z-index:50;top:0;right:0;left:0;padding:20px 20px 0;direction:inherit}.exact-header-inner{position:relative;width:min(1280px,100%);margin:auto;display:flex;align-items:center;justify-content:space-between}.exact-brand-pill{padding-inline-start:10px}.exact-brand-pill .site-logo-link{display:flex;align-items:center;gap:10px;color:var(--text-primary);font-size:14px;font-weight:800}.exact-brand-pill .site-logo-link img{width:28px;height:28px;object-fit:contain;border-radius:8px}.exact-menu-toggle{width:36px;height:36px;display:grid;place-content:center;gap:5px;color:var(--text-secondary);border:0;border-radius:50%;background:transparent;cursor:pointer}.exact-menu-toggle span{display:block;width:17px;height:1.5px;background:currentColor;transition:.35s}.header-quicknav{position:absolute;left:50%;transform:translateX(-50%);gap:30px;padding:13px 28px}.quicknav-link.is-active{color:var(--accent);font-weight:700}.exact-action-pill{padding:8px 10px;gap:10px}.exact-action-pill>.theme-toggle{width:36px;height:36px;border:0;border-radius:50%;background:transparent;cursor:pointer}.exact-action-pill>a{display:flex;align-items:center;gap:8px;padding:7px 16px;color:#fff!important;border-radius:999px;background:var(--accent);font-size:14px;font-weight:700;box-shadow:0 2px 12px rgba(27,80,212,.3)}
.exact-mobile-header{display:none}.exact-mobile-header img{width:36px;height:36px;object-fit:contain}.exact-nav-overlay{padding:0;direction:inherit}.exact-overlay-top{padding:20px 28px;display:flex;align-items:center;justify-content:space-between}.exact-overlay-brand{display:flex;align-items:center;gap:12px;color:#fff}.exact-overlay-brand img{width:34px;height:34px;object-fit:contain}.exact-menu-close{padding:10px 17px;display:flex;align-items:center;gap:7px;color:#fff;border:1px solid rgba(255,255,255,.2);border-radius:999px;background:rgba(255,255,255,.12);font:700 14px var(--font-body);cursor:pointer}.exact-overlay-body{width:min(1240px,calc(100% - 50px));margin:auto;padding:42px 0 60px;display:grid;grid-template-columns:3fr 2fr;gap:70px}.exact-overlay-body nav>a{padding:18px 0;display:flex;align-items:center;justify-content:space-between;color:rgba(255,255,255,.66);border-bottom:1px solid rgba(255,255,255,.12)}.exact-overlay-body nav>a span{font:800 clamp(2rem,4vw,4.3rem)/1 var(--font-heading)}.exact-overlay-body nav>a:hover{color:#fff}.exact-overlay-body nav>a b{opacity:0;transition:.3s}.exact-overlay-body nav>a:hover b{opacity:1}.exact-overlay-body .nav-overlay-contact{width:max-content;margin-top:34px;padding:15px 26px;color:var(--accent);border:0;border-radius:999px;background:#fff;font-size:15px;font-weight:800}.exact-overlay-body aside{padding-top:10px}.exact-overlay-body aside>small,.exact-overlay-body aside>div small{display:block;margin-bottom:22px;color:rgba(255,255,255,.4);font-size:11px}.exact-overlay-body aside>a{margin:0 0 16px;display:flex;align-items:center;gap:12px;color:rgba(255,255,255,.65);font-size:18px}.exact-overlay-body aside>a i{width:6px;height:6px;border-radius:50%;background:rgba(255,255,255,.45)}.exact-overlay-body aside>div{margin-top:45px;padding-top:28px;border-top:1px solid rgba(255,255,255,.12)}.exact-overlay-body aside>div a{color:rgba(255,255,255,.7)}body.exact-menu-open{overflow:hidden}.exact-brand-pill.scrolled,.header-quicknav.scrolled,.exact-action-pill.scrolled{background:rgba(255,255,255,.98);box-shadow:0 4px 30px rgba(27,80,212,.14)}
.mobile-header-wordmark{display:none}
@media(max-width:767px){.exact-desktop-header{display:none}.exact-mobile-header{display:grid}.exact-overlay-body{width:calc(100% - 40px);padding-top:25px;grid-template-columns:1fr}.exact-overlay-body aside{display:none}.exact-overlay-body nav>a{padding:15px 0}.exact-overlay-body nav>a span{font-size:clamp(2rem,10vw,3.2rem)}.exact-overlay-top{padding:16px 18px}.exact-overlay-brand strong{font-size:14px}}
.exact-footer{padding-top:3rem!important;color:var(--text-primary)!important;background:var(--bg-secondary)!important}.exact-footer ul{margin:0;padding:0;list-style:none}.exact-footer h3,.exact-footer p{margin-top:0}.exact-footer a{text-decoration:none}.exact-footer .site-logo-link{color:var(--text-primary)}
