/* ═══════════════════════════════════════════════════════════════
   ADVANCED EYE — Design System v2
   advancedeye.com.iq
═══════════════════════════════════════════════════════════════ */
@import url('https://fonts.googleapis.com/css2?family=Zain:wght@300;400;700;800;900&display=swap');

:root {
  --navy:       #0f2340;
  --navy2:      #162848;
  --mid:        #1e3f6e;
  --accent:     #1a3a5c;
  --steel:      #7aaed4;
  --steel2:     #9bc5e0;
  --steel-dim:  rgba(122,174,212,.12);
  --light:      #f4f6f9;
  --light2:     #e8edf5;
  --white:      #ffffff;
  --text:       #1a1a2e;
  --muted:      #4a5568;
  --subtle:     #718096;
  --border:     #d0d9e6;
  --border2:    rgba(255,255,255,.09);
  --radius:     4px;
  --radius-sm:  2px;
  --radius-lg:  6px;
  --shadow-xs:  0 1px 3px rgba(0,0,0,.06);
  --shadow:     0 1px 6px rgba(0,0,0,.08);
  --shadow-md:  0 3px 16px rgba(0,0,0,.11);
  --shadow-lg:  0 6px 28px rgba(0,0,0,.16);
  --transition: 0.2s ease;
  --header-h:   56px;
}

/* ── Reset ───────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }

body {
  font-family: 'Zain', 'Segoe UI', system-ui, sans-serif;
  color: var(--text);
  background: var(--light);
  line-height: 1.65;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a   { color: inherit; text-decoration: none; }

/* ── Typography ─────────────────────────────────────────── */
h1,h2,h3,h4,h5 { line-height: 1.2; letter-spacing: -.02em; font-weight: 700; }
h1 { font-size: clamp(1.9rem, 4.5vw, 3.2rem); font-weight: 800; }
h2 { font-size: clamp(1.45rem, 3vw, 2.1rem); }
h3 { font-size: 1.1rem; }
h4 { font-size: 0.93rem; }
p  { font-size: 0.94rem; color: var(--muted); line-height: 1.7; }

/* ── Layout ─────────────────────────────────────────────── */
.container  { max-width: 1200px; margin: 0 auto; padding: 0 clamp(20px, 5%, 60px); }
.section    { padding: 96px 0; }
.section-sm { padding: 64px 0; }
.section-dark { background: var(--navy); color: white; }
.section-dark p { color: #9bb5cc; }
.section-mid  { background: var(--navy2); color: white; }
.section-mid  p { color: #9bb5cc; }
.section-light { background: var(--light); }

@media (max-width: 768px) { .section { padding: 64px 0; } .section-sm { padding: 48px 0; } }

/* ── Grid ───────────────────────────────────────────────── */
.grid-2    { display: grid; grid-template-columns: 1fr 1fr; gap: 32px; align-items: start; }
.grid-3    { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.grid-4    { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; }
.grid-auto { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; }

@media (max-width: 1100px) { .grid-4 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 900px)  { .grid-2 { grid-template-columns: 1fr; } .grid-3 { grid-template-columns: repeat(2,1fr); } }
@media (max-width: 600px)  { .grid-3,.grid-4,.grid-auto { grid-template-columns: 1fr; } }

/* ── Section Header ─────────────────────────────────────── */
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .eyebrow {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--steel); margin-bottom: 12px;
}
.eyebrow {
  display: inline-block; font-size: 0.68rem; font-weight: 700;
  letter-spacing: .14em; text-transform: uppercase; color: var(--steel);
}
.section-header h2 { color: var(--navy); }
.section-dark .section-header h2, .section-mid .section-header h2 { color: white; }
.section-header p  { max-width: 580px; margin: 14px auto 0; font-size: 0.97rem; }

/* ══════════════════════════════════════════════════════════
   HEADER / NAV  — v6 (devopspoint inspired)
══════════════════════════════════════════════════════════ */

/* ── Bar ── */
.site-header {
  position: fixed; top: 0; left: 0; right: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background .3s, border-color .3s, box-shadow .3s;
  background: transparent;
  border-bottom: 1px solid transparent;
}
.site-header.scrolled {
  background: rgba(9, 18, 34, 0.94);
  backdrop-filter: blur(20px) saturate(160%);
  -webkit-backdrop-filter: blur(20px) saturate(160%);
  border-bottom-color: rgba(255,255,255,.06);
  box-shadow: 0 8px 40px rgba(0,0,0,.35);
}

[data-theme="light"] .site-header.scrolled {
  background: rgba(250, 251, 252, 0.94);
  border-bottom-color: rgba(0,0,0,.06);
  box-shadow: 0 4px 24px rgba(0,0,0,.06);
}

/* ── Inner — always LTR so logo=left, controls=right ── */
.header-inner {
  direction: ltr;
  height: 100%;
  max-width: 1200px; margin: 0 auto;
  padding: 0 clamp(16px, 4vw, 48px);
  display: flex; align-items: center;
  justify-content: space-between;
}

/* ── Logo ── */
.header-logo {
  display: flex; align-items: center; gap: 12px;
  flex-shrink: 0; text-decoration: none;
}
.header-logo img {
  height: 34px; width: auto;
  background: #fff; border-radius: 6px; padding: 3px 6px;
  display: block;
}
.header-logo .brand {
  display: flex; flex-direction: column;
  gap: 0; text-align: left;
}
.brand-name {
  font-size: 0.95rem; font-weight: 800;
  color: #fff; white-space: nowrap; line-height: 1.2;
  letter-spacing: -0.3px;
}
.brand-sub {
  font-size: 0.55rem; font-weight: 600;
  color: var(--steel); opacity: .9;
  white-space: nowrap; line-height: 1.25;
  letter-spacing: .04em;
}
.brand-sub-ar {
  font-size: 0.53rem; font-weight: 400;
  color: rgba(122,174,212,.55);
  white-space: nowrap; line-height: 1.25;
  display: block;
}

/* ── Centre nav ── */
.nav-links > ul {
  list-style: none; margin: 0; padding: 0;
  display: flex; align-items: center; gap: 28px;
}
.nav-links > ul > li {
  list-style: none;
  display: flex; align-items: center;
  position: relative;
}

/* Link / trigger shared style */
.nav-links > ul > li > a,
.nav-links > ul > li > .nav-dropdown-trigger {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 0;
  font-size: 0.88rem; font-weight: 500;
  color: rgba(255,255,255,.75);
  background: none; border: none;
  cursor: pointer; font-family: inherit;
  text-decoration: none; white-space: nowrap;
  position: relative;
  transition: color .2s;
}
.nav-links > ul > li > a::after,
.nav-links > ul > li > .nav-dropdown-trigger::after {
  content: '';
  position: absolute; bottom: -4px; left: 0;
  width: 0; height: 2px; border-radius: 1px;
  background: var(--steel);
  transition: width .25s ease;
}
.nav-links > ul > li > a:hover,
.nav-links > ul > li > .nav-dropdown-trigger:hover {
  color: #fff;
}
.nav-links > ul > li > a:hover::after,
.nav-links > ul > li > .nav-dropdown-trigger:hover::after,
.nav-links > ul > li > a.active::after,
.nav-links > ul > li > .nav-dropdown-trigger.active::after {
  width: 100%;
}
.nav-links > ul > li > a.active,
.nav-links > ul > li > .nav-dropdown-trigger.active {
  color: #fff;
}

/* ── Contact CTA ── */
.nav-links > ul > li > a.nav-cta {
  background: var(--steel);
  color: #061428;
  font-weight: 700;
  padding: 8px 20px;
  border-radius: 50px;
  transition: background .2s, box-shadow .2s, transform .2s;
  box-shadow: 0 2px 14px rgba(122,174,212,.22);
}
.nav-links > ul > li > a.nav-cta::after { display: none; }
.nav-links > ul > li > a.nav-cta:hover {
  background: var(--steel2);
  color: #061428;
  box-shadow: 0 4px 22px rgba(122,174,212,.40);
  transform: translateY(-1px);
}

/* ── Chevron (CSS-only triangle) ── */
.nav-dropdown-trigger .chev {
  display: inline-block; flex-shrink: 0;
  width: 0; height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid currentColor;
  opacity: .55;
  margin-top: 1px;
  transition: transform .2s ease, opacity .15s;
}
.nav-dropdown.open > .nav-dropdown-trigger .chev {
  transform: rotate(180deg); opacity: .9;
}

/* ── Dropdown ── */
.nav-dropdown { position: relative; }

.nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 12px); left: 0;
  min-width: 240px;
  list-style: none; margin: 0; padding: 6px;
  background: #0c1a2e;
  border: 1px solid rgba(122,174,212,.13);
  border-radius: 12px;
  box-shadow: 0 24px 64px rgba(0,0,0,.65),
              0 0 0 1px rgba(255,255,255,.03);
  z-index: 500;
  opacity: 0;
  transform: translateY(-6px) scale(.98);
  transform-origin: top left;
  pointer-events: none;
  transition: opacity .16s ease, transform .16s ease;
}
[dir="rtl"] .nav-dropdown-menu {
  left: auto; right: 0;
  transform-origin: top right;
}
.nav-dropdown.open .nav-dropdown-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: auto;
}

.nav-dropdown-menu li { list-style: none; }
.nav-dropdown-menu a {
  display: flex; align-items: center; gap: 10px;
  padding: 9px 13px;
  font-size: 0.85rem; font-weight: 500;
  color: rgba(185,215,240,.72);
  text-decoration: none; border-radius: 8px;
  transition: background .12s, color .12s;
}
[dir="rtl"] .nav-dropdown-menu a { flex-direction: row-reverse; }
.nav-dropdown-menu a:hover { background: rgba(255,255,255,.07); color: #fff; }
.nav-dropdown-menu a.active { color: var(--steel); background: rgba(122,174,212,.1); }
.dd-icon { font-size: 1rem; flex-shrink: 0; line-height: 1; }
.nav-dropdown-menu li + li { border-top: 1px solid rgba(255,255,255,.04); }

/* ── Controls (theme + lang + burger) ── */
.header-controls {
  display: flex; align-items: center; gap: 10px;
  flex-shrink: 0;
}

.theme-toggle {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
  cursor: pointer; padding: 0; flex-shrink: 0;
  transition: border-color .2s, color .2s, background .2s;
}
.theme-toggle:hover { border-color: var(--steel); color: var(--steel); background: rgba(255,255,255,.05); }
.icon-sun, .icon-moon { pointer-events: none; flex-shrink: 0; display: block; }
[data-theme="light"] .icon-moon { display: none; }
[data-theme="dark"]  .icon-sun  { display: none; }

.lang-toggle {
  display: inline-flex; align-items: center; gap: 3px;
  height: 36px; padding: 0 14px;
  border-radius: 50px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  color: rgba(255,255,255,.75);
  cursor: pointer; font-family: inherit;
  font-size: 0.75rem; font-weight: 700;
  transition: border-color .2s, color .2s, background .2s; flex-shrink: 0;
}
.lang-toggle:hover { border-color: var(--steel); color: var(--steel); background: rgba(255,255,255,.05); }
.lt-sep { opacity: .2; font-weight: 300; margin: 0 1px; }
[lang="ar"] .lang-toggle .lt-ar { color: var(--steel); }
[lang="ar"] .lang-toggle .lt-en { opacity: .35; }
[lang="en"] .lang-toggle .lt-en { color: var(--steel); }
[lang="en"] .lang-toggle .lt-ar { opacity: .35; }

/* Scrolled state controls */
.site-header.scrolled .theme-toggle,
.site-header.scrolled .lang-toggle { border-color: rgba(122,174,212,.2); }
[data-theme="light"] .site-header.scrolled .theme-toggle,
[data-theme="light"] .site-header.scrolled .lang-toggle { border-color: rgba(0,0,0,.1); color: var(--navy); }
[data-theme="light"] .site-header.scrolled .theme-toggle:hover,
[data-theme="light"] .site-header.scrolled .lang-toggle:hover { border-color: var(--steel); color: var(--steel); }
[data-theme="light"] .site-header.scrolled .nav-links > ul > li > a,
[data-theme="light"] .site-header.scrolled .nav-dropdown-trigger { color: var(--navy); }
[data-theme="light"] .site-header.scrolled .nav-links > ul > li > a:hover,
[data-theme="light"] .site-header.scrolled .nav-dropdown-trigger:hover { color: var(--steel); }
[data-theme="light"] .site-header.scrolled .brand-name { color: var(--navy); }
[data-theme="light"] .site-header.scrolled .brand-sub { color: var(--steel); }

/* ── Hamburger ── */
.nav-toggle {
  display: none;
  flex-direction: column; justify-content: center; align-items: center;
  gap: 5px; width: 36px; height: 36px;
  background: transparent;
  border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; cursor: pointer; padding: 0; flex-shrink: 0;
}
.nav-toggle span {
  display: block; width: 18px; height: 2px;
  background: rgba(255,255,255,.85); border-radius: 2px;
  transition: transform .22s ease, opacity .18s ease;
}
.nav-toggle:hover { border-color: var(--steel); }
.nav-toggle:hover span { background: var(--steel); }
[data-theme="light"] .site-header.scrolled .nav-toggle { border-color: rgba(0,0,0,.1); }
[data-theme="light"] .site-header.scrolled .nav-toggle span { background: var(--navy); }
[data-theme="light"] .site-header.scrolled .nav-toggle:hover { border-color: var(--steel); }
[data-theme="light"] .site-header.scrolled .nav-toggle:hover span { background: var(--steel); }
.nav-toggle.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-toggle.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ══════════════════════════════════════════════════════════
   MOBILE NAV  (≤ 960 px)
══════════════════════════════════════════════════════════ */
@media (max-width: 960px) {
  .nav-toggle { display: flex; }
  .nav-links { display: none; }

  .nav-links.open {
    display: flex;
    position: absolute;
    top: var(--header-h); left: 0; right: 0;
    flex-direction: column; align-items: stretch; justify-content: flex-start;
    background: rgba(9, 18, 34, 0.99);
    border-bottom: 1px solid rgba(255,255,255,.06);
    padding: 24px;
    gap: 16px;
  }
  [data-theme="light"] .nav-links.open { background: rgba(250, 251, 252, 0.99); border-bottom-color: rgba(0,0,0,.06); }

  .nav-links > ul {
    flex-direction: column; align-items: stretch;
    gap: 12px; width: 100%; overflow: visible;
  }
  .nav-links > ul > li {
    flex-direction: column; align-items: stretch; width: 100%;
  }
  .nav-links > ul > li > a,
  .nav-links > ul > li > .nav-dropdown-trigger {
    width: 100%; padding: 10px 0;
    border-radius: 0; font-size: 0.95rem;
    justify-content: space-between;
    color: #fff;
  }
  [data-theme="light"] .nav-links.open .nav-links > ul > li > a,
  [data-theme="light"] .nav-links.open .nav-dropdown-trigger { color: var(--navy); }
  [dir="rtl"] .nav-links > ul > li > a,
  [dir="rtl"] .nav-links > ul > li > .nav-dropdown-trigger { text-align: right; }
  .nav-links > ul > li > a.nav-cta {
    margin: 0; width: 100%;
    border-radius: 50px !important; justify-content: center;
    padding: 12px 20px;
  }

  /* inline dropdown in drawer */
  .nav-dropdown-menu {
    position: static; opacity: 1; transform: none;
    border: none; border-radius: 0; box-shadow: none;
    background: rgba(255,255,255,.03);
    padding: 0; max-height: 0; overflow: hidden;
    pointer-events: none;
    transition: max-height .3s ease;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    max-height: 420px; pointer-events: auto; padding: 4px 0 8px;
  }
  .nav-dropdown-menu a {
    padding: 10px 20px 10px 46px; border-radius: 0;
  }
  [dir="rtl"] .nav-dropdown-menu a {
    padding: 10px 46px 10px 20px;
  }
  .nav-dropdown-menu li + li { border-top: none; }
}

/* ══════════════════════════════════════════════════════════
   HERO
══════════════════════════════════════════════════════════ */
.hero {
  min-height: 100vh;
  background: var(--navy);
  position: relative;
  display: flex; align-items: center;
  padding: 0 0 56px;
  padding-top: calc(var(--header-h) + 12px);
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background-image: url('../assets/cover_earth.jpeg');
  background-size: cover; background-position: center 35%;
  opacity: 0.15;
}
.hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(125deg, rgba(11,23,40,.95) 0%, rgba(11,23,40,.75) 55%, rgba(22,40,72,.80) 100%);
}
.hero .container { position: relative; z-index: 2; }
.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}
.hero-text { max-width: 600px; }
.hero-visual {
  display: flex; align-items: center; justify-content: center;
  position: relative;
}
.hero-visual img {
  max-width: 100%;
  border-radius: 16px;
  box-shadow: 0 24px 80px rgba(0,0,0,.5);
}
.hero-eyebrow {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(122,174,212,.08); border: 1px solid rgba(122,174,212,.2);
  color: var(--steel); font-size: 0.75rem; font-weight: 600;
  padding: 7px 16px; border-radius: 50px; margin-bottom: 24px;
}
.hero h1 { color: white; margin-bottom: 18px; font-size: clamp(2.2rem, 4.5vw, 3.6rem); line-height: 1.1; }
.hero h1 span { color: var(--steel); }
.hero .tagline { font-size: 1.1rem; color: #b4cadf; margin-bottom: 8px; font-weight: 400; }
.hero .arabic  { font-size: 1.05rem; color: #7fa5c4; direction: rtl; margin-bottom: 36px; }
.hero-stats    { display: flex; flex-wrap: wrap; gap: 12px; margin-bottom: 40px; }
.hero-stat {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.09);
  border-radius: 8px; padding: 13px 18px; text-align: center; min-width: 100px;
}
.hero-stat .val { font-size: 1.55rem; font-weight: 800; color: #7aaed4; line-height: 1; }
.hero-stat .lbl { font-size: 0.62rem; text-transform: uppercase; letter-spacing: .07em; color: #607a92; margin-top: 5px; }
.hero-actions   { display: flex; flex-wrap: wrap; gap: 14px; }

@media (max-width: 992px) {
  .hero-content { grid-template-columns: 1fr; gap: 40px; }
  .hero-visual { order: -1; }
  .hero h1 { font-size: 2.6rem; }
}
@media (max-width: 600px) {
  .hero { padding-top: calc(var(--header-h) + 40px); }
  .hero h1 { font-size: 2.2rem; }
  .hero-stats  { gap: 8px; }
  .hero-stat   { min-width: calc(50% - 4px); flex: 1; }
}

/* ── BUTTONS ─────────────────────────────────────────────── */
.btn-primary, .btn-outline, .btn-outline-dark {
  display: inline-flex; align-items: center; justify-content: center;
  gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 0.9rem;
  padding: 13px 30px; border-radius: 50px;
  cursor: pointer; transition: all .2s; white-space: nowrap;
  text-decoration: none; border: none;
}
.btn-primary {
  background: linear-gradient(135deg, var(--steel), var(--steel2));
  color: #061428;
  box-shadow: 0 4px 20px rgba(122,174,212,.25);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 32px rgba(122,174,212,.35); color: #061428; }

.btn-outline {
  background: transparent; color: white; border: 2px solid rgba(255,255,255,.25);
}
.btn-outline:hover { background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.55); color: white; }

.btn-outline-dark {
  background: transparent; color: var(--navy); border: 2px solid var(--border);
}
.btn-outline-dark:hover { border-color: var(--steel); color: var(--steel); background: rgba(122,174,212,.05); }

/* scroll cue */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  z-index: 2; display: flex; flex-direction: column; align-items: center; gap: 6px;
  color: #607a92; font-size: 0.68rem; letter-spacing: .08em; text-transform: uppercase;
}
.scroll-dot { width: 22px; height: 34px; border: 2px solid rgba(255,255,255,.18); border-radius: 11px; position: relative; }
.scroll-dot::after {
  content:''; width: 4px; height: 7px; background: var(--steel);
  border-radius: 2px; position: absolute; top: 5px; left: 50%; transform: translateX(-50%);
  animation: scrollDot 1.9s infinite;
}
@keyframes scrollDot { 0%,100%{top:5px;opacity:1} 80%{top:15px;opacity:0} }

/* ══════════════════════════════════════════════════════════
   STATS STRIP
══════════════════════════════════════════════════════════ */
.stats-strip { background: var(--navy2); padding: 44px 0; }
.stats-strip .inner {
  display: flex; flex-wrap: wrap; justify-content: center;
}
.stat-block {
  flex: 1; min-width: 140px; max-width: 200px;
  text-align: center; padding: 16px 20px;
  border-right: 1px solid rgba(255,255,255,.07);
}
.stat-block:last-child { border-right: none; }
.stat-block .val { font-size: 2rem; font-weight: 800; color: var(--steel); line-height: 1.1; }
.stat-block .lbl { font-size: 0.67rem; color: #7fa5c4; text-transform: uppercase; letter-spacing: .07em; margin-top: 5px; }

@media (max-width: 600px) {
  .stats-strip .inner { gap: 0; }
  .stat-block { min-width: 50%; border-right: none; border-bottom: 1px solid rgba(255,255,255,.07); padding: 14px; }
  .stat-block:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.07); }
  .stat-block:last-child, .stat-block:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

/* ══════════════════════════════════════════════════════════
   BASE CARD
══════════════════════════════════════════════════════════ */
.card {
  background: white; border-radius: var(--radius);
  box-shadow: var(--shadow); border: 1px solid var(--border);
  overflow: hidden; transition: transform .22s, box-shadow .22s;
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.card-body  { padding: 28px; }
.card-icon  { font-size: 2rem; margin-bottom: 14px; }
.card-tag {
  display: inline-block; font-size: 0.63rem; font-weight: 700;
  background: var(--navy); color: white;
  padding: 3px 9px; border-radius: var(--radius-sm); margin-bottom: 10px;
  letter-spacing: .08em; text-transform: uppercase;
}
.card-tag.gold { background: var(--steel); color: var(--navy); }
.card h3 { color: var(--navy); margin-bottom: 8px; }
.card ul  { padding-left: 16px; margin-top: 8px; }
.card li  { font-size: 0.86rem; color: var(--muted); margin-bottom: 5px; }
.card-img { width: 100%; height: 210px; object-fit: cover; }

/* service card */
.service-card { border-top: 4px solid var(--mid); }
.service-card:hover { border-top-color: var(--steel); }

/* ══════════════════════════════════════════════════════════
   SERVICE CARDS (dark section) — devopspoint style
══════════════════════════════════════════════════════════ */
.svc-card {
  background: rgba(255,255,255,.045);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 16px; padding: 32px;
  display: flex; flex-direction: column;
  transition: background .22s, transform .22s, box-shadow .22s, border-color .22s;
  text-decoration: none; color: inherit;
  position: relative; overflow: hidden;
}
.svc-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: var(--gradient-svc, linear-gradient(135deg, var(--steel), var(--steel2)));
  opacity: 0; transition: opacity .22s;
}
.svc-card:hover {
  background: rgba(255,255,255,.075);
  transform: translateY(-4px);
  box-shadow: 0 10px 36px rgba(0,0,0,.28);
  border-color: rgba(255,255,255,.14);
}
.svc-card:hover::before { opacity: 1; }
.svc-card--gold   { --gradient-svc: linear-gradient(135deg, var(--steel), var(--steel2)); }
.svc-card--blue   { --gradient-svc: linear-gradient(135deg, #5b9bd5, #7aaed4); }
.svc-card--purple { --gradient-svc: linear-gradient(135deg, #8e44ad, #bb8fce); }
.svc-card--green  { --gradient-svc: linear-gradient(135deg, #27ae60, #58d68d); }
.svc-card--teal   { --gradient-svc: linear-gradient(135deg, #2980b9, #5dade2); }
.svc-card--lime   { --gradient-svc: linear-gradient(135deg, #16a085, #48c9b0); }

.svc-card .svc-icon-wrap {
  width: 52px; height: 52px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  background: var(--gradient-svc, linear-gradient(135deg, var(--steel), var(--steel2)));
  margin-bottom: 22px; font-size: 1.4rem; color: white;
}
.svc-card .svc-icon  { font-size: 1.6rem; margin-bottom: 0; }
.svc-card .svc-badge {
  display: inline-block; font-size: 0.6rem; font-weight: 700;
  padding: 3px 9px; border-radius: 4px; margin-bottom: 12px;
  letter-spacing: .08em; text-transform: uppercase; background: var(--svc-clr, var(--steel));
  color: white;
}
.svc-card--gold .svc-badge { color: var(--navy); }
.svc-card h3 { color: white; font-size: 1.15rem; margin-bottom: 12px; font-weight: 600; }
.svc-card .svc-desc { color: #9bb5cc; font-size: 0.88rem; flex: 1; line-height: 1.7; margin-bottom: 0; }
.svc-card ul { padding-left: 16px; color: #9bb5cc; font-size: 0.88rem; flex: 1; line-height: 1.7; }
.svc-card li { margin-bottom: 6px; }

/* Icon / badge reusable in any card */
.svc-icon-wrap {
  width: 52px; height: 52px; border-radius: 12px;
  display: inline-flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--steel), var(--steel2));
  margin-bottom: 18px; font-size: 1.4rem; color: white;
}
.svc-icon { font-size: 1.6rem; margin-bottom: 0; }
.svc-badge {
  display: inline-block; font-size: 0.6rem; font-weight: 700;
  padding: 3px 9px; border-radius: 4px; margin-bottom: 12px;
  letter-spacing: .08em; text-transform: uppercase; background: var(--steel);
  color: white;
}
.svc-card .svc-more {
  margin-top: 20px; font-size: 0.82rem; color: var(--steel);
  font-weight: 700; display: inline-flex; align-items: center; gap: 4px;
}

.client-logos {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-top: 32px;
}
.client-logo {
  display: flex; align-items: center; justify-content: center;
  padding: 20px 16px; border-radius: 12px;
  background: var(--white); border: 1px solid var(--border);
  font-size: 0.85rem; font-weight: 600; color: var(--navy);
  text-align: center; min-height: 80px;
  box-shadow: var(--shadow-xs);
}

/* ══════════════════════════════════════════════════════════
   PILLAR CARDS (philosophy / principles)
══════════════════════════════════════════════════════════ */
.pillar-card {
  background: rgba(255,255,255,.055);
  border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius-lg); padding: 36px 28px; text-align: center;
  transition: background .22s, transform .22s;
}
.pillar-card:hover { background: rgba(255,255,255,.08); transform: translateY(-2px); }
.pillar-icon { font-size: 2.4rem; margin-bottom: 16px; }
.pillar-badge {
  display: inline-block; font-size: 0.6rem; font-weight: 700;
  background: var(--steel); color: var(--navy);
  padding: 3px 10px; border-radius: var(--radius-sm); margin-bottom: 12px;
  letter-spacing: .08em; text-transform: uppercase;
}
.pillar-card h3 { color: white; margin-bottom: 10px; }
.pillar-card p  { color: #9bb5cc; font-size: 0.9rem; }

/* ══════════════════════════════════════════════════════════
   INFO CHIPS (overview badges)
══════════════════════════════════════════════════════════ */
.info-chips     { display: flex; flex-wrap: wrap; gap: 10px; }
.info-chip {
  display: flex; align-items: center; gap: 8px;
  background: var(--light); border: 1px solid var(--border);
  border-left: 4px solid var(--chip-clr, var(--steel));
  border-radius: var(--radius); padding: 11px 16px;
  font-size: 0.8rem; color: var(--navy); font-weight: 600;
}
.info-chip--gold  { --chip-clr: var(--steel); }
.info-chip--navy  { --chip-clr: var(--navy); }
.info-chip--mid   { --chip-clr: var(--mid); }

/* ══════════════════════════════════════════════════════════
   CTA BAND
══════════════════════════════════════════════════════════ */
.cta-band {
  background: var(--navy); padding: 80px 0;
  border-top: 1px solid rgba(255,255,255,.05);
  text-align: center;
}
.cta-band h2 { color: white; max-width: 580px; margin: 0 auto 14px; }
.cta-band p  { color: #9bb5cc; max-width: 500px; margin: 0 auto 32px; }
.cta-band .btn-group { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ══════════════════════════════════════════════════════════
   PARTNER CHIP
══════════════════════════════════════════════════════════ */
.partner-chip {
  background: rgba(255,255,255,.055); border: 1px solid rgba(255,255,255,.09);
  border-radius: var(--radius); padding: 9px 16px;
  font-size: 0.76rem; color: #9bb5cc; font-weight: 600;
  transition: all .2s;
}
.partner-chip:hover { background: rgba(122,174,212,.1); border-color: rgba(122,174,212,.3); color: var(--steel); }
.partner-chip-grid { display: flex; flex-wrap: wrap; gap: 10px; }

/* ══════════════════════════════════════════════════════════
   TIMELINE (satellite programme phases)
══════════════════════════════════════════════════════════ */
.timeline { display: flex; gap: 0; border-radius: var(--radius); overflow: hidden; }
.tl-phase {
  flex: 1; padding: 24px 20px; background: var(--light);
  border-right: 1px solid var(--border); position: relative;
}
.tl-phase:last-child { border-right: none; background: var(--navy2); }
.tl-num {
  width: 34px; height: 34px; border-radius: 50%;
  background: var(--navy); color: white;
  display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.88rem; margin-bottom: 12px;
}
.tl-phase:last-child .tl-num { background: var(--steel); color: var(--navy); }
.tl-phase h4  { font-size: 0.88rem; color: var(--navy); margin-bottom: 5px; }
.tl-phase:last-child h4 { color: white; }
.tl-phase p   { font-size: 0.8rem; color: var(--muted); }
.tl-phase:last-child p { color: #9bb5cc; }
.tl-cost { color: var(--mid); font-weight: 700; margin-top: 8px; font-size: 0.95rem; }
.tl-phase:last-child .tl-cost { color: var(--steel); font-size: 1.15rem; }

@media (max-width: 768px) {
  .timeline { flex-direction: column; }
  .tl-phase { border-right: none; border-bottom: 1px solid var(--border); }
  .tl-phase:last-child { border-bottom: none; }
}

/* ══════════════════════════════════════════════════════════
   TABLES
══════════════════════════════════════════════════════════ */
.table-wrap { overflow-x: auto; -webkit-overflow-scrolling: touch; border-radius: var(--radius); border: 1px solid var(--border); box-shadow: var(--shadow); }
.ae-table { width: 100%; border-collapse: collapse; font-size: 0.86rem; min-width: 560px; }
.ae-table th {
  background: var(--navy); color: white; padding: 11px 14px;
  text-align: left; font-size: 0.7rem; font-weight: 600;
  letter-spacing: .06em; text-transform: uppercase; white-space: nowrap;
}
.ae-table td { padding: 11px 14px; border-bottom: 1px solid var(--border); vertical-align: top; background: white; }
.ae-table tr:last-child td { border-bottom: none; }
.ae-table tr:nth-child(even) td { background: var(--light); }
.ae-table td strong { color: var(--navy); font-weight: 600; }
.ae-table .status-active { color: #16a34a; font-weight: 600; font-size: 0.82rem; }
.ae-table .status-prop   { color: var(--mid); font-size: 0.82rem; }

/* dark table */
.ae-table--dark td { background: rgba(255,255,255,.04); color: #c2d8ec; border-color: rgba(255,255,255,.07); }
.ae-table--dark tr:nth-child(even) td { background: rgba(255,255,255,.07); }

/* ══════════════════════════════════════════════════════════
   PAGE HERO (inner pages)
══════════════════════════════════════════════════════════ */
.page-hero {
  background: var(--navy);
  padding: calc(var(--header-h) + 30px) 0 68px;
  position: relative; overflow: hidden;
}
.page-hero-bg {
  position: absolute; inset: 0;
  background-size: cover; background-position: center; opacity: 0.13;
}
.page-hero-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(105deg, rgba(11,23,40,.96) 0%, rgba(22,40,72,.70) 100%);
}
.page-hero-content { position: relative; z-index: 2; }
.page-hero h1 { color: white; }
.page-hero p  { color: #b0c8dc; font-size: 1.02rem; max-width: 620px; margin-top: 12px; }
.breadcrumb {
  display: flex; align-items: center; gap: 7px; flex-wrap: wrap;
  font-size: 0.76rem; color: #506a84; margin-bottom: 16px;
}
.breadcrumb a { color: var(--steel); }
.breadcrumb .sep { color: #344a60; }

/* ══════════════════════════════════════════════════════════
   HIGHLIGHT BOX / CODE EXAMPLE
══════════════════════════════════════════════════════════ */
.highlight-box {
  background: var(--light); border: 1px solid var(--border);
  border-left: 4px solid var(--steel); border-radius: var(--radius);
  padding: 20px 24px;
}
.highlight-box .hl-label { font-size: 0.68rem; font-weight: 700; text-transform: uppercase; letter-spacing: .08em; color: var(--subtle); margin-bottom: 8px; }
.highlight-box .hl-code  { font-family: 'Courier New', monospace; font-size: 1.3rem; color: var(--navy); font-weight: 700; margin-bottom: 6px; }
.highlight-box .hl-desc  { font-size: 0.78rem; color: var(--muted); }

/* ══════════════════════════════════════════════════════════
   METRIC GRID (number display blocks)
══════════════════════════════════════════════════════════ */
.metric-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.metric-block {
  background: var(--navy); border-radius: var(--radius);
  padding: 22px 18px; text-align: center;
}
.metric-block .m-val { font-size: 1.9rem; font-weight: 800; color: var(--steel); line-height: 1.1; }
.metric-block .m-lbl { font-size: 0.67rem; text-transform: uppercase; letter-spacing: .07em; color: #7fa5c4; margin-top: 5px; }

/* ══════════════════════════════════════════════════════════
   CONTACT FORM & CARDS
══════════════════════════════════════════════════════════ */
.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 0.78rem; font-weight: 600; color: var(--navy); margin-bottom: 6px; letter-spacing: .03em; }
.form-group input, .form-group textarea, .form-group select {
  width: 100%; padding: 11px 13px;
  border: 1px solid var(--border); border-radius: var(--radius);
  font-size: 0.88rem; font-family: inherit; color: var(--text);
  background: white; transition: border-color .18s, box-shadow .18s;
  appearance: none;
}
.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(42,111,186,.10);
}
.form-group textarea { min-height: 120px; resize: vertical; }

.contact-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 18px; text-align: center;
  box-shadow: var(--shadow); transition: box-shadow .2s, transform .2s;
}
.contact-card:hover { transform: translateY(-2px); box-shadow: var(--shadow-md); }
.contact-card .cc-icon   { font-size: 1.7rem; margin-bottom: 10px; }
.contact-card .cc-role   { font-size: 0.65rem; text-transform: uppercase; letter-spacing: .08em; color: var(--subtle); margin-bottom: 6px; }
.contact-card .cc-name   { font-size: 0.97rem; font-weight: 700; color: var(--navy); margin-bottom: 6px; }
.contact-card .cc-detail { font-size: 0.83rem; color: var(--mid); line-height: 1.6; }

/* ══════════════════════════════════════════════════════════
   OPS CARDS (operations divisions)
══════════════════════════════════════════════════════════ */
.ops-card {
  background: white; border: 1px solid var(--border);
  border-radius: var(--radius); padding: 22px 20px;
  box-shadow: var(--shadow-xs);
}
.ops-card .ops-icon { font-size: 1.5rem; margin-bottom: 8px; }
.ops-card .ops-div  {
  font-size: 0.75rem; font-weight: 700; color: var(--navy);
  text-transform: uppercase; letter-spacing: .04em;
  padding-bottom: 8px; border-bottom: 2px solid var(--border); margin-bottom: 10px;
}
.ops-card ul { padding-left: 14px; }
.ops-card li { font-size: 0.81rem; color: var(--muted); margin-bottom: 5px; }

/* ══════════════════════════════════════════════════════════
   TEAM CARDS
══════════════════════════════════════════════════════════ */
.team-card {
  background: white; border-radius: var(--radius);
  border: 1px solid var(--border); padding: 28px 22px;
  text-align: center; box-shadow: var(--shadow);
  border-top: 4px solid var(--navy);
  transition: transform .22s, box-shadow .22s, border-top-color .22s;
}
.team-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-top-color: var(--steel); }
.team-avatar {
  width: 68px; height: 68px; border-radius: 50%;
  background: linear-gradient(135deg, var(--navy), var(--mid));
  margin: 0 auto 14px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.7rem;
}
.team-badge {
  display: inline-block; font-size: 0.62rem; font-weight: 700;
  background: var(--navy); color: white;
  padding: 3px 10px; border-radius: var(--radius-sm); margin-bottom: 7px;
  letter-spacing: .08em; text-transform: uppercase;
}
.team-title { font-size: 0.7rem; color: var(--subtle); text-transform: uppercase; letter-spacing: .06em; margin-bottom: 5px; }
.team-name  { font-size: 0.97rem; font-weight: 700; color: var(--navy); margin-bottom: 10px; }
.team-name.pending { font-style: italic; color: var(--subtle); font-weight: 400; font-size: 0.85rem; }
.team-desc  { font-size: 0.8rem; color: var(--muted); line-height: 1.65; }
.team-phone { margin-top: 14px; font-size: 0.78rem; color: var(--mid); font-weight: 600; line-height: 1.6; }

/* ══════════════════════════════════════════════════════════
   PHD ADVISORY BOARD
══════════════════════════════════════════════════════════ */
.phd-domain  { margin-bottom: 24px; border-radius: var(--radius); overflow: hidden; }
.phd-domain-header {
  color: white; font-size: 0.78rem; font-weight: 700;
  letter-spacing: .07em; text-transform: uppercase;
  padding: 11px 20px;
}
.phd-grid {
  display: grid; grid-template-columns: repeat(3,1fr);
  border: 1px solid var(--border); border-top: none;
}
@media (max-width:900px) { .phd-grid { grid-template-columns: 1fr 1fr; } }
@media (max-width:560px) { .phd-grid { grid-template-columns: 1fr; } }
.phd-card {
  background: white; padding: 20px 18px;
  border-right: 1px solid var(--border);
  border-top: 1px solid var(--border);
}
.phd-card:last-child { border-right: none; }
.phd-avatar-sm { font-size: 1.4rem; margin-bottom: 8px; }
.phd-name   { font-size: 0.88rem; font-weight: 700; color: var(--navy); margin-bottom: 3px; }
.phd-name.pending { font-style: italic; color: var(--subtle); font-weight: 400; font-size: 0.82rem; }
.phd-degree { font-size: 0.7rem; font-weight: 600; color: var(--mid); margin-bottom: 8px; }
.phd-spec   { font-size: 0.77rem; color: var(--muted); line-height: 1.55; margin-bottom: 10px; }
.phd-tags   { display: flex; flex-wrap: wrap; gap: 4px; }
.ptag {
  font-size: 0.62rem; font-weight: 600;
  background: var(--light); color: var(--navy);
  border: 1px solid var(--border);
  padding: 2px 8px; border-radius: var(--radius-sm);
}

/* ══════════════════════════════════════════════════════════
   FOOTER — devopspoint minimal bilingual style
══════════════════════════════════════════════════════════ */
.site-footer {
  background: #07101d; color: #607a92;
  padding: 48px 0 28px;
  border-top: 1px solid rgba(255,255,255,.04);
}
.footer-content {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 28px; flex-wrap: wrap; gap: 16px;
}
.footer-brand {
  display: flex; align-items: center; gap: 12px;
}
.footer-brand img {
  height: 34px; background: white; border-radius: 8px; padding: 4px 8px;
}
.footer-brand .footer-logo-text {
  font-size: 1.05rem; font-weight: 700; color: white;
}
.footer-brand .footer-tagline {
  font-size: 0.8rem; color: #607a92;
}
.footer-links {
  display: flex; gap: 28px;
}
.footer-links a {
  font-size: 0.85rem; color: #607a92; transition: color .18s;
}
.footer-links a:hover { color: var(--steel); }

.footer-bottom {
  text-align: center; padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,.05);
  display: flex; flex-direction: column; align-items: center;
  gap: 6px;
}
.footer-copyright {
  font-size: 0.82rem; color: #607a92;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
}
.footer-copyright .fc-en { font-weight: 600; color: white; }
.footer-copyright .fc-ar { color: var(--steel); font-weight: 600; }
.footer-copyright .fc-divider { color: var(--steel); font-weight: 300; }
.footer-rights,
.footer-location {
  font-size: 0.74rem; color: #607a92;
  display: flex; align-items: center; gap: 4px; flex-wrap: wrap;
}
.footer-rights .fc-dot,
.footer-location .fc-dot { color: var(--steel); margin: 0 4px; }

@media (max-width: 768px) {
  .footer-content { flex-direction: column; align-items: center; text-align: center; }
  .footer-brand { flex-direction: column; }
  .footer-links { flex-wrap: wrap; justify-content: center; }
}

/* ══════════════════════════════════════════════════════════
   BACK TO TOP
══════════════════════════════════════════════════════════ */
.back-to-top {
  position: fixed; bottom: 24px; right: 24px;
  width: 42px; height: 42px;
  background: var(--steel); color: var(--navy);
  border-radius: 50%; border: none; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem; font-weight: 800;
  box-shadow: 0 4px 16px rgba(122,174,212,.30);
  transition: opacity .25s, transform .22s, background .18s;
  opacity: 0; pointer-events: none; z-index: 999;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover   { background: var(--steel2); transform: translateY(-3px); }

/* ══════════════════════════════════════════════════════════
   ANIMATIONS — devopspoint style reveal
══════════════════════════════════════════════════════════ */
.fade-up, .reveal {
  opacity: 0; transform: translateY(24px);
  transition: opacity .6s cubic-bezier(.4,0,.2,1), transform .6s cubic-bezier(.4,0,.2,1);
}
.fade-up.visible, .reveal.visible {
  opacity: 1; transform: translateY(0);
}

/* Stagger delays for children */
.stagger > .fade-up:nth-child(1)  { transition-delay: .00s; }
.stagger > .fade-up:nth-child(2)  { transition-delay: .08s; }
.stagger > .fade-up:nth-child(3)  { transition-delay: .16s; }
.stagger > .fade-up:nth-child(4)  { transition-delay: .24s; }
.stagger > .fade-up:nth-child(5)  { transition-delay: .32s; }
.stagger > .fade-up:nth-child(6)  { transition-delay: .40s; }

/* ══════════════════════════════════════════════════════════
   UTILITIES
══════════════════════════════════════════════════════════ */
.gradient-text {
  background: linear-gradient(135deg, var(--steel), var(--steel2), #9bc5e0);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.section-badge {
  display: inline-block; font-size: 0.72rem; font-weight: 600;
  background: rgba(122,174,212,.06); border: 1px solid rgba(122,174,212,.15);
  padding: 6px 16px; border-radius: 50px;
  color: var(--steel); margin-bottom: 16px;
}
.text-gold    { color: var(--steel); }
.text-navy    { color: var(--navy); }
.text-muted   { color: var(--muted); }
.text-white   { color: white; }
.text-center  { text-align: center; }
.text-right   { text-align: right; }
.font-bold    { font-weight: 700; }

.mt-6  { margin-top: 6px; }
.mt-8  { margin-top: 8px; }
.mt-12 { margin-top: 12px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mt-32 { margin-top: 32px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-32 { margin-bottom: 32px; }
.gap-8 { gap: 8px; }

.divider { border: none; border-top: 1px solid var(--border); margin: 28px 0; }
.divider-dark { border-color: rgba(255,255,255,.07); }

.badge {
  display: inline-block; font-size: 0.62rem; font-weight: 700;
  padding: 3px 9px; border-radius: var(--radius-sm);
  letter-spacing: .07em; text-transform: uppercase;
}
.badge-navy   { background: var(--navy); color: white; }
.badge-gold   { background: var(--steel); color: var(--navy); }
.badge-mid    { background: var(--mid);  color: white; }
.badge-green  { background: #145a32;     color: white; }
.badge-purple { background: #4a1942;     color: white; }
.badge-teal   { background: #1a4f6e;     color: white; }

.img-cover { width: 100%; object-fit: cover; border-radius: var(--radius); }

.tag-list { display: flex; flex-wrap: wrap; gap: 6px; }
.tag-item {
  font-size: 0.75rem; font-weight: 600; padding: 5px 12px;
  border-radius: 20px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  color: #9bb5cc;
}
.tag-item:hover { background: rgba(122,174,212,.1); border-color: rgba(122,174,212,.25); color: var(--steel); }

/* ══════════════════════════════════════════════════════════
   DARK CARD PANEL
══════════════════════════════════════════════════════════ */
.dark-panel {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 28px;
}
.dark-panel h3 { color: white; margin-bottom: 14px; }
.dark-panel p  { color: #9bb5cc; }

/* ══════════════════════════════════════════════════════════
   ADVISORY NOTE
══════════════════════════════════════════════════════════ */
.advisory-note {
  background: rgba(122,174,212,.07);
  border: 1px solid rgba(122,174,212,.18);
  border-radius: var(--radius); padding: 22px 24px;
  margin-top: 32px; display: flex; gap: 16px; align-items: flex-start;
}
.advisory-note .an-icon { font-size: 1.7rem; flex-shrink: 0; }
.advisory-note strong   { color: white; font-size: 0.93rem; display: block; margin-bottom: 6px; }
.advisory-note p        { color: #9bb5cc; font-size: 0.82rem; }

/* ══════════════════════════════════════════════════════════
   MINI PANEL (dark section 4-col feature cards)
══════════════════════════════════════════════════════════ */
.mini-panel {
  background: rgba(255,255,255,.05);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius); padding: 22px;
  transition: background .2s;
}
.mini-panel:hover { background: rgba(255,255,255,.08); }
.mini-panel__icon { font-size: 1.8rem; margin-bottom: 10px; }
.mini-panel h4    { color: white; margin-bottom: 6px; }
.mini-panel p     { font-size: 0.82rem; color: #9bb5cc; }

/* ══════════════════════════════════════════════════════════
   INFO BOX (light / dark variants)
══════════════════════════════════════════════════════════ */
.info-box {
  border-radius: var(--radius); padding: 22px 24px;
}
.info-box--light {
  background: var(--light); border: 1px solid var(--border);
}
.info-box--light h4 { color: var(--navy); }
.info-box--light p  { font-size: 0.88rem; }
.info-box--dark {
  background: var(--navy); border: 1px solid rgba(255,255,255,.06);
}
.info-box--dark h4 { color: var(--steel); }
.info-box--dark p  { font-size: 0.88rem; color: #a0b8cc; }

/* ══════════════════════════════════════════════════════════
   IMAGE CAPTION
══════════════════════════════════════════════════════════ */
.img-caption { font-size: 0.78rem; color: var(--subtle); margin-top: 8px; text-align: center; }

/* ══════════════════════════════════════════════════════════
   STAT CARD (market context panels)
══════════════════════════════════════════════════════════ */
.stat-card {
  border-radius: var(--radius); padding: 24px; text-align: center;
}
.stat-card--dark {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
}
.stat-card--gold {
  background: rgba(122,174,212,.1);
  border: 2px solid rgba(122,174,212,.3);
}
.stat-card__val { font-size: 2rem; font-weight: 800; color: var(--steel); margin-bottom: 6px; line-height: 1; }
.stat-card__lbl { font-size: 0.72rem; color: #8aaac4; text-transform: uppercase; letter-spacing: .06em; }
.stat-card--gold .stat-card__lbl { color: var(--steel); }

/* ══════════════════════════════════════════════════════════
   GOLD BORDER CARD
══════════════════════════════════════════════════════════ */
.gold-border { border: 2px solid var(--steel) !important; }

/* ══════════════════════════════════════════════════════════
   DARK PANEL CENTER MODIFIER
══════════════════════════════════════════════════════════ */
.dark-panel--center { text-align: center; }

/* ══════════════════════════════════════════════════════════
   STANDALONE SVC ICON (white service cards)
══════════════════════════════════════════════════════════ */
.svc-icon { font-size: 1.8rem; margin-bottom: 10px; }

/* ══════════════════════════════════════════════════════════
   TEAM — TBC NAME, BADGE MODIFIERS, EMAIL
══════════════════════════════════════════════════════════ */
.team-name--tbc { font-style: italic; color: var(--subtle); font-weight: 400; font-size: 0.85rem; }
.team-badge--mid  { background: var(--mid)  !important; }
.team-badge--blue { background: #1a5276    !important; }
.team-badge--teal { background: #117a65    !important; }
.team-email { color: var(--mid); font-size: 0.78rem; }

/* ══════════════════════════════════════════════════════════
   OPS GRID & TITLE
══════════════════════════════════════════════════════════ */
.ops-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}
.ops-card .ops-title {
  font-size: 0.78rem; font-weight: 700; color: var(--navy);
  text-transform: uppercase; letter-spacing: .04em;
  padding-bottom: 8px; border-bottom: 2px solid var(--border); margin-bottom: 12px;
}

/* ══════════════════════════════════════════════════════════
   PHD DOMAIN HEADER COLOUR MODIFIERS
══════════════════════════════════════════════════════════ */
.phd-domain-header--space   { background: linear-gradient(135deg, #0d1b2e, #1a3050); }
.phd-domain-header--software{ background: linear-gradient(135deg, #154360, #1a5276); }
.phd-domain-header--agri    { background: linear-gradient(135deg, #145a32, #1e8449); }
.phd-domain-header--water   { background: linear-gradient(135deg, #1a4f6e, #2874a6); }
.phd-domain-header--defence { background: linear-gradient(135deg, #4a1942, #7d3c98); }

.phd-grid--2col { grid-template-columns: 1fr 1fr; }
@media (max-width: 600px) { .phd-grid--2col { grid-template-columns: 1fr; } }

.phd-name--tbc { font-style: italic; color: var(--subtle); font-weight: 400; font-size: 0.82rem; }

/* ══════════════════════════════════════════════════════════
   ADVISORY NOTE — BEM icon alias
══════════════════════════════════════════════════════════ */
.advisory-note__icon { font-size: 1.8rem; flex-shrink: 0; }

/* ══════════════════════════════════════════════════════════
   PAGE HERO — COMPACT VARIANT
══════════════════════════════════════════════════════════ */
.page-hero--compact {
  padding-bottom: 56px;
}

/* ══════════════════════════════════════════════════════════
   CONTACT CARDS GRID
══════════════════════════════════════════════════════════ */
.contact-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
}

/* ══════════════════════════════════════════════════════════
   BUTTON FULL WIDTH
══════════════════════════════════════════════════════════ */
.btn-full { width: 100%; text-align: center; justify-content: center; }

/* ══════════════════════════════════════════════════════════
   FORM SUCCESS MESSAGE
══════════════════════════════════════════════════════════ */
.form-success {
  margin-top: 16px;
  background: #e8f5e9; border: 1px solid #a5d6a7;
  border-radius: var(--radius-sm); padding: 14px;
  color: #2e7d32; font-size: 0.88rem;
}

/* ══════════════════════════════════════════════════════════
   OFFICE BLOCK (contact page HQ card)
══════════════════════════════════════════════════════════ */
.office-block {
  background: var(--navy); border-radius: var(--radius);
  padding: 32px; margin-bottom: 24px;
}
.office-block__label {
  font-size: 0.72rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: .08em;
  color: var(--steel); margin-bottom: 16px;
}
.office-block__name { color: #c8ddef; font-size: 1rem; font-weight: 600; margin-bottom: 6px; }
.office-block__addr { color: #a0b8cc; font-size: 0.9rem; }
.office-block__contacts {
  margin-top: 20px; padding-top: 20px;
  border-top: 1px solid rgba(255,255,255,.08);
  font-size: 0.85rem; color: #a0b8cc; line-height: 2;
}
.office-block__contacts a { color: var(--steel); }

/* ══════════════════════════════════════════════════════════
   TAGLINE BAND (contact footer)
══════════════════════════════════════════════════════════ */
.tagline-band {
  background: var(--navy); padding: 64px 0;
  margin-top: 32px; text-align: center;
}
.tagline-band__en {
  font-size: 1.4rem; font-style: italic;
  color: #c8ddef; margin-bottom: 10px;
}
.tagline-band__ar {
  font-size: 1.3rem; font-style: italic;
  color: #8aaac4;
}

/* ══════════════════════════════════════════════════════════
   UTILITY EXTRAS
══════════════════════════════════════════════════════════ */
.mb-48  { margin-bottom: 48px; }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE PRINT
══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-eyebrow { font-size: 0.65rem; }
  .hero h1      { font-size: 1.75rem; }
  .hero-actions .btn-primary,
  .hero-actions .btn-outline { width: 100%; }
  .section-header { margin-bottom: 36px; }
  .cta-band { padding: 56px 0; }
}

/* ══════════════════════════════════════════════════════════
   RTL DIRECTION OVERRIDES
══════════════════════════════════════════════════════════ */
[dir="rtl"] .hero-content { text-align: right; }
[dir="rtl"] .hero-actions { justify-content: flex-start; }
[dir="rtl"] .hero-eyebrow { direction: rtl; }
[dir="rtl"] .card          { text-align: right; }
[dir="rtl"] .card ul, [dir="rtl"] .card ol { padding-right: 16px; padding-left: 0; }
[dir="rtl"] .nav-cta       { margin-inline-start: 4px; margin-left: 0 !important; }
[dir="rtl"] .footer-grid   { direction: rtl; }
[dir="rtl"] .info-chips    { direction: rtl; }
[dir="rtl"] .brand         { text-align: right; }

/* ══════════════════════════════════════════════════════════
   DARK THEME OVERRIDES
══════════════════════════════════════════════════════════ */
[data-theme="dark"] {
  --light:  #0f2340;
  --light2: #162848;
  --text:   #dce8f4;
  --muted:  #8aaac4;
  --subtle: #607a92;
  --border: rgba(255,255,255,.1);
}
[data-theme="dark"] body { background: #09162a; }
[data-theme="dark"] .card         { background: var(--light); border-color: var(--border); }
[data-theme="dark"] .card h3      { color: #dce8f4; }
[data-theme="dark"] .card p,
[data-theme="dark"] .card li      { color: var(--muted); }
[data-theme="dark"] .exec-card,
[data-theme="dark"] .team-card,
[data-theme="dark"] .ops-card,
[data-theme="dark"] .phd-card,
[data-theme="dark"] .contact-card { background: var(--light); border-color: var(--border); }
[data-theme="dark"] .tl-phase     { background: var(--light); border-color: var(--border); }
[data-theme="dark"] .tl-phase h4  { color: #dce8f4; }
[data-theme="dark"] td            { border-color: var(--border); }
[data-theme="dark"] tr:nth-child(even) td { background: rgba(255,255,255,.03); }
[data-theme="dark"] .form-group input,
[data-theme="dark"] .form-group textarea,
[data-theme="dark"] .form-group select {
  background: var(--light); color: var(--text); border-color: var(--border);
}
[data-theme="dark"] .highlight-box   { background: var(--light); border-color: var(--border); }
[data-theme="dark"] .info-box--light  { background: var(--light); border-color: var(--border); }
[data-theme="dark"] .info-box--light h4 { color: #dce8f4; }
[data-theme="dark"] .metric-block     { background: var(--light); }
[data-theme="dark"] .section-header p { color: var(--muted); }
[data-theme="dark"] .nav-dropdown-menu { background: #070f1e; border-color: rgba(122,174,212,.18); }

