/* ==========================================================================
   مصنع الشعاع — Complete Unified Design System
   Front Page Exact Replica + Full Inner Page Component System + Side Circuits Fix
   ========================================================================== */

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

/* ═══════════════ DESIGN TOKENS ═══════════════ */
:root {
  --font-sans: "Cairo", system-ui, sans-serif;
  --font-mono: "Cairo", system-ui, sans-serif;

  /* Color Palette — match the reference mockup exactly */
  --royal-blue: #1b38b3;
  --royal-dark: #283891;
  --royal-glow: rgba(27, 56, 179, 0.15);

  --red-spark: #e63946;
  --red-dark: #c92a37;
  --red-glow: rgba(230, 57, 70, 0.18);

  --bg-page: #f5f7fc;
  --bg-white: #ffffff;
  --bg-surface: #eaedf6;
  --bg-surface-2: #f0f3fa;
  --ink-main: #0b132b;
  --text-muted: #5b6b8c;
  --text-faint: #9aa8c4;

  --border-light: rgba(30, 50, 140, 0.09);
  --border-card: rgba(30, 50, 140, 0.12);
  --border-strong: rgba(30, 50, 140, 0.22);

  --radius-sm: 0.5rem;
  --radius-md: 1rem;
  --radius-lg: 1.5rem;
  --radius-xl: 2.5rem;
      --primary: #283891;
    --primary-dark: #000000;
    --primary-nav: #1a1a1a;
    --primary-hover: #0A1B8A;
    --secondary: #E51919;
    --secondary-dark: #B30D0D;
    --secondary-light: #FF3333;
}

[data-bs-theme="dark"] {
  --bg-page: #0a0e1a;
  --bg-white: #131a2e;
  --bg-surface: #1b243d;
  --bg-surface-2: #162036;
  --ink-main: #f0f4ff;
  --text-muted: #8090b4;
  --text-faint: #4d5a80;
  --border-light: rgba(255, 255, 255, 0.08);
  --border-card: rgba(255, 255, 255, 0.14);
  --border-strong: rgba(255, 255, 255, 0.25);
}

/* ═══════════════ BASE RESET ═══════════════ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background: var(--bg-page);
  color: var(--ink-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.18;
}

a {
  color: inherit;
  text-decoration: none;
  transition: all 0.25s ease;
}

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

::selection {
  background: var(--red-spark);
  color: #fff;
}

/* ═══════════════ SIDE CIRCUIT WATERMARKS FIX (CRITICAL) ═══════════════ */
.circuit-side-right,
.circuit-side-left {
  position: absolute;
  top: 0;
  bottom: 0;
  height: 100%;
  width: 320px;
  max-height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 0.15;
  overflow: hidden;
}

.circuit-side-right {
  right: 0;
}

.circuit-side-left {
  left: 0;
  transform: scaleX(-1);
}

/* ═══════════════ NAVBAR & DROPDOWN ═══════════════ */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-light);
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.site-header.header-hidden {
  transform: translateY(-100%);
  opacity: 0;
}

@media (min-width: 992px) {
  main {
    padding-top: 1rem;
  }
}

[data-bs-theme="dark"] .site-header {
  background: rgba(10, 14, 26, 0.94);
}

.top-nav-bar {
  background: var(--royal-dark);
  font-size: 0.78rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.site-logo-img {
  height: 48px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.site-logo-img:hover {
  transform: scale(1.03);
}

.nav-link-main {
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 0.5rem 0.9rem;
  border-radius: 0.5rem;
  white-space: nowrap;
  transition: all 0.2s;
  display: inline-block;
}

.nav-link-main:hover,
.nav-link-main.active {
  color: var(--royal-blue);
  background: var(--bg-surface);
}

/* Dropdown Bridge */
.nav-item-dropdown {
  position: relative;
  display: inline-block;
}

.nav-item-dropdown::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  height: 18px;
  z-index: 1059;
}

.dropdown-menu-custom {
  position: absolute;
  top: 100%;
  right: 0;
  width: max-content;
  min-width: 0;
  padding-top: 6px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px) scale(0.98);
  transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s ease;
  pointer-events: none;
  z-index: 1060;
}

.nav-item-dropdown:hover .dropdown-menu-custom,
.dropdown-menu-custom:hover {
  opacity: 1;
  visibility: visible;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.dropdown-inner {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: 1rem;
  padding: 0.55rem;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
}

.dropdown-child-item {
  position: relative;
}

.dropdown-child-item::after {
  content: "";
  position: absolute;
  top: 0;
  left: -0.85rem;
  width: 0.85rem;
  height: 100%;
}

.dropdown-child-item > .dropdown-child-link {
  white-space: nowrap;
}

.dropdown-submenu {
  position: absolute;
  top: -0.65rem;
  right: calc(100% + 0.85rem);
  width: max-content;
  min-width: 12rem;
  padding: 0.65rem;
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: 1rem;
  box-shadow: 0 18px 42px rgba(15, 23, 42, 0.16);
  opacity: 0;
  visibility: hidden;
  transform: translateX(10px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  pointer-events: none;
  z-index: 1061;
}

.dropdown-child-item:hover > .dropdown-submenu,
.dropdown-child-item:focus-within > .dropdown-submenu,
.dropdown-child-item.is-current > .dropdown-submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
  pointer-events: auto;
}

.dropdown-submenu .dropdown-child-link {
  display: block;
  padding: 0.7rem 0.9rem;
  white-space: nowrap;
  color: var(--ink-main);
  font-size: 0.82rem;
  font-weight: 700;
}

.dropdown-submenu .dropdown-child-link:hover {
  background: var(--bg-surface);
}

.dropdown-child-link {
  display: block;
  padding: 0.7rem 1rem;
  border-radius: 0.5rem;
  transition: background 0.15s;
}

.dropdown-child-link:hover {
  background: var(--bg-surface);
}

.dropdown-child-title {
  display: block;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--ink-main);
}

.dropdown-child-blurb {
  display: block;
  font-size: 0.76rem;
  color: var(--text-muted);
  margin-top: 0.15rem;
}

/* Buttons */
.btn-red-pill,
.btn-spark {
  background: var(--red-spark);
  color: #fff !important;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.6rem 1.6rem;
  border: none;
  box-shadow: 0 6px 20px rgba(230, 57, 70, 0.35);
  transition: all 0.25s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-red-pill:hover,
.btn-spark:hover {
  background: var(--red-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 28px rgba(230, 57, 70, 0.45);
}

.btn-spark.btn-lg {
  padding: 0.8rem 2.2rem;
  font-size: 1rem;
}

.btn-red-pill-outline {
  background: transparent;
  color: #ee4255;
  border: 1.8px solid #ee4255;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 700;
  padding: 0.55rem 1.4rem;
  transition: all 0.25s;
  white-space: nowrap;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-red-pill-outline:hover {
  background: linear-gradient(135deg, #ee4255 0%, #da2d3d 100%);
  color: #fff !important;
  transform: translateY(-2px);
}

.btn-white-pill,
.btn-ghost {
  background: #fff;
  color: var(--ink-main) !important;
  font-size: 0.88rem;
  font-weight: 700;
  border-radius: 999px;
  padding: 0.6rem 1.6rem;
  border: 1px solid var(--border-card);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.06);
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
}

.btn-white-pill:hover,
.btn-ghost:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.theme-toggle-btn {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  border: 1.5px solid var(--border-card);
  background: var(--bg-surface);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.2s;
  flex-shrink: 0;
  margin-left: 10px;
}

.theme-toggle-btn:hover {
  border-color: var(--red-spark);
  background: var(--red-glow);
}

main {
  padding-top: 6.5rem;
  display: flex;
  flex-direction: column;
}

/* تأكيد أن hero هو أول قسم للعرض */
main>.hero {
  order: 0;
}

main>#products {
  order: 1;
}

main>#sectors-solar {
  order: 2;
}

main>#sectors {
  order: 3;
}

main>.journey {
  order: 4;
}

main>#engineering {
  order: 5;
}

main>#capabilities {
  order: 9;
}

main>#factory {
  order: 7;
}

main>#why {
  order: 6;
}

main>#resources {
  order: 8;
}

main>#support {
  order: 10;
}

main>#contact {
  order: 11;
}

/* ═══════════════ COLOR VARIABLES & BUTTON COMPONENTS ═══════════════ */
:root {
  --blue: #2c3890;
  --blue-bright: #3a4bcc;
  --red: #ec1c24;
  --navy: #10153e;
  --ink: #11162f;
  --muted: #697084;
  --soft: #f1f3f7;
  --line: #dce1ea;
  --white: #fff;
}

.button {
  border: 1px solid #0000;
  justify-content: center;
  align-items: center;
  gap: 26px;
  min-height: 58px;
  padding: 14px 24px;
  font-size: 15px;
  font-weight: 700;
  text-decoration: none;
  border-radius: 4px;
  display: inline-flex;
  transition: background .22s, border .22s, color .22s, transform .22s;
}

.button-red {
  background: var(--red);
  color: var(--white);
}

.button-red:hover {
  background: #c9121a;
  color: #fff;
  transform: translateY(-2px);
}

.button-glass {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  background: #ffffff14;
  border-color: #ffffff47;
}

.button-glass:hover {
  background: #ffffff26;
  border-color: #ffffffa6;
  color: #fff;
  transform: translateY(-2px);
}

/* ═══════════════ HERO SECTION (CLASSIC HERO HERO-VIDEO) ═══════════════ */
.hero {
  background: var(--navy);
  color: #fff;
  height: max(600px, 90vh);
  min-height: 600px;
  position: relative;
  overflow: hidden;
}

.hero-media,
.hero-media>video,
.hero-overlay {
  position: absolute;
  inset: 0;
}

.hero-media>video {
  object-fit: cover;
  object-position: center center;
  width: 100%;
  height: 100%;
  transform: scale(1.015);
}

.hero-overlay {
  background:
    linear-gradient(90deg, #070b274d 0%, #090e3275 36%, #090e32e8 74%, #070b27fa 100%),
    linear-gradient(#0000 56%, #05081ff0 100%),
    linear-gradient(#05081f66, #0000 24%);
}

.hero-overlay:after {
  content: "";
  background-image:
    linear-gradient(#ffffff07 1px, #0000 1px),
    linear-gradient(90deg, #ffffff07 1px, #0000 1px);
  background-size: 64px 64px;
  position: absolute;
  inset: 0;
  -webkit-mask-image: linear-gradient(90deg, #0000 18%, #000 82%);
  mask-image: linear-gradient(90deg, #0000 18%, #000 82%);
}

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

/* Energy Grid & Power Axis */
.hero-energy-grid {
  opacity: 0.66;
  transform-origin: bottom;
  width: 48%;
  height: 160px;
  position: absolute;
  bottom: 122px;
  left: 0;
  transform: perspective(400px) rotateX(60deg);
}

.hero-energy-grid:before,
.hero-energy-grid:after {
  content: "";
  position: absolute;
  inset: 0;
}

.hero-energy-grid:before {
  background:
    repeating-linear-gradient(90deg, #0000 0 66px, #ffffff21 67px 68px),
    repeating-linear-gradient(0deg, #0000 0 34px, #ffffff1c 35px 36px);
  -webkit-mask-image: linear-gradient(90deg, #000, #0000 92%);
  mask-image: linear-gradient(90deg, #000, #0000 92%);
}

.hero-energy-grid:after {
  background: linear-gradient(90deg, #0000, #ec1c24d1, #0000);
  height: 2px;
  animation: 4.2s linear infinite hero-grid-scan;
  top: 52%;
  box-shadow: 0 0 32px #ec1c247a;
}

.hero-energy-grid span {
  background: var(--red);
  border-radius: 50%;
  width: 5px;
  height: 5px;
  position: absolute;
  box-shadow: 0 0 24px #ec1c24eb;
}

.hero-energy-grid span:first-child {
  animation: 3.8s linear infinite energy-dot;
  bottom: 26%;
  left: 12%;
}

.hero-energy-grid span:nth-child(2) {
  animation: 4.6s linear .8s infinite energy-dot;
  bottom: 56%;
  left: 34%;
}

.hero-energy-grid span:nth-child(3) {
  animation: 3.2s linear 1.7s infinite energy-dot;
  bottom: 15%;
  left: 58%;
}

@keyframes hero-grid-scan {
  0% {
    transform: translate(-65%);
  }

  to {
    transform: translate(100%);
  }
}

@keyframes energy-dot {

  0%,
  to {
    opacity: 0.15;
    transform: scale(0.55);
  }

  45% {
    opacity: 1;
    transform: scale(1.4);
  }
}

.hero-power-axis {
  width: 1px;
  position: absolute;
  top: 96px;
  bottom: 104px;
  right: 42px;
}

.hero-power-axis:before {
  content: "";
  background: linear-gradient(#0000, #ffffff61, #0000);
  position: absolute;
  inset: 0;
}

.hero-power-axis i {
  background: var(--red);
  border: 4px solid #ec1c242e;
  border-radius: 50%;
  width: 8px;
  height: 8px;
  position: absolute;
  right: -3px;
  box-shadow: 0 0 20px #ec1c24cc;
}

.hero-power-axis i:first-child {
  animation: 5s linear infinite axis-flow;
}

.hero-power-axis i:nth-child(2) {
  animation: 5s linear 1.65s infinite axis-flow;
}

.hero-power-axis i:nth-child(3) {
  animation: 5s linear 3.3s infinite axis-flow;
}

@keyframes axis-flow {
  0% {
    opacity: 0;
    top: 0;
  }

  12%,
  88% {
    opacity: 1;
  }

  to {
    opacity: 0;
    top: 100%;
  }
}

/* Content Grid Layout */
.hero-content {
  z-index: 3;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: 76px;
  max-width: 1500px;
  height: 80%;
  margin-inline: auto;
  padding: 0 88px;
  display: grid;
  position: relative;
}

.hero-copy {
  align-self: center;
  max-width: 850px;
  padding-top: 40px;
  animation: .9s cubic-bezier(.22, 1, .36, 1) both reveal-copy;
}

@keyframes reveal-copy {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Eyebrow & Live Tag */
.eyebrow {
  color: var(--blue);
  letter-spacing: .04em;
  text-transform: uppercase;
  align-items: center;
  gap: 12px;
  margin: 0 0 24px;
  font-size: 13px;
  font-weight: 700;
  display: flex;
}

.eyebrow span {
  background: var(--red);
  width: 36px;
  height: 2px;
  display: inline-block;
}

.eyebrow-light {
  color: #ffffffb8;
}

.hero-live-tag {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  background: #ffffff13;
  border: 1px solid #ffffff24;
  border-radius: 999px;
  align-items: center;
  gap: 10px;
  min-height: 34px;
  margin-bottom: 24px;
  padding: 7px 14px;
  font-size: 11px;
  display: inline-flex;
}

.hero-live-tag i {
  background: var(--red);
  border-radius: 50%;
  width: 7px;
  height: 7px;
  animation: 1.5s ease-in-out infinite live-pulse;
  box-shadow: 0 0 16px #ec1c24e6;
}

.hero-live-tag span {
  color: #ffffffe0;
}

.hero-live-tag b {
  color: #ffffff6b;
  letter-spacing: .14em;
  border-right: 1px solid #fff3;
  padding-right: 10px;
  font-size: 9px;
}

@keyframes live-pulse {

  0%,
  to {
    opacity: .45;
    transform: scale(.7);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.hero h1 {
  letter-spacing: -.055em;
  text-wrap: balance;
  max-width: 900px;
  margin: 0;
  font-size: clamp(48px, 4.8vw, 84px);
  font-weight: 800;
  line-height: 1.03;
}

.hero h1>span {
  color: #0000;
  -webkit-text-stroke: 1.2px #ffffffbd;
  margin-top: 8px;
  font-weight: 500;
  display: block;
}

.hero-body {
  border-right: 2px solid var(--red);
  color: #ffffffc7;
  max-width: 720px;
  margin: 30px 0 34px;
  padding-right: 20px;
  font-size: 18px;
  line-height: 1.88;
}

.hero-actions {
  align-items: center;
  gap: 14px;
  display: flex;
}

/* Proof items */
.hero-proof {
  border-top: 1px solid #ffffff26;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0;
  max-width: 760px;
  margin-top: 25px;
  padding-top: 15px;
  display: grid;
}

.hero-proof>div {
  border-left: 1px solid #ffffff21;
  grid-template-columns: 34px 1fr;
  align-items: center;
  gap: 3px;
  padding: 0 18px;
  display: grid;
}

.hero-proof>div:first-child {
  padding-right: 0;
}

.hero-proof>div:last-child {
  border-left: 0;
}

.hero-proof strong {
  color: var(--red);
  letter-spacing: .08em;
  font-size: 11px;
}

.hero-proof span {
  color: #ffffffa8;
  font-size: 12px;
  font-weight: 600;
}

/* Hero Industrial Reel Card */
.hero-reel {
  -webkit-backdrop-filter: blur(18px);
  backdrop-filter: blur(18px);
  background: linear-gradient(145deg, #ffffff1f, #ffffff09), #080c2a57;
  border: 1px solid #ffffff30;
  border-radius: 8px;
  align-self: center;
  min-height: 400px;
  padding: 22px 22px 26px;
  position: relative;
  overflow: hidden;
  box-shadow: 0 30px 80px #0000002e;
}

.hero-reel:before {
  background: var(--red);
  content: "";
  width: 38%;
  height: 3px;
  position: absolute;
  top: 0;
  left: 0;
}

.hero-reel:after {
  content: "";
  pointer-events: none;
  border: 1px solid #ffffff14;
  border-radius: 6px;
  position: absolute;
  inset: 10px;
}

.hero-reel-head {
  color: #ffffff75;
  letter-spacing: .12em;
  z-index: 1;
  justify-content: space-between;
  align-items: center;
  font-size: 8px;
  display: flex;
  position: relative;
}

.hero-reel-head b {
  color: #ffffffbf;
  font-size: 9px;
}

.hero-reel-mark {
  z-index: 1;
  border-bottom: 1px solid #ffffff1f;
  margin-top: 10px;
  padding-bottom: 10px;
  display: grid;
  position: relative;
}

.hero-reel-mark small {
  color: #ffffff8c;
  font-size: 11px;
}

.hero-reel-mark strong {
  color: #fff;
  letter-spacing: -.05em;
  margin: 8px 0 13px;
  font-size: 60px;
  font-weight: 300;
  line-height: .95;
}

.hero-reel-mark span {
  color: #ffffff57;
  letter-spacing: .18em;
  font-size: 8px;
  line-height: 1.6;
}

.hero-reel ol {
  z-index: 1;
  gap: 13px;
  margin: 15px 0;
  padding: 0;
  list-style: none;
  display: grid;
  position: relative;
}

.hero-reel li {
  color: #ffffff91;
  grid-template-columns: 22px 1fr;
  align-items: center;
  gap: 12px;
  font-size: 11px;
  display: grid;
}

.hero-reel li:after {
  content: "";
  background: #ffffff1a;
  height: 1px;
}

.hero-reel li i {
  color: var(--red);
  font-size: 9px;
  font-style: normal;
}

.hero-reel-progress {
  z-index: 2;
  background: #ffffff21;
  height: 2px;
  position: absolute;
  bottom: 24px;
  left: 22px;
  right: 22px;
  overflow: hidden;
}

.hero-reel-progress i {
  background: linear-gradient(90deg, var(--red), #ff8589);
  height: 100%;
  animation: 49s linear infinite reel-progress;
  display: block;
  box-shadow: 0 0 12px #ec1c24b3;
}

@keyframes reel-progress {
  0% {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* Video Controls (Play/Pause & Mute) */
.hero-video-controls {
  z-index: 5;
  align-items: center;
  gap: 8px;
  display: flex;
  position: absolute;
  bottom: 25px;
  left: 120px;
}

.hero-video-controls button {
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  color: #ffffffc2;
  cursor: pointer;
  background: #080c2a94;
  border: 1px solid #ffffff2e;
  border-radius: 4px;
  align-items: center;
  gap: 9px;
  min-height: 38px;
  padding: 9px 12px;
  font-size: 10px;
  transition: background .18s, border-color .18s, color .18s;
  display: flex;
}

.hero-video-controls button:hover {
  color: #fff;
  background: #ec1c24b8;
  border-color: #ffffff8f;
}

.hero-video-controls i {
  width: 13px;
  height: 13px;
  display: inline-block;
  position: relative;
}

.icon-pause:before,
.icon-pause:after {
  content: "";
  background: currentColor;
  width: 3px;
  height: 12px;
  position: absolute;
  top: 0;
}

.icon-pause:before {
  right: 2px;
}

.icon-pause:after {
  left: 2px;
}

.icon-play {
  border-top: 6px solid #0000;
  border-bottom: 6px solid #0000;
  border-right: 10px solid;
  width: 0 !important;
  height: 0 !important;
}

.icon-muted:before,
.icon-sound:before {
  content: "";
  border-top: 5px solid #0000;
  border-bottom: 5px solid #0000;
  border-left: 7px solid;
  position: absolute;
  top: 1px;
  right: 1px;
}

.icon-muted:after {
  content: "";
  background: currentColor;
  width: 1px;
  height: 15px;
  position: absolute;
  top: -1px;
  left: 5px;
  transform: rotate(45deg);
}

.icon-sound:after {
  content: "";
  border-left: 1px solid;
  border-radius: 50%;
  width: 7px;
  height: 11px;
  position: absolute;
  top: 1px;
  left: 0;
}

/* Scroll indicator */
.hero-scroll {
  color: #ffffff94;
  letter-spacing: .08em;
  z-index: 5;
  align-items: center;
  gap: 10px;
  font-size: 9px;
  text-decoration: none;
  display: flex;
  position: absolute;
  bottom: 38px;
  left: 46px;
}

.hero-scroll i {
  border: 1px solid #ffffff52;
  border-radius: 12px;
  width: 16px;
  height: 27px;
  position: relative;
}

.hero-scroll i:after {
  background: var(--red);
  content: "";
  border-radius: 50%;
  width: 3px;
  height: 3px;
  animation: 1.7s ease-in-out infinite scroll-dot;
  position: absolute;
  top: 5px;
  left: 5px;
}

@keyframes scroll-dot {
  0% {
    opacity: 0;
    transform: translateY(0);
  }

  35% {
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: translateY(10px);
  }
}

/* Bottom BOQ Ribbon (Slanted edge) */
.boq-ribbon {
  background: var(--white);
  color: var(--ink);
  z-index: 4;
  align-items: center;
  width: min(850px, 72vw);
  min-height: 70px;
  padding: 12px 56px;
  text-decoration: none;
  transition: background .24s;
  display: flex;
  position: absolute;
  bottom: 0;
  right: 0;
  overflow: hidden;
  clip-path: polygon(5% 0, calc(100% - 0px) 0, 100% 100%, 0 100%);
}

.boq-ribbon:before {
  border-bottom: 104px solid var(--white);
  content: "";
  border-right: 42px solid #0000;
  width: 0;
  height: 0;
  transition: border-color .24s;
  position: absolute;
  top: 0;
  right: -42px;
}

.boq-ribbon:hover {
  background: #f4f6fb;
}

.boq-ribbon:hover:before {
  border-bottom-color: #f4f6fb;
}

.boq-ribbon-slider {
  width: 100%;
  overflow: hidden;
  position: relative;
}

.boq-ribbon-track {
  align-items: center;
  gap: 16px;
  width: max-content;
  display: flex;
  animation: boq-marquee 26s linear infinite;
}

.boq-ribbon-track img {
  background: #fff;
  border-radius: 8px;
  box-shadow: 0 8px 18px rgba(9, 19, 52, 0.08);
  width: 122px;
  height: 78px;
  object-fit: contain;
  flex: 0 0 auto;
}

@keyframes boq-marquee {
  from {
    transform: translateX(0);
  }

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

/* Hero Responsive Media Queries */
@media (max-width: 1100px) {
  .hero-content {
    grid-template-columns: 1fr;
    padding: 100px 48px 180px;
  }

  .hero-reel {
    display: none;
  }
}

@media (max-width: 768px) {
  .hero {
    min-height: 900px;
  }

  .hero-content {
    padding: 100px 20px 222px;
  }

  .hero-copy {
    padding-top: 10px;
  }

  .hero h1 {
    font-size: clamp(38px, 10vw, 54px);
    line-height: 1.08;
  }

  .hero-body {
    margin: 22px 0 28px;
    font-size: 15px;
    line-height: 1.75;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .hero-actions .button {
    width: 100%;
  }

  .hero-proof {
    margin-top: 28px;
    padding-top: 16px;
  }

  .hero-proof>div {
    grid-template-columns: 1fr;
    gap: 6px;
    padding-inline: 10px;
  }

  .hero-proof span {
    font-size: 10px;
    line-height: 1.5;
  }

  .hero-video-controls {
    bottom: 24px;
    left: 20px;
  }

  .hero-video-controls button {
    min-height: 36px;
    padding: 8px 10px;
  }

  .hero-video-controls button span {
    display: none;
  }

  .hero-scroll {
    display: none;
  }

  .boq-ribbon {
    grid-template-columns: 1fr;
    gap: 12px;
    width: 94%;
    min-height: 94px;
    padding: 14px 20px;
  }

  .boq-ribbon:before,
  .ribbon-icon,
  .boq-ribbon small {
    display: none;
  }

  .boq-ribbon strong {
    font-size: 12px;
  }
}


/* Keep backward compat alias */
.exact-hero-section {
  background: linear-gradient(135deg, #1b38b3 0%, #1532a0 45%, #0d2175 100%);
  position: relative;
  overflow: hidden;
  padding: 6.5rem 0 5rem;
  color: #fff;
}


.hero-top-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 999px;
  padding: 0.4rem 1.1rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  letter-spacing: 0.15em;
  color: rgba(255, 255, 255, 0.9);
  text-transform: uppercase;
}

.exact-hero-title {
  font-size: clamp(2.5rem, 6vw, 4.2rem);
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: 1.08;
  color: #ffffff;
}

.exact-hero-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 580px;
  line-height: 1.8;
}

.btn-hero-red {
  background: var(--red-spark);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.95rem;
  padding: 0.8rem 2.2rem;
  border: none;
  box-shadow: 0 8px 25px rgba(230, 57, 70, 0.4);
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-hero-red:hover {
  background: var(--red-dark);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(230, 57, 70, 0.55);
}

.btn-hero-blue-ghost {
  background: rgba(255, 255, 255, 0.1);
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  color: #fff !important;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.95rem;
  padding: 0.8rem 2rem;
  backdrop-filter: blur(8px);
  transition: all 0.25s;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
}

.btn-hero-blue-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.45);
}

.exact-hero-stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  max-width: 650px;
  margin-top: 3.5rem;
}

.exact-stat-box {
  background: rgba(255, 255, 255, 0.09);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius-md);
  padding: 1.1rem 0.8rem;
  backdrop-filter: blur(14px);
  transition: transform 0.25s;
}

.exact-stat-box:hover {
  transform: translateY(-3px);
  background: rgba(255, 255, 255, 0.14);
}

.exact-stat-val {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.1;
}

.exact-stat-lbl {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.3rem;
  white-space: nowrap;
}

/* ═══════════════ FRONT PAGE SECTIONS & WATERMARKS ═══════════════ */
.sec,
.exact-section-light,
.section-light,
.why,
.resources,
.journey {
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-surface-2) 100%);
  padding: 5rem 0;
  position: relative;
}

.section-white,
.exact-section-white {
  background: var(--bg-white);
  padding: 5rem 0;
  position: relative;
}

.factory-about {
  overflow: hidden;
  position: relative;
}

.factory-about-card {
  background: #ffffff;
  border: 1px solid rgba(27, 56, 179, 0.08);
  border-radius: 2rem;
  box-shadow: 0 22px 48px rgba(27, 56, 179, 0.08);
  padding: 2rem;
}

.factory-about-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: 2rem;
  align-items: start;
}

.factory-about-copy {
  padding: 0;
}

.factory-about-summary {
  display: flex;
  justify-content: flex-end;
}

.factory-about-summary-panel {
  background: #f7f9ff;
  border-radius: 1.75rem;
  padding: 2rem;
  width: 100%;
  min-height: 100%;
  display: grid;
  gap: 0;
}

.factory-about-meta-row {
  display: flex;
  align-items: baseline;
  gap: 0.8rem;
  margin-top: 0.5rem;
}

.factory-about-year {
  font-size: clamp(4rem, 8vw, 5rem);
  line-height: 0.95;
  font-weight: 900;
  color: var(--royal-blue);
  margin: 0;
}

.factory-about-top {
  margin-top: 1.5rem;
}

.factory-about-body {
  color: #5b6b8c;
  line-height: 1.8;
  margin: 0 0 1rem;
}

.factory-about-list {
  list-style: none;
  padding: 0;
  margin: 1.6rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.factory-about-link {
  margin-top: 1.6rem;
}

@media (max-width: 991px) {
  .factory-about-grid {
    grid-template-columns: 1fr;
  }

  .factory-about-summary {
    justify-content: stretch;
  }

  .factory-about-summary-panel {
    padding: 1.6rem;
  }
}

.factory-about-top {
  display: grid;
  gap: 0.75rem;
}

.factory-about-headline {
  display: flex;
  align-items: flex-end;
  gap: 0.75rem;
}

.factory-about-year-wrap {
  display: none;
}

.factory-about-since {
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
}

.factory-about-year {
  font-size: clamp(4rem, 8vw, 5.5rem);
  line-height: 0.95;
  font-weight: 900;
  color: var(--royal-blue);
  margin: 0;
}

.factory-about-year-label {
  color: var(--text-muted);
  font-size: 0.95rem;
  font-weight: 700;
  line-height: 1.6;
}

.factory-about-body {
  margin-top: 0;
}

.factory-about-body p {
  margin: 0;
  color: #5b6b8c;
  line-height: 1.8;
}

.factory-about-list {
  list-style: none;
  padding: 0;
  margin: 1.8rem 0 0;
  display: grid;
  gap: 0.85rem;
}

.factory-about-list li {
  position: relative;
  color: var(--ink-main);
  font-weight: 700;
  font-size: 1rem;
  padding-right: 1.6rem;
}

.factory-about-list li::before {
  content: "";
  position: absolute;
  right: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: var(--red-spark);
  box-shadow: 0 0 0 6px rgba(230, 57, 70, 0.09);
}

.factory-about-link {
  margin-top: 1.8rem;
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  border: 1px solid rgba(27, 56, 179, 0.15);
  background: rgba(255, 255, 255, 0.95);
  color: var(--royal-blue);
}

.factory-about-link:hover {
  background: #f5f7ff;
  transform: translateX(-2px);
}

.factory-about-hero {
  position: relative;
  min-height: 220px;
  padding: 0;
  border-radius: 1.5rem;
  background: transparent;
  border: none;
  box-shadow: none;
  display: flex;
  align-items: center;
  justify-content: center;
}

.factory-about-hero-panel {
  width: 100%;
}

.factory-about-title {
  font-size: clamp(2rem, 4vw, 2rem);
  line-height: 1.02;
  font-weight: 900;
  color: #0b132b;
  margin: 0;
  text-align: right;
}

@media (max-width: 991px) {
  .factory-about-grid {
    grid-template-columns: 1fr;
  }

  .factory-about-hero {
    order: -1;
  }

  .factory-about-copy {
    padding: 2rem;
  }
}

@media (max-width: 575px) {
  .factory-about-copy {
    padding: 2rem;
  }

  .factory-about-title {
    font-size: clamp(2.2rem, 7vw, 3rem);
  }
}

.section-dark {
  background: #0a0e1a;
  color: #fff;
  padding: 5.5rem 0;
  position: relative;
}

.why {
  background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-page) 100%);
}

.resources {
  background: linear-gradient(180deg, #06153a 0%, #283891 100%);
  color: var(--ink-main);
}

.journey {
  background: linear-gradient(180deg, var(--bg-page) 0%, var(--bg-white) 100%);
}

.watermark-cables-bg {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0.75;
  z-index: 0;
}

.watermark-cad-bg-right {
  position: absolute;
  top: 0;
  right: 0;
  pointer-events: none;
  opacity: 0.65;
  z-index: 0;
}

.watermark-cad-bg-left {
  position: absolute;
  top: 0;
  left: 0;
  pointer-events: none;
  opacity: 0.65;
  z-index: 0;
}

.exact-sec-tag,
.s-label {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--red-spark);
  margin-bottom: 0.75rem;
}

.s-label.light {
  color: rgba(255, 255, 255, 0.85);
}

.s-label::before {
  content: "";
  width: 1.4rem;
  height: 2px;
  background: var(--red-spark);
  border-radius: 2px;
}

.exact-sec-title,
.s-h2,
.why-title h2,
.resources-head h2,
.journey .section-heading h2 {
  font-size: clamp(1.8rem, 3.2vw, 2.7rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.2;
}

.why-summary,
.resources-head p,
.resource-main .meta p,
.process-desc,
.support-card-body {
  font-size: 0.95rem;
  line-height: 1.8;
}

/* ═══════════════ BENTO GRID SYSTEM & PRODUCT CARDS ═══════════════ */
.bento {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 1.25rem;
  position: relative;
  z-index: 1;
}

.bento-card,
.exact-prod-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-lg);
  padding: 2.2rem 1.8rem;
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  min-height: 270px;
  transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
}

.bento-card.span-4 {
  grid-column: span 4;
}

.bento-card.span-6 {
  grid-column: span 6;
}

.bento-card.span-3 {
  grid-column: span 3;
}

.bento-card.span-12 {
  grid-column: span 12;
}

.bento-card.dark,
.prod-card-dark-blue {
  background: linear-gradient(135deg, #1b38b3 0%, #122880 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 16px 45px rgba(27, 56, 179, 0.3);
}

.bento-card.dark .bc-title,
.prod-card-dark-blue .prod-card-title {
  color: #ffffff;
}

.prod-card-dark-blue .prod-card-top-icon,
.prod-card-red .prod-card-top-icon {
  color: #ffffff;
}

.bento-card.dark .bc-desc,
.prod-card-dark-blue .prod-card-body {
  color: #ffffff;
}

.bento-card.dark .bc-link,
.prod-card-dark-blue .prod-card-bottom-lbl {
  color: #ffffff;
}

.bento-card.dark .bc-num,
.prod-card-dark-blue .prod-card-bg-num {
  color: rgba(255, 255, 255, 0.06);
}

.prod-card-glass {
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid var(--border-card);
  color: var(--ink-main);
}

.prod-card-glass:hover,
.bento-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgb(27 56 179 / 24%), 0 0 0 1px rgba(230, 57, 70, 0.25);
  border-color: transparent;
}

.bento-card.accent,
.prod-card-red {
  background: linear-gradient(135deg, #e63946 0%, #c92a37 100%);
  color: #ffffff;
  border-color: transparent;
  box-shadow: 0 16px 45px rgba(230, 57, 70, 0.32);
}

.bento-card.accent .bc-title,
.prod-card-red .prod-card-title {
  color: #ffffff;
}

.bento-card.accent .bc-desc,
.prod-card-red .prod-card-body {
  color: #ffffff;
}

.bento-card.accent .bc-link,
.prod-card-red .prod-card-bottom-lbl {
  color: #ffffff;
}

.bento-card.accent .bc-num,
.prod-card-red .prod-card-bg-num {
  color: rgba(255, 255, 255, 0.08);
}

.bc-icon,
.prod-card-top-icon {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.8rem;
  background: rgba(27, 56, 179, 0.1);
  color: var(--royal-blue);
  display: grid;
  place-items: center;
  margin-bottom: 1.2rem;
  font-family: var(--font-mono);
  font-size: 0.75rem;
  font-weight: 700;
  transition: all 0.3s;
}

.bento-card:hover .bc-icon {
  background: rgba(230, 57, 70, 0.12);
  color: var(--red-spark);
  transform: scale(1.05);
}

.bc-spec {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--red-spark);
  display: block;
  margin-bottom: 0.5rem;
}

.bc-title,
.prod-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  letter-spacing: -0.02em;
  color: var(--ink-main);
}

.bc-desc,
.prod-card-body {
  font-size: 0.88rem;
  line-height: 1.68;
  flex: 1;
  margin-bottom: 1.5rem;
  color: var(--text-muted);
}

.bc-link,
.prod-card-bottom-lbl {
  font-size: 0.82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--red-spark);
  transition: gap 0.2s;
}

.bento-card:hover .bc-link,
.exact-prod-card:hover .prod-card-bottom-lbl {
  gap: 0.65rem;
}

.bc-num,
.prod-card-bg-num {
  position: absolute;
  bottom: -1rem;
  left: 1rem;
  font-family: var(--font-mono);
  font-size: 6.5rem;
  font-weight: 900;
  line-height: 1;
  pointer-events: none;
  letter-spacing: -0.04em;
  color: rgba(27, 56, 179, 0.05);
}

/* Feature Pills & Image Badges */
.exact-feature-pill {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: 999px;
  padding: 0 1.2rem;
  font-size: 0.86rem;
  font-weight: 600;
  color: var(--ink-main);
  display: flex;
  align-items: center;
  gap: 0.6rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.25s;
}

.exact-feature-pill:hover {
  transform: translateY(-2px);
  border-color: rgba(230, 57, 70, 0.3);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}

.pill-dot.red {
  width: 0.45rem;
  height: 0.45rem;
  border-radius: 50%;
  background: var(--red-spark);
  flex-shrink: 0;
}

.exact-img-card-wrap {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 50px rgba(0, 0, 0, 0.1);
}

.exact-rounded-img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.exact-img-card-wrap:hover .exact-rounded-img {
  transform: scale(1.04);
}

.exact-floating-glass-badge {
  position: absolute;
  bottom: 1.5rem;
  right: 1.5rem;
  background: rgba(10, 20, 50, 0.72);
  backdrop-filter: blur(16px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: 1rem 1.5rem;
  color: #fff;
}

.exact-floating-glass-badge .badge-val {
  font-family: var(--font-mono);
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--red-spark);
  line-height: 1;
}

.exact-floating-glass-badge .badge-lbl {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.6);
  margin-top: 0.25rem;
}

.exact-factory-stat-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.3rem 1rem;
  text-align: center;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.25s;
}

.exact-factory-stat-card:hover {
  transform: translateY(-3px);
  border-color: rgba(27, 56, 179, 0.3);
}

.exact-factory-stat-card .stat-icon-title {
  font-family: var(--font-mono);
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--royal-blue);
  line-height: 1.1;
}

.exact-factory-stat-card .stat-sub-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  margin-top: 0.35rem;
}

.btn-link-red-arrow {
  color: var(--red-spark);
  font-weight: 700;
  font-size: 0.9rem;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  transition: gap 0.2s;
}

.btn-link-red-arrow:hover {
  color: var(--red-dark);
  gap: 0.65rem;
}

/* Process & Sector & Support Cards */
.btn-slider-arrow {
  width: 2.6rem;
  height: 2.6rem;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: var(--bg-white);
  color: var(--ink-main);
  display: grid;
  place-items: center;
  cursor: pointer;
  transition: all 0.25s;
}

.btn-slider-arrow.active,
.btn-slider-arrow:hover {
  background: var(--red-spark);
  color: #fff;
  border-color: var(--red-spark);
}

.exact-process-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: 1.25rem;
  padding: 2.2rem 1.6rem;
  transition: all 0.3s;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  height: 100%;
}

.exact-process-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.08);
  border-color: rgba(230, 57, 70, 0.25);
}

.process-icon-circle {
  width: 3.4rem;
  height: 3.4rem;
  border-radius: 50%;
  background: rgba(230, 57, 70, 0.1);
  color: var(--red-spark);
  display: grid;
  place-items: center;
  margin-bottom: 1.5rem;
}

.process-title {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 0.55rem;
  color: var(--ink-main);
}

.process-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.exact-sector-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: 1.25rem;
  padding: 2.4rem 1.6rem;
  position: relative;
  overflow: hidden;
  min-height: 210px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s;
}

.exact-sector-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(27, 56, 179, 0.12);
  border-color: rgba(230, 57, 70, 0.25);
}

.sector-big-num {
  font-family: var(--font-mono);
  font-size: 5rem;
  font-weight: 900;
  color: rgba(230, 57, 70, 0.12);
  position: absolute;
  top: 0.5rem;
  right: 1rem;
  line-height: 1;
}

.sector-badge {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: var(--red-spark);
  font-weight: 700;
  margin-bottom: 0.6rem;
}

.sector-title {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--ink-main);
  line-height: 1.35;
  margin: 0;
}

.exact-support-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: 1.25rem;
  padding: 2.2rem 1.8rem;
  display: block;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.03);
  transition: all 0.3s;
}

.exact-support-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 16px 40px rgba(27, 56, 179, 0.12);
  border-color: rgba(230, 57, 70, 0.25);
}

.support-card-icon.red {
  width: 3.2rem;
  height: 3.2rem;
  border-radius: 0.8rem;
  background: rgba(230, 57, 70, 0.1);
  color: var(--red-spark);
  display: grid;
  place-items: center;
  margin-bottom: 1.4rem;
}

.support-card-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--ink-main);
  margin-bottom: 0.6rem;
}

.support-card-body {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.7;
  margin: 0;
}

.cta-band,
.exact-cta-section {
  background: linear-gradient(180deg, #06153a 0%, #283891 100%);
  position: relative;
  overflow: hidden;
  padding: 5.5rem 0;
  color: #fff;
  text-align: center;
}

.cta-band h2,
.exact-cta-title {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: #fff;
  margin-bottom: 1rem;
}

.cta-band p {
  color: rgba(255, 255, 255, 0.72);
  max-width: 600px;
  margin: 0 auto 2rem;
  font-size: 1.05rem;
}

.exact-cta-code-text {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  letter-spacing: 0.25em;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
}

/* ═══════════════ FULL INNER PAGE SYSTEM ═══════════════ */

/* Page Hero for Inner Pages */
.page-hero {
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, #1b38b3 0%, #122880 100%);
  color: #ffffff;
  margin-top: 100px;
  padding: 6rem 0 4rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.page-hero h1 {
  font-size: clamp(2.2rem, 5.5vw, 3.6rem);
  font-weight: 900;
  letter-spacing: -0.035em;
  color: #ffffff;
  margin-bottom: 1rem;
  text-align: right;

}

.page-hero p {
  font-size: 1.1rem;
  color: rgba(255, 255, 255, 0.72);
  max-width: 700px;
  /* margin: 0 auto; */
  line-height: 1.8;
  text-align: right;

}

.page-hero .lead-text {
  font-size: 1.05rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
  margin-bottom: 1.5rem;
}

.page-hero .section-tag,
.page-hero .eyebrow {
  display: inline-block;
  font-family: var(--font-mono);
  font-size: 0.65rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 700;
  margin-top: 0.8rem;
}

.hero-circuit {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 1;
}

.trace {
  stroke-dasharray: 1400;
  stroke-dashoffset: 0;
}

.surge {
  stroke-dasharray: 60 1400;
  animation: surge 4.5s linear infinite;
}

@keyframes surge {
  0% {
    stroke-dashoffset: 1400;
    opacity: 0;
  }

  12% {
    opacity: 1;
  }

  88% {
    opacity: 1;
  }

  100% {
    stroke-dashoffset: -400;
    opacity: 0;
  }
}

.node-pulse {
  animation: np 2.6s ease-in-out infinite;
}

@keyframes np {

  0%,
  100% {
    r: 3.5;
    opacity: 0.5;
  }

  50% {
    r: 6;
    opacity: 1;
  }
}

/* Inner Page Subsections */
.subsection {
  border-bottom: 1px solid var(--border-light);
  padding: 4.5rem 0;
  scroll-margin-top: 6rem;
  position: relative;
}

.subsection:last-child {
  border-bottom: none;
}

.subsection-label {
  position: sticky;
  top: 6.5rem;
  align-self: start;
}

.subsection-index {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--red-spark);
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.subsection-title {
  font-size: 1.85rem;
  font-weight: 800;
  letter-spacing: -0.025em;
  color: var(--ink-main);
}

.subsection-bar {
  display: block;
  height: 3px;
  width: 3.5rem;
  background: var(--red-spark);
  border-radius: 2px;
  margin-top: 1rem;
}

.subsection-body {
  font-size: 0.98rem;
  line-height: 1.85;
  color: var(--text-muted);
}

.subsection-body p {
  margin-bottom: 0;
}

.subsection-body p+p {
  margin-top: 1rem;
}

/* Spec Grid for Technical Specs */
.spec-grid {
  display: grid;
  gap: 12px;
  grid-template-columns: repeat(2, 1fr);
  margin-top: 1.8rem;
}

.spec-cell {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-sm);
  padding: 1.25rem 1.4rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
  position: relative;
  overflow: hidden;
}

.spec-cell::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 3px;
  bottom: 0;
  background: var(--royal-blue);
  opacity: 0;
  transition: opacity 0.25s;
}

.spec-cell:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(27, 56, 179, 0.08);
  border-color: rgba(27, 56, 179, 0.25);
}

.spec-cell:hover::before {
  opacity: 1;
}

.spec-cell dt {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-spark);
  font-weight: 700;
}

.spec-cell dd {
  margin: 0.4rem 0 0;
  font-size: 0.95rem;
  color: var(--ink-main);
  font-weight: 700;
}

/* Bullet Grid for Features List */
.bullet-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 0.9rem;
  margin-top: 1.8rem;
  list-style: none;
  padding: 0;
}

.bullet-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.1rem 1.3rem;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--ink-main);
  display: flex;
  align-items: center;
  gap: 0.85rem;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.02);
  transition: all 0.25s ease;
}

.bullet-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 28px rgba(27, 56, 179, 0.08);
  border-color: rgba(230, 57, 70, 0.25);
}

.bullet-dot {
  width: 0.5rem;
  height: 0.5rem;
  border-radius: 50%;
  background: var(--red-spark);
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(230, 57, 70, 0.4);
}

/* Panel & Generic Cards for Inner Pages */
.panel {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  transition: all 0.3s ease;
}

.panel.lift:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(27, 56, 179, 0.1);
  border-color: rgba(230, 57, 70, 0.25);
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--red-spark);
  display: block;
}

/* Contact Cards */
.contact-card {
  background: var(--bg-white);
  border: 1px solid var(--border-card);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.03);
  transition: all 0.3s ease;
}

.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 48px rgba(27, 56, 179, 0.12);
  border-color: rgba(230, 57, 70, 0.25);
}

.contact-card-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 0.7rem;
  background: rgba(230, 57, 70, 0.1);
  color: var(--red-spark);
  display: grid;
  place-items: center;
  margin-bottom: 1.25rem;
}

.contact-card-label {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  font-weight: 700;
}

.contact-card-value {
  font-size: 1rem;
  font-weight: 700;
  margin-top: 0.4rem;
  display: block;
  color: var(--ink-main);
}

.contact-card-note {
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
  display: block;
}

/* FAQ Accordion Styling */
.faq-list,
.accordion-custom {
  border-top: 1px solid var(--border-card);
  border-bottom: 1px solid var(--border-card);
  margin-top: 2rem;
}

.faq-item,
.accordion-custom .accordion-item {
  border-bottom: 1px solid var(--border-card);
  background: none;
  border-radius: 0 !important;
}

.faq-item:last-child,
.accordion-custom .accordion-item:last-child {
  border-bottom: none;
}

.faq-question,
.accordion-custom .accordion-button {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  padding: 1.35rem 0;
  width: 100%;
  background: none !important;
  border: none;
  text-align: right;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: var(--ink-main);
  font-family: var(--font-sans);
  transition: color 0.2s;
  box-shadow: none !important;
}

.faq-question:hover,
.accordion-custom .accordion-button:hover {
  color: var(--red-spark);
}

.faq-toggle {
  width: 2.2rem;
  height: 2.2rem;
  border-radius: 50%;
  background: var(--bg-surface);
  display: grid;
  place-items: center;
  font-family: var(--font-mono);
  font-size: 1.2rem;
  color: var(--red-spark);
  flex-shrink: 0;
  transition: all 0.3s;
  line-height: 1;
}

.faq-toggle.open {
  transform: rotate(45deg);
  background: var(--red-spark);
  color: #fff;
}

.faq-answer {
  display: grid;
  grid-template-rows: 0fr;
  transition: grid-template-rows 0.35s, opacity 0.35s;
  opacity: 0;
}

.faq-answer.open {
  grid-template-rows: 1fr;
  opacity: 1;
}

.faq-answer-inner {
  overflow: hidden;
}

.faq-answer.open .faq-answer-inner {
  padding-bottom: 1.35rem;
}

.faq-answer p {
  font-size: 0.92rem;
  line-height: 1.85;
  color: var(--text-muted);
  margin: 0;
}

/* Form Field Styling */
.field-label,
.form-label {
  font-family: var(--font-mono);
  font-size: 0.64rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--text-muted);
  display: block;
  margin-bottom: 0.55rem;
  font-weight: 700;
}

.field-input,
.form-control-custom,
.form-select-custom {
  width: 100%;
  border-radius: var(--radius-sm);
  border: 1.5px solid var(--border-strong);
  background: var(--bg-white);
  padding: 0.8rem 1.1rem;
  font-size: 0.92rem;
  color: var(--ink-main);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s, background 0.2s;
  font-family: var(--font-sans);
}

.field-input:focus,
.form-control-custom:focus,
.form-select-custom:focus {
  border-color: var(--red-spark);
  box-shadow: 0 0 0 4px rgba(230, 57, 70, 0.12);
  background: var(--bg-white);
}

/* ═══════════════ FOOTER ═══════════════ */
.exact-footer,
footer {
  background: var(--bg-white);
  border-top: 1px solid var(--border-light);
  padding: 5rem 0 2.5rem;
}

.footer-logo-img {
  height: 52px;
  width: auto;
  object-fit: contain;
}

.footer-category-title {
  font-family: var(--font-mono);
  font-size: 0.62rem;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--red-spark);
  margin-bottom: 1.2rem;
  display: block;
  font-weight: 700;
}

.exact-footer a,
footer a {
  color: var(--text-muted);
  transition: color 0.2s;
}

.exact-footer a:hover,
footer a:hover {
  color: var(--royal-blue);
}

/* ═══════════════ COMPLETE PROFESSIONAL MOBILE & RESPONSIVE SYSTEM ═══════════════ */

/* Mobile Navigation Drawer System */
.site-mobile-drawer {
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  border-bottom: 2px solid var(--red-spark);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

[data-bs-theme="dark"] .site-mobile-drawer {
  background: rgba(10, 14, 26, 0.97);
  border-bottom-color: var(--red-spark);
}

.mobile-nav-link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.1rem;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  color: var(--ink-main);
  font-size: 0.96rem;
  font-weight: 700;
  border: 1px solid var(--border-light);
  transition: all 0.22s ease;
  min-height: 50px;
}

.mobile-nav-link:hover,
.mobile-nav-link:active,
.mobile-nav-link.active {
  background: var(--bg-white);
  border-color: rgba(230, 57, 70, 0.35);
  color: var(--red-spark);
  transform: translateX(-4px);
  box-shadow: 0 6px 20px rgba(27, 56, 179, 0.08);
}

.mobile-product-sub-links {
  display: grid;
  gap: 0.5rem;
  margin-inline-start: 1rem;
}

.mobile-product-sub-links .mobile-nav-link {
  min-height: 42px;
  padding: 0.65rem 0.9rem;
  font-size: 0.86rem;
  font-weight: 600;
}

.mobile-nav-num {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--red-spark);
  background: rgba(230, 57, 70, 0.12);
  padding: 0.2rem 0.65rem;
  border-radius: 999px;
  letter-spacing: 0.05em;
}

/* Touch Targets & Base Reset for Mobile */
button,
a,
input,
select,
textarea {
  -webkit-tap-highlight-color: transparent;
}

/* Table Responsiveness & Touch Scrollbar */
.table-responsive {
  -webkit-overflow-scrolling: touch;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-card);
  margin-bottom: 1.5rem;
}

.table-responsive::-webkit-scrollbar {
  height: 6px;
}

.table-responsive::-webkit-scrollbar-track {
  background: var(--bg-surface);
  border-radius: 3px;
}

.table-responsive::-webkit-scrollbar-thumb {
  background: var(--royal-blue);
  border-radius: 3px;
}

/* Container Max Width for Large Screens */
@media (min-width: 1200px) {

  .container,
  .container-lg,
  .container-md,
  .container-sm,
  .container-xl {
    max-width: 1280px;
  }
}

/* ════════════ BREAKPOINT: LAPTOP & TABLET (max-width: 1199.98px) ════════════ */
@media (max-width: 1199.98px) {
  .dropdown-menu-custom {
    right: auto;
    left: 0;
  }

  .bento-card.span-4 {
    grid-column: span 6;
  }

  .bento-card.span-3 {
    grid-column: span 6;
  }

  .circuit-side-right,
  .circuit-side-left {
    width: 200px;
    opacity: 0.1;
  }
}

/* ════════════ BREAKPOINT: TABLET PORTRAIT (max-width: 991.98px) ════════════ */
@media (max-width: 991.98px) {

  /* Header Adjustments */
  .site-header {
    background: rgba(255, 255, 255, 0.97);
  }

  [data-bs-theme="dark"] .site-header {
    background: rgba(10, 14, 26, 0.96);
  }

  .site-logo-img {
    height: 40px;
  }

  main {
    padding-top: 4.5rem;
  }

  /* Section Spacing */
  .sec,
  .exact-section-light,
  .section-light,
  .why,
  .resources,
  .journey,
  .section-white,
  .exact-section-white,
  .section-dark,
  .cta-band,
  .exact-cta-section {
    padding: 3.5rem 0 2.5rem;
  }

  .exact-sec-title,
  .s-h2,
  .why-title h2,
  .resources-head h2,
  .journey .section-heading h2 {
    font-size: clamp(1.6rem, 4.5vw, 2.2rem);
  }

  /* Hero Section Responsiveness */
  .hero {
    height: auto;
    min-height: 600px;
    padding-bottom: 90px;
  }

  .hero-content {
    grid-template-columns: 1fr;
    padding: 40px 20px 140px;
    gap: 0;
  }

  .hero-copy {
    padding-top: 10px;
    max-width: 100%;
  }

  .hero h1 {
    font-size: clamp(30px, 7vw, 46px);
    line-height: 1.15;
  }

  .hero-body {
    margin: 20px 0 26px;
    font-size: 0.95rem;
    line-height: 1.8;
    padding-right: 14px;
    border-right-width: 3px;
  }

  .hero-actions {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .hero-actions .btn,
  .hero-actions .button,
  .hero-actions .btn-hero-red,
  .hero-actions .btn-hero-blue-ghost {
    width: 100%;
    min-height: 48px;
    justify-content: center;
  }

  .hero-reel {
    display: none;
  }

  .hero-proof {
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-top: 24px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
  }

  .hero-proof>div {
    grid-template-columns: 1fr;
    border-left: none;
    text-align: center;
    padding: 4px 6px;
  }

  .hero-proof strong {
    font-size: 0.8rem;
    display: block;
  }

  .hero-proof span {
    font-size: 0.7rem;
    opacity: 0.85;
    display: block;
  }

  .hero-video-controls {
    bottom: 16px;
    left: 16px;
    right: auto;
    z-index: 10;
  }

  .hero-video-controls button {
    min-height: 42px;
    padding: 8px 14px;
  }

  .hero-scroll {
    display: none;
  }

  /* BOQ Ribbon Full Width on Mobile */
  .boq-ribbon {
    width: 100%;
    right: 0;
    left: 0;
    bottom: 0;
    clip-path: none;
    border-radius: 0;
    padding: 10px 16px;
    min-height: 64px;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
  }

  .boq-ribbon:before {
    display: none;
  }

  /* Bento & Cards Stacking */
  .bento {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .bento-card,
  .exact-prod-card,
  .exact-sector-card,
  .exact-process-card,
  .exact-support-card {
    grid-column: span 12 !important;
    padding: 1.6rem 1.3rem;
    min-height: auto;
  }

  .exact-prod-card {
    padding-bottom: 7.5rem !important;
  }

  .exact-prod-card::after {
    width: 110px !important;
    height: 110px !important;
    left: 2.8rem !important;
    bottom: 2.8rem !important;
    opacity: 0.22 !important;
  }

  .exact-prod-card > * {
    position: relative;
    z-index: 2;
  }

  .bc-num,
  .prod-card-bg-num,
  .sector-big-num {
    font-size: 3.8rem;
    bottom: -0.5rem;
    left: 0.8rem;
    opacity: 0.05;
  }

  .exact-rounded-img {
    height: 240px;
  }

  .exact-floating-glass-badge {
    bottom: 1rem;
    right: 1rem;
    padding: 0.75rem 1.1rem;
  }

  .exact-floating-glass-badge .badge-val {
    font-size: 1.25rem;
  }

  /* Inner Page Hero & Layouts */
  .page-hero {
    padding: 4.5rem 1rem 2.5rem;
  }

  .page-hero h1 {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
  }

  .subsection {
    padding: 3rem 0;
  }

  .subsection-label {
    position: static;
    margin-bottom: 1.2rem;
  }

  .spec-grid,
  .bullet-grid {
    grid-template-columns: 1fr;
    gap: 0.8rem;
  }

  .spec-cell,
  .bullet-card {
    padding: 1.1rem;
  }

  .exact-hero-stats-row {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }
}

/* ════════════ BREAKPOINT: MOBILE PHONES (max-width: 575.98px) ════════════ */
@media (max-width: 575.98px) {
  .site-logo-img {
    height: 36px;
  }

  .main-nav-bar {
    padding: 8px 0 !important;
  }

  main {
    padding-top: 3.8rem;
  }

  /* Mobile Hero */
  .hero {
    min-height: 540px;
    padding-bottom: 80px;
  }

  .hero-content {
    padding: 24px 14px 120px;
  }

  .hero h1 {
    font-size: clamp(25px, 7.8vw, 36px);
    line-height: 1.18;
  }

  .hero-body {
    margin: 14px 0 20px;
    font-size: 0.88rem;
    line-height: 1.7;
    padding-right: 10px;
  }

  .hero-proof {
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    margin-top: 18px;
    padding-top: 12px;
  }

  .hero-proof strong {
    font-size: 0.72rem;
  }

  .hero-proof span {
    font-size: 0.64rem;
  }

  .hero-video-controls {
    bottom: 12px;
    left: 12px;
  }

  .hero-video-controls button {
    min-height: 38px;
    padding: 6px 10px;
    font-size: 0.7rem;
  }

  .boq-ribbon {
    padding: 8px 12px;
    min-height: 56px;
  }

  .boq-ribbon-track img {
    width: 90px;
    height: 58px;
  }

  /* Form Field iOS Auto-Zoom Fix (font-size 16px) */
  .field-input,
  .form-control-custom,
  .form-select-custom,
  .form-control,
  .form-select,
  input[type="text"],
  input[type="email"],
  input[type="tel"],
  select,
  textarea {
    font-size: 16px !important;
    min-height: 48px;
    padding: 0.75rem 0.95rem;
    border-radius: var(--radius-sm);
  }

  .btn-spark,
  .btn-red-pill,
  .btn-red-pill-outline,
  .button-red,
  button[type="submit"] {
    min-height: 48px;
    font-size: 0.92rem;
  }

  /* Bento Cards on Narrow Screens */
  .bento-card,
  .exact-prod-card,
  .exact-sector-card,
  .exact-process-card,
  .exact-support-card {
    padding: 1.3rem 1rem;
    border-radius: var(--radius-md);
  }

  .bc-title,
  .prod-card-title,
  .sector-title,
  .process-title,
  .support-card-title {
    font-size: 1.05rem;
  }

  .bc-desc,
  .prod-card-body,
  .process-desc,
  .support-card-body {
    font-size: 0.84rem;
    line-height: 1.65;
  }

  .exact-stat-val {
    font-size: 1.25rem;
  }

  .exact-stat-lbl {
    font-size: 0.68rem;
  }

  .exact-floating-glass-badge {
    position: static;
    margin-top: 0.75rem;
    width: 100%;
    text-align: center;
    border-radius: var(--radius-sm);
  }

  .exact-rounded-img {
    height: 190px;
  }

  .exact-prod-card {
    padding-bottom: 7.5rem;
  }

  .exact-prod-card::after {
    width: 110px;
    height: 110px;
    left: 0.8rem;
    bottom: 0.8rem;
    opacity: 0.22;
  }

  /* Footer on Small Screens */
  footer,
  .exact-footer {
    padding: 3rem 0 2rem;
  }
}

/* Helper Class for Text Contrast in White Bar */
.text-white-50 {
  --bs-text-opacity: 1;
  color: rgb(255 255 255) !important;
}


/* ═══════════════════════════════════════════════════════════════════
   GLOBAL DESIGN HARMONIZATION — Colors, Typography, Backgrounds
   (Overrides without changing section structure)
   ═══════════════════════════════════════════════════════════════════ */

/* ── Section padding consistency ── */
.section,
.exact-section-light,
.exact-section-white,
.sec {
  padding: 88px 0;
}

/* ── Light sections: warm off-white background system ── */
.exact-section-light,
.section-light {
  background: linear-gradient(180deg, #f8faff 0%, #f1f4fb 100%) !important;
}

/* ── White sections: clean white with subtle warmth ── */
.exact-section-white {
  background: #ffffff !important;
}

/* ── Why section: matches light color scheme ── */
.why {
  background: linear-gradient(160deg, #f8faff 0%, #eef1fa 100%) !important;
}

/* ── Journey section: cool blue-gray light ── */
.journey {
  background: linear-gradient(180deg, #eef1fa 0%, #f1f4fb 100%) !important;
}

/* ── Products section separator ── */
#products.exact-section-light {
  background: linear-gradient(180deg, #ffffff 0%, #f5f8ff 100%) !important;
}

/* ── Sectors: dark navy with depth ── */
/* (Sector section uses its own CSS already, preserve it) */

/* ────────────────────────────────────────────
   TYPOGRAPHY — Global Heading & Label System
   ─────────────────────────────────────────── */

/* Unified heading scale */
h1 {
  font-size: clamp(2.6rem, 5.5vw, 5rem);
}

h2 {
  font-size: clamp(1.9rem, 3.4vw, 2.8rem);
}

h3 {
  font-size: clamp(1.15rem, 2vw, 1.45rem);
}

h4 {
  font-size: clamp(1rem, 1.6vw, 1.15rem);
}

/* Consistent color for headings in light sections */
.exact-section-light h2,
.exact-section-white h2,
.why h2,
.journey h2 {
  color: #0b132b;
  letter-spacing: -0.03em;
  line-height: 1.4;
}

/* Paragraph text in light sections */
.exact-section-light p:not(.eyebrow),
.exact-section-white p:not(.eyebrow),
.why p:not(.eyebrow) {
  color: #5b6b8c;
  line-height: 1.3;
}

/* ── Eyebrow labels ── */
.eyebrow,
.exact-sec-tag,
.s-label {
  font-size: 11px !important;
  font-weight: 800 !important;
  letter-spacing: 0.16em !important;
  text-transform: uppercase;
}

/* ── Section tag label harmonization ── */
.exact-sec-tag {
  color: var(--red-spark);
  margin-bottom: 12px;
}

/* ────────────────────────────────────────────
   CARD SYSTEM — Universal card polish
   ─────────────────────────────────────────── */

/* Light cards base */
.bento-card,
.exact-prod-card,
.exact-support-card,
.exact-process-card {
  border-radius: 14px !important;
  transition: transform 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    box-shadow 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94) !important;
}

.bento-card:hover,
.exact-prod-card:hover {
  transform: translateY(-5px) !important;
  box-shadow: 0 20px 52px rgba(27, 56, 179, 0.18),
    0 0 0 1px rgba(230, 57, 70, 0.18) !important;
}

/* Support cards polish */
.exact-support-card {
  background: #ffffff;
  border: 1px solid rgba(30, 50, 140, 0.09);
  box-shadow: 0 4px 18px rgba(11, 19, 43, 0.05);
  transition: all 0.3s ease;
}

.exact-support-card:hover {
  border-color: rgba(230, 57, 70, 0.25) !important;
  box-shadow: 0 12px 36px rgba(11, 19, 43, 0.1) !important;
  transform: translateY(-4px) !important;
}

/* ────────────────────────────────────────────
   CTA / CONTACT SECTION — DARK (like Hero)
   ─────────────────────────────────────────── */
.exact-cta-section,
#contact.exact-cta-section {
  background: linear-gradient(160deg, #0b132b 0%, #283891 100%) !important;
  padding: 100px 0;
  position: relative;
}

/* Circuit lines bright white on dark bg */
#contact .contact-circuit .base-lines path {
  stroke: rgba(255, 255, 255, 0.18) !important;
  opacity: 1 !important;
}

#contact .contact-circuit.filled .base-lines path {
  stroke: rgba(255, 255, 255, 0.38) !important;
  filter: drop-shadow(0 0 4px rgba(255, 255, 255, 0.5)) !important;
}

#contact .contact-circuit .energy-lines path {
  stroke: #7ca4ff !important;
}

#contact .contact-circuit .nodes circle {
  fill: rgba(255, 255, 255, 0.6) !important;
}

.exact-cta-title {
  font-size: clamp(1.9rem, 3.5vw, 3rem);
  font-weight: 900;
  color: #ffffff;
  letter-spacing: -0.04em;
  line-height: 1.18;
}

.exact-cta-code-text {
  color: rgba(255, 255, 255, 0.45) !important;
}

/* ────────────────────────────────────────────
   FOOTER — LIGHT (white background)
   ─────────────────────────────────────────── */
.exact-footer {
  background: linear-gradient(180deg, #f8faff 0%, #edf0f8 100%) !important;
  color: #5b6b8c;
}

.exact-footer .footer-category-title {
  color: #0b132b;
  font-weight: 800;
  font-size: 0.82rem;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  text-transform: uppercase;
}

.exact-footer a {
  color: #6b7fa0;
  transition: color 0.2s;
}

.exact-footer a:hover {
  color: #e63946;
}

.exact-footer .border-top {
  border-color: rgba(0, 0, 0, 0.1) !important;
}

/* ────────────────────────────────────────────
   JOURNEY PANEL — Full width enforcer
   ─────────────────────────────────────────── */
.journey-panel {
  width: 100% !important;
  box-sizing: border-box;
}

/* ────────────────────────────────────────────
   SMOOTH SCROLL & FOCUS STYLES
   ─────────────────────────────────────────── */
*:focus-visible {
  outline: 2px solid #e63946;
  outline-offset: 3px;
}

/* ────────────────────────────────────────────
   BUTTON — outline style for journey CTA
   ─────────────────────────────────────────── */
.button-outline {
  color: var(--royal-dark);
  border: 1.5px solid var(--royal-dark);
  background: transparent;
  border-radius: 4px;
  transition: all 0.25s;
}

.button-outline:hover {
  background: var(--royal-dark);
  color: #fff;
  transform: translateY(-2px);
}

/* ────────────────────────────────────────────
   SECTIONS BACKGROUND RHYTHM (Light/Dark/Light)
   ─────────────────────────────────────────── */

/* 1 Hero        → dark (already)      */
/* 2 Products    → white               */
/* 3 Sectors     → dark (already)      */
/* 4 Journey     → light blue-gray     */
/* 5 Engineering → white               */
/* 6 Capabilities→ light               */
/* 7 Factory     → white               */
/* 8 Why         → light               */
/* 9 Resources   → dark navy (already) */
/* 10 Support    → white               */
/* 11 Contact    → light               */

#engineering.exact-section-white {
  background: linear-gradient(180deg, #ffffff 0%, #f8faff 100%) !important;
}

#support.exact-section-white {
  background: linear-gradient(180deg, #f4f7ff 0%, #ffffff 100%) !important;
}


/* ═══════════════════════════════════════════════════════════════════
   MOBILE FIXES — Overflow, Text Colors, Centering
   ═══════════════════════════════════════════════════════════════════ */

/* ── 1. PREVENT HORIZONTAL OVERFLOW (all screens) ── */
html,
body {
  overflow-x: hidden;
  max-width: 100%;
}

section,
.section,
.exact-section-light,
.exact-section-white,
.section-dark,
.why,
.journey,
.resources {
  overflow-x: hidden;
  max-width: 100%;
}

/* ── Fix text-white on light backgrounds (Engineering & Factory sections) ── */
#engineering .text-white,
#engineering .text-muted,
#factory .text-white,
#factory .text-muted {
  color: #5b6b8c !important;
}

/* engineering/factory headings on white bg */
#engineering .exact-sec-title,
#factory .exact-sec-title {
  color: #0b132b;
}

/* ── 2. MOBILE-SPECIFIC FIXES ── */
@media (max-width: 991.98px) {

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

  /* Hide decorative elements that bleed offscreen */
  .why-circuit-lines,
  .why-corner-photo,
  .watermark-cables-bg,
  .watermark-cad-bg-right,
  .watermark-cad-bg-left,
  .circuit-side-right,
  .circuit-side-left,
  .hero-energy-grid,
  .hero-power-axis {
    display: none !important;
  }

  /* Fix why-layout: single column on mobile */
  .why-layout {
    grid-template-columns: 1fr !important;
    gap: 24px !important;
    text-align: center !important;
  }

  .why-title {
    text-align: center !important;
  }

  .why-title .eyebrow {
    justify-content: center !important;
  }

  .why-title .why-heading-accent {
    margin: 14px auto 0 !important;
  }

  .why-title h2 {
    text-align: center !important;
    font-size: clamp(1.8rem, 6vw, 2.6rem) !important;
  }

  .why-summary {
    margin: 18px auto 0 !important;
    text-align: center !important;
  }

  .text-link {
    margin-top: 24px;
  }

  /* ── Section headings: center on mobile ── */
  .exact-sec-tag,
  .s-label,
  .eyebrow {
    justify-content: center !important;
    text-align: center !important;
  }

  .exact-sec-title,
  .s-h2 {
    text-align: center !important;
  }

  /* All section heading rows */
  .d-flex.justify-content-between.align-items-end {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
  }

  /* ── Journey section heading ── */
  .journey .section-heading {
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    gap: 12px !important;
  }

  .journey .section-heading h2 {
    text-align: center !important;
  }

  /* ── Products bento ── */
  #products .d-flex,
  #sectors .d-flex {
    justify-content: center !important;
    text-align: center !important;
  }

  /* ── Engineering & Factory: fix white text on white bg ── */
  #engineering .col-lg-6 p,
  #factory .col-lg-6 p {
    color: #5b6b8c !important;
  }

  /* ── Resources heading ── */
  .resources-section-head {
    text-align: center !important;
  }

  /* ── Why section: allow full height ── */
  .why-infographic {
    overflow: visible;
    height: auto !important;
    min-height: 0 !important;
  }

  /* ── CTA section centering ── */
  .exact-cta-section .container {
    text-align: center !important;
  }

  .exact-cta-title {
    text-align: center !important;
  }

  /* ── Support section ── */
  #support .d-flex {
    justify-content: center !important;
  }

  /* ── Footer columns ── */
  .exact-footer .row {
    text-align: center !important;
  }
}

/* ── Extra narrow phones ── */
@media (max-width: 575.98px) {

  /* All text content centered */
  section .container h1,
  section .container h2,
  section .container h3,
  section .container p,
  section .container .exact-sec-tag {
    text-align: center !important;
  }

  /* Buttons fill width on mobile */
  .hero-actions a,
  .btn-spark,
  .btn-red-pill {
    width: 100%;
    text-align: center;
    justify-content: center;
  }

  /* Support/contact CTA buttons */
  .exact-cta-section .d-flex.flex-wrap {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 12px !important;
  }

  .exact-cta-section .btn {
    width: 100% !important;
    justify-content: center !important;
  }

  /* Why layout single col */
  .why-infographic {
    height: auto !important;
    min-height: 0 !important;
    overflow: visible !important;
  }

  /* Journey mobile: full padding */
  .journey-panel {
    padding: 20px 16px !important;
    border-radius: 1rem !important;
  }

  /* Resources grid: full single col */
  .resources-grid {
    flex-direction: column !important;
  }

  .resources-col,
  .resources-col--main,
  .resources-col--list,
  .resources-col--head {
    flex: none !important;
    width: 100% !important;
    min-width: 0 !important;
  }

  .resource-card {
    flex-direction: column !important;
    text-align: center !important;
  }

  .resource-card .thumb {
    width: 100% !important;
    height: 160px !important;
  }

  /* Why infographic ring SVG - scale down */
  .why-connectors {
    max-width: 320px;
    margin: 0 auto;
    display: block;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   HEADER & MOBILE MENU BUTTON STYLING
   ═══════════════════════════════════════════════════════════════════ */

.mobile-menu-btn {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-card);
  background: var(--bg-surface);
  color: var(--ink-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
  flex-shrink: 0;
  padding: 0;
}

/* Keep the responsive header stable if the Bootstrap CDN is unavailable. */
.main-nav-bar nav.d-none.d-xl-flex {
  display: flex !important;
}

.mobile-menu-btn.d-xl-none,
.site-mobile-drawer.d-xl-none {
  display: none !important;
}

.site-mobile-drawer.collapse:not(.show) {
  display: none !important;
}

@media (max-width: 1199.98px) {
  .main-nav-bar nav.d-none.d-xl-flex {
    display: none !important;
  }

  .mobile-menu-btn.d-xl-none {
    display: inline-flex !important;
  }

  .site-mobile-drawer.d-xl-none.show {
    display: block !important;
  }
}

.mobile-menu-btn:hover,
.mobile-menu-btn[aria-expanded="true"] {
  border-color: var(--royal-blue);
  background: rgba(44, 56, 144, 0.08);
  color: var(--royal-blue);
}

.theme-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid var(--border-card);
  background: var(--bg-surface);
  color: var(--ink-main);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.22s ease;
  flex-shrink: 0;
  margin-left: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--red-spark);
  background: rgba(230, 57, 70, 0.08);
  color: var(--red-spark);
  transform: scale(1.05);
}

.language-toggle-btn {
  min-width: 42px;
  height: 38px;
  padding: 0 8px;
  border: 1px solid var(--border-card);
  border-radius: 999px;
  background: var(--bg-surface);
  color: var(--ink-main);
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.language-toggle-btn:hover {
  border-color: var(--royal-blue);
  color: var(--royal-blue);
}

html[lang="ar"] body * {
  text-align: right !important;
}

html[lang="ar"] body .language-toggle-btn {
  text-align: center !important;
}

html[lang="ar"] body [dir="ltr"] {
  text-align: left !important;
}


/* ═══════════════════════════════════════════════════════════════════
   SECTION 02: ENGINEERING — CENTERING FIX
   ═══════════════════════════════════════════════════════════════════ */

#engineering {
  position: relative;
}

#engineering .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991.98px) {
  #engineering .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: center !important;
    text-align: center !important;
  }

  #engineering .col-lg-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100% !important;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }

  #engineering .exact-sec-tag {
    justify-content: center !important;
    text-align: center !important;
    width: 100%;
  }

  #engineering .exact-sec-title {
    text-align: center !important;
    width: 100%;
  }

  #engineering p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #engineering .row.g-3 {
    justify-content: center !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #engineering .exact-feature-pill {
    justify-content: center !important;
    text-align: center !important;
  }

  #engineering .btn-red-pill {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #engineering .exact-img-card-wrap {
    margin: 0 auto !important;
    text-align: center !important;
    max-width: 100% !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   SECTION 03: FACTORY — CENTERING FIX (Mobile)
   ═══════════════════════════════════════════════════════════════════ */

#factory .container {
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 991.98px) {
  #factory .row {
    margin-left: 0 !important;
    margin-right: 0 !important;
    justify-content: center !important;
  }

  #factory .col-lg-6 {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    width: 100% !important;
    max-width: 580px;
    margin-left: auto;
    margin-right: auto;
  }

  #factory .exact-sec-tag {
    justify-content: center !important;
    text-align: center !important;
    width: 100%;
  }

  #factory .exact-sec-title,
  #factory p {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
  }

  #factory .row.g-3 {
    justify-content: center !important;
    width: 100% !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  #factory .exact-factory-stat-card {
    text-align: center !important;
  }

  #factory .btn-link-red-arrow,
  #factory .btn-red-pill {
    align-self: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
    display: inline-block;
  }

  #factory .exact-img-card-wrap {
    margin: 0 auto !important;
    max-width: 100% !important;
  }
}


/* ═══════════════════════════════════════════════════════════════════
   DARK THEME (ثيم ليلي) SYSTEM FOR ALL SECTIONS
   ═══════════════════════════════════════════════════════════════════ */

html[data-bs-theme="dark"] body {
  background-color: #070b18 !important;
  color: #cbd5e1 !important;
}

html[data-bs-theme="dark"] .site-header {
  background: rgba(10, 15, 30, 0.95) !important;
  border-bottom-color: rgba(255, 255, 255, 0.08) !important;
}

html[data-bs-theme="dark"] .top-nav-bar {
  background: #04060e !important;
  border-bottom-color: rgba(255, 255, 255, 0.06) !important;
}

html[data-bs-theme="dark"] .nav-link-main {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .nav-link-main:hover,
html[data-bs-theme="dark"] .nav-link-main.active {
  color: #60a5fa !important;
  background: rgba(255, 255, 255, 0.06) !important;
}

html[data-bs-theme="dark"] .dropdown-inner {
  background: #0f172a !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5) !important;
}

html[data-bs-theme="dark"] .dropdown-child-title {
  color: #f8fafc !important;
}

html[data-bs-theme="dark"] .dropdown-child-blurb {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .mobile-menu-btn,
html[data-bs-theme="dark"] .theme-toggle-btn {
  background: rgba(255, 255, 255, 0.08) !important;
  border-color: rgba(255, 255, 255, 0.15) !important;
  color: #f8fafc !important;
}

html[data-bs-theme="dark"] .site-mobile-drawer {
  background: #0f172a !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

html[data-bs-theme="dark"] .mobile-nav-link {
  color: #e2e8f0 !important;
}

/* All Light / White Sections in Dark Mode */
html[data-bs-theme="dark"] .exact-section-light,
html[data-bs-theme="dark"] .exact-section-white,
html[data-bs-theme="dark"] .section-light,
html[data-bs-theme="dark"] .section-white,
html[data-bs-theme="dark"] .sec,
html[data-bs-theme="dark"] #products,
html[data-bs-theme="dark"] #engineering,
html[data-bs-theme="dark"] #capabilities,
html[data-bs-theme="dark"] #factory,
html[data-bs-theme="dark"] #why,
html[data-bs-theme="dark"] #support {
  background: linear-gradient(180deg, #080c1d 0%, #0c1228 100%) !important;
}

/* Headings & Text in Dark Mode */
html[data-bs-theme="dark"] h1,
html[data-bs-theme="dark"] h2,
html[data-bs-theme="dark"] h3,
html[data-bs-theme="dark"] h4,
html[data-bs-theme="dark"] .exact-sec-title,
html[data-bs-theme="dark"] .s-h2,
html[data-bs-theme="dark"] .subsection-title,
html[data-bs-theme="dark"] .why-title h2,
html[data-bs-theme="dark"] .resources-section-head h2,
html[data-bs-theme="dark"] .exact-cta-title {
  color: #f8fafc !important;
}

html[data-bs-theme="dark"] p,
html[data-bs-theme="dark"] .text-muted,
html[data-bs-theme="dark"] .why-summary,
html[data-bs-theme="dark"] .subsection-body,
html[data-bs-theme="dark"] .process-desc,
html[data-bs-theme="dark"] .support-card-body {
  color: #94a3b8 !important;
}

/* Cards & Bento Grid Items in Dark Mode */
html[data-bs-theme="dark"] .bento-card,
html[data-bs-theme="dark"] .exact-prod-card,
html[data-bs-theme="dark"] .exact-support-card,
html[data-bs-theme="dark"] .exact-process-card,
html[data-bs-theme="dark"] .spec-cell,
html[data-bs-theme="dark"] .bullet-card,
html[data-bs-theme="dark"] .resource-main {
  background: #101835 !important;
  border-color: rgba(255, 255, 255, 0.08) !important;
  color: #f8fafc !important;
}

html[data-bs-theme="dark"] .exact-feature-pill {
  background: rgba(255, 255, 255, 0.06) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
  color: #e2e8f0 !important;
}

html[data-bs-theme="dark"] .bc-title,
html[data-bs-theme="dark"] .prod-card-title,
html[data-bs-theme="dark"] .support-card-title {
  color: #ffffff !important;
}

html[data-bs-theme="dark"] .bc-desc,
html[data-bs-theme="dark"] .prod-card-body {
  color: #94a3b8 !important;
}

html[data-bs-theme="dark"] .prod-card-dark-blue .prod-card-body,
html[data-bs-theme="dark"] .prod-card-red .prod-card-body,
.prod-card-dark-blue .prod-card-body,
.prod-card-red .prod-card-body {
  color: #ffffff !important;
}

/* footer stays dark in dark mode too */
html[data-bs-theme="dark"] .exact-footer {
  background: linear-gradient(180deg, #04060f 0%, #020409 100%) !important;
  color: rgba(255, 255, 255, 0.6) !important;
}

html[data-bs-theme="dark"] .exact-footer .footer-category-title {
  color: #f8fafc !important;
}

html[data-bs-theme="dark"] .exact-footer a {
  color: rgba(255, 255, 255, 0.5) !important;
}

html[data-bs-theme="dark"] .exact-footer a:hover {
  color: #e63946 !important;
}

html[data-bs-theme="dark"] .exact-footer .border-top {
  border-color: rgba(255, 255, 255, 0.08) !important;
}

/* ═══════════════════════ SECTION: SECTORS SOLAR SYSTEM (القطاعات التي نخدمها) ═══════════════════════ */
.sectors {
  color: #fff;
  background:
    radial-gradient(at 50% 62%, #4657dc4d, #0000 34%),
    radial-gradient(circle at 15% 32%, #ec1c241a, #0000 22%),
    linear-gradient(145deg, #070b2c 0%, #101640 48%, #080d31 100%);
  min-height: 1220px;
  overflow: hidden;
}

.sector-grid-bg {
  opacity: 0.64;
  background-image:
    radial-gradient(circle, #ffffff7a 0 1px, #0000 1.5px),
    radial-gradient(circle, #7080ff57 0 1px, #0000 1.6px),
    radial-gradient(circle, #ffffff29 0 1px, #0000 1.4px),
    linear-gradient(#ffffff05 1px, #0000 1px),
    linear-gradient(90deg, #ffffff05 1px, #0000 1px);
  background-position:
    7px 11px,
    51px 83px,
    96px 34px,
    0 0,
    0 0;
  background-size:
    127px 127px,
    181px 181px,
    239px 239px,
    64px 64px,
    64px 64px;
  position: absolute;
  inset: 0;
  -webkit-mask-image: radial-gradient(at 50% 63%,
      #000 10%,
      #000000d1 56%,
      #0000 92%);
  mask-image: radial-gradient(at 50% 63%, #000 10%, #000000d1 56%, #0000 92%);
}

.sector-grid-bg:before {
  content: "";
  background:
    radial-gradient(at 50% 62%, #0000 0 20%, #5d6dee14 20.3%, #0000 20.7%),
    radial-gradient(at 50% 62%, #0000 0 34%, #ffffff0b 34.2%, #0000 34.6%),
    linear-gradient(90deg, #0000 49.86%, #ffffff0b 50%, #0000 50.14%);
  position: absolute;
  inset: 0;
}

.sector-corner-image {
  filter: grayscale() saturate(0.4);
  opacity: 0.12;
  background:
    linear-gradient(90deg, #0a0f35fa 8%, #0a0f356b 68%, #0000),
    linear-gradient(#0000 42%, #0a0f35f2),
    url(assets/image-01-e0d70d42.webp) 50% / cover no-repeat;
  width: 40%;
  height: 58%;
  position: absolute;
  bottom: -9%;
  left: -5%;
  transform: skew(-7deg);
}

.sector-ambient {
  filter: blur(16px);
  opacity: 0.45;
  pointer-events: none;
  border-radius: 50%;
  position: absolute;
}

.sector-ambient-red {
  background: radial-gradient(circle, #ec1c2447, #0000 68%);
  width: 440px;
  height: 440px;
  top: 8%;
  right: -180px;
}

.sector-ambient-blue {
  background: radial-gradient(circle, #3a4bcc57, #0000 68%);
  width: 620px;
  height: 620px;
  bottom: -230px;
  left: 22%;
}

.sectors .container {
  z-index: 2;
  position: relative;
}

.section-heading.centered {
  text-align: center;
  max-width: 900px;
  margin-inline: auto;
}

.section-heading.centered .eyebrow {
  justify-content: center;
}

.section-heading.centered>p:last-child {
  color: #ffffff94;
  font-size: 17px;
  line-height: 1.9;
}

.sector-system {
  max-width: 1200px;
  height: 820px;
  margin: 40px auto 0;
  position: relative;
  overflow: visible;
}

.sector-system:before {
  content: "";
  filter: blur(8px);
  background: radial-gradient(circle,
      #ffffff1f,
      #5366f52b 20%,
      #303dae14 42%,
      #0000 70%);
  border-radius: 50%;
  width: 820px;
  height: 690px;
  position: absolute;
  top: calc(50% + 6px);
  left: 50%;
  transform: translate(-50%, -50%);
}

.sector-system:after {
  content: "";
  background: radial-gradient(#7282ff2e, #0000 67%);
  border-radius: 50%;
  width: 590px;
  height: 120px;
  position: absolute;
  top: calc(50% + 8px);
  left: 50%;
  transform: translate(-50%, -50%) rotate(-12deg);
}

.sector-system-head {
  color: #ffffff57;
  letter-spacing: 0.14em;
  white-space: nowrap;
  z-index: 6;
  justify-content: center;
  align-items: center;
  gap: 14px;
  font-size: 9px;
  display: flex;
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
}

.sector-system-head i {
  background: #ffffff2b;
  width: 58px;
  height: 1px;
}

.sector-system-head b {
  color: #ec1c24d9;
  font-weight: 700;
}

.sector-network {
  pointer-events: none;
  z-index: 1;
  width: 100%;
  height: 780px;
  position: absolute;
  inset: 20px 0 auto;
  overflow: visible;
}

.sector-orbit-ring {
  fill: none;
  stroke: #ffffff17;
  stroke-dasharray: 2 8;
  stroke-width: 1.2px;
  transform-box: fill-box;
  transform-origin: 50%;
  animation: 6s ease-in-out infinite sector-ring-pulse;
}

.sector-ring-inner {
  stroke: #6578ff45;
  stroke-dasharray: 12 8 2 8;
  animation-delay: -1.5s;
}

.sector-ring-mid {
  stroke: #ffffff14;
  stroke-dasharray: 2 12 18 18;
  animation-delay: -3.2s;
}

.sector-ring-core {
  stroke: #ec1c2442;
  stroke-dasharray: 4 12 38 10;
  animation: 28s linear infinite sector-core-spin;
}

.galaxy-nucleus-glow {
  fill: url(#galaxyCore);
  filter: url(#galaxySoftGlow);
  opacity: 0.58;
}

.galaxy-disc {
  fill: none;
  stroke: url(#galaxyArm);
  stroke-linecap: round;
  transform-box: fill-box;
  transform-origin: 50%;
  vector-effect: non-scaling-stroke;
}

.galaxy-disc-wide {
  opacity: 0.2;
  stroke-dasharray: 2 8 38 16;
  stroke-width: 14px;
  animation: 34s linear infinite galaxy-disc-wide;
  transform: rotate(-11deg);
}

.galaxy-disc-tight {
  opacity: 0.34;
  stroke-dasharray: 4 14 26 9;
  stroke-width: 5px;
  animation: 23s linear infinite reverse galaxy-disc-tight;
  transform: rotate(17deg);
}

.galaxy-arm-haze,
.galaxy-arm-line {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.galaxy-arm-haze {
  filter: url(#galaxySoftGlow);
  opacity: 0.24;
  stroke: #6073ff;
  stroke-linecap: round;
  stroke-width: 22px;
}

.galaxy-arm-line {
  opacity: 0.72;
  stroke: url(#galaxyArm);
  stroke-dasharray: 2 5 16 8;
  stroke-linecap: round;
  stroke-width: 2.4px;
  animation: 7s linear infinite galaxy-arm-flow;
}

.galaxy-arm-2 .galaxy-arm-line,
.galaxy-arm-4 .galaxy-arm-line {
  animation-direction: reverse;
}

.galaxy-arm-particle {
  fill: #fff;
  opacity: 0.9;
}

.galaxy-star {
  fill: #fff;
  opacity: 0.45;
  animation: 2.8s ease-in-out infinite galaxy-star-twinkle;
}

@keyframes galaxy-arm-flow {
  to {
    stroke-dashoffset: -62px;
  }
}

@keyframes galaxy-disc-wide {
  to {
    transform: rotate(349deg);
  }
}

@keyframes galaxy-disc-tight {
  to {
    transform: rotate(377deg);
  }
}

@keyframes galaxy-star-twinkle {
  50% {
    filter: drop-shadow(0 0 5px #fff);
    opacity: 1;
  }
}

@keyframes sector-ring-pulse {
  50% {
    opacity: 0.42;
  }
}

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

.sector-feed-base,
.sector-feed-current {
  fill: none;
  vector-effect: non-scaling-stroke;
}

.sector-feed-base {
  stroke: #ffffff1a;
  stroke-dasharray: 1 7;
  stroke-linecap: round;
  stroke-width: 1.2px;
}

.sector-feed-current {
  opacity: 0.42;
  stroke: url(#sectorEnergy);
  stroke-dasharray: 4 14 22 18;
  stroke-linecap: round;
  stroke-width: 1.7px;
  transition:
    opacity 0.24s,
    stroke-width 0.24s;
  animation: 4.6s linear infinite sector-current;
}

.sector-feed-node {
  fill: url(#sectorNode);
  opacity: 0.48;
  transition: opacity 0.24s;
}

.sector-feed.is-active .sector-feed-current {
  filter: drop-shadow(0 0 7px #ec1c24bf);
  opacity: 1;
  stroke-width: 3px;
}

.sector-feed.is-active .sector-feed-node {
  opacity: 1;
}

@keyframes sector-current {
  to {
    stroke-dashoffset: -44px;
  }
}

.sector-core {
  text-align: center;
  z-index: 4;
  background: radial-gradient(circle at 50% 36%,
      #5468ebb8,
      #1e2871e6 44%,
      #11163f 72%);
  border: 1px solid #ffffff38;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 258px;
  height: 258px;
  display: flex;
  position: absolute;
  top: calc(50% + 10px);
  left: 50%;
  overflow: visible;
  transform: translate(-50%, -50%);
  box-shadow:
    0 0 0 12px #ffffff06,
    0 0 0 13px #596be22e,
    0 0 90px #3a4bcc80,
    inset 0 0 50px #ffffff0f;
}

.sector-core:before,
.sector-core:after {
  content: "";
  border: 1px solid #ffffff1c;
  border-radius: 50%;
  position: absolute;
}

.sector-core:before {
  border-style: dashed;
  border-color: #7686ff4d;
  animation: 24s linear infinite reverse sector-core-spin;
  inset: -38px;
}

.sector-core:after {
  border-color: #ec1c2452 #0000;
  animation: 18s linear infinite sector-core-spin;
  inset: -17px;
  transform: rotate(22deg);
}

.sector-core-rings {
  position: absolute;
  inset: -24px;
}

.sector-core-rings i {
  background: var(--red);
  border: 3px solid var(--navy);
  border-radius: 50%;
  width: 11px;
  height: 11px;
  position: absolute;
  box-shadow: 0 0 16px #ec1c24b8;
}

.sector-core-rings i:first-child {
  top: 56px;
  right: 16px;
}

.sector-core-rings i:nth-child(2) {
  bottom: 16px;
  left: 50%;
}

.sector-core-rings i:nth-child(3) {
  top: 86px;
  left: 17px;
}

.sector-core-image {
  border-radius: 50%;
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.sector-core-image img {
  filter: grayscale() contrast(1.12);
  object-fit: cover;
  opacity: 0.14;
  width: 100%;
  height: 100%;
}

.sector-core-image:after {
  background:
    linear-gradient(0deg, #10153ef2, #2c38909e),
    radial-gradient(circle, transparent 10%, var(--navy) 90%);
  content: "";
  position: absolute;
  inset: 0;
}

.sector-core-copy {
  z-index: 2;
  flex-direction: column;
  align-items: center;
  max-width: 205px;
  animation: 0.32s both sector-copy-in;
  display: flex;
  position: relative;
}

@keyframes sector-copy-in {
  0% {
    opacity: 0;
    transform: translateY(7px);
  }
}

.sector-core-copy small {
  color: #ffffff80;
  letter-spacing: 0.12em;
  font-size: 8px;
}

.sector-core-copy>span {
  color: #fff;
  filter: drop-shadow(0 0 18px #7384ff9e);
  margin: 8px 0 1px;
  font-size: 54px;
  font-weight: 800;
  line-height: 1;
}

.sector-core-copy strong {
  font-size: 17px;
  line-height: 1.45;
}

.sector-core-copy b {
  color: #ffffff85;
  align-items: center;
  gap: 7px;
  max-width: 190px;
  margin-top: 13px;
  font-size: 10px;
  font-weight: 500;
  display: flex;
}

.sector-core-copy b i {
  background: #39d98a;
  border-radius: 50%;
  width: 6px;
  height: 6px;
  animation: 1.5s ease-in-out infinite sector-status;
  box-shadow: 0 0 10px #39d98ac2;
}

@keyframes sector-status {
  50% {
    opacity: 0.4;
  }
}

.sector-cards {
  z-index: 5;
  position: absolute;
  inset: 0;
}

.sector-card {
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  color: #fff;
  cursor: pointer;
  text-align: right;
  background:
    radial-gradient(circle at 84% 20%, #6073ff2e, #0000 34%),
    linear-gradient(112deg, #ffffff1c, #ffffff06);
  border: 1px solid #ffffff29;
  border-radius: 18px;
  grid-template-columns: 44px 1fr;
  align-items: center;
  gap: 15px;
  width: 270px;
  min-height: 94px;
  padding: 15px 17px;
  transition:
    background 0.26s,
    border-color 0.26s,
    box-shadow 0.26s,
    transform 0.26s;
  display: grid;
  position: absolute;
  overflow: hidden;
}

.sector-card:before {
  background: linear-gradient(90deg, var(--red), #7584ef, transparent);
  content: "";
  opacity: 0;
  height: 2px;
  transition: opacity 0.22s;
  position: absolute;
  inset: 0 18px auto;
}

.sector-card:after {
  content: "";
  opacity: 0;
  background: radial-gradient(circle, #ffffff3d, #0000 70%);
  border-radius: 50%;
  width: 86px;
  height: 86px;
  transition: opacity 0.24s;
  position: absolute;
  top: -42px;
  right: -42px;
}

.sector-card:hover,
.sector-card:focus-visible,
.sector-card.is-active {
  background: linear-gradient(112deg, #3d4dc48a, #ffffff12);
  border-color: #7584efb8;
  outline: none;
  transform: translateY(-5px) scale(1.015);
  box-shadow:
    0 18px 44px #03071d61,
    0 0 0 1px #5d6ff524,
    inset 0 0 32px #5267ff26;
}

.sector-card.is-active:before,
.sector-card.is-active:after {
  opacity: 1;
}

.sector-card-number {
  color: #ffffff85;
  background: #ffffff0e;
  border: 1px solid #ffffff26;
  border-radius: 50%;
  justify-content: center;
  align-items: center;
  width: 44px;
  height: 44px;
  font-size: 10px;
  font-weight: 700;
  transition:
    background 0.22s,
    color 0.22s,
    border-color 0.22s;
  display: flex;
}

.sector-card.is-active .sector-card-number {
  background: var(--red);
  border-color: var(--red);
  color: #fff;
  box-shadow: 0 0 18px #ec1c2470;
}

.sector-card-copy {
  flex-direction: column;
  gap: 6px;
  display: flex;
}

.sector-card-copy small {
  color: #ffffff61;
  letter-spacing: 0.06em;
  font-size: 8px;
}

.sector-card-copy b {
  font-size: 13px;
  line-height: 1.45;
}

.sector-card-port {
  background: var(--blue-bright);
  border: 3px solid var(--navy);
  border-radius: 50%;
  width: 14px;
  height: 14px;
  transition:
    background 0.22s,
    box-shadow 0.22s;
  position: absolute;
  box-shadow: 0 0 0 1px #ffffff38;
}

.sector-card.is-active .sector-card-port {
  background: var(--red);
  box-shadow:
    0 0 0 1px #ffffff57,
    0 0 18px #ec1c24cc;
}

.sector-1 {
  top: 70px;
  right: 36px;
}

.sector-2 {
  top: 228px;
  right: 0;
}

.sector-3 {
  bottom: 223px;
  right: 0;
}

.sector-4 {
  bottom: 67px;
  right: 36px;
}

.sector-5 {
  bottom: 67px;
  left: 36px;
}

.sector-6 {
  bottom: 223px;
  left: 0;
}

.sector-7 {
  top: 228px;
  left: 0;
}

.sector-8 {
  top: 70px;
  left: 36px;
}

.sector-1 .sector-card-port,
.sector-2 .sector-card-port,
.sector-3 .sector-card-port,
.sector-4 .sector-card-port {
  top: calc(50% - 7px);
  left: -8px;
}

.sector-5 .sector-card-port,
.sector-6 .sector-card-port,
.sector-7 .sector-card-port,
.sector-8 .sector-card-port {
  top: calc(50% - 7px);
  right: -8px;
}

.sector-system-foot {
  color: #ffffff5c;
  letter-spacing: 0.03em;
  z-index: 6;
  grid-template-columns: auto auto 1fr auto auto;
  align-items: center;
  gap: 14px;
  width: 62%;
  max-width: 690px;
  font-size: 9px;
  display: grid;
  position: absolute;
  bottom: -2px;
  left: 50%;
  transform: translate(-50%);
}

.sector-system-foot>span {
  align-items: center;
  gap: 7px;
  display: flex;
}

.sector-system-foot span i {
  background: var(--red);
  border-radius: 50%;
  width: 5px;
  height: 5px;
}

.sector-system-foot span:last-child i {
  background: #39d98a;
}

.sector-system-foot b {
  color: #ffffffa3;
  white-space: nowrap;
  font-weight: 500;
}

.sector-system-foot em {
  background: linear-gradient(90deg, #ec1c24b3, #ffffff2e, #39d98ab3);
  height: 1px;
  position: relative;
}

.sector-system-foot em:after {
  content: "";
  background: #fff;
  border-radius: 50%;
  width: 5px;
  height: 5px;
  animation: 3s linear infinite sector-foot-flow;
  position: absolute;
  top: -2px;

  .sectors {
    background:
      radial-gradient(at 50% 61%, #4352cd40, #0000 34%),
      radial-gradient(circle at 50% 56%, #ec1c2413, #0000 14%),
      radial-gradient(circle at 10% 26%, #5267ff21, #0000 24%),
      linear-gradient(145deg, #080c2f 0%, #111743 50%, #070b2b 100%);
    min-height: 1160px;
  }

  .sector-grid-bg {
    background-image:
      radial-gradient(circle, #ffffff80 0 1px, #0000 1.45px),
      radial-gradient(circle, #7e8dff52 0 1px, #0000 1.55px),
      linear-gradient(#ffffff05 1px, #0000 1px),
      linear-gradient(90deg, #ffffff05 1px, #0000 1px);
    background-position:
      11px 17px,
      73px 59px,
      0 0,
      0 0;
    background-size:
      149px 149px,
      217px 217px,
      64px 64px,
      64px 64px;
    -webkit-mask-image: radial-gradient(at 50% 60%,
        #000 8%,
        #000000db 60%,
        #0000 96%);
    mask-image: radial-gradient(at 50% 60%, #000 8%, #000000db 60%, #0000 96%);
  }

  .sector-grid-bg:before {
    background:
      linear-gradient(90deg, #0000 49.91%, #ffffff0b 50%, #0000 50.09%),
      linear-gradient(#0000 49.91%, #ffffff08 50%, #0000 50.09%);
  }

  .sector-corner-image {
    opacity: 0.075;
    bottom: -14%;
  }

  .sector-solar-system {
    max-width: 1240px;
    height: 790px;
    margin-top: 26px;
  }

  .sector-solar-system:before {
    filter: blur(11px);
    background: radial-gradient(circle,
        #ffffff1c 0 2%,
        #6577ff30 8%,
        #2c389014 31%,
        #0000 68%);
    width: 900px;
    height: 710px;
    top: calc(50% + 4px);
  }

  .sector-solar-system:after {
    background: radial-gradient(#8996ff33, #4553c212 36%, #0000 70%);
    width: 650px;
    height: 102px;
    top: calc(50% + 5px);
    transform: translate(-50%, -50%);
  }

  .sector-solar-system .sector-system-head {
    background: #080c2f70;
    border: 1px solid #ffffff14;
    border-radius: 999px;
    padding: 8px 16px;
    top: -4px;
  }

  .sector-solar-system .sector-network {
    height: 780px;
    inset: 8px 0 auto;
  }

  .solar-nucleus-glow {
    fill: url(#solarCore);
    filter: url(#solarSoftGlow);
    opacity: 0.8;
  }

  .solar-corona {
    fill: none;
    transform-box: fill-box;
    transform-origin: 50%;
  }

  .solar-corona-outer {
    opacity: 0.54;
    stroke: #6a7bff6b;
    stroke-dasharray: 2 8 44 13;
    stroke-width: 2px;
    animation: 24s linear infinite solar-corona-spin;
  }

  .solar-corona-inner {
    opacity: 0.7;
    stroke: #ec1c2485;
    stroke-dasharray: 22 9 3 11;
    stroke-width: 1.6px;
    animation: 17s linear infinite reverse solar-corona-spin;
  }

  .solar-orbit-rail,
  .solar-orbit-current {
    fill: none;
    vector-effect: non-scaling-stroke;
  }

  .solar-orbit-rail {
    stroke: #ffffff1f;
    stroke-width: 1.2px;
  }

  .solar-orbit-outer .solar-orbit-rail {
    stroke: #ffffff26;
  }

  .solar-orbit-wide .solar-orbit-rail {
    stroke: #697cff33;
  }

  .solar-orbit-mid .solar-orbit-rail {
    stroke: #ffffff1b;
  }

  .solar-orbit-inner .solar-orbit-rail {
    stroke: #ec1c2438;
  }

  .solar-orbit-current {
    filter: drop-shadow(0 0 5px #6679ff6b);
    opacity: 0.5;
    stroke: url(#solarOrbit);
    stroke-dasharray: 1.5 5 15 12 2 11;
    stroke-linecap: round;
    stroke-width: 2px;
    animation: 7.5s linear infinite solar-orbit-flow;
  }

  .solar-orbit-wide .solar-orbit-current {
    opacity: 0.43;
    animation-duration: 8.8s;
  }

  .solar-orbit-mid .solar-orbit-current {
    opacity: 0.38;
    animation-duration: 6.9s;
  }

  .solar-orbit-inner .solar-orbit-current {
    opacity: 0.58;
    animation-duration: 5.8s;
  }

  .solar-orbit-particle {
    fill: #fff;
    opacity: 0.93;
    stroke: #ec1c2499;
    stroke-width: 1px;
  }

  .solar-star {
    fill: #fff;
    opacity: 0.42;
    animation: 3s ease-in-out infinite solar-star-twinkle;
  }

  @keyframes solar-orbit-flow {
    to {
      stroke-dashoffset: -58px;
    }
  }

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

  @keyframes solar-star-twinkle {
    50% {
      filter: drop-shadow(0 0 6px #fff);
      opacity: 1;
    }
  }

  .sector-solar-system .sector-feed-base {
    opacity: 0.66;
    stroke: #ffffff1a;
    stroke-dasharray: 1 10;
  }

  .sector-solar-system .sector-feed-current {
    opacity: 0.12;
    stroke-dasharray: 2 13 18 24;
    stroke-width: 1.4px;
  }

  .sector-solar-system .sector-feed-node {
    opacity: 0.22;
  }

  .sector-solar-system .sector-feed.is-active .sector-feed-current {
    filter: drop-shadow(0 0 7px #ec1c24d9) drop-shadow(0 0 15px #5267ff8c);
    opacity: 1;
    stroke-width: 2.8px;
  }

  .sector-solar-system .sector-feed.is-active .sector-feed-node {
    opacity: 1;
  }

  .sector-solar-system .sector-core {
    background: radial-gradient(circle at 50% 24%,
        #6677f7eb,
        #232d80f5 38%,
        #10153e 74%);
    border: 1px solid #ffffff52;
    width: 246px;
    height: 246px;
    top: calc(50% + 3px);
    box-shadow:
      0 0 0 10px #ffffff06,
      0 0 0 11px #687aff33,
      0 0 62px #4d60e2a8,
      0 0 120px #ec1c2424,
      inset 0 0 54px #ffffff14;
  }

  .sector-solar-system .sector-core:before {
    border-color: #7183ff6b;
    inset: -32px;
  }

  .sector-solar-system .sector-core:after {
    border-color: #ec1c2475 #0000;
    inset: -15px;
  }

  .sector-solar-system .sector-core-image img {
    opacity: 0.17;
  }

  .sector-solar-system .sector-core-copy small {
    color: #ffffff8a;
    font-size: 8px;
  }

  .sector-solar-system .sector-core-copy>span {
    color: #fff6;
    letter-spacing: 0.18em;
    margin: 10px 0 4px;
    font-size: 19px;
  }

  .sector-solar-system .sector-core-copy strong {
    font-size: 22px;
    line-height: 1.42;
  }

  .sector-solar-system .sector-core-copy b {
    color: #ffffffc2;
    background: #060a297a;
    border: 1px solid #ffffff17;
    border-radius: 999px;
    justify-content: center;
    min-height: 29px;
    margin-top: 13px;
    padding: 5px 10px;
    font-size: 9px;
    line-height: 1.45;
  }

  .sector-solar-system .sector-card {
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    background:
      radial-gradient(circle at 12% 18%, #6a7cff2e, #0000 30%),
      linear-gradient(112deg, #262f70db, #131947c2);
    border-color: #ffffff2b;
    border-radius: 10px;
    width: 266px;
    min-height: 88px;
    padding: 13px 16px;
    box-shadow:
      0 18px 48px #02051847,
      inset 0 1px #ffffff09;
  }

  .sector-solar-system .sector-card:before {
    background: linear-gradient(90deg, var(--red), #7080ed 48%, transparent);
    opacity: 0.45;
    height: 2px;
    inset: 0 14px auto;
  }

  .sector-solar-system .sector-card:after {
    background: radial-gradient(circle, #ffffff38, #6679ff14 38%, #0000 70%);
  }

  .sector-solar-system .sector-card:hover,
  .sector-solar-system .sector-card:focus-visible,
  .sector-solar-system .sector-card.is-active {
    background:
      radial-gradient(circle at 14% 20%, #ec1c2433, #0000 34%),
      linear-gradient(112deg, #404fc0c7, #161d52e6);
    border-color: #7d8cffdb;
    transform: translateY(-4px) scale(1.018);
    box-shadow:
      0 22px 54px #0205186b,
      0 0 0 1px #5d6ff52b,
      0 0 34px #5267ff29,
      inset 0 0 28px #5267ff21;
  }

  .sector-solar-system .sector-card.is-active:before {
    opacity: 1;
  }

  .sector-solar-system .sector-card-number {
    color: #fff;
    background: radial-gradient(circle at 38% 34%,
        #fff 0 5%,
        #7f90ff 7%,
        #3345b3 52%,
        #171e63 100%);
    border: 1px solid #ffffff47;
    width: 42px;
    height: 42px;
    box-shadow:
      0 0 0 6px #5d6ff514,
      0 0 20px #5d6ff561;
  }

  .sector-solar-system .sector-card.is-active .sector-card-number {
    background: radial-gradient(circle at 38% 34%,
        #fff 0 5%,
        #ff6570 7%,
        #ec1c24 48%,
        #72101a 100%);
    border-color: #ffffff9e;
    box-shadow:
      0 0 0 7px #ec1c2414,
      0 0 24px #ec1c24ad;
  }

  .sector-solar-system .sector-card-copy small {
    color: #ffffff6b;
  }

  .sector-solar-system .sector-card-copy b {
    font-size: 13px;
    line-height: 1.5;
  }

  .sector-solar-system .sector-card-port {
    background: #7c8cff;
    border: 3px solid #0c1138;
    width: 16px;
    height: 16px;
    box-shadow:
      0 0 0 4px #7282ff1a,
      0 0 17px #7282ffa8;
  }

  .sector-solar-system .sector-card.is-active .sector-card-port {
    box-shadow:
      0 0 0 1px #ffffff61,
      0 0 0 7px #ec1c2414,
      0 0 24px #ec1c24f2;
  }

  .sector-solar-system .sector-1 {
    top: 64px;
    right: 42px;
  }

  .sector-solar-system .sector-2 {
    top: 219px;
    right: -2px;
  }

  .sector-solar-system .sector-3 {
    bottom: 218px;
    right: -2px;
  }

  .sector-solar-system .sector-4 {
    bottom: 63px;
    right: 42px;
  }

  .sector-solar-system .sector-5 {
    bottom: 63px;
    left: 42px;
  }

  .sector-solar-system .sector-6 {
    bottom: 218px;
    left: -2px;
  }

  .sector-solar-system .sector-7 {
    top: 219px;
    left: -2px;
  }

  .sector-solar-system .sector-8 {
    top: 64px;
    left: 42px;
  }

  .sector-solar-system .sector-1 .sector-card-port,
  .sector-solar-system .sector-2 .sector-card-port,
  .sector-solar-system .sector-3 .sector-card-port,
  .sector-solar-system .sector-4 .sector-card-port {
    top: calc(50% - 8px);
    left: -9px;
  }

  .sector-solar-system .sector-5 .sector-card-port,
  .sector-solar-system .sector-6 .sector-card-port,
  .sector-solar-system .sector-7 .sector-card-port,
  .sector-solar-system .sector-8 .sector-card-port {
    top: calc(50% - 8px);
    right: -9px;
  }

  .sector-solar-system .sector-system-foot {
    background: #080c2f7a;
    border: 1px solid #ffffff12;
    border-radius: 999px;
    padding: 8px 14px;
    bottom: -1px;
  }

  @media (width<=1280px) and (width>=921px) {
    .sector-solar-system {
      max-width: 1080px;
    }

    .sector-solar-system .sector-card {
      width: 244px;
    }

    .sector-solar-system .sector-1,
    .sector-solar-system .sector-4 {
      right: 12px;
    }

    .sector-solar-system .sector-5,
    .sector-solar-system .sector-8 {
      left: 12px;
    }
  }

  @media (width<=920px) {
    .sectors {
      min-height: auto;
    }

    .sector-solar-system {
      height: auto;
      margin-top: 46px;
      padding-bottom: 34px;
    }

    .sector-solar-system:before {
      width: min(760px, 138vw);
      height: 450px;
      top: 246px;
    }

    .sector-solar-system:after {
      top: 246px;
    }

    .sector-solar-system .sector-system-head {
      width: fit-content;
      margin-inline: auto;
    }

    .sector-solar-system .sector-network {
      width: min(760px, 140vw);
      height: 430px;
      inset: 36px auto auto 50%;
      transform: translate(-50%);
    }

    .sector-solar-system .sector-feed {
      display: none;
    }

    .sector-solar-system .sector-core {
      width: 226px;
      height: 226px;
      margin: 80px auto 78px;
    }

    .sector-solar-system .sector-cards {
      grid-template-columns: 1fr 1fr;
      gap: 12px;
      display: grid;
    }

    .sector-solar-system .sector-card,
    .sector-solar-system .sector-1,
    .sector-solar-system .sector-2,
    .sector-solar-system .sector-3,
    .sector-solar-system .sector-4,
    .sector-solar-system .sector-5,
    .sector-solar-system .sector-6,
    .sector-solar-system .sector-7,
    .sector-solar-system .sector-8 {
      width: 100%;
      min-height: 94px;
      position: relative;
      inset: auto;
    }

    .sector-solar-system .sector-card .sector-card-port,
    .sector-solar-system .sector-system-foot {
      display: none;
    }
  }

  @media (width<=560px) {
    .sector-solar-system .sector-system-head {
      gap: 7px;
      padding-inline: 10px;
      font-size: 7px;
    }

    .sector-solar-system .sector-system-head i {
      width: 20px;
    }

    .sector-solar-system .sector-network {
      width: 680px;
      height: 360px;
      top: 52px;
    }

    .sector-solar-system:before {
      height: 390px;
      top: 232px;
    }

    .sector-solar-system:after {
      top: 232px;
    }

    .sector-solar-system .sector-core {
      width: 202px;
      height: 202px;
      margin: 72px auto 62px;
    }

    .sector-solar-system .sector-core-copy strong {
      font-size: 19px;
    }

    .sector-solar-system .sector-core-copy b {
      max-width: 164px;
    }

    .sector-solar-system .sector-cards {
      grid-template-columns: 1fr;
    }
  }


  /* ═══════════════════════════════════════════════════════════
   FIX: #sectors-solar — تصحيح التعارضات مع Bootstrap
   ═══════════════════════════════════════════════════════════ */

  /* Override Bootstrap container and heading color within sectors-solar */
  #sectors-solar {
    position: relative;
    overflow: hidden;
    padding: 5rem 0 0;
    color: #fff !important;
  }

  /* Allow the container inside #sectors-solar to go full width for the system diagram */
  #sectors-solar .container {
    max-width: 100% !important;
    width: 100% !important;
    padding-left: 15px;
    padding-right: 15px;
    overflow: visible !important;
  }

  /* Section heading block still respects normal width */
  #sectors-solar .section-heading.centered {
    max-width: 900px;
    margin-inline: auto;
    padding-inline: 15px;
  }

  /* Override Bootstrap/other CSS colors for headings inside #sectors-solar */
  #sectors-solar h2,
  #sectors-solar p,
  #sectors-solar .section-heading h2 {
    color: #fff !important;
  }

  /* The solar system diagram goes full max-width, not limited by container */
  #sectors-solar .sector-system.sector-solar-system {
    max-width: 1240px !important;
    width: 100%;
    height: 790px;
    margin: 26px auto 0;
    position: relative;
    overflow: visible !important;
  }

  /* Ensure sector-grid-bg and decorative elements are positioned to section */
  #sectors-solar .sector-grid-bg,
  #sectors-solar .sector-corner-image,
  #sectors-solar .sector-ambient {
    position: absolute;
  }

  /* Fix eyebrow color in sectors */
  #sectors-solar .eyebrow {
    color: #fff !important;
  }

  #sectors-solar .eyebrow span {
    background: #ec1c24 !important;
  }

  /* Ensure the SVG orbit network overflows visibly */
  #sectors-solar .sector-network {
    overflow: visible;
  }

  /* Fix h2 line-height to match source */
  #sectors-solar .section-heading h2 {
    font-size: clamp(2rem, 3.2vw, 2.8rem);
    line-height: 1.4;
    margin-bottom: 1rem;
  }

  /* Dark mode override: keep sections dark regardless */
  html[data-bs-theme="dark"] #sectors-solar,
  html[data-bs-theme="light"] #sectors-solar {
    background:
      radial-gradient(at 50% 62%, #4657dc4d, #0000 34%),
      radial-gradient(circle at 15% 32%, #ec1c241a, #0000 22%),
      linear-gradient(145deg, #070b2c 0%, #101640 48%, #080d31 100%) !important;
    color: #fff !important;
  }


  /* ═══ FINAL FIX: #sectors-solar full-width system diagram ═══ */

  /* sector-system outside container — needs explicit positioning and full-width */
  #sectors-solar>.sector-system {
    margin-left: auto;
    margin-right: auto;
    padding-left: 0;
    padding-right: 0;
  }

  /* Fix: section needs position:relative for all absolutely positioned children */
  #sectors-solar {
    position: relative !important;
    overflow: hidden !important;
  }

  /* Ensure sector-grid-bg, corner image, and ambients attach to section */
  #sectors-solar>.sector-grid-bg {
    position: absolute;
    inset: 0;
  }

  /* Padding for the heading area */
  #sectors-solar>.container {
    padding-top: 0;
    padding-bottom: 0;
  }

  /* sector-system-head at the top center of the diagram */
  #sectors-solar .sector-system-head {
    z-index: 6;
  }

}

/* =========================================================
   FIX — SECTOR SOLAR SYSTEM
   إزالة المساحة السوداء وإظهار المسارات
   ========================================================= */

.sector-solar-system {
  position: relative;
  overflow: hidden;

  /* الخلفية المطلوبة */
  background:
    radial-gradient(ellipse at 50% 50%,
      rgba(67, 84, 190, 0.28) 0%,
      rgba(20, 29, 83, 0.20) 35%,
      rgba(7, 12, 43, 0.05) 70%,
      transparent 100%) !important;
}

/* الـ SVG نفسه لا يكون له خلفية سوداء */
.sector-solar-system .sector-network {
  position: absolute;
  inset: 0;

  width: 100%;
  height: 100%;

  background: transparent !important;
  background-color: transparent !important;

  z-index: 1;
  overflow: visible;
}

/* المدارات */
.sector-solar-system .solar-orbit-rail {
  fill: none !important;
  stroke: rgba(145, 158, 255, 0.38) !important;
  stroke-width: 1.4 !important;
  opacity: 1 !important;
}

.sector-solar-system .solar-orbit-current {
  fill: none !important;
  stroke: url(#solarOrbit) !important;
  stroke-width: 1.8 !important;
  opacity: 0.65 !important;
}

/* خطوط التوصيل من المركز */
.sector-solar-system .sector-feed-base {
  fill: none !important;
  stroke: rgba(170, 180, 255, 0.38) !important;
  stroke-width: 1.4 !important;
}

.sector-solar-system .sector-feed-current {
  fill: none !important;
  stroke: url(#sectorEnergy) !important;
  stroke-width: 2 !important;
}

/* النجوم */
.sector-solar-system .solar-star {
  fill: #fff !important;
  opacity: 0.8 !important;
}

/* المركز فوق المسارات */
.sector-solar-system .sector-core {
  position: absolute;
  z-index: 5;
}

/* البطاقات فوق كل شيء */
.sector-solar-system .sector-cards {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  z-index: 20 !important;
  pointer-events: none;
}

.sector-solar-system .sector-card {
  z-index: 21 !important;
  pointer-events: auto;
}

.sector-solar-system::before,
.sector-solar-system::after,
.sector-network::before,
.sector-network::after {
  background: transparent !important;
  background-color: transparent !important;
  box-shadow: none !important;
}

/* =========================================================
   FIX — إزالة الحلقة السوداء حول الـ Core
   ========================================================= */

.sector-solar-system .solar-nucleus-glow {
  fill: url(#solarCore) !important;
  opacity: 0.22 !important;
}

.sector-solar-system .solar-corona-outer {
  fill: none !important;
  stroke: rgba(82, 103, 255, 0.38) !important;
  stroke-width: 1.5 !important;
}

.sector-solar-system .solar-corona-inner {
  fill: none !important;
  stroke: rgba(82, 103, 255, 0.55) !important;
  stroke-width: 1.2 !important;
}







@media (max-width: 768px) {


  .sector-solar-system {
    position: relative !important;
    height: auto !important;
    min-height: 0 !important;

    padding: 0 0 50px !important;

    overflow: visible !important;
  }


  /* -----------------------------------------
       إخفاء خطوط الـ SVG على الموبايل
       ----------------------------------------- */

  .sector-solar-system .sector-network {
    display: none !important;
  }

  .sector-solar-system .sector-card-port {
    display: none !important;
  }


  /* -----------------------------------------
       حاوية الكروت
       ----------------------------------------- */

  .sector-solar-system .sector-cards {
    position: relative !important;

    inset: auto !important;

    width: 100% !important;
    height: auto !important;

    display: flex !important;
    flex-direction: column !important;

    /*
         * هذه هي المسافة الحقيقية بين الكروت
         */
    gap: 14px !important;

    margin: 0 !important;

    padding: 0 20px !important;

    z-index: 20 !important;

    pointer-events: auto !important;
  }


  /* -----------------------------------------
       جميع الكروت
       ----------------------------------------- */

  .sector-solar-system .sector-card,
  .sector-solar-system .sector-1,
  .sector-solar-system .sector-2,
  .sector-solar-system .sector-3,
  .sector-solar-system .sector-4,
  .sector-solar-system .sector-5,
  .sector-solar-system .sector-6,
  .sector-solar-system .sector-7,
  .sector-solar-system .sector-8 {

    position: relative !important;

    inset: auto !important;

    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;

    width: 100% !important;

    /*
         * لا تستخدم height ثابت
         * حتى لا يتم قص النص العربي
         */
    min-height: 94px !important;
    height: auto !important;

    margin: 0 !important;

    padding: 13px 16px !important;

    box-sizing: border-box !important;

    display: flex !important;
    align-items: center !important;

    text-align: right !important;

    overflow: visible !important;
  }


  /* -----------------------------------------
       منع تأثير Bootstrap على button
       ----------------------------------------- */

  .sector-solar-system .sector-card {
    border-width: 1px !important;

    /*
         * المسافة بين محتوى الكرت وحدوده
         */
    gap: 12px !important;
  }


  /* -----------------------------------------
       رقم القطاع
       ----------------------------------------- */

  .sector-solar-system .sector-card-number {
    flex: 0 0 42px !important;

    width: 42px !important;
    height: 42px !important;

    min-width: 42px !important;
    min-height: 42px !important;

    display: flex !important;

    align-items: center !important;
    justify-content: center !important;

    margin: 0 !important;
  }


  /* -----------------------------------------
       نص الكرت
       ----------------------------------------- */

  .sector-solar-system .sector-card-copy {
    flex: 1 1 auto !important;

    min-width: 0 !important;

    display: flex !important;
    flex-direction: column !important;

    gap: 5px !important;

    text-align: right !important;
  }

  .sector-solar-system .sector-card-copy small {
    font-size: 8px !important;
    line-height: 1.4 !important;
  }

  .sector-solar-system .sector-card-copy b {
    font-size: 13px !important;
    line-height: 1.55 !important;

    white-space: normal !important;
  }


  /* -----------------------------------------
       الـ Core
       ----------------------------------------- */

  .sector-solar-system .sector-core {

    position: relative !important;

    top: auto !important;
    left: auto !important;

    transform: none !important;

    width: 220px !important;
    height: 220px !important;

    margin: 55px auto 55px !important;

    z-index: 5 !important;
  }


  /* -----------------------------------------
       ترتيب منطقي:

       1 → 4
       Core
       5 → 8

       بما أن Flex هو المسؤول عن الترتيب،
       لا نحتاج top لكل كرت.
       ----------------------------------------- */

  .sector-solar-system .sector-1,
  .sector-solar-system .sector-2,
  .sector-solar-system .sector-3,
  .sector-solar-system .sector-4,
  .sector-solar-system .sector-5,
  .sector-solar-system .sector-6,
  .sector-solar-system .sector-7,
  .sector-solar-system .sector-8 {
    order: initial !important;
  }


  /* -----------------------------------------
       الـ Footer
       ----------------------------------------- */

  .sector-solar-system .sector-system-foot {
    display: none !important;
  }


  /* -----------------------------------------
       منع أي pseudo element من قص الكروت
       ----------------------------------------- */

  .sector-solar-system::before,
  .sector-solar-system::after {
    pointer-events: none !important;
  }
}


/* =========================================================
   SMALL MOBILE
   ========================================================= */

@media (max-width: 560px) {

  .sector-solar-system {
    padding-bottom: 45px !important;
  }

  .sector-solar-system .sector-cards {
    gap: 12px !important;
    padding-inline: 16px !important;
  }

  .sector-solar-system .sector-card {
    min-height: 92px !important;
    padding: 12px 14px !important;
  }

  .sector-solar-system .sector-card-number {
    flex-basis: 40px !important;

    width: 40px !important;
    height: 40px !important;

    min-width: 40px !important;
    min-height: 40px !important;
  }

  .sector-solar-system .sector-card-copy b {
    font-size: 12px !important;
    line-height: 1.55 !important;
  }

  .sector-solar-system .sector-core {
    width: 202px !important;
    height: 202px !important;

    margin: 50px auto 50px !important;
  }
}

@media (max-width: 768px) {
  .d-flex.align-items-center.justify-content-center.gap-3.font-mono.flex-wrap span {
    color: #000 !important;
  }
}

@media (max-width: 768px) {
  .hero-video-controls {
    display: none !important;
  }
}

/* ═══════════════ PRODUCT FAMILY SUBPAGES ═══════════════ */

/* Product visual image container */
.family-visual-box {
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
}

.family-visual-box img {
  width: 100%;
  height: 380px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.family-visual-box:hover img {
  transform: scale(1.03);
}

/* Eyebrow label above page titles */
.eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--red-spark);
  font-family: var(--font-mono);
}

/* ═══════════════ UNIFIED DARK HERO SECTIONS ═══════════════ */
.page-hero,
.projects-hero,
.blueprint {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #060d22 0%, #0f1e4a 45%, #0b1535 100%) !important;
  color: #ffffff !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

/* Circuit lines hero background */
.page-hero::before,
.projects-hero::before,
.blueprint::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' viewBox='0 0 80 80'%3E%3Cg fill='none' stroke='%231b38b3' stroke-width='0.8' opacity='0.25'%3E%3Crect x='10' y='10' width='60' height='60' rx='2'/%3E%3Cline x1='10' y1='40' x2='0' y2='40'/%3E%3Cline x1='70' y1='40' x2='80' y2='40'/%3E%3Cline x1='40' y1='10' x2='40' y2='0'/%3E%3Cline x1='40' y1='70' x2='40' y2='80'/%3E%3Ccircle cx='10' cy='10' r='3' fill='%231b38b3'/%3E%3Ccircle cx='70' cy='10' r='3' fill='%231b38b3'/%3E%3Ccircle cx='10' cy='70' r='3' fill='%231b38b3'/%3E%3Ccircle cx='70' cy='70' r='3' fill='%231b38b3'/%3E%3Ccircle cx='40' cy='40' r='4' fill='%23e63946' opacity='0.8'/%3E%3C/g%3E%3C/svg%3E") !important;
  background-size: 80px 80px !important;
  opacity: 0.5 !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* Red glow right side */
.page-hero::after,
.projects-hero::after,
.blueprint::after {
  content: '' !important;
  position: absolute !important;
  top: -10% !important;
  left: -5% !important;
  width: 55% !important;
  height: 120% !important;
  background: radial-gradient(ellipse, rgba(230,57,70,0.14) 0%, transparent 65%) !important;
  pointer-events: none !important;
  z-index: 1 !important;
}

/* Ensure container content displays above overlays */
.page-hero .container,
.projects-hero .container,
.blueprint .container {
  position: relative !important;
  z-index: 2 !important;
}

/* Blueprint text color alignment for dark background */
.blueprint .eyebrow {
  display: inline-block !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.12em !important;
  text-transform: uppercase !important;
  color: #e63946 !important;
  background: rgba(230,57,70,0.1) !important;
  border: 1px solid rgba(230,57,70,0.3) !important;
  border-radius: 999px !important;
  padding: 0.3rem 1rem !important;
  margin-bottom: 1.25rem !important;
}

.blueprint h1,
.blueprint h2,
.blueprint p,
.blueprint .lead,
.blueprint .text-muted {
  color: #ffffff !important;
}

.blueprint .lead,
.blueprint .text-muted {
  color: rgba(255, 255, 255, 0.72) !important;
}

/* About page hero isolation style */
.page-hero-about {
  position: relative !important;
  overflow: hidden !important;
  background: linear-gradient(135deg, #1b38b3 0%, #122880 100%) !important;
  color: #ffffff !important;
  padding: 6rem 0 4rem !important;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08) !important;
}

.page-hero-about::before {
  content: '' !important;
  position: absolute !important;
  inset: 0 !important;
  background: repeating-linear-gradient(-45deg,
      transparent,
      transparent 40px,
      rgba(255, 255, 255, 0.015) 40px,
      rgba(255, 255, 255, 0.015) 80px) !important;
  opacity: 1 !important;
  z-index: 1 !important;
}

.page-hero-about::after {
  display: none !important;
}

.page-hero-about .container {
  position: relative !important;
  z-index: 2 !important;
}