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

:root {
  --navy:   #0d1b2a;
  --orange: #f97316;
  --orange2:#ea6c0a;
  --silver: #c0c8d4;
  --white:  #ffffff;
  --light:  #f4f6f9;
  --text:   #2d3748;
  --muted:  #4a5568;
  --radius: 12px;
  --shadow: 0 4px 24px rgba(0,0,0,.12);
  --trans:  .3s ease;
}

body {
  font-family: 'Open Sans', sans-serif;
  color: var(--text);
  background: var(--white);
  line-height: 1.7;
}

h1,h2,h3,h4 { font-family: 'Montserrat', sans-serif; line-height: 1.25; }

/* height:auto keeps the intrinsic width/height attributes (which reserve space and
   prevent layout shift) from locking the rendered height when the image scales. */
img { display: block; max-width: 100%; height: auto; }

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.section-tag {
  display: inline-block;
  background: rgba(249,115,22,.12);
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}
.section-tag.center { display: block; text-align: center; }

section { padding: 96px 0; }

h2, h1.page-title { font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 24px; }
h2.center, h1.center { text-align: center; }

.two-col { display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; }

/* ═══════════════════ BUTTONS ═══════════════════ */
.btn-primary {
  display: inline-block;
  background: var(--orange);
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: .95rem;
  padding: 14px 32px;
  border-radius: var(--radius);
  border: 2px solid var(--orange);
  cursor: pointer;
  transition: background var(--trans), transform var(--trans), box-shadow var(--trans);
}
.btn-primary:hover { background: var(--orange2); border-color: var(--orange2); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(249,115,22,.35); }
.btn-primary.full { width: 100%; text-align: center; }

/* ═══════════════════ NAVBAR ═══════════════════ */
#navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: var(--navy);
  box-shadow: 0 2px 20px rgba(0,0,0,.4);
  padding: 8px 0;
}
.nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 70px;
}
/* max-height (not a fixed height) lets the logo scale down proportionally when
   the bar runs out of room, instead of being squashed horizontally. */
.nav-logo img { height: auto; max-height: 84px; width: auto; }

nav { display: flex; align-items: center; }

.lang-li { display: flex; align-items: center; }

.nav-links {
  list-style: none;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  gap: 32px;
}
.nav-links a {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: .9rem;
  letter-spacing: .03em;
  transition: color var(--trans);
}
.nav-links a:hover { color: var(--orange); }
.nav-links a.active { color: var(--orange); border-bottom: 2px solid var(--orange); padding-bottom: 2px; }

/* Also need padding-top for pages that don't use #about */
#why, #services, #contact { padding-top: 130px; }

/* ── Language toggle ── */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.2);
  border-radius: 999px;
  padding: 5px 14px;
  cursor: pointer;
  transition: border-color var(--trans), background var(--trans);
}
.lang-toggle:hover {
  background: rgba(255,255,255,.14);
  border-color: rgba(255,255,255,.35);
}
.lang-opt {
  display: flex;
  align-items: center;
  gap: 5px;
  font-family: 'Montserrat', sans-serif;
  font-size: .8rem;
  font-weight: 700;
  letter-spacing: .06em;
  color: rgba(255,255,255,.45);
  transition: color var(--trans);
  line-height: 1;
}
.lang-opt.active {
  color: var(--white);
}
.lang-flag {
  width: 18px;
  height: 13px;
  border-radius: 2px;
  display: block;
  flex-shrink: 0;
  opacity: .45;
  transition: opacity var(--trans);
}
.lang-opt.active .lang-flag {
  opacity: 1;
}
.lang-divider {
  font-size: .75rem;
  color: rgba(255,255,255,.25);
  line-height: 1;
}

.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px;
}
.hamburger span {
  display: block;
  width: 26px;
  height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--trans);
}

.mobile-menu {
  display: none;
  flex-direction: column;
  background: var(--navy);
  padding: 16px 24px 24px;
  gap: 16px;
}
.mobile-menu a {
  color: var(--white);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.mobile-menu.open { display: flex; }
.mobile-menu .lang-toggle {
  margin-top: 4px;
  width: fit-content;
}

/* ═══════════════════ STATS STRIP ═══════════════════ */
.stats-section { padding: 0; }

.stats-header {
  background: var(--light);
  text-align: center;
  padding: 22px 24px 48px;
}

.stats-eyebrow {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  margin-bottom: 16px;
}
.stats-eyebrow span:not(.eyebrow-line) {
  font-family: 'Montserrat', sans-serif;
  font-size: .72rem;
  font-weight: 700;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: var(--orange);
}
.eyebrow-line {
  display: block;
  width: 48px;
  height: 1px;
  background: var(--orange);
  opacity: .6;
}

.stats-title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.4rem, 2.5vw, 2rem);
  font-weight: 700;
  color: var(--navy);
  margin-bottom: 12px;
}

.stats-subtitle {
  font-style: italic;
  color: var(--muted);
  font-size: .9rem;
  max-width: 900px;
  margin: 0 auto;
}

.stats-strip {
  background: var(--orange);
}
.stats-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}
.stat {
  padding: 36px 24px;
  text-align: center;
  color: var(--white);
  border-right: 1px solid rgba(255,255,255,.2);
  position: relative;
  overflow: hidden;
}
.stat:last-child { border-right: none; }
.stat::before {
  content: '';
  position: absolute;
  inset: 0;
  transition: background .3s;
}
.stat:hover::before { background: rgba(255,255,255,.05); }

/* Counters are numbers, not headings — styled by class, not by tag. */
.stat .count {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  line-height: 1;
  display: inline-block;
}
.stat span { font-size: 2rem; font-weight: 900; }
.stat p { font-size: .9rem; margin-top: 4px; opacity: .9; font-weight: 600; letter-spacing: .04em; }

/* ═══════════════════ ABOUT ═══════════════════ */
#about {
  background: var(--white);
  padding-top: 130px;
  padding-bottom: 36px;
}
#about .section-tag {
  font-size: 0.94rem;
}

.about-img { position: relative; }
.about-img img {
  width: 100%;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  object-fit: cover;
  aspect-ratio: 4/3;
}
.about-badge {
  position: absolute;
  bottom: -20px;
  right: -20px;
  background: linear-gradient(135deg, #F97316, #EA6010, #D45208);
  color: var(--white);
  padding: 8px 14px;
  border-radius: 14px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(212,82,8,.45), inset 0 1px 0 rgba(255,255,255,.15);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.badge-top {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 4px;
  color: rgba(255,255,255,.85);
}

.badge-divider {
  width: 80%;
  border: none;
  height: 1px;
  background: linear-gradient(to right, transparent, rgba(255,255,255,.5), transparent);
  margin: 0;
}

.badge-bottom {
  display: block;
  font-family: 'Cormorant Garamond', serif;
  font-weight: 600;
  font-style: italic;
  font-size: 17.6px;
  color: rgba(255,255,255,1);
  letter-spacing: .02em;
}

.about-text p { color: var(--muted); margin-bottom: 16px; }

.about-list { list-style: none; margin-top: 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 10px 24px; }
.about-list li { display: flex; align-items: flex-start; gap: 8px; font-weight: 800; font-size: .82rem; color: #000; line-height: 1.4; }
.check {
  width: 22px; height: 22px;
  min-width: 22px;
  background: var(--orange);
  color: var(--white);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: .7rem;
  flex-shrink: 0;
  margin-top: 1px;
}

/* ═══════════════════ SERVICES ═══════════════════ */
#services { background: var(--light); }
#services .section-tag { font-size: 0.975rem; }

.service-showcase {
  display: flex;
  flex-direction: column;
  gap: 80px;
  margin-top: 56px;
}

.showcase-item {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}
.showcase-item.reverse { direction: rtl; }
.showcase-item.reverse > * { direction: ltr; }

.showcase-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,.15);
}
.showcase-img img {
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
  transition: transform .6s ease;
}
.showcase-img.fit-contain {
  max-width: 75%;
}
.showcase-img.fit-contain img {
  object-fit: unset;
  aspect-ratio: unset;
  width: 100%;
  height: auto;
}
.showcase-img:hover img { transform: scale(1.04); }

.showcase-img::after {
  content: '';
  position: absolute;
  inset: 0;
  border: 3px solid transparent;
  border-radius: var(--radius);
  background: linear-gradient(135deg, var(--orange), transparent 60%) border-box;
  -webkit-mask: linear-gradient(#fff 0 0) padding-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: destination-out;
  mask-composite: exclude;
  opacity: 0;
  transition: opacity var(--trans);
}
.showcase-img:hover::after { opacity: 1; }

.service-label {
  display: inline-block;
  background: rgba(249,115,22,.12);
  color: var(--orange);
  font-family: 'Montserrat', sans-serif;
  font-size: .975rem;
  font-weight: 700;
  letter-spacing: .12em;
  text-transform: uppercase;
  padding: 4px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
  line-height: 1.7; /* the h2 tag would otherwise impose 1.25 and shrink the pill */
}

.showcase-text p {
  color: var(--muted);
  font-size: .98rem;
  margin-bottom: 24px;
  line-height: 1.8;
}

.showcase-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.showcase-list li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: 600;
  color: var(--text);
  font-size: .95rem;
}

/* ═══════════════════ ADDITIONAL SERVICES ═══════════════════ */
.add-services-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.add-service-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  box-shadow: var(--shadow);
  display: flex;
  gap: 24px;
  align-items: flex-start;
  border-left: 4px solid var(--orange);
  transition: transform var(--trans), box-shadow var(--trans);
}
.add-service-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 40px rgba(0,0,0,.14);
}

.add-service-icon {
  width: 60px;
  height: 60px;
  min-width: 60px;
  background: rgba(249,115,22,.1);
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--orange);
}
.add-service-icon svg { width: 32px; height: 32px; }

.add-service-body p {
  color: var(--muted);
  font-size: .92rem;
  line-height: 1.7;
}

@media (max-width: 768px) {
  .add-services-grid { grid-template-columns: 1fr; }
  .add-service-card { flex-direction: column; }
  /* The English service titles are longer than their Arabic twins and crowd
     narrow phones; a smaller pill sits better there (owner decision, 15 Jul 2026).
     They still wrap to two lines — the columns are too narrow for one line at any
     readable size. Arabic titles are shorter and keep the full size. */
  [lang="en"] .service-label { font-size: .85rem; }
}

/* ═══════════════════ SERVICES CTA ═══════════════════ */
.services-cta {
  text-align: center;
  margin-top: 64px;
}
.services-cta p {
  color: var(--muted);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

/* ═══════════════════ WHY US ═══════════════════ */
#why { background: var(--white); }
#why .section-tag { font-size: 0.975rem; }
#why h1.page-title { font-size: clamp(1.4rem, 2.4vw, 2rem); }

.why-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 48px;
}

.why-card {
  background: var(--light);
  border-radius: var(--radius);
  padding: 32px 24px;
  transition: transform var(--trans), box-shadow var(--trans), background var(--trans);
}
.why-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow);
  background: var(--white);
}
.why-num {
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-weight: 900;
  color: rgba(249,115,22,.2);
  line-height: 1;
  margin-bottom: 16px;
}
.why-card h2 {
  font-size: 1.05rem;
  color: var(--navy);
  margin-bottom: 8px;
  line-height: 1.25;
}
.why-card p { font-size: .9rem; color: var(--muted); }

/* ═══════════════════ MISSION & VISION ═══════════════════ */
.mv-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 32px;
}

.mv-card {
  background: var(--navy);
  border-radius: var(--radius);
  padding: 40px 36px;
  position: relative;
  overflow: hidden;
  transition: transform var(--trans), box-shadow var(--trans);
}
.mv-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0;
  width: 4px;
  height: 100%;
  background: var(--orange);
}
.mv-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(13,27,42,.25);
}

.mv-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 20px;
}

.mv-icon {
  width: 48px; height: 48px;
  min-width: 48px;
  background: rgba(249,115,22,.15);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
}
.mv-icon svg { width: 24px; height: 24px; }

.mv-label {
  font-family: 'Montserrat', sans-serif;
  font-size: .75rem;
  font-weight: 700;
  letter-spacing: .15em;
  text-transform: uppercase;
  color: var(--orange);
}

.mv-card p {
  color: var(--silver);
  font-size: .97rem;
  line-height: 1.8;
}

@media (max-width: 768px) {
  .mv-grid { grid-template-columns: 1fr; }
}

/* ═══════════════════ CONTACT ═══════════════════ */
#contact { background: var(--light); }

.contact-wrap {
  align-items: start;
  direction: rtl;
}
.contact-wrap .contact-info,
.contact-wrap .contact-form {
  direction: ltr;
}
[dir="rtl"] .contact-wrap .contact-info,
[dir="rtl"] .contact-wrap .contact-form {
  direction: rtl;
}

.contact-info h1.page-title { color: var(--navy); }
.contact-info > p { color: var(--muted); margin-bottom: 32px; }
/* The global `a { color: inherit }` would render in-paragraph links as plain text. */
.contact-info > p a { color: var(--orange); font-weight: 600; transition: color var(--trans); }
.contact-info > p a:hover { color: var(--orange2); text-decoration: underline; }

.contact-items { display: flex; flex-direction: column; gap: 20px; }
.contact-item { display: flex; align-items: center; gap: 16px; }
.c-icon {
  width: 48px; height: 48px;
  background: var(--orange);
  color: var(--white);
  border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.c-icon svg { width: 22px; height: 22px; }
.contact-item strong { display: block; font-family: 'Montserrat', sans-serif; font-size: .8rem; letter-spacing: .06em; text-transform: uppercase; color: var(--muted); }
.contact-item span { font-weight: 600; color: var(--navy); }
.contact-email-link { font-weight: 600; color: var(--navy); text-decoration: none; transition: color var(--trans); }
.contact-email-link:hover { color: var(--orange); }

.contact-form {
  background: var(--white);
  border-radius: var(--radius);
  padding: 40px 36px;
  box-shadow: var(--shadow);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

.contact-form input,
.contact-form select,
.contact-form textarea {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  font-family: 'Open Sans', sans-serif;
  font-size: .95rem;
  color: var(--text);
  background: var(--white);
  transition: border-color var(--trans), box-shadow var(--trans);
  outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(249,115,22,.12);
}
.contact-form textarea { resize: vertical; }

.contact-form select.select-placeholder { color: var(--muted); }

.form-note {
  text-align: center;
  font-weight: 600;
  font-size: .95rem;
  color: #16a34a;
}
.form-error { color: #dc2626; }

/* ═══════════════════ 404 ═══════════════════ */
#notfound {
  background: var(--light);
  padding-top: 170px;
  padding-bottom: 120px;
  text-align: center;
}
.nf-code {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(5rem, 12vw, 8rem);
  font-weight: 900;
  line-height: 1;
  color: rgba(249,115,22,.25);
  margin-bottom: 8px;
}
.nf-text {
  color: var(--muted);
  margin-bottom: 32px;
}

/* ═══════════════════ FOOTER ═══════════════════ */
footer { background: var(--navy); }

/* — Row 1: Contact Bar — */
.footer-bar { padding: 32px 24px; border-bottom: 1px solid rgba(255,255,255,.1); }
.footer-bar-inner {
  max-width: 1200px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  direction: ltr;
}

.footer-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 8px 28px;
}
.footer-item:first-child { padding-left: 0; }
.footer-item:last-child  { padding-right: 0; }
.footer-item + .footer-item { border-left: 1px solid rgba(255,255,255,.1); }

.footer-item-icon {
  width: 42px; height: 42px; min-width: 42px;
  background: rgba(249,115,22,.12);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  color: var(--orange);
  flex-shrink: 0;
}
.footer-item-icon svg { width: 18px; height: 18px; }

.footer-item-text { display: flex; flex-direction: column; gap: 3px; }

.footer-item-label {
  font-family: 'Montserrat', sans-serif;
  font-size: .65rem;
  font-weight: 700;
  letter-spacing: .1em;
  text-transform: uppercase;
  color: rgba(192,200,212,.45);
}

.footer-item-value {
  font-size: .875rem;
  font-weight: 600;
  color: var(--white);
  text-decoration: none;
  transition: color var(--trans);
}
a.footer-item-value:hover { color: var(--orange); }

/* — Row 2: Copyright Bar — */
.footer-copy-bar { padding: 18px 24px; }
.footer-copy-inner { max-width: 1200px; margin: 0 auto; text-align: center; }
.footer-copy { color: rgba(192,200,212,.45); font-size: .82rem; }

/* — RTL footer — */
[dir="rtl"] .footer-item-text { direction: rtl; }
[dir="rtl"] .footer-item-label { letter-spacing: 0; }

/* — Responsive footer — */
@media (max-width: 900px) {
  .footer-bar-inner { grid-template-columns: 1fr 1fr; gap: 20px 0; }
  .footer-item { padding: 8px 16px; }
  .footer-item:first-child { padding-left: 16px; padding-right: 16px; }
  .footer-item:last-child  { padding-left: 16px; padding-right: 16px; }
  .footer-item:nth-child(odd)  { border-left: none; border-right: none; padding-left: 0; }
  .footer-item:nth-child(even) { border-left: 1px solid rgba(255,255,255,.1); }
}

@media (max-width: 480px) {
  .footer-bar-inner { grid-template-columns: 1fr; gap: 20px; }
  .footer-item,
  .footer-item:nth-child(odd),
  .footer-item:nth-child(even),
  [dir="rtl"] .footer-item:nth-child(odd),
  [dir="rtl"] .footer-item:nth-child(even) {
    border: none;
    padding: 0;
  }
}

/* ═══════════════════ ANIMATIONS ═══════════════════ */
.fade-up {
  opacity: 0;
  transform: translateY(32px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-up.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ═══════════════════ RESPONSIVE ═══════════════════ */
@media (max-width: 1024px) {
  .showcase-item { gap: 40px; }
  .why-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  /* Keep the language pill always visible in the bar; page links live in a
     permanent row under the logo bar (no hamburger — owner decision, 15 Jul 2026) */
  .nav-links { display: flex; }
  .nav-links li:not(.lang-li) { display: none; }
  nav { gap: 14px; }
  /* Bar pill is text-only (EN | عربي) on mobile to free room for the logo;
     the links-row copy of the pill is hidden entirely. */
  .nav-links .lang-flag { display: none; }
  /* Breathing room between the logo (which grows to fill free space) and the pill */
  .nav-logo { margin-right: 12px; }
  /* Smaller logo on phones (owner decision, 15 Jul 2026, trimmed a further 15%) —
     the full 84px crowned a fixed header that ate ~a fifth of narrow screens.
     The bar slims to match, keeping the logo-overflow proportion (84/70 ≈ 54/44). */
  .nav-logo img { max-height: 54px; }
  .nav-inner { height: 44px; }
  /* The old hamburger menu becomes an always-visible horizontal links row.
     margin-top clears the logo (which overflows its slim bar) so the divider
     doesn't cut through it; padding-top/bottom balance the gaps around the links. */
  .mobile-menu {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    padding: 7px 24px 0;
    border-top: 1px solid rgba(255,255,255,.12);
  }
  .mobile-menu a {
    border-bottom: none;
    font-size: .86rem;
    padding: 4px 0;
    white-space: nowrap;
  }
  .mobile-menu a.active { color: var(--orange); }
  .mobile-menu .lang-toggle { display: none; }
  /* The header is locked dir="ltr"; restore RTL order for the Arabic links row */
  [dir="rtl"] .mobile-menu { direction: rtl; }
  /* The fixed header grew by the links row — push page content down to match */
  #about, #why, #services, #contact { padding-top: 150px; }

  .two-col { grid-template-columns: 1fr; gap: 40px; }
  .about-badge { bottom: -12px; right: 12px; }

  .stats-inner { grid-template-columns: repeat(2, 1fr); }
  .stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
  .stat:nth-child(odd) { border-right: 1px solid rgba(255,255,255,.2); }
  .stat:nth-last-child(-n+2) { border-bottom: none; }

  .showcase-item,
  .showcase-item.reverse { grid-template-columns: 1fr; direction: ltr; }
  .showcase-item.reverse .showcase-img { order: -1; }
  .service-showcase { gap: 56px; }

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

  .contact-form { padding: 28px 20px; }
  .form-row { grid-template-columns: 1fr; }

  section { padding: 64px 0; }
}

@media (max-width: 480px) {
  .stats-inner { grid-template-columns: 1fr; }
  .stat,
  .stat:nth-child(odd) { border-right: none; border-bottom: 1px solid rgba(255,255,255,.2); }
}

/* ═══════════════════ RTL — ARABIC ═══════════════════ */
[dir="rtl"] body {
  font-family: 'Tajawal', 'Open Sans', sans-serif;
}
[dir="rtl"] h1,
[dir="rtl"] h2,
[dir="rtl"] h3,
[dir="rtl"] h4 {
  font-family: 'Tajawal', 'Montserrat', sans-serif;
}
/* Counters were <h3> and inherited Tajawal; they are now <div> — keep the same font. */
[dir="rtl"] .stat .count {
  font-family: 'Tajawal', 'Montserrat', sans-serif;
}
/* Service labels were <span> and kept their Montserrat fallback; they are now <h2> —
   hold the rule above off them so the pills render exactly as before. */
[dir="rtl"] h2.service-label {
  font-family: 'Montserrat', sans-serif;
}

/* Remove letter-spacing (looks bad on Arabic) */
[dir="rtl"] .nav-links a,
[dir="rtl"] .section-tag,
[dir="rtl"] .service-label,
[dir="rtl"] .mv-label,
[dir="rtl"] .stats-eyebrow span:not(.eyebrow-line),
[dir="rtl"] .stat p,
[dir="rtl"] .contact-item strong,
[dir="rtl"] .badge-top {
  letter-spacing: 0;
}

/* Navbar is always LTR — locked via dir="ltr" on <header> */

/* About section: lock two-col layout to match English (image left, text right) */
[dir="rtl"] #about .two-col {
  direction: ltr;
}
[dir="rtl"] .about-text {
  direction: rtl;
}
/* Badge direction for Arabic */
[dir="rtl"] .about-badge {
  direction: rtl;
}
/* Badge typography for Arabic */
[dir="rtl"] .badge-top {
  font-size: 12px;
}
[dir="rtl"] .badge-bottom {
  font-family: 'Tajawal', sans-serif;
  font-style: normal;
  font-size: 16px;
}

/* Services showcase: lock grid column order to match English layout.
   .service-showcase → LTR keeps images/text in same positions.
   .showcase-item.reverse still has direction:rtl so it swaps correctly.
   Text blocks restored to RTL so Arabic reads right-to-left. */
[dir="rtl"] .service-showcase,
[dir="rtl"] .add-services-grid {
  direction: ltr;
}
[dir="rtl"] .showcase-text,
[dir="rtl"] .showcase-list,
[dir="rtl"] .add-service-body {
  direction: rtl;
}

/* Service cards: left border → right border */
[dir="rtl"] .add-service-card {
  border-left: none;
  border-right: 4px solid var(--orange);
}

/* Mission/Vision: lock grid column order, restore text to RTL */
[dir="rtl"] .mv-grid {
  direction: ltr;
}
[dir="rtl"] .mv-card {
  direction: rtl;
}
/* Arabic card titles read too small at the English tag size (.75rem);
   the English design keeps its intentional small-tag look. */
[dir="rtl"] .mv-label {
  font-size: 1.15rem;
}

/* Same reasoning for the Arabic contact eyebrow — matched to .mv-label above
   (owner decision, 15 Jul 2026). English keeps the small-tag size. */
[dir="rtl"] #contact .section-tag {
  font-size: 1.15rem;
}

/* Mission/Vision accent bar: left → right */
[dir="rtl"] .mv-card::before {
  left: auto;
  right: 0;
}

/* Stats: lock column order to LTR so positions match in both languages */
[dir="rtl"] .stats-inner {
  direction: ltr;
}
[dir="rtl"] .stat p {
  direction: rtl;
}

/* Form inputs align right in RTL */
[dir="rtl"] .contact-form input,
[dir="rtl"] .contact-form select,
[dir="rtl"] .contact-form textarea {
  text-align: right;
}

