/* ============================================
   FAZ Translation & Services — style.css
   ============================================ */

:root {
  --bg-primary: #070b14;
  --bg-secondary: #0b1020;
  --bg-card: #0f1626;
  --bg-card-hover: #141d30;
  --gold: #C9A84C;
  --gold-light: #ddb95c;
  --gold-dark: #a88830;
  --gold-glow: rgba(201,168,76,0.25);
  --gold-border: rgba(201,168,76,0.18);
  --text-primary: #f0f2f7;
  --text-secondary: #8a9bb0;
  --text-muted: #4a5568;
  --border: rgba(201,168,76,0.12);
  --border-light: rgba(255,255,255,0.06);
  --shadow: 0 4px 24px rgba(0,0,0,0.4);
  --shadow-gold: 0 8px 32px rgba(201,168,76,0.18);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --radius: 12px;
  --radius-lg: 20px;
  --nav-h: 72px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg-primary);
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  line-height: 1.65;
  overflow-x: hidden;
}
body[lang="ar"] { font-family: 'Noto Sans Arabic', sans-serif; }
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; font-family: inherit; }

/* ---- Container / Layout ---- */
.container { width: 100%; max-width: 1240px; margin: 0 auto; padding: 0 24px; }
section { padding: 96px 0; }

/* ---- Typography ---- */
h1,h2,h3,h4,h5 { font-weight: 700; line-height: 1.25; }
.section-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.08); border: 1px solid var(--gold-border);
  color: var(--gold); font-size: 0.76rem; font-weight: 600;
  letter-spacing: 0.1em; text-transform: uppercase;
  padding: 6px 14px; border-radius: 50px; margin-bottom: 16px;
}
.section-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%;
}
.section-title {
  font-size: clamp(1.8rem, 4vw, 2.8rem);
  font-weight: 700; margin-bottom: 16px;
}
.section-title .gold { color: var(--gold); }
.section-subtitle { color: var(--text-secondary); font-size: 1.05rem; max-width: 600px; }
.section-header { text-align: center; margin-bottom: 56px; }
.section-header .section-subtitle { margin: 0 auto; }

/* ---- Navbar ---- */
.navbar {
  position: fixed; top: 0; left: 0; width: 100%;
  height: var(--nav-h); z-index: 1000;
  transition: var(--transition); background: transparent;
}
.navbar.scrolled {
  background: rgba(7,11,20,0.96); backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  box-shadow: 0 4px 24px rgba(0,0,0,0.4);
}
.nav-inner {
  height: 100%; display: flex; align-items: center;
  justify-content: space-between; gap: 24px;
}
.nav-logo { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.nav-logo img { height: 46px; width: auto; object-fit: contain; }
.nav-logo-text { display: flex; flex-direction: column; }
.nav-logo-text .name-en { font-size: 0.95rem; font-weight: 700; color: var(--text-primary); line-height: 1.2; }
.nav-logo-text .name-ar { font-size: 0.72rem; font-family: 'Noto Sans Arabic', sans-serif; color: var(--gold); line-height: 1.5; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-links a {
  font-size: 0.88rem; font-weight: 500; color: var(--text-secondary);
  padding: 8px 13px; border-radius: 8px; transition: var(--transition); white-space: nowrap;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); background: rgba(201,168,76,0.08); }
.nav-right { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-toggle {
  display: flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.08); border: 1px solid var(--gold-border);
  color: var(--gold); padding: 8px 16px; border-radius: 50px;
  font-size: 0.82rem; font-weight: 600; letter-spacing: 0.08em;
  transition: var(--transition);
}
.lang-toggle:hover { background: rgba(201,168,76,0.18); border-color: var(--gold); }
.hamburger { display: none; flex-direction: column; gap: 5px; padding: 8px; background: none; border: none; }
.hamburger span { display: block; width: 24px; height: 2px; background: var(--text-primary); border-radius: 2px; transition: var(--transition); }
.hamburger.active span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.hamburger.active span:nth-child(2) { opacity: 0; }
.hamburger.active span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }
@media (max-width: 960px) {
  .hamburger { display: flex; }
  .nav-links {
    position: fixed; top: var(--nav-h); left: 0; width: 100%;
    flex-direction: column; background: rgba(7,11,20,0.98);
    backdrop-filter: blur(16px); padding: 20px 24px; gap: 4px;
    border-bottom: 1px solid var(--border);
    transform: translateY(-110%); opacity: 0; transition: var(--transition); z-index: 999;
  }
  .nav-links.open { transform: translateY(0); opacity: 1; }
  .nav-links a { width: 100%; text-align: center; padding: 12px; font-size: 0.95rem; }
}

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 13px 28px; border-radius: 50px; font-weight: 600;
  font-size: 0.92rem; transition: var(--transition); border: 2px solid transparent; white-space: nowrap;
}
.btn-primary { background: var(--gold); color: #000; border-color: var(--gold); }
.btn-primary:hover { background: var(--gold-light); border-color: var(--gold-light); transform: translateY(-2px); box-shadow: var(--shadow-gold); }
.btn-outline { background: transparent; color: var(--gold); border-color: var(--gold-border); }
.btn-outline:hover { background: rgba(201,168,76,0.1); border-color: var(--gold); transform: translateY(-2px); }
.btn-ghost { background: rgba(255,255,255,0.05); color: var(--text-primary); border-color: rgba(255,255,255,0.1); }
.btn-ghost:hover { background: rgba(255,255,255,0.1); transform: translateY(-2px); }
.btn-lg { padding: 16px 36px; font-size: 1rem; }
.btn-sm { padding: 9px 18px; font-size: 0.82rem; }

/* ---- Hero ---- */
.hero {
  position: relative; min-height: 100vh;
  display: flex; align-items: center;
  overflow: hidden; background: var(--bg-primary);
}
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg::before {
  content: ''; position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 50% 40%, rgba(201,168,76,0.07) 0%, transparent 60%),
    radial-gradient(ellipse 40% 50% at 80% 20%, rgba(201,168,76,0.05) 0%, transparent 50%),
    linear-gradient(180deg, #070b14 0%, #0c1528 50%, #070b14 100%);
}
.hero-grid {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(rgba(201,168,76,0.025) 1px, transparent 1px),
    linear-gradient(90deg, rgba(201,168,76,0.025) 1px, transparent 1px);
  background-size: 60px 60px;
}
.hero-orb {
  position: absolute; border-radius: 50%;
  filter: blur(80px); animation: floatOrb 14s ease-in-out infinite alternate;
}
.hero-orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, rgba(201,168,76,0.1) 0%, transparent 70%); top: -150px; right: -100px; animation-delay: 0s; }
.hero-orb-2 { width: 350px; height: 350px; background: radial-gradient(circle, rgba(201,168,76,0.07) 0%, transparent 70%); bottom: 0; left: 5%; animation-delay: -5s; }
.hero-orb-3 { width: 200px; height: 200px; background: radial-gradient(circle, rgba(201,168,76,0.05) 0%, transparent 70%); top: 35%; left: 35%; animation-delay: -9s; }
@keyframes floatOrb {
  0% { transform: translate(0,0) scale(1); }
  100% { transform: translate(30px,-25px) scale(1.12); }
}
.hero-content { position: relative; z-index: 1; max-width: 800px; padding-top: var(--nav-h); }
.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  background: rgba(201,168,76,0.08); border: 1px solid var(--gold-border);
  color: var(--gold); font-size: 0.78rem; font-weight: 600;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 8px 16px; border-radius: 50px; margin-bottom: 24px;
}
.hero-badge::before {
  content: ''; width: 6px; height: 6px;
  background: var(--gold); border-radius: 50%; animation: blink 2s infinite;
}
@keyframes blink { 0%,100% { opacity:1; } 50% { opacity:0.3; } }
.hero-title {
  font-size: clamp(2.4rem, 5.5vw, 4rem);
  font-weight: 800; line-height: 1.15; margin-bottom: 24px;
}
.hero-title .gold { color: var(--gold); }
.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--text-secondary); max-width: 580px;
  margin-bottom: 40px; line-height: 1.75;
}
.hero-cta { display: flex; gap: 16px; flex-wrap: wrap; }
.hero-scroll {
  position: absolute; bottom: 36px; left: 50%;
  transform: translateX(-50%); z-index: 1;
  display: flex; flex-direction: column; align-items: center;
  gap: 8px; color: var(--text-muted); font-size: 0.78rem;
}
.hero-scroll-line {
  width: 1px; height: 40px;
  background: linear-gradient(to bottom, var(--gold), transparent);
  animation: scrollAnim 1.6s ease-in-out infinite;
}
@keyframes scrollAnim { 0%,100% { opacity:1; transform: scaleY(1); } 50% { opacity:0.3; transform: scaleY(0.5); } }

/* ---- About Snippet ---- */
.home-about { background: var(--bg-secondary); }
.home-about-grid {
  display: grid; grid-template-columns: 1fr 1fr;
  gap: 80px; align-items: center;
}
.about-img-wrap {
  position: relative; border-radius: var(--radius-lg); overflow: hidden;
}
.about-img-wrap img { width: 100%; height: 460px; object-fit: cover; }
.about-img-wrap::after {
  content: ''; position: absolute; inset: 0;
  border: 1px solid var(--border); border-radius: var(--radius-lg); pointer-events: none;
}
.about-accent {
  position: absolute; bottom: -20px; right: -20px;
  width: 100px; height: 100px; background: var(--gold);
  border-radius: var(--radius); z-index: -1; opacity: 0.6;
}
.about-features { display: flex; flex-direction: column; gap: 14px; margin: 24px 0 32px; }
.about-feature { display: flex; align-items: center; gap: 10px; color: var(--text-secondary); font-size: 0.92rem; }
.about-feature i { color: var(--gold); font-size: 0.85rem; }

/* ---- Service Cards (Home) ---- */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(260px,1fr)); gap: 24px; }
.service-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px 28px;
  transition: var(--transition); position: relative; overflow: hidden;
}
.service-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  opacity: 0; transition: var(--transition);
}
.service-card:hover { background: var(--bg-card-hover); border-color: var(--gold-border); transform: translateY(-6px); box-shadow: var(--shadow-gold); }
.service-card:hover::before { opacity: 1; }
.service-icon {
  width: 54px; height: 54px;
  background: rgba(201,168,76,0.08); border: 1px solid var(--gold-border);
  border-radius: var(--radius); display: flex; align-items: center;
  justify-content: center; font-size: 1.3rem; color: var(--gold);
  margin-bottom: 20px; transition: var(--transition);
}
.service-card:hover .service-icon { background: rgba(201,168,76,0.18); border-color: var(--gold); }
.service-card h3 { font-size: 1.1rem; font-weight: 600; margin-bottom: 10px; }
.service-card p { color: var(--text-secondary); font-size: 0.9rem; line-height: 1.65; }

/* ---- Why Choose Us ---- */
.why-section { background: var(--bg-secondary); }
.why-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; }
.why-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 40px 24px;
  text-align: center; transition: var(--transition);
}
.why-card:hover { border-color: var(--gold-border); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.why-icon {
  width: 70px; height: 70px; background: rgba(201,168,76,0.08);
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.7rem; color: var(--gold); margin: 0 auto 20px;
}
.why-card h3 { font-size: 1.05rem; margin-bottom: 10px; }
.why-card p { color: var(--text-secondary); font-size: 0.88rem; }

/* ---- Stats ---- */
.stats-section {
  background: linear-gradient(135deg, #0b0f1e 0%, #111827 50%, #0b0f1e 100%);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
  padding: 80px 0;
}
.stats-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 40px; text-align: center; }
.stat-item { position: relative; }
.stat-item + .stat-item::before {
  content: ''; position: absolute; left: -20px; top: 50%;
  transform: translateY(-50%); width: 1px; height: 60%; background: var(--border);
}
.stat-number { font-size: clamp(2.4rem, 5vw, 3.4rem); font-weight: 800; color: var(--gold); line-height: 1; margin-bottom: 8px; }
.stat-suffix { font-size: 0.6em; }
.stat-label { color: var(--text-secondary); font-size: 0.9rem; font-weight: 500; }

/* ---- Marquee ---- */
.partners-strip { background: var(--bg-secondary); padding: 60px 0; overflow: hidden; }
.partners-label { text-align: center; color: var(--text-muted); font-size: 0.8rem; font-weight: 600; letter-spacing: 0.15em; text-transform: uppercase; margin-bottom: 36px; }
.marquee-outer { overflow: hidden; }
.marquee-track { display: flex; gap: 48px; width: max-content; animation: marquee 28s linear infinite; }
.marquee-track:hover { animation-play-state: paused; }
@keyframes marquee { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }
.partner-logo {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 14px 26px;
  color: var(--text-muted); font-weight: 600; font-size: 0.88rem;
  white-space: nowrap; min-width: 150px; text-align: center;
  flex-shrink: 0; transition: var(--transition);
}
.partner-logo:hover { border-color: var(--gold-border); color: var(--text-secondary); }

/* ---- Testimonials ---- */
.testi-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.testi-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 36px 30px;
  transition: var(--transition);
}
.testi-card:hover { border-color: var(--gold-border); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.testi-quote { font-size: 3.5rem; color: var(--gold); opacity: 0.25; line-height: 1; margin-bottom: 12px; font-family: Georgia, serif; }
.testi-stars { display: flex; gap: 4px; margin-bottom: 16px; }
.testi-stars i { color: var(--gold); font-size: 0.82rem; }
.testi-text { color: var(--text-secondary); font-size: 0.93rem; line-height: 1.78; margin-bottom: 24px; }
.testi-author { display: flex; align-items: center; gap: 12px; }
.testi-avatar {
  width: 44px; height: 44px;
  background: linear-gradient(135deg, var(--gold-dark), var(--gold));
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-weight: 700; font-size: 1rem; color: #000; flex-shrink: 0;
}
.testi-info strong { display: block; font-size: 0.92rem; font-weight: 600; }
.testi-info span { color: var(--text-muted); font-size: 0.8rem; }

/* ---- CTA Banner ---- */
.cta-section {
  padding: 80px 0; text-align: center;
  background: linear-gradient(135deg, rgba(201,168,76,0.06) 0%, rgba(7,11,20,0) 50%, rgba(201,168,76,0.04) 100%), var(--bg-secondary);
  border-top: 1px solid var(--border); border-bottom: 1px solid var(--border);
}
.cta-title { font-size: clamp(1.8rem,4vw,2.8rem); font-weight: 700; margin-bottom: 14px; }
.cta-subtitle { color: var(--text-secondary); font-size: 1.05rem; margin-bottom: 36px; }

/* ---- Footer ---- */
footer { background: #040609; border-top: 1px solid var(--border); padding: 80px 0 0; }
.footer-inner { display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr; gap: 60px; margin-bottom: 60px; }
.footer-brand p { color: var(--text-secondary); font-size: 0.88rem; line-height: 1.78; margin: 16px 0 24px; }
.footer-socials { display: flex; gap: 10px; }
.footer-social {
  width: 36px; height: 36px; background: var(--bg-card);
  border: 1px solid var(--border); border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: var(--text-secondary); font-size: 0.88rem; transition: var(--transition);
}
.footer-social:hover { background: rgba(201,168,76,0.1); border-color: var(--gold); color: var(--gold); }
.footer-col h4 {
  font-size: 0.9rem; font-weight: 600; margin-bottom: 20px;
  padding-bottom: 12px; border-bottom: 1px solid var(--border);
}
.footer-nav { display: flex; flex-direction: column; gap: 10px; }
.footer-nav a { color: var(--text-secondary); font-size: 0.88rem; transition: var(--transition); display: flex; align-items: center; gap: 8px; }
.footer-nav a::before { content: ''; width: 4px; height: 4px; background: var(--gold); border-radius: 50%; opacity: 0; transition: var(--transition); flex-shrink: 0; }
.footer-nav a:hover { color: var(--gold); }
.footer-nav a:hover::before { opacity: 1; }
.footer-contact-item { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 14px; }
.footer-contact-item i { color: var(--gold); font-size: 0.88rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item p, .footer-contact-item a { color: var(--text-secondary); font-size: 0.86rem; line-height: 1.65; }
.footer-contact-item a:hover { color: var(--gold); }
.footer-bottom {
  border-top: 1px solid var(--border); padding: 24px 0;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copyright { color: var(--text-muted); font-size: 0.82rem; }
.footer-tags { display: flex; gap: 8px; }
.footer-tag {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-muted); font-size: 0.76rem;
  padding: 3px 10px; border-radius: 50px;
}

/* ---- WhatsApp FAB ---- */
.whatsapp-fab {
  position: fixed; bottom: 28px; right: 28px; z-index: 998;
  width: 54px; height: 54px; background: #25D366;
  border-radius: 50%; display: flex; align-items: center;
  justify-content: center; font-size: 1.45rem; color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.45); transition: var(--transition);
}
.whatsapp-fab:hover { transform: scale(1.12); box-shadow: 0 6px 28px rgba(37,211,102,0.65); }
.whatsapp-fab:hover .wa-tip { opacity: 1; transform: translateX(-8px); }
.wa-tip {
  position: absolute; right: 62px;
  background: rgba(8,12,20,0.95); border: 1px solid var(--border);
  color: var(--text-primary); font-size: 0.8rem; font-weight: 500;
  padding: 6px 12px; border-radius: 6px; white-space: nowrap;
  opacity: 0; transform: translateX(0); transition: var(--transition); pointer-events: none;
}
[dir="rtl"] .whatsapp-fab { right: auto; left: 28px; }
[dir="rtl"] .wa-tip { right: auto; left: 62px; transform: translateX(0); }
[dir="rtl"] .whatsapp-fab:hover .wa-tip { transform: translateX(8px); }

/* ---- Page Banner ---- */
.page-banner {
  padding: 144px 0 80px; text-align: center;
  background: linear-gradient(180deg, #0c1528 0%, var(--bg-primary) 100%);
  border-bottom: 1px solid var(--border); position: relative; overflow: hidden;
}
.page-banner::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 100% at 50% 0%, rgba(201,168,76,0.06) 0%, transparent 70%);
}
.page-banner .container { position: relative; z-index: 1; }
.page-banner h1 { font-size: clamp(2rem, 5vw, 3.2rem); margin-bottom: 16px; }
.page-banner p { color: var(--text-secondary); font-size: 1.05rem; max-width: 560px; margin: 0 auto; }
.breadcrumb { display: flex; align-items: center; justify-content: center; gap: 8px; margin-bottom: 14px; font-size: 0.82rem; color: var(--text-muted); }
.breadcrumb a { transition: var(--transition); }
.breadcrumb a:hover { color: var(--gold); }
.breadcrumb .sep { color: var(--text-muted); }
.breadcrumb .cur { color: var(--gold); }

/* ---- About Page ---- */
.story-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.story-img { border-radius: var(--radius-lg); overflow: hidden; height: 500px; }
.story-img img { width: 100%; height: 100%; object-fit: cover; }
.mv-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.mv-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px 32px; }
.mv-card .mv-icon { width: 54px; height: 54px; background: rgba(201,168,76,0.08); border-radius: var(--radius); display: flex; align-items: center; justify-content: center; font-size: 1.4rem; color: var(--gold); margin-bottom: 20px; }
.mv-card h3 { font-size: 1.25rem; margin-bottom: 14px; }
.mv-card p { color: var(--text-secondary); line-height: 1.78; }
.values-grid { display: grid; grid-template-columns: repeat(3,1fr); gap: 24px; }
.value-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 32px 24px; text-align: center; transition: var(--transition); }
.value-card:hover { border-color: var(--gold-border); transform: translateY(-4px); }
.value-card .val-icon { font-size: 2rem; color: var(--gold); margin-bottom: 14px; }
.value-card h3 { font-size: 1rem; margin-bottom: 8px; }
.value-card p { color: var(--text-secondary); font-size: 0.87rem; line-height: 1.65; }

/* ---- Services Page ---- */
.services-all-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px; }
.svc-item {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 18px 16px;
  display: flex; align-items: center; gap: 12px; transition: var(--transition);
}
.svc-item:hover { border-color: var(--gold-border); background: var(--bg-card-hover); transform: translateX(4px); }
.svc-item i { color: var(--gold); font-size: 0.95rem; width: 18px; flex-shrink: 0; }
.svc-item span { font-size: 0.88rem; font-weight: 500; }
[dir="rtl"] .svc-item:hover { transform: translateX(-4px); }
.process-grid { display: grid; grid-template-columns: repeat(4,1fr); gap: 24px; position: relative; }
.process-grid::before {
  content: ''; position: absolute; top: 32px; left: 12%; right: 12%; height: 2px;
  background: linear-gradient(90deg, var(--gold-border), var(--gold), var(--gold-border));
}
.process-step { text-align: center; }
.process-num {
  width: 64px; height: 64px; background: rgba(201,168,76,0.1);
  border: 2px solid var(--gold-border); border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.4rem; font-weight: 700; color: var(--gold);
  margin: 0 auto 20px; position: relative; z-index: 1;
  background: var(--bg-secondary);
}
.process-step h4 { font-size: 1rem; margin-bottom: 8px; }
.process-step p { color: var(--text-secondary); font-size: 0.87rem; }

/* ---- Gallery ---- */
.gallery-filters { display: flex; justify-content: center; gap: 10px; flex-wrap: wrap; margin-bottom: 40px; }
.gal-filter {
  background: var(--bg-card); border: 1px solid var(--border);
  color: var(--text-secondary); padding: 8px 20px;
  border-radius: 50px; font-size: 0.86rem; font-weight: 500;
  cursor: pointer; transition: var(--transition);
}
.gal-filter.active, .gal-filter:hover { background: rgba(201,168,76,0.1); border-color: var(--gold); color: var(--gold); }
.gallery-grid { columns: 3; column-gap: 16px; }
.gallery-item { break-inside: avoid; margin-bottom: 16px; border-radius: var(--radius); overflow: hidden; position: relative; cursor: pointer; }
.gallery-item img { width: 100%; height: auto; display: block; transition: transform 0.3s ease; }
.gallery-item:hover img { transform: scale(1.06); }
.gal-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(to top, rgba(7,11,20,0.85) 0%, transparent 50%);
  opacity: 0; transition: var(--transition);
  display: flex; flex-direction: column; justify-content: flex-end; align-items: flex-start; padding: 18px;
}
.gallery-item:hover .gal-overlay { opacity: 1; }
.gal-overlay p { color: #fff; font-size: 0.88rem; font-weight: 500; }
.gal-zoom {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%, -50%) scale(0.7);
  width: 44px; height: 44px; background: rgba(201,168,76,0.9);
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  color: #000; font-size: 1rem; opacity: 0; transition: var(--transition);
}
.gallery-item:hover .gal-zoom { opacity: 1; transform: translate(-50%, -50%) scale(1); }
.lightbox {
  position: fixed; inset: 0; z-index: 9999;
  background: rgba(0,0,0,0.95); display: flex;
  align-items: center; justify-content: center;
  opacity: 0; pointer-events: none; transition: opacity 0.3s ease;
}
.lightbox.open { opacity: 1; pointer-events: all; }
.lightbox-inner { position: relative; max-width: 92vw; max-height: 92vh; }
.lightbox-inner img { max-width: 90vw; max-height: 88vh; object-fit: contain; border-radius: var(--radius); }
.lb-close {
  position: absolute; top: -48px; right: 0;
  width: 40px; height: 40px; background: rgba(255,255,255,0.1);
  border: none; border-radius: 50%; color: #fff;
  font-size: 1.1rem; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: var(--transition);
}
.lb-close:hover { background: rgba(255,255,255,0.2); }

/* ---- Clients Page ---- */
.industries-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(190px,1fr)); gap: 18px; margin-bottom: 64px; }
.ind-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 28px 18px; text-align: center; transition: var(--transition); }
.ind-card:hover { border-color: var(--gold-border); transform: translateY(-4px); }
.ind-card i { font-size: 1.8rem; color: var(--gold); margin-bottom: 12px; display: block; }
.ind-card span { font-size: 0.88rem; font-weight: 500; }
.logos-grid { display: grid; grid-template-columns: repeat(5,1fr); gap: 14px; }
.logo-ph {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 26px 16px;
  display: flex; align-items: center; justify-content: center;
  text-align: center; color: var(--text-muted); font-weight: 600;
  font-size: 0.82rem; min-height: 90px; transition: var(--transition);
}
.logo-ph:hover { border-color: var(--gold-border); color: var(--text-secondary); }

/* ---- Contact Page ---- */
.contact-cards { display: grid; grid-template-columns: repeat(4,1fr); gap: 20px; margin-bottom: 56px; }
.contact-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 30px 20px; text-align: center; transition: var(--transition);
}
.contact-card:hover { border-color: var(--gold-border); transform: translateY(-4px); box-shadow: var(--shadow-gold); }
.cc-icon { width: 58px; height: 58px; background: rgba(201,168,76,0.08); border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.3rem; color: var(--gold); margin: 0 auto 14px; }
.contact-card h4 { font-size: 0.76rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.08em; color: var(--text-secondary); margin-bottom: 8px; }
.contact-card p, .contact-card a { color: var(--text-primary); font-size: 0.9rem; line-height: 1.65; }
.contact-card a:hover { color: var(--gold); }
.contact-main { display: grid; grid-template-columns: 1fr 1fr; gap: 36px; }
.contact-form-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 40px; }
.contact-form-box h3 { font-size: 1.4rem; margin-bottom: 6px; }
.contact-form-box .sub { color: var(--text-secondary); font-size: 0.9rem; margin-bottom: 32px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 7px; }
.form-group.full { grid-column: 1 / -1; }
.form-group label { font-size: 0.82rem; font-weight: 500; color: var(--text-secondary); }
.form-group input,
.form-group select,
.form-group textarea {
  background: var(--bg-secondary); border: 1px solid var(--border-light);
  border-radius: var(--radius); padding: 11px 14px;
  color: var(--text-primary); font-family: inherit;
  font-size: 0.9rem; transition: var(--transition); outline: none; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: var(--gold-border); box-shadow: 0 0 0 3px rgba(201,168,76,0.07); }
.form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%238a9bb0' fill='none' stroke-width='1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px;
}
.form-group select option { background: #0f1626; }
.form-group textarea { min-height: 120px; resize: vertical; }
.btn-submit { width: 100%; justify-content: center; margin-top: 8px; }
.map-box { border-radius: var(--radius-lg); overflow: hidden; border: 1px solid var(--border); min-height: 100%; }
.map-box iframe { width: 100%; min-height: 480px; border: none; filter: invert(92%) hue-rotate(180deg) saturate(0.9); }

/* ---- Scroll Animations ---- */
/* Only hide when JS has bootstrapped — prevents invisible content if JS fails */
img { will-change: auto; }
.js-ready .animate { opacity: 0; transition: opacity 0.3s ease, transform 0.3s ease; }
.js-ready .animate.fade-up { transform: translateY(36px); }
.js-ready .animate.fade-left { transform: translateX(-36px); }
.js-ready .animate.fade-right { transform: translateX(36px); }
.js-ready .animate.fade-scale { transform: scale(0.94); }
.js-ready .animate.visible { opacity: 1; transform: none; }
.d1 { transition-delay: 0.1s !important; }
.d2 { transition-delay: 0.2s !important; }
.d3 { transition-delay: 0.3s !important; }
.d4 { transition-delay: 0.4s !important; }
.d5 { transition-delay: 0.5s !important; }

/* ---- RTL Overrides ---- */
[dir="rtl"] .footer-nav a::before { content: none; }
[dir="rtl"] .hero-scroll { left: auto; right: 50%; transform: translateX(50%); }
[dir="rtl"] .about-accent { right: auto; left: -20px; }
[dir="rtl"] .process-grid::before { display: none; }
[dir="rtl"] .marquee-track { animation-direction: reverse; }
[dir="rtl"] .form-group select { background-position: left 14px center; padding-right: 14px; padding-left: 36px; }

/* ---- Touch scroll ---- */
.nav-links, .gallery-grid, .marquee-outer { -webkit-overflow-scrolling: touch; }

/* ---- Minimum tap targets ---- */
.btn { min-height: 48px; }
.btn-sm { min-height: 44px; }
.lang-toggle { min-height: 44px; min-width: 44px; }
.hamburger { min-height: 44px; min-width: 44px; justify-content: center; }
.gal-filter { min-height: 44px; }
.nav-links a { min-height: 48px; display: flex; align-items: center; justify-content: center; }

/* ---- Hide WhatsApp tooltip on touch devices ---- */
@media (hover: none) { .wa-tip { display: none !important; } }

/* ---- Reduce animation distance on mobile ---- */
@media (max-width: 768px) {
  .js-ready .animate.fade-up { transform: translateY(16px); }
  .js-ready .animate.fade-left { transform: translateX(-16px); }
  .js-ready .animate.fade-right { transform: translateX(16px); }
}

/* ---- 1024px ---- */
@media (max-width: 1024px) {
  .home-about-grid { grid-template-columns: 1fr; gap: 40px; }
  .story-grid { grid-template-columns: 1fr; gap: 40px; }
  .why-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid { grid-template-columns: repeat(2,1fr); }
  .process-grid::before { display: none; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 40px; }
}

/* ---- 900px ---- */
@media (max-width: 900px) {
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 28px; }
  .stat-item + .stat-item::before { display: none; }
  .testi-grid { grid-template-columns: 1fr; }
  .mv-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: repeat(2,1fr); }
  .contact-cards { grid-template-columns: repeat(2,1fr); }
  .contact-main { grid-template-columns: 1fr; }
  .logos-grid { grid-template-columns: repeat(3,1fr); }
}

/* ---- 768px ---- */
@media (max-width: 768px) {
  .container { padding: 0 20px; }
  section { padding: 72px 0; }
  .section-header { margin-bottom: 40px; }
  .gallery-grid { columns: 2; column-gap: 12px; }
  .form-grid { grid-template-columns: 1fr; }
  .story-img { height: 300px; }
  .about-img-wrap img { height: 320px; }
  .map-box iframe { min-height: 300px; }
  .services-grid { grid-template-columns: repeat(2,1fr); gap: 16px; }
  .services-all-grid { grid-template-columns: repeat(2,1fr); }

  /* Hero — align to top instead of centering in full viewport */
  .hero { align-items: flex-start; min-height: auto; padding: calc(var(--nav-h) + 40px) 0 60px; }
  .hero-content { padding-top: 0; }

  /* Typography breathing room */
  .section-title { margin-bottom: 12px; }
  .cta-title { margin-bottom: 12px; }
  .page-banner h1 { margin-bottom: 12px; }
}

/* ---- 600px ---- */
@media (max-width: 600px) {
  :root { --nav-h: 64px; }
  .container { padding: 0 20px; }
  section { padding: 60px 0; }
  .section-header { margin-bottom: 32px; }
  .page-banner { padding: 110px 0 52px; }

  /* Navbar */
  .nav-logo img { height: 38px; }
  .nav-logo-text .name-en { font-size: 0.82rem; }
  .nav-logo-text .name-ar { font-size: 0.66rem; }

  /* Hero */
  .hero-title { font-size: clamp(1.65rem, 7.5vw, 2.2rem); }
  .hero-subtitle { font-size: 0.92rem; margin-bottom: 28px; }
  .hero-cta { flex-direction: column; align-items: stretch; gap: 12px; }
  .hero-cta .btn { width: 100%; justify-content: center; }

  /* Why / values */
  .why-grid { grid-template-columns: 1fr; }
  .why-card { padding: 32px 20px; }
  .values-grid { grid-template-columns: 1fr; }
  .process-grid { grid-template-columns: 1fr; }

  /* Stats */
  .stats-grid { gap: 20px; }
  .stat-number { font-size: 2.2rem; }

  /* Services */
  .services-grid { grid-template-columns: 1fr; }
  .service-card { padding: 28px 22px; }
  .services-all-grid { grid-template-columns: 1fr; }

  /* Gallery */
  .gallery-grid { columns: 1; }

  /* Contact */
  .contact-cards { grid-template-columns: 1fr; }
  .contact-form-box { padding: 28px 20px; }
  .logos-grid { grid-template-columns: repeat(2,1fr); }

  /* Footer */
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .about-accent { display: none; }

  /* WhatsApp FAB */
  .whatsapp-fab { bottom: 16px; right: 16px; width: 50px; height: 50px; font-size: 1.3rem; }
  [dir="rtl"] .whatsapp-fab { right: auto; left: 16px; }

  /* CTA section */
  .cta-section { padding: 60px 0; }
  .cta-subtitle { font-size: 0.95rem; }
}

/* ---- 400px ---- */
@media (max-width: 400px) {
  .container { padding: 0 20px; }
  .hero-title { font-size: 1.55rem; }
  .stats-grid { grid-template-columns: repeat(2,1fr); gap: 14px; }
  .stat-number { font-size: 1.9rem; }
  .why-card { padding: 28px 16px; }
  .service-card { padding: 24px 18px; }
  .footer-inner { gap: 28px; }
  .gallery-grid { column-gap: 8px; }
  .gal-filter { padding: 8px 14px; font-size: 0.82rem; }
}
