/* ═══════════════════════════════════════════════════════════════
   BIR HAKIM — style.css
   Brand: deep espresso #3B1F0E · amber gold #C8892A · cream #FAF6EF
   ═══════════════════════════════════════════════════════════════ */

/* ─────────────────────────────────────────────────────────────
   1. CUSTOM PROPERTIES
───────────────────────────────────────────────────────────── */
:root {
  /* Brand Palette */
  --c-primary: #3B1F0E;
  --c-dark: #180D04;
  --c-mid: #5C2D0F;
  --c-gold: #C8892A;
  --c-gold-lt: #E8B060;
  --c-gold-pale: #F2D8A8;
  --c-cream: #FAF6EF;
  --c-cream-d: #F0E8D8;
  --c-text: #1A0F06;
  --c-muted: #7A6050;
  --c-surface: #FFFFFF;

  /* Typography */
  --f-display: 'Playfair Display', Georgia, serif;
  --f-body: 'Cairo', sans-serif;
  --f-italic: 'Cormorant Garamond', Georgia, serif;

  /* Spacing */
  --sp-xl: clamp(4rem, 8vw, 7rem);
  --sp-lg: clamp(2rem, 4vw, 4rem);
  --sp-md: 2rem;

  /* Easings */
  --ease-expo: cubic-bezier(0.16, 1, 0.3, 1);
  --ease-io: cubic-bezier(0.65, 0, 0.35, 1);
  --t: 0.4s var(--ease-expo);

  /* Direction helpers (LTR defaults) */
  --dir-start: left;
  --dir-end: right;
  --origin: left;
}

[dir="rtl"] {
  --dir-start: right;
  --dir-end: left;
  --origin: right;
}

/* ─────────────────────────────────────────────────────────────
   2. RESET & BASE
───────────────────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  cursor: none !important;
}

html,
body {
  overflow-x: hidden;
  width: 100%;
}

html {
  font-size: clamp(14px, 1.1vw, 16px);
}

body {
  font-family: var(--f-body);
  background: var(--c-cream);
  color: var(--c-text);
  -webkit-font-smoothing: antialiased;
}

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

a {
  text-decoration: none;
  color: inherit;
}

ul {
  list-style: none;
}

button {
  cursor: none !important;
  font-family: inherit;
}

::-webkit-scrollbar {
  width: 5px;
}

::-webkit-scrollbar-track {
  background: var(--c-cream);
}

::-webkit-scrollbar-thumb {
  background: var(--c-gold);
  border-radius: 3px;
}

::selection {
  background: var(--c-gold);
  color: #fff;
}

/* Language visibility */
[data-lang="en"] [data-ar] {
  display: none !important;
}

[data-lang="ar"] [data-en] {
  display: none !important;
}

/* ─────────────────────────────────────────────────────────────
   3. UTILITIES
───────────────────────────────────────────────────────────── */
.container {
  width: min(92%, 1200px);
  margin-inline: auto;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  font-family: var(--f-body);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.9rem;
}

.section-label::before {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--c-gold);
  flex-shrink: 0;
}

[dir="rtl"] .section-label {
  flex-direction: row-reverse;
}

[dir="rtl"] .section-label::before {
  display: none;
}

[dir="rtl"] .section-label::after {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--c-gold);
  flex-shrink: 0;
}

.section-title {
  font-family: var(--f-display);
  font-size: clamp(1.8rem, 3.5vw, 3rem);
  font-weight: 700;
  line-height: 1.15;
  color: var(--c-primary);
}

[dir="rtl"] .section-title {
  font-family: var(--f-body);
}

.gold {
  color: var(--c-gold);
}

/* ─────────────────────────────────────────────────────────────
   4. PAGE LOADER
───────────────────────────────────────────────────────────── */
#page-loader {
  position: fixed;
  inset: 0;
  background: #ffffff;
  /* Use white to seamlessly blend with JPG backgrounds */
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 8vh;
  /* Lowered */
  transition: opacity 0.6s ease, transform 0.8s var(--ease-expo);
  overflow: hidden;
}

#page-loader.done {
  opacity: 0;
  transform: translateY(-100%);
  pointer-events: none;
}

.loader-bg {
  position: absolute;
  inset: 0;
  background-image: url('assets/loaderbackground.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  z-index: 1;
}

/* Mobile responsive fix for the background image */
@media (max-width: 768px) {
  .loader-bg {
    /* Use the AI outpainted portrait version for mobile */
    background-image: url('assets/loaderbackground-mobile.jpg');
    background-size: cover;
    /* Cover works perfectly with the new portrait aspect ratio */
    -webkit-mask-image: none;
    /* Remove edge fade mask */
    mask-image: none;
    box-shadow: none;
  }
}

.loader-bar-wrap {
  position: relative;
  z-index: 2;
  width: min(340px, 80vw);
  /* Made slightly bigger */
  height: 3px;
  /* Slightly thicker */
  background: rgba(59, 31, 14, 0.15);
  border-radius: 4px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

.loader-bar {
  height: 100%;
  background: var(--c-gold);
  border-radius: 4px;
  animation: loaderFill 1.5s cubic-bezier(0.75, 0, 0.25, 1) forwards;
}

@keyframes loaderFill {
  from {
    width: 0;
  }

  to {
    width: 100%;
  }
}

/* ─────────────────────────────────────────────────────────────
   5. ANNOUNCEMENT BAR
───────────────────────────────────────────────────────────── */
#announce-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  height: 36px;
  background: var(--c-primary);
  color: var(--c-gold-pale);
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  transition: transform 0.4s var(--ease-expo);
}

#announce-bar.hidden {
  transform: translateY(-100%);
  pointer-events: none;
}

.bar-dot {
  width: 6px;
  height: 6px;
  background: var(--c-gold);
  border-radius: 50%;
  flex-shrink: 0;
  animation: barPulse 2s infinite;
}

@keyframes barPulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.4;
    transform: scale(1.5);
  }
}

#bar-close {
  position: absolute;
  right: 1rem;
  background: none;
  border: none;
  color: rgba(242, 216, 168, 0.45);
  font-size: 1rem;
  line-height: 1;
  padding: 4px;
  transition: color 0.2s;
}

[dir="rtl"] #bar-close {
  right: auto;
  left: 1rem;
}

#bar-close:hover {
  color: var(--c-gold);
}

/* Push navbar below bar */
body.bar-open #navbar {
  top: 36px;
}

body.bar-open #hero {
  padding-top: 36px;
}

/* ─────────────────────────────────────────────────────────────
   6. NAVBAR
───────────────────────────────────────────────────────────── */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0;
  background: var(--c-surface);
  box-shadow: 0 2px 30px rgba(59, 31, 14, 0.12);
  transition: background var(--t), box-shadow var(--t), top 0.4s var(--ease-expo);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 85px;
  gap: 1rem;
}

/* Logo */
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.7rem;
  flex-shrink: 0;
  text-decoration: none;
}

.logo-svg {
  width: 60px;
  height: 69px;
  flex-shrink: 0;
}

.logo-text-wrap {
  display: flex;
  flex-direction: column;
  line-height: 1.25;
}

.logo-text-en {
  font-family: var(--f-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--c-primary);
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.logo-text-ar {
  font-family: var(--f-body);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--c-gold);
  white-space: nowrap;
}

/* Scrolled state */
#navbar.scrolled {
  background: rgba(250, 246, 239, 0.97);
  box-shadow: 0 2px 30px rgba(59, 31, 14, 0.12);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

#navbar.scrolled .logo-text-en {
  color: var(--c-primary);
}

/* Desktop links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 2rem;
  flex: 1;
  justify-content: center;
}

.nav-links a {
  font-family: var(--f-body);
  font-size: 1rem;
  font-weight: 600;
  color: var(--c-primary);
  position: relative;
  padding-bottom: 3px;
  transition: color 0.3s;
  white-space: nowrap;
}

#navbar.scrolled .nav-links a {
  color: var(--c-primary);
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: var(--origin);
  transition: transform 0.35s var(--ease-expo);
}

.nav-links a:hover {
  color: var(--c-gold);
}

.nav-links a.active {
  color: var(--c-gold);
}

.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}

/* Right controls */
.nav-controls {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-shrink: 0;
}

#lang-toggle {
  background: var(--c-primary);
  border: 1.5px solid transparent;
  color: var(--c-gold-pale);
  border-radius: 50px;
  padding: 0.38rem 0.9rem;
  font-family: var(--f-body);
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  transition: all var(--t);
  white-space: nowrap;
}

#navbar.scrolled #lang-toggle {
  background: var(--c-primary);
  border-color: transparent;
  color: var(--c-gold-pale);
}

#lang-toggle:hover {
  background: var(--c-gold);
  border-color: var(--c-gold);
  color: var(--c-primary);
  transform: scale(1.04);
}

.btn-cta-nav {
  background: var(--c-gold);
  color: var(--c-primary);
  border: none;
  border-radius: 4px;
  padding: 0.5rem 1.2rem;
  font-family: var(--f-body);
  font-size: 0.8rem;
  font-weight: 700;
  transition: all var(--t);
  white-space: nowrap;
}

.btn-cta-nav:hover {
  background: var(--c-primary);
  color: var(--c-gold-pale);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(59, 31, 14, 0.22);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 6px;
  z-index: 1002;
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--c-primary);
  border-radius: 2px;
  transition: transform 0.32s, opacity 0.32s, background 0.3s;
}

#navbar.scrolled .hamburger span {
  background: var(--c-primary);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
  transform: scaleX(0);
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* Mobile drawer */
.nav-drawer {
  display: none;
  position: fixed;
  inset: 0;
  background: var(--c-cream);
  z-index: 998;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2rem;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.35s;
}

.nav-drawer.open {
  opacity: 1;
  pointer-events: all;
}

.nav-drawer a {
  font-family: var(--f-body);
  font-size: clamp(1.5rem, 6vw, 2.2rem);
  font-weight: 700;
  color: var(--c-primary);
  position: relative;
}

.nav-drawer a::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 50%;
  right: 50%;
  height: 2px;
  background: var(--c-gold);
  transition: left 0.35s var(--ease-expo), right 0.35s var(--ease-expo);
}

.nav-drawer a:hover::after {
  left: 0;
  right: 0;
}

.drawer-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: none;
  border: none;
  color: var(--c-primary);
  font-size: 1.5rem;
  line-height: 1;
  padding: 6px;
}

[dir="rtl"] .drawer-close {
  right: auto;
  left: 1.25rem;
}

.drawer-lang {
  margin-top: 1rem;
  background: var(--c-primary);
  color: var(--c-gold-pale);
  border: none;
  border-radius: 50px;
  padding: 0.5rem 1.5rem;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.9rem;
}

/* ─────────────────────────────────────────────────────────────
   7. HERO
───────────────────────────────────────────────────────────── */
#hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding-top: 100px;
  overflow: hidden;
}

/* Slides */
.hero-slides {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: 0;
  transform: scale(1.06);
  transition: opacity 1.2s ease, transform 8s linear;
  will-change: transform, opacity;
}

.hero-slide.active {
  opacity: 1;
  transform: scale(1);
}

.hero-slide:nth-child(1) {
  background-image: url('assets/loaderbackground.jpg');
}

.hero-slide:nth-child(2) {
  background-image: url('https://images.unsplash.com/photo-1503387762-592deb58ef4e?w=1800&q=80');
}

.hero-slide:nth-child(3) {
  background-image: url('https://images.unsplash.com/photo-1541888946425-d81bb19240f5?w=1800&q=80');
}

/* Gradient overlay */
#hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top,
      rgba(24, 13, 4, 0.90) 0%,
      rgba(24, 13, 4, 0.50) 40%,
      rgba(24, 13, 4, 0.15) 100%);
  z-index: 1;
}

/* Grid texture */
.hero-grid {
  position: absolute;
  inset: 0;
  z-index: 1;
  background-image:
    linear-gradient(rgba(200, 137, 42, 0.05) 1px, transparent 1px),
    linear-gradient(90deg, rgba(200, 137, 42, 0.05) 1px, transparent 1px);
  background-size: 55px 55px;
  pointer-events: none;
}

/* Hero content */
.hero-body {
  position: relative;
  z-index: 2;
  width: 100%;
  padding-bottom: 120px;
}

.hero-tag {
  display: inline-block;
  background: var(--c-gold);
  color: var(--c-primary);
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  padding: 0.35rem 0.9rem;
  border-radius: 2px;
  margin-bottom: 1.25rem;
}

.hero-h1 {
  font-family: var(--f-display);
  font-size: clamp(2.4rem, 6vw, 5.2rem);
  font-weight: 900;
  line-height: 1.06;
  color: #fff;
  max-width: 700px;
  margin-bottom: 1.1rem;
  text-shadow: 0 4px 40px rgba(0, 0, 0, 0.25);
}

[dir="rtl"] .hero-h1 {
  font-family: var(--f-body);
}

.hero-h1 .gold {
  color: var(--c-gold-lt);
}

.hero-p {
  font-family: var(--f-body);
  font-size: clamp(0.85rem, 1.4vw, 1rem);
  color: rgba(255, 255, 255, 0.78);
  max-width: 520px;
  line-height: 1.8;
  margin-bottom: 2rem;
}

.hero-btns {
  display: flex;
  gap: 0.9rem;
  flex-wrap: wrap;
}

.btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: var(--c-gold);
  color: var(--c-primary);
  border: 2px solid var(--c-gold);
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-primary::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--c-primary);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 0.5s var(--ease-expo);
}

.btn-primary:hover {
  color: var(--c-gold-pale);
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(200, 137, 42, 0.3);
  border-color: var(--c-primary);
}

.btn-primary:hover::before {
  transform: scaleX(1);
  transform-origin: left;
}

.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: transparent;
  color: #fff;
  border: 2px solid rgba(255, 255, 255, 0.45);
  padding: 0.85rem 1.8rem;
  border-radius: 4px;
  font-family: var(--f-body);
  font-weight: 600;
  font-size: 0.88rem;
  transition: all var(--t);
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.btn-outline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: var(--c-gold);
  z-index: -1;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.5s var(--ease-expo);
}

.btn-outline:hover {
  border-color: var(--c-gold);
  color: var(--c-primary);
  transform: translateY(-3px);
}

.btn-outline:hover::before {
  transform: scaleX(1);
  transform-origin: right;
}

/* Slide dots */
.hero-dots {
  position: absolute;
  bottom: 130px;
  right: 2rem;
  z-index: 3;
  display: flex;
  flex-direction: column;
  gap: 7px;
}

[dir="rtl"] .hero-dots {
  right: auto;
  left: 2rem;
}

.hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.3);
  border: 2px solid transparent;
  transition: all 0.3s;
  padding: 0;
}

.hero-dot.active {
  background: var(--c-gold);
  border-color: rgba(255, 255, 255, 0.4);
  transform: scale(1.3);
}

/* Stats bar */
.hero-stats-bar {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 2;
  background: rgba(250, 246, 239, 0.97);
  backdrop-filter: blur(12px);
  border-top: 3px solid var(--c-gold);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.stat-cell {
  padding: 1.1rem 1rem;
  text-align: center;
  border-right: 1px solid var(--c-cream-d);
}

[dir="rtl"] .stat-cell {
  border-right: none;
  border-left: 1px solid var(--c-cream-d);
}

.stat-cell:last-child {
  border: none;
}

[dir="rtl"] .stat-cell:last-child {
  border: none;
}

.stat-num {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 900;
  color: var(--c-primary);
  line-height: 1;
}

.stat-num span {
  color: var(--c-gold);
}

.stat-lbl {
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 600;
  color: var(--c-muted);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-top: 0.25rem;
}

/* ─────────────────────────────────────────────────────────────
   8. TICKER / MARQUEE
───────────────────────────────────────────────────────────── */
.ticker {
  background: var(--c-gold);
  overflow: hidden;
  padding: 0.7rem 0;
  white-space: nowrap;
}

.ticker-track {
  display: inline-flex;
  animation: tickerScroll 30s linear infinite;
}

[dir="rtl"] .ticker-track {
  animation-direction: reverse;
}

.ticker-track:hover {
  animation-play-state: paused;
}

@keyframes tickerScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(-50%);
  }
}

.ticker-item {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  padding: 0 2rem;
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--c-primary);
}

.ticker-sep {
  width: 4px;
  height: 4px;
  background: rgba(59, 31, 14, 0.35);
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────
   9. ABOUT
───────────────────────────────────────────────────────────── */
#about {
  padding: var(--sp-xl) 0;
  background: var(--c-surface);
  position: relative;
  overflow: hidden;
}

#about::before {
  content: 'BH';
  position: absolute;
  top: -3rem;
  right: -3rem;
  font-family: var(--f-display);
  font-size: 22rem;
  font-weight: 900;
  color: rgba(200, 137, 42, 0.04);
  line-height: 1;
  pointer-events: none;
  user-select: none;
}

[dir="rtl"] #about::before {
  right: auto;
  left: -3rem;
}

.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--sp-lg);
  align-items: center;
}

.about-img-wrap {
  position: relative;
}

.about-img-wrap::before {
  content: '';
  position: absolute;
  top: -1rem;
  left: -1rem;
  width: 100px;
  height: 100px;
  border-top: 3px solid var(--c-gold);
  border-left: 3px solid var(--c-gold);
  border-radius: 4px 0 0 0;
  pointer-events: none;
  z-index: 2;
}

[dir="rtl"] .about-img-wrap::before {
  left: auto;
  right: -1rem;
  border-left: none;
  border-right: 3px solid var(--c-gold);
  border-radius: 0 4px 0 0;
}

.about-img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  border-radius: 4px;
  display: block;
}

.about-card {
  position: absolute;
  bottom: -2rem;
  right: -2rem;
  background: var(--c-primary);
  color: var(--c-gold-pale);
  padding: 1.5rem;
  border-radius: 4px;
  width: 200px;
  box-shadow: 0 16px 50px rgba(24, 13, 4, 0.35);
  z-index: 2;
}

[dir="rtl"] .about-card {
  right: auto;
  left: -2rem;
}

.about-card .big {
  font-family: var(--f-display);
  font-size: 2.4rem;
  font-weight: 900;
  color: var(--c-gold);
  line-height: 1;
}

.about-card p {
  font-family: var(--f-body);
  font-size: 0.75rem;
  margin-top: 0.4rem;
  opacity: 0.8;
  line-height: 1.5;
}

.about-quote {
  font-family: var(--f-italic);
  font-size: 1.1rem;
  font-style: italic;
  color: var(--c-muted);
  line-height: 1.8;
  border-left: 3px solid var(--c-gold);
  padding-left: 1.1rem;
  margin-bottom: 1.25rem;
}

[dir="rtl"] .about-quote {
  font-family: var(--f-body);
  font-style: normal;
  border-left: none;
  border-right: 3px solid var(--c-gold);
  padding-left: 0;
  padding-right: 1.1rem;
}

.about-body {
  font-family: var(--f-body);
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--c-muted);
  margin-bottom: 1.75rem;
}

.about-pillars {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
  margin-bottom: 1.75rem;
}

.pillar {
  display: flex;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.9rem;
  background: var(--c-cream);
  border-radius: 4px;
  border-bottom: 2px solid var(--c-cream-d);
  transition: border-color 0.3s, transform 0.3s;
}

.pillar:hover {
  border-color: var(--c-gold);
  transform: translateY(-2px);
}

.pillar-ico {
  width: 32px;
  height: 32px;
  background: var(--c-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  color: var(--c-primary);
}

.pillar-ico svg {
  width: 15px;
  height: 15px;
}

.pillar h4 {
  font-family: var(--f-body);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--c-primary);
}

.pillar p {
  font-size: 0.7rem;
  color: var(--c-muted);
  margin-top: 0.1rem;
  line-height: 1.45;
}

.mgmt-bar {
  display: flex;
  gap: 0.9rem;
  padding: 1.1rem;
  background: linear-gradient(135deg, var(--c-primary), var(--c-mid));
  border-radius: 4px;
  align-items: center;
  flex-wrap: wrap;
}

.mgmt-av {
  width: 40px;
  height: 40px;
  background: var(--c-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--c-primary);
  font-weight: 900;
  font-size: 0.95rem;
  flex-shrink: 0;
}

.mgmt-info {
  line-height: 1.5;
}

.mgmt-info strong {
  font-family: var(--f-body);
  font-size: 0.8rem;
  color: var(--c-gold-pale);
  display: block;
}

.mgmt-info span {
  font-size: 0.68rem;
  color: var(--c-gold);
  letter-spacing: 0.04em;
}

.mgmt-divider {
  width: 1px;
  background: rgba(200, 137, 42, 0.3);
  align-self: stretch;
  margin: 0 0.25rem;
}

/* ─────────────────────────────────────────────────────────────
   10. SERVICES
───────────────────────────────────────────────────────────── */
#services {
  padding: var(--sp-xl) 0;
  background: var(--c-cream);
  position: relative;
}

#services::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--c-primary), var(--c-gold), var(--c-primary));
}

.services-hd {
  text-align: center;
  max-width: 580px;
  margin: 0 auto 3.5rem;
}

.services-hd .section-label {
  justify-content: center;
}

.services-hd .section-label::before {
  display: none;
}

.services-hd .section-label::after {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--c-gold);
}

.services-hd .sub {
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: var(--c-muted);
  margin-top: 0.6rem;
  line-height: 1.75;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25rem;
}

/* Service Card — ReactBits "tilt + glow" inspired */
.svc-card {
  position: relative;
  background: var(--c-surface);
  border: 1px solid var(--c-cream-d);
  border-radius: 8px;
  padding: 2.25rem;
  overflow: hidden;
  transition: transform 0.45s var(--ease-expo), box-shadow 0.45s, border-color 0.4s;
  cursor: default;
  transform-style: preserve-3d;
  will-change: transform;
}

.svc-card:hover {
  transform: translateY(-7px) rotate3d(1, 0, 0, 2deg);
  box-shadow: 0 24px 64px rgba(59, 31, 14, 0.13);
  border-color: var(--c-gold);
}

/* Shimmering inner glow on hover */
.svc-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 50% 0%, rgba(200, 137, 42, 0.1) 0%, transparent 65%);
  opacity: 0;
  transition: opacity 0.45s;
  pointer-events: none;
}

.svc-card:hover::before {
  opacity: 1;
}

/* Bottom gold fill bar */
.svc-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: var(--origin);
  transition: transform 0.5s var(--ease-expo);
}

.svc-card:hover::after {
  transform: scaleX(1);
}

/* Big background number */
.svc-num {
  position: absolute;
  bottom: -0.5rem;
  right: 1.25rem;
  font-family: var(--f-display);
  font-size: 7rem;
  font-weight: 900;
  color: rgba(200, 137, 42, 0.06);
  line-height: 1;
  user-select: none;
  pointer-events: none;
  transition: color 0.4s;
}

[dir="rtl"] .svc-num {
  right: auto;
  left: 1.25rem;
}

.svc-card:hover .svc-num {
  color: rgba(200, 137, 42, 0.12);
}

.svc-icon {
  width: 58px;
  height: 58px;
  background: var(--c-cream);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.35rem;
  position: relative;
  z-index: 1;
  transition: background 0.4s, transform 0.4s;
}

.svc-card:hover .svc-icon {
  background: var(--c-gold);
  transform: rotate(-6deg) scale(1.06);
}

.svc-icon svg {
  width: 26px;
  height: 26px;
  color: var(--c-primary);
  transition: color 0.4s;
}

.svc-card:hover .svc-icon svg {
  color: #fff;
}

.svc-title {
  font-family: var(--f-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 0.65rem;
  position: relative;
  z-index: 1;
}

[dir="rtl"] .svc-title {
  font-family: var(--f-body);
}

.svc-body {
  font-family: var(--f-body);
  font-size: 0.87rem;
  color: var(--c-muted);
  line-height: 1.85;
  position: relative;
  z-index: 1;
}

.svc-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 1.1rem;
  position: relative;
  z-index: 1;
}

.svc-tag {
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  padding: 0.22rem 0.6rem;
  background: var(--c-cream);
  color: var(--c-muted);
  border: 1px solid var(--c-cream-d);
  border-radius: 50px;
  transition: all 0.3s;
}

.svc-card:hover .svc-tag {
  background: var(--c-gold-pale);
  border-color: var(--c-gold);
  color: var(--c-primary);
}

/* ─────────────────────────────────────────────────────────────
   11. PORTFOLIO / EL GWARCHA
───────────────────────────────────────────────────────────── */
#portfolio {
  padding: var(--sp-xl) 0;
  background: var(--c-primary);
  position: relative;
  overflow: hidden;
}

#portfolio::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 80% 20%, rgba(200, 137, 42, 0.14) 0%, transparent 48%),
    radial-gradient(circle at 10% 80%, rgba(200, 137, 42, 0.07) 0%, transparent 40%);
  pointer-events: none;
}

.portfolio-hd {
  text-align: center;
  margin-bottom: 3.5rem;
}

.portfolio-hd .section-label {
  justify-content: center;
  color: var(--c-gold);
}

.portfolio-hd .section-label::before,
.portfolio-hd .section-label::after {
  background: var(--c-gold);
}

.portfolio-hd .section-title {
  color: var(--c-gold-pale);
}

.portfolio-hd .sub {
  font-family: var(--f-body);
  font-size: 0.9rem;
  color: rgba(242, 216, 168, 0.6);
  margin-top: 0.6rem;
}

.project-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 2.5rem;
  align-items: start;
  margin-bottom: 3.5rem;
}

.proj-visual {
  position: relative;
}

.proj-img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: 6px;
  border: 2px solid rgba(200, 137, 42, 0.25);
  display: block;
}

.proj-badge {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: var(--c-gold);
  color: var(--c-primary);
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  padding: 0.4rem 0.85rem;
  border-radius: 3px;
}

[dir="rtl"] .proj-badge {
  right: auto;
  left: 1.25rem;
}

.proj-thumbs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.6rem;
  margin-top: 0.65rem;
}

.proj-thumb {
  height: 82px;
  object-fit: cover;
  border-radius: 4px;
  opacity: 0.6;
  border: 2px solid transparent;
  transition: opacity 0.3s, transform 0.3s, border-color 0.3s;
  cursor: pointer;
}

.proj-thumb:hover,
.proj-thumb.active {
  opacity: 1;
  border-color: var(--c-gold);
  transform: scale(1.04);
}

/* Project info */
.proj-info {
  color: var(--c-gold-pale);
}

.proj-info .section-label {
  color: var(--c-gold);
}

.proj-name {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 2.8vw, 2.6rem);
  font-weight: 700;
  color: #fff;
  line-height: 1.15;
  margin-bottom: 0.45rem;
}

[dir="rtl"] .proj-name {
  font-family: var(--f-body);
}

.proj-loc {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--f-body);
  font-size: 0.82rem;
  color: var(--c-gold);
  margin-bottom: 1.35rem;
}

.proj-desc {
  font-family: var(--f-body);
  font-size: 0.9rem;
  line-height: 1.9;
  color: rgba(242, 216, 168, 0.72);
  margin-bottom: 1.75rem;
}

.proj-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1px;
  background: rgba(200, 137, 42, 0.18);
  border-radius: 6px;
  overflow: hidden;
  margin-bottom: 1.75rem;
}

.pstat {
  background: rgba(255, 255, 255, 0.04);
  padding: 1.1rem;
  text-align: center;
  transition: background 0.3s;
}

.pstat:hover {
  background: rgba(200, 137, 42, 0.12);
}

.pstat-v {
  font-family: var(--f-display);
  font-size: 1.55rem;
  font-weight: 900;
  color: var(--c-gold);
}

.pstat-l {
  font-family: var(--f-body);
  font-size: 0.68rem;
  color: rgba(242, 216, 168, 0.55);
  margin-top: 0.2rem;
  letter-spacing: 0.04em;
}

.proj-feats {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.feat {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-family: var(--f-body);
  font-size: 0.85rem;
  color: rgba(242, 216, 168, 0.75);
  line-height: 1.5;
}

.feat::before {
  content: '';
  width: 6px;
  height: 6px;
  background: var(--c-gold);
  border-radius: 50%;
  flex-shrink: 0;
  margin-top: 0.4em;
}

/* Spatial grid */
.spatial-hd {
  font-family: var(--f-body);
  font-size: 0.68rem;
  font-weight: 800;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--c-gold);
  text-align: center;
  margin-bottom: 1.25rem;
}

.spatial-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1px;
  background: rgba(200, 137, 42, 0.14);
  border-radius: 6px;
  overflow: hidden;
  border: 1px solid rgba(200, 137, 42, 0.18);
}

.space-cell {
  background: rgba(255, 255, 255, 0.03);
  padding: 1.5rem 1rem;
  text-align: center;
  transition: background 0.3s, transform 0.3s;
  position: relative;
  overflow: hidden;
}

.space-cell:hover {
  background: rgba(200, 137, 42, 0.13);
  transform: scale(1.03);
}

.space-cell::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 40%;
  height: 2px;
  background: var(--c-gold);
  opacity: 0;
  transition: opacity 0.3s;
}

.space-cell:hover::before {
  opacity: 1;
}

.sp-icon {
  font-size: 1.35rem;
  margin-bottom: 0.6rem;
}

.sp-name {
  font-family: var(--f-body);
  font-size: 0.73rem;
  font-weight: 700;
  color: var(--c-gold-pale);
  margin-bottom: 0.4rem;
}

.sp-area {
  font-family: var(--f-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--c-gold);
}

/* ─────────────────────────────────────────────────────────────
   12. WHY CHOOSE US
───────────────────────────────────────────────────────────── */
#why {
  padding: var(--sp-xl) 0;
  background: var(--c-cream-d);
  position: relative;
  overflow: hidden;
}

#why::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--c-gold), transparent);
}

.why-head {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
  margin-bottom: 3.5rem;
}

.why-hl {
  font-family: var(--f-display);
  font-size: clamp(1.7rem, 3vw, 2.6rem);
  font-weight: 700;
  line-height: 1.18;
  color: var(--c-primary);
}

[dir="rtl"] .why-hl {
  font-family: var(--f-body);
}

.why-intro {
  font-family: var(--f-body);
  font-size: 0.92rem;
  line-height: 1.9;
  color: var(--c-muted);
}

.reasons-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

/* ReactBits "spotlight card" effect */
.reason-card {
  background: var(--c-surface);
  border: 1px solid var(--c-cream-d);
  border-radius: 8px;
  padding: 1.9rem;
  position: relative;
  overflow: hidden;
  transition: transform 0.45s var(--ease-expo), box-shadow 0.45s, border-color 0.4s;
}

.reason-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 28px 64px rgba(59, 31, 14, 0.1);
  border-color: rgba(200, 137, 42, 0.4);
}

/* Spotlight overlay (moves with mouse via JS) */
.reason-card .spotlight {
  position: absolute;
  width: 200px;
  height: 200px;
  background: radial-gradient(circle, rgba(200, 137, 42, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  opacity: 0;
  transition: opacity 0.3s;
}

.reason-card:hover .spotlight {
  opacity: 1;
}

.reason-card::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--c-gold);
  transform: scaleX(0);
  transform-origin: var(--origin);
  transition: transform 0.5s var(--ease-expo);
}

.reason-card:hover::after {
  transform: scaleX(1);
}

.r-num {
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  font-family: var(--f-display);
  font-size: 4rem;
  font-weight: 900;
  color: rgba(200, 137, 42, 0.07);
  line-height: 1;
  user-select: none;
}

[dir="rtl"] .r-num {
  right: auto;
  left: 1.25rem;
}

.r-icon {
  width: 50px;
  height: 50px;
  background: linear-gradient(135deg, var(--c-primary), var(--c-mid));
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.1rem;
  transition: transform 0.35s;
}

.reason-card:hover .r-icon {
  transform: rotate(-6deg) scale(1.08);
}

.r-icon svg {
  width: 22px;
  height: 22px;
  color: var(--c-gold);
}

.r-title {
  font-family: var(--f-display);
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 0.5rem;
}

[dir="rtl"] .r-title {
  font-family: var(--f-body);
}

.r-body {
  font-family: var(--f-body);
  font-size: 0.84rem;
  line-height: 1.85;
  color: var(--c-muted);
}

/* ─────────────────────────────────────────────────────────────
   13. PROCESS / TIMELINE
───────────────────────────────────────────────────────────── */
#process {
  padding: var(--sp-xl) 0;
  background: var(--c-surface);
}

.process-hd {
  text-align: center;
  max-width: 560px;
  margin: 0 auto 3.5rem;
}

.process-hd .section-label {
  justify-content: center;
}

.process-hd .section-label::before {
  display: none;
}

.process-hd .section-label::after {
  content: '';
  display: block;
  width: 2rem;
  height: 2px;
  background: var(--c-gold);
}

.process-hd .sub {
  font-family: var(--f-body);
  font-size: 0.88rem;
  color: var(--c-muted);
  margin-top: 0.6rem;
  line-height: 1.75;
}

.timeline {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
}

/* Spine */
.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  background: linear-gradient(to bottom, var(--c-gold), rgba(200, 137, 42, 0.08));
  z-index: 0;
}

[dir="rtl"] .timeline::before {
  left: auto;
  right: 50%;
  transform: translateX(50%);
}

.tl-item {
  display: grid;
  grid-template-columns: 1fr 56px 1fr;
  gap: 0;
  margin-bottom: 2.75rem;
  align-items: start;
}

/* Odd items: content left, empty right */
.tl-item:nth-child(odd) .tl-content {
  grid-column: 1;
  text-align: right;
  padding-right: 1.75rem;
}

.tl-item:nth-child(odd) .tl-blank {
  grid-column: 3;
}

/* Even items: empty left, content right */
.tl-item:nth-child(even) .tl-content {
  grid-column: 3;
  text-align: left;
  padding-left: 1.75rem;
}

.tl-item:nth-child(even) .tl-blank {
  grid-column: 1;
}

[dir="rtl"] .tl-item:nth-child(odd) .tl-content {
  text-align: left;
  padding-right: 0;
  padding-left: 1.75rem;
}

[dir="rtl"] .tl-item:nth-child(even) .tl-content {
  text-align: right;
  padding-left: 0;
  padding-right: 1.75rem;
}

.tl-node {
  grid-column: 2;
  grid-row: 1;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 0.4rem;
  position: relative;
  z-index: 1;
}

.tl-circle {
  width: 42px;
  height: 42px;
  background: var(--c-primary);
  border: 3px solid var(--c-gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--f-display);
  font-weight: 900;
  font-size: 0.95rem;
  color: var(--c-gold);
  flex-shrink: 0;
  transition: background 0.35s, color 0.35s, transform 0.35s;
}

.tl-item:hover .tl-circle {
  background: var(--c-gold);
  color: var(--c-primary);
  transform: scale(1.15);
}

.tl-content {
  padding-top: 0.3rem;
}

.tl-step {
  font-family: var(--f-body);
  font-size: 0.65rem;
  font-weight: 800;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 0.3rem;
}

.tl-title {
  font-family: var(--f-display);
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--c-primary);
  margin-bottom: 0.45rem;
}

[dir="rtl"] .tl-title {
  font-family: var(--f-body);
}

.tl-desc {
  font-family: var(--f-body);
  font-size: 0.84rem;
  color: var(--c-muted);
  line-height: 1.8;
}

/* ─────────────────────────────────────────────────────────────
   14. CTA STRIP
───────────────────────────────────────────────────────────── */
#cta {
  background: var(--c-gold);
  padding: 3rem 0;
}

.cta-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  flex-wrap: wrap;
}

.cta-text h2 {
  font-family: var(--f-display);
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--c-primary);
  line-height: 1.2;
}

[dir="rtl"] .cta-text h2 {
  font-family: var(--f-body);
}

.cta-text p {
  font-family: var(--f-body);
  font-size: 0.88rem;
  color: rgba(59, 31, 14, 0.65);
  margin-top: 0.35rem;
}

.btn-dark {
  background: var(--c-primary);
  color: var(--c-gold-pale);
  border: 2px solid transparent;
  border-radius: 4px;
  padding: 0.85rem 1.9rem;
  font-family: var(--f-body);
  font-weight: 700;
  font-size: 0.88rem;
  transition: all var(--t);
  white-space: nowrap;
  flex-shrink: 0;
}

.btn-dark:hover {
  background: transparent;
  color: var(--c-primary);
  border-color: var(--c-primary);
  transform: translateY(-3px);
}

/* ─────────────────────────────────────────────────────────────
   15. FOOTER
───────────────────────────────────────────────────────────── */
#footer {
  background: var(--c-dark);
  color: rgba(242, 216, 168, 0.65);
  padding-top: 4.5rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.4fr;
  gap: 2.5rem;
  padding-bottom: 3.5rem;
  border-bottom: 1px solid rgba(200, 137, 42, 0.12);
}

.ft-brand .logo-text-en {
  color: var(--c-gold-pale);
}

.ft-brand .logo-text-ar {
  color: var(--c-gold);
}

.ft-tagline {
  font-family: var(--f-body);
  font-size: 0.82rem;
  line-height: 1.75;
  margin-top: 0.9rem;
  color: rgba(242, 216, 168, 0.48);
  max-width: 240px;
}

.ft-socials {
  display: flex;
  gap: 0.6rem;
  margin-top: 1.35rem;
}

.soc-link {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(200, 137, 42, 0.18);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(242, 216, 168, 0.55);
  transition: all 0.3s;
}

.soc-link:hover {
  background: var(--c-gold);
  color: var(--c-primary);
  border-color: var(--c-gold);
  transform: translateY(-3px);
}

.ft-col h4 {
  font-family: var(--f-body);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--c-gold);
  margin-bottom: 1.1rem;
}

.ft-col ul {
  display: flex;
  flex-direction: column;
  gap: 0.55rem;
}

.ft-col ul a {
  font-family: var(--f-body);
  font-size: 0.82rem;
  color: rgba(242, 216, 168, 0.48);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  transition: color 0.3s;
}

.ft-col ul a::before {
  content: '›';
  color: var(--c-gold);
  font-size: 0.95rem;
}

[dir="rtl"] .ft-col ul a {
  flex-direction: row-reverse;
}

[dir="rtl"] .ft-col ul a::before {
  content: '‹';
}

.ft-col ul a:hover {
  color: var(--c-gold-pale);
}

.ct-row {
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.ct-row svg {
  color: var(--c-gold);
  flex-shrink: 0;
  margin-top: 2px;
}

.ct-row span {
  font-family: var(--f-body);
  font-size: 0.82rem;
  color: rgba(242, 216, 168, 0.55);
  line-height: 1.5;
}

.footer-bottom {
  padding: 1.35rem 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.footer-bottom p {
  font-family: var(--f-body);
  font-size: 0.73rem;
  color: rgba(242, 216, 168, 0.3);
}

.footer-bottom a {
  color: var(--c-gold);
}

/* ─────────────────────────────────────────────────────────────
   16. SCROLL-TO-TOP
───────────────────────────────────────────────────────────── */
#scroll-top {
  position: fixed;
  bottom: 1.75rem;
  right: 1.75rem;
  width: 46px;
  height: 46px;
  background: var(--c-gold);
  color: var(--c-primary);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.35s, transform 0.35s, background 0.3s;
  box-shadow: 0 8px 28px rgba(200, 137, 42, 0.38);
}

#scroll-top.show {
  opacity: 1;
  transform: translateY(0);
}

#scroll-top:hover {
  background: var(--c-primary);
  color: var(--c-gold);
}

[dir="rtl"] #scroll-top {
  right: auto;
  left: 1.75rem;
}

/* ─────────────────────────────────────────────────────────────
   17. REACTBITS-INSPIRED ANIMATIONS
   — Morphing border, floating particles, text glitch reveal
───────────────────────────────────────────────────────────── */

/* Floating particles canvas (hero background) */
#particles-canvas {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

/* Glitch text reveal */
.glitch-wrap {
  display: block;
  overflow: hidden;
}

.glitch-text {
  display: block;
  animation: glitchReveal 1s var(--ease-expo) both;
}

@keyframes glitchReveal {
  0% {
    transform: translateY(100%) skewX(8deg);
    opacity: 0;
  }

  60% {
    transform: translateY(-4%) skewX(-2deg);
    opacity: 1;
  }

  80% {
    transform: translateY(2%);
  }

  100% {
    transform: translateY(0);
  }
}

/* Stagger delays */
.glitch-text:nth-child(2) {
  animation-delay: 0.12s;
}

.glitch-text:nth-child(3) {
  animation-delay: 0.22s;
}

/* Magnetic button effect — applied via JS */
.btn-magnetic {
  transition: transform 0.25s var(--ease-expo);
}

/* Shimmer border (used on service cards on mobile, always visible) */
@keyframes shimmerBorder {
  0% {
    background-position: -200% center;
  }

  100% {
    background-position: 200% center;
  }
}

/* Scroll-triggered counter pop */
.count-up {
  display: inline-block;
}

/* Number rolling (ticker numbers) */
@keyframes rollUp {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Word-by-word fade reveal */
.word-reveal .word {
  display: inline-block;
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.55s var(--ease-expo), transform 0.55s var(--ease-expo);
}

.word-reveal.revealed .word {
  opacity: 1;
  transform: translateY(0);
}

/* Custom Cursor */
#cursor-dot,
#cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 10000;
  border-radius: 50%;
  transform: translate(-50%, -50%);
  will-change: transform;
}

#cursor-dot {
  width: 8px;
  height: 8px;
  background: var(--c-gold);
}

#cursor-ring {
  width: 40px;
  height: 40px;
  border: 1px solid var(--c-gold);
  transition: width 0.3s var(--ease-expo), height 0.3s var(--ease-expo), background 0.3s var(--ease-expo), border-color 0.3s var(--ease-expo);
}

#cursor-ring.hover {
  width: 60px;
  height: 60px;
  background: rgba(200, 137, 42, 0.15);
  border-color: transparent;
}

/* Hide cursor on touch devices */
@media (hover: none) and (pointer: coarse),
(max-width: 768px) {

  #cursor-dot,
  #cursor-ring {
    display: none !important;
  }
}

/* ─────────────────────────────────────────────────────────────
   18. RESPONSIVE — TABLET
───────────────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-img-wrap {
    max-width: 560px;
    margin: 0 auto 5rem;
  }

  .about-card {
    bottom: -1.75rem;
  }

  .project-grid {
    grid-template-columns: 1fr;
  }

  .proj-img {
    height: 320px;
  }

  .spatial-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .why-head {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }

  /* Timeline collapses to single column */
  .timeline::before {
    left: 26px;
  }

  [dir="rtl"] .timeline::before {
    right: 26px;
    left: auto;
  }

  .tl-item {
    grid-template-columns: 52px 1fr;
  }

  .tl-item:nth-child(odd) .tl-content,
  .tl-item:nth-child(even) .tl-content {
    grid-column: 2;
    grid-row: 1;
    text-align: left;
    padding-left: 1.25rem;
    padding-right: 0;
  }

  [dir="rtl"] .tl-item:nth-child(odd) .tl-content,
  [dir="rtl"] .tl-item:nth-child(even) .tl-content {
    text-align: right;
    padding-right: 1.25rem;
    padding-left: 0;
  }

  .tl-item:nth-child(odd) .tl-blank,
  .tl-item:nth-child(even) .tl-blank {
    display: none;
  }

  .tl-node {
    grid-column: 1;
    grid-row: 1;
    justify-content: center;
  }
}

/* ─────────────────────────────────────────────────────────────
   19. RESPONSIVE — MOBILE  (≤ 768px)
───────────────────────────────────────────────────────────── */
@media (max-width: 768px) {

  /* Nav */
  .nav-links,
  .btn-cta-nav {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .nav-drawer {
    display: flex;
  }

  /* Logo — scale up slightly for mobile */
  .logo-svg {
    width: 60px;
    height: 69px;
  }

  .logo-text-en {
    font-size: 1.25rem;
  }

  .logo-text-ar {
    font-size: 1rem;
  }

  .nav-inner {
    height: 75px;
  }

  /* Hero */
  .hero-body {
    padding-bottom: 220px;
  }

  .hero-h1 {
    font-size: clamp(2rem, 8vw, 2.8rem);
  }

  .hero-p {
    font-size: 0.88rem;
  }

  .hero-btns {
    flex-direction: column;
  }

  .btn-primary,
  .btn-outline {
    width: 100%;
    justify-content: center;
  }

  .hero-dots {
    bottom: 200px;
    right: 1rem;
  }

  [dir="rtl"] .hero-dots {
    left: 1rem;
    right: auto;
  }

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

  .stat-cell:nth-child(2) {
    border-right: none;
  }

  [dir="rtl"] .stat-cell:nth-child(2) {
    border-left: none;
  }

  .stat-cell:nth-child(3) {
    border-right: 1px solid var(--c-cream-d);
  }

  [dir="rtl"] .stat-cell:nth-child(3) {
    border-left: 1px solid var(--c-cream-d);
    border-right: none;
  }

  .stat-cell:nth-child(4) {
    border: none;
  }

  /* Sections */
  .services-grid {
    grid-template-columns: 1fr;
  }

  .reasons-grid {
    grid-template-columns: 1fr;
  }

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

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

  .about-pillars {
    grid-template-columns: 1fr;
  }

  /* CTA */
  .cta-inner {
    flex-direction: column;
    text-align: center;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }

  /* Scroll top */
  #scroll-top {
    bottom: 1.25rem;
    right: 1.25rem;
  }

  [dir="rtl"] #scroll-top {
    left: 1.25rem;
  }
}

/* ─────────────────────────────────────────────────────────────
   20. RESPONSIVE — SMALL MOBILE (≤ 400px)
───────────────────────────────────────────────────────────── */
@media (max-width: 400px) {
  .spatial-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .hero-h1 {
    font-size: 2rem;
  }

  .stat-num {
    font-size: 1.2rem;
  }

  .about-card {
    display: none;
  }
}

[dir="rtl"] .ft-col h4 {
  text-align: right;
}

[dir="rtl"] .ft-col ul {
  align-items: flex-end;
}