:root {
  --navy: #060d1f;
  --navy-2: #0c1733;
  --blue: #2563eb;
  --blue-hover: #1d4ed8;
  --cyan: #38bdf8;
  --white: #ffffff;
  --tint: #f4f7fb;
  --ink: #0f172a;
  --slate: #475569;
  --border-light: rgba(15, 23, 42, 0.09);
  --border-dark: rgba(255, 255, 255, 0.12);
  --radius: 16px;
  --font-display: 'Space Grotesk', 'Inter', 'Noto Sans Arabic', sans-serif;
  --font-body: 'Inter', 'Noto Sans Arabic', system-ui, sans-serif;
}

html[dir="rtl"] body, html[dir="rtl"] h1, html[dir="rtl"] h2, html[dir="rtl"] h3 {
  font-family: 'Noto Sans Arabic', sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--white);
  color: var(--ink);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
.container { width: min(1240px, 92vw); margin-inline: auto; }

/* Modern Precision Header */
.header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(6, 13, 31, 0.78);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border-dark);
}
.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 1.5rem; height: 76px;
}
.logo { display: flex; align-items: center; gap: 0.8rem; color: var(--white); }
.logo-icon {
  width: 38px; height: 38px; border-radius: 10px;
  display: grid; place-items: center;
  background: linear-gradient(135deg, #2563eb, #0ea5e9);
  color: var(--white);
  box-shadow: 0 6px 20px rgba(37, 99, 235, 0.35);
}
.logo-copy { display: flex; flex-direction: column; line-height: 1.1; }
.logo-copy strong { font-family: var(--font-display); font-size: 1rem; letter-spacing: 0.08em; }
.logo-copy small { font-size: 0.68rem; color: var(--cyan); letter-spacing: 0.1em; font-weight: 500; }

.nav { display: flex; align-items: center; gap: 1.8rem; font-size: 0.88rem; font-weight: 500; color: rgba(255,255,255,0.72); }
.nav a { transition: color .2s; }
.nav a:hover, .nav a.active { color: var(--white); }

.header-right { display: flex; align-items: center; gap: 0.75rem; }
.lang-bar {
  display: inline-flex; padding: 3px; border-radius: 999px;
  background: rgba(255,255,255,0.08); border: 1px solid var(--border-dark);
}
.lang-bar button {
  background: transparent; border: 0; color: rgba(255,255,255,0.72);
  font-family: var(--font-body); font-size: 0.72rem; font-weight: 700;
  padding: 0.34rem 0.62rem; border-radius: 999px; cursor: pointer; transition: all .2s;
}
.lang-bar button.active { background: var(--blue); color: var(--white); }
.menu-toggle {
  display: none; background: rgba(255,255,255,0.08); border: 1px solid var(--border-dark);
  color: var(--white); border-radius: 10px; padding: 0.42rem 0.72rem; cursor: pointer;
}

/* High-Tech Corporate Hero */
.hero {
  position: relative; min-height: 92vh;
  display: flex; align-items: center;
  padding: 132px 0 84px;
  background: var(--navy); color: var(--white);
  overflow: hidden;
}
.hero-compact { min-height: 76vh; }
.hero-media { position: absolute; inset: 0; z-index: 0; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; opacity: 0.38; }
.hero-veil {
  position: absolute; inset: 0;
  background:
    radial-gradient(circle at 82% 18%, rgba(56, 189, 248, 0.24), transparent 42%),
    radial-gradient(circle at 18% 82%, rgba(37, 99, 235, 0.22), transparent 45%),
    linear-gradient(120deg, rgba(6, 13, 31, 0.94) 0%, rgba(6, 13, 31, 0.78) 55%, rgba(6, 13, 31, 0.58) 100%);
}
.tech-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.04) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, rgba(0,0,0,0.7), transparent 88%);
}
.hero-inner { position: relative; z-index: 2; max-width: 860px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 0.55rem;
  padding: 0.42rem 0.95rem; border-radius: 999px;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.32);
  color: #bae6fd; font-size: 0.78rem; font-weight: 600; letter-spacing: 0.08em;
  margin-bottom: 1.5rem;
}
.hero-badge .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--cyan); box-shadow: 0 0 10px var(--cyan);
}
h1 {
  font-family: var(--font-display);
  font-size: clamp(2.4rem, 5.2vw, 4.3rem);
  font-weight: 700; line-height: 1.07; letter-spacing: -0.03em; margin: 0;
}
.hero-lead {
  margin: 1.4rem 0 0; font-size: 1.1rem; color: rgba(255,255,255,0.78); max-width: 60ch;
}

.cta-row { display: flex; flex-wrap: wrap; gap: 0.9rem; margin-top: 2.2rem; }
.btn {
  display: inline-flex; align-items: center; justify-content: center;
  padding: 0.92rem 1.7rem; border-radius: 12px;
  font-size: 0.9rem; font-weight: 600; cursor: pointer;
  transition: transform .2s, background .2s, box-shadow .2s, border-color .2s;
}
.btn:hover { transform: translateY(-2px); }
.btn-primary {
  background: linear-gradient(135deg, #2563eb, #0284c7); color: var(--white);
  box-shadow: 0 10px 28px rgba(37, 99, 235, 0.35);
}
.btn-primary:hover { box-shadow: 0 14px 34px rgba(37, 99, 235, 0.5); }
.btn-ghost {
  background: rgba(255,255,255,0.08); border: 1px solid rgba(255,255,255,0.2);
  color: var(--white); backdrop-filter: blur(10px);
}
.btn-ghost:hover { border-color: var(--cyan); background: rgba(56,189,248,0.12); }
.btn-outline-light {
  border: 1px solid var(--border-light); color: var(--ink); background: var(--white);
}
.btn-outline-light:hover { border-color: var(--blue); color: var(--blue); }

.kpi-strip {
  display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 1.25rem;
  margin-top: 3.4rem; padding: 1.4rem 1.7rem;
  border-radius: var(--radius);
  background: rgba(12, 23, 51, 0.68);
  border: 1px solid rgba(255,255,255,0.12);
  backdrop-filter: blur(18px);
}
.kpi strong {
  display: block; font-family: var(--font-display); font-size: 1.7rem;
  background: linear-gradient(90deg, #ffffff, #7dd3fc);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.kpi span { font-size: 0.8rem; color: rgba(255,255,255,0.68); }

/* Sections */
.section { padding: clamp(4.5rem, 8vw, 7rem) 0; }
.section-light { background: var(--white); }
.section-tint { background: var(--tint); border-top: 1px solid var(--border-light); border-bottom: 1px solid var(--border-light); }
.section-navy { background: var(--navy); color: var(--white); }

.tag {
  display: inline-block; font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em;
  color: var(--blue); text-transform: uppercase; margin-bottom: 0.75rem;
}
.tag-light { color: var(--cyan); }
h2 { font-family: var(--font-display); font-size: clamp(1.9rem, 3.3vw, 2.8rem); line-height: 1.14; letter-spacing: -0.025em; margin: 0; }
h3 { font-family: var(--font-display); font-size: 1.32rem; line-height: 1.25; margin: 0; }
.text-white { color: var(--white); }
.section-top { display: flex; flex-wrap: wrap; align-items: flex-end; justify-content: space-between; gap: 1.5rem; margin-bottom: 3rem; }
.section-note { max-width: 52ch; color: var(--slate); margin: 0; }
.body-lg { color: var(--slate); font-size: 1rem; margin: 1.1rem 0 0; max-width: 58ch; }
.body-dark { color: rgba(255,255,255,0.74); font-size: 1rem; margin: 1rem 0 0; max-width: 54ch; }

/* Sector Cards (Crisp White Corporate Elevation) */
.sector-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 1.75rem; }
.sector-card {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.04);
  transition: transform .28s ease, box-shadow .28s ease, border-color .28s ease;
}
.sector-card:hover { transform: translateY(-5px); border-color: rgba(37, 99, 235, 0.35); box-shadow: 0 24px 48px rgba(15, 23, 42, 0.1); }
.sector-photo { position: relative; aspect-ratio: 16 / 10; overflow: hidden; background: #0c1733; }
.sector-photo img { width: 100%; height: 100%; object-fit: cover; transition: transform .5s ease; }
.sector-card:hover .sector-photo img { transform: scale(1.05); }
.sector-num {
  position: absolute; top: 1rem; inset-inline-end: 1rem;
  width: 36px; height: 36px; border-radius: 10px; display: grid; place-items: center;
  background: rgba(6, 13, 31, 0.78); backdrop-filter: blur(8px);
  color: var(--cyan); font-family: var(--font-display); font-size: 0.8rem; font-weight: 700;
}
.sector-body { padding: 1.8rem; display: flex; flex-direction: column; flex: 1; }
.sector-cat { font-size: 0.72rem; font-weight: 700; letter-spacing: 0.14em; color: var(--blue); margin-bottom: 0.45rem; }
.sector-body p { color: var(--slate); font-size: 0.94rem; margin: 0.7rem 0 1.25rem; }
.chips { display: flex; flex-wrap: wrap; gap: 0.45rem; margin-bottom: 1.4rem; }
.chips span {
  font-size: 0.76rem; font-weight: 500; color: var(--ink);
  background: var(--tint); border: 1px solid var(--border-light);
  padding: 0.3rem 0.68rem; border-radius: 8px;
}
.link-arrow { margin-top: auto; font-size: 0.88rem; font-weight: 700; color: var(--blue); }
.link-arrow:hover { color: var(--blue-hover); }

/* 3-Column Item Cards */
.card-grid-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 1.5rem; }
.item-card {
  background: var(--white); border: 1px solid var(--border-light); border-radius: var(--radius);
  overflow: hidden; box-shadow: 0 4px 18px rgba(15, 23, 42, 0.04);
  transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}
.item-card:hover { transform: translateY(-4px); border-color: rgba(37,99,235,0.35); box-shadow: 0 20px 40px rgba(15, 23, 42, 0.09); }
.item-img { position: relative; aspect-ratio: 4 / 3; overflow: hidden; background: #0c1733; }
.item-img img { width: 100%; height: 100%; object-fit: cover; }
.item-code {
  position: absolute; top: 0.85rem; inset-inline-end: 0.85rem;
  padding: 0.28rem 0.65rem; border-radius: 8px;
  background: rgba(6, 13, 31, 0.82); color: #bae6fd;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.06em;
}
.item-body { padding: 1.35rem 1.45rem; }
.item-body p { margin: 0.45rem 0 0; font-size: 0.88rem; color: var(--slate); }

/* Split & Pillars */
.split-2 { display: grid; grid-template-columns: 1.05fr 0.95fr; gap: 3.5rem; align-items: start; }
.align-center { align-items: center; }
.pillar-stack { display: grid; gap: 1rem; }
.pillar {
  display: flex; gap: 1.15rem; align-items: flex-start;
  padding: 1.4rem 1.5rem; border-radius: var(--radius);
  background: var(--white); border: 1px solid var(--border-light);
}
.pillar-idx {
  flex: 0 0 36px; height: 36px; border-radius: 10px;
  display: grid; place-items: center;
  background: rgba(37, 99, 235, 0.1); color: var(--blue);
  font-family: var(--font-display); font-size: 0.82rem; font-weight: 700;
}
.pillar h4 { margin: 0 0 0.3rem; font-size: 1.02rem; }
.pillar p { margin: 0; font-size: 0.88rem; color: var(--slate); }

/* Executive Contact Panel */
.info-card {
  padding: 2rem; border-radius: var(--radius);
  background: linear-gradient(155deg, rgba(18, 33, 68, 0.95), rgba(10, 20, 44, 0.95));
  border: 1px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 24px 50px rgba(0,0,0,0.3);
}
.info-top { margin-bottom: 1.25rem; }
.info-kicker { display: block; font-size: 0.72rem; font-weight: 700; letter-spacing: 0.16em; color: var(--cyan); margin-bottom: 0.35rem; }
.info-row {
  display: flex; justify-content: space-between; align-items: center; gap: 1rem;
  padding: 0.85rem 0; border-top: 1px solid var(--border-dark); font-size: 0.92rem;
}
.info-row span:first-child { color: rgba(255,255,255,0.62); }
.info-row a { color: var(--white); font-weight: 600; }
.info-row a:hover { color: var(--cyan); }

/* Footer */
.footer { background: #040916; color: rgba(255,255,255,0.62); border-top: 1px solid var(--border-dark); padding: 2rem 0; font-size: 0.85rem; }
.footer-inner { display: flex; flex-wrap: wrap; justify-content: space-between; align-items: center; gap: 1rem; }
.footer-nav { display: flex; gap: 1.5rem; }
.footer-nav a:hover { color: var(--cyan); }

/* Subtle scroll reveal */
.reveal { opacity: 0; transform: translateY(18px); transition: opacity .55s ease, transform .55s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }

@media (max-width: 980px) {
  .sector-grid, .split-2 { grid-template-columns: 1fr; }
  .card-grid-3 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .kpi-strip { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 760px) {
  .nav {
    display: none; position: absolute; top: 76px; inset-inline: 0;
    background: var(--navy); border-bottom: 1px solid var(--border-dark);
    flex-direction: column; padding: 1.5rem; gap: 1rem;
  }
  .nav.open { display: flex; }
  .menu-toggle { display: inline-flex; }
  .card-grid-3 { grid-template-columns: 1fr; }
}