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

:root {
  --orange: #F5A020;
  --orange-light: #FFF3E0;
  --orange-dark: #D4891A;
  --orange-glow: rgba(245, 160, 32, 0.15);
  --dark: #0F1114;
  --dark-2: #1A1D23;
  --dark-3: #24272E;
  --charcoal: #333842;
  --gray: #6B7280;
  --gray-light: #9CA3AF;
  --border: #E5E7EB;
  --border-light: #F3F4F6;
  --surface: #F9FAFB;
  --surface-2: #F3F4F6;
  --white: #FFFFFF;
  --radius-sm: 0.5rem;
  --radius-md: 0.75rem;
  --radius-lg: 1rem;
  --radius-xl: 1.25rem;
  --radius-2xl: 1.5rem;
  --radius-full: 9999px;
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.04);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.06);
  --shadow-lg: 0 8px 30px rgba(0,0,0,0.08);
  --shadow-xl: 0 20px 60px rgba(0,0,0,0.1);
  --shadow-card: 0 1px 3px rgba(0,0,0,0.04), 0 4px 16px rgba(0,0,0,0.04);
  --shadow-card-hover: 0 8px 40px rgba(0,0,0,0.08), 0 2px 8px rgba(0,0,0,0.04);
  --ease: cubic-bezier(0.32, 0.72, 0, 1);
  --font: 'Plus Jakarta Sans', system-ui, sans-serif;
  --font-ar: 'Cairo', 'Plus Jakarta Sans', system-ui, sans-serif;
}

*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

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

body {
  font-family: var(--font);
  color: var(--dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}

[dir="rtl"] body { font-family: var(--font-ar); }

::selection { background: var(--orange); color: var(--white); }

a { text-decoration: none; color: inherit; }
ul, ol { list-style: none; }
img { max-width: 100%; display: block; }
button { border: none; background: none; cursor: pointer; font-family: inherit; }
input, textarea { font-family: inherit; }

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* ===== TYPOGRAPHY ===== */
.eyebrow {
  display: inline-flex; align-items: center; gap: 0.5rem;
  padding: 0.375rem 1rem; border-radius: var(--radius-full);
  background: var(--orange-glow); border: 1px solid rgba(245,160,32,0.2);
  font-size: 0.65rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: var(--orange); margin-bottom: 1.25rem;
}
.eyebrow::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.4; } }

h1, h2, h3, h4, h5, h6 { line-height: 1.12; font-weight: 800; color: var(--dark); letter-spacing: -0.02em; }
h1 { font-size: clamp(2.5rem, 6vw, 4.5rem); }
h2 { font-size: clamp(2rem, 4vw, 3.25rem); }
h3 { font-size: clamp(1.25rem, 2vw, 1.5rem); }

.text-orange { color: var(--orange); }
.text-gray { color: var(--gray); }
.text-white { color: var(--white); }

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex; align-items: center; gap: 0.625rem;
  padding: 0.875rem 1.75rem; border-radius: var(--radius-full);
  font-size: 0.875rem; font-weight: 700; letter-spacing: 0.01em;
  transition: all 0.5s var(--ease); cursor: pointer;
}
.btn:active { transform: scale(0.98); }

.btn-primary {
  background: var(--dark); color: var(--white);
}
.btn-primary:hover { background: var(--dark-2); }

.btn-orange {
  background: var(--orange); color: var(--white);
}
.btn-orange:hover { background: var(--orange-dark); box-shadow: 0 8px 30px rgba(245,160,32,0.3); }

.btn-outline {
  background: transparent; color: var(--dark); border: 1.5px solid var(--border);
}
.btn-outline:hover { border-color: var(--dark); background: var(--surface); }

.btn-ghost {
  background: transparent; color: var(--gray); padding: 0.5rem 0;
}
.btn-ghost:hover { color: var(--orange); }

.btn .arrow {
  display: flex; align-items: center; justify-content: center;
  width: 1.5rem; height: 1.5rem; border-radius: 50%;
  background: rgba(255,255,255,0.15);
  transition: all 0.5s var(--ease);
}
.btn:hover .arrow { transform: translate(2px, -1px) scale(1.05); }

/* ===== CARDS ===== */
.card {
  background: var(--white);
  border: 1px solid var(--border-light);
  border-radius: var(--radius-xl);
  padding: 2rem;
  transition: all 0.5s var(--ease);
  position: relative;
  overflow: hidden;
}
.card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, var(--orange), var(--orange-dark));
  opacity: 0; transition: opacity 0.5s var(--ease);
}
.card:hover {
  border-color: rgba(245,160,32,0.2);
  box-shadow: var(--shadow-card-hover);
  transform: translateY(-2px);
}
.card:hover::before { opacity: 1; }

.card-icon {
  width: 3rem; height: 3rem; border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--orange-glow), rgba(245,160,32,0.05));
  border: 1px solid rgba(245,160,32,0.15);
  display: flex; align-items: center; justify-content: center;
  color: var(--orange); margin-bottom: 1.25rem;
}

.card-dark {
  background: var(--dark-2); border-color: var(--dark-3); color: var(--white);
}
.card-dark h3, .card-dark h4 { color: var(--white); }
.card-dark p { color: rgba(255,255,255,0.6); }

/* ===== SECTIONS ===== */
section { padding: 6rem 0; }
.section-dark { background: var(--dark); color: var(--white); position: relative; overflow: hidden; }
.section-surface { background: var(--surface); }
.section-header { text-align: center; max-width: 640px; margin: 0 auto 4rem; }
.section-header p { margin-top: 1rem; color: var(--gray); font-size: 1.0625rem; line-height: 1.7; }

/* ===== NAVBAR ===== */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 1.25rem 0; transition: all 0.6s var(--ease);
}
.navbar.scrolled { padding: 0.75rem 0; }
.navbar-inner {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.25rem; border-radius: var(--radius-full);
  background: rgba(255,255,255,0.7); backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(0,0,0,0.04);
  transition: all 0.6s var(--ease);
}
.navbar.scrolled .navbar-inner {
  background: rgba(255,255,255,0.92);
  box-shadow: 0 4px 30px rgba(0,0,0,0.06);
  border-color: rgba(0,0,0,0.06);
}
.nav-logo { display: flex; align-items: center; gap: 0.625rem; flex-shrink: 0; }
.nav-logo img { height: 3rem; width: auto; }

.nav-links { display: flex; align-items: center; gap: 0.25rem; }
.nav-links a {
  padding: 0.5rem 1rem; border-radius: var(--radius-full);
  font-size: 0.8125rem; font-weight: 600; color: var(--gray);
  transition: all 0.4s var(--ease);
}
.nav-links a:hover, .nav-links a.active { color: var(--dark); background: rgba(0,0,0,0.03); }
.nav-links a.active { color: var(--orange); background: var(--orange-glow); }

.nav-actions { display: flex; align-items: center; gap: 0.5rem; }
.lang-switch {
  display: flex; align-items: center; gap: 0.375rem;
  padding: 0.5rem 0.875rem; border-radius: var(--radius-full);
  font-size: 0.75rem; font-weight: 700; color: var(--gray);
  transition: all 0.4s var(--ease);
}
.lang-switch:hover { color: var(--dark); background: rgba(0,0,0,0.03); }

.nav-cta {
  display: flex; align-items: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem; border-radius: var(--radius-full);
  background: var(--dark); color: var(--white);
  font-size: 0.75rem; font-weight: 700; letter-spacing: 0.01em;
  transition: all 0.5s var(--ease);
}
.nav-cta:hover { background: var(--dark-2); }

.hamburger {
  display: none; width: 2.5rem; height: 2.5rem; border-radius: 50%;
  align-items: center; justify-content: center; flex-direction: column; gap: 5px;
  transition: all 0.3s var(--ease);
}
.hamburger:hover { background: rgba(0,0,0,0.04); }
.hamburger span {
  display: block; width: 18px; height: 1.5px; background: var(--dark);
  border-radius: 2px; transition: all 0.5s var(--ease); transform-origin: center;
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(4.5px, 4.5px); }
.hamburger.open span:nth-child(2) { opacity: 0; transform: scale(0); }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(4.5px, -4.5px); }

.mobile-menu {
  position: fixed; inset: 0; z-index: 90; background: rgba(255,255,255,0.97);
  backdrop-filter: blur(40px); display: flex; align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.5s var(--ease);
}
.mobile-menu.open { opacity: 1; pointer-events: auto; }
.mobile-menu nav { display: flex; flex-direction: column; align-items: center; gap: 0.5rem; }
.mobile-menu nav a {
  font-size: 1.75rem; font-weight: 800; color: var(--dark); padding: 0.5rem 1.5rem;
  border-radius: var(--radius-lg); transition: all 0.3s var(--ease);
  transform: translateY(20px); opacity: 0;
}
.mobile-menu.open nav a {
  transform: translateY(0); opacity: 1;
  transition: all 0.5s var(--ease);
}
.mobile-menu.open nav a:nth-child(1) { transition-delay: 0.05s; }
.mobile-menu.open nav a:nth-child(2) { transition-delay: 0.1s; }
.mobile-menu.open nav a:nth-child(3) { transition-delay: 0.15s; }
.mobile-menu.open nav a:nth-child(4) { transition-delay: 0.2s; }
.mobile-menu.open nav a:nth-child(5) { transition-delay: 0.25s; }
.mobile-menu.open nav a:nth-child(6) { transition-delay: 0.3s; }
.mobile-menu nav a:hover, .mobile-menu nav a.active { color: var(--orange); }

/* ===== HERO ===== */
.hero {
  min-height: 100dvh; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden; padding: 8rem 0 5rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--white) 50%, var(--white) 100%);
}
.hero-glow {
  position: absolute; width: 700px; height: 700px; border-radius: 50%;
  filter: blur(140px); pointer-events: none;
}
.hero-glow-1 { top: -30%; right: -10%; background: rgba(245,160,32,0.06); }
.hero-glow-2 { bottom: -40%; left: -15%; background: rgba(245,160,32,0.04); }
.hero-content { position: relative; z-index: 2; text-align: center; max-width: 860px; margin: 0 auto; }
.hero-content p { margin-top: 1.5rem; font-size: 1.125rem; color: var(--gray); line-height: 1.75; max-width: 640px; margin-left: auto; margin-right: auto; }
.hero-buttons { display: flex; align-items: center; justify-content: center; gap: 1rem; margin-top: 2.5rem; flex-wrap: wrap; }

.stats-row {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem;
  max-width: 700px; margin: 5rem auto 0; position: relative; z-index: 2;
}
.stat { text-align: center; }
.stat-value { font-size: clamp(2rem, 4vw, 2.75rem); font-weight: 800; color: var(--dark); letter-spacing: -0.02em; }
.stat-label { font-size: 0.8125rem; color: var(--gray); font-weight: 500; margin-top: 0.25rem; }

/* ===== SERVICES GRID ===== */
.services-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem;
}

/* ===== INDUSTRIES ===== */
.industries-wrap {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 0.75rem;
}
.industry-pill {
  padding: 0.75rem 1.5rem; border-radius: var(--radius-full);
  background: var(--white); border: 1px solid var(--border);
  font-size: 0.875rem; font-weight: 600; color: var(--dark);
  transition: all 0.5s var(--ease); cursor: default;
  box-shadow: var(--shadow-sm);
}
.industry-pill:hover {
  border-color: var(--orange); color: var(--orange);
  box-shadow: 0 4px 20px rgba(245,160,32,0.12);
  transform: translateY(-2px);
}

/* ===== WHY SECTION ===== */
.why-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.why-cards { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }

/* ===== UN SECTION ===== */
.un-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl); padding: 3.5rem; text-align: center;
  box-shadow: var(--shadow-md);
}
.un-agencies { display: flex; flex-wrap: wrap; justify-content: center; gap: 1rem; margin-top: 2.5rem; }
.un-pill {
  width: 12rem; height: 6rem; border-radius: var(--radius-xl);
  background: var(--white); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  padding: 1rem 1.25rem;
  transition: all 0.5s var(--ease);
}
.un-pill img {
  width: 100%; height: 100%; display: block;
  object-fit: contain;
  filter: grayscale(1) opacity(0.65);
  transition: filter 0.5s var(--ease);
}
.un-pill:hover { border-color: var(--border-light); box-shadow: var(--shadow-md); transform: translateY(-2px); }
.un-pill:hover img { filter: grayscale(0) opacity(1); }

/* ===== CTA ===== */
.cta-glow {
  position: absolute; width: 500px; height: 500px; border-radius: 50%;
  background: rgba(245,160,32,0.08); filter: blur(140px); pointer-events: none;
}

/* ===== FOOTER ===== */
.footer { background: var(--dark); color: rgba(255,255,255,0.5); padding: 5rem 0 2rem; }
.footer-grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr; gap: 3rem; }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-top: 1rem; max-width: 280px; }
.footer h5 {
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.15em; color: rgba(255,255,255,0.3); margin-bottom: 1.25rem;
}
.footer ul li { margin-bottom: 0.625rem; }
.footer ul li a, .footer ul li span { font-size: 0.875rem; transition: color 0.3s; }
.footer ul li a:hover { color: var(--orange); }
.footer-bottom {
  margin-top: 3rem; padding-top: 1.5rem;
  border-top: 1px solid rgba(255,255,255,0.06);
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.75rem; color: rgba(255,255,255,0.25);
}

/* ===== PAGE HERO (inner pages) ===== */
.page-hero {
  padding: 10rem 0 4rem;
  background: linear-gradient(180deg, var(--surface) 0%, var(--white) 100%);
  position: relative; overflow: hidden;
}
.page-hero-glow {
  position: absolute; top: -50%; right: -20%; width: 600px; height: 600px;
  background: rgba(245,160,32,0.04); border-radius: 50%; filter: blur(120px);
}
.page-hero-content { position: relative; z-index: 2; max-width: 700px; }
.page-hero-content p { margin-top: 1.25rem; font-size: 1.125rem; color: var(--gray); line-height: 1.75; }

/* ===== SERVICE DETAIL CARDS ===== */
.service-detail {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl); padding: 2.5rem;
  margin-bottom: 1.5rem; box-shadow: var(--shadow-sm);
  display: grid; grid-template-columns: 1fr 2fr; gap: 2.5rem;
  transition: all 0.5s var(--ease);
}
.service-detail:hover { box-shadow: var(--shadow-lg); border-color: rgba(245,160,32,0.15); }
.service-detail-items {
  display: grid; grid-template-columns: 1fr 1fr; gap: 0.625rem;
}
.service-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem; border-radius: var(--radius-md);
  background: var(--surface); font-size: 0.875rem; color: var(--dark);
  font-weight: 500;
}
.service-item::before {
  content: ''; width: 6px; height: 6px; border-radius: 50%;
  background: var(--orange); flex-shrink: 0;
}

/* ===== PROJECT CARDS ===== */
.projects-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.25rem; }
.project-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: 1.75rem;
  transition: all 0.5s var(--ease); display: flex; flex-direction: column;
}
.project-card:hover { box-shadow: var(--shadow-card-hover); border-color: rgba(245,160,32,0.15); transform: translateY(-2px); }
.project-tag {
  display: inline-flex; padding: 0.25rem 0.75rem; border-radius: var(--radius-full);
  font-size: 0.6875rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.08em; background: var(--orange-glow);
  color: var(--orange); border: 1px solid rgba(245,160,32,0.15);
  width: fit-content; margin-bottom: 1rem;
}
.project-card h3 { font-size: 1.0625rem; margin-bottom: 0.5rem; }
.project-card p { font-size: 0.875rem; color: var(--gray); line-height: 1.6; flex: 1; }
.project-status {
  display: flex; align-items: center; gap: 0.5rem;
  margin-top: 1.25rem; padding-top: 1.25rem; border-top: 1px solid var(--border-light);
  font-size: 0.75rem; font-weight: 600; color: var(--gray);
}
.project-status::before {
  content: ''; width: 8px; height: 8px; border-radius: 50%;
  background: #34D399;
}

/* ===== HSEQ ===== */
.hseq-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 4rem; align-items: center; }
.hseq-items { display: flex; flex-direction: column; gap: 0.75rem; }
.hseq-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 1.25rem; background: var(--white);
  border: 1px solid var(--border-light); border-radius: var(--radius-lg);
  font-size: 0.9375rem; font-weight: 600; color: var(--dark);
  box-shadow: var(--shadow-sm); transition: all 0.4s var(--ease);
}
.hseq-item:hover { box-shadow: var(--shadow-md); border-color: rgba(245,160,32,0.15); }
.hseq-check {
  width: 2rem; height: 2rem; border-radius: var(--radius-sm);
  background: var(--orange-glow); border: 1px solid rgba(245,160,32,0.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--orange);
}

/* ===== CONTACT ===== */
.contact-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.contact-info-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl); padding: 2.5rem; box-shadow: var(--shadow-sm);
}
.contact-item { display: flex; align-items: flex-start; gap: 1rem; margin-bottom: 1.5rem; }
.contact-item:last-child { margin-bottom: 0; }
.contact-icon {
  width: 2.75rem; height: 2.75rem; border-radius: var(--radius-lg);
  background: var(--orange-glow); border: 1px solid rgba(245,160,32,0.15);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
  color: var(--orange);
}
.contact-item label { font-size: 0.6875rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--gray-light); }
.contact-item span { font-size: 0.9375rem; font-weight: 600; color: var(--dark); display: block; margin-top: 0.125rem; }

.form-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl); padding: 2.5rem; box-shadow: var(--shadow-sm);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; margin-bottom: 1rem; }
.form-group { margin-bottom: 1rem; }
.form-group label { display: block; font-size: 0.75rem; font-weight: 700; color: var(--dark); margin-bottom: 0.5rem; }
.form-group input, .form-group textarea {
  width: 100%; padding: 0.875rem 1rem; border-radius: var(--radius-md);
  background: var(--surface); border: 1px solid var(--border-light);
  font-size: 0.875rem; color: var(--dark); outline: none;
  transition: all 0.3s var(--ease);
}
.form-group input:focus, .form-group textarea:focus {
  border-color: var(--orange); box-shadow: 0 0 0 3px rgba(245,160,32,0.1);
}
.form-group input::placeholder, .form-group textarea::placeholder { color: var(--gray-light); }
.form-group textarea { resize: none; min-height: 140px; }

/* ===== VALUES ===== */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; }
.value-card {
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-xl); padding: 1.75rem; text-align: center;
  transition: all 0.5s var(--ease); box-shadow: var(--shadow-sm);
}
.value-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: rgba(245,160,32,0.15); }
.value-card .card-icon { margin: 0 auto 1rem; }
.value-card h4 { font-size: 0.9375rem; margin-bottom: 0.5rem; }
.value-card p { font-size: 0.8125rem; color: var(--gray); line-height: 1.6; }

/* ===== ORG ===== */
.org-list { max-width: 560px; margin: 0 auto; }
.org-item {
  display: flex; align-items: center; gap: 1rem;
  padding: 1rem 0; border-bottom: 1px solid var(--border-light);
}
.org-item:last-child { border-bottom: none; }
.org-num {
  width: 2rem; height: 2rem; border-radius: var(--radius-sm);
  background: var(--orange-glow); border: 1px solid rgba(245,160,32,0.15);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 800; color: var(--orange); flex-shrink: 0;
}

/* ===== CEO ===== */
.ceo-card {
  max-width: 720px; margin: 0 auto;
  background: var(--white); border: 1px solid var(--border-light);
  border-radius: var(--radius-2xl); padding: 3rem;
  box-shadow: var(--shadow-md);
}
.ceo-card blockquote { font-size: 0.9375rem; color: var(--gray); line-height: 1.8; margin-bottom: 2rem; }
.ceo-card blockquote p { margin-bottom: 1rem; }
.ceo-card blockquote p:last-child { font-weight: 600; color: var(--dark); font-style: italic; }
.ceo-sig { padding-top: 1.5rem; border-top: 1px solid var(--border-light); }
.ceo-sig strong { display: block; font-size: 1rem; color: var(--dark); }
.ceo-sig span { font-size: 0.8125rem; color: var(--gray); display: block; margin-top: 0.125rem; }
.ceo-sig em { font-size: 0.8125rem; color: var(--orange); font-weight: 600; font-style: normal; display: block; margin-top: 0.125rem; }

/* ===== HERO VIDEO ===== */
.hero-video-wrap {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}
.hero-poster {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; object-position: center 30%; z-index: 1;
}
.hero-video {
  position: absolute; inset: 0; width: 100%; height: 100%;
  object-fit: cover; z-index: 2;
  opacity: 0; transition: opacity 1.5s ease;
}
.hero-video.loaded { opacity: 1; }
.hero-video-wrap::after {
  content: ''; position: absolute; inset: 0; z-index: 3;
  background: linear-gradient(180deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.93) 50%, rgba(255,255,255,0.98) 100%);
}

/* ===== FEATURE IMAGE ===== */
.feature-img {
  border-radius: var(--radius-2xl); overflow: hidden;
  margin: 0 auto; max-width: 1200px;
}
.feature-img img {
  width: 100%; height: 400px; object-fit: cover; display: block;
  transition: transform 0.8s var(--ease);
}
.feature-img:hover img { transform: scale(1.02); }

.feature-strip {
  padding: 0 1.5rem; margin: -2rem auto 0; position: relative; z-index: 2; max-width: 1248px;
}

/* ===== PAGE HERO BG ===== */
.page-hero-bg {
  position: absolute; inset: 0; z-index: 0;
}
.page-hero-bg img {
  width: 100%; height: 100%; object-fit: cover;
}
.page-hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(249,250,251,0.96) 0%, rgba(255,255,255,0.94) 50%, var(--white) 100%);
}

/* ===== WHY IMAGE ===== */
.why-image {
  margin-top: 2rem; border-radius: var(--radius-2xl); overflow: hidden;
}
.why-image img {
  width: 100%; height: 280px; object-fit: cover; display: block;
  transition: transform 0.8s var(--ease);
}
.why-image:hover img { transform: scale(1.03); }

/* ===== SCROLL REVEAL ===== */
.reveal {
  opacity: 0; transform: translateY(30px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }
.reveal-delay-5 { transition-delay: 0.5s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav-links { display: none; }
  .nav-cta { display: none; }
  .hamburger { display: flex; }
  .services-grid { grid-template-columns: repeat(2, 1fr); }
  .why-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .hseq-grid { grid-template-columns: 1fr; gap: 2.5rem; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .service-detail { grid-template-columns: 1fr; gap: 1.5rem; }
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .contact-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  section { padding: 4rem 0; }
  .container { padding: 0 1rem; }
  .services-grid { grid-template-columns: 1fr; }
  .stats-row { grid-template-columns: repeat(2, 1fr); gap: 1.5rem; }
  .why-cards { grid-template-columns: 1fr; }
  .projects-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
  .footer-bottom { flex-direction: column; gap: 0.5rem; text-align: center; }
  .hero-buttons { flex-direction: column; }
  .hero-buttons .btn { width: 100%; justify-content: center; }
  .form-row { grid-template-columns: 1fr; }
  .service-detail-items { grid-template-columns: 1fr; }
  .un-card { padding: 2rem; }
  .hero-video { display: none; }
  .feature-img img { height: 240px; }
  .why-image img { height: 200px; }
  .feature-strip { margin-top: -1rem; }
}

@media (max-width: 480px) {
  .values-grid { grid-template-columns: 1fr; }
  h1 { font-size: 2.25rem; }
}

/* ===== RTL ===== */
[dir="rtl"] .nav-links { direction: rtl; }
[dir="rtl"] .btn .arrow { transform: scaleX(-1); }
[dir="rtl"] .btn:hover .arrow { transform: scaleX(-1) translate(2px, -1px) scale(1.05); }
[dir="rtl"] .service-item { flex-direction: row-reverse; }
[dir="rtl"] .hseq-item { flex-direction: row-reverse; }
[dir="rtl"] .contact-item { flex-direction: row-reverse; text-align: right; }
[dir="rtl"] .org-item { flex-direction: row-reverse; }
[dir="rtl"] .footer-bottom { flex-direction: row-reverse; }
