:root {
  color-scheme: light;
  --surface: #fcf8fa;
  --surface-soft: #f6f3f4;
  --surface-card: #ffffff;
  --surface-blue: #f1f6ff;
  --navy: #07111f;
  --navy-2: #151b2b;
  --muted: #555f70;
  --muted-2: #7e8397;
  --border: #e2e8f0;
  --border-strong: #c6c6cd;
  --blue: #0051d5;
  --blue-2: #316bf3;
  --cyan: #22d3ee;
  --glow: rgba(0, 81, 213, 0.22);
  --shadow-soft: 0 18px 60px rgba(11, 17, 32, 0.08);
  --shadow-card: 0 14px 40px rgba(11, 17, 32, 0.06);
  --radius-sm: 10px;
  --radius-md: 16px;
  --radius-lg: 24px;
  --radius-xl: 32px;
  --container: 1180px;
  --header-height: 82px;
  --font-heading: "Plus Jakarta Sans", "IBM Plex Sans Arabic", system-ui, sans-serif;
  --font-body: "Inter", "IBM Plex Sans Arabic", system-ui, sans-serif;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-height) + 22px);
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--surface);
  color: var(--navy);
  overflow-x: hidden;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

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

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

button, input, select, textarea {
  font: inherit;
}

button {
  cursor: pointer;
}

::selection {
  background: rgba(0, 81, 213, 0.16);
  color: var(--blue);
}

.skip-link {
  position: fixed;
  inset-inline-start: 18px;
  top: 14px;
  z-index: 999;
  padding: 10px 14px;
  border-radius: 999px;
  background: var(--navy);
  color: #fff;
  transform: translateY(-140%);
  transition: transform 180ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

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

.section-pad {
  padding: 92px 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  height: var(--header-height);
  background: rgba(252, 248, 250, 0.82);
  border-bottom: 1px solid rgba(198, 198, 205, 0.34);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
}

.site-header::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: -1px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(0, 81, 213, 0.28), transparent);
  pointer-events: none;
}

.nav-shell {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: max-content;
}

.brand-mark {
  width: 48px;
  height: 48px;
  object-fit: contain;
  filter: drop-shadow(0 10px 16px rgba(0, 81, 213, 0.08));
  background: rgba(255, 255, 255, 0.95);
  border: 1px solid rgba(226, 232, 240, 0.75);
  border-radius: 14px;
  padding: 3px;
}

.brand-copy {
  display: grid;
  gap: 1px;
  line-height: 1.05;
}

.brand-copy strong {
  font-family: var(--font-heading);
  font-size: 18px;
  letter-spacing: -0.03em;
}

.brand-copy span {
  font-family: "IBM Plex Sans Arabic", var(--font-body);
  font-size: 14px;
  font-weight: 700;
  color: var(--navy-2);
}

.main-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(18px, 3vw, 42px);
  flex: 1;
}

.main-nav a,
.language-toggle {
  color: #232b3d;
  font-weight: 650;
  font-size: 15px;
  transition: color 160ms ease, opacity 160ms ease;
}

.main-nav a:hover,
.language-toggle:hover {
  color: var(--blue);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: max-content;
}

.language-toggle {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 0;
  background: transparent;
  padding: 10px 8px;
}

.language-toggle .divider {
  color: var(--border-strong);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.7);
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
}

.nav-toggle span {
  width: 18px;
  height: 2px;
  border-radius: 2px;
  background: var(--navy);
  transition: transform 180ms ease;
}

body.nav-open .nav-toggle span:first-child {
  transform: translateY(4px) rotate(45deg);
}

body.nav-open .nav-toggle span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  border-radius: 13px;
  border: 1px solid transparent;
  font-weight: 800;
  font-size: 14px;
  letter-spacing: -0.01em;
  min-height: 46px;
  padding: 0 22px;
  transition: transform 180ms ease, box-shadow 180ms ease, background 180ms ease, border-color 180ms ease;
  white-space: nowrap;
}

.btn svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  fill: none;
  stroke-width: 2.2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

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

.btn-primary {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  box-shadow: 0 12px 26px rgba(0, 81, 213, 0.24);
}

.btn-primary:hover {
  box-shadow: 0 20px 40px rgba(0, 81, 213, 0.32), 0 0 0 5px rgba(34, 211, 238, 0.12);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.82);
  border-color: rgba(198, 198, 205, 0.62);
  color: var(--navy);
  box-shadow: 0 12px 22px rgba(11, 17, 32, 0.04);
}

.btn-secondary:hover {
  border-color: rgba(0, 81, 213, 0.35);
  box-shadow: 0 18px 34px rgba(11, 17, 32, 0.08);
}

.btn-lg {
  min-height: 58px;
  padding: 0 28px;
  border-radius: 15px;
}

.btn.full {
  width: 100%;
}

.hero {
  position: relative;
  min-height: calc(100svh - var(--header-height));
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-top: 110px;
  padding-bottom: 70px;
}

.hero-grid,
.map-lines,
.hero-glow {
  position: absolute;
  pointer-events: none;
}

.hero-grid {
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(0, 81, 213, 0.055) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 81, 213, 0.055) 1px, transparent 1px),
    radial-gradient(circle at 22% 38%, rgba(0, 81, 213, 0.11), transparent 30%),
    radial-gradient(circle at 78% 34%, rgba(34, 211, 238, 0.10), transparent 34%);
  background-size: 40px 40px, 40px 40px, auto, auto;
  mask-image: linear-gradient(to bottom, #000 0%, #000 72%, transparent 100%);
}

.hero-glow-one {
  width: 570px;
  height: 570px;
  border-radius: 999px;
  inset-inline-start: 50%;
  top: 18%;
  transform: translateX(-50%);
  background: radial-gradient(circle, rgba(0, 81, 213, 0.18), rgba(34, 211, 238, 0.09) 42%, transparent 70%);
  filter: blur(30px);
}

.hero-glow-two {
  width: 350px;
  height: 350px;
  border-radius: 999px;
  inset-inline-start: 8%;
  bottom: 2%;
  background: rgba(49, 107, 243, 0.08);
  filter: blur(50px);
}

.map-lines {
  inset: auto 0 0 0;
  height: 190px;
  opacity: 0.42;
  background:
    radial-gradient(80% 130% at 12% 88%, transparent 44%, rgba(0, 81, 213, 0.24) 45%, transparent 46%, transparent 50%, rgba(0, 81, 213, 0.15) 51%, transparent 52%, transparent 57%, rgba(0, 81, 213, 0.11) 58%, transparent 59%),
    radial-gradient(80% 130% at 88% 88%, transparent 44%, rgba(0, 81, 213, 0.24) 45%, transparent 46%, transparent 50%, rgba(0, 81, 213, 0.15) 51%, transparent 52%, transparent 57%, rgba(0, 81, 213, 0.11) 58%, transparent 59%);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  gap: 34px;
}

.hero-content {
  max-width: 940px;
  text-align: center;
  overflow: visible;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--blue);
  font-weight: 800;
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.pill {
  text-transform: none;
  letter-spacing: 0;
  font-size: 13px;
  padding: 8px 14px;
  border-radius: 999px;
  color: #263045;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(198, 198, 205, 0.6);
  box-shadow: 0 8px 24px rgba(11, 17, 32, 0.04);
  backdrop-filter: blur(12px);
}

.pulse-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--blue-2);
  box-shadow: 0 0 0 6px rgba(49, 107, 243, 0.12);
}

.hero-title {
  margin: 22px auto 18px;
  font-family: var(--font-heading);
  font-size: clamp(44px, 7.2vw, 82px);
  line-height: 1.05;
  letter-spacing: -0.065em;
  max-width: 940px;
  overflow: visible;
}

.hero-title span {
  display: inline-block;
  color: var(--blue);
  background: linear-gradient(135deg, var(--blue), #1d7bff 55%, var(--cyan));
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  padding-block: 0.02em 0.08em;
  overflow: visible;
}


/* Hero headline text helpers */
.hero-title .ar-hero-line,
.hero-title .ar-hero-highlight {
  display: inline;
}

.hero-subtitle {
  margin: 0 auto;
  max-width: 620px;
  color: var(--muted);
  font-size: clamp(17px, 2vw, 20px);
  line-height: 1.65;
}

.hero-ar-line {
  margin: 12px auto 0;
  color: #29344a;
  font-family: var(--font-body);
  font-size: clamp(16px, 1.6vw, 19px);
  line-height: 1.7;
  font-weight: 700;
}

.hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-top: 34px;
  flex-wrap: wrap;
}

.hero-console {
  width: min(760px, 100%);
  border: 1px solid rgba(198, 198, 205, 0.55);
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(255,255,255,0.92), rgba(255,255,255,0.74));
  backdrop-filter: blur(18px);
  box-shadow: var(--shadow-soft);
  overflow: hidden;
}

.console-header {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 48px;
  padding: 0 18px;
  border-bottom: 1px solid rgba(198, 198, 205, 0.44);
  color: var(--muted);
}

.console-header span {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #d8dee8;
}

.console-header span:first-child {
  background: #2c7cff;
}

.console-header strong {
  margin-inline-start: 8px;
  font-size: 13px;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.console-body {
  padding: 22px;
  display: grid;
  grid-template-columns: 1fr 1fr 1.3fr;
  gap: 18px;
  align-items: center;
}

.mini-label {
  display: block;
  margin-bottom: 10px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.progress {
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: #e8eef8;
}

.progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--cyan));
}

.console-modules {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

.console-modules div {
  border: 1px solid rgba(0, 81, 213, 0.12);
  border-radius: 16px;
  padding: 14px 10px;
  background: linear-gradient(180deg, #fff, #f6faff);
}

.console-modules strong {
  display: block;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 16px;
}

.console-modules span {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.section-head {
  max-width: 720px;
  margin-bottom: 34px;
}

.section-head.centered {
  text-align: center;
  margin-inline: auto;
}

.section-head h2 {
  margin: 10px 0 12px;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4vw, 48px);
  line-height: 1.08;
  letter-spacing: -0.045em;
}

.section-head p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.65;
}

.services {
  background:
    radial-gradient(circle at 50% 0, rgba(0, 81, 213, 0.08), transparent 34%),
    linear-gradient(180deg, #f7f8fb 0%, #fcf8fa 100%);
}

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

.service-card {
  position: relative;
  min-height: 255px;
  padding: 28px 22px;
  border: 1px solid rgba(198, 198, 205, 0.48);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
  overflow: hidden;
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 0%, rgba(0, 81, 213, 0.08), transparent 45%);
  opacity: 0;
  transition: opacity 180ms ease;
  pointer-events: none;
}

.service-card:hover {
  transform: translateY(-7px);
  border-color: rgba(0, 81, 213, 0.28);
  box-shadow: 0 24px 54px rgba(11, 17, 32, 0.1);
}

.service-card:hover::after {
  opacity: 1;
}

.icon-wrap {
  width: 64px;
  height: 64px;
  display: grid;
  place-items: center;
  border-radius: 22px;
  margin-bottom: 22px;
  background: linear-gradient(180deg, #edf4ff, #ffffff);
  border: 1px solid rgba(0, 81, 213, 0.1);
}

.icon-wrap svg {
  width: 32px;
  height: 32px;
  fill: none;
  stroke: var(--blue);
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.service-card h3,
.solution-card h3,
.timeline-step h3 {
  margin: 0;
  font-family: var(--font-heading);
  letter-spacing: -0.03em;
}

.service-card h3 {
  font-size: 21px;
  line-height: 1.2;
}

.service-card p {
  color: var(--muted);
  margin: 12px 0 0;
  line-height: 1.58;
  font-size: 15px;
}

.solutions {
  background: #fff;
}

.solutions-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 46px;
  align-items: start;
}

.solution-cards {
  display: grid;
  gap: 16px;
}

.solution-card {
  position: relative;
  border: 1px solid rgba(198, 198, 205, 0.5);
  border-radius: 24px;
  padding: 26px;
  background:
    linear-gradient(135deg, rgba(255,255,255,0.96), rgba(246,250,255,0.86));
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.solution-card::before {
  content: "";
  position: absolute;
  inset-block: 18px;
  inset-inline-start: 0;
  width: 4px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--cyan));
}

.solution-card > span {
  display: inline-flex;
  margin-bottom: 10px;
  color: var(--blue);
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 15px;
}

.solution-card h3 {
  font-size: 24px;
}

.solution-card p {
  margin: 10px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.process {
  background:
    linear-gradient(180deg, #fcf8fa 0%, #fff 60%, #fcf8fa 100%);
}

.timeline {
  position: relative;
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  padding-top: 24px;
}

.timeline-line {
  position: absolute;
  inset-inline: 8%;
  top: 53px;
  height: 2px;
  background: linear-gradient(90deg, var(--blue) 0%, var(--blue) 20%, #dfe5ee 20%, #dfe5ee 100%);
  z-index: 0;
}

.timeline-step {
  position: relative;
  z-index: 1;
  display: grid;
  justify-items: center;
  text-align: center;
}

.step-number {
  width: 58px;
  height: 58px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  margin-bottom: 16px;
  background: #fff;
  border: 2px solid #dfe5ee;
  color: var(--muted);
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 800;
  box-shadow: 0 8px 22px rgba(11, 17, 32, 0.04);
}

.timeline-step.active .step-number {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  border-color: #fff;
  box-shadow: 0 0 0 5px rgba(0, 81, 213, 0.16), 0 18px 32px rgba(0, 81, 213, 0.22);
}

.timeline-step h3 {
  font-size: 20px;
  color: var(--navy-2);
}

.timeline-step.active h3 {
  color: var(--blue);
}

.timeline-step p {
  max-width: 148px;
  margin: 6px 0 0;
  color: var(--muted);
  line-height: 1.35;
  font-size: 13px;
  font-weight: 650;
}

.philosophy {
  padding-top: 70px;
  padding-bottom: 70px;
  background: #fff;
}

.philosophy-card {
  position: relative;
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 52px;
  align-items: center;
  padding: 34px;
  border-radius: 32px;
  background:
    radial-gradient(circle at 80% 20%, rgba(0, 81, 213, 0.35), transparent 34%),
    linear-gradient(135deg, #06111f 0%, #11192d 52%, #07111f 100%);
  box-shadow: 0 34px 80px rgba(7, 17, 31, 0.25);
  overflow: hidden;
}

.philosophy-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(to right, rgba(255,255,255,0.06) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255,255,255,0.05) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.35;
  pointer-events: none;
}

.lab-visual,
.philosophy-copy {
  position: relative;
  z-index: 1;
}

.lab-visual {
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 28px 64px rgba(0,0,0,0.38), inset 0 0 0 1px rgba(255,255,255,0.08);
}

.lab-visual picture {
  display: block;
}

.lab-visual img {
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  display: block;
}

.section-kicker.dark {
  color: #67c7ff;
}

.philosophy-copy h2 {
  margin: 12px 0 18px;
  color: #fff;
  font-family: var(--font-heading);
  font-size: clamp(32px, 4.5vw, 52px);
  line-height: 1.08;
  letter-spacing: -0.052em;
}

.philosophy-copy h2::after {
  content: "";
  display: inline-block;
  width: 10px;
  height: 10px;
  margin-inline-start: 10px;
  border-radius: 999px;
  background: var(--blue-2);
  box-shadow: 0 0 0 7px rgba(49, 107, 243, 0.14);
}

.philosophy-copy p {
  margin: 0;
  color: rgba(255,255,255,0.74);
  font-size: 17px;
  line-height: 1.7;
}

.check-list {
  list-style: none;
  padding: 0;
  margin: 26px 0 0;
  display: grid;
  gap: 14px;
}

.check-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}

.check-list span {
  width: 22px;
  height: 22px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(49, 107, 243, 0.22);
  border: 1px solid rgba(103, 199, 255, 0.45);
  flex: 0 0 auto;
}

.check-list span::before {
  content: "";
  width: 8px;
  height: 4px;
  border-left: 2px solid #8fdcff;
  border-bottom: 2px solid #8fdcff;
  transform: rotate(-45deg) translateY(-1px);
}

.contact {
  background:
    radial-gradient(circle at 15% 8%, rgba(0, 81, 213, 0.08), transparent 28%),
    linear-gradient(180deg, #fcf8fa, #ffffff);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.8fr 1fr;
  gap: 42px;
  align-items: start;
  padding: 34px;
  border-radius: 32px;
  background: rgba(255,255,255,0.76);
  border: 1px solid rgba(198, 198, 205, 0.48);
  box-shadow: var(--shadow-soft);
  backdrop-filter: blur(16px);
}

.contact-copy h2 {
  margin: 12px 0 16px;
  font-family: var(--font-heading);
  font-size: clamp(34px, 5vw, 54px);
  line-height: 1.06;
  letter-spacing: -0.052em;
}

.contact-copy > p {
  margin: 0;
  color: var(--muted);
  font-size: 17px;
  line-height: 1.7;
}

.contact-note {
  margin-top: 28px;
  padding: 20px;
  border-radius: 22px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  background: linear-gradient(135deg, rgba(0,81,213,0.08), rgba(34,211,238,0.06));
  border: 1px solid rgba(0, 81, 213, 0.12);
}

.note-icon {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  background: #fff;
  color: var(--blue);
  font-weight: 900;
  box-shadow: 0 10px 24px rgba(0, 81, 213, 0.12);
  flex: 0 0 auto;
}

.contact-note p {
  margin: 0;
  color: #384258;
  line-height: 1.6;
  font-size: 15px;
}

.project-form {
  display: grid;
  gap: 16px;
  padding: 24px;
  border-radius: 26px;
  background: #fff;
  border: 1px solid rgba(198, 198, 205, 0.55);
  box-shadow: 0 18px 46px rgba(11, 17, 32, 0.06);
}

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

.project-form label {
  display: grid;
  gap: 8px;
  color: var(--navy-2);
  font-weight: 800;
  font-size: 13px;
}

.project-form input,
.project-form select,
.project-form textarea {
  width: 100%;
  border: 1px solid #dfe5ee;
  border-radius: 14px;
  padding: 14px 14px;
  background: #fbfdff;
  color: var(--navy);
  outline: none;
  transition: border-color 150ms ease, box-shadow 150ms ease, background 150ms ease;
}

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

.project-form input:focus,
.project-form select:focus,
.project-form textarea:focus {
  border-color: rgba(0, 81, 213, 0.55);
  box-shadow: 0 0 0 4px rgba(0, 81, 213, 0.11);
  background: #fff;
}

.form-status {
  margin: 0;
  min-height: 22px;
  color: var(--blue);
  font-weight: 700;
  text-align: center;
}

.site-footer {
  background: #06111f;
  color: rgba(255,255,255,0.72);
  padding: 36px 0;
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  gap: 24px;
  align-items: center;
}

.footer-brand {
  color: #fff;
}

.footer-brand .brand-copy span {
  color: rgba(255,255,255,0.82);
}

.footer-brand .brand-mark {
  filter: drop-shadow(0 10px 20px rgba(49, 107, 243, 0.18));
}

.site-footer p {
  margin: 0;
  text-align: center;
  font-size: 14px;
}

.footer-links {
  display: flex;
  justify-content: flex-end;
  gap: 22px;
  flex-wrap: wrap;
}

.footer-links a {
  font-weight: 700;
  font-size: 14px;
  transition: color 160ms ease;
}

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

.legal-hero {
  padding: 82px 0 42px;
  background:
    radial-gradient(circle at 20% 0, rgba(0, 81, 213, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #fcf8fa 100%);
}

.legal-hero .section-head {
  margin-bottom: 0;
}

.legal-content {
  padding: 38px 0 92px;
  background: #fcf8fa;
}

.legal-layout {
  max-width: 860px;
  display: grid;
  gap: 24px;
}

.legal-section {
  padding: 28px;
  border: 1px solid rgba(198, 198, 205, 0.5);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: var(--shadow-card);
}

.legal-section h2 {
  margin: 0 0 12px;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: -0.03em;
}

.legal-section p,
.legal-section li {
  color: var(--muted);
  line-height: 1.75;
}

.legal-section p {
  margin: 0;
}

.legal-section p + p {
  margin-top: 12px;
}

.legal-section ul {
  margin: 0;
  padding-inline-start: 20px;
}

.legal-section a {
  color: var(--blue);
  font-weight: 800;
}

.reveal {
  opacity: 1;
  transform: none;
}

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

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

html[dir="rtl"] .hero-title,
html[dir="rtl"] .section-head h2,
html[dir="rtl"] .contact-copy h2,
html[dir="rtl"] .philosophy-copy h2 {
  letter-spacing: -0.025em;
}

html[dir="rtl"] .hero-content {
  max-width: 940px;
}

html[dir="rtl"] .hero-title {
  font-family: "IBM Plex Sans Arabic", var(--font-body);
  font-size: clamp(42px, 6.1vw, 74px);
  line-height: 1.34;
  letter-spacing: 0;
  max-width: 1080px;
  overflow: visible;
  padding: 0.16em 0.18em 0.22em;
  text-wrap: balance;
  word-break: keep-all;
}

html[dir="rtl"] .hero-title span {
  overflow: visible;
  letter-spacing: 0;
}

html[dir="rtl"] .hero-title .ar-hero-line,
html[dir="rtl"] .hero-title .ar-hero-highlight {
  display: block;
  direction: rtl;
  unicode-bidi: isolate;
  line-height: 1.36;
  white-space: nowrap;
  overflow: visible;
  padding: 0.02em 0 0.12em;
}

html[dir="rtl"] .hero-title .ar-hero-line {
  color: var(--navy);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  padding-bottom: 0.04em;
}

html[dir="rtl"] .hero-title .ar-hero-highlight {
  color: var(--blue);
  background: none;
  -webkit-background-clip: initial;
  background-clip: initial;
  -webkit-text-fill-color: currentColor;
  text-shadow: 0 10px 32px rgba(0, 81, 213, 0.12);
}

html[dir="rtl"] .hero-subtitle {
  max-width: 760px;
  line-height: 1.9;
}

html[dir="rtl"] .hero-ar-line {
  direction: rtl;
  font-family: "IBM Plex Sans Arabic", var(--font-body);
  font-size: clamp(17px, 1.8vw, 21px);
  line-height: 1.9;
}

html[dir="rtl"] .main-nav,
html[dir="rtl"] .nav-actions,
html[dir="rtl"] .brand,
html[dir="rtl"] .hero-actions,
html[dir="rtl"] .check-list li,
html[dir="rtl"] .contact-note,
html[dir="rtl"] .footer-links {
  direction: rtl;
}

html[dir="rtl"] .solution-card::before {
  inset-inline-start: auto;
  inset-inline-end: 0;
}

html[dir="rtl"] .timeline-line {
  background: linear-gradient(270deg, var(--blue) 0%, var(--blue) 20%, #dfe5ee 20%, #dfe5ee 100%);
}

@media (max-width: 1100px) {
  .service-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .solutions-layout,
  .philosophy-card,
  .contact-layout {
    grid-template-columns: 1fr;
  }

  .philosophy-card {
    gap: 34px;
  }
}

@media (max-width: 880px) {
  :root {
    --header-height: 76px;
  }

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

  .nav-toggle {
    display: inline-flex;
  }

  .main-nav {
    position: fixed;
    left: 16px;
    right: 16px;
    top: calc(var(--header-height) + 10px);
    display: grid;
    gap: 4px;
    justify-content: stretch;
    padding: 14px;
    border: 1px solid rgba(198, 198, 205, 0.52);
    border-radius: 22px;
    background: rgba(255,255,255,0.94);
    box-shadow: var(--shadow-soft);
    backdrop-filter: blur(18px);
    transform: translateY(-14px);
    opacity: 0;
    visibility: hidden;
    transition: opacity 180ms ease, transform 180ms ease, visibility 180ms ease;
  }

  body.nav-open .main-nav {
    transform: translateY(0);
    opacity: 1;
    visibility: visible;
  }

  .main-nav a {
    padding: 14px;
    border-radius: 14px;
  }

  .main-nav a:hover {
    background: rgba(0, 81, 213, 0.08);
  }

  .nav-actions .language-toggle {
    display: inline-flex;
    padding-inline: 4px;
  }

  .nav-cta {
    display: none;
  }

  .brand-mark {
    width: 44px;
    height: 44px;
  }

  .brand-copy strong {
    font-size: 16px;
  }

  .brand-copy span {
    font-size: 12px;
  }

  .hero {
    padding-top: 78px;
    min-height: auto;
  }

  .console-body {
    grid-template-columns: 1fr;
  }

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

  .timeline {
    grid-template-columns: 1fr;
    gap: 26px;
    padding-inline-start: 10px;
  }

  .timeline-line {
    inset: 30px auto 30px 28px;
    top: 30px;
    bottom: 30px;
    width: 2px;
    height: auto;
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue) 18%, #dfe5ee 18%, #dfe5ee 100%);
  }

  html[dir="rtl"] .timeline-line {
    left: auto;
    right: 28px;
    background: linear-gradient(180deg, var(--blue) 0%, var(--blue) 18%, #dfe5ee 18%, #dfe5ee 100%);
  }

  .timeline-step {
    grid-template-columns: 58px 1fr;
    column-gap: 18px;
    justify-items: start;
    text-align: start;
  }

  .timeline-step h3,
  .timeline-step p {
    grid-column: 2;
  }

  .timeline-step h3 {
    align-self: end;
  }

  .step-number {
    grid-row: 1 / span 2;
    margin-bottom: 0;
  }

  .form-row.two-cols {
    grid-template-columns: 1fr;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-links {
    justify-content: center;
  }
}

@media (max-width: 600px) {
  .section-pad {
    padding: 64px 0;
  }

  .hero-title {
    font-size: clamp(40px, 12vw, 56px);
  }

  html[dir="rtl"] .hero-title {
    font-size: clamp(34px, 10vw, 50px);
    line-height: 1.38;
    letter-spacing: 0;
    padding-inline: 0.08em;
  }

  html[dir="rtl"] .hero-title .ar-hero-line,
  html[dir="rtl"] .hero-title .ar-hero-highlight {
    white-space: normal;
    line-height: 1.42;
    padding-bottom: 0.16em;
  }

  .hero-actions,
  .hero-actions .btn {
    width: 100%;
  }

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

  .service-card {
    min-height: 0;
  }

  .philosophy-card,
  .contact-layout {
    padding: 20px;
    border-radius: 24px;
  }

  .project-form {
    padding: 18px;
  }

  .console-modules {
    grid-template-columns: 1fr;
  }
}


/* SEO FAQ */
.faq {
  background:
    radial-gradient(circle at 78% 6%, rgba(34, 211, 238, 0.10), transparent 30%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

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

.faq-item {
  border: 1px solid rgba(198, 198, 205, 0.52);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.82);
  box-shadow: 0 14px 38px rgba(11, 17, 32, 0.045);
  padding: 0;
  overflow: hidden;
}

.faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 22px 24px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 18px;
  color: var(--navy);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item summary::after {
  content: "+";
  width: 30px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border-radius: 999px;
  background: rgba(0, 81, 213, 0.08);
  color: var(--blue);
  font-weight: 900;
  flex: 0 0 auto;
}

.faq-item[open] summary::after {
  content: "–";
}

.faq-item p {
  margin: 0;
  padding: 0 24px 24px;
  color: var(--muted);
  line-height: 1.7;
}

html[dir="rtl"] .faq-item summary {
  font-family: "IBM Plex Sans Arabic", var(--font-heading);
}

@media (max-width: 880px) {
  .faq-grid {
    grid-template-columns: 1fr;
  }
}


/* Engineering standard + engagement model */
.main-nav {
  gap: clamp(14px, 2.35vw, 34px);
}

.standards {
  background:
    radial-gradient(circle at 18% 0%, rgba(0, 81, 213, 0.10), transparent 32%),
    linear-gradient(180deg, #ffffff 0%, #f7f8fb 100%);
}

.standards-layout {
  display: grid;
  grid-template-columns: 0.92fr 1.08fr;
  gap: 42px;
  align-items: start;
}

.integrity-badge {
  margin-top: 24px;
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.82);
  border: 1px solid rgba(0, 81, 213, 0.16);
  box-shadow: var(--shadow-card);
  color: var(--navy-2);
}

.integrity-badge span {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-2));
  font-weight: 900;
}

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

.standard-card,
.engagement-card {
  position: relative;
  border: 1px solid rgba(198, 198, 205, 0.5);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  box-shadow: var(--shadow-card);
  overflow: hidden;
}

.standard-card {
  min-height: 220px;
  padding: 26px;
}

.standard-card::after,
.engagement-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 80% 0%, rgba(0, 81, 213, 0.08), transparent 38%);
  pointer-events: none;
}

.standard-card > span,
.engagement-card > span {
  position: relative;
  z-index: 1;
  display: inline-grid;
  place-items: center;
  width: 38px;
  height: 38px;
  border-radius: 14px;
  color: var(--blue);
  background: #edf4ff;
  border: 1px solid rgba(0, 81, 213, 0.12);
  font-family: var(--font-heading);
  font-weight: 900;
  margin-bottom: 18px;
}

.standard-card h3,
.engagement-card h3 {
  position: relative;
  z-index: 1;
  margin: 0;
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1.18;
  letter-spacing: -0.035em;
}

.standard-card p,
.engagement-card p {
  position: relative;
  z-index: 1;
  margin: 12px 0 0;
  color: var(--muted);
  line-height: 1.65;
}

.engagement {
  background:
    radial-gradient(circle at 84% 10%, rgba(34, 211, 238, 0.12), transparent 30%),
    linear-gradient(180deg, #f7f8fb 0%, #ffffff 100%);
}

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

.engagement-card {
  min-height: 260px;
  padding: 24px;
}

.scope-note {
  margin-top: 24px;
  padding: 24px 26px;
  border: 1px solid rgba(0, 81, 213, 0.14);
  border-radius: 24px;
  background:
    linear-gradient(135deg, rgba(0, 81, 213, 0.09), rgba(34, 211, 238, 0.08)),
    rgba(255, 255, 255, 0.86);
  box-shadow: var(--shadow-card);
}

.scope-note strong {
  display: block;
  margin-bottom: 8px;
  color: var(--blue);
  font-family: var(--font-heading);
  font-size: 19px;
}

.scope-note p {
  margin: 0;
  color: #344057;
  line-height: 1.7;
}

html[dir="rtl"] .standard-card h3,
html[dir="rtl"] .engagement-card h3,
html[dir="rtl"] .scope-note strong {
  font-family: "IBM Plex Sans Arabic", var(--font-heading);
  letter-spacing: 0;
}

@media (max-width: 1100px) {
  .standards-layout,
  .engagement-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .standards-layout > .section-head {
    grid-column: 1 / -1;
  }
}

@media (max-width: 880px) {
  .standard-grid,
  .engagement-grid {
    grid-template-columns: 1fr;
  }
  .standard-card,
  .engagement-card {
    min-height: 0;
  }
  .integrity-badge {
    border-radius: 20px;
    align-items: flex-start;
  }
}
