:root {
  --navy: #07143a;
  --blue: #00699e;
  --red: #e3062c;
  --yellow: #ffd400;
  --sky: #e8f6ff;
  --ink: #14213d;
  --muted: #5b6472;
  --line: rgba(7,20,58,.12);
  --bg: #ffffff;
  --soft: #f7fbff;
  --radius: 22px;
  --shadow: 0 24px 70px rgba(7,20,58,.12);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--ink);
  background: var(--bg);
  line-height: 1.6;
}
a { color: inherit; text-decoration: none; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 18px 6vw;
  background: rgba(255,255,255,.94);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid var(--line);
}
.brand img { height: 46px; width: auto; display: block; }
.main-nav {
  display: flex;
  align-items: center;
  gap: 23px;
  font-weight: 700;
  color: var(--navy);
}
.main-nav a { position: relative; white-space: nowrap; }
.main-nav a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -8px;
  width: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--blue), var(--yellow), var(--red));
  transition: width .25s ease;
}
.main-nav a:hover::after { width: 100%; }
.lang-switch, .nav-toggle {
  border: 1px solid var(--line);
  background: white;
  color: var(--navy);
  border-radius: 999px;
  padding: 10px 14px;
  font-weight: 800;
  cursor: pointer;
}
.nav-toggle { display: none; font-size: 22px; border: none; }

.hero {
  position: relative;
  overflow: hidden;
  display: grid;
  grid-template-columns: minmax(0,1.2fr) minmax(260px,.8fr);
  align-items: center;
  gap: 48px;
  padding: 90px 6vw 70px;
  background:
    radial-gradient(circle at 85% 15%, rgba(0,105,158,.16), transparent 28%),
    linear-gradient(135deg, #fff 0%, #f8fbff 56%, #f1f9ff 100%);
}
.hero::before {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 8px;
  background: linear-gradient(90deg, var(--blue) 0 33%, var(--yellow) 33% 66%, var(--red) 66% 100%);
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
  font-size: .82rem;
  margin: 0 0 14px;
}
.eyebrow::before {
  content: "";
  width: 36px;
  height: 4px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--blue), var(--yellow), var(--red));
}
h1, h2, h3 { color: var(--navy); line-height: 1.08; margin: 0; }
h1 { max-width: 880px; font-size: clamp(2.5rem, 5.4vw, 5.6rem); letter-spacing: -.06em; }
h2 { font-size: clamp(2rem, 3.8vw, 3.25rem); letter-spacing: -.045em; margin-bottom: 20px; }
h3 { font-size: 1.25rem; margin-bottom: 10px; }
.hero-text { max-width: 790px; font-size: 1.22rem; color: var(--muted); margin: 24px 0 34px; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 18px; }
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 900;
}
.btn.primary { background: var(--navy); color: white; box-shadow: 0 15px 36px rgba(7,20,58,.22); }
.btn.secondary { background: white; color: var(--navy); border: 1px solid var(--line); }
.hero-card {
  justify-self: center;
  width: min(420px, 100%);
  border-radius: 38px;
  padding: 36px;
  background: white;
  box-shadow: var(--shadow);
  border: 1px solid var(--line);
}
.hero-card img { width: 100%; display: block; }

.stats {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 1px;
  padding: 0 6vw;
  background: var(--line);
}
.stats article { background: white; padding: 32px 24px; }
.stats strong, .market-grid strong {
  display: block;
  color: var(--navy);
  font-size: clamp(1.7rem, 2.8vw, 2.8rem);
  letter-spacing: -.05em;
}
.stats span, .market-grid span { display: block; color: var(--muted); font-weight: 700; }

.section { padding: 86px 6vw; }
.section:nth-of-type(odd) { background: var(--soft); }
.section-intro { max-width: 830px; color: var(--muted); font-size: 1.12rem; margin-top: -4px; }
.two-column { display: grid; grid-template-columns: minmax(0,.9fr) minmax(0,1.1fr); gap: 60px; }
.copy p, .market p, .contact p { font-size: 1.1rem; color: var(--muted); margin-top: 0; }

.cards, .contact-grid, .market-grid, .partner-cards, .feature-grid, .timeline {
  display: grid;
  gap: 18px;
}
.cards { grid-template-columns: repeat(4,1fr); margin-top: 34px; }
.card, .partner-cards article, .contact-card, .market-grid div, .timeline article, .feature-grid article {
  background: white;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: 0 14px 40px rgba(7,20,58,.06);
}
.card { padding: 28px; min-height: 250px; }
.card p, .partner-cards p, .feature-grid p, .timeline p { color: var(--muted); margin-bottom: 0; }
.card-icon { font-size: 2.2rem; display: inline-block; margin-bottom: 18px; }

.chain { background: linear-gradient(180deg, #fff 0%, #f7fbff 100%); }
.timeline { grid-template-columns: repeat(3,1fr); margin-top: 34px; }
.timeline article { padding: 28px; position: relative; overflow: hidden; }
.timeline article::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(90deg, var(--blue), var(--yellow), var(--red));
}
.timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 46px;
  height: 46px;
  border-radius: 999px;
  background: var(--navy);
  color: white;
  font-weight: 900;
  margin-bottom: 18px;
}

.market {
  display: grid;
  grid-template-columns: minmax(0,1fr) minmax(300px,.9fr);
  gap: 40px;
  align-items: center;
  background: var(--navy) !important;
  color: white;
}
.market h2, .market .eyebrow, .market p { color: white; }
.market .eyebrow::before { background: linear-gradient(90deg, var(--blue), var(--yellow), var(--red)); }
.market-grid { grid-template-columns: 1fr; }
.market-grid div { padding: 28px; background: rgba(255,255,255,.08); border-color: rgba(255,255,255,.18); box-shadow: none; }
.market-grid strong, .market-grid span { color: white; }

.feature-grid { grid-template-columns: repeat(3,1fr); margin-top: 34px; }
.feature-grid article { padding: 30px; }
.partner { background: var(--soft); }
.partner-cards { grid-template-columns: repeat(3,1fr); margin-top: 24px; }
.partner-cards article { padding: 28px; }
.contact-grid { grid-template-columns: repeat(3,1fr); margin-top: 30px; }
.contact-card { padding: 28px; }
.contact-card a { display: block; color: var(--blue); font-weight: 800; margin-top: 8px; word-break: break-word; }
address {
  display: block;
  margin-top: 28px;
  padding: 22px 26px;
  border-radius: var(--radius);
  background: var(--soft);
  border: 1px solid var(--line);
  font-style: normal;
  font-weight: 800;
  color: var(--navy);
}
.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  padding: 28px 6vw;
  background: var(--navy);
  color: white;
}
.site-footer img { height: 38px; width: auto; background: white; border-radius: 8px; padding: 4px 8px; }
.site-footer p { margin: 0; color: rgba(255,255,255,.82); }

@media (max-width: 1050px) {
  .hero, .two-column, .market { grid-template-columns: 1fr; }
  .cards, .timeline { grid-template-columns: repeat(2,1fr); }
  .contact-grid, .partner-cards, .feature-grid { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .site-header { padding: 14px 5vw; }
  .brand img { height: 40px; }
  .nav-toggle { display: inline-flex; }
  .main-nav {
    position: absolute;
    top: 72px;
    left: 5vw;
    right: 5vw;
    display: none;
    flex-direction: column;
    align-items: stretch;
    padding: 20px;
    background: white;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    box-shadow: var(--shadow);
  }
  .main-nav.open { display: flex; }
  .main-nav a, .lang-switch { width: 100%; text-align: left; }
  .hero { padding: 70px 5vw 56px; }
  .stats { grid-template-columns: 1fr; padding: 0 5vw; }
  .section { padding: 64px 5vw; }
  .cards, .timeline { grid-template-columns: 1fr; }
  .site-footer { flex-direction: column; align-items: flex-start; }
}


/* Operational photo gallery merged into Operations */
.operations-gallery {
  margin-top: 56px;
  padding-top: 44px;
  border-top: 1px solid var(--line);
}
.operations-photo-head { margin-bottom: 0; }
.photo-head {
  display: grid;
  grid-template-columns: minmax(0, .9fr) minmax(280px, .8fr);
  gap: 36px;
  align-items: end;
}
.photo-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-auto-rows: 260px;
  gap: 18px;
  margin-top: 34px;
}
.photo-card {
  position: relative;
  overflow: hidden;
  margin: 0;
  min-height: 240px;
  border-radius: var(--radius);
  background: var(--navy);
  border: 1px solid var(--line);
  box-shadow: 0 18px 48px rgba(7,20,58,.12);
}
.photo-card.large { grid-column: span 2; grid-row: span 2; }
.photo-card.wide { grid-column: span 2; }
.photo-card img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  transition: transform .35s ease;
}
.photo-card:hover img { transform: scale(1.04); }
.photo-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 45%, rgba(7,20,58,.82) 100%);
}
.photo-card figcaption {
  position: absolute;
  left: 20px;
  right: 20px;
  bottom: 18px;
  z-index: 2;
  color: white;
}
.photo-card figcaption strong {
  display: block;
  font-size: 1.15rem;
  font-weight: 900;
}
.photo-card figcaption span {
  display: block;
  color: rgba(255,255,255,.84);
  font-weight: 700;
  line-height: 1.35;
}
.single-contact { grid-template-columns: minmax(260px, 520px); }

@media (max-width: 1050px) {
  .photo-head { grid-template-columns: 1fr; }
  .photo-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 240px; }
  .photo-card.large, .photo-card.wide { grid-column: span 2; grid-row: span 1; }
}
@media (max-width: 760px) {
  .photo-grid { grid-template-columns: 1fr; grid-auto-rows: 260px; }
  .photo-card.large, .photo-card.wide { grid-column: span 1; }
}

/* Arabic / RTL support */
html[dir="rtl"] body {
  direction: rtl;
  text-align: right;
  font-family: Arial, Tahoma, Helvetica, sans-serif;
}
html[dir="rtl"] h1,
html[dir="rtl"] h2,
html[dir="rtl"] h3 {
  letter-spacing: 0;
}
html[dir="rtl"] .site-header {
  flex-direction: row-reverse;
}
html[dir="rtl"] .main-nav a::after {
  left: auto;
  right: 0;
}
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .site-footer {
  flex-direction: row-reverse;
}
html[dir="rtl"] .timeline article::before {
  background: linear-gradient(270deg, var(--blue), var(--yellow), var(--red));
}
html[dir="rtl"] .photo-card figcaption {
  text-align: right;
}
html[dir="rtl"] .contact-card a {
  direction: ltr;
  text-align: right;
}

@media (max-width: 760px) {
  html[dir="rtl"] .main-nav a,
  html[dir="rtl"] .lang-switch {
    text-align: right;
  }
  html[dir="rtl"] .site-footer {
    flex-direction: column;
    align-items: flex-end;
  }
}
