@font-face {
  font-family: "Noto Kufi Arabic";
  src: url("assets/fonts/NotoKufiArabic-Regular.ttf") format("truetype");
  font-weight: 400 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --midnight: #191970;
  --deep: #070d3a;
  --navy: #10185f;
  --ivory: #f8f9fa;
  --gold: #d4af37;
  --blue: #1e90ff;
  --ink: #111827;
  --muted: #687386;
  --line: rgba(25, 25, 112, 0.14);
  --white: #ffffff;
  --shadow: 0 26px 80px rgba(7, 13, 58, 0.2);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "Noto Kufi Arabic", Arial, sans-serif;
  color: var(--ink);
  background: var(--ivory);
  line-height: 1.55;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(rgba(25, 25, 112, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(25, 25, 112, 0.035) 1px, transparent 1px);
  background-size: 54px 54px;
  mask-image: linear-gradient(to bottom, transparent, black 18%, black 82%, transparent);
}

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

img {
  max-width: 100%;
}

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  width: 100%;
  min-height: 68px;
  padding: 9px clamp(16px, 5vw, 72px);
  background: rgba(7, 13, 58, 0.94);
  border-bottom: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(20px);
  transition: background 260ms ease, box-shadow 260ms ease;
}

.site-header.is-scrolled {
  background: rgba(7, 13, 58, 0.98);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.brand img {
  display: block;
  width: clamp(142px, 16vw, 205px);
  height: auto;
  border-radius: 4px;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: clamp(10px, 1.4vw, 20px);
  color: #eef4ff;
  font-size: 0.84rem;
  font-weight: 800;
}

.site-nav a {
  position: relative;
  padding: 9px 2px;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 6px;
  left: 0;
  height: 2px;
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: right;
  transition: transform 220ms ease;
}

.site-nav a:hover::after {
  transform: scaleX(1);
  transform-origin: left;
}

.language-switcher {
  display: flex;
  align-items: center;
  gap: 4px;
  margin-inline-start: clamp(4px, 1.2vw, 16px);
  padding: 4px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
}

.language-switcher button {
  min-width: 38px;
  min-height: 32px;
  padding: 6px 9px;
  color: #eef4ff;
  background: transparent;
  border: 0;
  border-radius: 6px;
  font: inherit;
  font-size: 0.76rem;
  font-weight: 900;
  cursor: pointer;
}

.language-switcher button.is-active {
  color: var(--deep);
  background: var(--gold);
}

.menu-toggle {
  display: none;
  width: 38px;
  height: 38px;
  padding: 8px;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--white);
}

.hero {
  position: relative;
  display: grid;
  align-items: end;
  min-height: 100vh;
  padding: 138px clamp(18px, 5vw, 76px) 58px;
  overflow: hidden;
  color: var(--white);
  background: var(--deep);
}

.hero-image,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.hero-image {
  object-fit: cover;
  animation: slowZoom 18s ease-in-out infinite alternate;
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(7, 13, 58, 0.98) 0%, rgba(7, 13, 58, 0.78) 36%, rgba(7, 13, 58, 0.24) 76%),
    linear-gradient(0deg, rgba(7, 13, 58, 0.9), transparent 45%);
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 850px;
}

.eyebrow {
  margin: 0 0 14px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1 {
  margin-bottom: 4px;
  font-size: clamp(4.8rem, 12vw, 10.5rem);
  line-height: 0.84;
  font-weight: 900;
}

.hero-subtitle {
  margin-bottom: 24px;
  color: #e7efff;
  font-size: clamp(1.45rem, 3vw, 2.8rem);
  font-weight: 800;
}

.hero-copy {
  max-width: 720px;
  margin-bottom: 34px;
  color: #e9f0ff;
  font-size: clamp(1rem, 1.45vw, 1.28rem);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  padding: 14px 22px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-weight: 900;
  cursor: pointer;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button.primary {
  color: var(--deep);
  background: var(--gold);
  box-shadow: 0 16px 36px rgba(212, 175, 55, 0.25);
}

.button.ghost {
  color: var(--white);
  border-color: rgba(255, 255, 255, 0.38);
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1px;
  max-width: 980px;
  margin-top: 64px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(18px);
}

.hero-metrics div {
  padding: 22px;
  background: rgba(255, 255, 255, 0.08);
}

.hero-metrics strong {
  display: block;
  color: var(--gold);
  font-size: 1.08rem;
}

.hero-metrics span {
  color: #dbe7ff;
  font-size: 0.92rem;
}

.section {
  padding: clamp(74px, 9vw, 130px) clamp(18px, 5vw, 76px);
}

section[id] {
  scroll-margin-top: 82px;
}

.intro-section,
.opportunity-section {
  display: grid;
  grid-template-columns: minmax(280px, 0.78fr) minmax(0, 1fr);
  gap: clamp(34px, 6vw, 90px);
}

.section-title {
  max-width: 980px;
}

h2 {
  margin-bottom: 0;
  color: var(--midnight);
  font-size: clamp(2.15rem, 4.8vw, 5rem);
  line-height: 0.98;
  font-weight: 900;
}

.intro-copy,
.opportunity-copy > p,
.feature-copy > p {
  color: var(--muted);
  font-size: 1.08rem;
}

.marquee {
  overflow: hidden;
  padding: 18px 0;
  color: var(--white);
  background: var(--midnight);
}

.marquee div {
  display: flex;
  width: max-content;
  gap: 34px;
  animation: marquee 28s linear infinite;
}

.marquee span {
  font-weight: 900;
  text-transform: uppercase;
  white-space: nowrap;
}

.marquee span::before {
  content: "";
  display: inline-block;
  width: 8px;
  height: 8px;
  margin-right: 34px;
  background: var(--gold);
  border-radius: 50%;
  vertical-align: middle;
}

.services-section {
  background: #eef3fa;
}

.service-wall {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr 0.8fr;
  grid-auto-rows: minmax(260px, auto);
  gap: 18px;
  margin-top: 44px;
}

.service-tile {
  position: relative;
  overflow: hidden;
  padding: clamp(24px, 3vw, 38px);
  color: var(--white);
  background: linear-gradient(145deg, var(--midnight), var(--deep));
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

.service-tile:hover {
  transform: translateY(-6px);
  box-shadow: 0 34px 90px rgba(7, 13, 58, 0.28);
}

.service-tile.large {
  grid-row: span 2;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  min-height: 540px;
  background:
    linear-gradient(180deg, rgba(7, 13, 58, 0.1), rgba(7, 13, 58, 0.92)),
    url("assets/markets-trade.png") center / cover;
}

.service-tile.image-tile {
  padding: 0;
  background: var(--deep);
}

.service-tile.image-tile img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 260px;
  object-fit: cover;
}

.service-tile span {
  display: inline-block;
  margin-bottom: 18px;
  color: var(--gold);
  font-weight: 900;
}

.service-tile h3 {
  margin-bottom: 12px;
  color: var(--white);
  font-size: clamp(1.35rem, 2vw, 2.1rem);
  line-height: 1.08;
}

.service-tile p {
  margin-bottom: 0;
  color: #dfe9ff;
}

.feature-section {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.82fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: clamp(74px, 9vw, 130px) clamp(18px, 5vw, 76px);
  color: var(--white);
  background: var(--deep);
}

.feature-media {
  position: relative;
}

.feature-media::after {
  content: "";
  position: absolute;
  right: -18px;
  bottom: -18px;
  width: 42%;
  height: 42%;
  border-right: 4px solid var(--gold);
  border-bottom: 4px solid var(--gold);
}

.feature-media img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 28px 90px rgba(0, 0, 0, 0.35);
}

.feature-copy h2 {
  color: var(--white);
}

.feature-copy > p {
  color: #dbe7ff;
}

.chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 28px;
}

.chips span {
  padding: 9px 13px;
  color: #f2f7ff;
  background: rgba(30, 144, 255, 0.18);
  border: 1px solid rgba(30, 144, 255, 0.35);
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 800;
}

.approach-section {
  background: var(--ivory);
}

.process {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 1px;
  padding: 0;
  margin: 42px 0 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 8px;
  list-style: none;
}

.process li {
  min-height: 210px;
  padding: 26px;
  background: var(--white);
}

.process li:nth-child(even) {
  background: #f0f5fb;
}

.process span {
  display: block;
  margin-bottom: 30px;
  color: var(--midnight);
  font-size: 1.14rem;
  font-weight: 900;
}

.process p {
  margin: 0;
  color: var(--muted);
}

.opportunity-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(7, 13, 58, 0.96), rgba(7, 13, 58, 0.78)),
    url("assets/markets-trade.png") center / cover fixed;
}

.opportunity-section h2,
.opportunity-section .eyebrow {
  color: var(--white);
}

.opportunity-section .eyebrow {
  color: var(--gold);
}

.opportunity-copy > p {
  color: #dfe9ff;
}

.opportunity-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(16px);
}

.opportunity-grid div {
  padding: 28px;
  background: rgba(255, 255, 255, 0.08);
}

.opportunity-grid strong {
  display: block;
  margin-bottom: 8px;
  color: var(--gold);
  font-size: 1.18rem;
}

.opportunity-grid span {
  color: #e9f0ff;
}

.contact-section {
  padding: clamp(74px, 9vw, 130px) clamp(18px, 5vw, 76px);
  background: #eef3fa;
}

.contact-wrap {
  max-width: 1180px;
  margin: 0 auto;
}

.contact-heading {
  max-width: 890px;
  margin-bottom: 34px;
}

.contact-heading h2 {
  max-width: 860px;
  color: var(--midnight);
}

.contact-heading p {
  max-width: 780px;
  color: var(--muted);
  font-size: 1.08rem;
}

.contact-card-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
}

.contact-card {
  min-height: 220px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 20px;
  padding: 26px;
  color: var(--white);
  background: linear-gradient(145deg, var(--midnight), var(--deep));
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  box-shadow: var(--shadow);
  transition: transform 220ms ease, box-shadow 220ms ease;
}

a.contact-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 34px 90px rgba(7, 13, 58, 0.28);
}

.contact-card-label {
  width: fit-content;
  padding: 6px 10px;
  color: var(--deep);
  background: var(--gold);
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.contact-card strong {
  display: block;
  color: var(--white);
  font-size: clamp(1.05rem, 1.3vw, 1.35rem);
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.contact-card > span:last-child {
  color: #dfe9ff;
}

.contact-lines {
  display: grid;
  gap: 8px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px clamp(18px, 5vw, 76px);
  color: #dfe9ff;
  background: var(--deep);
}

.site-footer img {
  width: 190px;
  border-radius: 4px;
}

.site-footer p {
  margin: 0;
  color: var(--gold);
  font-weight: 900;
}

.site-footer div {
  display: flex;
  gap: 18px;
  font-weight: 800;
}

[dir="rtl"] .site-nav a::after {
  transform-origin: left;
}

[dir="rtl"] .site-nav a:hover::after {
  transform-origin: right;
}

[dir="rtl"] .hero-shade {
  background:
    linear-gradient(270deg, rgba(7, 13, 58, 0.98) 0%, rgba(7, 13, 58, 0.78) 36%, rgba(7, 13, 58, 0.24) 76%),
    linear-gradient(0deg, rgba(7, 13, 58, 0.9), transparent 45%);
}

[dir="rtl"] .hero-content,
[dir="rtl"] .section-title,
[dir="rtl"] .intro-copy,
[dir="rtl"] .feature-copy,
[dir="rtl"] .opportunity-copy,
[dir="rtl"] .contact-heading {
  text-align: right;
}

[dir="rtl"] .hero-actions,
[dir="rtl"] .chips {
  justify-content: flex-start;
}

[dir="rtl"] .feature-media::after {
  right: auto;
  left: -18px;
  border-right: 0;
  border-left: 4px solid var(--gold);
}

[dir="rtl"] .marquee div {
  animation-direction: reverse;
}

.js .reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 700ms ease, transform 700ms ease;
}

.js .reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes slowZoom {
  from {
    transform: scale(1);
  }
  to {
    transform: scale(1.08);
  }
}

@keyframes marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}

@media (max-width: 1040px) {
  .menu-toggle {
    display: block;
  }

  .site-nav {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    left: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    background: rgba(7, 13, 58, 0.96);
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    order: 4;
  }

  .site-nav.is-open {
    display: flex;
  }

  .site-nav a {
    padding: 13px 12px;
  }

  .site-nav .language-switcher {
    justify-content: center;
    width: 100%;
    margin: 10px 0 0;
    padding: 8px;
  }

  .site-nav .language-switcher button {
    flex: 1;
  }

  .intro-section,
  .feature-section,
  .opportunity-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .service-wall {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

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

  .contact-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 700px) {
  .site-header {
    min-height: 60px;
    padding: 8px 12px;
  }

  .brand img {
    width: 128px;
  }

  .site-nav .language-switcher {
    gap: 2px;
    padding: 3px;
  }

  .site-nav .language-switcher button {
    min-width: 32px;
    min-height: 30px;
    padding: 5px 7px;
    font-size: 0.68rem;
  }

  .hero {
    min-height: 92vh;
    padding: 112px 16px 34px;
  }

  .hero-shade {
    background:
      linear-gradient(90deg, rgba(7, 13, 58, 0.98), rgba(7, 13, 58, 0.72)),
      linear-gradient(0deg, rgba(7, 13, 58, 0.95), transparent 48%);
  }

  h1 {
    font-size: 4.7rem;
  }

  .hero-metrics,
  .service-wall,
  .process,
  .opportunity-grid,
  .contact-card-grid {
    grid-template-columns: 1fr;
  }

  .contact-card {
    min-height: 190px;
  }

  .contact-heading h2 {
    font-size: 2.65rem;
    line-height: 1.02;
  }

  .contact-heading p {
    font-size: 1rem;
  }

  .hero-metrics {
    margin-top: 34px;
  }

  .service-tile.large {
    min-height: 420px;
  }

  .section,
  .feature-section,
  .contact-section {
    padding-inline: 16px;
  }

  .opportunity-section {
    background-attachment: scroll;
  }

  .site-footer {
    flex-direction: column;
    align-items: flex-start;
  }
}
