:root {
  --navy: #06223c;
  --navy-light: #0a3558;
  --navy-dark: #041018;
  --gold: #bf8f20;
  --gold-light: #d4a832;
  --gold-dark: #9a7218;
  --steel: #5c6b7a;
  --bg-light: #f5f7fa;
  --bg-dark: #041018;
  --section-alt-light: #e8eef4;
  --section-alt-dark: #0c1f2e;
  --text-light: #1a2b3c;
  --text-dark: #f0f4f8;
  --muted-light: #5c6b7a;
  --muted-dark: #8fa3b5;
  --card-light: #ffffff;
  --card-dark: #0c1f2e;
  --border-light: #d8e0e8;
  --border-dark: #1a3044;
  --transition: all 0.3s ease;
}

.brand-logo {
  position: relative;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  isolation: isolate;
  transition: var(--transition);
}

.brand-logo-glow {
  position: absolute;
  inset: -10px -16px;
  border-radius: 16px;
  background:
    radial-gradient(
      ellipse at 35% 50%,
      rgba(191, 143, 32, 0.22),
      transparent 62%
    ),
    radial-gradient(ellipse at 70% 40%, rgba(6, 34, 60, 0.08), transparent 58%);
  opacity: 0;
  z-index: -1;
  transition:
    opacity 0.35s ease,
    transform 0.35s ease;
}

.brand-logo:hover .brand-logo-glow {
  opacity: 1;
  transform: scale(1.04);
}

[data-theme="dark"] .brand-logo-glow {
  opacity: 0.45;
}

.brand-logo-img {
  height: 56px;
  width: auto;
  display: block;
  object-fit: contain;
  object-position: center bottom;
  transition:
    transform 0.35s ease,
    filter 0.35s ease;
  filter: drop-shadow(0 2px 6px rgba(6, 34, 60, 0.1));
}

.brand-logo-img--light {
  display: none;
}

[data-theme="dark"] .brand-logo-img--dark,
.brand-logo--footer .brand-logo-img--dark {
  display: none;
}

[data-theme="dark"] .brand-logo-img--light,
.brand-logo--footer .brand-logo-img--light {
  display: block;
  filter: drop-shadow(0 2px 10px rgba(191, 143, 32, 0.18));
}

.brand-logo:hover .brand-logo-img {
  transform: translateY(-2px) scale(1.03);
  filter: drop-shadow(0 8px 18px rgba(191, 143, 32, 0.28));
}

[data-theme="dark"] .brand-logo:hover .brand-logo-img--light,
.brand-logo--footer:hover .brand-logo-img--light {
  filter: drop-shadow(0 8px 22px rgba(191, 143, 32, 0.38));
}

.brand-logo--footer {
  margin-bottom: 22px;
}

.brand-logo--footer .brand-logo-glow {
  opacity: 0.6;
  background:
    radial-gradient(
      ellipse at 35% 50%,
      rgba(191, 143, 32, 0.32),
      transparent 62%
    ),
    radial-gradient(
      ellipse at 75% 35%,
      rgba(255, 255, 255, 0.08),
      transparent 55%
    );
}

.brand-logo--footer:hover .brand-logo-glow {
  opacity: 0.9;
}

.brand-logo--footer .brand-logo-img {
  height: 56px;
}

[data-theme="light"] {
  --bg: var(--bg-light);
  --bg-alt: var(--section-alt-light);
  --text: var(--text-light);
  --text-muted: var(--muted-light);
  --card-bg: var(--card-light);
  --border: var(--border-light);
  --nav-bg: rgba(248, 249, 251, 0.95);
  --nav-shadow: 0 1px 20px rgba(6, 34, 60, 0.08);
}

[data-theme="dark"] {
  --bg: var(--bg-dark);
  --bg-alt: var(--section-alt-dark);
  --text: var(--text-dark);
  --text-muted: var(--muted-dark);
  --card-bg: var(--card-dark);
  --border: var(--border-dark);
  --nav-bg: rgba(4, 16, 24, 0.97);
  --nav-shadow: 0 1px 20px rgba(0, 0, 0, 0.4);
}

*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  max-width: 100%;
}

body {
  background: var(--bg);
  color: var(--text);
  font-family: "Tajawal", "Inter", sans-serif;
  line-height: 1.7;
  transition:
    background 0.35s,
    color 0.35s;
  overflow-x: hidden;
}

[lang="en"] body,
body.en {
  font-family: "Inter", "Tajawal", sans-serif;
}

::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 3px;
}

/* ---- NAV ---- */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  box-shadow: var(--nav-shadow);
  transition: var(--transition);
}

.nav-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--text);
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  white-space: nowrap;
}

.nav-links a:hover {
  background: rgba(191, 143, 32, 0.12);
  color: var(--gold);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-lang {
  background: transparent;
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 7px 14px;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  font-family: inherit;
  letter-spacing: 0.5px;
}

.btn-lang:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-theme {
  width: 38px;
  height: 38px;
  background: transparent;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: var(--text);
  font-size: 16px;
}

.btn-theme:hover {
  border-color: var(--gold);
  color: var(--gold);
}

.btn-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: white;
  border: none;
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: var(--transition);
  font-family: inherit;
  box-shadow: 0 4px 15px rgba(191, 143, 32, 0.3);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(191, 143, 32, 0.4);
}

.btn-outline {
  background: transparent;
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.6);
  padding: 12px 28px;
  border-radius: 10px;
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition);
  font-family: inherit;
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: white;
}

.nav-mobile-btn {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  padding: 6px;
}

/* ---- HERO ---- */
.hero {
  min-height: 100vh;
  min-height: 100dvh;
  height: 100vh;
  height: 100dvh;
  max-height: 100vh;
  max-height: 100dvh;
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: var(--navy-dark);
}

.hero .container {
  position: relative;
  z-index: 2;
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100%;
  padding-top: 72px;
  padding-bottom: clamp(16px, 3vh, 32px);
  box-sizing: border-box;
}

.hero-bg-image {
  position: absolute;
  inset: 0;
  background-image: url("images/hero.jpg");
  background-size: cover;
  background-position: center 30%;
  background-repeat: no-repeat;
  transform: scale(1.06);
  animation: hero-bg-ken-burns 18s ease-in-out infinite alternate;
  z-index: 0;
}

@keyframes hero-bg-ken-burns {
  from { transform: scale(1.06) translate(0, 0); }
  to   { transform: scale(1.14) translate(-1%, 1%); }
}

.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(to bottom,
      rgba(4, 16, 24, 0.62) 0%,
      rgba(4, 16, 24, 0.45) 40%,
      rgba(4, 16, 24, 0.72) 100%),
    linear-gradient(120deg,
      rgba(6, 34, 60, 0.70) 0%,
      rgba(6, 34, 60, 0.25) 60%,
      transparent 100%);
}

.hero-overlay-bottom {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 42%;
  z-index: 1;
  pointer-events: none;
  background: linear-gradient(to top,
    rgba(4, 16, 24, 0.98) 0%,
    rgba(4, 16, 24, 0.60) 55%,
    transparent 100%);
}

.hero-bg-pattern {
  display: none;
}

.hero-grid-lines {
  position: absolute;
  inset: 0;
  opacity: 0.04;
  background-image:
    linear-gradient(var(--gold) 1px, transparent 1px),
    linear-gradient(90deg, var(--gold) 1px, transparent 1px);
  background-size: 80px 80px;
}

.hero-shapes {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  background: radial-gradient(
    circle,
    rgba(191, 143, 32, 0.28),
    rgba(191, 143, 32, 0) 70%
  );
  animation: orb-float 14s ease-in-out infinite;
  mix-blend-mode: screen;
}

.hero-orb-1 {
  width: 320px;
  height: 320px;
  top: 12%;
  left: 8%;
}

.hero-orb-2 {
  width: 220px;
  height: 220px;
  bottom: 12%;
  right: 12%;
  animation-delay: 4s;
}

.hero-orb-3 {
  width: 140px;
  height: 140px;
  top: 58%;
  right: 34%;
  animation-delay: 8s;
}

.hero-shape {
  position: absolute;
  border-radius: 50%;
  background: var(--gold);
  opacity: 0.04;
  animation: float 8s ease-in-out infinite;
}

.hero-shape-1 {
  width: 600px;
  height: 600px;
  top: -200px;
  -webkit-backdrop-filter: blur(10px);
  right: -200px;
  animation-delay: 0s;
}

.hero-shape-2 {
  width: 300px;
  height: 300px;
  bottom: -100px;
  left: 10%;
  animation-delay: 3s;
}

.hero-shape-3 {
  width: 150px;
  height: 150px;
  top: 30%;
  left: 5%;
  animation-delay: 1.5s;
  opacity: 0.06;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) scale(1);
  }

  50% {
    transform: translateY(-30px) scale(1.05);
  }
}

@keyframes orb-float {
  0%,
  100% {
    transform: translate3d(0, 0, 0) scale(1);
  }

  50% {
    transform: translate3d(18px, -22px, 0) scale(1.08);
  }
}

.hero-grid {
  display: none;
}

.hero-centered {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
}

[dir="rtl"] .hero-centered {
  font-family: "Cairo", "Tajawal", sans-serif;
}

[dir="ltr"] .hero-centered {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
}

.hero-content {
  min-width: 0;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: rgba(191, 143, 32, 0.1);
  border: 1px solid rgba(191, 143, 32, 0.4);
  color: var(--gold-light);
  padding: 7px 18px;
  border-radius: 100px;
  font-size: clamp(11px, 1.2vw, 13px);
  font-weight: 600;
  margin-bottom: clamp(12px, 2vh, 20px);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 32px rgba(191, 143, 32, 0.15);
  letter-spacing: 0.02em;
}

.hero-badge::before {
  content: "";
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px var(--gold);
  animation: hero-pulse 2s ease-in-out infinite;
}

@keyframes hero-pulse {
  0%,
  100% {
    opacity: 1;
    transform: scale(1);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.85);
  }
}

.hero-title {
  font-size: clamp(30px, 4.5vw, 58px);
  font-weight: 900;
  color: white;
  line-height: 1.12;
  margin-bottom: clamp(10px, 1.5vh, 16px);
  position: relative;
  letter-spacing: -0.02em;
}

[dir="rtl"] .hero-title {
  font-family: "Cairo", "Tajawal", sans-serif;
  letter-spacing: 0;
}

[dir="ltr"] .hero-title {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
  letter-spacing: -0.03em;
}

.hero-title::after {
  content: "";
  display: block;
  width: 100px;
  height: 4px;
  margin: clamp(10px, 1.5vh, 16px) auto 0;
  border-radius: 4px;
  background: linear-gradient(90deg,
      transparent,
      var(--gold),
      var(--gold-light),
      var(--gold),
      transparent);
}

.hero-title .accent {
  background: linear-gradient(
    120deg,
    #e8c96a 0%,
    var(--gold-light) 35%,
    var(--gold) 70%,
    var(--gold-dark) 100%
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  color: transparent;
}

.hero-subtitle {
  font-size: clamp(13px, 1.5vw, 16px);
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: clamp(14px, 2vh, 22px);
  max-width: 620px;
  font-weight: 400;
  line-height: 1.7;
  text-shadow: 0 1px 8px rgba(4, 16, 24, 0.6);
}

.hero-cta {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: clamp(16px, 2.5vh, 24px);
}

.hero-trust {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(8px, 1.2vw, 12px);
  width: 100%;
  max-width: 720px;
}

.hero-trust-item {
  background: rgba(4, 16, 24, 0.55);
  border: 1px solid rgba(191, 143, 32, 0.28);
  border-radius: 14px;
  padding: clamp(12px, 1.5vh, 16px) clamp(14px, 1.5vw, 18px);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow:
    0 8px 32px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.07);
}

.hero-trust-item::before {
  content: "";
  position: absolute;
  top: 0;
  inset-inline-start: 0;
  width: 3px;
  height: 100%;
  background: linear-gradient(to bottom, var(--gold-light), var(--gold-dark));
  border-radius: 3px 0 0 3px;
  opacity: 0.85;
}

.hero-trust-item:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(191, 143, 32, 0.35);
  transform: translateY(-3px);
}

.hero-trust-label {
  font-size: clamp(11px, 1.1vw, 13px);
  font-weight: 800;
  color: var(--gold-light);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

[dir="rtl"] .hero-badge,
[dir="rtl"] .hero-subtitle,
[dir="rtl"] .hero-trust-label,
[dir="rtl"] .hero-trust-value,
[dir="rtl"] .btn-hero-primary,
[dir="rtl"] .btn-hero-outline {
  font-family: "Cairo", "Tajawal", sans-serif;
}

[dir="ltr"] .hero-badge,
[dir="ltr"] .hero-subtitle,
[dir="ltr"] .hero-trust-label,
[dir="ltr"] .hero-trust-value,
[dir="ltr"] .btn-hero-primary,
[dir="ltr"] .btn-hero-outline {
  font-family: "Plus Jakarta Sans", "Inter", sans-serif;
}

.hero-trust-value {
  font-size: clamp(11px, 1.1vw, 12px);
  color: rgba(255, 255, 255, 0.82);
  line-height: 1.45;
  font-weight: 500;
}

.btn-hero-primary {
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: white;
  border: none;
  padding: clamp(11px, 1.5vh, 14px) clamp(22px, 2.5vw, 30px);
  border-radius: 14px;
  font-size: clamp(13px, 1.3vw, 15px);
  font-weight: 700;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition);
  font-family: inherit;
  box-shadow: 0 8px 28px rgba(191, 143, 32, 0.45);
  position: relative;
  overflow: hidden;
}

.btn-hero-primary::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    120deg,
    transparent 30%,
    rgba(255, 255, 255, 0.2) 50%,
    transparent 70%
  );
  transform: translateX(-100%);
  transition: transform 0.5s ease;
}

.btn-hero-primary:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 36px rgba(191, 143, 32, 0.55);
}

.btn-hero-primary:hover::after {
  transform: translateX(100%);
}

.btn-hero-arrow {
  transition: transform 0.25s ease;
}

.btn-hero-primary:hover .btn-hero-arrow {
  transform: translateX(-4px);
}

[dir="ltr"] .btn-hero-primary:hover .btn-hero-arrow {
  transform: translateX(4px);
}

.btn-hero-outline {
  border-color: rgba(191, 143, 32, 0.45);
  color: rgba(255, 255, 255, 0.92);
  border-radius: 14px;
  padding: clamp(10px, 1.4vh, 13px) clamp(20px, 2.2vw, 28px);
  font-size: clamp(13px, 1.3vw, 15px);
  backdrop-filter: blur(8px);
}

.btn-hero-outline:hover {
  background: rgba(191, 143, 32, 0.12);
  border-color: var(--gold-light);
  color: white;
}

.hero-visual {
  display: none;
}
.hero-image-frame {
  display: none;
}
.hero-image {
  display: none;
}

.hero-chip {
  position: absolute;
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 14px;
  padding: 12px 16px;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.25);
  animation: hero-chip-float 5s ease-in-out infinite;
}

.hero-chip-bottom {
  bottom: 6%;
  inset-inline-end: 12px;
  flex-direction: column;
  align-items: flex-start;
  gap: 2px;
  padding: 16px 20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-dark));
  border-color: rgba(255, 255, 255, 0.25);
  animation-delay: 0.5s;
}

.hero-chip-iso {
  top: 6%;
  inset-inline-start: 12px;
  font-size: 12px;
  font-weight: 700;
  color: white;
  padding: 10px 16px;
  animation-delay: 0.2s;
}

.hero-chip-iso-icon {
  font-size: 18px;
  line-height: 1;
}

.hero-chip-num {
  font-size: 30px;
  font-weight: 900;
  color: white;
  line-height: 1;
  font-family: "Tajawal", sans-serif;
}

.hero-scroll {
  position: absolute;
  bottom: clamp(12px, 2vh, 20px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  opacity: 0.55;
  transition: opacity 0.3s ease;
}

.hero-scroll:hover {
  opacity: 0.9;
}

.hero-scroll-line {
  display: block;
  width: 1px;
  height: clamp(28px, 4vh, 40px);
  background: linear-gradient(to bottom, var(--gold-light), transparent);
  position: relative;
  animation: hero-scroll-pulse 2s ease-in-out infinite;
}

.hero-scroll-line::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-right: 1px solid var(--gold-light);
  border-bottom: 1px solid var(--gold-light);
  rotate: 45deg;
}

@keyframes hero-scroll-pulse {
  0%,
  100% {
    transform: scaleY(1);
    opacity: 0.6;
  }

  50% {
    transform: scaleY(0.85);
    opacity: 1;
  }
}

.hero-chip-bottom span:not(.hero-chip-num) {
  font-size: 11px;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
}

@keyframes hero-chip-float {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-8px);
  }
}

@media (prefers-reduced-motion: reduce) {
  .hero-visual-ring,
  .hero-image-frame,
  .hero-chip,
  .hero-badge::before,
  .hero-scroll-line {
    animation: none;
  }
}

/* ---- SECTIONS ---- */
.section {
  padding: 100px 0;
  overflow-x: clip;
}

.section-alt {
  background: var(--bg-alt);
}

.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  position: relative;
}

.section::before {
  content: "";
  position: absolute;
  inset: 40px 0 auto 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(191, 143, 32, 0.18),
    transparent
  );
  pointer-events: none;
}

.section-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.section-label::before {
  content: "";
  width: 30px;
  height: 2px;
  background: var(--gold);
  display: block;
}

[dir="rtl"] .section-label::before {
  order: 1;
}

[dir="rtl"] .section-label {
  flex-direction: row-reverse;
}

[dir="ltr"] .section-label {
  flex-direction: row;
}

.section-title {
  font-size: clamp(28px, 4vw, 44px);
  font-weight: 900;
  color: var(--text);
  line-height: 1.2;
  margin-bottom: 16px;
  font-family: "Tajawal", sans-serif;
}

.section-subtitle {
  font-size: 16px;
  color: var(--text-muted);
  max-width: 620px;
  line-height: 1.8;
  margin-bottom: 56px;
}

.text-center {
  text-align: center;
}

.text-center .section-subtitle {
  margin-left: auto;
  margin-right: auto;
}

.text-center .section-label {
  justify-content: center;
}

[dir="rtl"] .text-center .section-label {
  flex-direction: row-reverse;
}

/* ---- CEO MESSAGE ---- */
.ceo-grid {
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  gap: 70px;
  align-items: center;
}

.ceo-portrait {
  position: relative;
}

.ceo-portrait-frame {
  width: 100%;
  aspect-ratio: 4/5;
  background: var(--navy-dark);
  border-radius: 24px;
  overflow: hidden;
  position: relative;
}

.ceo-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 20%;
  display: block;
}

.ceo-portrait-frame::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.ceo-portrait-badge {
  position: absolute;
  bottom: -20px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: white;
  padding: 14px 24px;
  border-radius: 14px;
  font-size: 13px;
  font-weight: 700;
  box-shadow: 0 8px 30px rgba(191, 143, 32, 0.35);
}

[dir="rtl"] .ceo-portrait-badge {
  right: 20px;
}

[dir="ltr"] .ceo-portrait-badge {
  left: 20px;
}

.ceo-quote-mark {
  font-size: 80px;
  color: var(--gold);
  opacity: 0.2;
  line-height: 0.8;
  margin-bottom: 16px;
  font-family: "Playfair Display", serif;
}

.ceo-quote {
  font-size: 18px;
  font-weight: 500;
  color: var(--text);
  line-height: 1.9;
  margin-bottom: 32px;
  border-right: 3px solid var(--gold);
  padding-right: 20px;
}

[dir="ltr"] .ceo-quote {
  border-right: none;
  border-left: 3px solid var(--gold);
  padding-right: 0;
  padding-left: 20px;
}

.ceo-name {
  font-size: 18px;
  font-weight: 800;
  color: var(--navy);
}

[data-theme="dark"] .ceo-name {
  color: var(--gold);
}

.ceo-title-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
}

.ceo-values {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
  margin-top: 36px;
}

.ceo-value {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-alt);
  padding: 12px 16px;
  border-radius: 10px;
  border: 1px solid var(--border);
}

.ceo-value-icon {
  width: 32px;
  height: 32px;
  background: rgba(191, 143, 32, 0.12);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}

.ceo-value-text {
  font-size: 13px;
  font-weight: 600;
  color: var(--text);
}

/* ---- ABOUT ---- */
.about-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 70px;
  align-items: center;
}

.about-image-stack {
  position: relative;
  height: 480px;
}

.about-img-main {
  position: absolute;
  inset: 0;
  background: var(--navy-dark);
  border-radius: 24px;
  overflow: hidden;
}

.about-img-main-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.about-img-main::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to bottom right,
    rgba(191, 143, 32, 0.15),
    transparent
  );
}

.about-img-accent {
  position: absolute;
  bottom: -24px;
  width: 200px;
  height: 70px;
  background: var(--gold);
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: white;
  text-align: center;
  padding: 16px;
  box-shadow: 0 12px 40px rgba(191, 143, 32, 0.4);
  z-index: 2;
}

[dir="rtl"] .about-img-accent {
  left: -24px;
}

[dir="ltr"] .about-img-accent {
  right: -24px;
}

.about-img-accent .big-num {
  font-size: 32px;
  font-weight: 900;
  display: block;
  margin-bottom: 4px;
}

.about-checklist {
  list-style: none;
  margin-top: 28px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.about-checklist li {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 15px;
  color: var(--text);
  line-height: 1.6;
}

.about-checklist li::before {
  content: "✓";
  width: 22px;
  height: 22px;
  min-width: 22px;
  background: rgba(191, 143, 32, 0.15);
  color: var(--gold);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  font-weight: 700;
  margin-top: 2px;
}

/* ---- MISSION VISION ---- */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
}

.mv-card-mission .mv-card-icon {
  color: #f59e0b;
}

.mv-card-vision .mv-card-icon {
  color: #0ea5e9;
}

.mv-card {
  border-radius: 24px;
  padding: 48px 40px;
  position: relative;
  overflow: hidden;
}

.mv-card-mission {
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  color: white;
}

.mv-card-vision {
  background: var(--card-bg);
  border: 1px solid var(--border);
  color: var(--text);
}

.mv-card::before {
  content: "";
  position: absolute;
  top: -40px;
  right: -40px;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: rgba(191, 143, 32, 0.1);
}

.mv-card-icon {
  font-size: 44px;
  margin-bottom: 20px;
  display: block;
}

.mv-card-title {
  font-size: 26px;
  font-weight: 800;
  margin-bottom: 16px;
}

.mv-card-text {
  font-size: 15px;
  line-height: 1.9;
  opacity: 0.85;
}

.mv-card-mission .mv-card-text {
  color: rgba(255, 255, 255, 0.8);
}

/* ---- FOUNDATION ---- */

.leadership-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
}

.leader-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 24px;
  overflow: hidden;
  text-align: center;
  transition: 0.4s ease;
}

.leader-card:hover {
  transform: translateY(-10px);
  box-shadow:
    0 15px 40px rgba(191, 143, 32, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.15);
  border-color: var(--gold-light);
}

.chairman-card {
  background: linear-gradient(135deg, var(--navy) 0%, var(--navy-light) 100%);
  border: 2px solid var(--gold);
  box-shadow:
    0 10px 30px rgba(191, 143, 32, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
  position: relative;
  transform: scale(1.08);
}

.chairman-card:hover {
  transform: scale(1.12);
}

.leader-card img {
  width: 100%;
  height: 280px;
  object-fit: cover;
}

.leader-card h3 {
  margin: 20px 0 8px;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--text);
}

.leader-card span {
  display: block;
  color: var(--primary);
  font-weight: 600;
  margin-bottom: 22px;
}

@media (max-width: 1100px) {
  .leadership-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 700px) {
  .leadership-grid {
    grid-template-columns: 1fr;
  }
}

/* ---- GOALS ---- */
.goals-section {
  background-color: #f3f6fa;
  background-image:
    linear-gradient(
      30deg,
      rgba(6, 34, 60, 0.045) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(6, 34, 60, 0.045) 87.5%
    ),
    linear-gradient(
      150deg,
      rgba(6, 34, 60, 0.045) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(6, 34, 60, 0.045) 87.5%
    ),
    linear-gradient(
      30deg,
      rgba(6, 34, 60, 0.045) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(6, 34, 60, 0.045) 87.5%
    ),
    linear-gradient(
      150deg,
      rgba(6, 34, 60, 0.045) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(6, 34, 60, 0.045) 87.5%
    );
  background-size: 72px 124px;
  background-position: center;
}

[data-theme="dark"] .goals-section {
  background-color: #121820;
  background-image:
    linear-gradient(
      30deg,
      rgba(191, 143, 32, 0.05) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(191, 143, 32, 0.05) 87.5%
    ),
    linear-gradient(
      150deg,
      rgba(191, 143, 32, 0.05) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(191, 143, 32, 0.05) 87.5%
    ),
    linear-gradient(
      30deg,
      rgba(191, 143, 32, 0.05) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(191, 143, 32, 0.05) 87.5%
    ),
    linear-gradient(
      150deg,
      rgba(191, 143, 32, 0.05) 12%,
      transparent 12.5%,
      transparent 87%,
      rgba(191, 143, 32, 0.05) 87.5%
    );
}

.goals-header {
  margin-bottom: 40px;
}

.goals-showcase {
  position: relative;
}

.goals-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-top: -2px;
  position: relative;
  z-index: 2;
}

.goal-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 0 14px 8px;
  background: transparent;
  border: none;
  border-radius: 0;
  box-shadow: none;
  cursor: default;
  transition: transform 0.3s ease;
}

.goal-card::before,
.goal-card::after {
  display: none;
}

.goal-card:hover {
  transform: translateY(-4px);
  box-shadow: none;
}

.goal-pin {
  width: 54px;
  height: 58px;
  margin-bottom: 20px;
  display: flex;
  align-items: flex-start;
  justify-content: center;
  padding-top: 11px;
  background: linear-gradient(180deg, var(--gold-light), var(--gold-dark));
  clip-path: polygon(10% 0, 90% 0, 100% 58%, 50% 100%, 0 58%);
  box-shadow: 0 8px 18px rgba(191, 143, 32, 0.35);
  flex-shrink: 0;
}

.goal-pin span {
  font-size: 18px;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
  line-height: 1;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.goal-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 18px;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.goal-icon svg {
  width: 100%;
  height: 100%;
}

[data-theme="dark"] .goal-icon {
  color: #e8edf5;
}

.goal-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--navy);
  margin: 14px 0 8px;
  transition: var(--transition);
}

[data-theme="dark"] .goal-title {
  color: var(--gold-light);
}

.goal-desc {
  font-size: 13.5px;
  font-weight: 500;
  color: var(--muted-light);
  line-height: 1.6;
  max-width: 22ch;
  margin: 0 auto;
  transition: var(--transition);
}

[data-theme="dark"] .goal-desc {
  color: var(--muted-dark);
}

/* ---- STATS ---- */
.stats-section {
  background: linear-gradient(
    135deg,
    var(--navy-dark),
    var(--navy),
    var(--navy-light)
  );
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}

.stats-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(255, 255, 255, 0.01) 40px,
    rgba(255, 255, 255, 0.01) 41px
  );
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1px;
  position: relative;
  z-index: 1;
}

.stat-item {
  text-align: center;
  padding: 40px 20px;
  position: relative;
}

.stat-item::after {
  content: "";
  position: absolute;
  top: 20%;
  bottom: 20%;
  right: 0;
  width: 1px;
  background: rgba(255, 255, 255, 0.08);
}

.stat-item:last-child::after {
  display: none;
}

.stat-number {
  font-size: clamp(36px, 4vw, 52px);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  font-family: "Playfair Display", serif;
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-flex;
  align-items: flex-start;
  justify-content: center;
  gap: 0;
}

.stat-suffix {
  display: inline-block;
  font-size: 0.38em;
  font-weight: 700;
  line-height: 1;
  position: relative;
  top: -0.58em;
  margin-left: 1px;
  color: var(--gold-light);
  font-family: "Playfair Display", serif;
  letter-spacing: 0.02em;
  text-transform: lowercase;
}

[dir="rtl"] .stat-number,
[dir="ltr"] .stat-number {
  direction: ltr;
}

[dir="rtl"] .stat-suffix,
[dir="ltr"] .stat-suffix {
  top: -0.58em;
  margin-left: 1px;
  margin-right: 0;
}

.stat-label {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  margin-top: 10px;
  font-weight: 400;
  line-height: 1.4;
}

.stat-icon {
  font-size: 28px;
  margin-bottom: 12px;
  opacity: 0.6;
}

/* ---- SERVICES ---- */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 40px;
}

.service-card {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  border-radius: 16px;
  padding: 32px 24px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.service-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover {
  transform: translateY(-6px);
  border-color: var(--gold-light);
  box-shadow: 0 12px 30px rgba(6, 34, 60, 0.06);
}

[data-theme="dark"] .service-card:hover {
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.28);
}

.service-card:hover::before {
  opacity: 1;
}

.service-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: rgba(191, 143, 32, 0.1);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-bottom: 20px;
  transition: var(--transition);
}

.service-card:hover .service-icon {
  background: var(--navy);
  color: white;
}

[data-theme="dark"] .service-card:hover .service-icon {
  background: var(--gold);
  color: var(--navy-dark);
}

.service-title {
  font-size: 18px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 12px;
  transition: var(--transition);
}

.service-desc {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  margin: 0;
  transition: var(--transition);
}

/* ---- PROJECTS ---- */
.projects-filter {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.filter-btn {
  background: var(--card-bg);
  border: 1.5px solid var(--border);
  color: var(--text);
  padding: 8px 20px;
  border-radius: 100px;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}

.filter-btn:hover,
.filter-btn.active {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}

.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.project-card--extra {
  display: none;
}

.project-card--extra.is-visible {
  display: block;
  animation: project-reveal 0.55s ease forwards;
}

@keyframes project-reveal {
  from {
    opacity: 0;
    transform: translateY(24px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.projects-pagination {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 16px;
  margin-top: 40px;
}

.projects-load-more,
.projects-load-less {
  display: flex;
  justify-content: center;
  max-width: 100%;
  overflow: hidden;
}

.projects-load-more.is-hidden,
.projects-load-less.is-hidden {
  display: none;
}

.btn-load-more {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 16px 34px;
  border: 1px solid transparent;
  border-radius: 100px;
  background: linear-gradient(135deg, rgba(6, 34, 60, 0.72), rgba(4, 16, 24, 0.88));
  color: white;
  font-family: inherit;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  overflow: hidden;
  isolation: isolate;
  box-shadow:
    0 10px 30px rgba(6, 34, 60, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
}

.btn-load-more::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  padding: 1px;
  background: linear-gradient(
    135deg,
    rgba(191, 143, 32, 0.7),
    rgba(191, 143, 32, 0.18),
    rgba(10, 53, 88, 0.28)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.9;
  pointer-events: none;
}

.btn-load-more::after {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(circle at 10% 20%, rgba(191, 143, 32, 0.22), transparent 55%),
    radial-gradient(circle at 90% 90%, rgba(10, 53, 88, 0.35), transparent 55%);
  opacity: 0.6;
  z-index: -1;
  pointer-events: none;
}

.btn-load-more-glow {
  position: absolute;
  inset: -20%;
  background: radial-gradient(circle at 50% 50%, rgba(191, 143, 32, 0.18), transparent 62%);
  opacity: 0.25;
  z-index: -1;
  transition: opacity 0.35s ease;
}

.btn-load-more-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: white;
  flex-shrink: 0;
  transition: transform 0.35s ease;
  box-shadow:
    0 10px 20px rgba(191, 143, 32, 0.25),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.btn-load-more-text {
  letter-spacing: 0.01em;
}

.btn-load-more-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 28px;
  height: 28px;
  padding: 0 8px;
  border-radius: 100px;
  background: rgba(191, 143, 32, 0.14);
  border: 1px solid rgba(191, 143, 32, 0.28);
  color: rgba(255, 232, 180, 0.95);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.04em;
}

.btn-load-more:hover {
  transform: translateY(-3px);
  border-color: rgba(191, 143, 32, 0.55);
  box-shadow:
    0 16px 40px rgba(191, 143, 32, 0.22),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-load-more:hover .btn-load-more-glow {
  opacity: 0.85;
}

.btn-load-more:hover .btn-load-more-icon {
  transform: translateY(-1px) rotate(90deg) scale(1.03);
}

.btn-load-less .btn-load-more-icon {
  background: linear-gradient(135deg, rgba(10, 53, 88, 0.95), rgba(6, 34, 60, 0.98));
  border: 1px solid rgba(191, 143, 32, 0.35);
  box-shadow:
    0 10px 20px rgba(6, 34, 60, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.btn-load-less:hover .btn-load-more-icon {
  transform: translateY(-1px) scale(1.03);
}

.btn-load-less:focus-visible {
  outline: none;
  box-shadow:
    0 18px 48px rgba(6, 34, 60, 0.28),
    0 0 0 4px rgba(191, 143, 32, 0.14),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-load-more:focus-visible {
  outline: none;
  box-shadow:
    0 18px 48px rgba(191, 143, 32, 0.22),
    0 0 0 4px rgba(191, 143, 32, 0.16),
    inset 0 1px 0 rgba(255, 255, 255, 0.12);
}

.btn-load-more:active {
  transform: translateY(-1px);
}

/* Arabic (RTL) layout: count on the left, + on the right (matches screenshot). */
html[lang="ar"] .btn-load-more,
html[lang="ar"] .btn-load-less {
  flex-direction: row-reverse;
}

@media (prefers-reduced-motion: reduce) {
  .btn-load-more,
  .btn-load-more * {
    transition: none !important;
  }
}

.project-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 20px;
  overflow: hidden;
  transition: var(--transition);
  cursor: pointer;
}

.project-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
}

[data-theme="dark"] .project-card:hover {
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.4);
}

.project-thumb {
  height: 220px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 48px;
}

.project-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(6, 34, 60, 0.8), transparent 50%);
  transition: var(--transition);
}

.project-card:hover .project-thumb::after {
  background: linear-gradient(
    to top,
    rgba(191, 143, 32, 0.5),
    rgba(6, 34, 60, 0.3) 50%
  );
}

.project-thumb-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 16px 20px;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
}

.project-tag {
  background: var(--gold);
  color: white;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
}

.project-info {
  padding: 22px 20px;
}

.project-client {
  font-size: 11px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 6px;
}

.project-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  line-height: 1.4;
}

/* ---- CLIENTS GRID ---- */
.clients-showcase {
  max-width: 100%;
  margin: 0 auto;
}

#clients .clients-header {
  margin-bottom: 28px;
}

#clients .section-subtitle {
  margin-bottom: 0;
}

.clients-grid {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  border-top: 1px solid var(--border);
  background: var(--card-bg);
  border-radius: 4px;
}

.client-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px 10px;
  min-height: 68px;
  border-bottom: 1px solid var(--border);
  background: transparent;
  transition: background 0.25s ease;
}

.client-logo:hover {
  background: rgba(191, 143, 32, 0.04);
}

[data-theme="dark"] .client-logo:hover {
  background: rgba(191, 143, 32, 0.08);
}

.client-logo img {
  display: block;
  max-width: min(96px, 100%);
  max-height: 34px;
  width: auto;
  height: auto;
  object-fit: contain;
  opacity: 0.88;
  transition: opacity 0.25s ease;
}

.client-logo:hover img {
  opacity: 1;
}

@media (max-width: 1100px) {
  .clients-grid {
    grid-template-columns: repeat(4, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .clients-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 768px) {
  .clients-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .client-logo {
    padding: 14px 16px;
    min-height: 60px;
  }

  .client-logo img {
    max-height: 32px;
  }
}

/* ---- TESTIMONIALS ---- */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.testimonial-card {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.testimonial-card::before {
  content: "“";
  position: absolute;
  top: -10px;
  inset-inline-end: 18px;
  font-size: 96px;
  line-height: 1;
  color: rgba(191, 143, 32, 0.12);
  font-family: "Playfair Display", serif;
}

.testimonial-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.12);
  border-color: rgba(191, 143, 32, 0.35);
}

.testimonial-stars {
  color: var(--gold);
  letter-spacing: 2px;
  font-size: 13px;
  margin-bottom: 14px;
}

.testimonial-quote {
  color: var(--text);
  font-size: 15px;
  line-height: 1.9;
  margin-bottom: 22px;
  flex: 1;
}

.testimonial-person {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: auto;
}

.testimonial-avatar {
  width: 46px;
  height: 46px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--navy), var(--navy-light));
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}

.testimonial-name {
  font-size: 14px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 3px;
}

.testimonial-role {
  font-size: 12px;
  color: var(--text-muted);
}

/* ---- WHY US STEPPER ---- */
.whyus-stepper {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(191, 143, 32, 0.08), transparent 60%),
    linear-gradient(180deg, var(--bg) 0%, var(--bg-alt) 100%);
}

[data-theme="dark"] .whyus-stepper {
  background:
    radial-gradient(ellipse 70% 45% at 15% 10%, rgba(191, 143, 32, 0.12), transparent 55%),
    radial-gradient(ellipse 60% 40% at 85% 80%, rgba(10, 53, 88, 0.5), transparent 60%),
    linear-gradient(180deg, var(--bg-dark) 0%, #071a2a 100%);
}

.whyus-stepper-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}

.whyus-stepper-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(60px);
  opacity: 0.35;
}

.whyus-stepper-orb--1 {
  width: 280px;
  height: 280px;
  top: 8%;
  inset-inline-start: -4%;
  background: rgba(191, 143, 32, 0.18);
}

.whyus-stepper-orb--2 {
  width: 220px;
  height: 220px;
  bottom: 12%;
  inset-inline-end: -2%;
  background: rgba(10, 53, 88, 0.45);
}

.whyus-stepper-grid {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(191, 143, 32, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(191, 143, 32, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse 70% 60% at 50% 40%, #000 20%, transparent 75%);
}

.whyus-stepper-header {
  position: relative;
  z-index: 1;
  margin-bottom: 64px;
}

.whyus-stepper-header .section-subtitle {
  margin-bottom: 0;
}

.whyus-stepper-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 18px;
  margin-bottom: 20px;
  border-radius: 999px;
  border: 1px solid rgba(191, 143, 32, 0.28);
  background: rgba(191, 143, 32, 0.08);
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.whyus-stepper-badge-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 12px rgba(191, 143, 32, 0.8);
  animation: whyus-pulse-dot 2.4s ease-in-out infinite;
}

@keyframes whyus-pulse-dot {
  0%,
  100% {
    transform: scale(1);
    opacity: 1;
  }

  50% {
    transform: scale(1.35);
    opacity: 0.65;
  }
}

.whyus-timeline {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.whyus-timeline-rail {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 50%;
  width: 2px;
  transform: translateX(-50%);
  z-index: 0;
}

.whyus-timeline-line {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    transparent 0%,
    rgba(191, 143, 32, 0.25) 8%,
    rgba(191, 143, 32, 0.45) 50%,
    rgba(191, 143, 32, 0.25) 92%,
    transparent 100%
  );
  border-radius: 2px;
}

.whyus-timeline-glow {
  position: absolute;
  inset: 0;
  width: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(
    180deg,
    transparent,
    rgba(191, 143, 32, 0.15),
    rgba(191, 143, 32, 0.25),
    rgba(191, 143, 32, 0.15),
    transparent
  );
  filter: blur(8px);
}

.whyus-step {
  position: relative;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 0 28px;
  padding: 28px 0;
  z-index: 1;
}

.whyus-step-node {
  position: relative;
  grid-column: 2;
  grid-row: 1;
  width: 52px;
  height: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 14px;
  background: linear-gradient(145deg, var(--navy-light), var(--navy));
  border: 2px solid rgba(191, 143, 32, 0.55);
  box-shadow:
    0 0 0 6px rgba(191, 143, 32, 0.08),
    0 0 24px rgba(191, 143, 32, 0.22);
  transform: rotate(45deg);
  transition: var(--transition);
}

.whyus-step:hover .whyus-step-node {
  border-color: var(--gold-light);
  box-shadow:
    0 0 0 8px rgba(191, 143, 32, 0.12),
    0 0 32px rgba(191, 143, 32, 0.35);
}

.whyus-step-node--hub {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  transform: none;
  background: linear-gradient(145deg, var(--gold), var(--gold-dark));
  border-color: rgba(255, 255, 255, 0.25);
}

.whyus-step-node--hub .whyus-step-num {
  color: #fff;
  font-size: 18px;
}

.whyus-step-num {
  transform: rotate(-45deg);
  font-size: 13px;
  font-weight: 800;
  color: var(--gold-light);
  letter-spacing: 0.5px;
  line-height: 1;
}

.whyus-step-node--hub .whyus-step-num {
  transform: none;
}

.whyus-step-pulse {
  position: absolute;
  inset: -10px;
  border-radius: inherit;
  border: 1px solid rgba(191, 143, 32, 0.35);
  animation: whyus-node-pulse 2.8s ease-out infinite;
  pointer-events: none;
}

.whyus-step-node--hub .whyus-step-pulse {
  border-radius: 50%;
}

@keyframes whyus-node-pulse {
  0% {
    transform: scale(0.85);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.35);
    opacity: 0;
  }
}

.whyus-step-card {
  position: relative;
  grid-row: 1;
  padding: 26px 28px;
  border-radius: 20px;
  background: rgba(255, 255, 255, 0.72);
  border: 1px solid rgba(191, 143, 32, 0.14);
  -webkit-backdrop-filter: blur(14px);
  backdrop-filter: blur(14px);
  box-shadow:
    0 16px 40px rgba(6, 34, 60, 0.06),
    inset 0 1px 0 rgba(255, 255, 255, 0.65);
  transition: var(--transition);
}

[data-theme="dark"] .whyus-step-card {
  background: rgba(12, 31, 46, 0.72);
  border-color: rgba(191, 143, 32, 0.18);
  box-shadow:
    0 20px 48px rgba(0, 0, 0, 0.28),
    inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.whyus-step-card::before {
  content: "";
  position: absolute;
  top: 50%;
  width: 28px;
  height: 2px;
  background: linear-gradient(90deg, rgba(191, 143, 32, 0.5), rgba(191, 143, 32, 0.1));
  transform: translateY(-50%);
}

.whyus-step--start .whyus-step-card {
  grid-column: 1;
  text-align: end;
}

.whyus-step--start .whyus-step-card::before {
  inset-inline-end: -28px;
}

.whyus-step--end .whyus-step-card {
  grid-column: 3;
  text-align: start;
}

.whyus-step--end .whyus-step-card::before {
  inset-inline-start: -28px;
  background: linear-gradient(270deg, rgba(191, 143, 32, 0.5), rgba(191, 143, 32, 0.1));
}

.whyus-step--hub {
  grid-template-columns: 1fr;
  justify-items: center;
  padding: 36px 0;
}

.whyus-step--hub .whyus-step-node {
  grid-column: 1;
  margin-bottom: 20px;
}

.whyus-step-card--hub {
  grid-column: 1;
  width: 100%;
  max-width: 720px;
  text-align: center;
  padding: 32px;
  background: linear-gradient(145deg, rgba(6, 34, 60, 0.92), rgba(10, 53, 88, 0.88));
  border-color: rgba(191, 143, 32, 0.3);
}

.whyus-step-card--hub::before {
  display: none;
}

.whyus-step:hover .whyus-step-card {
  border-color: rgba(191, 143, 32, 0.42);
  transform: translateY(-4px);
  box-shadow:
    0 24px 48px rgba(6, 34, 60, 0.1),
    0 0 0 1px rgba(191, 143, 32, 0.08);
}

[data-theme="dark"] .whyus-step:hover .whyus-step-card {
  box-shadow:
    0 28px 56px rgba(0, 0, 0, 0.35),
    0 0 0 1px rgba(191, 143, 32, 0.12);
}

.whyus-step-icon {
  width: 52px;
  height: 52px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
  border-radius: 50%;
  font-size: 22px;
  color: var(--gold);
  background: rgba(191, 143, 32, 0.1);
  border: 1px solid rgba(191, 143, 32, 0.25);
  box-shadow: 0 0 20px rgba(191, 143, 32, 0.12);
  transition: var(--transition);
}

.whyus-step--start .whyus-step-icon {
  margin-inline-start: auto;
}

.whyus-step:hover .whyus-step-icon {
  color: #fff;
  background: linear-gradient(145deg, var(--gold), var(--gold-light));
  box-shadow: 0 0 28px rgba(191, 143, 32, 0.35);
}

.whyus-step-title {
  font-size: 17px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 8px;
  font-family: "Tajawal", sans-serif;
}

.whyus-step-desc {
  font-size: 14px;
  color: var(--text-muted);
  line-height: 1.75;
  margin: 0;
}

.whyus-step-hub-label {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 20px;
}

.whyus-cert-badges {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.cert-badge {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 14px;
  padding: 16px 12px;
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: var(--transition);
}

.cert-badge:hover {
  border-color: rgba(191, 143, 32, 0.45);
  transform: translateY(-3px);
  background: rgba(191, 143, 32, 0.08);
}

.cert-badge-icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.cert-badge-title {
  font-size: 12px;
  font-weight: 700;
  color: var(--gold-light);
}

.cert-badge-desc {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 4px;
  line-height: 1.4;
}

/* ---- CONTACT ---- */
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
}

.contact-item {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 20px;
  border-radius: 14px;
  background: var(--card-bg);
  border: 1px solid var(--border);
  margin-bottom: 16px;
  transition: var(--transition);
}

.contact-item:hover {
  border-color: var(--gold);
}

.contact-item-icon {
  width: 68px;
  height: 68px;
  flex-shrink: 0;
  background: rgba(191, 143, 32, 0.1);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--gold);
  line-height: 1;
  transition: var(--transition);
}

.contact-item-icon i {
  line-height: 1;
}

.contact-item:hover .contact-item-icon {
  color: #fff;
  background: linear-gradient(145deg, var(--gold), var(--gold-light));
  box-shadow: 0 10px 24px rgba(191, 143, 32, 0.25);
}

[data-theme="dark"] .contact-item-icon {
  color: var(--gold-light);
  background: linear-gradient(145deg, rgba(191, 143, 32, 0.18), rgba(191, 143, 32, 0.06));
}

.contact-item-label {
  font-size: 12px;
  color: var(--gold);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 4px;
}

.contact-item-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--text);

  direction: ltr;
  unicode-bidi: embed;
  display: inline-block;
}

.contact-item-sub {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

.contact-form {
  background: var(--card-bg);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 40px;
}

.form-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  margin-bottom: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 13px;
  font-weight: 600;
  color: var(--text-muted);
}

.form-group input,
.form-group textarea,
.form-group select {
  background: linear-gradient(135deg, rgba(10, 53, 88, 0.55), rgba(6, 34, 60, 0.45));
  border: 1.5px solid rgba(191, 143, 32, 0.18);
  color: var(--text);
  padding: 13px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-family: inherit;
  transition: var(--transition);
  outline: none;
  resize: vertical;
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 2px 10px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .form-group input,
[data-theme="light"] .form-group textarea,
[data-theme="light"] .form-group select {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.85), rgba(232, 238, 244, 0.7));
  border-color: rgba(191, 143, 32, 0.22);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.9),
    0 2px 8px rgba(6, 34, 60, 0.06);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(143, 163, 181, 0.65);
}

[data-theme="light"] .form-group input::placeholder,
[data-theme="light"] .form-group textarea::placeholder {
  color: rgba(92, 107, 122, 0.55);
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: rgba(191, 143, 32, 0.6);
  background: linear-gradient(135deg, rgba(10, 53, 88, 0.7), rgba(6, 34, 60, 0.6));
  box-shadow:
    0 0 0 3px rgba(191, 143, 32, 0.12),
    inset 0 1px 0 rgba(255, 255, 255, 0.06),
    0 4px 16px rgba(0, 0, 0, 0.2);
}

[data-theme="light"] .form-group input:focus,
[data-theme="light"] .form-group textarea:focus,
[data-theme="light"] .form-group select:focus {
  background: rgba(255, 255, 255, 0.95);
  box-shadow:
    0 0 0 3px rgba(191, 143, 32, 0.12),
    0 4px 16px rgba(6, 34, 60, 0.08);
}

.form-group textarea {
  min-height: 120px;
}

.form-submit {
  width: 100%;
  margin-top: 8px;
  background: linear-gradient(135deg, var(--gold), var(--gold-light));
  color: white;
  border: none;
  padding: 14px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  cursor: pointer;
  font-family: inherit;
  transition: var(--transition);
  box-shadow: 0 6px 20px rgba(191, 143, 32, 0.3);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 30px rgba(191, 143, 32, 0.4);
}

/* ---- FOOTER ---- */
.footer {
  background: var(--navy-dark);
  color: rgba(255, 255, 255, 0.8);
  padding: 70px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 50px;
  margin-bottom: 50px;
}

.footer-brand {
  min-width: 0;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.55);
  margin-bottom: 24px;
}

.footer-social {
  display: flex;
  gap: 10px;
}

.vision-badge {
  position: relative;
  width: 140px;
  height: 140px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    rgba(191, 143, 32, 0.1) 0%,
    rgba(191, 143, 32, 0.05) 100%
  );
  border: 2px solid var(--gold);
  border-radius: 50%;
  box-shadow:
    0 0 40px rgba(191, 143, 32, 0.4),
    inset 0 0 25px rgba(191, 143, 32, 0.1);
  animation: vision-pulse 3s ease-in-out infinite;
  margin: 0 auto;
}
.vision-circle {
  position: absolute;
  width: 160px;
  height: 160px;
  border: 1px dashed rgba(191, 143, 32, 0.3);
  border-radius: 50%;
  animation: vision-rotate 20s linear infinite;
}

.vision-text {
  margin-top: 16px;
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.6;
}

@keyframes vision-pulse {
  0%,
  100% {
    box-shadow:
      0 0 40px rgba(191, 143, 32, 0.4),
      inset 0 0 25px rgba(191, 143, 32, 0.1);
  }
  50% {
    box-shadow:
      0 0 60px rgba(191, 143, 32, 0.6),
      inset 0 0 35px rgba(191, 143, 32, 0.2);
  }
}

@keyframes vision-rotate {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.social-btn {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.social-btn:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: white;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: white;
  margin-bottom: 18px;
}

.footer-links {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-size: 14px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--gold);
}

.footer-cert-list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.footer-cert-tag {
  background: rgba(191, 143, 32, 0.1);
  border: 1px solid rgba(191, 143, 32, 0.2);
  color: var(--gold);
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.35);
}

/* ---- BACK TO TOP ---- */
.back-top {
  position: fixed;
  bottom: 30px;
  z-index: 999;
  width: 46px;
  height: 46px;
  background: var(--gold);
  border: none;
  border-radius: 12px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  box-shadow: 0 6px 20px rgba(191, 143, 32, 0.4);
  transition: var(--transition);
  opacity: 0;
  pointer-events: none;
}

[dir="rtl"] .back-top {
  left: 30px;
}

[dir="ltr"] .back-top {
  right: 30px;
}

.back-top.visible {
  opacity: 1;
  pointer-events: all;
}

.back-top:hover {
  transform: translateY(-4px);
}

/* ---- WHATSAPP FLOAT ---- */
.whatsapp-float {
  position: fixed;
  bottom: 30px;
  z-index: 999;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #25d366;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  text-decoration: none;
  box-shadow:
    0 8px 24px rgba(37, 211, 102, 0.45),
    0 0 0 6px rgba(37, 211, 102, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

[dir="rtl"] .whatsapp-float {
  right: 30px;
}

[dir="ltr"] .whatsapp-float {
  left: 30px;
}

.whatsapp-float:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow:
    0 12px 28px rgba(37, 211, 102, 0.55),
    0 0 0 8px rgba(37, 211, 102, 0.16);
}

.whatsapp-float:focus-visible {
  outline: 2px solid #fff;
  outline-offset: 3px;
}

@media (max-width: 640px) {
  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 26px;
    bottom: 24px;
  }

  [dir="rtl"] .whatsapp-float {
    right: 20px;
  }

  [dir="ltr"] .whatsapp-float {
    left: 20px;
  }
}

/* ---- ANIMATIONS ---- */
.fade-up {
  opacity: 0;
  transform: translateY(30px);
  transition:
    opacity 0.7s ease,
    transform 0.7s ease;
}

.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

.fade-up:nth-child(2) {
  transition-delay: 0.1s;
}

.fade-up:nth-child(3) {
  transition-delay: 0.2s;
}

.fade-up:nth-child(4) {
  transition-delay: 0.3s;
}

.fade-up:nth-child(5) {
  transition-delay: 0.4s;
}

@keyframes fade-rise {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ---- DIVIDER ---- */
.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  margin-bottom: 32px;
}

.text-center .gold-divider {
  margin-left: auto;
  margin-right: auto;
}

/* ---- MOBILE NAV ---- */
.mobile-menu {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 999;
  background: var(--nav-bg);
  -webkit-backdrop-filter: blur(20px);
  backdrop-filter: blur(20px);
  padding: 90px 24px 40px;
  flex-direction: column;
  gap: 8px;
}

.mobile-menu.open {
  display: flex;
}

.mobile-menu a {
  text-decoration: none;
  color: var(--text);
  padding: 14px 16px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 600;
  border: 1px solid var(--border);
  text-align: center;
  transition: var(--transition);
}

.mobile-menu a:hover {
  background: rgba(191, 143, 32, 0.1);
  color: var(--gold);
  border-color: var(--gold);
}

.mobile-close {
  position: absolute;
  top: 20px;
  background: none;
  border: none;
  cursor: pointer;
  color: var(--text);
  font-size: 22px;
  padding: 10px;
}

[dir="rtl"] .mobile-close {
  right: 20px;
}

[dir="ltr"] .mobile-close {
  right: 20px;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1100px) {
  .stats-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stat-item:nth-child(3)::after {
    display: none;
  }
}

@media (max-height: 760px) and (min-width: 901px) {
  .hero-title {
    font-size: clamp(28px, 4vw, 48px);
  }

  .hero-subtitle {
    line-height: 1.6;
  }

  .hero-trust {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 900px) {
  .hero .container {
    padding-top: 72px;
    padding-bottom: 20px;
  }

  .hero-centered {
    max-width: 100%;
  }

  .hero-cta {
    justify-content: center;
  }

  .hero-trust {
    grid-template-columns: 1fr;
    max-width: 360px;
  }

  .hero-scroll {
    display: none;
  }

  .ceo-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .ceo-portrait {
    display: none;
  }

  .about-grid {
    grid-template-columns: 1fr;
  }

  .about-image-stack {
    display: none;
  }

  .mv-grid {
    grid-template-columns: 1fr;
  }

  .whyus-timeline-rail {
    left: auto;
    inset-inline-start: 24px;
    transform: none;
  }

  .whyus-step {
    grid-template-columns: auto 1fr;
    gap: 0 20px;
    padding: 20px 0;
    padding-inline-start: 8px;
  }

  .whyus-step-node {
    grid-column: 1;
    width: 44px;
    height: 44px;
    border-radius: 12px;
  }

  .whyus-step-num {
    font-size: 11px;
  }

  .whyus-step-card {
    grid-column: 2 !important;
    text-align: start !important;
    padding: 20px;
  }

  .whyus-step-card::before {
    display: none;
  }

  .whyus-step--start .whyus-step-icon,
  .whyus-step--end .whyus-step-icon {
    margin-inline-start: 0;
  }

  .whyus-step--hub {
    grid-template-columns: auto 1fr;
    align-items: start;
  }

  .whyus-step--hub .whyus-step-node {
    grid-column: 1;
    margin-bottom: 0;
  }

  .whyus-step-card--hub {
    grid-column: 2;
    max-width: none;
    padding: 24px 20px;
  }

  .whyus-cert-badges {
    grid-template-columns: repeat(2, 1fr);
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 30px;
  }

  .services-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .goals-showcase {
    overflow: visible;
    padding-bottom: 0;
  }

  .goals-grid {
    grid-template-columns: 1fr;
    min-width: 0;
    gap: 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .brand-logo-glow {
    inset: -6px -10px;
  }

  .brand-logo-img {
    height: 38px;
  }

  .brand-logo--footer .brand-logo-img {
    height: 42px;
  }

  .services-grid {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .nav-links {
    display: none;
  }

  .nav-mobile-btn {
    display: block;
  }

  .section {
    padding: 70px 0;
  }

  .whyus-stepper-header {
    margin-bottom: 48px;
  }

  .whyus-step--hub {
    grid-template-columns: 1fr;
    justify-items: center;
    padding-inline-start: 0;
  }

  .whyus-step--hub .whyus-step-node {
    margin-bottom: 16px;
  }

  .whyus-step-card--hub {
    grid-column: 1;
    width: 100%;
  }

  .whyus-cert-badges {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .goal-card {
    padding: 24px 20px;
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(6, 34, 60, 0.06);
  }

  [data-theme="dark"] .goal-card {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
  }

  .goal-desc {
    font-size: 14px;
    max-width: none;
  }

  .stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 10px;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .container {
    padding: 0 16px;
  }

  .goal-icon {
    width: 60px;
    height: 60px;
  }

  .goal-pin {
    width: 46px;
    height: 50px;
    padding-top: 9px;
  }

  .goal-pin span {
    font-size: 16px;
  }

  .stats-grid {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .stat-item::after {
    display: none;
  }

  .stat-item {
    padding: 24px 16px;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 12px;
  }

  .ceo-values {
    grid-template-columns: 1fr;
  }

  .chairman-card {
    transform: none;
  }

  .chairman-card:hover {
    transform: translateY(-6px);
  }

  .nav-actions .btn-primary {
    display: none;
  }

  .mv-card {
    padding: 32px 24px;
  }

  .contact-form {
    padding: 28px 20px;
  }

  .projects-filter {
    gap: 8px;
  }

  .filter-btn {
    padding: 8px 14px;
    font-size: 12px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  .hero-shape {
    animation: none !important;
    transition: none !important;
  }

  .fade-up {
    opacity: 1 !important;
    transform: none !important;
  }
}

/* -- New animated & interactive styles -- */
@media (pointer: fine) {
  /* hide native cursor on non-touch devices */
  html,
  body {
    cursor: none;
  }
}

/* Custom cursor */
.cursor {
  position: fixed;
  left: 0;
  top: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%) scale(1);
  transition:
    width 160ms ease,
    height 160ms ease,
    background 160ms ease,
    opacity 220ms ease;
  z-index: 2200;
  display: flex;
  align-items: center;
  justify-content: center;
  mix-blend-mode: normal;
  will-change: transform;
  background: radial-gradient(
    circle at 30% 30%,
    rgba(191, 143, 32, 0.95),
    rgba(191, 143, 32, 0.65) 40%,
    transparent 60%
  );
  box-shadow: 0 6px 18px rgba(191, 143, 32, 0.18);
  opacity: 0.95;
}

.cursor-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: white;
  opacity: 0.95;
  transform: translateZ(0);
}

.cursor.hover {
  transform: translate(-50%, -50%) scale(1.9);
  background: radial-gradient(
    circle at 30% 30%,
    rgba(255, 255, 255, 0.98),
    rgba(191, 143, 32, 0.85)
  );
}

.cursor.hidden {
  opacity: 0;
  pointer-events: none;
}

/* Hero shapes enhanced float + parallax responsiveness */
.hero-shape {
  transition:
    transform 0.6s cubic-bezier(0.2, 0.9, 0.2, 1),
    opacity 0.6s;
  will-change: transform;
}

/* Add tilt-friendly settings */
.project-card,
.goal-card {
  transform-style: preserve-3d;
  perspective: 1000px;
  transition:
    transform 320ms cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 320ms ease;
  will-change: transform;
}

.project-card:hover {
  box-shadow: 0 30px 60px rgba(6, 34, 60, 0.12);
  transform: translateY(-8px) rotateX(0) rotateY(0);
}

.goal-card:hover {
  box-shadow: none;
  transform: translateY(-4px);
}

/* Interactive link hover strength */
a,
button {
  transition:
    transform 180ms ease,
    box-shadow 200ms ease,
    opacity 180ms ease;
}

a:hover:not(.brand-logo),
button:hover {
  transform: translateY(-3px);
}

/* Project thumb subtle zoom */
.project-thumb {
  position: relative;
  overflow: hidden;
  height: 260px;
  border-radius: 20px 20px 0 0;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.project-card:hover .project-image {
  transform: scale(1.08);
}

.project-thumb-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 16px;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.15));
}

.project-card {
  cursor: pointer;
}

.project-thumb {
  position: relative;
  overflow: hidden;
  height: 280px;
}

.project-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.5s;
}

.project-card:hover .project-image {
  transform: scale(1.08);
}

.gallery-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.95);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 999999;
  backdrop-filter: blur(4px);
  padding: 20px;
  overflow: hidden;
  cursor: auto;
}

.gallery-modal.active {
  opacity: 1;
  visibility: visible;
}

.gallery-close {
  position: fixed;
  top: 25px;
  right: 35px;
  width: 50px;
  height: 50px;
  border: none;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  z-index: 1000001;
}

.gallery-close:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: scale(1.1);
}

.gallery-modal-content {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
  width: 100%;
  max-width: 1600px;
  background: linear-gradient(
    135deg,
    rgba(6, 34, 60, 0.95) 0%,
    rgba(10, 53, 88, 0.95) 100%
  );
  border-radius: 20px;
  padding: 40px;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
  border: 1px solid rgba(191, 143, 32, 0.2);
  max-height: calc(100vh - 40px);
  overflow-y: auto;
  animation: slideIn 0.4s ease-out;
}

@keyframes slideIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

/* LEFT COLUMN - GALLERY */
.gallery-left {
  display: flex;
  flex-direction: column;
  gap: 16px;
  height: 80vh;
  width: 60vw;
}

.gallery-main-wrapper {
  position: relative;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(191, 143, 32, 0.15);
  flex: 1;
  min-height: 500px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-main-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  padding: 10px;
  border-radius: 16px;
}

.gallery-counter {
  position: absolute;
  bottom: 20px;
  left: 20px;
  background: rgba(191, 143, 32, 0.15);
  color: var(--gold);
  padding: 8px 16px;
  border-radius: 25px;
  font-size: 14px;
  font-weight: 600;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(191, 143, 32, 0.25);
}

.gallery-thumbnails {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.05);
  padding: 12px;
  border-radius: 12px;
  border: 1px solid rgba(191, 143, 32, 0.1);
  overflow: hidden;
  height: 94px;
  flex-shrink: 0;
}

.thumbnails-container {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  flex: 1;
  scroll-behavior: smooth;
  padding: 0 8px;
}

.thumbnails-container::-webkit-scrollbar {
  height: 4px;
}

.thumbnails-container::-webkit-scrollbar-track {
  background: rgba(191, 143, 32, 0.1);
  border-radius: 10px;
}

.thumbnails-container::-webkit-scrollbar-thumb {
  background: rgba(191, 143, 32, 0.3);
  border-radius: 10px;
}

.gallery-thumbnail {
  width: 70px;
  height: 70px;
  min-width: 70px;
  border: 2px solid rgba(191, 143, 32, 0.2);
  border-radius: 8px;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.05);
}

.gallery-thumbnail img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.gallery-thumbnail:hover,
.gallery-thumbnail.active {
  border-color: var(--gold);
  box-shadow: 0 0 15px rgba(191, 143, 32, 0.4);
  transform: scale(1.05);
}

.gallery-prev-thumbs,
.gallery-next-thumbs {
  width: 36px;
  height: 36px;
  border: none;
  background: rgba(191, 143, 32, 0.15);
  color: var(--gold);
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  flex-shrink: 0;
}

.gallery-prev-thumbs:hover,
.gallery-next-thumbs:hover {
  background: rgba(191, 143, 32, 0.3);
  transform: scale(1.1);
}

/* RIGHT COLUMN - DETAILS */
.gallery-right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 10px;
}

.gallery-right::-webkit-scrollbar {
  width: 6px;
}

.gallery-right::-webkit-scrollbar-track {
  background: rgba(191, 143, 32, 0.1);
  border-radius: 10px;
}

.gallery-right::-webkit-scrollbar-thumb {
  background: rgba(191, 143, 32, 0.3);
  border-radius: 10px;
}

.project-details {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.project-category {
  display: inline-flex;
  width: fit-content;
  padding: 8px 16px;
  background: rgba(191, 143, 32, 0.2);
  color: var(--gold);
  border-radius: 20px;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  border: 1px solid rgba(191, 143, 32, 0.4);
}

.project-detail-title {
  font-size: 28px;
  font-weight: 700;
  color: white;
  line-height: 1.3;
  margin: 0;
}

.project-meta {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.7);
  flex-wrap: wrap;
}

.meta-item {
  display: flex;
  align-items: center;
}

.meta-separator {
  color: rgba(191, 143, 32, 0.4);
}

.project-specs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
  padding: 16px;
  background: rgba(191, 143, 32, 0.08);
  border-radius: 12px;
  border: 1px solid rgba(191, 143, 32, 0.15);
}

.spec-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.spec-label {
  font-size: 11px;
  color: rgba(191, 143, 32, 0.8);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.spec-value {
  font-size: 16px;
  font-weight: 700;
  color: var(--gold);
}

.project-description {
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255, 255, 255, 0.8);
  margin: 0;
  padding: 0;
}

.project-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-action {
  padding: 12px 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  white-space: nowrap;
}

.btn-primary-action {
  background: var(--gold);
  color: var(--navy);
}

.btn-primary-action:hover {
  background: var(--gold-light);
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(191, 143, 32, 0.3);
}

.btn-secondary-action {
  background: rgba(191, 143, 32, 0.2);
  color: var(--gold);
  border: 1px solid var(--gold);
}

.btn-secondary-action:hover {
  background: rgba(191, 143, 32, 0.3);
  transform: translateY(-2px);
}

.project-gallery-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid rgba(191, 143, 32, 0.15);
  margin-top: auto;
}

.gallery-prev,
.gallery-next {
  width: 40px;
  height: 40px;
  border: 1px solid rgba(191, 143, 32, 0.3);
  background: rgba(191, 143, 32, 0.1);
  color: var(--gold);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  font-size: 16px;
  flex-shrink: 0;
}

.gallery-prev:hover,
.gallery-next:hover {
  background: rgba(191, 143, 32, 0.25);
  border-color: var(--gold);
  transform: scale(1.1);
}

.gallery-nav-label {
  color: rgba(255, 255, 255, 0.6);
  font-size: 13px;
  font-weight: 500;
}

/* Responsive */
@media (max-width: 1200px) {
  .gallery-modal-content {
    grid-template-columns: 1fr;
    gap: 25px;
    padding: 25px;
  }

  .gallery-main-wrapper {
    min-height: 400px;
  }

  .gallery-right {
    max-height: auto;
  }

  .project-detail-title {
    font-size: 24px;
  }

  .project-specs {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .gallery-modal-content {
    padding: 20px;
    border-radius: 16px;
    gap: 15px;
  }

  .gallery-close {
    top: 15px;
    right: 15px;
  }

  .gallery-main-wrapper {
    min-height: 300px;
  }

  .gallery-thumbnails {
    height: auto;
    gap: 8px;
    padding: 8px;
  }

  .gallery-thumbnail {
    width: 60px;
    height: 60px;
  }

  .project-detail-title {
    font-size: 20px;
  }

  .project-specs {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 12px;
  }

  .project-actions {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .btn-action {
    padding: 10px 12px;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .gallery-prev {
    left: 10px;
  }

  .gallery-next {
    right: 10px;
  }

  .gallery-arrow {
    width: 45px;
    height: 45px;
  }
}
.project-thumb {
  transition: transform 420ms cubic-bezier(0.2, 0.9, 0.2, 1);
  will-change: transform;
}

.project-card:hover .project-thumb {
  transform: scale(1.06) translateZ(0);
}

/* Project thumb subtle zoom */
.btn-primary,
.btn-hero-primary {
  transition:
    transform 220ms cubic-bezier(0.2, 0.9, 0.2, 1),
    box-shadow 220ms ease;
}

.btn-primary:active,
.btn-hero-primary:active {
  transform: translateY(0);
  box-shadow: 0 6px 18px rgba(191, 143, 32, 0.2);
}

/* subtle text glow for hero title */
.hero-title {
  text-shadow: 0 6px 30px rgba(10, 20, 40, 0.25);
}

/* ensure custom cursor doesn't show on small screens */
@media (max-width: 768px) {
  .cursor {
    display: none !important;
  }

  html,
  body {
    cursor: auto;
  }
}
