:root {
  --primary: #007BBD;
  --white: #FFFFFF;
  --gray: #7C7C7C;
  --text: #1a1a1a;
  --bg: #ffffff;
  --card: #ffffff;
  --bg-header: #f9f9f9;
  --border: rgba(0, 0, 0, .08);
  --shadow: 0 12px 30px rgba(0, 0, 0, .08);
  --r: 18px;
  --container: 1120px;
}

* {
  box-sizing: border-box;
}

html,
body {
  height: 100%;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: "IBM Plex Sans Arabic", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color: var(--bg);
  color: var(--text);
  line-height: 1.6;
  position: relative;
  /* Ensure body is relative for absolute children if needed, though we use fixed for bg */
}

/* Background Pattern Pseudo-elements */
body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: 390px;
  /* Adjust width as needed for visual balance */
  background-image: url('assets/Pattern.svg');
  background-repeat: repeat-y;
  background-size: contain;
  z-index: -1;
  pointer-events: none;
}

body::before {
  left: 0;
  transform: scaleX(-1);
  /* Reflect the left side */
}

body::after {
  right: 0;
}

img {
  max-width: 100%;
  display: block;
  border-radius: var(--r);
}

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

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

/* Header */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: var(--bg-header);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, .06);
}

.header__row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
}

main {
  padding-top: 92px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
}

.brand__logo {
  height: 50px;
  width: auto;
  border-radius: 0;
}

.header__actions {
  display: flex;
  gap: 10px;
  align-items: center;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  padding: 10px 40px;
  border-radius: 999px;
  font-weight: 600;
  border: 0;
  cursor: pointer;
  white-space: nowrap;
  transition: transform .2s ease, filter .2s ease, background .2s ease;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
}

.btn-outline {
  background: transparent;
  border: 1px solid rgba(0, 0, 0, .12);
  padding: 10px 22px;
  color: rgba(0, 0, 0, .8);
}

.btn__arrow {
  font-size: 22px;
  line-height: 1;
  display: inline-block;
  transform: rotate(45deg);
  transition: transform .2s ease;
}

.btn-arrow:hover .btn__arrow {
  transform: rotate(0deg) translateX(3px);
}

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

/* Typography */
.h1 {
  font-size: clamp(34px, 3.3vw, 48px);
  line-height: 1.15;
  margin: 0 0 12px;
}

.h2 {
  font-size: clamp(22px, 2.4vw, 34px);
  line-height: 1.25;
  margin: 0 0 10px;
}

.h3 {
  font-size: 18px;
  margin: 0 0 8px;
}

.lead {
  color: var(--gray);
  margin: 0 0 18px;
  font-size: 16px;
}

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

.small {
  color: var(--gray);
  font-size: 14px;
  margin: 0;
  line-height: 1.7;
}

.center {
  text-align: center;
}

/* Sections */
.section {
  padding: 64px 0;
  text-align: center;
}

.section--alt {
  background: transparent;
}

.section__tag {
  color: var(--primary);
  font-weight: 800;
  margin: 0 0 8px;
}

/* HERO */
.hero {
  padding: 64px 0 48px;
  text-align: center;
}

.hero__center {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.heroTag__svg {
  height: 35px;
  width: auto;
  margin: 0 0 14px;
  border-radius: 0;
}

.hero__title {
  max-width: 920px;
}

.hero__desc {
  max-width: 820px;
}

.hero__media {
  width: min(940px, 100%);
  margin-top: 32px;
  border-radius: 22px;
  overflow: hidden;
  position: relative;
}

.hero__media img {
  width: 100%;
  height: auto;
  border-radius: 0;
}

.hero__media--fade::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(to top, rgba(255, 255, 255, .95) 0%, rgba(255, 255, 255, 0) 55%);
}

/* Methodology */
.methodology {
  text-align: start;
}

html[dir="rtl"] .methodology {
  text-align: end;
}

.wide-media img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 22px;
}

.methodology__text {
  margin-top: 22px;
  max-width: 860px;
}

/* Split / Proven */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 26px;
  align-items: center;
}

.split--proven {
  align-items: start;
}

.proven {
  text-align: start;
}

html[dir="rtl"] .proven {
  text-align: end;
}

.proven .split__media img {
  width: 100%;
  height: 420px;
  object-fit: cover;
  border-radius: 22px;
}

/* Slider */
.provenSlider {
  margin-top: 22px;
  display: grid;
  grid-template-columns: 44px 1fr 44px;
  gap: 14px;
  align-items: center;
}

.sliderViewport {
  overflow: hidden;
  border-radius: 22px;
}

.sliderTrack {
  display: flex;
  gap: 16px;
  transition: transform .45s ease;
  will-change: transform;
}

.pCard {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 22px;
  padding: 18px;
  min-width: calc((100% - 16px) / 2);
  box-shadow: 0 8px 20px rgba(0, 0, 0, .05);
}

.pCard__icon {
  width: 56px;
  height: 56px;
  border-radius: 16px;
  background: rgba(0, 123, 189, .10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.iconSvg {
  width: 30px;
  height: 30px;
  display: block;
}

.pCard__title {
  margin: 0 0 8px;
  font-size: 18px;
}

.pCard__desc {
  margin: 0;
  color: var(--gray);
  font-size: 14px;
  line-height: 1.7;
}

.sliderBtn {
  width: 44px;
  height: 44px;
  border-radius: 999px;
  border: 0;
  background: var(--primary);
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  line-height: 1;
}

.sliderBtn:hover {
  filter: brightness(.95);
  transform: translateY(-1px);
}

html[dir="rtl"] .sliderBtn--prev span,
html[dir="rtl"] .sliderBtn--next span {
  transform: rotate(180deg);
  display: inline-block;
}

/* Compliance */
.compliance {
  text-align: start;
}

html[dir="rtl"] .compliance {
  text-align: end;
}

.compliance__layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 48px;
  align-items: start;
}

.compliance__mosaic {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: stretch;
}

/* Square Cards + smaller text */
.compliance__imgWrap,
.compliance__card {
  aspect-ratio: 1 / 1;
  border-radius: 22px;
  overflow: hidden;
  border: 1px solid rgba(0, 0, 0, .08);
  background: #fff;
}

.compliance__imgWrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}

.compliance__card {
  padding: 22px 20px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.compliance__cardTitle {
  margin: 0;
  font-size: 18px;
  line-height: 1.25;
  font-weight: 800;
}

.compliance__cardText {
  margin: 0;
  font-size: 13px;
  line-height: 1.75;
}

/* Blue card */
.compliance__card--blue {
  background: var(--primary);
  border-color: rgba(255, 255, 255, .16);
  color: #fff;
}

.compliance__card--blue .compliance__cardTitle {
  color: #fff;
}

.compliance__card--blue .compliance__cardText {
  color: rgba(255, 255, 255, .92);
}

/* White card */
.compliance__card--white .compliance__cardTitle {
  color: var(--text);
}

.compliance__card--white .compliance__cardText {
  color: var(--gray);
}

/* Why */
.why__desc {
  max-width: 920px;
  margin: 0 auto 22px;
}

.cards {
  display: grid;
  gap: 26px;
}

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

.wCard {
  background: #fff;
  border: 1px solid rgba(0, 0, 0, .10);
  border-radius: 22px;
  padding: 22px;
  text-align: start;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .04);
}

html[dir="rtl"] .wCard {
  text-align: end;
}

.wCard__icon {
  width: 58px;
  height: 58px;
  border-radius: 18px;
  background: rgba(0, 123, 189, .10);
  color: var(--primary);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.why__btn {
  margin-bottom: 32px;
}

/* Strategic Location */
.location__wrap {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 26px;
  align-items: center;
  text-align: start;
}

html[dir="rtl"] .location__wrap {
  text-align: end;
}

.location__left {
  align-self: flex-start;
  padding-top: 12px;
}

.location__marker {
  display: flex;
  align-items: center;
  gap: 12px;
}

.location__dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--primary);
  display: inline-block;
}

.location__label {
  color: var(--primary);
  font-weight: 700;
}

.location__line {
  height: 4px;
  width: 280px;
  margin-top: 10px;
  background: rgba(0, 0, 0, .55);
  border-radius: 999px;
  opacity: .7;
}

.location__center {
  max-width: 860px;
  margin: 0 auto;
}

.location__desc {
  max-width: 720px;
}

/* CTA */
.cta {
  padding: 34px 0 56px;
}

.cta__pill {
  background: var(--primary);
  color: #fff;
  border-radius: 70px;
  padding: 56px 28px;
  text-align: center;
}

.cta__top {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
  opacity: .98;
}

.cta__tagSvg {
  height: 35px;
  width: auto;
  border-radius: 0;
  filter: brightness(0) invert(1);
  opacity: .95;
}

.cta__big {
  margin: 0 auto 22px;
  max-width: 980px;
  font-size: clamp(14px, 1.35vw, 18px);
  line-height: 1.6;
  font-weight: 500;
  color: rgba(255, 255, 255, .95);
}

.cta__btn {
  background: #fff;
  color: #111;
}

/* Footer */
.footer {
  background: var(--primary);
  color: #fff;
  padding: 42px 0 26px;
}

.footer__wrap {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

/* Logo left / text right */
.footer__top {
  display: grid;
  grid-template-columns: 420px 1fr;
  gap: 52px;
  align-items: center;
}

.footer__logo {
  width: 70%;
  max-width: 420px;
  border-radius: 0;
}

.footer__about {
  margin: 0;
  font-size: 16px;
  line-height: 1.8;
  color: rgba(255, 255, 255, .95);
}

.footer__mid {
  display: grid;
  grid-template-columns: 1fr 1px 420px;
  gap: 22px;
  align-items: center;
  padding: 18px 0;
  border-top: 1px solid rgba(255, 255, 255, .22);
  border-bottom: 1px solid rgba(255, 255, 255, .22);
}

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

.infoLabel {
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .3px;
  color: #fff;
}

.infoValue {
  font-size: 16px;
  color: rgba(255, 255, 255, .95);
}

.footer__divider {
  width: 1px;
  height: 160px;
  background: rgba(255, 255, 255, .25);
  justify-self: center;
}

.footer__social {
  display: flex;
  justify-content: center;
  gap: 18px;
}

.socialBtn {
  width: 76px;
  height: 76px;
  border-radius: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .12);
  transition: transform .2s ease, filter .2s ease, background .2s ease;
}

.socialBtn i {
  font-size: 30px;
  color: #fff;
  opacity: .95;
}

.socialBtn:hover {
  transform: translateY(-2px);
  filter: brightness(.97);
  background: rgba(255, 255, 255, .16);
}

.footer__bottom {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.footer__copyright,
.footer__link,
.footer__created {
  color: rgba(255, 255, 255, .95);
  font-size: 12px;
  font-weight: 300;
}

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

.footer__link {
  font-weight: 600;
}

.footer__link:hover {
  text-decoration: underline;
}

/* Responsive */
@media (max-width:980px) {
  main {
    padding-top: 86px;
  }

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

  .pCard {
    min-width: 100%;
  }

  .compliance__layout {
    grid-template-columns: 1fr;
    gap: 28px;
  }

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

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

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

  .location__line {
    width: 220px;
  }

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

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

  .footer__divider {
    display: none;
  }

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

@media (max-width:520px) {
  .cards--4 {
    grid-template-columns: 1fr;
  }

  .cta__pill {
    border-radius: 36px;
    padding: 34px 18px;
  }
}

/* Page specific styles for Terms and Privacy */
.text-page {
  padding-top: 140px;
  padding-bottom: 80px;
}

.text-content {
  max-width: 900px;
  margin: 0 auto;
}

.page-title {
  color: #007BBD;
  margin-bottom: 10px;
  font-size: 2.5rem;
}

.terms-title {
  color: #007BBD;
  margin-bottom: 10px;
  font-size: 2.5rem;
}

.terms-date {
  color: #777;
  margin-bottom: 40px;
  display: block;
}

.text-section,
.terms-section {
  margin-bottom: 40px;
  border-bottom: 1px solid #eee;
  padding-bottom: 20px;
}

.text-section:last-child,
.terms-section:last-child {
  border-bottom: none;
}

.text-section h2,
.terms-section h2 {
  font-size: 1.5rem;
  margin-bottom: 15px;
  color: #333;
}

.text-section h3,
.terms-section h3 {
  font-size: 1.1rem;
  margin-top: 20px;
  margin-bottom: 10px;
  color: #007BBD;
}

.text-section p,
.terms-section p {
  line-height: 1.7;
  color: #555;
  margin-bottom: 15px;
}

.terms-list {
  padding-left: 20px;
  margin-bottom: 15px;
}

.terms-list li {
  margin-bottom: 8px;
  color: #555;
  list-style-type: disc;
}

.contact-link {
  color: #007BBD;
  font-weight: 600;
  text-decoration: none;
  transition: 0.3s;
}

.contact-link:hover {
  color: #005a8d;
  text-decoration: underline;
}

/* Error Page */
.error-page {
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding-top: 140px;
  /* Account for fixed header */
}

.error-page__content {
  text-align: center;
  max-width: 600px;
}

.error-page__code {
  font-size: clamp(80px, 15vw, 150px);
  font-weight: 800;
  line-height: 1;
  color: var(--primary);
  opacity: 0.15;
  margin: 0 0 -20px;
}

.error-page__title {
  margin-bottom: 20px;
  color: var(--primary);
}

.error-page__desc {
  margin-bottom: 40px;
}