﻿/* ============================================================
   المجموعة الوطنية القابضة — Global Stylesheet
   ============================================================ */

/* --- Google Fonts --- */
@import url('https://fonts.googleapis.com/css2?family=Cairo:wght@300;400;500;600;700;800;900&family=Tajawal:wght@300;400;500;700;800&display=swap');

/* --- CSS Variables --- */
:root {
  --primary: #0b324d;
  --primary-dark: #0b1929;
  --bg-dark: #0c182d;
  --accent: #72be44;
  --accent-dark: #5aa334;
  --accent-glow: rgba(114, 190, 68, 0.18);
  --white: #ffffff;
  --muted: #b8c4d1;
  --muted-dim: #6e7f8f;
  --card: rgba(255, 255, 255, 0.05);
  --card-hover: rgba(255, 255, 255, 0.08);
  --border: rgba(255, 255, 255, 0.10);
  --border-accent: rgba(114, 190, 68, 0.35);
  --shadow: 0 8px 40px rgba(0, 0, 0, 0.45);
  --shadow-card: 0 4px 24px rgba(0, 0, 0, 0.3);
  --radius: 18px;
  --radius-sm: 10px;
  --radius-lg: 24px;
  --transition: 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  --font: 'Cairo', 'Tajawal', system-ui, sans-serif;
  --container: 1200px;
  --header-h: 80px;
}

/* --- Reset & Base --- */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  direction: rtl;
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font);
  background-color: var(--bg-dark);
  color: var(--white);
  line-height: 1.8;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Subtle background texture */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 20% 10%, rgba(11, 50, 77, 0.45) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 80% 90%, rgba(11, 25, 41, 0.5) 0%, transparent 55%),
    radial-gradient(ellipse 40% 40% at 50% 50%, rgba(12, 24, 45, 0.3) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

body > * {
  position: relative;
  z-index: 1;
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition);
}

ul { list-style: none; }

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

.count-up-num { font-variant-numeric: tabular-nums; }

button { cursor: pointer; font-family: var(--font); }

/* --- Container --- */
.container {
  width: 100%;
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* --- Section Padding --- */
.section {
  padding: 96px 0;
}
.section-sm { padding: 64px 0; }
.section-lg { padding: 120px 0; }

/* --- Section Header --- */
.section-header {
  text-align: center;
  margin-bottom: 64px;
}
.section-header .eyebrow {
  display: inline-block;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  padding: 6px 20px;
  margin-bottom: 18px;
}
.section-header h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.5rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 16px;
}
.section-header p {
  font-size: 1.05rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.9;
}
.section-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 4px;
  margin: 20px auto 0;
}

/* ============================================================
   HEADER / NAVIGATION
   ============================================================ */
.site-header {
  position: fixed;
  top: 0;
  right: 0;
  left: 0;
  height: var(--header-h);
  z-index: 1000;
  transition: background var(--transition), box-shadow var(--transition);
  direction: rtl;
}
.site-header .container { height: 100%; }
.site-header.scrolled {
  background: rgba(12, 24, 45, 0.96);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 30px rgba(0,0,0,0.5);
  border-bottom: 1px solid var(--border);
}
.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: clamp(10px, 2vw, 24px);
  height: 100%;
  min-width: 0;
}
.logo {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-shrink: 0;
  justify-self: start;
}
.logo-icon {
  width: 46px;
  height: 46px;
  background: linear-gradient(135deg, var(--accent) 0%, var(--accent-dark) 100%);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--bg-dark);
  flex-shrink: 0;
  box-shadow: 0 4px 20px rgba(114,190,68,0.35);
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.logo-text .name {
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--white);
}
.logo-text .sub {
  font-size: 0.65rem;
  font-weight: 500;
  color: var(--accent);
  letter-spacing: 1px;
}
.logo-img {
  height: 44px;
  width: auto;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
}

/* Main Nav */
.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(2px, 0.7vw, 10px);
  min-width: 0;
  direction: rtl;
}
.main-nav a {
  font-size: clamp(0.75rem, 0.72rem + 0.18vw, 0.82rem);
  font-weight: 600;
  color: var(--muted);
  padding: 8px clamp(8px, 0.9vw, 12px);
  border-radius: 8px;
  transition: color var(--transition), background var(--transition);
  white-space: nowrap;
}
.main-nav a:hover,
.main-nav a.active {
  color: var(--white);
  background: rgba(255,255,255,0.07);
}
.main-nav a.active {
  color: var(--accent);
}

/* Header Actions */
.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
  justify-self: end;
  direction: ltr;
}
.btn-lang {
  background: var(--card);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  padding: 8px 16px;
  border-radius: 8px;
  transition: all var(--transition);
}
.btn-lang:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  border-radius: 8px;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Nav */
.mobile-nav {
  display: none;
  position: fixed;
  top: var(--header-h);
  right: 0;
  left: 0;
  background: rgba(12, 24, 45, 0.98);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  padding: 20px 24px 28px;
  z-index: 999;
  flex-direction: column;
  gap: 4px;
  direction: rtl;
  text-align: right;
}
.mobile-nav.open { display: flex; }
.mobile-nav a {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--muted);
  padding: 12px 16px;
  border-radius: 10px;
  border-bottom: 1px solid var(--border);
  transition: all var(--transition);
}
.mobile-nav a:last-child { border-bottom: none; }
.mobile-nav a:hover,
.mobile-nav a.active {
  color: var(--accent);
  background: var(--accent-glow);
}

/* ============================================================
   BUTTONS
   ============================================================ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font);
  font-weight: 700;
  font-size: 0.9rem;
  padding: 14px 28px;
  border-radius: 12px;
  border: 2px solid transparent;
  transition: all var(--transition);
  cursor: pointer;
  white-space: nowrap;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
  border-color: var(--accent);
  box-shadow: 0 4px 20px rgba(114,190,68,0.35);
}
.btn-primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  box-shadow: 0 6px 28px rgba(114,190,68,0.5);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border-color: var(--border);
}
.btn-outline:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: var(--accent-glow);
}
.btn-sm {
  padding: 9px 20px;
  font-size: 0.82rem;
}

/* ============================================================
   CARDS
   ============================================================ */
.card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px;
  transition: all var(--transition);
  box-shadow: var(--shadow-card);
}
.card:hover {
  background: var(--card-hover);
  border-color: var(--border-accent);
  box-shadow: 0 16px 50px rgba(0,0,0,0.45);
}

/* ============================================================
   PAGE HERO (inner pages)
   ============================================================ */
.page-hero {
  padding: calc(var(--header-h) + 72px) 0 72px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  top: 0; right: 0; bottom: 0; left: 0;
  background:
    radial-gradient(ellipse 70% 80% at 50% 0%, rgba(11,50,77,0.6) 0%, transparent 60%);
  pointer-events: none;
}
.page-hero .eyebrow {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  padding: 6px 20px;
  margin-bottom: 20px;
}
.page-hero h1 {
  font-size: clamp(2rem, 5vw, 3.2rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.25;
  margin-bottom: 18px;
}
.page-hero p {
  font-size: 1.1rem;
  color: var(--muted);
  max-width: 640px;
  margin: 0 auto;
  line-height: 1.9;
}

/* ============================================================
   GRID LAYOUTS
   ============================================================ */
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 28px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   ICON BOXES
   ============================================================ */
.icon-box {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  margin-bottom: 20px;
  flex-shrink: 0;
}

/* ============================================================
   STAT ITEMS
   ============================================================ */
.stat-item {
  text-align: center;
}
.stat-number {
  font-size: clamp(2.2rem, 5vw, 3.4rem);
  font-weight: 900;
  color: var(--accent);
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label {
  font-size: 0.88rem;
  color: var(--muted);
  font-weight: 500;
}

/* ============================================================
   FOOTER
   ============================================================ */
.site-footer {
  background: var(--primary-dark);
  border-top: 1px solid var(--border);
  padding: 72px 0 0;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
}
.footer-brand .logo {
  margin-bottom: 20px;
}
.footer-brand p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 24px;
}
.footer-contact-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.82rem;
  color: var(--muted);
  margin-bottom: 10px;
}
.footer-contact-item span:first-child {
  color: var(--accent);
  font-size: 1rem;
  flex-shrink: 0;
}
.footer-col h4 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--white);
  letter-spacing: 1.5px;
  text-transform: uppercase;
  margin-bottom: 24px;
  padding-bottom: 12px;
  border-bottom: 2px solid var(--accent);
  display: inline-block;
}
.footer-col ul li {
  margin-bottom: 10px;
}
.footer-col ul li a {
  font-size: 0.85rem;
  color: var(--muted);
  transition: color var(--transition);
  display: flex;
  align-items: center;
  gap: 6px;
}
.footer-col ul li a::before {
  content: '←';
  font-size: 0.7rem;
  color: var(--accent);
  opacity: 0;
  transition: opacity var(--transition);
}
.footer-col ul li a:hover {
  color: var(--accent);
}
.footer-col ul li a:hover::before {
  opacity: 1;
}
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.footer-bottom p {
  font-size: 0.8rem;
  color: var(--muted-dim);
}
.footer-bottom .accent { color: var(--accent); }

/* ============================================================
   HOME — HERO
   ============================================================ */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  position: relative;
  overflow: hidden;
  padding-top: var(--header-h);
}
.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 90% 70% at 30% 20%, rgba(11, 50, 77, 0.65) 0%, transparent 55%),
    radial-gradient(ellipse 60% 60% at 80% 80%, rgba(114, 190, 68, 0.05) 0%, transparent 50%),
    linear-gradient(180deg, rgba(12,24,45,0.50) 0%, rgba(12,24,45,0.82) 100%),
    linear-gradient(to top, var(--bg-dark) 0%, transparent 22%),
    url('../images/hero.png') center / cover no-repeat;
  z-index: 0;
}
/* Geometric decorative lines */
.hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-content {
  position: relative;
  z-index: 1;
  max-width: 760px;
}
.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 3px;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  padding: 7px 20px;
  margin-bottom: 28px;
}
.hero-eyebrow::before {
  content: '';
  width: 6px; height: 6px;
  background: var(--accent);
  border-radius: 50%;
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.5; transform: scale(0.8); }
}
.hero h1 {
  font-size: clamp(2.4rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--white);
  line-height: 1.2;
  margin-bottom: 24px;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.15rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 40px;
  max-width: 580px;
}
.hero-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
/* Decorative accent shape */
.hero-deco {
  position: absolute;
  left: -60px;
  top: 50%;
  transform: translateY(-50%);
  width: 520px;
  height: 520px;
  border-radius: 50%;
  border: 1px solid rgba(114,190,68,0.08);
  z-index: 0;
  animation: rotateRing 30s linear infinite;
}
.hero-deco::after {
  content: '';
  position: absolute;
  inset: 40px;
  border-radius: 50%;
  border: 1px solid rgba(114,190,68,0.12);
}
@keyframes rotateRing {
  from { transform: translateY(-50%) rotate(0deg); }
  to   { transform: translateY(-50%) rotate(360deg); }
}

/* ============================================================
   HOME — STATS SECTION
   ============================================================ */
.stats-section {
  padding: 72px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
}
.stat-item {
  padding: 32px 24px;
  border-left: 1px solid var(--border);
  transition: background var(--transition);
}
.stat-item:first-child { border-left: none; }
.stat-item:hover { background: var(--card); }

/* ============================================================
   HOME — PREVIEW SECTIONS
   ============================================================ */
.preview-block {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: center;
}





.preview-block.reverse { direction: ltr; }
.preview-block.reverse > * { direction: rtl; }
.preview-text .eyebrow {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 12px;
  display: block;
}
.preview-text h2 {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 16px;
}
.preview-text p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 28px;
}
.preview-visual {
  position: relative;
}
.preview-visual-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
 
  min-height: 280px;
  position: relative;
  overflow: hidden;
}
.preview-visual-box::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center, rgba(114,190,68,0.07) 0%, transparent 70%);
}
.preview-icon-large {
  font-size: 5rem;
  opacity: 0.6;
}

/* ============================================================
   CTA SECTION
   ============================================================ */
.cta-section {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 72px 56px;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute;
  top: -80px; left: 50%;
  transform: translateX(-50%);
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(114,190,68,0.1) 0%, transparent 65%);
  pointer-events: none;
}
.cta-section h2 {
  font-size: clamp(1.7rem, 3.5vw, 2.4rem);
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.cta-section p {
  color: var(--muted);
  font-size: 1rem;
  max-width: 520px;
  margin: 0 auto 36px;
  line-height: 1.9;
}
.cta-actions {
  display: flex;
  gap: 16px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ============================================================
   COMPANIES PAGE — CARDS
   ============================================================ */
.companies-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.company-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  box-shadow: var(--shadow-card);
  cursor: pointer;
}
.company-card:hover {
  background: var(--card-hover);
  border-color: var(--border-accent);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.company-sector {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.company-card-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 14px;
}
.company-card-head .company-sector {
  margin-bottom: 0;
}
.company-card .card-icon {
  width: 38px;
  height: 38px;
  border-radius: 11px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  color: var(--accent);
  background: linear-gradient(145deg, rgba(114,190,68,0.16), rgba(114,190,68,0.05));
  border: 1px solid rgba(114,190,68,0.32);
  opacity: 0.9;
  transition: transform 0.28s ease, opacity 0.28s ease, box-shadow 0.28s ease;
}
.company-card:hover .card-icon,
.company-card:focus-visible .card-icon {
  opacity: 1;
  transform: scale(1.08);
  box-shadow: 0 0 0 3px rgba(114,190,68,0.1), 0 8px 24px rgba(0,0,0,0.35);
}
.company-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 12px;
  line-height: 1.4;
}
.company-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.85;
  margin-bottom: 20px;
  flex: 1;
}
.company-meta {
  border-top: 1px solid var(--border);
  padding-top: 18px;
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}
.company-meta-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  color: var(--muted-dim);
}
.company-meta-item span:first-child { color: var(--accent); font-size: 0.85rem; }
.company-meta-item a {
  color: var(--muted-dim);
  transition: color var(--transition);
}
.company-meta-item a:hover { color: var(--accent); }

/* ============================================================
   SERVICES — CARDS
   ============================================================ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.service-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.service-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0;
  width: 3px;
  height: 0;
  background: var(--accent);
  border-radius: 0 var(--radius) 0 0;
  transition: height 0.4s ease;
}
.service-card:hover::before { height: 100%; }
.service-card:hover {
  background: var(--card-hover);
  border-color: var(--border-accent);
  box-shadow: 0 16px 50px rgba(0,0,0,0.4);
}
.service-card h3 {
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--white);
  margin-bottom: 12px;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--muted);
  line-height: 1.85;
}

/* ============================================================
   PROJECTS — FIELDS
   ============================================================ */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.project-field {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 28px;
  transition: all var(--transition);
  display: flex;
  align-items: flex-start;
  gap: 20px;
}
.project-field:hover {
  border-color: var(--border-accent);
  background: var(--card-hover);
}
.project-field-num {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
  font-weight: 800;
  color: var(--accent);
  flex-shrink: 0;
}
.project-field h3 {
  font-size: 0.98rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.45;
}

/* ============================================================
   VALUES — CARDS
   ============================================================ */
.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.value-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px 24px;
  text-align: center;
  transition: all var(--transition);
}
.value-card:hover {
  border-color: var(--border-accent);
  background: var(--card-hover);
  box-shadow: 0 16px 48px rgba(0,0,0,0.4);
}
.value-icon {
  font-size: 2.5rem;
  margin-bottom: 16px;
}
.value-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.value-card p {
  font-size: 0.85rem;
  color: var(--muted);
  line-height: 1.8;
}

/* ============================================================
   LEADERSHIP PAGE
   ============================================================ */
.leadership-intro {
  max-width: 760px;
  margin: 0 auto 64px;
  text-align: center;
}
.leadership-intro p {
  font-size: 1rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 16px;
}
.leadership-pillars {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}
.pillar-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 36px;
  display: flex;
  gap: 24px;
  align-items: flex-start;
  transition: all var(--transition);
}
.pillar-card:hover {
  border-color: var(--border-accent);
  background: var(--card-hover);
}
.pillar-number {
  font-size: 3rem;
  font-weight: 900;
  color: rgba(114,190,68,0.15);
  line-height: 1;
  flex-shrink: 0;
}
.pillar-content h3 {
  font-size: 1.2rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 10px;
}
.pillar-content p {
  font-size: 0.9rem;
  color: var(--muted);
  line-height: 1.85;
}

/* ============================================================
   PARTNERSHIPS PAGE
   ============================================================ */
.goals-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.goal-item {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  transition: all var(--transition);
}
.goal-item:hover {
  border-color: var(--border-accent);
  background: var(--card-hover);
}
.goal-bullet {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 6px;
  box-shadow: 0 0 10px rgba(114,190,68,0.5);
}
.goal-item p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   CSR PAGE
   ============================================================ */
.csr-commitment-box {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 48px 48px 40px;
}

.csr-bullets {
  display: flex;
  flex-direction: column;
  gap: 14px;
  margin-top: 24px;
}
.csr-bullet {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  padding: 18px 22px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  transition: all var(--transition);
}
.csr-bullet:hover {
  border-color: var(--border-accent);
  background: var(--card-hover);
}
.csr-bullet-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  background: var(--accent);
  flex-shrink: 0;
  margin-top: 7px;
}
.csr-bullet p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.75;
}

/* ============================================================
   CONTACT PAGE
   ============================================================ */
.contact-grid {
  display: grid;
  gap: 30px;
  align-items: start;
}
.contact-intro-card {
  background: linear-gradient(135deg, rgba(11, 50, 77, 0.5) 0%, rgba(12, 24, 45, 0.95) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius);
  padding: 34px;
  box-shadow: var(--shadow-card);
}
.contact-intro-card .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
}
.contact-intro-card h2 {
  font-size: clamp(1.45rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.4;
  margin-bottom: 12px;
}
.contact-intro-card p {
  font-size: 0.95rem;
  color: var(--muted);
  line-height: 1.9;
}
.contact-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 24px;
}
.contact-action-btn {
  min-width: 210px;
  justify-content: center;
}
.contact-action-btn i {
  font-size: 0.92rem;
}
.contact-info-cards {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}
.contact-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 22px 24px;
  display: flex;
  align-items: flex-start;
  gap: 18px;
  min-height: 110px;
  transition: all var(--transition);
}
.contact-card:hover {
  border-color: var(--border-accent);
  background: var(--card-hover);
}
.contact-card-icon {
  width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
}
.contact-card-icon i {
  color: var(--accent);
  font-size: 1rem;
}
.contact-card-info h4 {
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--accent);
  letter-spacing: 0.4px;
  margin-bottom: 6px;
}
.contact-card-info p,
.contact-card-info a {
  font-size: 0.95rem;
  color: var(--white);
  line-height: 1.75;
  transition: color var(--transition);
}
.contact-card-info a:hover { color: var(--accent); }

/* ============================================================
   ABOUT PAGE EXTRAS
   ============================================================ */
.vision-mission-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  margin-top: 56px;
}
.vm-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 44px 36px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
}
.vm-card::before {
  content: '';
  position: absolute;
  top: 0; right: 0; left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
}
.vm-card:hover {
  border-color: var(--border-accent);
  background: var(--card-hover);
}
.vm-card-label {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 14px;
}
.vm-card h3 {
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--white);
  margin-bottom: 16px;
}
.vm-card p {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.9;
}

/* ============================================================
   SEPARATOR
   ============================================================ */
.sep {
  border: none;
  border-top: 1px solid var(--border);
  margin: 0;
}

/* ============================================================
   HIGHLIGHT TEXT
   ============================================================ */
.text-accent { color: var(--accent); }
.text-muted { color: var(--muted); }
.text-center { text-align: center; }

/* ============================================================
   COMPANY MODAL — Services Page
   ============================================================ */

/* Card "view details" hint row */
.co-card-hint {
  margin-top: auto;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: space-between;
  opacity: 0.72;
  transition: opacity var(--transition);
}
.co-card-hint-arrow {
  display: inline-block;
  transition: transform var(--transition);
}
.company-card:hover .co-card-hint,
.company-card:focus-visible .co-card-hint { opacity: 1; }
.company-card:hover .co-card-hint-arrow,
.company-card:focus-visible .co-card-hint-arrow { transform: translateX(-5px); }
.company-card:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

body.modal-open { overflow: hidden; }

/* Modal overlay */
.co-modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  background: rgba(12, 24, 45, 0.88);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 2000;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.24s ease, visibility 0.24s ease;
}
.co-modal-overlay.is-open {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Modal content box */
.co-modal-box {
  background: linear-gradient(145deg, #0f2233 0%, var(--primary-dark) 100%);
  border: 1px solid var(--border-accent);
  border-radius: var(--radius-lg);
  padding: 44px 40px 40px;
  max-width: 560px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  position: relative;
  box-shadow: 0 32px 80px rgba(0,0,0,0.7), 0 0 0 1px rgba(114,190,68,0.08);
  direction: rtl;
  opacity: 0;
  transform: scale(0.95) translateY(20px);
  transition: opacity 0.28s ease, transform 0.32s cubic-bezier(0.34, 1.2, 0.64, 1);
}
.co-modal-overlay.is-open .co-modal-box {
  opacity: 1;
  transform: scale(1) translateY(0);
}

/* Close button — physical top-right */
.co-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(255,255,255,0.06);
  border: 1px solid var(--border);
  color: var(--muted);
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  cursor: pointer;
  line-height: 1;
}
.co-modal-close:hover {
  background: rgba(255,255,255,0.12);
  border-color: var(--accent);
  color: var(--accent);
}
.co-modal-close:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 2px;
}

/* Sector badge */
.co-modal-sector {
  display: inline-block;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--accent);
  background: var(--accent-glow);
  border: 1px solid var(--border-accent);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 12px;
}

/* Company name */
.co-modal-name {
  font-size: clamp(1.25rem, 3vw, 1.6rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.35;
  margin-bottom: 14px;
}

/* Accent divider */
.co-modal-divider {
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, var(--accent), transparent);
  border-radius: 4px;
  margin-bottom: 18px;
}

/* Description */
.co-modal-desc {
  font-size: 0.93rem;
  color: var(--muted);
  line-height: 1.9;
  margin-bottom: 24px;
}

/* Meta info block */
.co-modal-meta {
  display: flex;
  flex-direction: column;
  gap: 10px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 18px 20px;
  margin-bottom: 26px;
}
.co-modal-meta-row {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.85rem;
  color: var(--muted);
}
.co-modal-meta-icon {
  font-size: 0.95rem;
  flex-shrink: 0;
  width: 22px;
  text-align: center;
}
.co-modal-meta-label {
  min-width: 110px;
  color: var(--muted-dim);
  font-size: 0.78rem;
  font-weight: 600;
}
.co-modal-meta-row a {
  color: var(--muted);
  transition: color var(--transition);
  direction: ltr;
  unicode-bidi: plaintext;
  word-break: break-all;
}
.co-modal-meta-row a:hover { color: var(--accent); }

/* Visit button wrapper */
.co-modal-visit {
  display: flex;
  width: 100%;
}
.co-modal-visit .btn {
  width: 100%;
  justify-content: center;
}

/* Companies page modal redesign */
.page-companies .co-modal-overlay {
  background: rgba(8, 15, 27, 0.9);
}
.page-companies .co-modal-box {
  max-width: 640px;
  padding: 34px 34px 30px;
  border-radius: 16px;
  border: 1px solid var(--border);
  background: linear-gradient(180deg, rgba(17, 37, 55, 0.98) 0%, rgba(13, 29, 45, 0.98) 100%);
  box-shadow: 0 24px 62px rgba(0, 0, 0, 0.58);
}
.page-companies .co-modal-box::before {
  display: none;
}
.page-companies .co-modal-close {
  top: 18px;
  left: 18px;
  right: auto;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: rgba(255,255,255,0.04);
  border-color: rgba(255,255,255,0.14);
  display: grid;
  place-items: center;
  padding: 0;
  line-height: 1;
}
.page-companies .co-modal-close i {
  font-size: 0.9rem;
  line-height: 1;
  display: block;
  transform: translateY(0);
}
.page-companies .co-modal-hero {
  display: grid;
  grid-template-columns: 62px 1fr;
  gap: 14px;
  align-items: center;
  margin-bottom: 6px;
}
.page-companies .co-modal-hero-icon {
  width: 62px;
  height: 62px;
  border-radius: 12px;
  background: rgba(114,190,68,0.08);
  border: 1px solid rgba(114,190,68,0.24);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent);
  font-size: 1.45rem;
}
.page-companies .co-modal-hero-text { min-width: 0; }
.page-companies .co-modal-sector {
  margin-bottom: 10px;
  letter-spacing: 0.8px;
}
.page-companies .co-modal-name {
  margin-bottom: 0;
  font-size: clamp(1.24rem, 3.1vw, 1.62rem);
}
.page-companies .co-modal-divider {
  width: 100%;
  height: 1px;
  margin-bottom: 14px;
  background: linear-gradient(90deg, rgba(114,190,68,0.3), rgba(255,255,255,0.06));
}
.page-companies .co-modal-section {
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.02);
  padding: 14px 16px;
  margin-bottom: 12px;
}
.page-companies .co-modal-section-title {
  margin: 0 0 10px;
  font-size: 0.76rem;
  letter-spacing: 0.7px;
  font-weight: 700;
  color: var(--muted-dim);
}
.page-companies .co-modal-desc {
  margin: 0;
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.9;
}
.page-companies .co-modal-meta {
  margin: 0;
  padding: 0;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(255,255,255,0.01);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.page-companies .co-modal-meta-row {
  background: transparent;
  border: 0;
  padding: 12px 14px;
  display: grid;
  grid-template-columns: 24px 116px 1fr;
  column-gap: 10px;
  row-gap: 0;
  align-items: center;
  transition: background var(--transition);
  border-bottom: 1px solid var(--border);
}
.page-companies .co-modal-meta-row:last-child {
  border-bottom: 0;
}
.page-companies .co-modal-meta-row:hover {
  background: rgba(255,255,255,0.03);
}
.page-companies .co-modal-meta-icon {
  width: 24px;
  font-size: 0.9rem;
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
}
.page-companies .co-modal-meta-label {
  min-width: 0;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted-dim);
}
.page-companies .co-modal-meta-row a,
.page-companies .co-modal-meta-row #coModalLocation {
  font-size: 0.86rem;
  color: var(--white);
  line-height: 1.5;
}
.page-companies .co-modal-meta-row #coModalLocation {
  direction: rtl;
  unicode-bidi: plaintext;
}
.page-companies .co-modal-meta-row a:hover { color: var(--accent); }
.page-companies .co-modal-visit .btn {
  min-height: 48px;
  border-radius: 10px;
}

@media (max-width: 760px) {
  .page-companies .co-modal-box {
    padding: 28px 20px 22px;
    border-radius: 14px;
  }
  .page-companies .co-modal-hero {
    grid-template-columns: 52px 1fr;
    gap: 12px;
  }
  .page-companies .co-modal-hero-icon {
    width: 52px;
    height: 52px;
    border-radius: 10px;
    font-size: 1.2rem;
  }
  .page-companies .co-modal-meta {
    display: flex;
  }
  .page-companies .co-modal-meta-row {
    grid-template-columns: 22px 1fr;
    row-gap: 2px;
    align-items: start;
  }
  .page-companies .co-modal-meta-label,
  .page-companies .co-modal-meta-row a,
  .page-companies .co-modal-meta-row #coModalLocation {
    grid-column: 2;
  }
}

@media (max-width: 768px) {
  .co-modal-box {
    padding: 36px 20px 28px;
    border-radius: var(--radius);
  }
  .co-modal-close {
    top: 12px;
    right: 12px;
  }
  .co-modal-meta-label {
    min-width: 88px;
    font-size: 0.75rem;
  }
  .page-companies .co-modal-meta-label {
    min-width: 0;
    font-size: 0.72rem;
  }
  .company-card .card-icon {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }
}

/* ============================================================
   RESPONSIVE BREAKPOINTS
   ============================================================ */
@media (max-width: 1100px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 36px; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item:nth-child(2) { border-left: none; }
  .stat-item:nth-child(3) { border-top: 1px solid var(--border); }
  .stat-item:nth-child(4) { border-top: 1px solid var(--border); }
}

@media (max-width: 1180px) {
  :root { --header-h: 72px; }
  .main-nav { display: none; }
  .hamburger { display: flex; }
}

@media (max-width: 900px) {
  :root { --header-h: 68px; }
  .companies-grid { grid-template-columns: repeat(2, 1fr); }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: repeat(2, 1fr); }
  .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .preview-block { grid-template-columns: 1fr; gap: 36px; }
  .preview-block.reverse { direction: rtl; }
  .contact-info-cards { grid-template-columns: 1fr; }
  .vision-mission-grid { grid-template-columns: 1fr; }
  .leadership-pillars { grid-template-columns: 1fr; }
  .hero-deco { display: none; }
}

/* ── Mobile: 768px ──────────────────────────────────────── */
@media (max-width: 768px) {
  /* Section spacing */
  .section    { padding: 64px 0; }
  .section-sm { padding: 48px 0; }
  .section-lg { padding: 80px 0; }
  .section-header { margin-bottom: 48px; }

  /* Page hero */
  .page-hero    { padding: calc(var(--header-h) + 48px) 0 48px; }
  .page-hero h1 { font-size: clamp(1.7rem, 7vw, 2.4rem); }
  .page-hero p  { font-size: 0.95rem; }

  /* Grids → 1 column */
  .grid-2         { grid-template-columns: 1fr; }
  .grid-3         { grid-template-columns: 1fr; }
  .companies-grid { grid-template-columns: 1fr; }
  .services-grid  { grid-template-columns: 1fr; }
  .values-grid    { grid-template-columns: repeat(2, 1fr); }
  .projects-grid  { grid-template-columns: 1fr; gap: 14px; }

  /* Fix inline grid-column: span 3 on project item #07 */
  .project-field  { grid-column: auto !important; }

  /* Project field card — tighter on mobile */
  .project-field        { padding: 22px 18px; gap: 14px; }
  .project-field-num    { width: 38px; height: 38px; border-radius: 10px; font-size: 0.75rem; }
  .project-field h3     { font-size: 0.92rem; line-height: 1.5; }

  /* Vision/summary box that follows the projects grid — override inline padding */
  .projects-grid + div  { padding: 28px 20px !important; margin-top: 36px !important; }

  /* CTA */
  .cta-section      { padding: 48px 24px; }
  .cta-actions      { flex-direction: column; align-items: center; }
  .cta-actions .btn { width: 100%; max-width: 300px; justify-content: center; }

  /* Cards */
  .card              { padding: 24px; }
  .company-card      { padding: 22px; }
  .service-card      { padding: 28px 22px; }
  .vm-card           { padding: 32px 24px; }
  .pillar-card       { padding: 28px 22px; gap: 16px; }
  .pillar-number     { font-size: 2.2rem; }
  .contact-intro-card { padding: 28px 20px; }
  .contact-action-btn { width: 100%; min-width: 0; }

  /* Stats */
  .stat-item { padding: 24px 16px; }

  /* Hero actions */
  .hero-actions      { flex-direction: column; align-items: flex-start; }
  .hero-actions .btn { width: 100%; max-width: 340px; justify-content: center; }

  /* Footer */
  .footer-grid    { grid-template-columns: 1fr; gap: 28px; }
  .footer-bottom  { flex-direction: column; gap: 10px; text-align: center; }
  .site-footer    { padding: 52px 0 0; }

  /* Logo text */
  .logo-text { display: none; }

  /* CSR commitment box */
  .csr-commitment-box { padding: 28px 20px 24px; }

  /* Long text overflow */
  .contact-card-info a,
  .contact-card-info p { overflow-wrap: break-word; word-break: break-word; }
}

/* ── Small phones: 480px ────────────────────────────────── */
@media (max-width: 480px) {
  :root      { --header-h: 60px; }
  .container { padding: 0 16px; }
  .section   { padding: 52px 0; }

  .hero h1 { font-size: clamp(1.75rem, 9vw, 2.5rem); }
  .hero p  { font-size: 0.97rem; }

  .stats-grid  { grid-template-columns: repeat(2, 1fr); }
  .values-grid { grid-template-columns: 1fr; }

  .btn { padding: 13px 20px; min-height: 48px; }

  .co-modal-overlay { padding: 16px; }
  .co-modal-box     { padding: 36px 16px 24px; }
  .co-modal-close   { top: 10px; right: 10px; }
  .cta-section      { padding: 40px 20px; }

  /* project fields even tighter */
  .project-field     { padding: 18px 16px; }
  .project-field h3  { font-size: 0.88rem; }
}

/* ── Legacy 640px — kept for anything not yet covered ───── */
@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

