/* ==========================================================================
   Home hero — dark neon mockup + theme.js page overlay
   ========================================================================== */

#home.home-hero {
  --color-bg: #05070a;
  --color-surface: rgba(7, 10, 18, 0.62);
  --color-primary: #3b9bff;
  --color-primary-strong: #5eb0ff;
  --color-accent: #f5c518;
  --color-orange: #fb923c;
  --color-text: #f8fafc;
  --color-text-muted: rgba(226, 232, 240, 0.72);
  --color-border: rgba(148, 163, 184, 0.22);
  --home-rail: 16.25rem;
  --home-gutter: 1.25rem;
  --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --home-font: "Outfit", "Segoe UI", sans-serif;
  --text-sm: 0.8125rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.35rem;
  --text-2xl: 2.15rem;
  --text-3xl: 3.05rem;
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --radius: 0.85rem;
  --radius-lg: 1.5rem;
  --radius-pill: 999px;
  --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.38);

  position: relative;
  min-height: 100vh;
  overflow: hidden;
  background: var(--color-bg);
  font-family: var(--home-font);
  color: var(--color-text);
}

#home.home-hero::before,
#home.home-hero::after {
  content: "";
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

#home.home-hero::before {
  inset: 0;
  background:
    radial-gradient(ellipse 55% 50% at 82% 42%, rgba(59, 155, 255, 0.16), transparent 62%),
    radial-gradient(ellipse 42% 46% at 8% 88%, rgba(245, 197, 24, 0.1), transparent 58%),
    radial-gradient(ellipse 30% 28% at 28% 12%, rgba(245, 197, 24, 0.05), transparent 70%),
    var(--color-bg);
}

#home.home-hero::after {
  width: 22rem;
  height: 22rem;
  right: -4rem;
  bottom: -6rem;
  background: radial-gradient(circle, rgba(59, 155, 255, 0.16), transparent 68%);
  filter: blur(8px);
}

.home-hero__shell {
  position: relative;
  z-index: 1;
  min-height: 100vh;
}

/* -------- Global icon rail (all pages) -------- */
#gridNav.home-nav {
  --color-bg: #05070a;
  --color-surface: rgba(7, 10, 18, 0.72);
  --color-primary: #3b9bff;
  --color-primary-strong: #5eb0ff;
  --home-rail: 16.25rem;
  --home-gutter: 1.25rem;
  --home-ease: cubic-bezier(0.22, 1, 0.36, 1);
  --home-font: "Outfit", "Segoe UI", sans-serif;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --radius-lg: 1.5rem;
  --shadow-md: 0 18px 48px rgba(0, 0, 0, 0.38);
  font-family: var(--home-font);
  position: fixed;
  top: var(--home-gutter);
  bottom: var(--home-gutter);
  left: var(--home-gutter);
  width: var(--home-rail);
  height: auto;
  padding: 0 !important;
  z-index: 1200;
  background: transparent !important;
}

.home-nav__panel {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 0.5rem;
  width: 100%;
  height: 100%;
  padding: 0.15rem;
  border-radius: 0;
  background: transparent;
  border: 0;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.home-nav__panel::before {
  display: none;
}

#gridNav.home-nav .home-nav__item {
  --nav-accent: #5eb0ff;
  --nav-rgb: 94, 176, 255;
  --nav-icon-size: 2.95rem;
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  gap: 0.55rem;
  width: 100%;
  min-height: 0;
  margin: 0;
  padding: 0.55rem 0.6rem 0.55rem 0.5rem;
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 1.15rem;
  background: rgba(8, 12, 22, 0.58) !important;
  color: #fff;
  text-decoration: none !important;
  cursor: pointer;
  flex: 1 1 0;
  overflow: visible;
  font-family: inherit;
  appearance: none;
  -webkit-appearance: none;
  box-shadow: none;
  user-select: none;
  -webkit-tap-highlight-color: transparent;
  outline: none;
  backdrop-filter: blur(18px) saturate(1.2);
  -webkit-backdrop-filter: blur(18px) saturate(1.2);
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

#gridNav.home-nav .home-nav__item:nth-child(1) { --nav-accent: #3b9bff; --nav-rgb: 59, 155, 255; }
#gridNav.home-nav .home-nav__item:nth-child(2) { --nav-accent: #f5c518; --nav-rgb: 245, 197, 24; }
#gridNav.home-nav .home-nav__item:nth-child(3) { --nav-accent: #22d3ee; --nav-rgb: 34, 211, 238; }
#gridNav.home-nav .home-nav__item:nth-child(4) { --nav-accent: #34d399; --nav-rgb: 52, 211, 153; }
#gridNav.home-nav .home-nav__item:nth-child(5) { --nav-accent: #5eb0ff; --nav-rgb: 94, 176, 255; }
#gridNav.home-nav .home-nav__item:nth-child(6) { --nav-accent: #fb923c; --nav-rgb: 251, 146, 60; }
#gridNav.home-nav .home-nav__item:nth-child(7) { --nav-accent: #38bdf8; --nav-rgb: 56, 189, 248; }

#gridNav.home-nav .home-nav__item {
  overflow: hidden;
  background-color: #070b14 !important;
}

#gridNav.home-nav .home-nav__item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  background-repeat: no-repeat;
  background-size: 100% 100%, cover;
  background-position: 0 0, left center;
  opacity: 1;
  box-shadow: inset 0 0 0 100vmax rgba(0, 0, 0, 0.5);
}

#gridNav.home-nav .home-nav__item:nth-child(1)::after {
  background-image:
    linear-gradient(90deg, rgba(7, 11, 20, 0.88) 0%, rgba(7, 11, 20, 0.38) 42%, rgba(7, 11, 20, 0.06) 72%, transparent 100%),
    url("../img/home/nav-bg-home.png");
}
#gridNav.home-nav .home-nav__item:nth-child(2)::after {
  background-image:
    linear-gradient(90deg, rgba(7, 11, 20, 0.88) 0%, rgba(7, 11, 20, 0.38) 42%, rgba(7, 11, 20, 0.06) 72%, transparent 100%),
    url("../img/home/nav-bg-about.png");
}
#gridNav.home-nav .home-nav__item:nth-child(3)::after {
  background-image:
    linear-gradient(90deg, rgba(7, 11, 20, 0.88) 0%, rgba(7, 11, 20, 0.38) 42%, rgba(7, 11, 20, 0.06) 72%, transparent 100%),
    url("../img/home/nav-bg-services.png");
}
#gridNav.home-nav .home-nav__item:nth-child(4)::after {
  background-image:
    linear-gradient(90deg, rgba(7, 11, 20, 0.88) 0%, rgba(7, 11, 20, 0.38) 42%, rgba(7, 11, 20, 0.06) 72%, transparent 100%),
    url("../img/home/nav-bg-portfolio.png");
}
#gridNav.home-nav .home-nav__item:nth-child(5)::after {
  background-image:
    linear-gradient(90deg, rgba(7, 11, 20, 0.88) 0%, rgba(7, 11, 20, 0.38) 42%, rgba(7, 11, 20, 0.06) 72%, transparent 100%),
    url("../img/home/nav-bg-clients.png");
}
#gridNav.home-nav .home-nav__item:nth-child(6)::after {
  background-image:
    linear-gradient(90deg, rgba(7, 11, 20, 0.88) 0%, rgba(7, 11, 20, 0.38) 42%, rgba(7, 11, 20, 0.06) 72%, transparent 100%),
    url("../img/home/nav-bg-contact.png");
}
#gridNav.home-nav .home-nav__item:nth-child(7)::after {
  background-image:
    linear-gradient(90deg, rgba(7, 11, 20, 0.88) 0%, rgba(7, 11, 20, 0.38) 42%, rgba(7, 11, 20, 0.06) 72%, transparent 100%),
    url("../img/home/nav-bg-lang.png");
}

#gridNav.home-nav .home-nav__icon,
#gridNav.home-nav .home-nav__rule,
#gridNav.home-nav .home-nav__copy,
#gridNav.home-nav .home-nav__go {
  position: relative;
  z-index: 1;
}

#gridNav.home-nav .home-nav__item::-moz-focus-inner {
  border: 0;
}

#gridNav.home-nav .home-nav__icon {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex: 0 0 var(--nav-icon-size);
  width: var(--nav-icon-size);
  height: var(--nav-icon-size);
  min-width: var(--nav-icon-size);
  min-height: var(--nav-icon-size);
  box-sizing: border-box;
  color: var(--nav-accent);
  border-radius: 0.7rem;
  border: 1px solid var(--nav-accent);
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 10px rgba(var(--nav-rgb), 0.28), 0 0 10px rgba(var(--nav-rgb), 0.22);
  transition: transform 0.2s var(--home-ease), box-shadow 0.2s ease;
}

#gridNav.home-nav .home-nav__icon svg {
  width: 1.95rem;
  height: 1.95rem;
  flex: 0 0 auto;
  display: block;
}

#gridNav.home-nav .home-nav__rule {
  flex: 0 0 2px;
  width: 2px;
  height: 1.95rem;
  border-radius: 2px;
  background: var(--nav-accent);
  box-shadow: 0 0 8px rgba(var(--nav-rgb), 0.75);
}

#gridNav.home-nav .home-nav__copy {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 0.2rem;
  flex: 1 1 auto;
  min-width: 0;
}

#gridNav.home-nav .home-nav__label {
  margin: 0;
  font-size: 1.38rem;
  font-weight: 700;
  letter-spacing: 0.01em;
  line-height: 1.15;
  color: #fff !important;
  text-align: left;
  white-space: nowrap;
}

#gridNav.home-nav .home-nav__label[lang="ar"],
#gridNav.home-nav .home-nav__label [lang="ar"] {
  font-family: "Cairo", "Segoe UI", Tahoma, sans-serif;
  font-size: 1.18rem;
}

#gridNav.home-nav .home-nav__hint {
  display: none;
}

#gridNav.home-nav .home-nav__go {
  display: inline-flex;
  flex: 0 0 auto;
  color: rgba(226, 232, 240, 0.55);
  line-height: 0;
}

#gridNav.home-nav .home-nav__go svg {
  width: 1.05rem;
  height: 1.05rem;
  display: block;
}

#gridNav.home-nav .home-nav__item:hover,
#gridNav.home-nav .home-nav__item:focus-visible {
  color: #fff;
  text-decoration: none !important;
  border-color: rgba(var(--nav-rgb), 0.45);
  box-shadow: 0 0 18px rgba(var(--nav-rgb), 0.22);
}

#gridNav.home-nav .home-nav__item:hover .home-nav__icon,
#gridNav.home-nav .home-nav__item:focus-visible .home-nav__icon {
  transform: translateY(-1px);
  box-shadow: inset 0 0 10px rgba(var(--nav-rgb), 0.35), 0 0 14px rgba(var(--nav-rgb), 0.4);
}

#gridNav.home-nav .home-nav__item:hover .home-nav__go,
#gridNav.home-nav .home-nav__item:focus-visible .home-nav__go {
  color: rgba(255, 255, 255, 0.88);
}

#gridNav.home-nav .home-nav__item:focus,
#gridNav.home-nav .home-nav__item:focus-visible,
#gridNav.home-nav .home-nav__item:active {
  outline: none;
}

#gridNav.home-nav .home-nav__item.is-active {
  color: #fff;
  border-color: rgba(var(--nav-rgb), 0.85);
  box-shadow: 0 0 0 1px rgba(var(--nav-rgb), 0.35), 0 0 22px rgba(var(--nav-rgb), 0.38);
  background: rgba(8, 16, 32, 0.72) !important;
}

#gridNav.home-nav .home-nav__item.is-active .home-nav__go {
  color: #fff;
}

html[dir="rtl"] #gridNav.home-nav {
  left: auto;
  right: var(--home-gutter);
}

html[dir="rtl"] #home #baseContent.home-hero__content {
  left: 0;
  right: calc(var(--home-rail) + var(--home-gutter) * 2);
}

html[dir="rtl"] #gridNav.home-nav .home-nav__copy,
html[dir="rtl"] #gridNav.home-nav .home-nav__label,
html[dir="rtl"] #gridNav.home-nav .home-nav__hint {
  align-items: flex-end;
  text-align: right;
}

html[dir="rtl"] #gridNav.home-nav .home-nav__go svg {
  transform: scaleX(-1);
}

/* -------- Main stage -------- */
#home #baseContent.home-hero__content {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: calc(var(--home-rail) + var(--home-gutter) * 2);
  width: auto;
  min-height: 100vh;
  display: block;
  overflow: hidden;
  background: transparent !important;
  z-index: 1040;
  transition: left 0.6s ease-in-out, opacity 0.45s ease !important;
}

html.is-inner-page #gridNav.home-nav {
  display: none !important;
}

html.is-inner-page .home-nav__panel {
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

#home.is-page-open #baseContent.home-hero__content {
  left: -100%;
  opacity: 0;
}

.home-hero__copy {
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: min(40rem, 56%);
  min-height: 100vh;
  padding: clamp(1.5rem, 5vh, 3.5rem) clamp(1.25rem, 3.2vw, 2.75rem) 9.5rem;
  background: linear-gradient(90deg, rgba(5, 7, 10, 0.82) 0%, rgba(5, 7, 10, 0.42) 68%, transparent 100%);
  animation: home-fade-up 0.85s var(--home-ease) both;
}

@keyframes home-fade-up {
  from { opacity: 0; transform: translateY(16px); }
  to { opacity: 1; transform: translateY(0); }
}

.home-hero__title {
  font-family: var(--home-font);
  font-size: clamp(1.85rem, 3.4vw, 2.85rem);
  font-weight: 700;
  line-height: 1.18;
  letter-spacing: -0.03em;
  color: #fff;
  margin: 0 0 var(--space-4);
  max-width: 14em;
}

.home-hero__title .home-accent {
  color: var(--color-accent);
}

.home-hero__lead {
  font-size: clamp(0.98rem, 1.15vw, var(--text-lg));
  font-weight: 400;
  line-height: 1.65;
  color: var(--color-text-muted);
  margin: 0 0 var(--space-6);
  max-width: 38ch;
}

.home-cta {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: var(--space-4);
}

.home-cta__primary,
.home-cta__secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 2.85rem;
  padding: 0.8rem 1.35rem;
  border-radius: var(--radius-pill);
  font-family: var(--home-font);
  font-size: 0.92rem;
  font-weight: 600;
  letter-spacing: 0.01em;
  text-decoration: none !important;
  transition: transform 0.2s var(--home-ease), box-shadow 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}

.home-cta__primary {
  color: #fff !important;
  background: linear-gradient(90deg, #f5c518 0%, #f0b429 38%, #3b9bff 100%);
  border: 0;
  box-shadow: 0 10px 28px rgba(59, 155, 255, 0.32), 0 6px 18px rgba(245, 197, 24, 0.22);
}

.home-cta__primary:hover,
.home-cta__primary:focus-visible {
  transform: translateY(-2px);
  color: #fff !important;
  box-shadow: 0 14px 32px rgba(59, 155, 255, 0.42), 0 8px 20px rgba(245, 197, 24, 0.3);
  text-decoration: none !important;
}

.home-cta__primary:focus-visible,
.home-cta__secondary:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

.home-cta__primary:active,
.home-cta__secondary:active {
  transform: translateY(0);
}

.home-cta__arrow,
.home-cta__chart {
  display: inline-flex;
  line-height: 0;
}

.home-cta__chart {
  width: 1.45rem;
  height: 1.45rem;
  border: 1px solid currentColor;
  border-radius: 0.28rem;
  align-items: center;
  justify-content: center;
}

.home-cta__arrow svg,
.home-cta__chart svg {
  width: 0.9rem;
  height: 0.9rem;
  display: block;
}

.home-cta__secondary {
  color: #fff !important;
  background: transparent;
  border: 1px solid rgba(59, 155, 255, 0.75);
}

.home-cta__secondary:hover,
.home-cta__secondary:focus-visible {
  color: #fff !important;
  border-color: #5eb0ff;
  background: rgba(59, 155, 255, 0.1);
  transform: translateY(-2px);
  text-decoration: none !important;
}

.home-highlights {
  position: absolute;
  left: 0;
  right: auto;
  bottom: clamp(1.25rem, 3.5vh, 2.75rem);
  z-index: 3;
  display: flex;
  flex-wrap: nowrap;
  align-items: stretch;
  justify-content: flex-start;
  gap: 0;
  list-style: none;
  margin: 0;
  padding: 0 clamp(1.25rem, 3.2vw, 2.75rem);
  width: min(46rem, 92%);
  max-width: none;
}

.home-highlights__item {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  gap: 0.85rem;
  flex: 0 1 auto;
  padding: 0.35rem 1.35rem;
}

.home-highlights__item:first-child {
  padding-left: 0;
}

.home-highlights__item + .home-highlights__item::before {
  content: "";
  position: absolute;
  left: 0;
  top: 18%;
  bottom: 18%;
  width: 1px;
  background: rgba(255, 255, 255, 0.22);
}

.home-highlights__icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 3.15rem;
  height: 3.15rem;
}

.home-highlights__icon svg {
  width: 100%;
  height: 100%;
  display: block;
}

.home-highlights__icon--speed {
  color: var(--color-accent);
  filter: drop-shadow(0 0 10px rgba(245, 197, 24, 0.7));
}
.home-highlights__icon--secure {
  color: #5eb0ff;
  filter: drop-shadow(0 0 10px rgba(59, 155, 255, 0.7));
}
.home-highlights__icon--support {
  color: #fb923c;
  filter: drop-shadow(0 0 10px rgba(251, 146, 60, 0.65));
}

.home-highlights__item strong {
  display: block;
  font-size: 1.02rem;
  font-weight: 700;
  color: #fff;
  line-height: 1.25;
}

.home-highlights__item small {
  display: block;
  margin-top: 0.2rem;
  font-size: 0.88rem;
  color: rgba(226, 232, 240, 0.72);
  line-height: 1.4;
}

.home-hero__visual {
  position: absolute;
  inset: 0;
  z-index: 0;
  display: flex;
  align-items: center;
  justify-content: flex-end;
  height: 100%;
  min-height: 100%;
  overflow: hidden;
  pointer-events: none;
}

.home-hero__visual::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  /* background: linear-gradient(90deg, var(--color-bg) 0%, rgba(5, 7, 10, 0.35) 38%, transparent 62%); */
}

.home-hero__visual img {
  display: block;
  height: 100%;
  width: auto;
  max-width: 100%;
  object-fit: cover;
  object-position: right center;
}

@media (min-width: 768px) and (max-width: 991.98px) {
  #home.home-hero {
    --home-rail: 15rem;
    --home-gutter: 0.85rem;
  }

  #gridNav.home-nav {
    --home-rail: 15rem;
    --home-gutter: 0.85rem;
    width: 15rem;
    top: 0.85rem;
    bottom: 0.85rem;
    left: 0.85rem;
  }

  .home-hero__copy {
    width: min(34rem, 62%);
    padding: 1.5rem 1.15rem 8.5rem;
  }

  .home-hero__title {
    max-width: 16em;
    font-size: clamp(1.55rem, 3.4vw, 2.2rem);
  }

  .home-hero__lead {
    font-size: 0.95rem;
    max-width: 36ch;
  }

  .home-highlights {
    width: min(38rem, 94%);
    padding: 0 1.15rem;
  }

  .home-highlights__item {
    padding: 0.25rem 0.9rem;
    gap: 0.65rem;
  }

  .home-highlights__item strong {
    font-size: 0.9rem;
  }
}

@media (min-width: 576px) and (max-width: 767.98px) {
  #home.home-hero {
    --home-rail: 0rem;
    --home-gutter: 0.85rem;
    overflow-y: auto;
  }

  #home #baseContent.home-hero__content {
    min-height: auto;
    bottom: auto;
    left: 0;
  }

  .home-hero__copy {
    width: 100%;
    min-height: 0;
    padding: 1.5rem 1.15rem 1.25rem;
    background: none;
  }

  .home-hero__title {
    max-width: 16em;
    font-size: clamp(1.7rem, 4.2vw, 2.35rem);
  }

  .home-hero__visual {
    position: relative;
    inset: auto;
    min-height: 48vh;
    height: 48vh;
    justify-content: center;
    pointer-events: auto;
  }

  .home-hero__visual::before {
    display: none;
  }

  .home-hero__visual img {
    height: 100%;
    width: auto;
    max-width: 100%;
  }

  .home-highlights {
    position: relative;
    left: auto;
    right: auto;
    bottom: auto;
    width: 100%;
    margin-top: var(--space-6);
    padding: 0 1.15rem 1.25rem;
    justify-content: flex-start;
  }

  .home-highlights__item + .home-highlights__item::before {
    top: 12%;
    bottom: 12%;
  }
}

@media (max-width: 767.98px) {
  main {
    display: flex;
    flex-direction: column;
  }

  #home.home-hero {
    order: 1;
    min-height: auto;
    padding-top: 0;
    overflow-x: hidden;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }

  #home.home-hero::before,
  #home.home-hero::after {
    position: fixed;
  }

  .home-hero__shell {
    display: flex;
    flex-direction: column;
    min-height: 0;
  }

  #gridNav.home-nav {
    order: 2;
    position: relative;
    top: auto;
    bottom: auto;
    left: auto;
    right: auto;
    width: calc(100% - 1.5rem);
    height: auto;
    margin: 0 auto 1.25rem;
    padding: 0 !important;
    z-index: 1200;
  }

  .home-nav__panel {
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    height: auto;
    gap: 0.65rem;
    padding: 0;
    border-radius: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
  }

  #gridNav.home-nav .home-nav__item {
    flex: 0 0 auto;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    gap: 0.7rem;
    min-width: 0;
    min-height: 0;
    padding: 0.5rem 0.85rem 0.5rem 0.7rem;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 1.2rem;
    background: rgba(20, 24, 36, 0.92) !important;
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.28);
    overflow: hidden;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
  }

  #gridNav.home-nav .home-nav__item::after {
    background-size: 100% 100%, cover;
    background-position: 0 0, left center;
  }

  #gridNav.home-nav .home-nav__item.is-active,
  #gridNav.home-nav .home-nav__item:hover,
  #gridNav.home-nav .home-nav__item:focus-visible {
    border-color: rgba(var(--nav-rgb), 0.55);
    box-shadow: 0 0 18px rgba(var(--nav-rgb), 0.22) !important;
    background: rgba(24, 28, 42, 0.96) !important;
  }

  #gridNav.home-nav .home-nav__icon,
  #gridNav.home-nav .home-nav__rule,
  #gridNav.home-nav .home-nav__copy,
  #gridNav.home-nav .home-nav__go {
    position: relative;
    z-index: 1;
  }

  #gridNav.home-nav .home-nav__rule,
  #gridNav.home-nav .home-nav__hint {
    display: block;
  }

  #gridNav.home-nav .home-nav__rule {
    display: block;
    height: 2.25rem;
  }

  #gridNav.home-nav .home-nav__hint {
    display: block;
    font-size: 0.95rem;
    font-weight: 500;
    line-height: 1.35;
    color: rgba(226, 232, 240, 0.82);
    white-space: normal;
  }

  #gridNav.home-nav .home-nav__go {
    display: inline-flex;
    margin-left: auto;
  }

  #gridNav.home-nav .home-nav__copy {
    align-items: flex-start;
    gap: 0.22rem;
  }

  #gridNav.home-nav .home-nav__label {
    font-size: 1.22rem;
    text-align: left;
    font-weight: 700;
  }

  #gridNav.home-nav .home-nav__label[lang="ar"] {
    font-size: 1.28rem;
  }

  #gridNav.home-nav .home-nav__icon {
    --nav-icon-size: 3.2rem;
  }

  #gridNav.home-nav .home-nav__icon svg {
    width: 1.65rem;
    height: 1.65rem;
  }

  html.is-inner-page #gridNav.home-nav {
    position: fixed;
    top: 0.5rem;
    left: 0.55rem;
    right: 0.55rem;
    width: auto;
    margin: 0;
    max-height: none;
    overflow: visible;
  }

  html.is-inner-page .home-nav__panel {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0.3rem;
    padding: 0.35rem;
  }

  html.is-inner-page #gridNav.home-nav .home-nav__item {
    flex: 1 1 18%;
    min-width: 2.8rem;
    min-height: 2.8rem;
    justify-content: center;
    padding: 0.3rem;
    border-top: 0;
  }

  html.is-inner-page #gridNav.home-nav .home-nav__item + .home-nav__item {
    border-top: 0;
  }

  html.is-inner-page #gridNav.home-nav .home-nav__item::after,
  html.is-inner-page #gridNav.home-nav .home-nav__copy,
  html.is-inner-page #gridNav.home-nav .home-nav__go,
  html.is-inner-page #gridNav.home-nav .home-nav__rule,
  html.is-inner-page #gridNav.home-nav .home-nav__hint {
    display: none;
  }

  #home #baseContent.home-hero__content {
    position: relative !important;
    left: auto !important;
    right: auto !important;
    width: 100% !important;
    min-height: 0;
    display: flex;
    flex-direction: column;
    opacity: 1 !important;
  }

  .home-hero__copy {
    order: 1;
    width: 100%;
    min-height: 0;
    padding: 1.15rem 1rem 1.5rem;
    background: none;
  }

  .home-hero__visual {
    position: relative;
    inset: auto;
    order: 0;
    /* min-height: 32vh;
    max-height: 32vh;
    height: 50vh; */
    justify-content: center;
    pointer-events: auto;
  }

  .home-hero__visual::before {
    display: none;
  }

  .home-hero__visual img {
    width: 100%;
    height: auto;
    max-width: 100%;
    max-height: 32vh;
    object-fit: cover;
    object-position: center;
  }

  .home-hero__title {
    max-width: none;
    font-size: 1.7rem;
    margin-bottom: var(--space-4);
  }

  .home-hero__lead {
    max-width: none;
    font-size: 0.98rem;
    margin-bottom: var(--space-6);
  }

  .home-cta {
    flex-direction: column;
    align-items: stretch;
  }

  .home-cta__primary,
  .home-cta__secondary {
    width: 100%;
    min-height: 2.85rem;
  }

  .home-highlights {
    display: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  #home.home-hero::before,
  .home-hero__copy,
  #gridNav.home-nav,
  #home #baseContent.home-hero__content,
  .home-cta__primary,
  .home-cta__secondary,
  #gridNav.home-nav .home-nav__icon,
  .bb-load__logo,
  .bb-load__ring,
  .bb-load__scan,
  .bb-load__bar span,
  .bb-load__glow {
    animation: none !important;
    transition: none !important;
  }
}

/* -------- Creative 3D logo loader -------- */
#preloader.bb-load {
  position: fixed;
  inset: 0;
  z-index: 10050;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1.35rem;
  margin: 0;
  background:
    radial-gradient(ellipse 50% 42% at 50% 42%, rgba(59, 155, 255, 0.18), transparent 62%),
    radial-gradient(ellipse 30% 28% at 70% 70%, rgba(245, 197, 24, 0.08), transparent 70%),
    #05070a;
  overflow: hidden;
  transition: opacity 0.65s ease, visibility 0.65s ease;
}

#preloader.bb-load.is-done {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.bb-load__glow {
  position: absolute;
  width: 22rem;
  height: 22rem;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(59, 155, 255, 0.28), transparent 68%);
  filter: blur(18px);
  animation: bbLoadPulse 2.4s ease-in-out infinite;
  pointer-events: none;
}

.bb-load__stage {
  position: relative;
  width: min(22rem, 78vw);
  height: min(22rem, 78vw);
  display: flex;
  align-items: center;
  justify-content: center;
  perspective: 900px;
}

.bb-load__ring {
  position: absolute;
  inset: 8%;
  border-radius: 50%;
  border: 1px solid rgba(94, 176, 255, 0.28);
  border-top-color: #5eb0ff;
  border-left-color: rgba(245, 197, 24, 0.55);
  animation: bbLoadSpin 3.2s linear infinite;
  pointer-events: none;
}

.bb-load__ring--slow {
  inset: 2%;
  border-color: rgba(245, 197, 24, 0.12);
  border-bottom-color: #f5c518;
  animation-duration: 5.4s;
  animation-direction: reverse;
}

.bb-load__logo {
  position: relative;
  z-index: 1;
  width: 72%;
  transform-style: preserve-3d;
  animation: bbLoadFloat 3.6s ease-in-out infinite;
  filter: drop-shadow(0 0 28px rgba(59, 155, 255, 0.45));
}

.bb-load__logo img {
  display: block;
  width: 100%;
  height: auto;
  mix-blend-mode: screen;
}

.bb-load__scan {
  position: absolute;
  left: 50%;
  top: 42%;
  width: 58%;
  height: 0;
  padding-bottom: 58%;
  margin-left: -29%;
  margin-top: -29%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(94, 176, 255, 0.28) 0%, rgba(94, 176, 255, 0.08) 55%, transparent 72%);
  animation: bbLoadScan 2.4s ease-in-out infinite;
  pointer-events: none;
  z-index: 0;
}

.bb-load__text {
  margin: 0;
  font-family: "Outfit", "Segoe UI", sans-serif;
  font-size: 0.78rem;
  font-weight: 500;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: rgba(226, 232, 240, 0.72);
}

.bb-load__bar {
  width: min(14rem, 58vw);
  height: 2px;
  border-radius: 99px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.bb-load__bar span {
  display: block;
  height: 100%;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, #f5c518, #3b9bff);
  animation: bbLoadBar 1.4s ease-in-out infinite;
}

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

@keyframes bbLoadFloat {
  0%, 100% { transform: rotateY(-12deg) rotateX(6deg) translateY(0); }
  50% { transform: rotateY(12deg) rotateX(-4deg) translateY(-10px); }
}

@keyframes bbLoadScan {
  0% { transform: translateY(-18%) scale(0.92); opacity: 0.35; }
  50% { transform: translateY(10%) scale(1.06); opacity: 0.85; }
  100% { transform: translateY(-18%) scale(0.92); opacity: 0.35; }
}

@keyframes bbLoadPulse {
  0%, 100% { transform: scale(0.92); opacity: 0.55; }
  50% { transform: scale(1.08); opacity: 1; }
}

@keyframes bbLoadBar {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(320%); }
}
