/* ============================================================
   AL-MAJD AL-TALED CO. — DESIGN SYSTEM v2
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Almarai:wght@300;400;700;800&family=Poppins:wght@300;400;500;600;700&family=Playfair+Display:wght@700&display=swap');

/* ══════════════════════════════════════════
   1. DESIGN TOKENS
══════════════════════════════════════════ */
:root {
  /* Brand */
  --navy:        #0D1B3E;
  --navy-900:    #080E22;
  --navy-800:    #0F1F48;
  --navy-700:    #162654;
  --navy-600:    #1E3268;
  --navy-400:    #3D5A99;
  --navy-100:    rgba(13,27,62,.06);

  --gold:        #C9A84C;
  --gold-light:  #DFC06E;
  --gold-pale:   rgba(201,168,76,.12);
  --gold-border: rgba(201,168,76,.30);
  --gold-glow:   0 0 32px rgba(201,168,76,.25);

  /* Surfaces */
  --white:       #FFFFFF;
  --surface-1:   #FAFAF8;
  --surface-2:   #F4F2ED;
  --surface-3:   #EDE9E0;

  /* Text */
  --text-1:      #0D1B3E;
  --text-2:      #3D4F6E;
  --text-3:      #7A8BA8;
  --text-4:      #B0BCCC;

  /* Semantic */
  --success:     #22C55E;
  --success-bg:  rgba(34,197,94,.10);
  --warn:        #F59E0B;
  --warn-bg:     rgba(245,158,11,.10);
  --border:      #E4DDD0;
  --border-soft: rgba(13,27,62,.07);

  /* WhatsApp */
  --green:       #25D366;
  --green-d:     #128C7E;

  /* Type Scale — fluid */
  --text-xs:   clamp(.68rem,  .9vw,  .75rem);
  --text-sm:   clamp(.78rem, 1.0vw,  .875rem);
  --text-base: clamp(.88rem, 1.1vw,  1rem);
  --text-lg:   clamp(1rem,   1.3vw,  1.125rem);
  --text-xl:   clamp(1.1rem, 1.6vw,  1.25rem);
  --text-2xl:  clamp(1.25rem,2vw,    1.5rem);
  --text-3xl:  clamp(1.5rem, 2.6vw,  1.875rem);
  --text-4xl:  clamp(1.8rem, 3.2vw,  2.4rem);
  --text-5xl:  clamp(2.2rem, 4.5vw,  3.5rem);

  /* Spacing rhythm */
  --sp-1:  4px;  --sp-2: 8px;   --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px;  --sp-6: 24px;  --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px; --sp-20: 80px; --sp-24: 96px;

  /* Radii */
  --r-xs:  4px;
  --r-s:   8px;
  --r-m:   14px;
  --r-l:   22px;
  --r-xl:  32px;
  --r-full: 9999px;

  /* Shadows — layered */
  --sh-xs:  0 1px 3px rgba(13,27,62,.06), 0 1px 2px rgba(13,27,62,.04);
  --sh-s:   0 2px 8px  rgba(13,27,62,.07), 0 1px 3px rgba(13,27,62,.05);
  --sh-m:   0 8px 24px rgba(13,27,62,.10), 0 2px 8px  rgba(13,27,62,.06);
  --sh-l:   0 20px 48px rgba(13,27,62,.13), 0 6px 16px rgba(13,27,62,.07);
  --sh-xl:  0 32px 64px rgba(13,27,62,.16), 0 8px 24px rgba(13,27,62,.08);
  --sh-gold: 0 6px 28px rgba(201,168,76,.35), 0 2px 8px rgba(201,168,76,.20);
  --sh-inner: inset 0 2px 4px rgba(13,27,62,.06);

  /* Motion */
  --dur-fast:   150ms;
  --dur-base:   250ms;
  --dur-slow:   400ms;
  --dur-slower: 600ms;
  --ease-out:   cubic-bezier(0.0, 0.0, 0.2, 1);
  --ease-in:    cubic-bezier(0.4, 0.0, 1.0, 1);
  --ease-in-out:cubic-bezier(0.4, 0.0, 0.2, 1);
  --ease-spring:cubic-bezier(0.34, 1.56, 0.64, 1);
  --ease:       var(--dur-base) var(--ease-in-out);

  /* Layout */
  --section-py: var(--sp-24);
  --cw:  1280px;
  --cx:  80px;
}

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

html {
  scroll-behavior: smooth;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.65;
  color: var(--text-1);
  background: var(--white);
  overflow-x: hidden;
}

img  { max-width: 100%; display: block; }
a    { text-decoration: none; color: inherit; }
ul   { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }
input, select, textarea { font-family: inherit; }
::selection { background: var(--gold-pale); color: var(--navy); }

/* ══════════════════════════════════════════
   3. TYPOGRAPHY SYSTEM
══════════════════════════════════════════ */

/* Language-aware font stack */
html[lang="ar"] {
  font-family: 'Almarai', 'Segoe UI', system-ui, sans-serif;
  direction: rtl;
  word-spacing: .05em;
}
html[lang="en"] {
  font-family: 'Poppins', 'Inter', system-ui, sans-serif;
  direction: ltr;
}

/* Heading weights */
html[lang="ar"] h1, html[lang="ar"] h2 { font-weight: 800; line-height: 1.25; }
html[lang="ar"] h3, html[lang="ar"] h4 { font-weight: 700; line-height: 1.35; }
html[lang="en"] h1, html[lang="en"] h2 { font-weight: 700; line-height: 1.2; letter-spacing: -0.03em; }
html[lang="en"] h3, html[lang="en"] h4 { font-weight: 600; line-height: 1.35; }

/* Tighter letter spacing for all h1, h2 + line-height */
h1, h2 { letter-spacing: -0.02em; line-height: 1.1; }

p { line-height: 1.8; }

/* Eyebrow label */
.label {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: var(--text-xs);
  font-weight: 700;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: var(--sp-3);
}
html[lang="ar"] .label { letter-spacing: .04em; }
.label::before {
  content: '';
  display: inline-block;
  width: 20px; height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

/* Section heading */
.h-section {
  font-size: var(--text-4xl);
  color: var(--navy);
  margin-bottom: var(--sp-4);
}
.h-section::after {
  content: '';
  display: block;
  width: 44px; height: 3px;
  background: linear-gradient(90deg, var(--gold), rgba(201,168,76,.3));
  border-radius: var(--r-full);
  margin-top: var(--sp-4);
}
.h-section.c::after { margin-inline: auto; }

/* Subtext */
.sub {
  font-size: var(--text-base);
  color: var(--text-2);
  line-height: 1.85;
  max-width: 600px;
}
.sub.c { margin-inline: auto; text-align: center; }

.sec-head        { margin-bottom: var(--sp-12); }
.sec-head.center { text-align: center; }

/* ══════════════════════════════════════════
   4. LAYOUT
══════════════════════════════════════════ */
.container { max-width: var(--cw); margin: 0 auto; padding: 0 var(--cx); }
.section    { padding: var(--section-py) 0; }
.section-alt  { background: var(--surface-1); }
.section-dark { background: var(--navy); }

/* ══════════════════════════════════════════
   5. SCROLL PROGRESS
══════════════════════════════════════════ */
.scroll-bar {
  position: fixed; top: 0; left: 0; right: 0;
  height: 3px; z-index: 9999;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  transform-origin: left;
  transform: scaleX(0);
  transition: transform var(--dur-fast) linear;
}

/* ══════════════════════════════════════════
   6. BUTTONS
══════════════════════════════════════════ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: var(--sp-2);
  padding: 13px 26px;
  border-radius: var(--r-s);
  font-size: var(--text-sm);
  font-weight: 600;
  letter-spacing: .01em;
  transition:
    background var(--ease),
    color var(--ease),
    transform var(--dur-base) var(--ease-spring),
    box-shadow var(--ease),
    border-color var(--ease);
  white-space: nowrap;
  position: relative;
  overflow: hidden;
}

/* Ripple */
.btn::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,.12);
  opacity: 0;
  transition: opacity var(--dur-fast);
}
.btn:active::after { opacity: 1; }
.btn:active { transform: scale(.97) !important; }

.btn-gold {
  background: var(--gold);
  color: var(--navy);
  box-shadow: 0 2px 12px rgba(201,168,76,.20);
}
.btn-gold:hover {
  background: var(--gold-light);
  box-shadow: var(--sh-gold);
  transform: translateY(-2px);
}

.btn-navy {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--sh-s);
}
.btn-navy:hover {
  background: var(--navy-700);
  box-shadow: var(--sh-m);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: #fff;
  border: 1.5px solid rgba(255,255,255,.4);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(201,168,76,.08);
}

.btn-wa {
  background: var(--green);
  color: #fff;
  box-shadow: 0 2px 12px rgba(37,211,102,.20);
}
.btn-wa:hover {
  background: var(--green-d);
  box-shadow: 0 6px 24px rgba(37,211,102,.30);
  transform: translateY(-2px);
}

.btn-ghost {
  background: transparent;
  color: var(--navy);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: var(--gold-pale);
}

.btn-sm { padding: 8px 16px; font-size: var(--text-xs); }
.btn-lg { padding: 16px 34px; font-size: var(--text-lg); }
.btn-icon { padding: 11px; border-radius: var(--r-s); }

/* ══════════════════════════════════════════
   7. NAVBAR
══════════════════════════════════════════ */
.nav {
  position: fixed; top: 0; left: 0; right: 0;
  z-index: 1000;
  padding: 20px 0;
  transition:
    background var(--dur-slow) var(--ease-in-out),
    padding var(--dur-slow) var(--ease-in-out),
    box-shadow var(--dur-slow) var(--ease-in-out),
    backdrop-filter var(--dur-slow);
}
.nav.scrolled {
  background: rgba(8,14,34,.92);
  backdrop-filter: blur(16px) saturate(180%);
  -webkit-backdrop-filter: blur(16px) saturate(180%);
  padding: 12px 0;
  box-shadow: 0 4px 32px rgba(0,0,0,.4);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: var(--sp-6);
}

.nav-logo {
  display: flex; align-items: center;
  gap: var(--sp-3); flex-shrink: 0;
  transition: transform var(--dur-base) var(--ease-spring);
}
.nav-logo:hover { transform: scale(1.03); }
.nav-logo img { width: 68px; height: 68px; object-fit: contain; }
.nav-logo-text { color: #fff; line-height: 1.2; }
.nav-logo-text .name {
  font-size: 1.15rem; font-weight: 800;
  display: block; letter-spacing: -.01em;
}
.nav-logo-text .slogan {
  font-size: var(--text-xs); opacity: .55;
  display: block; font-weight: 300;
}

.nav-links { display: flex; align-items: center; gap: var(--sp-8); }
.nav-links a {
  color: rgba(255,255,255,.72);
  font-size: var(--text-sm); font-weight: 500;
  position: relative;
  padding-bottom: 2px;
  transition: color var(--dur-base);
}
.nav-links a::after {
  content: '';
  position: absolute; bottom: -4px; inset-inline-start: 0;
  width: 0; height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: var(--r-full);
  transition: width var(--dur-base) var(--ease-spring);
}
.nav-links a:hover, .nav-links a.active { color: #fff; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }

.nav-right { display: flex; align-items: center; gap: var(--sp-2); }

.lang-btn {
  background: rgba(255,255,255,.08);
  border: 1px solid rgba(255,255,255,.18);
  color: rgba(255,255,255,.8);
  padding: 5px 13px;
  border-radius: var(--r-xs);
  font-size: var(--text-xs); font-weight: 700;
  letter-spacing: .06em;
  transition: var(--ease);
}
.lang-btn:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--gold-border);
  color: #fff;
}

.nav-wa {
  background: var(--green); color: #fff;
  padding: 7px 14px; border-radius: var(--r-xs);
  font-size: var(--text-xs); font-weight: 600;
  display: flex; align-items: center; gap: 6px;
  transition: var(--ease);
  box-shadow: 0 2px 10px rgba(37,211,102,.25);
}
.nav-wa:hover {
  background: var(--green-d);
  box-shadow: 0 4px 18px rgba(37,211,102,.35);
  transform: translateY(-1px);
}
.nav-wa svg { width: 14px; height: 14px; flex-shrink: 0; }

.burger {
  display: none; flex-direction: column;
  justify-content: center; gap: 5px;
  padding: 6px; width: 36px; height: 36px;
}
.burger span {
  display: block; height: 2px; background: #fff;
  border-radius: var(--r-full);
  transition: var(--ease);
}
.burger span:nth-child(1) { width: 22px; }
.burger span:nth-child(2) { width: 16px; }
.burger span:nth-child(3) { width: 20px; }
.burger:hover span { width: 22px; }
.burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); width: 22px; }
.burger.open span:nth-child(2) { opacity: 0; transform: translateX(-6px); }
.burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); width: 22px; }

/* ══════════════════════════════════════════
   8. MOBILE MENU
══════════════════════════════════════════ */
.m-menu {
  position: fixed; inset: 0;
  background: rgba(8,14,34,.98);
  backdrop-filter: blur(24px);
  z-index: 999;
  flex-direction: column;
  padding: 88px var(--sp-8) var(--sp-10);
  display: flex;
  opacity: 0; pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-in-out);
}
.m-menu.open { opacity: 1; pointer-events: all; }
.m-menu ul { display: flex; flex-direction: column; gap: var(--sp-1); margin-bottom: var(--sp-8); }
.m-menu ul li { overflow: hidden; }
.m-menu ul a {
  display: flex; align-items: center; justify-content: space-between;
  padding: var(--sp-4) 0;
  color: rgba(255,255,255,.75); font-size: var(--text-xl); font-weight: 600;
  border-bottom: 1px solid rgba(255,255,255,.06);
  transition: color var(--dur-base), padding-inline-start var(--dur-base) var(--ease-spring);
  transform: translateY(20px); opacity: 0;
  transition: transform var(--dur-slow) var(--ease-spring), opacity var(--dur-slow);
}
.m-menu.open ul a { transform: translateY(0); opacity: 1; }
.m-menu ul li:nth-child(1) a { transition-delay: .05s; }
.m-menu ul li:nth-child(2) a { transition-delay: .10s; }
.m-menu ul li:nth-child(3) a { transition-delay: .15s; }
.m-menu ul li:nth-child(4) a { transition-delay: .20s; }
.m-menu ul li:nth-child(5) a { transition-delay: .25s; }
.m-menu ul a:hover { color: var(--gold); padding-inline-start: var(--sp-3); }
.m-menu ul a::after { content: '›'; color: rgba(255,255,255,.2); font-size: var(--text-lg); }

.m-menu-close {
  position: absolute; top: 18px; inset-inline-end: 18px;
  width: 40px; height: 40px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%; color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.m-menu-close:hover { background: rgba(255,255,255,.16); transform: rotate(90deg); }

/* ══════════════════════════════════════════
   9. HERO
══════════════════════════════════════════ */
.hero {
  min-height: 100vh; background: var(--navy-900);
  position: relative; display: flex; align-items: center; overflow: hidden;
}

/* Parallax BG */
.hero-bg {
  position: absolute; inset: -10%;
  background-image: url('../project root/Project-Photo/WhatsApp Image 2026-06-10 at 9.23.55 AM (11).jpeg');
  background-size: cover; background-position: center;
  opacity: .18;
  transition: transform .1s linear;
  will-change: transform;
}
.hero-bg::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(135deg, rgba(8,14,34,.98) 30%, rgba(13,27,62,.65) 70%, transparent),
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(201,168,76,.04) 0%, transparent 70%);
}

/* Grid pattern overlay */
.hero-grid {
  position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(rgba(201,168,76,.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,.04) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 50%, black 30%, transparent 80%);
}

.hero-body { position: relative; z-index: 3; padding: 140px 0 100px; width: 100%; }

.hero-pill {
  display: inline-flex; align-items: center; gap: var(--sp-3);
  background: rgba(201,168,76,.08);
  border: 1px solid rgba(201,168,76,.25);
  padding: 7px 18px; border-radius: var(--r-full); margin-bottom: var(--sp-6);
  backdrop-filter: blur(8px);
}
.hero-pill span {
  font-size: var(--text-xs); font-weight: 700;
  color: var(--gold); letter-spacing: .12em;
}
html[lang="ar"] .hero-pill span { letter-spacing: .02em; }
.hero-pill .dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 6px var(--gold);
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0%, 100% { transform: scale(1); opacity: 1; }
  50%       { transform: scale(1.35); opacity: .6; }
}

.hero h1 {
  font-size: var(--text-5xl);
  color: #fff; max-width: 720px; margin-bottom: var(--sp-6);
  line-height: 1.12; letter-spacing: -0.03em;
}
html[lang="en"] .hero h1 {
  font-family: 'Playfair Display', serif;
  font-weight: 700;
}
.hero h1 .g {
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 60%, #fff 100%);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-desc {
  font-size: var(--text-lg); color: rgba(255,255,255,.65);
  max-width: 520px; margin-bottom: var(--sp-10); line-height: 1.9;
  font-weight: 300;
}

.hero-cta { display: flex; gap: var(--sp-3); flex-wrap: wrap; margin-bottom: var(--sp-16); }

/* Stats bar */
.stats-bar {
  display: grid; grid-template-columns: repeat(3,1fr); max-width: 580px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--r-m);
  overflow: hidden;
  backdrop-filter: blur(12px);
}
.stat {
  padding: 20px 16px; text-align: center;
  border-inline-end: 1px solid rgba(255,255,255,.06);
  transition: background var(--dur-base);
}
.stat:last-child { border-inline-end: none; }
.stat:hover { background: rgba(201,168,76,.06); }
.stat-n {
  font-size: var(--text-3xl); font-weight: 800;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
  display: block; line-height: 1; margin-bottom: 6px;
}
.stat-l { font-size: var(--text-xs); color: rgba(255,255,255,.5); font-weight: 300; }

/* Scroll indicator */
.hero-scroll {
  position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.25); font-size: var(--text-xs);
  letter-spacing: .12em; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: 8px;
  animation: bob 2.5s infinite var(--ease-in-out);
}
.hero-scroll svg { width: 18px; height: 18px; }
@keyframes bob {
  0%, 100% { transform: translateX(-50%) translateY(0); }
  50%       { transform: translateX(-50%) translateY(10px); }
}

/* ══════════════════════════════════════════
   10. ABOUT
══════════════════════════════════════════ */
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: var(--sp-20); align-items: center;
}
.about-img-wrap {
  position: relative; border-radius: var(--r-l);
  overflow: hidden;
  box-shadow: var(--sh-xl);
}
.about-img-wrap::before {
  content: ''; position: absolute;
  inset: 0; z-index: 1;
  background: linear-gradient(135deg, transparent 60%, rgba(201,168,76,.12));
}
.about-img-wrap img {
  width: 100%; height: 480px; object-fit: cover;
  transition: transform var(--dur-slower) var(--ease-in-out);
}
.about-img-wrap:hover img { transform: scale(1.04); }

.about-badge {
  position: absolute; bottom: var(--sp-6); inset-inline-end: var(--sp-6);
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: var(--navy); padding: 18px 24px; border-radius: var(--r-m);
  text-align: center; box-shadow: var(--sh-gold); z-index: 2;
}
.about-badge .big { font-size: var(--text-3xl); font-weight: 800; display: block; line-height: 1; }
.about-badge .sm  { font-size: var(--text-xs); font-weight: 700; opacity: .7; }

.about-text p { color: var(--text-2); margin-bottom: var(--sp-5); line-height: 1.9; }

.highlights { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); margin: var(--sp-6) 0 var(--sp-8); }
.hl-item { display: flex; align-items: flex-start; gap: var(--sp-3); }
.hl-icon {
  width: 40px; height: 40px; border-radius: var(--r-s);
  background: var(--gold-pale); border: 1px solid var(--gold-border);
  flex-shrink: 0; display: flex; align-items: center; justify-content: center;
  font-size: 1rem; transition: var(--ease);
}
.hl-item:hover .hl-icon { background: var(--gold); transform: scale(1.08) rotate(-3deg); }
.hl-item h4 { font-size: var(--text-sm); color: var(--navy); margin-bottom: 3px; }
.hl-item p  { font-size: var(--text-xs); color: var(--text-3); margin: 0; }

/* ══════════════════════════════════════════
   11. SERVICE CARDS
══════════════════════════════════════════ */
.srv-grid-wrap { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-5); }

.srv-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--r-m);
  padding: var(--sp-8);
  transition:
    transform var(--dur-base) var(--ease-spring),
    box-shadow var(--dur-base),
    border-color var(--dur-base);
  position: relative; overflow: hidden;
  cursor: default;
}
.srv-card::before {
  content: ''; position: absolute;
  top: 0; inset-inline-start: 0;
  width: 3px; height: 0;
  background: linear-gradient(to bottom, var(--gold), var(--gold-light));
  border-radius: 0 0 var(--r-full) var(--r-full);
  transition: height var(--dur-slow) var(--ease-spring);
}
.srv-card::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 60%;
  background: linear-gradient(to top, var(--gold-pale), transparent);
  opacity: 0; transition: opacity var(--dur-base);
}
.srv-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--sh-l);
  border-color: var(--gold-border);
}
.srv-card:hover::before { height: 100%; }
.srv-card:hover::after  { opacity: 1; }

.srv-icon {
  width: 52px; height: 52px;
  border-radius: var(--r-m);
  background: var(--navy-100);
  border: 1px solid var(--border-soft);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; margin-bottom: var(--sp-5);
  transition: var(--ease);
  position: relative; z-index: 1;
}
.srv-card:hover .srv-icon {
  background: var(--gold-pale);
  border-color: var(--gold-border);
  transform: scale(1.1) rotate(-5deg);
}
.srv-card h3 {
  font-size: var(--text-base); color: var(--navy);
  margin-bottom: var(--sp-2); position: relative; z-index: 1;
}
.srv-card p {
  font-size: var(--text-sm); color: var(--text-2);
  line-height: 1.8; margin-bottom: var(--sp-5);
  position: relative; z-index: 1;
}
.srv-more {
  font-size: var(--text-sm); font-weight: 700; color: var(--gold);
  display: inline-flex; align-items: center; gap: 6px;
  transition: gap var(--dur-base) var(--ease-spring);
  position: relative; z-index: 1;
}
.srv-card:hover .srv-more { gap: 12px; }

/* ══════════════════════════════════════════
   12. PROJECT GALLERY CARDS
══════════════════════════════════════════ */
.proj-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-3); }

.proj-card {
  border-radius: var(--r-m); overflow: hidden;
  aspect-ratio: 4/3; cursor: zoom-in; position: relative;
  background: var(--surface-2);
}
.proj-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .7s var(--ease-in-out);
  will-change: transform;
}
.proj-card:hover img { transform: scale(1.08); }

.proj-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(8,14,34,.85) 30%, rgba(13,27,62,.3) 100%);
  opacity: 0; transition: opacity var(--dur-base);
  display: flex; align-items: center; justify-content: center;
}
.proj-card:hover .proj-overlay { opacity: 1; }

.proj-overlay-icon {
  width: 52px; height: 52px;
  background: rgba(255,255,255,.15); backdrop-filter: blur(6px);
  border: 1px solid rgba(255,255,255,.25);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; color: #fff; font-size: 1.3rem;
  transform: scale(.8); transition: transform var(--dur-base) var(--ease-spring);
}
.proj-card:hover .proj-overlay-icon { transform: scale(1); }

/* ══════════════════════════════════════════
   13. WHY CHOOSE US
══════════════════════════════════════════ */
.why-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: var(--sp-5); }

.why-card {
  background: rgba(255,255,255,.03);
  border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-m); padding: var(--sp-8);
  transition:
    background var(--dur-base),
    border-color var(--dur-base),
    transform var(--dur-base) var(--ease-spring);
  position: relative; overflow: hidden;
}
.why-card::before {
  content: ''; position: absolute;
  top: 0; inset-inline-end: 0;
  width: 80px; height: 80px;
  background: radial-gradient(circle, rgba(201,168,76,.12) 0%, transparent 70%);
  opacity: 0; transition: opacity var(--dur-slow);
}
.why-card:hover {
  background: rgba(201,168,76,.06);
  border-color: rgba(201,168,76,.25);
  transform: translateY(-4px);
}
.why-card:hover::before { opacity: 1; }

.why-num {
  font-size: var(--text-xs); font-weight: 700;
  color: var(--gold); display: block;
  margin-bottom: var(--sp-4); letter-spacing: .1em;
  opacity: .7;
}
.why-card h3 { font-size: var(--text-base); color: #fff; margin-bottom: var(--sp-2); }
.why-card p  { font-size: var(--text-sm); color: rgba(255,255,255,.5); line-height: 1.8; }

/* ══════════════════════════════════════════
   14. CTA BAND
══════════════════════════════════════════ */
.cta-band {
  padding: 80px 0;
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-700) 50%, var(--navy-800) 100%);
  position: relative; overflow: hidden; text-align: center;
}
.cta-band::before {
  content: ''; position: absolute;
  top: -50%; right: -5%; width: 500px; height: 500px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.08) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band::after {
  content: ''; position: absolute;
  bottom: -40%; left: -5%; width: 400px; height: 400px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201,168,76,.05) 0%, transparent 65%);
  pointer-events: none;
}
.cta-band h2 {
  font-size: var(--text-4xl); color: #fff;
  margin-bottom: var(--sp-3); position: relative; z-index: 1;
}
.cta-band p {
  color: rgba(255,255,255,.6); margin-bottom: var(--sp-8);
  font-size: var(--text-base); position: relative; z-index: 1;
}
.cta-btns {
  display: flex; gap: var(--sp-3);
  justify-content: center; flex-wrap: wrap;
  position: relative; z-index: 1;
}

/* ══════════════════════════════════════════
   15. FOOTER
══════════════════════════════════════════ */
.footer { background: var(--navy-900); color: rgba(255,255,255,.55); padding: 68px 0 30px; }

.footer-top {
  display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: var(--sp-12); padding-bottom: var(--sp-12);
  border-bottom: 1px solid rgba(255,255,255,.06); margin-bottom: var(--sp-6);
}
.f-brand-logo {
  display: flex; align-items: center; gap: var(--sp-3); margin-bottom: var(--sp-4);
}
.f-brand-logo img { width: 40px; height: 40px; object-fit: contain; }
.f-brand-logo span { font-size: var(--text-base); font-weight: 700; color: #fff; }
.f-brand p { font-size: var(--text-sm); line-height: 1.8; margin-bottom: var(--sp-4); }
.f-cr { font-size: var(--text-xs); color: rgba(255,255,255,.28); line-height: 2; }

.f-col h4 {
  font-size: var(--text-xs); font-weight: 700; color: rgba(255,255,255,.8);
  margin-bottom: var(--sp-4); text-transform: uppercase; letter-spacing: .08em;
}
html[lang="ar"] .f-col h4 { letter-spacing: .02em; }
.f-col ul { display: flex; flex-direction: column; gap: var(--sp-2); }
.f-col ul a {
  font-size: var(--text-sm); color: rgba(255,255,255,.45);
  transition: color var(--dur-base), padding-inline-start var(--dur-base) var(--ease-spring);
  display: flex; align-items: center; gap: 6px;
}
.f-col ul a::before {
  content: ''; width: 0; height: 1px;
  background: var(--gold); transition: width var(--dur-base) var(--ease-spring);
}
.f-col ul a:hover {
  color: var(--gold);
  padding-inline-start: var(--sp-2);
}
.f-col ul a:hover::before { width: 14px; }

.f-contact-item {
  display: flex; align-items: center; gap: var(--sp-3);
  font-size: var(--text-sm); margin-bottom: var(--sp-3);
  color: rgba(255,255,255,.45);
}

.footer-bottom {
  display: flex; align-items: center; justify-content: space-between;
  font-size: var(--text-xs); color: rgba(255,255,255,.28);
}
.footer-bottom a { color: var(--gold); }

/* ══════════════════════════════════════════
   16. PAGE HERO BANNER
══════════════════════════════════════════ */
.pg-hero {
  background: var(--navy); padding: 136px 0 56px;
  position: relative; overflow: hidden;
}
.pg-hero::before {
  content: ''; position: absolute; inset: 0;
  background-image:
    repeating-linear-gradient(
      45deg,
      rgba(201,168,76,.025) 0, rgba(201,168,76,.025) 1px,
      transparent 0, transparent 50%);
  background-size: 24px 24px;
}
.pg-hero::after {
  content: ''; position: absolute;
  bottom: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-border), transparent);
}
.pg-hero-inner { position: relative; z-index: 1; }

.breadcrumb {
  display: flex; align-items: center; gap: var(--sp-2);
  font-size: var(--text-xs); color: rgba(255,255,255,.35); margin-bottom: var(--sp-4);
}
.breadcrumb a { color: rgba(255,255,255,.35); transition: color var(--dur-base); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep  { color: rgba(255,255,255,.18); }
.breadcrumb .curr { color: var(--gold); }

.pg-hero h1 { font-size: var(--text-4xl); color: #fff; }
.pg-hero p  {
  color: rgba(255,255,255,.5); margin-top: var(--sp-3);
  max-width: 480px; font-size: var(--text-base);
}

/* ══════════════════════════════════════════
   17. VISION/MISSION, VALUES, SISTER
══════════════════════════════════════════ */
.vm-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-6); margin: var(--sp-10) 0; }
.vm-card {
  background: var(--white); border: 1px solid var(--border);
  border-radius: var(--r-m); padding: var(--sp-8);
  position: relative; overflow: hidden;
  transition: var(--ease);
}
.vm-card::before {
  content: ''; position: absolute;
  top: 0; inset-inline-start: 0;
  width: 4px; height: 100%;
  background: linear-gradient(to bottom, var(--gold), rgba(201,168,76,.3));
}
.vm-card:hover { box-shadow: var(--sh-l); transform: translateY(-3px); }
.vm-card .vm-icon { font-size: 1.8rem; margin-bottom: var(--sp-4); }
.vm-card h3 { font-size: var(--text-base); color: var(--navy); margin-bottom: var(--sp-3); }
.vm-card p  { font-size: var(--text-sm); color: var(--text-2); line-height: 1.85; }

.val-grid { display: grid; grid-template-columns: repeat(2,1fr); gap: var(--sp-5); }
.val-card {
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: var(--r-m); padding: var(--sp-8);
  transition:
    box-shadow var(--dur-base),
    transform var(--dur-base) var(--ease-spring),
    border-color var(--dur-base);
}
.val-card:hover {
  box-shadow: var(--sh-m); transform: translateY(-3px);
  border-color: var(--gold-border);
}
.val-num {
  font-size: var(--text-xs); font-weight: 700; color: var(--gold);
  display: block; margin-bottom: var(--sp-3); letter-spacing: .1em; opacity: .7;
}
.val-card h3 { font-size: var(--text-sm); color: var(--navy); margin-bottom: var(--sp-2); }
.val-card p  { font-size: var(--text-sm); color: var(--text-2); line-height: 1.8; }

.sister-strip {
  display: flex; gap: var(--sp-5); align-items: center;
  background: var(--navy); border: 1px solid rgba(255,255,255,.07);
  border-radius: var(--r-m); padding: var(--sp-6) var(--sp-8); flex-wrap: wrap;
}
.sister-label { font-size: var(--text-sm); color: rgba(255,255,255,.4); white-space: nowrap; }
.sister-divider { width: 1px; height: 34px; background: rgba(255,255,255,.12); flex-shrink: 0; }
.sister-item {
  background: rgba(255,255,255,.06);
  border: 1px solid rgba(255,255,255,.1);
  border-radius: var(--r-s); padding: 10px 22px;
  color: rgba(255,255,255,.8); font-size: var(--text-sm); font-weight: 600;
  transition: var(--ease);
}
.sister-item:hover {
  background: rgba(201,168,76,.1);
  border-color: rgba(201,168,76,.3);
  color: var(--gold);
}

/* ══════════════════════════════════════════
   18. SERVICE DETAIL
══════════════════════════════════════════ */
.srv-detail-grid { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-20); align-items: start; }
.srv-detail-img { border-radius: var(--r-l); overflow: hidden; box-shadow: var(--sh-xl); }
.srv-detail-img img {
  width: 100%; height: 430px; object-fit: cover;
  transition: transform var(--dur-slower) var(--ease-in-out);
}
.srv-detail-img:hover img { transform: scale(1.04); }

.srv-sub-list { display: flex; flex-direction: column; gap: var(--sp-2); margin: var(--sp-6) 0; }
.srv-sub-item {
  display: flex; align-items: center; gap: var(--sp-4);
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: var(--r-s); padding: 13px var(--sp-5);
  transition:
    border-color var(--dur-base),
    background var(--dur-base),
    transform var(--dur-base) var(--ease-spring);
}
.srv-sub-item:hover {
  border-color: var(--gold-border);
  background: var(--gold-pale);
  transform: translateX(4px);
}
html[lang="ar"] .srv-sub-item:hover { transform: translateX(-4px); }
.srv-sub-item .tick { color: var(--gold); font-size: 1rem; flex-shrink: 0; }
.srv-sub-item span  { font-size: var(--text-sm); color: var(--text-1); font-weight: 500; }

/* ══════════════════════════════════════════
   19. PROJECTS PAGE
══════════════════════════════════════════ */
.proj-full-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: var(--sp-3); }

/* Table */
.proj-table-wrap {
  overflow-x: auto;
  border-radius: var(--r-m);
  box-shadow: var(--sh-s);
  border: 1px solid var(--border);
}
.proj-table { width: 100%; border-collapse: collapse; font-size: var(--text-sm); }
.proj-table thead { background: var(--navy); color: #fff; }
.proj-table th {
  padding: 14px 20px; font-weight: 600;
  text-align: start; font-size: var(--text-xs);
  letter-spacing: .05em; text-transform: uppercase;
  white-space: nowrap;
}
.proj-table td {
  padding: 14px 20px; border-bottom: 1px solid var(--border);
  color: var(--text-2); vertical-align: middle;
}
.proj-table tbody tr { transition: background var(--dur-fast); }
.proj-table tbody tr:hover { background: var(--surface-1); }
.proj-table td:first-child { color: var(--text-3); font-size: var(--text-xs); }
.proj-table td:nth-child(2) { color: var(--text-1); font-weight: 500; }
.proj-table tbody tr:last-child td { border-bottom: none; }

.badge {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 4px 12px; border-radius: var(--r-full);
  font-size: var(--text-xs); font-weight: 600; white-space: nowrap;
}
.badge.done    { background: var(--success-bg); color: #15803d; }
.badge.ongoing { background: var(--warn-bg);    color: #92700f; }
.badge::before { content: '●'; font-size: .4rem; }

/* ══════════════════════════════════════════
   20. CONTACT PAGE
══════════════════════════════════════════ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: var(--sp-16); align-items: start; }

.contact-info-card {
  display: flex; align-items: flex-start; gap: var(--sp-4);
  margin-bottom: var(--sp-5); padding: var(--sp-4);
  border-radius: var(--r-m);
  transition: background var(--dur-base);
}
.contact-info-card:hover { background: var(--surface-1); }

.ci-icon {
  width: 46px; height: 46px; border-radius: var(--r-s);
  background: var(--navy-100); border: 1px solid var(--border-soft);
  flex-shrink: 0; display: flex; align-items: center;
  justify-content: center; font-size: 1.1rem;
  transition: var(--ease);
}
.contact-info-card:hover .ci-icon { background: var(--gold-pale); border-color: var(--gold-border); }
.ci-label { font-size: var(--text-xs); color: var(--text-3); display: block; margin-bottom: 3px; }
.ci-val   { font-size: var(--text-base); color: var(--text-1); font-weight: 500; }

.map-box { border-radius: var(--r-m); overflow: hidden; height: 260px; margin-top: var(--sp-6); box-shadow: var(--sh-s); }
.map-box iframe { width: 100%; height: 100%; border: none; }

/* Form */
.inq-form {
  background: var(--surface-1); border: 1px solid var(--border);
  border-radius: var(--r-xl); padding: var(--sp-10);
  box-shadow: var(--sh-s);
}
.inq-form h3 { font-size: var(--text-xl); color: var(--navy); margin-bottom: var(--sp-2); }

.f-group { margin-bottom: var(--sp-5); }
.f-group label {
  display: block; font-size: var(--text-xs); font-weight: 700;
  color: var(--text-2); margin-bottom: var(--sp-2);
  letter-spacing: .03em; text-transform: uppercase;
}
html[lang="ar"] .f-group label { letter-spacing: 0; }

.f-group input,
.f-group select,
.f-group textarea {
  width: 100%; padding: 12px 16px;
  border: 1.5px solid var(--border);
  border-radius: var(--r-s);
  font-size: var(--text-base); color: var(--text-1);
  background: var(--white);
  transition:
    border-color var(--dur-base),
    box-shadow var(--dur-base),
    background var(--dur-base);
  outline: none;
}
.f-group input:hover,
.f-group select:hover,
.f-group textarea:hover { border-color: var(--text-4); }

.f-group input:focus,
.f-group select:focus,
.f-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,168,76,.14);
  background: var(--white);
}
.f-group textarea { resize: vertical; min-height: 120px; }
.f-row { display: grid; grid-template-columns: 1fr 1fr; gap: var(--sp-4); }

/* ══════════════════════════════════════════
   21. LIGHTBOX
══════════════════════════════════════════ */
.lb {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.96);
  z-index: 9999; opacity: 0; pointer-events: none;
  transition: opacity var(--dur-slow) var(--ease-in-out);
  display: flex; align-items: center; justify-content: center;
  backdrop-filter: blur(4px);
}
.lb.on { opacity: 1; pointer-events: all; }

.lb-img {
  max-width: 90vw; max-height: 86vh; object-fit: contain;
  border-radius: var(--r-m);
  box-shadow: var(--sh-xl);
  transform: scale(.94);
  transition: transform var(--dur-slow) var(--ease-spring);
}
.lb.on .lb-img { transform: scale(1); }

.lb-close {
  position: absolute; top: 20px; inset-inline-end: 20px;
  width: 44px; height: 44px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  border-radius: 50%; color: #fff; font-size: 1.1rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.lb-close:hover { background: rgba(255,255,255,.2); transform: rotate(90deg) scale(1.1); }

.lb-prev, .lb-next {
  position: absolute; top: 50%; transform: translateY(-50%);
  width: 50px; height: 50px;
  background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 50%; color: #fff; font-size: 1.3rem;
  display: flex; align-items: center; justify-content: center;
  transition: var(--ease);
}
.lb-prev { inset-inline-start: 20px; }
.lb-next { inset-inline-end: 20px; }
.lb-prev:hover, .lb-next:hover {
  background: rgba(255,255,255,.18);
  transform: translateY(-50%) scale(1.1);
}

.lb-counter {
  position: absolute; bottom: 24px; left: 50%; transform: translateX(-50%);
  color: rgba(255,255,255,.4); font-size: var(--text-xs);
  letter-spacing: .1em; font-weight: 500;
}

/* ══════════════════════════════════════════
   22. ANIMATIONS
══════════════════════════════════════════ */

/* Fade up — base */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition:
    opacity var(--dur-slower) var(--ease-out),
    transform var(--dur-slower) var(--ease-out);
}
.fade-up.vis { opacity: 1; transform: translateY(0); }

/* Stagger children */
.stagger > *:nth-child(1) { transition-delay: .05s; }
.stagger > *:nth-child(2) { transition-delay: .12s; }
.stagger > *:nth-child(3) { transition-delay: .19s; }
.stagger > *:nth-child(4) { transition-delay: .26s; }
.stagger > *:nth-child(5) { transition-delay: .33s; }
.stagger > *:nth-child(6) { transition-delay: .40s; }

/* Fade in (no movement) */
.fade-in {
  opacity: 0;
  transition: opacity var(--dur-slower) var(--ease-out);
}
.fade-in.vis { opacity: 1; }

/* Scale in */
.scale-in {
  opacity: 0; transform: scale(.92);
  transition:
    opacity var(--dur-slower) var(--ease-spring),
    transform var(--dur-slower) var(--ease-spring);
}
.scale-in.vis { opacity: 1; transform: scale(1); }

/* Slide from side */
.slide-in-start {
  opacity: 0; transform: translateX(-40px);
  transition:
    opacity var(--dur-slower) var(--ease-out),
    transform var(--dur-slower) var(--ease-out);
}
html[dir="rtl"] .slide-in-start { transform: translateX(40px); }
.slide-in-start.vis { opacity: 1; transform: translateX(0); }

/* Page enter */
@keyframes page-enter {
  from { opacity: 0; transform: translateY(10px); }
  to   { opacity: 1; transform: translateY(0); }
}
main, .pg-hero, .hero { animation: page-enter .5s var(--ease-out) both; }

/* Gold shimmer on hover for important elements */
@keyframes shimmer {
  0%   { background-position: -200% center; }
  100% { background-position:  200% center; }
}

/* ══════════════════════════════════════════
   23. UTILITY
══════════════════════════════════════════ */
.text-gold   { color: var(--gold); }
.text-navy   { color: var(--navy); }
.text-muted  { color: var(--text-3); }
.tc          { text-align: center; }
.fw-800      { font-weight: 800; }

.vis-2030 {
  display: inline-flex; align-items: center; gap: var(--sp-2);
  background: var(--gold-pale); border: 1px solid var(--gold-border);
  color: var(--navy); font-size: var(--text-xs); font-weight: 700;
  padding: 5px 12px; border-radius: var(--r-xs); letter-spacing: .05em;
}

/* Focus visible for accessibility */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
  border-radius: var(--r-xs);
}

/* ══════════════════════════════════════════
   24. RESPONSIVE
══════════════════════════════════════════ */
@media (max-width: 1024px) {
  :root { --cx: 40px; --section-py: var(--sp-20); }
  .about-grid   { grid-template-columns: 1fr; gap: var(--sp-12); }
  .contact-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .footer-top   { grid-template-columns: 1fr 1fr; gap: var(--sp-10); }
  .srv-grid-wrap { grid-template-columns: repeat(2,1fr); }
  .why-grid     { grid-template-columns: repeat(2,1fr); }
  .proj-full-grid { grid-template-columns: repeat(3,1fr); }
  .srv-detail-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .vm-grid  { grid-template-columns: 1fr; }
  .val-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  :root { --cx: 20px; --section-py: var(--sp-16); }
  .nav-links   { display: none; }
  .burger      { display: flex; }
  .nav-wa .wa-txt { display: none; }
  .hero h1     { font-size: clamp(1.9rem, 6vw, 2.6rem); }
  .stats-bar   { grid-template-columns: repeat(2,1fr); max-width: 100%; }
  .hero-cta    { flex-direction: column; align-items: flex-start; }
  .srv-grid-wrap { grid-template-columns: 1fr; }
  .proj-grid   { grid-template-columns: repeat(2,1fr); }
  .proj-full-grid { grid-template-columns: repeat(2,1fr); }
  .why-grid    { grid-template-columns: 1fr; }
  .footer-top  { grid-template-columns: 1fr; }
  .footer-bottom { flex-direction: column; gap: var(--sp-2); text-align: center; }
  .f-row       { grid-template-columns: 1fr; }
  .cta-btns    { flex-direction: column; align-items: center; }
  .sister-strip { gap: var(--sp-3); }
  .sister-divider { display: none; }
  .highlights  { grid-template-columns: 1fr; }
  .lb-prev, .lb-next { display: none; }
}

@media (max-width: 480px) {
  .proj-grid, .proj-full-grid { grid-template-columns: 1fr; }
  .inq-form { padding: var(--sp-6) var(--sp-5); }
  .stats-bar { grid-template-columns: repeat(2,1fr); }
}

/* Reduced motion */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: .01ms !important;
    transition-duration: .01ms !important;
  }
  .hero-bg { transition: none; }
}

/* ══════════════════════════════════════════
   25. VIDEO HERO
══════════════════════════════════════════ */
video.hero-bg {
  position: absolute;
  top: -10%; left: -10%;
  width: 120%; height: 120%;
  object-fit: cover;
  object-position: center;
  opacity: .72;
  will-change: transform;
  transition: transform .1s linear;
  background-image: none;
  pointer-events: none;
}
video.hero-bg::after { display: none; } /* override — use .hero-overlay instead */

.hero-overlay {
  position: absolute; inset: 0; pointer-events: none;
  background:
    linear-gradient(135deg, rgba(8,14,34,.78) 25%, rgba(13,27,62,.52) 65%, rgba(13,27,62,.25) 100%),
    radial-gradient(ellipse 70% 60% at 80% 50%, rgba(201,168,76,.06) 0%, transparent 70%);
}



/* ══════════════════════════════════════════
   26. GLOWING SHADOW — brand-adapted
══════════════════════════════════════════ */
@property --glow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@property --glow-opacity {
  syntax: "<number>";
  inherits: false;
  initial-value: 0;
}

.hero-glow-ring {
  position: absolute;
  inset: 0; pointer-events: none; z-index: 0;
  background:
    radial-gradient(ellipse 55% 35% at 50% 100%,
      rgba(201,168,76,.18) 0%,
      rgba(201,168,76,.06) 40%,
      transparent 70%);
  animation: glow-breathe 4s ease-in-out infinite;
}
@keyframes glow-breathe {
  0%,100% { opacity: .7; }
  50%      { opacity: 1; }
}

/* Glowing CTA button */
.glow-btn {
  position: relative;
  isolation: isolate;
}
.glow-btn::before {
  content: '';
  position: absolute;
  inset: -3px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--glow-angle),
    var(--gold) 0%,
    var(--gold-light) 15%,
    #fff8e1 25%,
    var(--gold) 40%,
    rgba(201,168,76,.2) 55%,
    var(--gold-light) 70%,
    var(--gold) 85%,
    rgba(201,168,76,.15) 100%
  );
  animation: spin-glow 3s linear infinite;
  z-index: -1;
  opacity: 0;
  transition: opacity .35s;
  border-radius: calc(var(--r-s) + 3px);
}
.glow-btn::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: calc(var(--r-s) + 6px);
  background: conic-gradient(
    from var(--glow-angle),
    var(--gold) 0%,
    transparent 40%,
    var(--gold-light) 60%,
    transparent 80%
  );
  animation: spin-glow 3s linear infinite;
  filter: blur(10px);
  z-index: -2;
  opacity: 0;
  transition: opacity .35s;
}
.glow-btn:hover::before,
.glow-btn:hover::after { opacity: 1; }

@property --glow-angle {
  syntax: "<angle>";
  inherits: false;
  initial-value: 0deg;
}
@keyframes spin-glow {
  from { --glow-angle: 0deg; }
  to   { --glow-angle: 360deg; }
}

/* Subtle always-on glow for hero CTA */
.hero .glow-btn {
  box-shadow: 0 0 18px rgba(201,168,76,.30), 0 4px 14px rgba(201,168,76,.20);
}
.hero .glow-btn:hover {
  box-shadow: 0 0 32px rgba(201,168,76,.55), 0 6px 24px rgba(201,168,76,.35);
}
.hero .glow-btn:hover::before,
.hero .glow-btn:hover::after { opacity: 1; }

/* ══════════════════════════════════════════
   27. MORPHING CARD STACK
══════════════════════════════════════════ */
.cs-wrapper { width: 100%; }

/* Mode toggle */
.cs-toggle {
  display: flex; align-items: center; justify-content: center;
  gap: var(--sp-1); margin-bottom: var(--sp-8);
  background: rgba(13,27,62,.06);
  border: 1px solid var(--border);
  border-radius: var(--r-l);
  padding: 5px;
  width: fit-content; margin-inline: auto;
}
.cs-toggle-btn {
  padding: 8px 18px;
  border-radius: var(--r-m);
  font-size: var(--text-xs); font-weight: 700;
  color: var(--text-3);
  display: flex; align-items: center; gap: 6px;
  transition: var(--ease);
  letter-spacing: .04em;
}
.cs-toggle-btn.active {
  background: var(--navy);
  color: #fff;
  box-shadow: var(--sh-s);
}
.cs-toggle-btn:hover:not(.active) { color: var(--navy); background: var(--surface-2); }

/* Stack container */
.cs-stage {
  position: relative;
  width: 360px; height: 280px;
  margin: 0 auto var(--sp-6);
  transition: all var(--dur-slow) var(--ease-spring);
}
.cs-stage.mode-grid {
  display: grid; grid-template-columns: repeat(4,1fr);
  gap: var(--sp-3);
  width: 100%; height: auto;
}
.cs-stage.mode-list {
  display: flex; flex-direction: column;
  gap: var(--sp-3);
  width: 100%; height: auto;
}

/* Individual card */
.cs-card {
  position: absolute;
  width: 320px; height: 240px;
  border-radius: var(--r-m);
  overflow: hidden;
  cursor: pointer;
  transition:
    transform .45s var(--ease-spring),
    box-shadow .3s,
    opacity .3s;
  transform-origin: center bottom;
  will-change: transform;
  box-shadow: var(--sh-m);
}
.cs-card img {
  width: 100%; height: 100%; object-fit: cover;
  transition: transform .6s var(--ease-in-out);
  pointer-events: none;
}
.cs-card:hover img { transform: scale(1.06); }

/* Stack positions */
.cs-card[data-pos="0"] {
  transform: translateX(-50%) translateY(0px) rotate(0deg) scale(1);
  left: 50%; z-index: 5;
  box-shadow: var(--sh-xl);
}
.cs-card[data-pos="1"] {
  transform: translateX(calc(-50% + 12px)) translateY(-8px) rotate(2.5deg) scale(.96);
  left: 50%; z-index: 4; opacity: .92;
}
.cs-card[data-pos="2"] {
  transform: translateX(calc(-50% + 22px)) translateY(-16px) rotate(4.5deg) scale(.92);
  left: 50%; z-index: 3; opacity: .78;
}
.cs-card[data-pos="3"] {
  transform: translateX(calc(-50% + 30px)) translateY(-22px) rotate(6deg) scale(.88);
  left: 50%; z-index: 2; opacity: .55;
}
.cs-card[data-pos="4"],
.cs-card[data-pos="5"],
.cs-card[data-pos="6"] {
  transform: translateX(calc(-50% + 36px)) translateY(-28px) rotate(7deg) scale(.84);
  left: 50%; z-index: 1; opacity: .25;
}

/* Grid mode */
.cs-stage.mode-grid .cs-card {
  position: relative; left: auto; top: auto;
  width: 100%; height: 200px;
  transform: none !important;
  opacity: 1 !important;
}
/* List mode */
.cs-stage.mode-list .cs-card {
  position: relative; left: auto; top: auto;
  width: 100%; height: 140px;
  transform: none !important;
  opacity: 1 !important;
  border-radius: var(--r-m);
}

/* Nav dots */
.cs-dots {
  display: flex; justify-content: center; gap: 7px;
  margin-bottom: var(--sp-6);
  transition: opacity .3s;
}
.cs-stage.mode-grid ~ .cs-dots,
.cs-stage.mode-list ~ .cs-dots { opacity: 0; pointer-events: none; }
.cs-dot {
  height: 5px; border-radius: var(--r-full);
  background: var(--text-4);
  transition: width var(--dur-base) var(--ease-spring), background var(--dur-base);
  cursor: pointer;
  width: 6px;
}
.cs-dot.active { width: 20px; background: var(--navy); }

/* Swipe hint */
.cs-hint {
  text-align: center; font-size: var(--text-xs);
  color: var(--text-4); margin-top: var(--sp-2);
  transition: opacity .3s;
}
.cs-stage.mode-grid ~ * .cs-hint,
.cs-stage.mode-list ~ * .cs-hint { display: none; }

/* Drag exit animation */
@keyframes card-exit-left {
  to { transform: translateX(-120%) rotate(-12deg) scale(.85); opacity: 0; }
}
@keyframes card-exit-right {
  to { transform: translateX(120%) rotate(12deg) scale(.85); opacity: 0; }
}
.cs-card.exit-left  { animation: card-exit-left  .35s var(--ease-in) forwards; }
.cs-card.exit-right { animation: card-exit-right .35s var(--ease-in) forwards; }

/* ══════════════════════════════════════════
   28. SECTION WITH MOCKUP (Services)
══════════════════════════════════════════ */
.mockup-section {
  padding: var(--section-py) 0;
  overflow: hidden;
  position: relative;
}
.mockup-section:nth-child(even) { background: var(--surface-1); }

.mockup-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-20);
  align-items: center;
}
.mockup-grid.reverse { direction: rtl; }
.mockup-grid.reverse > * { direction: ltr; }
html[lang="ar"] .mockup-grid.reverse { direction: ltr; }
html[lang="ar"] .mockup-grid.reverse > * { direction: rtl; }

.mockup-text { max-width: 520px; }
.mockup-text p {
  color: var(--text-2); line-height: 1.9;
  font-size: var(--text-base); margin-bottom: var(--sp-5);
}

/* Image stack (two overlapping images) */
.mockup-images {
  position: relative;
  width: 100%; height: 500px;
}

/* Back image — decorative */
.mockup-img-back {
  position: absolute;
  width: 80%; height: 78%;
  bottom: 0; inset-inline-end: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-l);
  transform: translateY(0);
  transition: transform 1.2s var(--ease-out);
  will-change: transform;
}
.mockup-img-back.in-view { transform: translateY(-24px); }
.mockup-img-back img { width: 100%; height: 100%; object-fit: cover; }

/* Front image — main card */
.mockup-img-front {
  position: absolute;
  width: 76%; height: 74%;
  top: 0; inset-inline-start: 0;
  border-radius: var(--r-xl);
  overflow: hidden;
  box-shadow: var(--sh-xl);
  background: rgba(255,255,255,.06);
  backdrop-filter: blur(2px);
  border: 1px solid rgba(255,255,255,.12);
  transform: translateY(0);
  transition: transform 1.2s var(--ease-out) .12s;
  will-change: transform;
  z-index: 2;
}
.mockup-img-front.in-view { transform: translateY(24px); }
.mockup-img-front img { width: 100%; height: 100%; object-fit: cover; }

/* Gold accent line */
.mockup-images::before {
  content: '';
  position: absolute;
  inset-inline-start: 38%;
  top: -8%; bottom: -8%;
  width: 2px;
  background: linear-gradient(to bottom, transparent, var(--gold-border), transparent);
  z-index: 3;
}

/* Responsive */
@media (max-width: 1024px) {
  .mockup-grid { grid-template-columns: 1fr; gap: var(--sp-12); }
  .mockup-grid.reverse { direction: ltr; }
  html[lang="ar"] .mockup-grid.reverse { direction: rtl; }
  .mockup-images { height: 380px; }
  .cs-stage { width: 300px; height: 240px; }
  .cs-card  { width: 280px; height: 210px; }
  .cs-stage.mode-grid { grid-template-columns: repeat(3,1fr); }
}
@media (max-width: 768px) {
  .mockup-images { height: 300px; }
  .cs-stage { width: 280px; height: 220px; }
  .cs-card  { width: 260px; height: 195px; }
  .cs-stage.mode-grid { grid-template-columns: repeat(2,1fr); }
}

/* ══════════════════════════════════════════
   MOBILE PERFORMANCE & RESPONSIVENESS
══════════════════════════════════════════ */

/* Mobile: reduce hero padding, scale text */
@media (max-width: 768px) {
  .hero-body { padding: 110px 0 80px; }
  .hero h1   { font-size: clamp(1.8rem, 7vw, 2.4rem); }
  .hero-desc { font-size: var(--text-sm); }

  /* Hide heavy decorative elements on mobile for speed */
  .hero-grid       { display: none; }
  .hero-glow-ring  { display: none; }

  /* Parallax off on mobile — saves paint */
  .hero-bg { will-change: auto; }

  /* Nav: shrink logo slightly on mobile */
  .nav-logo img { width: 52px; height: 52px; }
  .nav-logo-text .name { font-size: 1rem; }

  /* Stats bar — 2 columns on mobile */
  .stats-bar { grid-template-columns: repeat(2, 1fr); gap: var(--sp-4); }

  /* Hero CTA stacked */
  .hero-cta { flex-direction: column; align-items: flex-start; gap: var(--sp-3); }
  .hero-cta .btn { width: 100%; justify-content: center; }

  /* Services section */
  .srv-grid-wrap { grid-template-columns: 1fr; }

  /* About image height */
  .about-img-wrap img { height: 260px; }

  /* Why cards */
  .why-grid { grid-template-columns: 1fr; }

  /* Mockup section */
  .mockup-section { padding: var(--sp-12) 0; }
  .mockup-text h2  { font-size: var(--text-2xl); }
}

@media (max-width: 480px) {
  .hero h1   { font-size: clamp(1.6rem, 8.5vw, 2.1rem); }
  .hero-pill { font-size: .7rem; padding: 5px 12px; }
  .stats-bar .stat-n { font-size: var(--text-xl); }
  .stats-bar .stat-l { font-size: .72rem; }
  .btn-gold, .btn-outline { padding: 11px 20px; font-size: var(--text-sm); }

  /* Hide sister companies strip on very small screens */
  .sister-section { display: none; }

  /* Reduce section vertical padding */
  :root { --section-py: var(--sp-12); }
}

/* Laptop (1024-1280px) responsive tweaks */
@media (min-width: 1025px) and (max-width: 1280px) {
  .srv-grid-wrap  { grid-template-columns: repeat(2,1fr); }
  .why-grid       { grid-template-columns: repeat(2,1fr); }
}

/* Disable heavy animations on slow connections */
@media (prefers-reduced-data: reduce) {
  video.hero-bg { display: none; }
  .globe-canvas { display: none; }
}


/* ── BOT PROTECTION MODAL ─────────────────────────────────── */
#waBotOverlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.55);
  z-index: 9999;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
#waBotModal {
  background: var(--white);
  border-radius: var(--radius-l);
  padding: 32px 28px;
  max-width: 360px;
  width: 100%;
  box-shadow: var(--shadow-xl);
  text-align: center;
}
#waBotModal h3 {
  color: var(--navy);
  font-size: var(--text-lg);
  margin-bottom: 8px;
}
#waBotModal p {
  color: var(--text-2);
  font-size: var(--text-sm);
  margin-bottom: 20px;
  line-height: 1.6;
}
#waBotQ {
  display: block;
  font-size: 1.5rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 14px;
  direction: ltr;
}
#waBotInput {
  width: 100%;
  padding: 10px 14px;
  border: 2px solid var(--border);
  border-radius: var(--radius-s);
  font-size: 1.2rem;
  text-align: center;
  outline: none;
  margin-bottom: 8px;
  font-family: inherit;
  box-sizing: border-box;
}
#waBotInput:focus { border-color: var(--gold); }
#waBotErr {
  display: none;
  color: rgb(239,68,68);
  font-size: var(--text-xs);
  margin-bottom: 10px;
}
.wa-bot-btns {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}
.wa-bot-btns .btn { flex: 1; justify-content: center; }


/* ── MOBILE CTA BAR (Fixed bottom) ─────────────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: var(--navy);
  border-top: 1px solid rgba(201,168,76,.2);
  padding: 10px var(--sp-4);
  z-index: 998;
  box-shadow: 0 -4px 16px rgba(13,27,62,.2);
}
@media (max-width: 640px) {
  .mobile-cta-bar { display: flex; gap: 10px; justify-content: center; }
  .mobile-cta-bar .btn { flex: 1; max-width: 160px; padding: 12px 16px; font-size: var(--text-sm); justify-content: center; gap: 6px; }
  main { padding-bottom: 60px; }
}

/* Hero responsive improvements */
@media (max-width: 640px) {
  .hero h1 { font-size: clamp(2rem, 9vw, 3.5rem); }
  .hero-cta { gap: 8px; }
  .stats-bar { grid-template-columns: repeat(3,1fr); max-width: 100%; }

  /* Services horizontal scroll on mobile */
  .srv-grid-wrap {
    grid-template-columns: unset;
    grid-auto-columns: minmax(280px, 1fr);
    grid-auto-flow: column;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory;
    gap: var(--sp-4);
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
  }
  .srv-card {
    scroll-snap-align: start;
    scroll-snap-stop: always;
  }
}
