/* ═══════════════════════════════════════════════════════════
   Super Crete — Main Stylesheet
   Brand: White #FFFFFF · Gold #EEC007 · Teal #034A5A · Teal2 #105260 · BrightYellow #FECD0C
   Fonts: Montserrat (EN) · Cairo (AR)
═══════════════════════════════════════════════════════════ */

/* ─── Custom Properties ─── */
:root {
  --white: #ffffff;
  --gold: #eec007;
  --gold-bright: #fecd0c;
  --teal: #034a5a;
  --teal2: #105260;
  --teal-light: #1a6b7c;
  --grey-light: #f4f6f7;
  --grey-mid: #e2e8ec;
  --text-dark: #1a2e38;
  --text-muted: #6b8a96;

  --font-en: "Montserrat", sans-serif;
  --font-ar: "Cairo", sans-serif;
  --font: var(--font-en);

  --nav-h: 72px;
  --section-pad: 80px;
  --container-max: 1200px;
  --radius: 8px;
  --radius-lg: 16px;
  --shadow: 0 4px 24px rgba(3, 74, 90, 0.12);
  --shadow-lg: 0 8px 40px rgba(3, 74, 90, 0.18);

  --transition: 0.3s ease;
  --transition-slow: 0.6s ease;
}

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

/* ─── Reset ─── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}
html {
  scroll-behavior: smooth;
  font-size: 16px;
}
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  overflow-x: hidden;
}
img {
  max-width: 100%;
  height: auto;
  display: block;
}
a {
  color: inherit;
  text-decoration: none;
}
ul,
ol {
  list-style: none;
}
button {
  cursor: pointer;
  border: none;
  background: none;
  font-family: inherit;
}
input,
textarea,
select {
  font-family: inherit;
}
svg {
  display: block;
}

/* ─── Skip Link ─── */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 9999;
  background: var(--gold);
  color: var(--teal);
  padding: 0.5rem 1rem;
  font-weight: 700;
  font-size: 0.9rem;
  transition: top var(--transition);
}
.skip-link:focus {
  top: 0;
}

/* ─── Container ─── */
.container {
  width: 100%;
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 1.5rem;
}

/* ─── Sections ─── */
.section {
  padding: var(--section-pad) 0;
  position: relative;
  overflow: hidden;
}
.section--light {
  background: var(--white);
}
.section--dark {
  background: var(--teal);
  color: var(--white);
}
.section--grey {
  background: var(--grey-light);
}

/* ─── Section Header ─── */
.section-header {
  text-align: center;
  margin-bottom: 3rem;
}
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--teal);
  margin-bottom: 0.6rem;
}
.section-label--gold {
  color: var(--gold);
}
.section-title {
  font-size: clamp(1.6rem, 3vw, 2.4rem);
  font-weight: 800;
  line-height: 1.2;
  margin-bottom: 1rem;
}
.section-divider {
  width: 48px;
  height: 4px;
  border-radius: 2px;
  background: var(--teal);
  margin: 0 auto;
}
.section-divider--gold {
  background: var(--gold);
}
.section--dark .section-divider {
  background: var(--gold);
}
.section-intro {
  font-size: 1.05rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 1rem auto 0;
}
.section--dark .section-intro {
  color: rgba(255, 255, 255, 0.7);
}

/* ─── Buttons ─── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  border-radius: var(--radius);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  transition: all var(--transition);
  white-space: nowrap;
}
.btn-primary {
  background: var(--gold);
  color: var(--teal);
}
.btn-primary:hover {
  background: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(238, 192, 7, 0.4);
}
.btn-outline {
  background: transparent;
  color: var(--white);
  border: 2px solid rgba(255, 255, 255, 0.6);
}
.btn-outline:hover {
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px);
}

/* ─── Animations ─── */
@media (prefers-reduced-motion: no-preference) {
  .animate-on-scroll {
    opacity: 0;
    transition:
      opacity 0.7s ease,
      transform 0.7s ease;
  }
  .animate-on-scroll.fade-up {
    transform: translateY(40px);
  }
  .animate-on-scroll.fade-down {
    transform: translateY(-30px);
  }
  .animate-on-scroll.fade-right {
    transform: translateX(-40px);
  }
  .animate-on-scroll.fade-left {
    transform: translateX(40px);
  }
  .animate-on-scroll.scale-in {
    transform: scale(0.92);
  }

  .animate-on-scroll.is-visible {
    opacity: 1;
    transform: none;
  }
  .animate-on-scroll.delay-1 {
    transition-delay: 0.15s;
  }
  .animate-on-scroll.delay-2 {
    transition-delay: 0.3s;
  }
  .animate-on-scroll.delay-3 {
    transition-delay: 0.45s;
  }
}

/* RTL flip for directional animations */
[dir="rtl"] .animate-on-scroll.fade-right {
  transform: translateX(40px);
}
[dir="rtl"] .animate-on-scroll.fade-left {
  transform: translateX(-40px);
}

/* Tablet & mobile: convert horizontal slides to vertical to prevent overflow */
@media (max-width: 1024px) {
  .animate-on-scroll.fade-right,
  .animate-on-scroll.fade-left,
  [dir="rtl"] .animate-on-scroll.fade-right,
  [dir="rtl"] .animate-on-scroll.fade-left {
    transform: translateY(30px);
  }
}

/* ═══════════════════════════════════════════════
   NAVIGATION
═══════════════════════════════════════════════ */
#navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  height: var(--nav-h);
  background: transparent;
  transition:
    background var(--transition),
    box-shadow var(--transition);
}
#navbar.scrolled {
  background: var(--teal);
  box-shadow: 0 2px 20px rgba(0, 0, 0, 0.25);
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 100%;
  padding: 0 1.5rem;
  max-width: var(--container-max);
  margin: 0 auto;
  gap: 1rem;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-shrink: 0;
}
.logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-super {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.logo-crete {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
}

.nav-links {
  display: flex;
  gap: 0.25rem;
  align-items: center;
  list-style: none;
}
.nav-links a {
  display: block;
  padding: 0.5rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  border-radius: var(--radius);
  transition:
    color var(--transition),
    background var(--transition);
  position: relative;
}
.nav-links a::after {
  content: "";
  position: absolute;
  bottom: 4px;
  left: 0.8rem;
  right: 0.8rem;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left center;
}
[dir="rtl"] .nav-links a::after {
  transform-origin: right center;
}
.nav-links a:hover {
  color: var(--white);
}
.nav-links a:hover::after,
.nav-links a.active::after {
  transform: scaleX(1);
}
.nav-links a.active {
  color: var(--white);
}

.lang-toggle {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.75);
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  transition: all var(--transition);
}
.lang-toggle:hover {
  border-color: var(--gold);
  color: var(--gold);
}
.lang-toggle .lang-sep {
  color: rgba(255, 255, 255, 0.3);
}
.lang-en.active-lang,
.lang-ar.active-lang {
  color: var(--gold);
  font-weight: 800;
}
.lang-toggle--footer {
  margin-top: 1rem;
}

/* Mobile hamburger */
.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 0.4rem;
  border-radius: var(--radius);
}
.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: all var(--transition);
}
.nav-toggle.is-open span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}
.nav-toggle.is-open span:nth-child(2) {
  opacity: 0;
}
.nav-toggle.is-open span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* ═══════════════════════════════════════════════
   HERO
═══════════════════════════════════════════════ */
.hero-section {
  position: relative;
  min-height: 100svh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(
    135deg,
    var(--teal) 0%,
    var(--teal2) 50%,
    #0a4050 100%
  );
  overflow: hidden;
  padding: calc(var(--nav-h) + 2rem) 1.5rem 4rem;
}

/* Animated background gradient */
.hero-section::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    radial-gradient(
      ellipse at 20% 50%,
      rgba(238, 192, 7, 0.08) 0%,
      transparent 60%
    ),
    radial-gradient(
      ellipse at 80% 20%,
      rgba(255, 255, 255, 0.04) 0%,
      transparent 50%
    );
  animation: hero-pulse 8s ease-in-out infinite alternate;
}
@keyframes hero-pulse {
  0% {
    opacity: 0.6;
    transform: scale(1);
  }
  100% {
    opacity: 1;
    transform: scale(1.05);
  }
}

/* Floating particles */
.hero-bg-layer {
  position: absolute;
  inset: 0;
  pointer-events: none;
}
.hero-particle {
  position: absolute;
  border-radius: 50%;
  background: rgba(238, 192, 7, 0.08);
  animation: float 12s ease-in-out infinite;
}
.p1 {
  width: 200px;
  height: 200px;
  top: 10%;
  left: 5%;
  animation-delay: 0s;
  animation-duration: 14s;
}
.p2 {
  width: 120px;
  height: 120px;
  top: 60%;
  left: 80%;
  animation-delay: 2s;
  animation-duration: 11s;
}
.p3 {
  width: 80px;
  height: 80px;
  top: 30%;
  left: 70%;
  animation-delay: 4s;
  animation-duration: 9s;
}
.p4 {
  width: 160px;
  height: 160px;
  top: 75%;
  left: 15%;
  animation-delay: 1s;
  animation-duration: 16s;
}
.p5 {
  width: 60px;
  height: 60px;
  top: 20%;
  left: 45%;
  animation-delay: 3s;
  animation-duration: 13s;
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-20px) rotate(5deg);
  }
  66% {
    transform: translateY(10px) rotate(-3deg);
  }
}

/* Rebar diagonal lines */
.hero-rebar {
  position: absolute;
  background: rgba(255, 255, 255, 0.04);
  width: 2px;
  height: 200px;
  animation: rebar-slide 20s linear infinite;
}
.r1 {
  left: 25%;
  top: -10%;
  transform: rotate(20deg);
  animation-delay: 0s;
}
.r2 {
  left: 55%;
  top: -10%;
  transform: rotate(20deg);
  animation-delay: 7s;
}
.r3 {
  left: 80%;
  top: -10%;
  transform: rotate(20deg);
  animation-delay: 14s;
}
@keyframes rebar-slide {
  0% {
    top: -20%;
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  90% {
    opacity: 1;
  }
  100% {
    top: 110%;
    opacity: 0;
  }
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
  color: var(--white);
  max-width: 800px;
  width: 100%;
}
.hero-logo-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 2rem;
}
.hero-logo-mark {
  width: 70px;
  height: 70px;
  flex-shrink: 0;
}
.hero-logo-text {
  display: flex;
  flex-direction: column;
  text-align: start;
}
.hero-super {
  font-size: 1.8rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.05em;
  line-height: 1;
}
.hero-crete {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.1em;
  line-height: 1;
}
.hero-subline {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

.hero-headline {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 900;
  line-height: 1.15;
  margin-bottom: 1.25rem;
}
.hero-subtext {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.8);
  max-width: 580px;
  margin: 0 auto 2rem;
  line-height: 1.7;
}
.hero-ctas {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 3rem;
}

/* Stats bar */
.hero-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  flex-wrap: wrap;
  background: rgba(255, 255, 255, 0.08);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(8px);
  padding: 1.25rem 2rem;
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.stat-item {
  text-align: center;
  padding: 0.5rem 1.5rem;
}
.stat-number {
  display: block;
  font-size: 2rem;
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
  font-variant-numeric: tabular-nums;
}
.stat-label {
  font-size: 0.72rem;
  color: rgba(255, 255, 255, 0.65);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}
.stat-divider {
  width: 1px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

/* Scroll indicator */
.scroll-indicator {
  position: absolute;
  bottom: 1rem;
  left: 50%;
  transform: translateX(-50%);
}
.scroll-dot {
  width: 24px;
  height: 40px;
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 12px;
  position: relative;
}
.scroll-dot::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 50%;
  width: 4px;
  height: 8px;
  background: var(--gold);
  border-radius: 2px;
  transform: translateX(-50%);
  animation: scroll-down 2s ease-in-out infinite;
}
@keyframes scroll-down {
  0% {
    opacity: 1;
    top: 6px;
  }
  80% {
    opacity: 0;
    top: 22px;
  }
  100% {
    opacity: 0;
    top: 6px;
  }
}

/* ═══════════════════════════════════════════════
   ABOUT
═══════════════════════════════════════════════ */
.about-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}
.about-content .section-title {
  text-align: start;
}
.about-content .section-divider {
  margin: 0.8rem 0 1.2rem;
}
.about-content p {
  margin-bottom: 1rem;
  color: var(--text-dark);
  line-height: 1.75;
}

.about-highlights {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
  margin-top: 1.5rem;
}
.highlight-item {
  display: flex;
  gap: 0.8rem;
  align-items: flex-start;
  padding: 0.8rem 1rem;
  background: var(--grey-light);
  border-radius: var(--radius);
  border-inline-start: 3px solid var(--gold);
}
.highlight-item svg {
  width: 20px;
  height: 20px;
  color: var(--teal);
  flex-shrink: 0;
  margin-top: 0.1rem;
}
.highlight-item strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.1rem;
}
.highlight-item span {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.about-image-frame {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: visible;
}
.about-image-placeholder {
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal2) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  min-height: 640px;
  color: rgba(255, 255, 255, 0.5);
}
video.about-image-placeholder {
  padding: 0;
  object-fit: cover;
  width: 100%;
  display: block;
  max-height: 650px;
}
.about-image-placeholder svg {
  width: 80px;
  height: 80px;
}
.about-image-placeholder span {
  font-size: 0.85rem;
  letter-spacing: 0.05em;
}
.about-badge {
  position: absolute;
  bottom: -1.5rem;
  right: -1.5rem;
  background: var(--gold);
  color: var(--teal);
  padding: 1rem 1.25rem;
  border-radius: var(--radius);
  text-align: center;
  box-shadow: var(--shadow);
}
.badge-num {
  display: block;
  font-size: 1.8rem;
  font-weight: 900;
  line-height: 1;
}
.badge-lbl {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
}

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

/* ═══════════════════════════════════════════════
   VISION / MISSION / VALUES / OBJECTIVES
═══════════════════════════════════════════════ */
/* Vision grid */
.vision-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: start;
  margin-bottom: 4rem;
}
.vision-content .section-title {
  text-align: start;
}
.vision-content .section-divider {
  margin: 0.8rem 0 1.2rem;
}
.vision-lead {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}
.vision-quote {
  border-inline-start: 3px solid var(--gold);
  padding-inline-start: 1.25rem;
  margin-top: 1.5rem;
}
.vision-quote p {
  font-style: italic;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 0.5rem;
  line-height: 1.7;
}
.vision-quote cite {
  font-size: 0.85rem;
  color: var(--gold);
  font-style: normal;
  font-weight: 600;
}

.vision-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
}
.vision-img-placeholder {
  padding: 3rem;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 260px;
  color: rgba(255, 255, 255, 0.3);
}
.vision-img-placeholder svg {
  width: 80px;
  height: 80px;
}
.vision-card-label {
  background: var(--gold);
  color: var(--teal);
  text-align: center;
  padding: 0.75rem 1rem;
  font-weight: 800;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

/* Mission block */
.mission-block {
  background: rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  margin-bottom: 4rem;
}
.mission-block .section-title {
  text-align: start;
  margin-bottom: 1.5rem;
}
.mission-text-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.mission-text-grid p {
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
}

/* Values */
.values-block {
  margin-bottom: 4rem;
}
.values-block .section-label,
.values-block .section-title {
  text-align: center;
}
.values-block .section-title {
  margin-bottom: 2.5rem;
}
.values-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.value-card {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
  text-align: center;
  transition:
    transform var(--transition),
    background var(--transition);
}
.value-card:hover {
  transform: translateY(-6px);
  background: rgba(255, 255, 255, 0.1);
}
.value-icon-wrap {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  background: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem;
}
.value-icon-wrap svg {
  width: 32px;
  height: 32px;
}
.value-card h3 {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.value-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.65;
}

/* Objectives */
.objectives-block {
  margin-top: 0;
}
.objectives-block .section-label,
.objectives-block .section-title {
  text-align: center;
}
.objectives-block .section-title {
  margin-bottom: 2.5rem;
}
.objectives-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-top: 2rem;
}
.objective-tile {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 1.5rem;
  transition:
    background var(--transition),
    transform var(--transition);
  cursor: default;
}
.objective-tile:hover {
  background: rgba(238, 192, 7, 0.12);
  border-color: rgba(238, 192, 7, 0.3);
  transform: translateY(-4px);
}
.obj-icon {
  width: 48px;
  height: 48px;
  border-radius: var(--radius);
  background: rgba(238, 192, 7, 0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
}
.obj-icon svg {
  width: 24px;
  height: 24px;
}
.objective-tile h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.objective-tile p {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.55;
}

/* ═══════════════════════════════════════════════
   SERVICES
═══════════════════════════════════════════════ */
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.service-card {
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  position: relative;
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}
.service-card::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gold);
  transform: scaleX(0);
  transition: transform var(--transition);
  transform-origin: left;
}
[dir="rtl"] .service-card::after {
  transform-origin: right;
}
.service-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.service-card:hover::after {
  transform: scaleX(1);
}

.service-num {
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(3, 74, 90, 0.1);
  line-height: 1;
  margin-bottom: 0.5rem;
  transition: color var(--transition);
}
.service-card:hover .service-num {
  color: rgba(238, 192, 7, 0.2);
}
.service-icon-wrap {
  width: 52px;
  height: 52px;
  border-radius: var(--radius);
  background: rgba(3, 74, 90, 0.08);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  transition: background var(--transition);
}
.service-card:hover .service-icon-wrap {
  background: rgba(238, 192, 7, 0.15);
  color: var(--teal);
}
.service-icon-wrap svg {
  width: 26px;
  height: 26px;
}
.service-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.6rem;
}
.service-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* ═══════════════════════════════════════════════
   CAPABILITIES + SECTORS
═══════════════════════════════════════════════ */
.capabilities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-bottom: 5rem;
}
.cap-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}
.cap-stat {
  margin-bottom: 1rem;
}
.cap-num {
  font-size: clamp(2.2rem, 6vw, 4rem);
  font-weight: 900;
  color: var(--gold);
  line-height: 1;
}
.cap-unit {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.65);
  font-weight: 600;
}
.cap-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--white);
  margin: 1rem 0 0.5rem;
}
.cap-card p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.65;
}

.cap-block-types {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-bottom: 1rem;
}
.block-type-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
}
.block-icon {
  width: 52px;
  height: 32px;
}
.block-type-tag {
  background: var(--gold);
  color: var(--teal);
  padding: 0.4rem 1rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 700;
}

/* Sectors */
.sectors-block .section-label,
.sectors-block .section-title {
  text-align: center;
}
.sectors-block .section-title {
  margin-bottom: 2.5rem;
}
.sectors-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  margin-top: 2rem;
}
.sector-panel {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.sector-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}
.sector-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius);
  background: rgba(238, 192, 7, 0.15);
  color: var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}
.sector-icon svg {
  width: 22px;
  height: 22px;
}
.sector-header h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--gold);
}
.sector-panel > p {
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 1.25rem;
  line-height: 1.65;
}
.sector-sub-cols {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.55rem;
  margin-top: 1rem;
}
.sector-sub-col {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: var(--radius);
  padding: 0.7rem 0.65rem;
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}
.sector-sub-icon {
  width: 20px;
  height: 20px;
  color: var(--gold);
  flex-shrink: 0;
}
.sector-sub-col strong {
  font-size: 0.75rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.3;
}
.sector-sub-col p {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.6);
  line-height: 1.4;
  margin: 0;
}

/* ═══════════════════════════════════════════════
   COMPETITIVE EDGE
═══════════════════════════════════════════════ */
.edge-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 3rem;
}
.edge-card {
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 2rem;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}
.edge-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--gold);
}
.edge-icon-wrap {
  width: 56px;
  height: 56px;
  border-radius: var(--radius);
  background: rgba(3, 74, 90, 0.08);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
}
.edge-icon-wrap svg {
  width: 30px;
  height: 30px;
}
.edge-card h3 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.6rem;
}
.edge-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

.success-placeholder {
  margin-top: 2rem;
  text-align: center;
  background: linear-gradient(135deg, var(--teal) 0%, var(--teal2) 100%);
  border-radius: var(--radius-lg);
  overflow: hidden;
}
.success-inner {
  padding: 3rem 2rem;
}
.success-placeholder h3 {
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--gold);
  margin-bottom: 0.75rem;
}
.success-placeholder p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.5rem;
  max-width: 500px;
  margin-left: auto;
  margin-right: auto;
}

/* ═══════════════════════════════════════════════
   QUALITY
═══════════════════════════════════════════════ */
.quality-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.quality-overview .section-label {
  margin-bottom: 0.5rem;
}
.quality-overview > p {
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.75;
  margin-bottom: 1.5rem;
}

.qa-principles {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-bottom: 2rem;
}
.qa-principles li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.8);
}
.check-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.05rem;
}

.qa-badges {
  display: flex;
  gap: 1.5rem;
  flex-wrap: wrap;
}
.qa-badge {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.7);
  text-align: center;
}
.qa-badge svg {
  width: 28px;
  height: 28px;
}

/* QC Steps */
.qc-process .section-label {
  margin-bottom: 1.5rem;
}
.qc-steps {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.qc-step {
  display: flex;
  gap: 1.25rem;
  align-items: flex-start;
  padding-bottom: 1.5rem;
  position: relative;
}
.qc-step:not(:last-child)::before {
  content: "";
  position: absolute;
  left: 19px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: rgba(238, 192, 7, 0.25);
}
[dir="rtl"] .qc-step::before {
  left: auto;
  right: 19px;
}
.step-num {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 0.9rem;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.step-body h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.4rem;
}
.step-body p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.6;
}

/* ═══════════════════════════════════════════════
   TEAM
═══════════════════════════════════════════════ */
.team-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.team-card {
  border: 1px solid var(--grey-mid);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  text-align: center;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}
.team-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow);
  border-color: var(--teal);
}
.team-icon {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: rgba(3, 74, 90, 0.08);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.team-icon svg {
  width: 30px;
  height: 30px;
}
.team-card h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.team-card p {
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.6;
}

.leadership-bar {
  text-align: center;
  padding: 1.25rem 2rem;
  background: var(--grey-light);
  border-radius: var(--radius);
  border-inline-start: 4px solid var(--teal);
}
.leadership-title {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--teal);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-inline-end: 0.5rem;
}
.leadership-roles {
  font-size: 0.88rem;
  color: var(--text-muted);
}

/* ═══════════════════════════════════════════════
   HISTORY TIMELINE
═══════════════════════════════════════════════ */
.timeline {
  position: relative;
  padding-inline-start: 0;
  display: flex;
  flex-direction: column;
  gap: 0;
}
.timeline::before {
  content: "";
  position: absolute;
  left: calc(50% - 1px);
  top: 0;
  bottom: 0;
  width: 2px;
  background: var(--grey-mid);
  z-index: -1;
}
[dir="rtl"] .timeline::before {
  left: auto;
  right: calc(50% - 1px);
}

.timeline-item {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 2rem;
  align-items: flex-start;
  margin-bottom: 2.5rem;
}
.timeline-item--right {
  direction: rtl;
}
[dir="rtl"] .timeline-item--right {
  direction: ltr;
}

.tl-marker {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--teal);
  border: 4px solid var(--grey-mid);
  flex-shrink: 0;
  position: relative;
  z-index: 1;
}
.tl-year {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--gold);
}

.tl-content {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  border-inline-start: 4px solid var(--gold);
}
.tl-content h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--teal);
  margin-bottom: 0.5rem;
}
.tl-content p {
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.65;
}

/* Spacer column for alternating layout — no extra rules needed at this time */

/* ═══════════════════════════════════════════════
   CONTACT
═══════════════════════════════════════════════ */
.contact-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: start;
}
.contact-info h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 0.5rem;
}
.contact-intro {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.75);
  margin-bottom: 1.25rem;
}

.onboarding-steps {
  counter-reset: step;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  margin-bottom: 2rem;
}
.onboarding-steps li {
  counter-increment: step;
  display: flex;
  gap: 0.75rem;
  align-items: flex-start;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.75);
  line-height: 1.55;
  padding: 0.5rem 0.75rem;
  border-radius: var(--radius);
  transition: background var(--transition);
}
.onboarding-steps li::before {
  content: counter(step);
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 800;
  margin-top: 0.1rem;
}
.onboarding-steps li:hover {
  background: rgba(255, 255, 255, 0.05);
}

/* RTL: numbered circles on RHS, text right-aligned */
html[dir="rtl"] .onboarding-steps {
  direction: rtl;
  text-align: right;
}
html[dir="rtl"] .onboarding-steps li {
  flex-direction: row;
  text-align: right;
}
html[dir="rtl"] .contact-intro,
html[dir="rtl"] .contact-info h3 {
  text-align: right;
  direction: rtl;
}

.contact-details {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
/* Inline variant for phone+email row in the form column */

.cd-item {
  display: flex;
  gap: 0.9rem;
  align-items: flex-start;
}
.cd-item svg {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  margin-top: 0.15rem;
}
.cd-item strong {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.6);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 0.2rem;
}
.cd-item span {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.85);
  display: block;
}
/* Email / phone links — styled visibly so users know they're clickable */
.cd-item a {
  font-size: 0.9rem;
  color: var(--gold);
  display: block;
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  cursor: pointer;
  transition:
    color 0.2s ease,
    text-decoration-color 0.2s ease;
}
.cd-item a:hover {
  color: var(--gold-bright);
}
.hours-note {
  font-size: 0.8rem;
  color: rgba(255, 255, 255, 0.55);
  margin-top: 0.15rem;
}

/* Form */
.contact-form-wrap {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-lg);
  padding: 2rem;
}
.contact-form-wrap h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--gold);
  margin-bottom: 1.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  margin-bottom: 0.75rem;
}
.form-group label {
  font-size: 0.8rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.75);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.form-group input,
.form-group select,
.form-group textarea {
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: var(--radius);
  padding: 0.65rem 0.9rem;
  color: var(--white);
  font-size: 0.9rem;
  transition:
    border-color var(--transition),
    background var(--transition);
}
.form-group input::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.3);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  background: rgba(255, 255, 255, 0.1);
}
.form-group select {
  appearance: none;
  cursor: pointer;
}
.form-group select option {
  background: var(--teal2);
  color: var(--white);
}
.form-group textarea {
  resize: vertical;
  min-height: 120px;
}

.form-error {
  font-size: 0.78rem;
  color: #ff8a80;
  min-height: 1em;
}

.btn-submit {
  width: 100%;
  margin-top: 0.5rem;
  gap: 0.75rem;
  position: relative;
}
.btn-spinner {
  width: 18px;
  height: 18px;
  display: none;
  animation: spin 0.8s linear infinite;
}
.btn-submit.is-loading .btn-text {
  opacity: 0;
}
.btn-submit.is-loading .btn-spinner {
  display: block;
  position: absolute;
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.form-response {
  margin-top: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--radius);
  font-size: 0.875rem;
  display: none;
}
.form-response.success {
  background: rgba(72, 199, 142, 0.15);
  color: #48c78e;
  display: block;
}
.form-response.error {
  background: rgba(255, 100, 100, 0.1);
  color: #ff8a80;
  display: block;
}

/* ═══════════════════════════════════════════════
   FOOTER
═══════════════════════════════════════════════ */
#footer {
  background: #02323f;
  color: rgba(255, 255, 255, 0.75);
}
.footer-main {
  padding: 4rem 0 2rem;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 2.5rem;
}

.footer-logo {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  margin-bottom: 1rem;
}
.footer-logo-mark {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
}
.footer-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.footer-logo-text span:first-child {
  font-size: 0.85rem;
  font-weight: 900;
  color: var(--gold);
  letter-spacing: 0.05em;
}
.footer-logo-text span:last-child {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.08em;
}
.footer-tagline {
  font-size: 0.85rem;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.footer-socials {
  display: flex;
  gap: 0.75rem;
}
.social-link {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255, 255, 255, 0.6);
  transition: all var(--transition);
}
.social-link svg {
  width: 16px;
  height: 16px;
}
.social-link:hover {
  border-color: var(--gold);
  color: var(--gold);
  background: rgba(238, 192, 7, 0.1);
}

.footer-links h4,
.footer-contact-col h4,
.footer-info-col h4 {
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 1rem;
}
.footer-links ul li {
  margin-bottom: 0.4rem;
}
.footer-links ul a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
  transition: color var(--transition);
}
.footer-links ul a:hover {
  color: var(--gold);
}

.footer-contact-list {
  display: flex;
  flex-direction: column;
  gap: 0.7rem;
}
.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.6rem;
  font-size: 0.84rem;
}
.footer-contact-list svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  color: var(--gold);
  margin-top: 0.1rem;
}
.footer-contact-list a[href^="mailto:"] {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  cursor: pointer;
}
.footer-contact-list a {
  color: rgba(255, 255, 255, 0.75);
  transition: color 0.2s ease;
}
.footer-contact-list a:hover {
  color: var(--gold);
}

.footer-info-col ul li {
  margin-bottom: 0.5rem;
}
.footer-info-col ul a {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.6);
}
.footer-info-col ul a:hover {
  color: var(--gold);
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding: 1.25rem 0;
}
.footer-bottom .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.5rem;
}
.footer-copy,
.footer-powered {
  font-size: 0.8rem;
}
.footer-powered a {
  color: var(--gold);
  font-weight: 600;
}
.footer-powered a:hover {
  text-decoration: underline;
}

/* ═══════════════════════════════════════════════
   RESPONSIVE
═══════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid,
  .vision-grid,
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .vision-grid {
    grid-template-columns: 1fr;
  }
  .mission-text-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  .values-grid {
    grid-template-columns: 1fr 1fr;
  }
  .objectives-grid {
    grid-template-columns: 1fr 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr 1fr;
  }
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .sector-sub-cols {
    grid-template-columns: 1fr 1fr;
  }
  .edge-grid {
    grid-template-columns: 1fr 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr 1fr;
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
  }
  .about-badge {
    bottom: -1rem;
    right: -1rem;
  }
  [dir="rtl"] .about-badge {
    right: auto;
    left: -1rem;
  }

  .org-root-card {
    margin-bottom: 20px;
  }

  /* Timeline */
  .timeline::before {
    left: 39px;
  }
  [dir="rtl"] .timeline::before {
    left: auto;
    right: 39px;
  }
  .timeline-item {
    grid-template-columns: auto 1fr;
    grid-template-rows: auto;
    gap: 1rem;
  }
  .timeline-item--right {
    direction: ltr;
  }
  .timeline-item > :nth-child(1) {
    order: 2;
  }
  .timeline-item > :nth-child(2) {
    order: 1;
  }
  .timeline-item > :nth-child(3) {
    display: none;
  }
}

@media (max-width: 768px) {
  :root {
    --nav-h: 64px;
    --section-pad: 56px;
  }
  /* Nav */
  .nav-toggle {
    display: flex;
  }
  .nav-links {
    display: none;
    flex-direction: column;
    position: absolute;
    top: var(--nav-h);
    left: 0;
    right: 0;
    background: var(--teal);
    padding: 1rem 1.5rem;
    gap: 0.25rem;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  }
  .nav-links.is-open {
    display: flex;
  }
  .nav-links a {
    font-size: 0.95rem;
    padding: 0.6rem 1rem;
  }

  /* Hero */
  .hero-logo-wrap {
    flex-direction: column;
  }
  .hero-logo-text {
    text-align: center;
  }
  .hero-section {
    padding: calc(var(--nav-h) + 1.5rem) 1rem 3rem;
  }
  .hero-stats {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 0;
    padding: 1rem;
  }
  .stat-item {
    flex: 1 1 45%;
    padding: 0.5rem 0.75rem;
  }
  .stat-number {
    font-size: 1.6rem;
  }
  .stat-divider {
    display: none;
  }
  .hero-subtext {
    font-size: 0.95rem;
  }

  /* Grids → single column */
  .values-grid {
    grid-template-columns: 1fr;
  }
  .objectives-grid {
    grid-template-columns: 1fr;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .capabilities-grid {
    grid-template-columns: 1fr;
  }
  .sectors-grid {
    grid-template-columns: 1fr;
  }
  .edge-grid {
    grid-template-columns: 1fr;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }
  .quality-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  /* Gaps — reduce on mobile */
  .about-grid {
    gap: 1.5rem;
  }
  .vision-grid {
    gap: 1.5rem;
  }
  .contact-layout {
    gap: 2rem;
  }

  /* About badge — inline on mobile */
  .about-badge {
    position: relative;
    bottom: auto;
    right: auto;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    border-radius: var(--radius);
    width: fit-content;
  }
  [dir="rtl"] .about-badge {
    left: auto;
    right: auto;
  }
  .about-image-frame {
    overflow: hidden;
  }

  /* Video */
  video.about-image-placeholder {
    min-height: 280px;
  }

  /* Large font-sizes — reduce */
  .cap-num {
    font-size: clamp(2.2rem, 8vw, 3rem);
  }
  .service-num {
    font-size: 2rem;
  }
  /* Padding — reduce on mobile */
  .about-image-placeholder {
    padding: 1.5rem;
    min-height: 320px;
  }
  video.about-image-placeholder {
    padding: 0;
  }
  .vision-img-placeholder {
    padding: 1.5rem;
    min-height: 180px;
  }
  .success-inner {
    padding: 1.5rem 1rem;
  }
  .footer-main {
    padding: 2.5rem 0 1.5rem;
  }
  .cap-card {
    padding: 1.5rem;
  }
  .mission-block {
    padding: 1.5rem;
  }

  /* Form */
  .form-row {
    grid-template-columns: 1fr;
  }

  /* Footer */
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .footer-bottom .container {
    flex-direction: column;
    text-align: center;
  }
  .sector-sub-cols {
    grid-template-columns: repeat(2, 1fr);
  }

  /* Lang toggle mobile */
  .lang-toggle {
    font-size: 0.7rem;
    padding: 0.25rem 0.5rem;
  }
}

@media (max-width: 480px) {
  :root {
    --section-pad: 40px;
  }
  .about-image-placeholder {
    min-height: 220px;
    padding: 1rem;
  }
  video.about-image-placeholder {
    min-height: 200px;
    padding: 0;
  }
  .sector-sub-cols {
    grid-template-columns: 1fr;
  }
  .hero-headline {
    font-size: 1.75rem;
  }
  .hero-subtext {
    font-size: 0.88rem;
  }
  .hero-ctas {
    flex-direction: column;
    align-items: stretch;
    gap: 0.75rem;
  }
  .hero-ctas .btn {
    display: flex;
    justify-content: center;
    white-space: normal;
    text-align: center;
    padding: 0.7rem 1.25rem;
    font-size: 0.88rem;
  }
  .hero-stats {
    padding: 0.75rem;
  }
  .stat-item {
    flex: 1 1 45%;
    padding: 0.4rem 0.5rem;
  }
  .stat-number {
    font-size: 1.4rem;
  }
  .stat-label {
    font-size: 0.65rem;
  }
  .team-grid {
    grid-template-columns: 1fr;
  }

  /* Section spacing */
  .section-title {
    font-size: clamp(1.3rem, 4vw, 1.8rem);
  }
  .mission-block {
    padding: 1rem;
  }

  .scroll-indicator {
    bottom: .2rem;
  }

  /* Font sizes — smaller on small screens */
  .cap-num {
    font-size: 2rem;
  }
  .service-num {
    font-size: 1.8rem;
  }
  .badge-num {
    font-size: 1.4rem;
  }
  .vision-img-placeholder {
    padding: 1rem;
    min-height: 140px;
  }
  .success-inner {
    padding: 1.25rem 0.75rem;
  }
  .cap-card {
    padding: 1.25rem;
  }
  .footer-main {
    padding: 2rem 0 1rem;
  }

  /* Timeline mobile */
  .timeline::before {
    left: 19px;
  }
  [dir="rtl"] .timeline::before {
    left: auto;
    right: 19px;
  }
  .tl-marker {
    width: 40px;
    height: 40px;
  }
  .tl-year {
    font-size: 0.75rem;
  }
}

/* ═══════════════════════════════════════════════
   RTL OVERRIDES
═══════════════════════════════════════════════ */
[dir="rtl"] .section-divider {
  margin: 0 auto;
}
[dir="rtl"] .about-content .section-divider {
  margin: 0.8rem 0 1.2rem;
}
[dir="rtl"] .vision-content .section-divider {
  margin: 0.8rem 0 1.2rem;
}
[dir="rtl"] .qc-step::before {
  left: auto;
  right: 19px;
}
[dir="rtl"] .timeline-item {
  direction: rtl;
}
[dir="rtl"] .timeline-item--right {
  direction: ltr;
}
[dir="rtl"] .timeline::before {
  left: auto;
  right: calc(50% - 1px);
}
[dir="rtl"] .tl-content {
  border-inline-start: 4px solid var(--gold);
  border-inline-end: none;
}

/* Fix for Arabic body text */
[dir="rtl"] body {
  text-align: right;
}
[dir="rtl"] .section-header {
  text-align: center;
}
[dir="rtl"] .about-content .section-title,
[dir="rtl"] .vision-content .section-title,
[dir="rtl"] .mission-block .section-title {
  text-align: right;
}

/* ═══════════════════════════════════════════════
   LOGO IMAGE
═══════════════════════════════════════════════ */
/* ── Navbar logo ── */
.nav-logo-img {
  height: 48px;
  width: auto;
  display: block;
  flex-shrink: 0;
}
@media (max-width: 768px) {
  .nav-logo-img {
    height: 40px;
  }
}
@media (max-width: 480px) {
  .nav-logo-img {
    height: 34px;
  }
}

/* ── Hero logo ── */
.hero-logo-img {
  height: clamp(80px, 18vw, 140px);
  width: auto;
  display: block;
  margin: 0 auto;
  animation: logo-float 6s ease-in-out infinite;
  filter: drop-shadow(0 4px 24px rgba(0, 0, 0, 0.3));
}
@keyframes logo-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-8px);
  }
}

/* ═══════════════════════════════════════════════
   DOWNLOAD BUTTON
═══════════════════════════════════════════════ */
.btn-download {
  background: rgba(3, 74, 90, 0.75);
  color: var(--gold);
  border: 2px solid var(--gold);
  border-radius: 6px;
  gap: 0.5rem;
  font-size: 0.88rem;
  padding: 0.65rem 1.4rem;
}
.btn-download svg {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.btn-download:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--teal);
  transform: translateY(-2px);
}

/* ═══════════════════════════════════════════════
   CONTACT ACTION BUTTONS (WhatsApp + Call)
═══════════════════════════════════════════════ */
.contact-action-btns {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
/* Base — gold pill, large and prominent */
.contact-action-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.7rem 1.4rem;
  border-radius: 50px;
  font-size: 0.92rem;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-decoration: none;
  transition: all 0.22s ease;
  border: 2px solid var(--gold);
  background: var(--gold);
  color: var(--teal);
  box-shadow: 0 4px 18px rgba(238, 192, 7, 0.35);
}
.contact-action-btn:hover {
  background: var(--gold-bright);
  border-color: var(--gold-bright);
  color: var(--teal);
  box-shadow: 0 6px 28px rgba(238, 192, 7, 0.55);
  transform: translateY(-2px);
}
.contact-action-btn svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
/* Directions — slightly differentiated: outlined gold so all three are visually distinct */
.contact-action-btn--directions {
  background: transparent;
  color: var(--gold);
  border-color: var(--gold);
  box-shadow: none;
  margin-top: 0;
}
.contact-action-btn--directions:hover {
  background: var(--gold);
  color: var(--teal);
  box-shadow: 0 6px 28px rgba(238, 192, 7, 0.45);
}

/* Contact form logo */
.contact-form-logo {
  height: clamp(50px, 10vw, 80px);
  width: auto;
  display: block;
  margin: 0 auto 1.5rem;
}

/* Footer logo */
.footer-logo-img {
  height: 50px;
  width: auto;
  display: block;
}
@media (max-width: 480px) {
  .footer-logo-img {
    height: 40px;
  }
}

/* Contact quick-action buttons — prominent gold icon + label tiles */
/* Legacy cqa classes kept in case referenced elsewhere — now superseded by cha- classes */
.contact-quick-actions {
  display: none;
}

/* ── Contact hero action buttons — centred under the section heading ── */
.contact-hero-actions {
  display: flex;
  justify-content: center;
  gap: 1.2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.cha-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.9rem 2rem;
  background: var(--gold);
  color: var(--teal);
  border: none;
  border-radius: 12px;
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(238, 192, 7, 0.4);
  transition:
    background 0.22s ease,
    box-shadow 0.22s ease,
    transform 0.22s ease;
  white-space: nowrap;
}
.cha-btn svg {
  flex-shrink: 0;
  color: var(--teal);
}
.cha-btn:hover {
  background: var(--gold-bright);
  box-shadow: 0 6px 32px rgba(238, 192, 7, 0.6);
  transform: translateY(-3px);
}
@media (max-width: 560px) {
  .cha-btn {
    flex: 1 1 100%;
    justify-content: center;
    padding: 0.85rem 1.5rem;
  }
}

/* ═══════════════════════════════════════════════
   SECTION BACKGROUND ANIMATIONS
   Applied to all sections with appropriate colours
═══════════════════════════════════════════════ */
/* ── Ambient section particle canvas ── */
.section-particles-canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
  opacity: 1;
}

/* Shared animated orb layer */
.section-bg-orbs {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}
.section-bg-orbs::before,
.section-bg-orbs::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(70px);
  animation: orb-drift 14s ease-in-out infinite alternate;
}
/* Light section orbs (teal tint) */
.section--light .section-bg-orbs::before {
  width: 420px;
  height: 420px;
  background: radial-gradient(
    circle,
    rgba(3, 74, 90, 0.06) 0%,
    transparent 70%
  );
  top: -100px;
  left: -80px;
  animation-delay: 0s;
}
.section--light .section-bg-orbs::after {
  width: 340px;
  height: 340px;
  background: radial-gradient(
    circle,
    rgba(238, 192, 7, 0.05) 0%,
    transparent 70%
  );
  bottom: -80px;
  right: -60px;
  animation-delay: -7s;
}
/* Grey section orbs */
.section--grey .section-bg-orbs::before {
  width: 380px;
  height: 380px;
  background: radial-gradient(
    circle,
    rgba(3, 74, 90, 0.07) 0%,
    transparent 70%
  );
  top: -80px;
  right: -60px;
  animation-delay: -3s;
}
.section--grey .section-bg-orbs::after {
  width: 300px;
  height: 300px;
  background: radial-gradient(
    circle,
    rgba(238, 192, 7, 0.05) 0%,
    transparent 70%
  );
  bottom: -60px;
  left: -40px;
  animation-delay: -10s;
}
/* Dark section orbs */
.section--dark .section-bg-orbs::before {
  width: 500px;
  height: 500px;
  background: radial-gradient(
    circle,
    rgba(238, 192, 7, 0.05) 0%,
    transparent 70%
  );
  top: -120px;
  right: -100px;
  animation-delay: -4s;
}
.section--dark .section-bg-orbs::after {
  width: 400px;
  height: 400px;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.03) 0%,
    transparent 70%
  );
  bottom: -100px;
  left: -80px;
  animation-delay: -9s;
}
/* Floating grid lines */
.section-bg-lines {
  position: absolute;
  inset: 0;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
  opacity: 0.4;
}
.section-bg-lines::before {
  content: "";
  position: absolute;
  inset: -50%;
  background-image:
    linear-gradient(rgba(3, 74, 90, 0.06) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 74, 90, 0.06) 1px, transparent 1px);
  background-size: 60px 60px;
  animation: grid-drift 20s linear infinite;
}
.section--dark .section-bg-lines::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
}
/* Ensure section content appears above bg */
.section > .container,
.section > .section-bg-orbs ~ .container {
  position: relative;
  z-index: 1;
}

@keyframes orb-drift {
  0% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(30px, -20px) scale(1.05);
  }
  100% {
    transform: translate(-20px, 30px) scale(0.96);
  }
}
@keyframes grid-drift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(60px, 60px);
  }
}

/* ═══════════════════════════════════════════════
   ORGANISATIONAL STRUCTURE SECTION
   Matches reference PNG: dark teal bg, white cards, teal avatar icons, 8-col tree
═══════════════════════════════════════════════ */

/* ── Section shell ── */
.org-section {
  background: var(--teal);
  color: var(--white);
  position: relative;
  overflow: hidden;
}
.org-bg-anim {
  position: absolute;
  inset: 0;
  pointer-events: none;
  overflow: hidden;
}
.org-bg-anim::before {
  content: "";
  position: absolute;
  width: 600px;
  height: 600px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(238, 192, 7, 0.08) 0%,
    transparent 70%
  );
  top: -150px;
  right: -150px;
  animation: orb-drift 16s ease-in-out infinite alternate;
}
.org-bg-anim::after {
  content: "";
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 70%
  );
  bottom: -100px;
  left: -100px;
  animation: orb-drift 12s ease-in-out infinite alternate-reverse;
}
.org-section > .container {
  position: relative;
  z-index: 1;
}

/* ── Section header overrides for dark bg ── */
.org-section .section-label {
  color: rgba(255, 255, 255, 0.65);
}
.org-section .section-title {
  color: var(--white);
}
.org-section .section-desc {
  color: rgba(255, 255, 255, 0.78);
}

/* ── Root node ── */
.org-root {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 0;
}
.org-root-card {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.7rem 1.8rem;
  background: rgba(255, 255, 255, 0.13);
  border: 1.5px solid rgba(255, 255, 255, 0.3);
  color: var(--white);
  border-radius: 50px;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  animation: org-root-pulse 3s ease-in-out infinite;
}
.org-root-card svg {
  width: 20px;
  height: 20px;
  stroke: var(--gold);
  flex-shrink: 0;
}
@keyframes org-root-pulse {
  0%,
  100% {
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  }
  50% {
    box-shadow: 0 6px 32px rgba(238, 192, 7, 0.3);
  }
}

/* Vertical line below root card, connects to the horizontal bar above the grid */
.org-root-line {
  width: 2px;
  height: 28px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.35),
    var(--gold)
  );
  margin: 0 auto;
}

/* ── Department grid — 8 cols on desktop ── */
.org-dept-grid {
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  gap: 0.6rem;
  position: relative;
  padding-top: 14px; /* space for the horizontal connector bar */
}

/* Horizontal connector bar across all 8 cards */
.org-dept-grid::before {
  content: "";
  position: absolute;
  top: 0;
  left: calc(100% / 16); /* centre of first column */
  right: calc(100% / 16); /* centre of last column */
  height: 2px;
  background: var(--gold);
}
html[dir="rtl"] .org-dept-grid::before {
  left: calc(100% / 16);
  right: calc(100% / 16);
}

/* ── Department card ── */
.org-dept-card {
  background: rgba(255, 255, 255, 0.97);
  border-top: 3px solid var(--gold);
  border-radius: 10px;
  padding: 0.95rem 0.5rem 0.8rem;
  position: relative;
  cursor: default;
  display: flex;
  flex-direction: column;
  /* entrance animation — JS adds .is-visible */
  opacity: 0;
  transform: translateY(20px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease,
    box-shadow 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
}

/* Vertical connector drop from bar into each card */
.org-dept-card::before {
  content: "";
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  width: 2px;
  height: 12px;
  background: var(--gold);
}

/* JS-triggered visible state */
.org-dept-card.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Hover lift */
.org-dept-card:hover {
  transform: translateY(-5px);
  box-shadow:
    0 12px 32px rgba(0, 0, 0, 0.28),
    0 0 0 2px var(--gold);
  border-top-color: var(--gold-bright);
}

/* ── Card header ── */
.org-dept-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.45rem;
  margin-bottom: 0.65rem;
  padding-bottom: 0.55rem;
  border-bottom: 1px solid rgba(3, 74, 90, 0.1);
}

/* Teal avatar circle */
.org-dept-icon {
  width: 38px;
  height: 38px;
  background: var(--teal);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition:
    background 0.25s ease,
    transform 0.25s ease;
  box-shadow: 0 2px 8px rgba(3, 74, 90, 0.3);
}
.org-dept-card:hover .org-dept-icon {
  background: var(--teal-light);
  transform: scale(1.1);
}
.org-dept-icon svg {
  width: 19px;
  height: 19px;
  stroke: var(--white);
  fill: none;
  stroke-width: 2;
}

/* Department name */
.org-dept-header h3 {
  font-size: 0.68rem;
  font-weight: 800;
  color: var(--teal);
  line-height: 1.3;
  text-align: center;
  margin: 0;
}

/* ── Sub-item list ── */
.org-dept-items {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}
.org-dept-items li {
  font-size: 0.63rem;
  color: rgba(3, 74, 90, 0.72);
  padding: 0.14rem 0.25rem 0.14rem 0.5rem;
  border-left: 2px solid transparent;
  line-height: 1.35;
  transition:
    color 0.16s ease,
    border-color 0.16s ease,
    padding-left 0.16s ease;
}
.org-dept-items li:hover {
  color: var(--teal);
  border-left-color: var(--gold);
  padding-left: 0.75rem;
}

/* ── Dept card role badge ── */
.org-dept-role {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: auto;
  padding-top: 0.75rem;
  border-top: 1px solid rgba(3, 74, 90, 0.15);
}
.org-dept-role .org-role-icon {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
.org-dept-role-label {
  font-size: 0.6rem;
  font-weight: 600;
  color: rgba(3, 74, 90, 0.65);
  white-space: nowrap;
}

/* ── Legend bar ── */
.org-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.45rem 0.9rem;
  margin-top: 1.5rem;
  padding: 0.75rem 1.1rem;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}
.org-role-item {
  display: inline-flex;
  align-items: center;
  gap: 0.32rem;
  transition: transform 0.15s ease;
}
.org-role-item:hover {
  transform: scale(1.06);
}
.org-role-icon {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}
.org-role-label {
  font-size: 0.63rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.85);
  white-space: nowrap;
}
.org-role--gm .org-role-icon {
  color: #eec007;
}
.org-role--ops .org-role-icon {
  color: #1a6b7c;
}
.org-role--tech .org-role-icon {
  color: #4a9ead;
}
.org-role--biz .org-role-icon {
  color: #5a8a6a;
}
.org-role--eng .org-role-icon {
  color: #e07b30;
}
.org-role--accr .org-role-icon {
  color: #8a6aad;
}
.org-role--tech2 .org-role-icon {
  color: #8a9aaa;
}

/* ── Responsive ──
   ≥ 1301px  → 8 cols, tree connectors shown
   ≤ 1300px  → 4 cols, tree connectors hidden
   ≤  680px  → 2 cols
   ≤  380px  → 1 col
*/
@media (max-width: 1300px) {
  .org-dept-grid {
    grid-template-columns: repeat(4, 1fr);
    gap: 0.85rem;
    padding-top: 0; /* no connector bar space */
  }
  /* Hide tree chrome in multi-row layout */
  .org-dept-grid::before,
  .org-dept-card::before,
  .org-root-line {
    display: none;
  }

  .org-dept-header h3 {
    font-size: 0.78rem;
  }
  .org-dept-items li {
    font-size: 0.72rem;
  }
  .org-dept-card {
    padding: 1rem 0.75rem;
  }
}
@media (max-width: 680px) {
  .org-dept-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.7rem;
  }
}
@media (max-width: 380px) {
  .org-dept-grid {
    grid-template-columns: 1fr;
  }
  .org-root-card {
    font-size: 0.82rem;
    padding: 0.6rem 1.1rem;
  }
}

/* ── RTL ── */
[dir="rtl"] .org-dept-items li {
  border-left: none;
  border-right: 2px solid transparent;
  padding-left: 0.25rem;
  padding-right: 0.5rem;
}
[dir="rtl"] .org-dept-items li:hover {
  border-right-color: var(--gold);
  padding-right: 0.75rem;
}
[dir="rtl"] .org-legend {
  direction: rtl;
}

/* ═══════════════════════════════════════════════
   STICKY CONTACT CTA
═══════════════════════════════════════════════ */
.sticky-cta {
  position: fixed;
  bottom: 2.5rem;
  right: 1.5rem;
  z-index: 900;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.65rem 1.1rem;
  background: var(--gold);
  color: var(--teal);
  font-family: var(--font);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  border-radius: 50px;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(238, 192, 7, 0.45);
  transition:
    background 0.25s ease,
    box-shadow 0.25s ease,
    transform 0.25s ease;
  /* hidden until user scrolls past hero */
  opacity: 0;
  pointer-events: none;
  transform: translateY(12px);
}
.sticky-cta.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.sticky-cta:hover {
  background: var(--gold-bright);
  box-shadow: 0 6px 28px rgba(238, 192, 7, 0.65);
  transform: translateY(-2px);
}
.sticky-cta svg {
  width: 18px;
  height: 18px;
  flex-shrink: 0;
}
/* RTL — mirror to left side */
[dir="rtl"] .sticky-cta {
  right: auto;
  left: 1.5rem;
}
@media (max-width: 480px) {
  .sticky-cta {
    bottom: 1.5rem;
    right: 1rem;
    padding: 0.55rem 0.9rem;
    font-size: 0.8rem;
  }
  [dir="rtl"] .sticky-cta {
    right: auto;
    left: 1rem;
  }
}

/* ═══════════════════════════════════════════════
   FOCUS VISIBLE — keyboard navigation
═══════════════════════════════════════════════ */
:focus-visible {
  outline: 2px solid var(--gold);
  outline-offset: 3px;
}
/* Remove outline for mouse users (where :focus-visible is not triggered) */
:focus:not(:focus-visible) {
  outline: none;
}
/* Stronger contrast on dark backgrounds */
.section--dark :focus-visible,
#navbar :focus-visible,
#footer :focus-visible {
  outline-color: var(--gold-bright);
}

/* ═══════════════════════════════════════════════
   REDUCED MOTION — disable all ambient animations
═══════════════════════════════════════════════ */
@media (prefers-reduced-motion: reduce) {
  /* Hero */
  .hero-section::before,
  .hero-particle,
  .hero-rebar,
  .hero-scroll-indicator::after {
    animation: none !important;
  }
  /* Section orbs & grid */
  .section-bg-orbs::before,
  .section-bg-orbs::after,
  .section-bg-lines::before {
    animation: none !important;
  }
  /* Section particle canvases — hidden via JS prefers-reduced-motion check */
  .section-particles-canvas {
    display: none;
  }
  /* Hero wordmark float */
  .hero-wordmark {
    animation: none !important;
  }
  /* Org section */
  .org-bg-anim::before,
  .org-bg-anim::after,
  .org-root-card {
    animation: none !important;
  }
  /* Scroll animations — reveal immediately */
  .animate-on-scroll {
    opacity: 1 !important;
    transform: none !important;
    transition: none !important;
  }
  /* Stats counter — show final value without counting */
  [data-target] {
    transition: none !important;
  }
}

/* ═══════════════════════════════════════════════
   CONTACT ACTION ROW — 4 rectangular gold buttons
═══════════════════════════════════════════════ */
/* Make cha-btn more rectangular (was 12px, now 8px) */
.cha-btn {
  border-radius: 8px !important;
}

/* ═══════════════════════════════════════════════
   SECTION-SPECIFIC BACKGROUND ANIMATION VARIANTS
═══════════════════════════════════════════════ */

/* ── Dots variant (#about) ── */
@keyframes dots-drift {
  0% {
    transform: translate(0, 0);
  }
  50% {
    transform: translate(20px, -15px);
  }
  100% {
    transform: translate(-10px, 25px);
  }
}
.section-bg--dots::before {
  animation: dots-drift 18s ease-in-out infinite alternate !important;
  background: radial-gradient(
    circle,
    rgba(3, 74, 90, 0.07) 0%,
    transparent 70%
  ) !important;
}
.section-bg--dots::after {
  animation: dots-drift 22s ease-in-out infinite alternate-reverse !important;
  background: radial-gradient(
    circle,
    rgba(238, 192, 7, 0.06) 0%,
    transparent 70%
  ) !important;
}

/* ── Waves variant (#vision) ── */
@keyframes wave-sway {
  0% {
    transform: translate(0, 0) rotate(0deg);
  }
  50% {
    transform: translate(-25px, 10px) rotate(3deg);
  }
  100% {
    transform: translate(15px, -10px) rotate(-2deg);
  }
}
.section-bg--waves::before {
  animation: wave-sway 20s ease-in-out infinite alternate !important;
  background: radial-gradient(
    ellipse 60% 30%,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 70%
  ) !important;
}
.section-bg--waves::after {
  animation: wave-sway 16s ease-in-out infinite alternate-reverse !important;
  background: radial-gradient(
    ellipse 40% 60%,
    rgba(238, 192, 7, 0.05) 0%,
    transparent 70%
  ) !important;
}

/* ── Grid variant (#services) ── */
@keyframes grid-slow-drift {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(40px, 40px);
  }
}
.section-bg--grid::before {
  animation: grid-slow-drift 30s linear infinite !important;
  background:
    linear-gradient(rgba(3, 74, 90, 0.04) 1px, transparent 1px),
    linear-gradient(90deg, rgba(3, 74, 90, 0.04) 1px, transparent 1px) !important;
  background-size: 50px 50px !important;
  border-radius: 0 !important;
  filter: none !important;
  width: 200% !important;
  height: 200% !important;
  top: -50% !important;
  left: -50% !important;
}
.section-bg--grid::after {
  animation: orb-drift 25s ease-in-out infinite alternate !important;
  background: radial-gradient(
    circle,
    rgba(238, 192, 7, 0.05) 0%,
    transparent 70%
  ) !important;
}

/* ── Circuit variant (#capabilities) ── */
@keyframes circuit-pulse {
  0%,
  100% {
    opacity: 0.5;
    transform: scale(1);
  }
  50% {
    opacity: 0.8;
    transform: scale(1.04);
  }
}
.section-bg--circuit::before {
  animation: circuit-pulse 12s ease-in-out infinite !important;
  background: radial-gradient(
    circle,
    rgba(238, 192, 7, 0.07) 0%,
    transparent 60%
  ) !important;
}
.section-bg--circuit::after {
  animation: circuit-pulse 9s ease-in-out infinite reverse !important;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.04) 0%,
    transparent 60%
  ) !important;
}

/* ── Diagonal variant (#edge) ── */
@keyframes diagonal-slide {
  0% {
    transform: translate(-60px, -60px);
  }
  100% {
    transform: translate(60px, 60px);
  }
}
.section-bg--diagonal::before {
  animation: diagonal-slide 25s linear infinite !important;
  background: repeating-linear-gradient(
    45deg,
    transparent,
    transparent 40px,
    rgba(238, 192, 7, 0.03) 40px,
    rgba(238, 192, 7, 0.03) 42px
  ) !important;
  border-radius: 0 !important;
  filter: none !important;
  width: 200% !important;
  height: 200% !important;
}
.section-bg--diagonal::after {
  animation: orb-drift 18s ease-in-out infinite alternate !important;
  background: radial-gradient(
    circle,
    rgba(3, 74, 90, 0.06) 0%,
    transparent 70%
  ) !important;
}

/* ── Pulse variant (#quality) ── */
@keyframes ring-pulse {
  0% {
    transform: scale(0.8);
    opacity: 0.6;
  }
  50% {
    transform: scale(1.2);
    opacity: 0.2;
  }
  100% {
    transform: scale(0.8);
    opacity: 0.6;
  }
}
.section-bg--pulse::before {
  animation: ring-pulse 8s ease-in-out infinite !important;
  background: radial-gradient(
    circle,
    transparent 40%,
    rgba(238, 192, 7, 0.05) 50%,
    transparent 60%
  ) !important;
  width: 600px !important;
  height: 600px !important;
}
.section-bg--pulse::after {
  animation: ring-pulse 12s ease-in-out infinite reverse !important;
  background: radial-gradient(
    circle,
    transparent 30%,
    rgba(3, 74, 90, 0.06) 50%,
    transparent 70%
  ) !important;
  width: 400px !important;
  height: 400px !important;
}

/* ── Float variant (#team) ── */
@keyframes poly-float {
  0%,
  100% {
    transform: translateY(0) rotate(0deg);
  }
  33% {
    transform: translateY(-15px) rotate(4deg);
  }
  66% {
    transform: translateY(8px) rotate(-3deg);
  }
}
.section-bg--float::before {
  animation: poly-float 14s ease-in-out infinite !important;
  background: radial-gradient(
    circle,
    rgba(238, 192, 7, 0.06) 0%,
    transparent 70%
  ) !important;
}
.section-bg--float::after {
  animation: poly-float 10s ease-in-out infinite reverse !important;
  background: radial-gradient(
    circle,
    rgba(3, 74, 90, 0.06) 0%,
    transparent 70%
  ) !important;
}

/* ── Lines variant (#history) ── */
@keyframes line-scan {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}
.section-bg--lines::before {
  animation: orb-drift 20s ease-in-out infinite alternate !important;
  background: radial-gradient(
    circle,
    rgba(3, 74, 90, 0.05) 0%,
    transparent 70%
  ) !important;
}
.section-bg--lines::after {
  animation: line-scan 28s linear infinite !important;
  background: linear-gradient(
    transparent 0%,
    rgba(238, 192, 7, 0.04) 50%,
    transparent 100%
  ) !important;
  width: 100% !important;
  height: 50% !important;
  border-radius: 0 !important;
  filter: none !important;
}

/* ── Shimmer variant (#contact) ── */
@keyframes shimmer-drift {
  0% {
    transform: translate(0, 0) scale(1);
    opacity: 0.7;
  }
  50% {
    transform: translate(20px, -15px) scale(1.08);
    opacity: 1;
  }
  100% {
    transform: translate(-15px, 20px) scale(0.95);
    opacity: 0.7;
  }
}
.section-bg--shimmer::before {
  animation: shimmer-drift 16s ease-in-out infinite alternate !important;
  background: radial-gradient(
    circle,
    rgba(238, 192, 7, 0.08) 0%,
    transparent 65%
  ) !important;
}
.section-bg--shimmer::after {
  animation: shimmer-drift 12s ease-in-out infinite alternate-reverse !important;
  background: radial-gradient(
    circle,
    rgba(255, 255, 255, 0.05) 0%,
    transparent 65%
  ) !important;
}

/* ═══════════════════════════════════════════════
   ABOUT SECTION — SYRIA REBUILDING ILLUSTRATION
═══════════════════════════════════════════════ */
.mixer-truck-wrap {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
  min-height: 200px;
  padding: 0 !important;
}
.construction-scene-svg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
}
/* SVG illustration text: show English by default, Arabic when RTL active */
.sc-illus-text-ar {
  display: none;
}
html[dir="rtl"] .sc-illus-text-en {
  display: none;
}
html[dir="rtl"] .sc-illus-text-ar {
  display: block;
}

/* ═══════════════════════════════════════════════
   VISION SECTION — CARDS STACK + CRANE ANIMATION
═══════════════════════════════════════════════ */
/* ── Vision merged tile (gold background, teal text) ── */
.vision-merged-tile {
  background: var(--gold);
  border-radius: var(--radius-lg);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}
.vision-merged-scene {
  padding: 1.25rem 1.25rem 0.5rem;
  flex: 1;
}
.vision-merged-scene svg {
  width: 100%;
  height: auto;
  display: block;
}
.vision-merged-labels {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.65rem 1.1rem;
  background: rgba(3, 74, 90, 0.12);
  border-top: 1px solid rgba(3, 74, 90, 0.15);
}
.vml-building,
.vml-rebuilding {
  font-weight: 800;
  font-size: 0.78rem;
  letter-spacing: 0.05em;
  color: var(--teal);
  text-transform: uppercase;
}
@keyframes build-rise {
  0% {
    transform: translateY(30px);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}
@keyframes crane-sway {
  0%,
  100% {
    transform: rotate(0deg);
  }
  30% {
    transform: rotate(2deg);
  }
  70% {
    transform: rotate(-1deg);
  }
}
@keyframes hook-swing {
  0%,
  100% {
    transform: translateX(0);
  }
  50% {
    transform: translateX(4px);
  }
}
.crane-building-1 {
  animation: build-rise 1s 0s both ease-out;
}
.crane-building-2 {
  animation: build-rise 1s 0.3s both ease-out;
}
.crane-building-3 {
  animation: build-rise 1.1s 0.6s both ease-out;
}
.crane-building-4 {
  animation: build-rise 1s 0.9s both ease-out;
}
.crane-building-5 {
  animation: build-rise 1.2s 1.2s both ease-out;
}
.crane-building-6 {
  animation: build-rise 1s 1.5s both ease-out;
}
.crane-building-7 {
  animation: build-rise 1.1s 1.8s both ease-out;
}
.crane-building-8 {
  animation: build-rise 1s 2.1s both ease-out;
}
.crane-building-9 {
  animation: build-rise 1s 2.4s both ease-out;
}
.crane-building-10 {
  animation: build-rise 0.9s 2.7s both ease-out;
}
.crane-tower-1 {
  animation: crane-sway 4s ease-in-out infinite;
  transform-origin: 50px 90px;
}
.crane-tower-2 {
  animation: crane-sway 5s 0.5s ease-in-out infinite;
  transform-origin: 102px 38px;
}
.crane-tower-3 {
  animation: crane-sway 6s 1s ease-in-out infinite;
  transform-origin: 153px 58px;
}
.crane-hook-1 {
  animation: hook-swing 3s ease-in-out infinite;
  transform-origin: 46px 12px;
}
.crane-hook-2 {
  animation: hook-swing 4s 1s ease-in-out infinite;
  transform-origin: 121px 10px;
}
.crane-hook-3 {
  animation: hook-swing 3.5s 0.7s ease-in-out infinite;
  transform-origin: 165px 10px;
}

/* ═══════════════════════════════════════════════
   ORG STRUCTURE — UNIQUE DEPARTMENT ICONS
═══════════════════════════════════════════════ */
/* Each dept card gets its own icon colour accent */
.org-dept-card:nth-child(1) .org-dept-icon {
  background: #034a5a;
}
.org-dept-card:nth-child(2) .org-dept-icon {
  background: #1a6b7a;
}
.org-dept-card:nth-child(3) .org-dept-icon {
  background: #0a5a6e;
}
.org-dept-card:nth-child(4) .org-dept-icon {
  background: #034a5a;
}
.org-dept-card:nth-child(5) .org-dept-icon {
  background: #1a6b7a;
}
.org-dept-card:nth-child(6) .org-dept-icon {
  background: #0a5a6e;
}
.org-dept-card:nth-child(7) .org-dept-icon {
  background: #034a5a;
}
.org-dept-card:nth-child(8) .org-dept-icon {
  background: #1a6b7a;
}

/* Sub-item hover enhancement */
.org-dept-items li:hover {
  color: var(--teal) !important;
  border-left-color: var(--gold) !important;
  padding-left: 0.75rem !important;
  background: rgba(238, 192, 7, 0.06);
  border-radius: 3px;
}

/* ═══════════════════════════════════════════════
   GALLERY — MASONRY GRID + LIGHTBOX
═══════════════════════════════════════════════ */
#gallery {
  position: relative;
  overflow: hidden;
}

/* ── Grid layout ── */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  grid-auto-rows: 260px;
  grid-auto-flow: dense;
  gap: 0.75rem;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94),
              filter 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.08);
}

.gallery-item--featured {
  grid-column: span 2;
  grid-row: span 2;
}

.gallery-item--wide {
  grid-column: span 2;
}

/* ── Hover overlay ── */
.gallery-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to top,
    rgba(3, 74, 90, 0.9) 0%,
    rgba(3, 74, 90, 0.3) 40%,
    transparent 70%
  );
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.5rem;
  opacity: 0;
  transition: opacity 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--gold);
  line-height: 1;
  opacity: 0.85;
}

.gallery-label {
  font-size: 1rem;
  font-weight: 600;
  color: #fff;
  margin-top: 0.3rem;
  letter-spacing: 0.02em;
}

/* ── Lightbox ── */
.gallery-lightbox {
  position: fixed;
  inset: 0;
  z-index: 10000;
  background: rgba(3, 26, 33, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.gallery-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lb-close {
  position: absolute;
  top: 1.25rem;
  right: 1.25rem;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  font-size: 2rem;
  cursor: pointer;
  z-index: 10001;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background 0.3s, color 0.3s, border-color 0.3s;
  line-height: 1;
}

.lb-close:hover {
  background: var(--gold);
  color: var(--teal);
  border-color: var(--gold);
}

.lb-prev,
.lb-next {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s, border-color 0.3s, color 0.3s;
  z-index: 10001;
}

.lb-prev { left: 1.25rem; }
.lb-next { right: 1.25rem; }

.lb-prev:hover,
.lb-next:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--teal);
}

.lb-prev svg,
.lb-next svg {
  width: 22px;
  height: 22px;
}

.lb-content {
  max-width: 85vw;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.lb-img {
  max-width: 100%;
  max-height: 74vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.5);
}

.lb-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
  color: #fff;
}

.lb-counter {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  color: var(--gold);
  font-size: 0.9rem;
  letter-spacing: 0.05em;
}

.lb-caption {
  font-size: 1rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.85);
}

/* ── Gallery Responsive ── */
@media (max-width: 1024px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 220px;
  }
  .gallery-item--featured {
    grid-column: span 2;
    grid-row: span 1;
  }
}

@media (max-width: 768px) {
  .gallery-grid {
    grid-template-columns: repeat(2, 1fr);
    grid-auto-rows: 180px;
    gap: 0.5rem;
  }
  .gallery-item { border-radius: 8px; }
  .gallery-overlay {
    padding: 0.75rem;
    opacity: 1;
    background: linear-gradient(
      to top,
      rgba(3, 74, 90, 0.8) 0%,
      transparent 60%
    );
  }
  .gallery-num { font-size: 1.4rem; }
  .gallery-label { font-size: 0.8rem; }
  .lb-prev { left: 0.5rem; }
  .lb-next { right: 0.5rem; }
  .lb-prev, .lb-next { width: 40px; height: 40px; }
  .lb-close { top: 0.75rem; right: 0.75rem; width: 40px; height: 40px; font-size: 1.5rem; }
  .lb-content { max-width: 95vw; }
}

@media (max-width: 480px) {
  .gallery-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: 220px;
  }
  .gallery-item--featured,
  .gallery-item--wide {
    grid-column: span 1;
  }
  .gallery-num { font-size: 1.2rem; }
  .gallery-label { font-size: 0.78rem; }
  .lb-img { max-height: 60vh; }
}
