@font-face {
  font-family: "FNLC Arabic";
  src: url("../../fonts/ArbFONTS-DINNextLTArabic-Regular-2.ttf") format("truetype");
  font-weight: 400;
}

@font-face {
  font-family: "FNLC Arabic";
  src: url("../../fonts/ArbFONTS-DINNextLTArabic-Medium-2.ttf") format("truetype");
  font-weight: 700;
}

:root {
  --navy: #071f2f;
  --navy-2: #0b344c;
  --blue: #127dc2;
  --green: #119669;
  --mint: #e9f8f2;
  --sky: #eaf5fc;
  --paper: #ffffff;
  --soft: #f6fbff;
  --ink: #162331;
  --muted: #647383;
  --border: rgba(18, 125, 194, 0.14);
  --shadow: 0 18px 45px rgba(7, 31, 47, 0.1);
  --radius: 22px;
  --container: 1160px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  direction: rtl;
  color: var(--ink);
  background: var(--paper);
  font-family: "FNLC Arabic", "Noto Kufi Arabic", Tahoma, Arial, sans-serif;
  line-height: 1.9;
}

body.menu-open {
  overflow: hidden;
}

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

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

.ltr {
  direction: ltr;
  unicode-bidi: isolate;
  display: inline-block;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: rgba(255, 255, 255, 0.92);
  border-bottom: 1px solid rgba(7, 31, 47, 0.08);
  backdrop-filter: blur(16px);
}

.nav {
  min-height: 82px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  min-width: 220px;
}

.brand img {
  width: 185px;
  height: auto;
}

.brand-text {
  display: none;
  color: var(--navy);
  font-weight: 800;
  line-height: 1.3;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 6px;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 42px;
  padding: 8px 14px;
  border-radius: 999px;
  color: var(--navy);
  font-weight: 700;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--green);
  background: rgba(17, 150, 105, 0.1);
}

.nav-cta {
  color: #fff !important;
  background: linear-gradient(135deg, var(--green), var(--blue)) !important;
  box-shadow: 0 12px 26px rgba(17, 150, 105, 0.22);
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border: 0;
  border-radius: 14px;
  background: var(--mint);
  color: var(--green);
  cursor: pointer;
}

.menu-toggle span,
.menu-toggle span::before,
.menu-toggle span::after {
  display: block;
  width: 22px;
  height: 2px;
  background: currentColor;
  border-radius: 99px;
  margin-inline: auto;
  position: relative;
}

.menu-toggle span::before,
.menu-toggle span::after {
  content: "";
  position: absolute;
  right: 0;
}

.menu-toggle span::before {
  top: -7px;
}

.menu-toggle span::after {
  top: 7px;
}

.hero {
  position: relative;
  min-height: 720px;
  display: grid;
  align-items: center;
  overflow: hidden;
  color: #fff;
  background:
    radial-gradient(circle at 14% 22%, rgba(17, 150, 105, 0.38), transparent 32%),
    linear-gradient(135deg, #061b29 0%, #092d42 58%, #0d664f 100%);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  opacity: 0.18;
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px),
    linear-gradient(0deg, rgba(255, 255, 255, 0.06) 1px, transparent 1px);
  background-size: 64px 64px;
}

.hero-inner {
  position: relative;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  gap: 44px;
  align-items: center;
  padding: 90px 0;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--green);
  background: rgba(17, 150, 105, 0.1);
  border: 1px solid rgba(17, 150, 105, 0.18);
  border-radius: 999px;
  padding: 7px 14px;
  font-size: 14px;
  font-weight: 800;
  margin-bottom: 16px;
}

.hero .eyebrow {
  color: #fff;
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.22);
}

.hero h1,
.page-hero h1 {
  margin: 0 0 20px;
  color: #fff;
  font-size: clamp(36px, 5vw, 66px);
  line-height: 1.22;
  font-weight: 900;
}

.hero p,
.page-hero p {
  margin: 0 0 30px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 20px;
  max-width: 720px;
}

.hero-visual {
  position: relative;
  border-radius: 34px;
  padding: 14px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.18);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.24);
  backdrop-filter: blur(14px);
}

.hero-visual img {
  width: 100%;
  min-height: 420px;
  object-fit: cover;
  border-radius: 24px;
}

.hero-badge {
  position: absolute;
  right: 28px;
  bottom: 28px;
  width: min(320px, calc(100% - 56px));
  color: var(--navy);
  background: #fff;
  border-radius: 22px;
  padding: 18px;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.18);
}

.hero-badge strong {
  display: block;
  color: var(--green);
  font-size: 20px;
  margin-bottom: 4px;
}

.hero-badge span {
  color: var(--muted);
  font-size: 14px;
}

.btns {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 50px;
  border: 0;
  border-radius: 999px;
  padding: 13px 24px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

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

.btn.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 14px 28px rgba(17, 150, 105, 0.24);
}

.btn.secondary {
  color: var(--navy);
  background: #fff;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn.outline {
  color: var(--green);
  background: #fff;
  border: 1px solid rgba(17, 150, 105, 0.2);
}

.section {
  padding: 88px 0;
  position: relative;
}

.section.soft {
  background: linear-gradient(180deg, #f7fbff, #fff);
}

.section-head {
  margin-bottom: 38px;
}

.section-head.center {
  text-align: center;
}

.section-head.center .subtitle {
  margin-inline: auto;
}

.title {
  color: var(--navy);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 1.35;
  margin: 0 0 18px;
  font-weight: 900;
}

.subtitle {
  color: var(--muted);
  font-size: 18px;
  max-width: 780px;
  margin: 0;
}

.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 42px;
  align-items: center;
}

.image-frame {
  border-radius: 28px;
  overflow: hidden;
  min-height: 430px;
  background: var(--sky);
  box-shadow: var(--shadow);
}

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

.royal-quote {
  padding-top: 42px;
}

.royal-frame {
  overflow: hidden;
  border-radius: 30px;
  border: 1px solid var(--border);
  background: #f7f8f8;
  box-shadow: var(--shadow);
}

.royal-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.grid {
  display: grid;
  gap: 22px;
}

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

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

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

.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}

.card h3 {
  color: var(--navy);
  font-size: 23px;
  line-height: 1.45;
  margin: 14px 0 10px;
  font-weight: 900;
}

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

.icon {
  width: 58px;
  height: 58px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 18px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  box-shadow: 0 12px 28px rgba(7, 31, 47, 0.12);
  overflow: hidden;
}

.icon img {
  width: 34px;
  height: 34px;
  object-fit: contain;
}

.feature-list {
  display: grid;
  gap: 14px;
  margin-top: 24px;
}

.feature {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  color: var(--ink);
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 14px 16px;
}

.feature::before {
  content: "";
  width: 10px;
  height: 10px;
  flex: 0 0 auto;
  margin-top: 13px;
  border-radius: 50%;
  background: var(--green);
}

.kpi {
  text-align: center;
  background: var(--mint);
  border: 1px solid rgba(17, 150, 105, 0.14);
}

.kpi strong {
  display: block;
  color: var(--green);
  font-size: 38px;
  line-height: 1;
  margin-bottom: 10px;
}

.kpi span {
  color: var(--navy);
  font-weight: 900;
}

.service-card {
  position: relative;
  min-height: 278px;
  overflow: hidden;
}

.service-card::after {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0;
  width: 6px;
  height: 100%;
  background: linear-gradient(180deg, var(--green), var(--blue));
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 18px;
  color: var(--green);
  font-weight: 900;
}

.timeline {
  display: grid;
  gap: 18px;
}

.step {
  display: grid;
  grid-template-columns: 82px 1fr;
  gap: 18px;
  align-items: stretch;
}

.step-num {
  border-radius: 20px;
  background: linear-gradient(135deg, var(--navy), var(--blue));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  font-weight: 900;
}

.step-body {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 20px 22px;
  box-shadow: var(--shadow);
}

.step-body h3 {
  margin: 0 0 7px;
  color: var(--navy);
  font-size: 22px;
}

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

.cta {
  color: #fff;
  background:
    radial-gradient(circle at 12% 20%, rgba(255, 255, 255, 0.12), transparent 28%),
    linear-gradient(135deg, var(--navy), #0a3e59 58%, var(--green));
  border-radius: 34px;
  padding: 42px;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 28px;
  align-items: center;
  box-shadow: 0 22px 60px rgba(7, 31, 47, 0.18);
}

.cta h2 {
  margin: 0 0 10px;
  color: #fff;
  font-size: clamp(28px, 3vw, 40px);
}

.cta p {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
}

.page-hero {
  position: relative;
  padding: 120px 0 86px;
  color: #fff;
  overflow: hidden;
  background:
    linear-gradient(90deg, rgba(7, 31, 47, 0.94), rgba(7, 31, 47, 0.62)),
    url("../../images/profile-cover.jpg") center / cover;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(7, 31, 47, 0), rgba(7, 31, 47, 0.28));
}

.page-hero .container {
  position: relative;
  z-index: 1;
}

.service-row {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 28px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 28px;
  padding: 26px;
  box-shadow: var(--shadow);
}

.service-row + .service-row {
  margin-top: 24px;
}

.service-media {
  min-height: 250px;
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(17, 150, 105, 0.8), rgba(18, 125, 194, 0.8)),
    url("../../images/profile-cover.jpg") center / cover;
  display: grid;
  place-items: center;
}

.service-media img {
  width: 70px;
  height: 70px;
  object-fit: contain;
  filter: brightness(0) invert(1);
}

.service-row h2 {
  color: var(--navy);
  margin: 0 0 12px;
  font-size: 30px;
}

.service-row p {
  color: var(--muted);
  margin: 0 0 16px;
}

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

.tag {
  color: var(--navy);
  background: var(--sky);
  border: 1px solid rgba(18, 125, 194, 0.14);
  border-radius: 999px;
  padding: 7px 12px;
  font-size: 14px;
  font-weight: 800;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
}

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

.contact-action {
  display: flex;
  align-items: center;
  gap: 12px;
  border-radius: 18px;
  padding: 14px 16px;
  color: #fff;
  background: linear-gradient(135deg, var(--green), var(--blue));
  font-weight: 900;
  box-shadow: 0 14px 28px rgba(17, 150, 105, 0.18);
  transition: transform 0.2s ease;
}

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

.contact-action img {
  width: 28px;
  height: 28px;
  flex: 0 0 auto;
}

.form {
  display: grid;
  gap: 14px;
}

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

.form input,
.form select,
.form textarea {
  width: 100%;
  border: 1px solid var(--border);
  border-radius: 15px;
  background: #fff;
  padding: 14px 16px;
  color: var(--ink);
  font: inherit;
  outline: none;
}

.form input:focus,
.form select:focus,
.form textarea:focus {
  border-color: rgba(17, 150, 105, 0.55);
  box-shadow: 0 0 0 4px rgba(17, 150, 105, 0.08);
}

.form textarea {
  min-height: 140px;
  resize: vertical;
}

.form-status {
  margin: 2px 0 0;
  border-radius: 14px;
  padding: 12px 14px;
  font-weight: 800;
}

.form-status[data-state="loading"] {
  color: var(--navy);
  background: var(--sky);
}

.form-status[data-state="success"] {
  color: #0b684a;
  background: var(--mint);
}

.form-status[data-state="error"] {
  color: #9b1c1c;
  background: #fff1f1;
}

.form button:disabled {
  cursor: wait;
  opacity: 0.75;
  transform: none;
}

.info-list {
  display: grid;
  gap: 16px;
}

.info-item {
  display: grid;
  grid-template-columns: 54px 1fr;
  gap: 14px;
  align-items: center;
  background: #fff;
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 18px;
  box-shadow: var(--shadow);
}

.info-item strong {
  color: var(--navy);
  display: block;
}

.info-item span {
  color: var(--muted);
  display: block;
  direction: ltr;
  text-align: right;
}

.info-item .icon img {
  width: 31px;
  height: 31px;
}

.map {
  overflow: hidden;
  border-radius: 28px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 360px;
  background: var(--sky);
}

.map iframe {
  width: 100%;
  height: 420px;
  border: 0;
  display: block;
}

.map-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
  margin-top: 22px;
}

.site-footer {
  color: rgba(255, 255, 255, 0.78);
  background: var(--navy);
  padding: 60px 0 20px;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.8fr 0.9fr;
  gap: 34px;
  margin-bottom: 34px;
}

.footer-logo {
  width: 210px;
  background: #fff;
  border-radius: 18px;
  padding: 12px;
  margin-bottom: 16px;
}

.site-footer h3 {
  color: #fff;
  margin: 0 0 14px;
  font-size: 20px;
}

.site-footer p,
.site-footer li {
  margin: 0;
  color: rgba(255, 255, 255, 0.72);
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  gap: 10px;
}

.footer-links .ltr {
  color: rgba(255, 255, 255, 0.72);
}

.footer-links a:hover {
  color: #fff;
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  font-size: 14px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

@media (max-width: 980px) {
  .menu-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .nav-links {
    position: fixed;
    inset: 82px 0 auto 0;
    display: grid;
    gap: 8px;
    padding: 18px 20px 24px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--border);
    box-shadow: var(--shadow);
    transform: translateY(-130%);
    transition: transform 0.25s ease;
  }

  body.menu-open .nav-links {
    transform: translateY(0);
  }

  .nav-links a {
    justify-content: flex-start;
    width: 100%;
  }

  .hero-inner,
  .split,
  .contact-grid,
  .service-row,
  .footer-grid {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 640px) {
  .container {
    width: min(100% - 30px, var(--container));
  }

  .brand img {
    width: 150px;
  }

  .hero {
    min-height: auto;
  }

  .hero-inner {
    padding: 62px 0;
  }

  .hero p,
  .subtitle,
  .page-hero p {
    font-size: 16px;
  }

  .section {
    padding: 62px 0;
  }

  .grid.two,
  .grid.three,
  .grid.four,
  .form-row,
  .contact-actions {
    grid-template-columns: 1fr;
  }

  .card,
  .cta,
  .service-row {
    padding: 22px;
    border-radius: 20px;
  }

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

  .step-num {
    width: 74px;
    height: 64px;
  }

  .footer-bottom {
    display: grid;
  }
}
