:root {
  color-scheme: dark;
  --ink: #071522;
  --navy: #041827;
  --navy-2: #082c45;
  --blue: #0a547f;
  --gold: #d6ad55;
  --gold-2: #b88b32;
  --paper: #f7f4ee;
  --muted: #9fb2bf;
  --line: rgba(255, 255, 255, 0.12);
  --radius: 8px;
  --shadow: 0 28px 70px rgba(0, 0, 0, 0.36);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  font-family: Manrope, Arial, sans-serif;
  background: #04111c;
  color: #eef6fb;
  letter-spacing: 0;
  overflow-x: hidden;
}

html[dir="rtl"] body {
  font-family: "IBM Plex Sans Arabic", Manrope, Arial, sans-serif;
}

html[dir="rtl"] .nav-links {
  margin-right: auto;
  margin-left: 0;
}

html[dir="rtl"] .nav-toggle {
  margin-right: 12px;
  margin-left: 0;
}

html[dir="rtl"] .header-lang {
  margin-right: 12px;
  margin-left: 0;
}

html[dir="rtl"] .service-card ul,
html[dir="rtl"] .detail-card ul {
  padding-right: 18px;
  padding-left: 0;
}

img {
  display: block;
  max-width: 100%;
}

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

.site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px clamp(18px, 5vw, 72px);
  background: rgba(3, 15, 25, 0.86);
  border-bottom: 1px solid rgba(214, 173, 85, 0.22);
  box-shadow: 0 10px 35px rgba(0, 0, 0, 0.22);
  backdrop-filter: blur(18px);
}

.brand {
  order: 1;
  display: inline-flex;
  align-items: center;
  gap: 14px;
  font-weight: 800;
  flex-shrink: 0;
}

.brand img {
  width: 64px;
  height: 48px;
  border-radius: var(--radius);
  object-fit: contain;
  background: #071522;
}

.brand span {
  font-size: 18px;
  letter-spacing: 0;
}

.nav-links {
  order: 2;
  display: flex;
  align-items: center;
  gap: 22px;
  margin-left: auto;
  font-size: 14px;
  color: #d9e7ee;
}

.nav-links a,
.nav-link-button {
  transition: color 0.2s ease;
}

.nav-links a:hover,
.nav-link-button:hover {
  color: var(--gold);
}

.nav-link-button {
  border: 0;
  padding: 0;
  color: inherit;
  background: transparent;
  cursor: pointer;
  font: inherit;
  font-weight: 700;
}

.nav-cta,
.btn {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  border-radius: var(--radius);
  padding: 0 18px;
  font-weight: 700;
}

.nav-cta {
  background: linear-gradient(135deg, var(--gold), #f2d78d);
  color: #071522;
  box-shadow: 0 10px 28px rgba(214, 173, 85, 0.2);
}

.nav-toggle {
  order: 3;
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-left: 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  padding: 0 14px;
  color: #fff;
  background: rgba(214, 173, 85, 0.1);
  cursor: pointer;
  font: inherit;
  flex-shrink: 0;
}

.nav-toggle-lines {
  display: grid;
  gap: 5px;
}

.nav-toggle-lines i {
  display: block;
  width: 18px;
  height: 2px;
  background: #fff;
}

.nav-toggle strong {
  font-size: 14px;
}

.lang-toggle {
  order: 4;
  min-height: 40px;
  border: 1px solid rgba(244, 197, 66, 0.35);
  border-radius: var(--radius);
  padding: 0 12px;
  color: var(--gold);
  background: rgba(244, 197, 66, 0.08);
  cursor: pointer;
  font: inherit;
  font-weight: 800;
}

.header-lang {
  margin-left: 12px;
  flex-shrink: 0;
}

.mega-panel {
  position: absolute;
  top: calc(100% + 1px);
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  display: grid;
  grid-template-columns: 0.8fr 1.2fr 0.9fr;
  gap: 22px;
  max-height: 0;
  overflow: hidden;
  border: 1px solid transparent;
  border-radius: var(--radius);
  background: rgba(5, 20, 33, 0);
  box-shadow: none;
  opacity: 0;
  transform: translateY(-10px);
  transition: max-height 0.28s ease, opacity 0.2s ease, transform 0.2s ease, padding 0.2s ease, background 0.2s ease;
}

.mega-panel.is-open {
  max-height: 430px;
  padding: 22px;
  border-color: var(--line);
  background: rgba(5, 20, 33, 0.97);
  box-shadow: var(--shadow);
  opacity: 1;
  transform: translateY(0);
}

.mega-panel div {
  display: flex;
  flex-wrap: wrap;
  align-content: flex-start;
  gap: 10px;
}

.mega-panel a,
.mega-panel span {
  display: inline-flex;
  min-height: 36px;
  align-items: center;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 0 12px;
  color: #dceaf1;
  background: rgba(255, 255, 255, 0.05);
  font-size: 13px;
  font-weight: 700;
}

.mega-panel a:hover {
  color: #071522;
  background: var(--gold);
}

.panel-title {
  flex: 0 0 100%;
  margin: 0 0 4px;
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.hero {
  display: grid;
  grid-template-columns: minmax(0, 1.04fr) minmax(340px, 0.96fr);
  gap: clamp(32px, 5vw, 80px);
  min-height: 100vh;
  padding: 126px clamp(18px, 5vw, 72px) 68px;
  background:
    linear-gradient(105deg, rgba(4, 17, 28, 0.95), rgba(4, 24, 39, 0.86) 52%, rgba(4, 17, 28, 0.78)),
    url("https://images.unsplash.com/photo-1512453979798-5ea266f8880c?auto=format&fit=crop&w=1800&q=80") center/cover;
  position: relative;
  overflow: hidden;
}

.hero::after {
  content: "";
  position: absolute;
  left: clamp(18px, 5vw, 72px);
  right: clamp(18px, 5vw, 72px);
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(214, 173, 85, 0.7), transparent);
}

.hero-copy {
  position: relative;
  z-index: 1;
  align-self: center;
}

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

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

h1 {
  max-width: 860px;
  margin-bottom: 24px;
  font-family: "Playfair Display", Manrope, serif;
  font-size: clamp(46px, 7vw, 90px);
  line-height: 1;
  letter-spacing: 0;
}

h2 {
  margin-bottom: 18px;
  font-family: "Playfair Display", Manrope, serif;
  font-size: clamp(30px, 4vw, 52px);
  line-height: 1.04;
  letter-spacing: 0;
}

h3 {
  margin-bottom: 12px;
  font-size: 22px;
}

.lead {
  max-width: 680px;
  color: #c6d5de;
  font-size: 18px;
  line-height: 1.7;
}

.notice-line {
  max-width: 680px;
  border-left: 3px solid var(--gold);
  padding: 12px 14px;
  color: #e5f0f6;
  background: rgba(255, 255, 255, 0.06);
  line-height: 1.6;
}

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

.btn {
  border: 0;
  cursor: pointer;
  font: inherit;
}

.btn.primary {
  background: linear-gradient(135deg, var(--gold), #ffe27a);
  color: #071522;
}

.btn.secondary {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}

.proof-strip {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.proof-strip span {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  padding: 10px 14px;
  color: #d8e8ef;
  background: rgba(255, 255, 255, 0.05);
  font-size: 14px;
}

.hero-media {
  position: relative;
  z-index: 1;
  align-self: center;
  min-height: 560px;
}

.identity-panel {
  position: absolute;
  top: 0;
  right: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  gap: 16px;
  width: min(420px, 88vw);
  padding: 14px;
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(5, 20, 33, 0.88);
  box-shadow: var(--shadow);
}

.identity-panel img {
  width: 84px;
  height: 84px;
  border-radius: var(--radius);
  object-fit: contain;
  background: #071522;
}

.identity-panel strong,
.identity-panel span {
  display: block;
}

.identity-panel strong {
  margin-bottom: 6px;
  font-size: 24px;
}

.identity-panel span {
  color: #bfd1dc;
  font-size: 13px;
  font-weight: 700;
}

.media-card {
  position: absolute;
  overflow: hidden;
  border-radius: var(--radius);
  border: 1px solid rgba(214, 173, 85, 0.38);
  box-shadow: var(--shadow);
}

.media-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.main-photo {
  right: 0;
  bottom: 0;
  width: 86%;
  height: 410px;
  outline: 10px solid rgba(4, 17, 28, 0.46);
}

.small-photo {
  left: 0;
  bottom: 52px;
  width: 44%;
  height: 210px;
  outline: 8px solid rgba(4, 17, 28, 0.56);
}

.intro-band {
  padding: 54px clamp(18px, 5vw, 72px);
  background: var(--gold);
  color: #071522;
}

.intro-band p {
  margin-bottom: 10px;
  font-weight: 800;
}

.intro-band h2 {
  max-width: 940px;
  margin: 0;
}

.arabic-panel {
  padding: 54px clamp(18px, 5vw, 72px);
  background: #f4f7f8;
  color: #071522;
}

.arabic-panel[hidden] {
  display: none;
}

.arabic-panel > div {
  max-width: 1040px;
  margin: 0 auto;
}

.arabic-panel h2 {
  font-size: clamp(28px, 4vw, 46px);
}

.arabic-panel p:not(.eyebrow) {
  color: #213547;
  font-size: 18px;
  line-height: 1.8;
}

.arabic-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 22px;
}

.arabic-tags span {
  border-radius: 999px;
  padding: 10px 14px;
  color: #071522;
  background: rgba(215, 168, 37, 0.2);
  font-weight: 800;
}

.section {
  padding: 96px clamp(18px, 5vw, 72px);
}

.section-heading {
  max-width: 820px;
  margin-bottom: 40px;
}

.section-heading.centered {
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

.section-heading p:not(.eyebrow),
.split-copy p,
.contact-section p {
  color: #bfd0d8;
  line-height: 1.7;
}

.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

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

.service-card {
  min-height: 320px;
  padding: 28px;
  border: 1px solid rgba(214, 173, 85, 0.18);
  border-radius: var(--radius);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.085), rgba(255, 255, 255, 0.035)),
    linear-gradient(135deg, rgba(214, 173, 85, 0.08), transparent 45%);
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.16);
}

.service-grid.dense .service-card {
  min-height: 185px;
}

.service-card span {
  display: inline-flex;
  margin-bottom: 28px;
  color: var(--gold);
  font-weight: 800;
}

.service-card p {
  color: #bdd0da;
  line-height: 1.65;
}

.service-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0 0;
  padding-left: 18px;
  color: #d9e7ee;
  line-height: 1.5;
}

.logistics-section {
  background:
    linear-gradient(rgba(247, 244, 238, 0.94), rgba(247, 244, 238, 0.96)),
    url("https://images.unsplash.com/photo-1586528116311-ad8dd3c8310d?auto=format&fit=crop&w=1800&q=80") center/cover;
  color: #071522;
}

.logistics-section .section-heading p:not(.eyebrow) {
  color: #425466;
}

.logistics-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.detail-card {
  min-height: 360px;
  padding: 24px;
  border: 1px solid rgba(184, 139, 50, 0.22);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.88);
  box-shadow: 0 18px 42px rgba(7, 21, 34, 0.1);
  backdrop-filter: blur(10px);
}

.detail-card h3 {
  font-size: 19px;
}

.detail-card p,
.detail-card li,
.detail-card small {
  color: #34485a;
  line-height: 1.55;
}

.detail-card ul {
  display: grid;
  gap: 8px;
  margin: 18px 0;
  padding-left: 18px;
}

.detail-card small {
  display: block;
  font-weight: 700;
}

mark {
  display: inline-flex;
  margin: 0 6px 6px 0;
  border-radius: 999px;
  padding: 5px 9px;
  color: #075533;
  background: #dff7ea;
  font-size: 12px;
  font-weight: 800;
}

.split-section {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(0, 1.05fr);
  gap: clamp(28px, 5vw, 72px);
  align-items: center;
  padding: 30px clamp(18px, 5vw, 72px) 96px;
}

.split-image {
  overflow: hidden;
  min-height: 500px;
  border-radius: var(--radius);
}

.split-image img {
  width: 100%;
  height: 100%;
  min-height: 500px;
  object-fit: cover;
}

.steps {
  display: grid;
  gap: 14px;
  margin-top: 28px;
}

.steps div {
  display: grid;
  grid-template-columns: 64px 1fr;
  gap: 18px;
  align-items: start;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.steps strong {
  color: var(--gold);
}

.steps p {
  margin: 0;
}

.about {
  background: #081b2c;
}

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

.fact-grid div {
  min-height: 170px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.04);
}

.fact-grid span {
  display: block;
  margin-bottom: 14px;
  color: var(--gold);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.fact-grid strong {
  display: block;
  line-height: 1.55;
}

.contact-section {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(320px, 0.7fr);
  gap: clamp(28px, 5vw, 72px);
  padding: 96px clamp(18px, 5vw, 72px);
  background:
    linear-gradient(rgba(5, 20, 33, 0.72), rgba(5, 20, 33, 0.86)),
    url("https://images.unsplash.com/photo-1577412647305-991150c7d163?auto=format&fit=crop&w=1600&q=80") center/cover;
}

.contact-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(5, 20, 33, 0.82);
  box-shadow: var(--shadow);
}

.contact-cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
  margin-top: 28px;
}

.contact-cards a {
  display: grid;
  gap: 8px;
  min-height: 110px;
  align-content: center;
  padding: 18px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.07);
}

.contact-cards span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.contact-cards strong {
  overflow-wrap: anywhere;
}

label {
  display: grid;
  gap: 8px;
  color: #dbe8ee;
  font-size: 14px;
  font-weight: 700;
}

input,
select,
textarea {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: var(--radius);
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font: inherit;
}

select option {
  background: #08233a;
}

textarea {
  resize: vertical;
}

.form-actions {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

.site-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 30px clamp(18px, 5vw, 72px);
  background: #040d16;
  color: #c8d7df;
}

.site-footer img {
  width: 58px;
  height: 58px;
  border-radius: var(--radius);
  object-fit: contain;
  background: #071522;
}

.site-footer p {
  margin: 12px 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;
}

.footer-links a {
  color: var(--gold);
  font-weight: 700;
}

@media (max-width: 980px) {
  .hero,
  .split-section,
  .contact-section {
    grid-template-columns: 1fr;
  }

  .hero-media {
    min-height: 430px;
  }

  .service-grid,
  .logistics-grid,
  .fact-grid,
  .contact-cards {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mega-panel {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 720px) {
  .site-header {
    justify-content: flex-start;
    gap: 10px;
    padding: 12px 18px;
  }

  .brand {
    min-width: 0;
    margin-right: auto;
    max-width: calc(100% - 132px);
    gap: 10px;
  }

  html[dir="rtl"] .brand {
    margin-right: 0;
    margin-left: auto;
  }

  .brand img {
    width: 54px;
    height: 42px;
  }

  .brand span {
    font-size: 16px;
    white-space: nowrap;
  }

  .header-lang {
    position: absolute;
    top: 12px;
    right: 74px;
    min-width: 58px;
    height: 46px;
    margin-left: 0;
    padding: 0 10px;
  }

  .nav-links {
    position: absolute;
    top: 72px;
    left: 18px;
    right: 18px;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    padding: 12px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: #071522;
  }

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

  .nav-links a {
    padding: 14px;
  }

  .hero {
    min-height: auto;
    max-width: 100vw;
    padding-top: 106px;
    overflow: hidden;
  }

  .hero > *,
  .hero-copy {
    min-width: 0;
  }

  h1 {
    width: 100%;
    max-width: 100%;
    font-size: 32px;
    line-height: 1.08;
    overflow-wrap: break-word;
  }

  .lead {
    font-size: 16px;
  }

  .notice-line {
    max-width: 100%;
    font-size: 15px;
    overflow-wrap: break-word;
  }

  .service-grid,
  .logistics-grid,
  .fact-grid,
  .contact-cards {
    grid-template-columns: 1fr;
  }

  .nav-toggle strong {
    display: none;
  }

  .nav-toggle {
    position: absolute;
    top: 12px;
    right: 18px;
    width: 46px;
    margin-left: 0;
    padding: 0;
  }

  .hero-media {
    min-height: 380px;
  }

  .identity-panel {
    width: 100%;
  }

  .identity-panel img {
    width: 68px;
    height: 68px;
  }

  .mega-panel.is-open {
    max-height: 78vh !important;
    padding: 18px !important;
    opacity: 1 !important;
    transform: translateY(0) !important;
    overflow-y: auto;
  }

  .main-photo {
    width: 96%;
    height: 310px;
  }

  .small-photo {
    width: 52%;
    height: 158px;
    bottom: 36px;
  }

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

@media (max-width: 900px) {
  .service-grid,
  .service-grid.dense,
  .logistics-grid,
  .fact-grid,
  .contact-cards,
  .form-actions {
    display: flex !important;
    flex-direction: column !important;
    grid-template-columns: none !important;
    width: 100% !important;
    max-width: 100% !important;
  }

  .service-card,
  .service-grid.dense .service-card,
  .detail-card,
  .fact-grid div,
  .contact-cards a {
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0 !important;
    min-height: auto !important;
  }

  .service-card h3,
  .detail-card h3,
  .service-card p,
  .detail-card p,
  .service-card li,
  .detail-card li {
    max-width: 100% !important;
    overflow-wrap: anywhere !important;
    word-break: normal !important;
  }
}
