/* ==========================================================================
   ELNAGGAR AGENCY — 2050 Spatial Obsidian & Blue-Teal-Emerald Bioluminescence
   Signature Brand Gradient: #0FA6E6 -> #13ADC9 -> #18B5A4 -> #1EBE80 -> #22C462
   Supports Seamless RTL (Arabic) & LTR (English)
   ========================================================================== */

:root {
  --bg-void: #020910;
  --bg-deep: #04121b;
  --glass-bg: rgba(5, 19, 28, 0.74);
  --glass-bg-strong: rgba(4, 15, 23, 0.82);
  --glass-border: rgba(24, 181, 164, 0.2);
  --glass-border-bright: rgba(15, 166, 230, 0.52);

  /* Exact Brand Gradient Spectrum */
  --brand-blue: #0fa6e6;
  --brand-aqua: #13adc9;
  --brand-teal: #18b5a4;
  --brand-mint: #1ebe80;
  --brand-green: #22c462;
  --brand-gradient: linear-gradient(95deg, #0fa6e6 0%, #13adc9 25%, #18b5a4 50%, #1ebe80 75%, #22c462 100%);
  --brand-gradient-rev: linear-gradient(95deg, #22c462 0%, #18b5a4 50%, #0fa6e6 100%);

  /* Semantic Accents mapped to Brand Spectrum */
  --cyan: #0fa6e6;
  --cyan-soft: #38d9c6;
  --gold: #22c462;
  --gold-deep: #18b5a4;
  --indigo: #13adc9;

  --text-primary: #f0fbfb;
  --text-secondary: #a8c7cf;
  --text-muted: #6c909c;
  --radius-sm: 12px;
  --radius-md: 18px;
  --radius-lg: 26px;
  --shadow-spatial: 0 24px 64px rgba(0, 10, 16, 0.65), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  --font-ar: 'Cairo', 'IBM Plex Sans Arabic', system-ui, -apple-system, sans-serif;
  --font-body: 'IBM Plex Sans Arabic', 'Cairo', system-ui, -apple-system, sans-serif;
  --font-tech: 'Orbitron', 'Cairo', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --ease-spatial: cubic-bezier(0.22, 1, 0.36, 1);
}

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

html {
  scroll-behavior: smooth;
  background-color: var(--bg-void);
  color: var(--text-primary);
  font-size: 16px;
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

body {
  font-family: var(--font-body);
  background: radial-gradient(circle at 20% 15%, #062131 0%, #020910 56%, #01060b 100%);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: clip;
  line-height: 1.72;
}

html[dir='ltr'] body {
  font-family: 'IBM Plex Sans Arabic', system-ui, -apple-system, sans-serif;
}

::selection {
  background: rgba(24, 181, 164, 0.32);
  color: #ffffff;
}

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

button,
input {
  font: inherit;
  color: inherit;
}

.font-tech {
  font-family: var(--font-tech);
  letter-spacing: 0.06em;
}

.font-mono {
  font-family: var(--font-mono);
}

/* Skip to main content accessibility link */
.skip-link {
  position: fixed;
  top: -100px;
  inset-inline-start: 1rem;
  z-index: 300;
  padding: 0.7rem 1.25rem;
  border-radius: 12px;
  background: var(--brand-gradient);
  color: #ffffff;
  font-weight: 700;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: top 0.2s ease;
}

.skip-link:focus {
  top: 1rem;
  outline: 2px solid #ffffff;
  outline-offset: 2px;
}

.container {
  width: min(1240px, 100% - 2.5rem);
  margin-inline: auto;
}

/* ==========================================================================
   3D WebGL Canvas & Atmospheric Layers
   ========================================================================== */
#bg-3d-canvas {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  display: block;
  pointer-events: none;
}

.ambient-layer {
  position: fixed;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  overflow: hidden;
}

.ambient-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(115px);
  opacity: 0.25;
}

.ambient-orb-1 {
  width: 46vw;
  height: 46vw;
  top: -12vw;
  inset-inline-start: -10vw;
  background: radial-gradient(circle, rgba(15, 166, 230, 0.56), rgba(24, 181, 164, 0.2) 55%, transparent 72%);
}

.ambient-orb-2 {
  width: 42vw;
  height: 42vw;
  bottom: -14vw;
  inset-inline-end: -10vw;
  background: radial-gradient(circle, rgba(34, 196, 98, 0.48), rgba(24, 181, 164, 0.24) 55%, transparent 72%);
}

.ambient-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 45%, transparent 32%, rgba(1, 7, 13, 0.74) 100%);
}

.ambient-scanlines {
  position: absolute;
  inset: 0;
  opacity: 0.028;
  background-image: repeating-linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.7) 0px,
    rgba(255, 255, 255, 0.7) 1px,
    transparent 1px,
    transparent 4px
  );
}

/* Desktop Spatial Pointer Aura */
.cursor-aura {
  position: fixed;
  top: 0;
  left: 0;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(15, 166, 230, 0.45);
  box-shadow: 0 0 24px rgba(24, 181, 164, 0.24);
  pointer-events: none;
  z-index: 95;
  transform: translate3d(-100px, -100px, 0);
  transition: width 0.25s var(--ease-spatial), height 0.25s var(--ease-spatial), border-color 0.25s ease, opacity 0.25s ease;
  opacity: 0;
}

.cursor-aura.visible {
  opacity: 1;
}

.cursor-aura.hovering {
  width: 54px;
  height: 54px;
  border-color: rgba(34, 196, 98, 0.75);
  background: rgba(24, 181, 164, 0.08);
}

@media (hover: none), (pointer: coarse) {
  .cursor-aura {
    display: none;
  }
}

/* ==========================================================================
   2050 Boot Preloader
   ========================================================================== */
.preloader {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: radial-gradient(circle at center, #05202e 0%, #020910 72%);
  display: grid;
  place-items: center;
  transition: opacity 0.65s var(--ease-spatial), visibility 0.65s ease;
}

.preloader.done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

html.skip-preloader .preloader {
  display: none;
}

.preloader-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  text-align: center;
}

.preloader-ring {
  position: relative;
  width: 78px;
  height: 78px;
  display: grid;
  place-items: center;
}

.preloader-ring span {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid transparent;
  border-top-color: var(--brand-blue);
  border-right-color: rgba(15, 166, 230, 0.28);
  animation: spin 1.1s linear infinite;
}

.preloader-ring span:last-of-type {
  inset: 9px;
  border-top-color: var(--brand-green);
  border-right-color: transparent;
  border-left-color: rgba(34, 196, 98, 0.35);
  animation: spinReverse 0.9s linear infinite;
}

.preloader-logo {
  position: relative;
  width: 34px;
  height: 32px;
  object-fit: contain;
  filter: drop-shadow(0 0 12px rgba(16, 167, 227, 0.35));
}

.preloader-brand {
  font-family: 'Montserrat', 'Cairo', system-ui, sans-serif;
  font-size: 1.12rem;
  font-weight: 800;
  letter-spacing: -0.01em;
  color: #ffffff;
  display: inline-flex;
  align-items: baseline;
  gap: 0.45rem;
}

.preloader-brand small {
  font-size: 0.68rem;
  font-weight: 500;
  letter-spacing: 0.3em;
  color: var(--text-secondary);
}

.preloader-bar {
  width: 220px;
  height: 3px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 99px;
  overflow: hidden;
}

.preloader-bar-fill {
  height: 100%;
  width: 0;
  background: var(--brand-gradient);
  animation: loadFill 0.85s var(--ease-spatial) forwards;
}

.preloader-status {
  font-size: 0.82rem;
  color: var(--text-secondary);
}

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

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

@keyframes loadFill {
  to { width: 100%; }
}

/* ==========================================================================
   Floating 2050 Spatial Header HUD
   ========================================================================== */
.hud-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 60;
  padding: max(1rem, env(safe-area-inset-top)) 0 1rem;
  transition: padding 0.35s var(--ease-spatial), background-color 0.35s ease, opacity 0.45s ease, transform 0.45s var(--ease-spatial);
}

.hud-header.scrolled {
  padding: max(0.65rem, env(safe-area-inset-top)) 0 0.65rem;
}

.hud-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.65rem 1.1rem;
  border-radius: 999px;
  background: rgba(4, 16, 25, 0.66);
  backdrop-filter: blur(22px) saturate(160%);
  -webkit-backdrop-filter: blur(22px) saturate(160%);
  border: 1px solid var(--glass-border);
  box-shadow: 0 14px 40px rgba(0, 8, 14, 0.52);
}

.brand-mark {
  display: inline-flex;
  align-items: center;
  gap: 0.62rem;
  flex-shrink: 0;
  direction: ltr;
  unicode-bidi: isolate;
}

.brand-emblem {
  width: 40px;
  height: 38px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.brand-emblem img,
.brand-emblem svg {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 0 10px rgba(16, 167, 227, 0.28));
  transition: transform 0.3s var(--ease-spatial);
}

.brand-mark:hover .brand-emblem img {
  transform: scale(1.06);
}

.brand-divider {
  width: 1.5px;
  height: 28px;
  border-radius: 2px;
  background: linear-gradient(
    180deg,
    rgba(255, 255, 255, 0.2) 0%,
    rgba(255, 255, 255, 0.88) 50%,
    rgba(255, 255, 255, 0.2) 100%
  );
  flex-shrink: 0;
}

.brand-text {
  display: flex;
  flex-direction: column;
  line-height: 1;
}

.brand-text strong,
.brand-wordmark {
  font-family: 'Montserrat', 'Cairo', system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #ffffff;
}

.brand-text small {
  font-family: 'Montserrat', 'IBM Plex Sans Arabic', sans-serif;
  font-size: 0.54rem;
  font-weight: 500;
  color: rgba(240, 251, 251, 0.84);
  letter-spacing: 0.36em;
  margin-top: 3px;
}

.hud-nav {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.nav-link {
  padding: 0.46rem 0.92rem;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--text-secondary);
  white-space: nowrap;
  transition: color 0.25s ease, background-color 0.25s ease;
}

.nav-link:hover,
.nav-link.active {
  color: #ffffff;
  background: linear-gradient(95deg, rgba(15, 166, 230, 0.16), rgba(34, 196, 98, 0.16));
}

.hud-actions {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 12px var(--brand-green);
  flex-shrink: 0;
  animation: pulseGlow 1.9s ease-in-out infinite;
}

@keyframes pulseGlow {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.42); opacity: 0.55; }
}

.hud-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.42rem;
  height: 36px;
  padding: 0 0.85rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-primary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-spatial);
  white-space: nowrap;
}

.hud-btn svg {
  width: 16px;
  height: 16px;
  color: var(--brand-blue);
}

.hud-btn:hover {
  border-color: var(--brand-teal);
  background: rgba(24, 181, 164, 0.14);
  transform: translateY(-1px);
}

.hud-btn-lang {
  min-width: 44px;
  padding: 0 0.65rem;
  font-size: 0.78rem;
  color: var(--brand-green);
  border-color: rgba(34, 196, 98, 0.32);
}

.hud-btn-lang:hover {
  border-color: var(--brand-green);
  background: rgba(34, 196, 98, 0.15);
}

.hud-btn-menu {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 38px;
  padding: 0;
}

.hud-btn-menu span {
  width: 16px;
  height: 1.7px;
  background: var(--text-primary);
  border-radius: 2px;
  transition: transform 0.25s var(--ease-spatial), opacity 0.2s ease;
}

.hud-btn-menu[aria-expanded='true'] span:first-child {
  transform: translateY(3.35px) rotate(45deg);
}

.hud-btn-menu[aria-expanded='true'] span:last-child {
  transform: translateY(-3.35px) rotate(-45deg);
}

.mobile-drawer {
  width: min(1240px, 100% - 2.5rem);
  margin: 0.55rem auto 0;
  padding: 0.75rem;
  max-height: calc(100dvh - 5.5rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  border-radius: var(--radius-md);
  background: rgba(4, 15, 24, 0.94);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border: 1px solid var(--glass-border);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.mobile-drawer[hidden] {
  display: none;
}

.mobile-nav-link {
  padding: 0.72rem 1rem;
  border-radius: var(--radius-sm);
  font-weight: 600;
  color: var(--text-secondary);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
  background: linear-gradient(95deg, rgba(15, 166, 230, 0.16), rgba(34, 196, 98, 0.16));
  color: #fff;
}

/* ==========================================================================
   Main Spatial Content Wrapper & Reusable Glass Panels
   ========================================================================== */
.page-content {
  position: relative;
  z-index: 10;
  transition: opacity 0.45s var(--ease-spatial), transform 0.45s var(--ease-spatial);
}

.glass-panel {
  position: relative;
  background: var(--glass-bg);
  backdrop-filter: blur(22px) saturate(155%);
  -webkit-backdrop-filter: blur(22px) saturate(155%);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-spatial);
  overflow: hidden;
  transition: border-color 0.35s ease, transform 0.35s var(--ease-spatial), box-shadow 0.35s ease;
}

.glass-panel::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    rgba(24, 181, 164, 0.14),
    transparent 62%
  );
  opacity: 0;
  transition: opacity 0.35s ease;
  pointer-events: none;
}

.glass-panel:hover::before {
  opacity: 1;
}

.glass-panel:hover {
  border-color: rgba(24, 181, 164, 0.42);
}

/* Precision 2050 HUD Corner Brackets (Blue Top -> Emerald Bottom) */
.hud-corner {
  position: absolute;
  width: 14px;
  height: 14px;
  pointer-events: none;
  z-index: 2;
}

.hud-corner.tl {
  top: 10px;
  left: 10px;
  border-top: 1.5px solid rgba(15, 166, 230, 0.65);
  border-left: 1.5px solid rgba(15, 166, 230, 0.65);
}

.hud-corner.tr {
  top: 10px;
  right: 10px;
  border-top: 1.5px solid rgba(15, 166, 230, 0.65);
  border-right: 1.5px solid rgba(15, 166, 230, 0.65);
}

.hud-corner.bl {
  bottom: 10px;
  left: 10px;
  border-bottom: 1.5px solid rgba(34, 196, 98, 0.62);
  border-left: 1.5px solid rgba(34, 196, 98, 0.62);
}

.hud-corner.br {
  bottom: 10px;
  right: 10px;
  border-bottom: 1.5px solid rgba(34, 196, 98, 0.62);
  border-right: 1.5px solid rgba(34, 196, 98, 0.62);
}

/* ==========================================================================
   Buttons — Matching Exact Uploaded Brand Gradient (#0FA6E6 -> #18B5A4 -> #22C462)
   ========================================================================== */
.btn-primary,
.btn-gold,
.btn-glass {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.82rem 1.5rem;
  border-radius: 14px;
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  border: 1px solid transparent;
  transition: transform 0.25s var(--ease-spatial), box-shadow 0.3s ease, background 0.3s ease, border-color 0.3s ease, filter 0.25s ease;
  white-space: nowrap;
}

.btn-lg {
  padding: 0.96rem 1.85rem;
  font-size: 0.98rem;
}

.btn-sm {
  padding: 0.56rem 1.08rem;
  font-size: 0.84rem;
  border-radius: 11px;
}

.btn-primary {
  background: var(--brand-gradient);
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(2, 16, 24, 0.28);
  box-shadow: 0 12px 32px rgba(24, 181, 164, 0.34), 0 0 22px rgba(34, 196, 98, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.32);
}

.btn-primary:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 16px 40px rgba(24, 181, 164, 0.48), 0 0 32px rgba(15, 166, 230, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.45);
}

.btn-gold {
  background: linear-gradient(95deg, #18b5a4 0%, #1ebe80 50%, #22c462 100%);
  color: #ffffff;
  text-shadow: 0 1px 6px rgba(2, 16, 24, 0.25);
  box-shadow: 0 10px 28px rgba(34, 196, 98, 0.3);
}

.btn-gold:hover {
  transform: translateY(-2px);
  filter: brightness(1.07);
  box-shadow: 0 16px 36px rgba(34, 196, 98, 0.44);
}

.btn-glass {
  background: rgba(6, 22, 32, 0.62);
  backdrop-filter: blur(16px);
  border-color: rgba(24, 181, 164, 0.3);
  color: var(--text-primary);
}

.btn-glass:hover {
  transform: translateY(-2px);
  border-color: var(--brand-green);
  background: rgba(24, 181, 164, 0.16);
}

.dir-arrow {
  width: 18px;
  height: 18px;
  transition: transform 0.25s var(--ease-spatial);
}

html[dir='rtl'] .dir-arrow {
  transform: scaleX(-1);
}

.btn-primary:hover .dir-arrow {
  transform: translateX(4px);
}

html[dir='rtl'] .btn-primary:hover .dir-arrow {
  transform: scaleX(-1) translateX(4px);
}

/* ==========================================================================
   Section 1: HERO
   ========================================================================== */
.hero-section {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  align-items: center;
  padding: 7.4rem 0 4.5rem;
}

.hero-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.18fr) minmax(0, 0.82fr);
  align-items: center;
  gap: 2.5rem;
}

.hero-copy {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.44rem 1rem;
  border-radius: 999px;
  background: linear-gradient(95deg, rgba(15, 166, 230, 0.12), rgba(34, 196, 98, 0.12));
  border: 1px solid rgba(24, 181, 164, 0.36);
  color: #a7f3e3;
  font-size: 0.78rem;
  margin-bottom: 1.15rem;
}

.hero-eyebrow {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: 0.65rem;
  opacity: 0.95;
}

html[dir='ltr'] .hero-eyebrow {
  font-family: var(--font-tech);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
}

/* Latin-only labels must keep their own LTR order inside RTL layouts */
.preloader-brand,
.brand-text,
.monogram-core small,
.footer-logo {
  direction: ltr;
  unicode-bidi: isolate;
}

.hero-title {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
  margin-bottom: 1.35rem;
}

.hero-title-main {
  font-size: clamp(2.35rem, 4.9vw, 4.15rem);
  font-weight: 900;
  line-height: 1.06;
  letter-spacing: 0.04em;
  background: linear-gradient(95deg, #ffffff 6%, #45cdf8 42%, #18b5a4 70%, #22c462 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 6px 26px rgba(24, 181, 164, 0.26));
}

.hero-title-sub {
  font-family: var(--font-ar);
  font-size: clamp(1.3rem, 2.35vw, 1.9rem);
  font-weight: 800;
  line-height: 1.38;
  color: var(--text-primary);
  text-shadow: 0 2px 22px rgba(2, 9, 16, 0.9);
}

.hero-description {
  font-size: 1.04rem;
  color: #c3dbe0;
  max-width: 64ch;
  margin-bottom: 1.85rem;
  line-height: 1.85;
  text-shadow: 0 1px 14px rgba(2, 9, 16, 0.95), 0 0 2px rgba(2, 9, 16, 0.8);
}

/* Live Agency Value Strip */
.hero-metrics {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.85rem;
  max-width: 600px;
  margin-bottom: 1.35rem;
}

.hero-metric-tile {
  padding: 0.95rem 1rem;
  border-radius: var(--radius-md);
  display: flex;
  flex-direction: column;
  gap: 0.22rem;
}

.metric-val {
  font-size: 1.35rem;
  font-weight: 800;
  background: linear-gradient(95deg, #ffffff 10%, #45cdf8 55%, #22c462 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.metric-lbl {
  font-size: 0.78rem;
  color: var(--text-secondary);
  line-height: 1.45;
}

.hero-cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.9rem;
  margin-bottom: 1.45rem;
}

.hero-hud-hint {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.hint-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 10px var(--brand-green);
}

/* Open 3D Stage Reticle Frame & Orbiting Social Media Halo */
.hero-stage-frame {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 460px;
  padding: 1.5rem 0;
  pointer-events: none;
}

.stage-reticle {
  position: relative;
  width: min(370px, calc(100% - 52px));
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  direction: ltr;
}

.reticle-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1px dashed rgba(24, 181, 164, 0.28);
  box-shadow: 0 0 42px rgba(15, 166, 230, 0.08), inset 0 0 42px rgba(24, 181, 164, 0.06);
  animation: spin 46s linear infinite;
}

.planet-social-orbit {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
  animation: spin 46s linear infinite;
}

.planet-social-orbit:hover,
.planet-social-orbit:hover .orbit-social-counter,
.planet-social-orbit:focus-within,
.planet-social-orbit:focus-within .orbit-social-counter {
  animation-play-state: paused;
}

.orbit-social-anchor {
  position: absolute;
  transform: translate(-50%, -50%);
  pointer-events: none;
}

.orbit-social-counter {
  animation: spinReverse 46s linear infinite;
  pointer-events: none;
}

.orbit-social-node {
  position: relative;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: rgba(4, 18, 28, 0.84);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(24, 181, 164, 0.42);
  border-color: color-mix(in srgb, var(--social-color, #18b5a4) 48%, rgba(24, 181, 164, 0.35));
  color: var(--social-color, #e6faff);
  box-shadow: 0 10px 24px rgba(0, 8, 14, 0.65),
    0 0 16px color-mix(in srgb, var(--social-color, #18b5a4) 24%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.16);
  pointer-events: auto;
  cursor: default;
  transition: transform 0.28s var(--ease-spatial), box-shadow 0.28s ease, border-color 0.28s ease,
    background-color 0.28s ease;
}

.orbit-social-node.is-linked {
  cursor: pointer;
}

.orbit-social-node svg {
  width: 20px;
  height: 20px;
  filter: drop-shadow(0 0 6px color-mix(in srgb, var(--social-color, #18b5a4) 55%, transparent));
  transition: transform 0.28s var(--ease-spatial);
}

.orbit-social-node::after {
  content: attr(data-label);
  position: absolute;
  bottom: calc(100% + 9px);
  left: 50%;
  transform: translate(-50%, 4px);
  padding: 0.24rem 0.6rem;
  border-radius: 999px;
  background: rgba(3, 14, 22, 0.92);
  border: 1px solid color-mix(in srgb, var(--social-color, #18b5a4) 55%, transparent);
  color: #f0fbfb;
  font-family: var(--font-mono);
  font-size: 0.66rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease, transform 0.2s var(--ease-spatial);
}

.orbit-social-node:hover,
.orbit-social-node:focus-visible {
  transform: scale(1.18);
  background: color-mix(in srgb, var(--social-color, #18b5a4) 18%, rgba(4, 18, 28, 0.94));
  border-color: var(--social-color, #22c462);
  box-shadow: 0 12px 30px rgba(0, 8, 14, 0.78),
    0 0 26px color-mix(in srgb, var(--social-color, #18b5a4) 52%, transparent),
    inset 0 1px 0 rgba(255, 255, 255, 0.3);
  outline: none;
}

.orbit-social-node:hover svg,
.orbit-social-node:focus-visible svg {
  transform: scale(1.06);
}

.orbit-social-node:hover::after,
.orbit-social-node:focus-visible::after {
  opacity: 1;
  transform: translate(-50%, 0);
}

/* CSS Visual Fallback when WebGL is disabled or unavailable */
.no-webgl-fallback {
  display: none;
  position: relative;
  width: min(210px, 74%);
  aspect-ratio: 1;
  place-items: center;
}

body.no-webgl .no-webgl-fallback {
  display: grid;
}

body.no-webgl .no-webgl-fallback .fallback-orb {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(16, 167, 227, 0.28) 0%, rgba(23, 179, 176, 0.14) 48%, transparent 72%);
  border: 1px solid rgba(23, 179, 176, 0.35);
  box-shadow: 0 0 50px rgba(16, 167, 227, 0.24), inset 0 0 36px rgba(33, 195, 106, 0.18);
  animation: pulseGlow 3.2s ease-in-out infinite;
}

body.no-webgl .no-webgl-fallback img {
  position: relative;
  z-index: 1;
  width: 110px;
  height: 102px;
  object-fit: contain;
  filter: drop-shadow(0 0 18px rgba(16, 167, 227, 0.42));
}

/* ==========================================================================
   Shared Section Headers
   ========================================================================== */
.section-block {
  padding: 5.5rem 0;
  overflow-x: clip;
  scroll-margin-top: 1.5rem;
}

.section-head {
  position: relative;
  text-align: center;
  max-width: 780px;
  margin: 0 auto 3.2rem;
}

/* Soft dark halo behind headings so they stay readable over the live 3D layer */
.section-head::before {
  content: '';
  position: absolute;
  inset: -2.2rem 0;
  z-index: -1;
  background: radial-gradient(ellipse at center, rgba(2, 9, 16, 0.78) 0%, rgba(2, 9, 16, 0.45) 45%, transparent 72%);
  pointer-events: none;
}

.section-subtitle {
  text-shadow: 0 1px 12px rgba(2, 9, 16, 0.9);
}

.section-eyebrow {
  display: inline-block;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--brand-teal);
  margin-bottom: 0.7rem;
}

html[dir='ltr'] .section-eyebrow {
  font-family: var(--font-mono);
  font-size: 0.76rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.section-title {
  font-family: var(--font-ar);
  font-size: clamp(1.75rem, 3.2vw, 2.65rem);
  font-weight: 800;
  line-height: 1.28;
  margin-bottom: 0.9rem;
  background: linear-gradient(95deg, #ffffff 10%, #58d5fb 55%, #22c462 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-subtitle {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ==========================================================================
   Vision & Mission Executive Section
   ========================================================================== */
.vm-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.5rem;
}

.vm-card {
  padding: clamp(1.75rem, 3.2vw, 2.5rem);
  display: flex;
  flex-direction: column;
  gap: 1.05rem;
  --vm-accent: var(--brand-blue);
}

.vm-card-vision {
  --vm-accent: #0fa6e6;
  background: linear-gradient(150deg, rgba(6, 26, 40, 0.8), rgba(4, 17, 26, 0.72));
}

.vm-card-mission {
  --vm-accent: #22c462;
  background: linear-gradient(150deg, rgba(5, 27, 30, 0.8), rgba(4, 17, 24, 0.72));
}

.vm-card::before {
  background: radial-gradient(
    420px circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in srgb, var(--vm-accent) 18%, transparent),
    transparent 64%
  );
}

.vm-card:hover {
  border-color: color-mix(in srgb, var(--vm-accent) 55%, transparent);
  box-shadow: 0 26px 64px rgba(0, 10, 16, 0.74), 0 0 32px color-mix(in srgb, var(--vm-accent) 18%, transparent);
}

.vm-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
}

.vm-icon {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--vm-accent) 14%, rgba(3, 14, 22, 0.82));
  border: 1px solid color-mix(in srgb, var(--vm-accent) 44%, transparent);
  color: var(--vm-accent);
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--vm-accent) 18%, transparent);
}

.vm-icon svg {
  width: 26px;
  height: 26px;
}

.vm-tag {
  padding: 0.3rem 0.82rem;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--vm-accent);
  background: color-mix(in srgb, var(--vm-accent) 12%, rgba(3, 14, 22, 0.75));
  border: 1px solid color-mix(in srgb, var(--vm-accent) 36%, transparent);
}

html[dir='ltr'] .vm-tag {
  letter-spacing: 0.14em;
}

.vm-title {
  font-family: var(--font-ar);
  font-size: clamp(1.25rem, 2.1vw, 1.58rem);
  font-weight: 900;
  line-height: 1.38;
  color: #ffffff;
}

.vm-text {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.86;
  flex-grow: 1;
}

.vm-points {
  list-style: none;
  margin-top: 0.35rem;
  padding-top: 1rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 0.58rem;
}

.vm-points li {
  position: relative;
  padding-inline-start: 1.25rem;
  font-size: 0.89rem;
  color: #d6f5ef;
  line-height: 1.62;
}

.vm-points li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.6em;
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--vm-accent);
  box-shadow: 0 0 10px var(--vm-accent);
}

/* ==========================================================================
   Section 2: Core Trinity Pillars
   ========================================================================== */
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.pillar-card {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.pillar-index {
  font-size: 0.74rem;
  letter-spacing: 0.18em;
  color: var(--brand-green);
}

.pillar-title {
  font-family: var(--font-ar);
  font-size: 1.38rem;
  font-weight: 800;
  color: #ffffff;
}

.pillar-subtitle {
  font-size: 0.88rem;
  color: var(--brand-blue);
  font-weight: 600;
}

.pillar-text {
  font-size: 0.95rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ==========================================================================
   Section 3: 12 Integrated Services Constellation
   ========================================================================== */
.filter-bar {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-bottom: 2.5rem;
}

.filter-pill {
  padding: 0.58rem 1.2rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  background: rgba(5, 19, 28, 0.58);
  backdrop-filter: blur(14px);
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s var(--ease-spatial);
}

.filter-pill:hover {
  border-color: rgba(15, 166, 230, 0.48);
  color: #ffffff;
}

.filter-pill.active {
  background: var(--brand-gradient);
  border-color: transparent;
  color: #ffffff;
  box-shadow: 0 6px 24px rgba(24, 181, 164, 0.34);
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.35rem;
}

.service-card {
  padding: 1.65rem 1.55rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.95rem;
  cursor: pointer;
  --accent: #0fa6e6;
}

.service-card::before {
  background: radial-gradient(
    380px circle at var(--mx, 50%) var(--my, 50%),
    color-mix(in srgb, var(--accent) 20%, transparent),
    transparent 64%
  );
}

.service-card:hover {
  border-color: color-mix(in srgb, var(--accent) 65%, transparent);
  transform: translateY(-5px);
  box-shadow: 0 26px 60px rgba(0, 10, 16, 0.72), 0 0 32px color-mix(in srgb, var(--accent) 22%, transparent);
}

.service-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.service-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 14px;
  display: grid;
  place-items: center;
  background: color-mix(in srgb, var(--accent) 14%, rgba(3, 14, 22, 0.78));
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
  color: var(--accent);
  box-shadow: inset 0 0 18px color-mix(in srgb, var(--accent) 18%, transparent);
  transition: transform 0.3s var(--ease-spatial);
}

.service-card:hover .service-icon-box {
  transform: scale(1.07);
}

.service-icon-box svg {
  width: 24px;
  height: 24px;
}

.service-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.service-num {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--accent);
}

.service-code {
  font-size: 0.65rem;
  letter-spacing: 0.12em;
  color: var(--text-muted);
}

.service-title {
  font-family: var(--font-ar);
  font-size: 1.15rem;
  font-weight: 800;
  line-height: 1.42;
  color: #ffffff;
}

.service-desc {
  font-size: 0.91rem;
  color: var(--text-secondary);
  line-height: 1.76;
  flex-grow: 1;
}

.service-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
}

.service-tag {
  font-size: 0.74rem;
  padding: 0.24rem 0.65rem;
  border-radius: 999px;
  background: rgba(24, 181, 164, 0.08);
  border: 1px solid rgba(24, 181, 164, 0.2);
  color: #ccf7ef;
}

.service-footer {
  padding-top: 0.75rem;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--accent);
}

.service-footer svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s var(--ease-spatial);
}

html[dir='rtl'] .service-footer svg {
  transform: scaleX(-1);
}

.service-card:hover .service-footer svg {
  transform: translateX(4px);
}

html[dir='rtl'] .service-card:hover .service-footer svg {
  transform: scaleX(-1) translateX(4px);
}

/* ==========================================================================
   Section 4: Executive Command — Founder & Portals
   ========================================================================== */
.founder-card {
  padding: clamp(1.8rem, 4vw, 3.2rem);
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 2.5rem;
  align-items: center;
  background: linear-gradient(135deg, rgba(5, 22, 34, 0.76), rgba(4, 26, 26, 0.64));
}

.founder-identity {
  display: flex;
  align-items: flex-start;
  gap: 1.65rem;
}

.founder-monogram {
  position: relative;
  width: 108px;
  height: 108px;
  flex-shrink: 0;
  display: grid;
  place-items: center;
}

.monogram-orbit {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 1.5px dashed rgba(34, 196, 98, 0.58);
  animation: spin 18s linear infinite;
}

.monogram-orbit::after {
  content: '';
  position: absolute;
  top: -4px;
  left: 50%;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--brand-blue);
  box-shadow: 0 0 14px var(--brand-blue);
}

.monogram-core {
  position: relative;
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 25%, rgba(15, 166, 230, 0.28), rgba(3, 15, 22, 0.95));
  border: 1px solid rgba(24, 181, 164, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: inset 0 0 24px rgba(24, 181, 164, 0.22);
}

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

.founder-initials {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.founder-initials[hidden],
.founder-photo[hidden] {
  display: none;
}

.monogram-core span {
  font-size: 1.45rem;
  font-weight: 800;
  background: linear-gradient(120deg, #ffffff 10%, #58d5fb 55%, #22c462 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.monogram-core small {
  font-size: 0.56rem;
  color: var(--brand-green);
  margin-top: 2px;
}

.founder-role {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--brand-green);
  margin-bottom: 0.2rem;
}

.founder-name {
  font-family: var(--font-ar);
  font-size: clamp(1.7rem, 2.8vw, 2.35rem);
  font-weight: 900;
  line-height: 1.25;
  color: #ffffff;
}

.founder-name-en {
  font-size: 0.78rem;
  letter-spacing: 0.2em;
  color: var(--brand-blue);
  margin-top: 0.3rem;
  margin-bottom: 1.1rem;
}

.founder-quote {
  font-size: 0.98rem;
  color: var(--text-secondary);
  line-height: 1.85;
  padding-inline-start: 1rem;
  border-inline-start: 2px solid var(--brand-teal);
  margin-bottom: 1rem;
}

.founder-bio {
  font-size: 0.92rem;
  color: var(--text-muted);
  line-height: 1.75;
}

.social-row,
.footer-socials {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.social-row {
  margin-top: 1.15rem;
}

.social-row[hidden],
.footer-socials[hidden],
.portal-tile[hidden],
#hero-whatsapp-btn[hidden],
#vip-pass-whatsapp[hidden] {
  display: none;
}

.social-icon-link {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: all 0.25s var(--ease-spatial);
}

.social-icon-link svg {
  width: 17px;
  height: 17px;
}

.social-icon-link:hover {
  border-color: var(--brand-green);
  color: #ffffff;
  background: rgba(24, 181, 164, 0.16);
  transform: translateY(-2px);
}

/* ==========================================================================
   Section 4: 3-Step Workflow Process & Section 6: FAQ Accordion
   ========================================================================== */
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.process-card {
  padding: 2rem 1.8rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.process-step-num {
  font-size: 2rem;
  font-weight: 900;
  line-height: 1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.process-step-title {
  font-family: var(--font-ar);
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
}

.process-step-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.8;
}

.faq-list {
  max-width: 880px;
  margin-inline: auto;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.faq-item {
  border-radius: var(--radius-md);
}

.faq-trigger {
  width: 100%;
  padding: 1.2rem 1.45rem;
  background: transparent;
  border: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  text-align: start;
  cursor: pointer;
}

.faq-question {
  font-family: var(--font-ar);
  font-size: 1.04rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.5;
}

.faq-plus {
  position: relative;
  width: 20px;
  height: 20px;
  flex-shrink: 0;
}

.faq-plus::before,
.faq-plus::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 14px;
  height: 2px;
  border-radius: 2px;
  background: var(--brand-teal);
  transform: translate(-50%, -50%);
  transition: transform 0.25s var(--ease-spatial), background-color 0.25s ease;
}

.faq-plus::after {
  transform: translate(-50%, -50%) rotate(90deg);
}

.faq-item.open .faq-plus::after {
  transform: translate(-50%, -50%) rotate(0deg);
}

.faq-item.open .faq-plus::before {
  background: var(--brand-green);
}

.faq-answer {
  padding: 0 1.45rem 1.25rem;
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.82;
}

50% { transform: scale(1.6); opacity: 0.6; }
}

.noscript-banner {
  margin-bottom: 1.4rem;
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-sm);
  background: rgba(16, 167, 227, 0.14);
  border: 1px solid rgba(16, 167, 227, 0.4);
  color: #dff7ff;
  font-size: 0.9rem;
  text-align: center;
}

.noscript-banner a {
  color: var(--brand-green);
  text-decoration: underline;
}

.founder-portals {
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.portal-tile {
  padding: 1.3rem 1.4rem;
  border-radius: var(--radius-md);
  background: rgba(3, 14, 22, 0.72);
  border: 1px solid rgba(15, 166, 230, 0.24);
  display: flex;
  flex-direction: column;
  gap: 1rem;
  transition: border-color 0.3s ease, transform 0.3s var(--ease-spatial);
}

.portal-tile:hover {
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.portal-tile-gold {
  border-color: rgba(34, 196, 98, 0.28);
}

.portal-tile-gold:hover {
  border-color: var(--brand-green);
}

.portal-tile-head {
  display: flex;
  align-items: center;
  gap: 0.9rem;
}

.portal-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(15, 166, 230, 0.12);
  border: 1px solid rgba(15, 166, 230, 0.34);
  color: var(--brand-blue);
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.portal-tile-gold .portal-icon {
  background: rgba(34, 196, 98, 0.12);
  border-color: rgba(34, 196, 98, 0.36);
  color: var(--brand-green);
}

.portal-icon svg {
  width: 22px;
  height: 22px;
}

.portal-label {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 2px;
}

.portal-url {
  font-size: 1.02rem;
  font-weight: 700;
  color: #ffffff;
  direction: ltr;
  unicode-bidi: isolate;
  overflow-wrap: anywhere;
  word-break: break-word;
}

.portal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
}

.wa-multi-actions {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.wa-line-btn {
  width: 100%;
  justify-content: center;
  letter-spacing: 0.03em;
}

/* ==========================================================================
   Section 5: VIP Launch Access Portal
   ========================================================================== */
.section-notify {
  padding-bottom: 4rem;
}

.notify-shell {
  padding: clamp(2rem, 4.5vw, 3.6rem);
  max-width: 920px;
  margin-inline: auto;
  background: linear-gradient(155deg, rgba(5, 22, 34, 0.8), rgba(4, 24, 24, 0.72));
}

.notify-head {
  text-align: center;
  max-width: 680px;
  margin: 0 auto 2.2rem;
}

.vip-form {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
}

.hp-field {
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 1px;
  height: 1px;
  margin: 0;
  padding: 0;
  border: 0;
  overflow: hidden;
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  opacity: 0;
  pointer-events: none;
}

.btn-submit:disabled {
  opacity: 0.72;
  cursor: wait;
  transform: none;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.input-field-full {
  grid-column: 1 / -1;
}

.input-field input,
.input-field textarea {
  width: 100%;
  padding: 0.95rem 1.2rem;
  border-radius: var(--radius-sm);
  background: rgba(2, 12, 19, 0.76);
  border: 1px solid rgba(24, 181, 164, 0.26);
  color: #ffffff;
  font-size: 1rem;
  outline: none;
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
  font-family: inherit;
}

.input-field textarea {
  resize: vertical;
  min-height: 88px;
  line-height: 1.6;
}

.input-field input::placeholder,
.input-field textarea::placeholder {
  color: var(--text-muted);
}

.input-field input[type='tel'],
.input-field input[type='email'] {
  unicode-bidi: plaintext;
}

html[dir='rtl'] .input-field input,
html[dir='rtl'] .input-field textarea {
  text-align: right;
}

.input-field input:focus,
.input-field textarea:focus {
  border-color: var(--brand-teal);
  box-shadow: 0 0 0 3px rgba(24, 181, 164, 0.18), 0 0 22px rgba(15, 166, 230, 0.18);
}

.vip-pass-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.75rem;
}

.division-picker {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.division-label {
  font-size: 0.88rem;
  color: var(--text-secondary);
  font-weight: 600;
}

.division-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.division-chip {
  padding: 0.5rem 1rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(24, 181, 164, 0.24);
  color: var(--text-secondary);
  font-size: 0.84rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.22s ease;
}

.division-chip:hover {
  border-color: var(--brand-blue);
  color: #fff;
}

.division-chip.active {
  background: linear-gradient(95deg, rgba(15, 166, 230, 0.24), rgba(34, 196, 98, 0.24));
  border-color: var(--brand-green);
  color: #ffffff;
  box-shadow: 0 0 18px rgba(24, 181, 164, 0.24);
}

.form-error {
  padding: 0.72rem 1rem;
  border-radius: var(--radius-sm);
  background: rgba(251, 113, 133, 0.14);
  border: 1px solid rgba(251, 113, 133, 0.42);
  color: #fecdd3;
  font-size: 0.88rem;
  text-align: center;
}

.form-submit-row {
  display: flex;
  justify-content: center;
  margin-top: 0.4rem;
}

.btn-submit {
  min-width: 260px;
}

/* VIP Pass Confirmed State */
.vip-pass {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.1rem;
  padding: 1rem 0;
}

.vip-pass[hidden] {
  display: none;
}

.vip-pass-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  background: rgba(34, 196, 98, 0.14);
  border: 1px solid rgba(34, 196, 98, 0.44);
  color: #6ee7a8;
  font-size: 0.78rem;
}

.vip-pass-heading {
  font-family: var(--font-ar);
  font-size: 1.55rem;
  font-weight: 800;
  color: #ffffff;
}

.vip-pass-code-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.35rem;
  padding: 1.25rem 2.2rem;
  border-radius: var(--radius-md);
  background: rgba(2, 13, 20, 0.84);
  border: 1px dashed rgba(34, 196, 98, 0.6);
  box-shadow: 0 0 34px rgba(24, 181, 164, 0.16);
}

.vip-pass-code-label {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.vip-pass-code {
  font-size: 1.65rem;
  font-weight: 800;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.14em;
}

.vip-pass-summary {
  font-size: 0.84rem;
  color: var(--cyan-soft);
}

.vip-pass-meta {
  font-size: 0.94rem;
  color: var(--text-secondary);
}

/* ==========================================================================
   Multi-Page Inner Hero, Breadcrumbs & Global Corporate Sections
   ========================================================================== */
.page-hero {
  padding: 8.6rem 0 3.2rem;
  position: relative;
}

.page-hero-inner {
  max-width: 860px;
  margin-inline: auto;
  text-align: center;
}

.breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding: 0.36rem 0.95rem;
  border-radius: 999px;
  background: rgba(5, 19, 28, 0.72);
  border: 1px solid var(--glass-border);
  font-size: 0.78rem;
  color: var(--text-secondary);
  margin-bottom: 1.25rem;
}

.breadcrumb a {
  color: var(--brand-blue);
  transition: color 0.2s ease;
}

.breadcrumb a:hover {
  color: var(--brand-green);
}

.breadcrumb-sep {
  color: var(--text-muted);
}

.page-hero-title {
  font-family: var(--font-ar);
  font-size: clamp(1.95rem, 3.8vw, 3.15rem);
  font-weight: 900;
  line-height: 1.24;
  margin-bottom: 1.1rem;
  background: linear-gradient(95deg, #ffffff 8%, #58d5fb 52%, #22c462 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.page-hero-subtitle {
  font-size: 1.04rem;
  color: #c3dbe0;
  line-height: 1.85;
  max-width: 72ch;
  margin-inline: auto;
  text-shadow: 0 1px 14px rgba(2, 9, 16, 0.9);
}

.section-footer-cta {
  display: flex;
  justify-content: center;
  margin-top: 2.4rem;
}

/* Global Presence Grid */
.global-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.25rem;
}

.global-card {
  padding: 1.65rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.global-code {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: var(--brand-green);
}

.global-title {
  font-family: var(--font-ar);
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.4;
}

.global-text {
  font-size: 0.9rem;
  color: var(--text-secondary);
  line-height: 1.72;
}

/* Home 4 Core Practice Groups Grid */
.practices-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.practice-card {
  padding: 1.9rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.practice-card:hover {
  transform: translateY(-4px);
  border-color: rgba(15, 166, 230, 0.52);
}

.practice-count {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--brand-blue);
}

html[dir='ltr'] .practice-count {
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.practice-title {
  font-family: var(--font-ar);
  font-size: 1.28rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.38;
}

.practice-text {
  font-size: 0.94rem;
  color: var(--text-secondary);
  line-height: 1.78;
  flex-grow: 1;
}

.practice-footer {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--brand-green);
}

.practice-card:hover .dir-arrow {
  transform: translateX(4px);
}

html[dir='rtl'] .practice-card:hover .dir-arrow {
  transform: scaleX(-1) translateX(4px);
}

/* About Page — Corporate Operating Principles */
.principles-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.35rem;
}

.principle-card {
  padding: 1.85rem 1.7rem;
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}

.principle-num {
  font-size: 1.45rem;
  font-weight: 900;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.principle-title {
  font-family: var(--font-ar);
  font-size: 1.2rem;
  font-weight: 800;
  color: #ffffff;
}

.principle-text {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.78;
}

/* Services Page — Engagement Models */
.engagement-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.engagement-card {
  padding: 1.95rem 1.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.engagement-badge {
  display: inline-flex;
  align-self: flex-start;
  padding: 0.28rem 0.72rem;
  border-radius: 999px;
  background: rgba(15, 166, 230, 0.14);
  border: 1px solid rgba(15, 166, 230, 0.35);
  color: #7ee3ff;
  font-size: 0.72rem;
  font-weight: 700;
}

.engagement-title {
  font-family: var(--font-ar);
  font-size: 1.24rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.38;
}

.engagement-text {
  font-size: 0.93rem;
  color: var(--text-secondary);
  line-height: 1.78;
}

/* Process Page Deliverables List */
.deliverables-list {
  list-style: none;
  margin-top: 0.5rem;
  padding-top: 0.9rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.deliverables-list li {
  position: relative;
  padding-inline-start: 1.15rem;
  font-size: 0.86rem;
  color: #ccf7ef;
  line-height: 1.55;
}

.deliverables-list li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.58em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 8px var(--brand-green);
}

/* Closing Executive CTA Banner */
.cta-banner {
  padding: clamp(2rem, 4.5vw, 3.4rem);
  text-align: center;
  background: linear-gradient(145deg, rgba(5, 24, 38, 0.84), rgba(4, 28, 26, 0.74));
}

.cta-banner-title {
  font-family: var(--font-ar);
  font-size: clamp(1.55rem, 3vw, 2.35rem);
  font-weight: 900;
  line-height: 1.3;
  margin-bottom: 0.85rem;
  background: linear-gradient(95deg, #ffffff 10%, #58d5fb 55%, #22c462 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.cta-banner-text {
  font-size: 1rem;
  color: var(--text-secondary);
  max-width: 64ch;
  margin: 0 auto 1.8rem;
  line-height: 1.8;
}

.cta-banner-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 0.9rem;
}

/* Contact Page 2-Column Executive Layout */
.contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.88fr) minmax(0, 1.32fr);
  gap: 1.75rem;
  align-items: start;
}

.contact-sidebar {
  display: flex;
  flex-direction: column;
  gap: 1.1rem;
}

.contact-form-panel {
  max-width: none;
  margin-inline: 0;
}

/* ==========================================================================
   Blog Grid, Article Reader Modal & Legal Document Pages (Privacy / Terms)
   ========================================================================== */
.blog-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.4rem;
}

.blog-card {
  padding: 1.7rem 1.55rem 1.45rem;
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  cursor: pointer;
  --accent: #0fa6e6;
}

.blog-card:hover {
  transform: translateY(-5px);
  border-color: color-mix(in srgb, var(--accent) 62%, transparent);
  box-shadow: 0 24px 56px rgba(0, 10, 16, 0.72), 0 0 28px color-mix(in srgb, var(--accent) 20%, transparent);
}

.blog-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.blog-cat-pill {
  padding: 0.24rem 0.68rem;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--accent);
  background: color-mix(in srgb, var(--accent) 14%, rgba(3, 14, 22, 0.8));
  border: 1px solid color-mix(in srgb, var(--accent) 42%, transparent);
}

.blog-read-time {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.blog-card-title {
  font-family: var(--font-ar);
  font-size: 1.16rem;
  font-weight: 800;
  line-height: 1.45;
  color: #ffffff;
}

.blog-card-excerpt {
  font-size: 0.91rem;
  color: var(--text-secondary);
  line-height: 1.78;
  flex-grow: 1;
}

.blog-card-footer {
  padding-top: 0.85rem;
  border-top: 1px solid rgba(255, 255, 255, 0.07);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.6rem;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--accent);
}

.blog-card:hover .dir-arrow {
  transform: translateX(4px);
}

html[dir='rtl'] .blog-card:hover .dir-arrow {
  transform: scaleX(-1) translateX(4px);
}

/* Article Reader Dialog */
.article-modal-dialog {
  width: min(780px, 100%);
  padding: clamp(1.5rem, 3.5vw, 2.4rem);
}

.article-meta-bar {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.article-title {
  font-family: var(--font-ar);
  font-size: clamp(1.38rem, 2.6vw, 1.9rem);
  font-weight: 900;
  line-height: 1.35;
  color: #ffffff;
  margin-bottom: 1rem;
}

.article-lead {
  font-size: 1.02rem;
  color: #cde6ec;
  line-height: 1.85;
  padding-bottom: 1.25rem;
  margin-bottom: 1.35rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.article-body {
  display: flex;
  flex-direction: column;
  gap: 1.35rem;
  margin-bottom: 1.6rem;
}

.article-section h4 {
  font-family: var(--font-ar);
  font-size: 1.12rem;
  font-weight: 800;
  color: #7ee3ff;
  margin-bottom: 0.5rem;
}

.article-section p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.88;
}

.article-bullets {
  list-style: none;
  margin-top: 0.75rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.article-bullets li {
  position: relative;
  padding-inline-start: 1.2rem;
  font-size: 0.93rem;
  color: #d5f4ee;
  line-height: 1.72;
}

.article-bullets li::before {
  content: '';
  position: absolute;
  inset-inline-start: 0;
  top: 0.65em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--brand-green);
}

/* Legal Document Pages (Privacy Policy & Terms of Service) */
.legal-layout {
  display: grid;
  grid-template-columns: minmax(220px, 0.36fr) minmax(0, 1fr);
  gap: 1.75rem;
  align-items: start;
}

.legal-toc {
  position: sticky;
  top: 6.2rem;
  padding: 1.5rem 1.35rem;
}

.legal-toc-title {
  font-family: var(--font-ar);
  font-size: 0.96rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.9rem;
}

.legal-toc-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 0.48rem;
}

.legal-toc-list a {
  display: block;
  padding: 0.35rem 0.55rem;
  border-radius: 8px;
  font-size: 0.84rem;
  color: var(--text-secondary);
  transition: color 0.2s ease, background-color 0.2s ease;
}

.legal-toc-list a:hover {
  color: #ffffff;
  background: rgba(24, 181, 164, 0.14);
}

.legal-updated-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  margin-top: 1rem;
  padding: 0.34rem 0.85rem;
  border-radius: 999px;
  background: rgba(15, 166, 230, 0.12);
  border: 1px solid rgba(15, 166, 230, 0.32);
  color: #a8e7ff;
  font-size: 0.78rem;
  font-weight: 600;
}

.legal-doc {
  padding: clamp(1.6rem, 3.8vw, 2.8rem);
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.legal-section {
  scroll-margin-top: 6.5rem;
  padding-bottom: 1.65rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.legal-section:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.legal-section h2 {
  font-family: var(--font-ar);
  font-size: clamp(1.16rem, 2vw, 1.4rem);
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.legal-section p {
  font-size: 0.96rem;
  color: var(--text-secondary);
  line-height: 1.88;
  margin-bottom: 0.75rem;
}

.legal-section p:last-child {
  margin-bottom: 0;
}

.footer-legal-links {
  display: inline-flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.7rem;
}

.footer-legal-links a {
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-legal-links a:hover,
.footer-legal-links a.active {
  color: var(--brand-green);
}

/* ==========================================================================
   Enterprise Multi-Column Footer
   ========================================================================== */
.site-footer {
  position: relative;
  z-index: 10;
  padding: 3.4rem 0 calc(2.2rem + env(safe-area-inset-bottom));
  border-top: 1px solid rgba(24, 181, 164, 0.16);
  background: rgba(2, 9, 16, 0.84);
  backdrop-filter: blur(14px);
}

.footer-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.45fr) repeat(3, minmax(0, 1fr));
  gap: 2.2rem;
  padding-bottom: 2.4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.footer-col {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.85rem;
}

.footer-tagline {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.78;
  max-width: 38ch;
}

.footer-col-title {
  font-family: var(--font-ar);
  font-size: 0.94rem;
  font-weight: 800;
  color: #ffffff;
}

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

.footer-nav-list a {
  font-size: 0.86rem;
  color: var(--text-secondary);
  transition: color 0.2s ease;
}

.footer-nav-list a:hover {
  color: var(--brand-green);
}

.footer-bottom {
  padding-top: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
}

.footer-brand,
.footer-links,
.footer-telemetry {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  flex-wrap: wrap;
}

.footer-brand-lockup {
  display: inline-flex;
  align-items: center;
  align-self: flex-start;
  width: fit-content;
  gap: 0.55rem;
  direction: ltr;
  unicode-bidi: isolate;
}

.footer-brand-lockup img {
  width: 28px;
  height: 26px;
  object-fit: contain;
  display: block;
}

.footer-logo {
  font-family: 'Montserrat', 'Cairo', system-ui, sans-serif;
  color: #ffffff;
  font-weight: 800;
  font-size: 0.96rem;
  letter-spacing: -0.01em;
  display: inline-flex;
  align-items: baseline;
  gap: 0.38rem;
}

.footer-logo small {
  font-size: 0.62rem;
  font-weight: 500;
  letter-spacing: 0.24em;
  color: var(--text-secondary);
}

.footer-links a {
  color: var(--brand-blue);
  transition: color 0.2s ease;
}

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

.back-top-link {
  padding: 0.34rem 0.78rem;
  border-radius: 999px;
  border: 1px solid var(--glass-border);
  color: var(--text-secondary);
  transition: border-color 0.2s ease, color 0.2s ease;
}

.back-top-link:hover {
  border-color: var(--brand-green);
  color: #ffffff;
}

/* ==========================================================================
   Holographic Service Detail Modal
   ========================================================================== */
.service-modal {
  position: fixed;
  inset: 0;
  z-index: 140;
  display: grid;
  place-items: center;
  padding: 1.25rem;
}

.service-modal[hidden] {
  display: none;
}

.service-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 7, 13, 0.78);
  backdrop-filter: blur(12px);
}

.service-modal-dialog {
  position: relative;
  z-index: 2;
  width: min(640px, 100%);
  max-height: calc(100dvh - 2rem);
  overflow-y: auto;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  padding: 2rem;
  background: rgba(4, 18, 28, 0.94);
  border-color: rgba(24, 181, 164, 0.42);
  animation: modalIn 0.32s var(--ease-spatial);
}

@keyframes modalIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.modal-top-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
}

.modal-orbit-tag {
  font-size: 0.74rem;
  letter-spacing: 0.16em;
  color: var(--brand-green);
  padding: 0.32rem 0.8rem;
  border-radius: 999px;
  background: rgba(34, 196, 98, 0.12);
  border: 1px solid rgba(34, 196, 98, 0.36);
}

.modal-close-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--glass-border);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  border-color: var(--brand-blue);
  background: rgba(15, 166, 230, 0.16);
}

.modal-close-btn svg {
  width: 18px;
  height: 18px;
}

.modal-header-row {
  display: flex;
  align-items: center;
  gap: 1.1rem;
  margin-bottom: 1.2rem;
}

.modal-icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
  background: rgba(15, 166, 230, 0.12);
  border: 1px solid rgba(15, 166, 230, 0.4);
  color: var(--brand-blue);
}

.modal-icon svg {
  width: 28px;
  height: 28px;
}

.modal-code {
  display: block;
  font-size: 0.72rem;
  color: var(--text-muted);
  letter-spacing: 0.14em;
  margin-bottom: 0.25rem;
}

.modal-title {
  font-family: var(--font-ar);
  font-size: 1.42rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.35;
}

.modal-desc {
  font-size: 1rem;
  color: var(--text-secondary);
  line-height: 1.85;
  margin-bottom: 1.3rem;
}

.modal-tags {
  margin-bottom: 1.7rem;
}

.modal-footer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
}

/* ==========================================================================
   Scroll Reveal Animations
   ========================================================================== */
.reveal-up {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.72s var(--ease-spatial), transform 0.72s var(--ease-spatial);
}

.reveal-up.in-view {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal-up {
    opacity: 1;
    transform: none;
  }
  }

/* Keep connected Arabic ligatures intact in RTL */
html[dir='rtl'] .metric-val,
html[dir='rtl'] .pillar-index,
html[dir='rtl'] .modal-orbit-tag {
  letter-spacing: 0;
}

/* ==========================================================================
   Responsive Media Queries (All Devices: Ultrawide, Laptop, Tablet, Mobile, Compact & Landscape)
   ========================================================================== */
@media (max-width: 1180px) {
  .hud-nav {
    gap: 0.18rem;
  }
  .nav-link {
    padding: 0.42rem 0.72rem;
    font-size: 0.83rem;
  }
}

@media (max-width: 1120px) {
  .services-grid,
  .blog-grid,
  .global-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .founder-card,
  .vm-grid,
  .contact-layout,
  .legal-layout {
    grid-template-columns: 1fr;
  }
  .legal-toc {
    position: static;
  }
  .footer-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 1040px) {
  .hud-nav {
    display: none;
  }
  .hud-btn-menu {
    display: inline-flex;
  }
  .page-hero {
    padding: 7.4rem 0 2.5rem;
  }
  .section-block {
    padding: 4.2rem 0;
  }
  .hero-section {
    padding: 6.5rem 0 3.6rem;
  }
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }
  .hero-copy {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .hero-cta-row {
    justify-content: center;
  }
  .hero-metrics {
    width: 100%;
    margin-inline: auto;
  }
  .hero-hud-hint {
    justify-content: center;
  }
  .hero-stage-frame {
    min-height: 320px;
    padding: 1.5rem 0;
    order: -1;
  }
  .stage-reticle {
    width: min(280px, calc(100vw - 96px));
  }
  .orbit-social-node {
    width: 40px;
    height: 40px;
  }
  .orbit-social-node svg {
    width: 18px;
    height: 18px;
  }
  .pillars-grid,
  .process-grid,
  .engagement-grid {
    grid-template-columns: 1fr;
    max-width: 720px;
    margin-inline: auto;
  }
}

/* Lighter blur radii on mobile GPUs for smooth 60fps scrolling over WebGL */
@media (max-width: 768px) {
  .glass-panel {
    backdrop-filter: blur(12px) saturate(140%);
    -webkit-backdrop-filter: blur(12px) saturate(140%);
  }
  .ambient-orb {
    filter: blur(75px);
  }
}

@media (max-width: 680px) {
  .container {
    width: min(1240px, 100% - 1.5rem);
  }
  .mobile-drawer {
    width: calc(100% - 1.5rem);
  }
  .hud-header-inner {
    padding: 0.52rem 0.72rem;
    gap: 0.6rem;
  }
  .brand-mark {
    gap: 0.45rem;
  }
  .brand-emblem {
    width: 34px;
    height: 32px;
  }
  .brand-divider {
    height: 22px;
  }
  .brand-text strong,
  .brand-wordmark {
    font-size: 0.92rem;
  }
  .brand-text small {
    font-size: 0.48rem;
    letter-spacing: 0.28em;
  }
  .section-block {
    padding: 3.2rem 0;
  }
  .section-head {
    margin-bottom: 2.1rem;
  }
  .hero-section {
    padding: 5.8rem 0 2.8rem;
  }
  .hero-stage-frame {
    min-height: 270px;
    padding: 1.25rem 0;
  }
  .stage-reticle {
    width: min(240px, calc(100vw - 88px));
  }
  .orbit-social-node {
    width: 36px;
    height: 36px;
  }
  .orbit-social-node svg {
    width: 17px;
    height: 17px;
  }
  .hero-eyebrow {
    font-size: 0.78rem;
  }
  html[dir='ltr'] .hero-eyebrow {
    font-size: 0.66rem;
    letter-spacing: 0.14em;
  }
  .hero-badge {
    font-size: 0.72rem;
    padding: 0.38rem 0.85rem;
    max-width: 100%;
    line-height: 1.45;
  }
  .hero-description {
    font-size: 0.95rem;
    line-height: 1.78;
    margin-bottom: 1.45rem;
  }
  .btn-primary,
  .btn-gold,
  .btn-glass {
    white-space: normal;
    text-align: center;
  }
  .btn-lg {
    padding: 0.86rem 1.35rem;
    font-size: 0.92rem;
  }
  .hero-cta-row {
    width: 100%;
    flex-direction: column;
    gap: 0.72rem;
  }
  .hero-cta-row a {
    width: 100%;
  }
  .hero-metric-tile {
    padding: 0.8rem 0.75rem;
  }
  .filter-bar {
    gap: 0.48rem;
    margin-bottom: 1.75rem;
  }
  .filter-pill {
    padding: 0.46rem 0.9rem;
    font-size: 0.8rem;
  }
  .services-grid,
  .blog-grid,
  .global-grid,
  .practices-grid,
  .principles-grid,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 1.05rem;
  }
  .page-hero {
    padding: 6.4rem 0 1.8rem;
  }
  .page-hero-subtitle {
    font-size: 0.94rem;
  }
  .cta-banner-actions {
    flex-direction: column;
  }
  .cta-banner-actions a {
    width: 100%;
  }
  .footer-grid {
    gap: 1.65rem;
  }
  .footer-bottom {
    flex-direction: column;
    align-items: flex-start;
  }
  .pillar-card,
  .process-card,
  .practice-card,
  .principle-card,
  .engagement-card,
  .vm-card {
    padding: 1.45rem 1.25rem;
  }
  .service-card {
    padding: 1.35rem 1.2rem 1.2rem;
  }
  .founder-card {
    padding: 1.45rem 1.15rem;
    gap: 1.65rem;
  }
  .founder-identity {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 1.15rem;
  }
  .founder-quote {
    padding-inline-start: 0;
    border-inline-start: 0;
    padding-top: 0.75rem;
    border-top: 1px solid rgba(24, 181, 164, 0.28);
  }
  .social-row {
    justify-content: center;
  }
  .portal-tile {
    padding: 1.1rem;
  }
  .portal-url {
    font-size: 0.92rem;
  }
  .faq-trigger {
    padding: 1rem 1.1rem;
  }
  .faq-question {
    font-size: 0.95rem;
  }
  .faq-answer {
    padding: 0 1.1rem 1.05rem;
    font-size: 0.88rem;
  }
  .notify-shell {
    padding: 1.5rem 1.1rem;
  }
  .notify-head {
    margin-bottom: 1.5rem;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0.85rem;
  }
  .division-chip {
    font-size: 0.8rem;
    padding: 0.48rem 0.85rem;
    text-align: start;
  }
  .btn-submit {
    min-width: 0;
    width: 100%;
  }
  .vip-pass-code-box {
    width: 100%;
    padding: 1rem 1.2rem;
  }
  .vip-pass-code {
    font-size: clamp(1.2rem, 5.5vw, 1.65rem);
  }
  .service-modal {
    padding: 0.75rem;
  }
  .service-modal-dialog {
    padding: 1.35rem 1.15rem;
    max-height: calc(100dvh - 1.5rem);
  }
  .modal-header-row {
    gap: 0.85rem;
  }
  .modal-icon {
    width: 46px;
    height: 46px;
    border-radius: 13px;
  }
  .modal-icon svg {
    width: 23px;
    height: 23px;
  }
  .modal-title {
    font-size: 1.18rem;
  }
  .modal-desc {
    font-size: 0.92rem;
    line-height: 1.75;
  }
  .modal-footer-actions {
    flex-direction: column;
  }
  .modal-footer-actions > button {
    width: 100%;
  }
  
  }

/* RTL Footer Alignment */
html[dir='rtl'] .footer-brand-lockup {
  flex-direction: row-reverse;
  align-self: flex-start;
}
html[dir='rtl'] .footer-col {
  align-items: flex-start;
  text-align: right;
}
html[dir='rtl'] .footer-tagline {
  text-align: right;
}

/* ==========================================================================
   Comprehensive About Page Styles (Stats, Story, Compare, Units, Values, Milestones)
   ========================================================================== */

/* 1. Impact Stats Bar */
.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.5rem;
  margin-top: 3.2rem;
  width: 100%;
}

.about-stat-card {
  padding: 2.2rem 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, rgba(8, 28, 44, 0.78), rgba(3, 14, 22, 0.88));
  border: 1px solid rgba(24, 181, 164, 0.28);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.08);
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform 0.35s var(--ease-spatial), border-color 0.3s ease, box-shadow 0.3s ease;
}

.about-stat-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-green);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.45), 0 0 25px rgba(34, 196, 98, 0.25);
}

.about-stat-card .stat-number,
.about-stat-card .stat-num {
  font-size: clamp(2.4rem, 3.6vw, 3.2rem);
  font-weight: 900;
  line-height: 1.1;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.6rem;
  font-family: var(--font-tech);
  filter: drop-shadow(0 0 18px rgba(34, 196, 98, 0.3));
}

.about-stat-card .stat-label {
  font-size: 1.12rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.45rem;
  letter-spacing: -0.01em;
}

.about-stat-card .stat-desc {
  font-size: 0.92rem;
  color: rgba(220, 235, 245, 0.85);
  line-height: 1.68;
}

/* 2. Agency Story & Formula */
.story-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(0, 0.95fr);
  gap: 3.2rem;
  align-items: center;
}

.story-lead {
  font-size: 1.18rem;
  font-weight: 600;
  color: #f0fbfb;
  line-height: 1.9;
  border-inline-start: 3.5px solid var(--brand-green);
  padding-inline-start: 1.3rem;
  margin-bottom: 1.5rem;
}

.story-p {
  font-size: 1.02rem;
  color: rgba(220, 235, 245, 0.88);
  line-height: 1.85;
  margin-bottom: 2rem;
}

.story-highlights {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.story-highlight-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1.2rem 1.4rem;
  border-radius: var(--radius-md);
  background: linear-gradient(145deg, rgba(7, 24, 36, 0.75), rgba(3, 14, 22, 0.85));
  border: 1px solid rgba(24, 181, 164, 0.22);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.story-highlight-item:hover {
  border-color: var(--brand-green);
  transform: translateX(-4px);
}

.highlight-bullet {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--brand-green);
  box-shadow: 0 0 12px var(--brand-green);
  flex-shrink: 0;
  margin-top: 0.45rem;
}

.highlight-title {
  font-size: 1.06rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.25rem;
  display: block;
}

.highlight-desc {
  font-size: 0.92rem;
  color: rgba(220, 235, 245, 0.84);
  line-height: 1.7;
}

.story-formula-card {
  padding: 2.6rem 2.2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(160deg, rgba(8, 34, 52, 0.92), rgba(3, 16, 26, 0.96));
  border: 1.5px solid rgba(34, 196, 98, 0.45);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(34, 196, 98, 0.18);
  display: flex;
  flex-direction: column;
  gap: 1.4rem;
  position: relative;
}

.formula-step {
  display: flex;
  align-items: center;
  gap: 1.2rem;
  padding: 1.1rem 1.3rem;
  border-radius: var(--radius-md);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.formula-step-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(15, 166, 230, 0.18);
  border: 1px solid rgba(15, 166, 230, 0.38);
  color: var(--brand-blue);
  flex-shrink: 0;
}

.formula-step:nth-child(2) .formula-step-icon {
  background: rgba(24, 181, 164, 0.18);
  border-color: rgba(24, 181, 164, 0.38);
  color: var(--brand-teal);
}

.formula-step:nth-child(3) .formula-step-icon {
  background: rgba(34, 196, 98, 0.18);
  border-color: rgba(34, 196, 98, 0.38);
  color: var(--brand-green);
}

.formula-step-text strong {
  display: block;
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.2rem;
}

.formula-step-text small {
  font-size: 0.86rem;
  color: rgba(220, 235, 245, 0.8);
}

.formula-result {
  padding: 1.4rem 1.6rem;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(15, 166, 230, 0.2), rgba(34, 196, 98, 0.22));
  border: 1.5px solid var(--brand-green);
  box-shadow: 0 0 20px rgba(34, 196, 98, 0.25);
  text-align: center;
}

.formula-result-title {
  font-size: 1.22rem;
  font-weight: 900;
  color: #ffffff;
  margin-bottom: 0.4rem;
}

.formula-result-sub {
  font-size: 0.92rem;
  color: #d1fae5;
  line-height: 1.7;
}

/* 3. Comparison Matrix */
.compare-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.8rem;
  align-items: stretch;
  margin-top: 2.2rem;
}

.compare-card {
  padding: 2.4rem 2rem;
  border-radius: var(--radius-xl);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.35s var(--ease-spatial), border-color 0.3s ease, box-shadow 0.3s ease;
}

.compare-card-dim {
  border-color: rgba(255, 255, 255, 0.1);
  background: linear-gradient(165deg, rgba(6, 20, 30, 0.72), rgba(2, 10, 16, 0.85));
}

.compare-card-dim:hover {
  transform: translateY(-4px);
  border-color: rgba(255, 255, 255, 0.22);
}

.compare-card-featured {
  border: 2px solid var(--brand-green);
  background: linear-gradient(165deg, rgba(6, 38, 48, 0.96), rgba(2, 18, 26, 0.98));
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 36px rgba(34, 196, 98, 0.25);
  transform: translateY(-6px);
}

.compare-card-featured:hover {
  transform: translateY(-10px);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.6), 0 0 45px rgba(34, 196, 98, 0.35);
}

.compare-card-header {
  height: 42px;
  display: flex;
  align-items: center;
  margin-bottom: 1.1rem;
}

.compare-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  background: linear-gradient(95deg, rgba(15, 166, 230, 0.22), rgba(34, 196, 98, 0.28));
  border: 1.5px solid var(--brand-green);
  color: #34d399;
  font-family: var(--font-tech);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  white-space: nowrap;
  box-shadow: 0 0 16px rgba(34, 196, 98, 0.3);
}

.compare-badge-dim {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  box-shadow: none;
}

.badge-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #34d399;
  box-shadow: 0 0 8px #34d399;
  flex-shrink: 0;
  animation: pulse-dot 1.8s infinite;
}

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

.compare-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.5rem;
  line-height: 1.36;
  min-height: 3.4rem;
  display: flex;
  align-items: center;
}

.compare-sub {
  font-size: 0.9rem;
  color: rgba(220, 235, 245, 0.85);
  line-height: 1.65;
  margin-bottom: 1.6rem;
  padding-bottom: 1.3rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  min-height: 3.2rem;
}

.compare-card-featured .compare-sub {
  border-bottom-color: rgba(34, 196, 98, 0.25);
}

.compare-points {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 1.15rem;
}

.compare-points li {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-items: flex-start;
  gap: 0.85rem;
  font-size: 0.94rem;
  color: rgba(220, 235, 245, 0.88);
  line-height: 1.72;
  min-height: 3.1rem;
}

.compare-card-featured .compare-points li {
  color: #ffffff;
  font-weight: 500;
}

.cross-icon,
.icon-x {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(239, 68, 68, 0.15);
  border: 1.5px solid rgba(239, 68, 68, 0.5);
  color: #f87171;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
}

.check-icon,
.icon-check {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: rgba(34, 196, 98, 0.18);
  border: 1.5px solid rgba(34, 196, 98, 0.65);
  color: #34d399;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 3px;
  box-shadow: 0 0 12px rgba(34, 196, 98, 0.35);
}

/* 4. Multidisciplinary Units */
.units-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1.8rem;
  margin-top: 2rem;
}

.unit-card {
  padding: 2.6rem 2.2rem;
  border-radius: var(--radius-xl);
  background: linear-gradient(165deg, rgba(7, 28, 42, 0.85), rgba(3, 14, 22, 0.94));
  border: 1.5px solid rgba(15, 166, 230, 0.28);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s var(--ease-spatial), border-color 0.3s ease, box-shadow 0.3s ease;
}

.unit-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-teal);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), 0 0 35px rgba(24, 181, 164, 0.25);
}

.unit-head,
.unit-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.3rem;
  gap: 0.8rem;
}

.unit-meta-left {
  display: flex;
  align-items: center;
  gap: 0.85rem;
}

.unit-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  flex-shrink: 0;
}

.unit-icon-0 {
  background: rgba(15, 166, 230, 0.16);
  border: 1px solid rgba(15, 166, 230, 0.4);
  color: var(--brand-blue);
}

.unit-icon-1 {
  background: rgba(34, 196, 98, 0.16);
  border: 1px solid rgba(34, 196, 98, 0.4);
  color: var(--brand-green);
}

.unit-icon-2 {
  background: rgba(168, 85, 247, 0.16);
  border: 1px solid rgba(168, 85, 247, 0.4);
  color: #c084fc;
}

.unit-icon-3 {
  background: rgba(245, 158, 11, 0.16);
  border: 1px solid rgba(245, 158, 11, 0.4);
  color: #fbbf24;
}

.unit-code {
  font-size: 0.86rem;
  font-weight: 800;
  color: var(--brand-blue);
  letter-spacing: 0.12em;
  background: rgba(15, 166, 230, 0.1);
  padding: 0.3rem 0.75rem;
  border-radius: 8px;
  border: 1px solid rgba(15, 166, 230, 0.3);
}

.unit-tag {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--brand-green);
  background: rgba(34, 196, 98, 0.12);
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  border: 1px solid rgba(34, 196, 98, 0.35);
}

.unit-title {
  font-size: 1.35rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.75rem;
}

.unit-desc {
  font-size: 0.98rem;
  color: rgba(220, 235, 245, 0.88);
  line-height: 1.82;
}

/* 5. Core Values */
.values-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.6rem;
  margin-top: 2rem;
}

.value-card {
  padding: 2.2rem 1.8rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(6, 25, 36, 0.82), rgba(2, 13, 20, 0.92));
  border: 1.5px solid rgba(24, 181, 164, 0.25);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.3);
  display: flex;
  flex-direction: column;
  transition: transform 0.3s var(--ease-spatial), border-color 0.3s ease;
}

.value-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-green);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.4), 0 0 25px rgba(34, 196, 98, 0.2);
}

.value-num {
  font-size: 2.4rem;
  font-weight: 900;
  background: var(--brand-gradient);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.6rem;
  font-family: var(--font-tech);
  line-height: 1;
  opacity: 1;
}

.value-title {
  font-size: 1.22rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.55rem;
}

.value-desc {
  font-size: 0.95rem;
  color: rgba(220, 235, 245, 0.85);
  line-height: 1.75;
}

/* 6. Milestones Timeline */
.milestones-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1.6rem;
  margin-top: 2.5rem;
  position: relative;
}

@media (min-width: 1041px) {
  .milestones-grid::before {
    content: '';
    position: absolute;
    top: 48px;
    inset-inline: 40px;
    height: 2px;
    background: linear-gradient(90deg, rgba(15, 166, 230, 0.4), rgba(34, 196, 98, 0.8), rgba(24, 181, 164, 0.4));
    z-index: 0;
  }
}

.milestone-card {
  padding: 2rem 1.6rem;
  border-radius: var(--radius-lg);
  background: linear-gradient(165deg, rgba(6, 24, 36, 0.85), rgba(2, 12, 18, 0.94));
  border: 1.5px solid rgba(34, 196, 98, 0.3);
  position: relative;
  z-index: 1;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s var(--ease-spatial), border-color 0.3s ease;
}

.milestone-card:hover {
  transform: translateY(-5px);
  border-color: var(--brand-green);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 25px rgba(34, 196, 98, 0.25);
}

.milestone-badge,
.milestone-year {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.35rem 1.15rem;
  border-radius: 999px;
  background: rgba(3, 16, 26, 0.96);
  border: 1.5px solid var(--brand-green);
  color: #22c462;
  font-family: var(--font-tech);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  box-shadow: 0 0 16px rgba(34, 196, 98, 0.35);
  margin-bottom: 1.2rem;
}

.milestone-card:nth-child(4) .milestone-year {
  border-color: var(--brand-blue);
  color: var(--brand-blue);
  box-shadow: 0 0 16px rgba(15, 166, 230, 0.35);
}

.milestone-title {
  font-size: 1.18rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.6rem;
}

.milestone-desc {
  font-size: 0.93rem;
  color: rgba(220, 235, 245, 0.85);
  line-height: 1.75;
}

/* Extra Founder Portals Styling */
.portal-tile-blue {
  border-color: rgba(15, 166, 230, 0.32);
}

.portal-tile-blue:hover {
  border-color: var(--brand-blue);
}

.portal-tile-blue .portal-icon {
  background: rgba(15, 166, 230, 0.15);
  border-color: rgba(15, 166, 230, 0.4);
  color: var(--brand-blue);
}

/* Media Queries for About Components */
@media (max-width: 1040px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .story-grid {
    grid-template-columns: 1fr;
  }
  .compare-grid {
    grid-template-columns: 1fr;
  }
  .units-grid {
    grid-template-columns: 1fr;
  }
  .milestones-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 600px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .milestones-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .values-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
}
