body.is-arabic {
  direction: rtl;
  font-family: var(--arabic-body-font);
  letter-spacing: normal;
}

body.is-arabic h1,
body.is-arabic h2,
body.is-arabic h3,
body.is-arabic h4 {
  font-family: var(--arabic-heading-font);
}

body.is-arabic .top-bar,
body.is-arabic .top-bar__inner,
body.is-arabic .primary-nav,
body.is-arabic .primary-nav a,
body.is-arabic .primary-nav__investor,
body.is-arabic .language-switch {
  font-family: var(--arabic-heading-font);
  text-transform: none;
  letter-spacing: 0;
}

body.is-arabic .top-bar__inner {
  justify-content: space-between;
  grid-template-columns: auto 1fr auto;
}

body.is-arabic .top-bar__actions {
  flex-direction: row-reverse;
  gap: 12px;
}

body.is-arabic .language-switch {
  direction: ltr;
}

body.is-arabic .primary-nav ul {
  justify-content: flex-end;
  gap: clamp(14px, 2.4vw, 28px);
}

body.is-arabic .primary-nav a {
  font-weight: 400;
}


/* Hero Section - Arabic RTL Layout */
body.is-arabic .hero::before {
  background: radial-gradient(circle at 85% 22%, rgba(8, 126, 139, 0.5), transparent 45%),
    radial-gradient(circle at 20% 38%, rgba(246, 195, 67, 0.35), transparent 55%),
    radial-gradient(circle at 55% 78%, rgba(35, 176, 193, 0.45), transparent 60%),
    linear-gradient(300deg, #071220 0%, #0a2342 30%, #114d61 55%, #1f706b 80%, #071220 100%);
  background-size: 180% 180%;
}

body.is-arabic .hero::after {
  background: radial-gradient(circle at 70% 32%, rgba(255, 255, 255, 0.16), transparent 60%);
}

body.is-arabic .hero__visual::before {
  inset: 10% 14%;
  background: linear-gradient(225deg, rgba(255, 255, 255, 0.4), rgba(8, 126, 139, 0.25));
}

body.is-arabic .hero__layout {
  display: grid;
  grid-template-columns: 1fr;
  grid-template-areas:
    "visual"
    "text";
  gap: clamp(32px, 6vw, 64px);
  align-items: center;
  direction: rtl;
}

body.is-arabic .hero__text {
  grid-area: text;
  text-align: right;
  align-items: flex-end;
  direction: rtl;
}

body.is-arabic .hero__visual {
  grid-area: visual;
  justify-self: center;
  direction: ltr;
}

body.is-arabic .hero__text h1 {
  font-family: var(--arabic-heading-font);
  font-weight: 700;
  line-height: 1.4;
  margin: 0 0 clamp(12px, 2vw, 18px);
}

body.is-arabic .hero__subhead {
  font-family: var(--arabic-body-font);
  font-weight: 400;
  margin: 0;
  font-size: clamp(1.3rem, 1vw + 1.3rem, 1.78rem);
  line-height: 1.6;
}

body.is-arabic .hero__mantra {
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-transform: none;
  letter-spacing: 0;
  gap: clamp(10px, 1.8vw, 18px);
  margin: clamp(12px, 2vw, 18px) 0 0;
  direction: rtl;
  text-align: right;
  flex-wrap: nowrap;
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

body.is-arabic .hero__mantra::-webkit-scrollbar {
  display: none;
}

body.is-arabic .hero__mantra span {
  letter-spacing: 0;
  flex-shrink: 0;
}

body.is-arabic .hero__mantra strong {
  font-family: var(--arabic-heading-font);
  font-weight: 400;
  font-size: clamp(1.25rem, 0.96vw + 1.12rem, 1.6rem);
  flex-shrink: 0;
}

body.is-arabic .hero__link-line {
  margin: 16px 0 0;
  text-align: right;
  direction: rtl;
}

body.is-arabic .hero__inline-link {
  font-family: var(--arabic-body-font);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  font-size: clamp(1.3rem, 0.9vw + 1.15rem, 1.55rem);
  display: inline-block;
}

body.is-arabic .hero__inline-link::after {
  left: auto;
  right: 0;
  transform-origin: right;
}

/* Tablet and Desktop Layout (900px and above) */
@media (min-width: 900px) {
  body.is-arabic .hero__layout {
    grid-template-columns: minmax(320px, 1fr) minmax(320px, 1fr);
    grid-template-areas: "text visual";
    gap: clamp(36px, 6vw, 72px);
  }

  body.is-arabic .hero__visual {
    justify-self: end;
  }

  body.is-arabic .hero__text {
    justify-self: start;
  }
}

/* Mobile optimizations */
@media (max-width: 899px) {
  body.is-arabic .hero__content {
    padding: clamp(72px, 10vw, 96px) clamp(24px, 6vw, 48px) clamp(56px, 8vw, 80px);
  }

  body.is-arabic .hero__text h1 {
    font-size: clamp(32px, 8vw, 48px);
    line-height: 1.35;
  }

  body.is-arabic .hero__subhead {
    font-size: clamp(1.15rem, 4vw, 1.45rem);
  }

  body.is-arabic .hero__mantra {
    font-size: clamp(0.95rem, 3.5vw, 1.15rem);
    gap: clamp(8px, 2vw, 14px);
  }

  body.is-arabic .hero__mantra strong {
    font-size: clamp(1.05rem, 4vw, 1.35rem);
  }

  body.is-arabic .hero__inline-link {
    font-size: clamp(1.1rem, 4.5vw, 1.35rem);
  }

  body.is-arabic .hero__visual img {
    width: min(480px, 95%);
  }
}

/* Extra small mobile */
@media (max-width: 480px) {
  body.is-arabic .hero__content {
    padding: clamp(56px, 12vw, 72px) clamp(20px, 5vw, 32px) clamp(48px, 10vw, 64px);
  }

  body.is-arabic .hero__layout {
    gap: clamp(24px, 8vw, 40px);
  }

  body.is-arabic .hero__text h1 {
    font-size: clamp(28px, 9vw, 42px);
  }

  body.is-arabic .hero__mantra {
    /* Keep single line with horizontal scroll on very small screens */
    justify-content: flex-start;
  }

  body.is-arabic .hero__visual img {
    width: min(380px, 100%);
  }
}
body.is-arabic .section__inner,
body.is-arabic .section-header,
body.is-arabic .services__inner,
body.is-arabic .audience__inner,
body.is-arabic .numbers__inner,
body.is-arabic .funding-model__inner,
body.is-arabic .contact__inner {
  text-align: right;
}

body.is-arabic .funding-model__header h2 {
  font-family: var(--arabic-body-font);
  font-weight: 600;
  font-size: var(--section-title-size);
  line-height: var(--section-title-line);
  letter-spacing: 0;
  text-align: right;
}

body.is-arabic .model__column h3 {
  font-family: var(--arabic-body-font);
  font-weight: 600;
}

body.is-arabic .model__column p {
  font-family: var(--arabic-body-font);
  font-weight: 400;
}

body.is-arabic .services__tile,
body.is-arabic .services__tile p {
  text-align: right;
  font-family: var(--arabic-body-font);
}

body.is-arabic .how-it-works__body,
body.is-arabic .how-it-works__lead,
body.is-arabic .how-it-works__copy {
  text-align: right;
  font-family: var(--arabic-body-font);
}

body.is-arabic .how-it-works__lead,
body.is-arabic .how-it-works__copy p {
  color: #fefdfc;
}

body.is-arabic .how-it-works__header h2 {
  font-family: var(--arabic-heading-font);
  font-weight: 500;
  font-size: var(--section-title-size);
  line-height: var(--section-title-line);
  letter-spacing: 0.08em;
}

body.is-arabic .how-it-works__visual {
  align-items: center;
  justify-content: center;
}

body.is-arabic .how-it-works__visual img {
  display: block;
  margin-inline: auto;
}

body.is-arabic .services__intro {
  font-family: "ExpoArabic", "GhaithSans", sans-serif;
  font-weight: 500;
  font-size: var(--section-title-size);
  line-height: var(--section-title-line);
  letter-spacing: 0;
}

body.is-arabic .audience__title {
  text-align: right;
  font-family: var(--arabic-heading-font);
  font-weight: 700;
  font-size: var(--section-title-size);
  line-height: var(--section-title-line);
}

body.is-arabic .services__tile p {
  font-size: var(--card-body-size);
  line-height: 1.6;
}

body.is-arabic .audience__title-main {
  font-family: "GhaithSans", "ExpoArabic", sans-serif;
  font-weight: 700;
}

body.is-arabic .audience__title-tail {
  font-family: var(--arabic-heading-font);
  font-weight: 400;
}

body.is-arabic .audience__header p {
  font-family: var(--arabic-body-font);
  font-weight: 600;
  font-size: var(--section-lead-size);
  color: #ffffff;
}

body.is-arabic .audience__item h3 {
  font-family: var(--arabic-body-font);
  font-weight: 700;
}

body.is-arabic .audience__item p {
  font-family: var(--arabic-body-font);
  font-weight: 400;
}

body.is-arabic .audience__item {
  padding-left: 0;
  padding-right: 58px;
}

body.is-arabic .audience__item::before {
  left: auto;
  right: 16px;
}

body.is-arabic .audience__item::after {
  left: auto;
  right: 24px;
}

@media (max-width: 768px) {
  body.is-arabic .audience__item {
    padding-right: 32px;
  }

  body.is-arabic .audience__item::before {
    right: 4px;
  }

  body.is-arabic .audience__item::after {
    right: 9px;
  }
}

body.is-arabic .numbers__inner {
  direction: rtl;
  text-align: right;
}

body.is-arabic .numbers__label {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
}

body.is-arabic .numbers__title {
  margin: 0;
  font-family: var(--arabic-heading-font);
  font-weight: 500;
  font-size: var(--section-title-size);
  line-height: var(--section-title-line);
  letter-spacing: 0;
  text-transform: none;
}

body.is-arabic .numbers__content {
  direction: rtl;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(24px, 4vw, 32px);
  overflow-x: visible;
}

body.is-arabic .numbers__item {
  text-align: center;
  align-items: center;
  margin: 0;
}

body.is-arabic .numbers__figure {
  width: 100%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: clamp(6px, 1.2vw, 10px);
  direction: ltr;
}

body.is-arabic .stat__caption {
  text-align: center;
  font-family: "ExpoArabic", "GhaithSans", sans-serif;
  font-weight: 400;
}

body.is-arabic .numbers__meta {
  align-items: center;
  text-align: center;
  width: 100%;
}

body.is-arabic .model__split {
  direction: rtl;
  text-align: right;
}

@media (min-width: 900px) {
  body.is-arabic .model__column--equity {
    transform: translateX(-10%);
  }
}

@media (max-width: 899px) {
  body.is-arabic .model__column--equity {
    transform: none;
  }
}

body.is-arabic .contact__panel,
body.is-arabic .contact__form,
body.is-arabic .contact__feedback {
  direction: rtl;
  text-align: right;
}

body.is-arabic .contact__field label {
  text-transform: none;
  letter-spacing: 0;
  font-size: 0.95rem;
}

body.is-arabic .contact__field input,
body.is-arabic .contact__field textarea,
body.is-arabic .contact__select select {
  text-align: right;
}

body.is-arabic #contact-message {
  direction: rtl;
}

body.is-arabic .contact__submit {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--arabic-body-font);
  font-weight: 600;
}

body.is-arabic .back-to-top-button {
  text-transform: none;
  letter-spacing: 0;
  font-family: var(--arabic-body-font);
  font-weight: 600;
}

body.is-arabic .site-footer__inner {
  text-align: right;
}

body.is-arabic .site-footer__contact h4,
body.is-arabic .site-footer__contact span {
  text-transform: none;
  letter-spacing: 0;
}

body.is-arabic .site-footer__contact-note {
  margin: 0;
  font-size: 0.95rem;
  color: rgba(240, 244, 248, 0.9);
  line-height: 1.8;
}

body.is-arabic .site-footer__contact-note a {
  color: inherit;
  font-weight: 600;
}


