/* Ajyad Company Limited — site styles */

@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/cairo-arabic.woff2") format("woff2");
  unicode-range: U+0600-06FF, U+0750-077F, U+0870-0891, U+0897-08E1, U+08E3-08FF, U+200C-200E, U+2010-2011, U+204F, U+2E41, U+FB50-FDFF, U+FE70-FE74, U+FE76-FEFC;
}
@font-face {
  font-family: "Cairo";
  font-style: normal;
  font-weight: 400 800;
  font-display: swap;
  src: url("../fonts/cairo-latin.woff2") format("woff2");
  unicode-range: U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC, U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193, U+2212, U+2215, U+FEFF, U+FFFD;
}

:root {
  --blue: #1B75BB;
  --blue-700: #155E98;
  --blue-50: #EAF3FB;
  --sky: #5AAEF0;
  --navy: #0E2D5C;
  --ink: #0A1F44;
  --ink-900: #071630;
  --bg: #F4F7FB;
  --surface: #FFFFFF;
  --text: #13223D;
  --muted: #55657F;
  --line: #E1E8F1;
  --success: #17663A;
  --danger: #A12A2A;
  --radius: 16px;
  --radius-lg: 20px;
  --shadow: 0 12px 30px -14px rgba(10, 31, 68, .22);
  --shadow-lg: 0 28px 60px -24px rgba(10, 31, 68, .4);
  --header-h: 76px;
  --container: 1200px;
  color-scheme: light;
}

*, *::before, *::after { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: calc(var(--header-h) + 8px);
  -webkit-text-size-adjust: 100%;
}

body {
  margin: 0;
  font-family: "Cairo", system-ui, "Segoe UI", Tahoma, sans-serif;
  font-size: 1.0625rem;
  line-height: 1.85;
  color: var(--text);
  background: var(--surface);
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--blue); }
h1, h2, h3, h4 { margin: 0; line-height: 1.4; }
p { margin: 0 0 1em; }
ul, ol { margin: 0; padding: 0; list-style: none; }
bdi { unicode-bidi: isolate; }

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.icon {
  width: 24px;
  height: 24px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.75;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.container {
  width: 100%;
  max-width: calc(var(--container) + 48px);
  margin-inline: auto;
  padding-inline: 24px;
}

.skip-link {
  position: absolute;
  inset-inline-start: 16px;
  top: -60px;
  z-index: 100;
  padding: 10px 16px;
  background: var(--ink);
  color: #fff;
  border-radius: 8px;
  font-weight: 700;
  text-decoration: none;
}
.skip-link:focus { top: 12px; }

:focus-visible {
  outline: 3px solid var(--sky);
  outline-offset: 3px;
  border-radius: 6px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 46px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 12px;
  font: inherit;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  cursor: pointer;
  transition: background-color .2s, border-color .2s, color .2s, transform .2s, box-shadow .2s;
}
.btn .icon { width: 20px; height: 20px; transition: transform .2s; }
.btn:hover .icon { transform: translateX(-3px); }
.btn-lg { min-height: 54px; padding: 0 28px; font-size: 1.05rem; }
.btn-block { width: 100%; }
.btn-primary { background: var(--blue); color: #fff; box-shadow: 0 10px 24px -12px rgba(27, 117, 187, .8); }
.btn-primary:hover { background: var(--blue-700); }
.btn-ghost { border-color: rgba(255, 255, 255, .45); color: #fff; }
.btn-ghost:hover { background: rgba(255, 255, 255, .1); border-color: #fff; }
.btn-light { background: #fff; color: var(--ink); }
.btn-light:hover { background: var(--blue-50); }
.btn[disabled] { opacity: .65; cursor: progress; }

/* Header */
.site-header {
  position: fixed;
  top: 0;
  inset-inline: 0;
  z-index: 50;
  height: var(--header-h);
  background: rgba(255, 255, 255, .97);
  box-shadow: 0 1px 0 var(--line), 0 8px 24px -18px rgba(10, 31, 68, .35);
  transition: background-color .3s, box-shadow .3s;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 100%;
}
.brand { display: block; flex-shrink: 0; }
.brand img { height: 50px; width: auto; }
.brand .logo-on-dark { display: none; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  position: relative;
  padding: 8px 12px;
  color: var(--text);
  font-weight: 600;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 8px;
  transition: color .2s;
}
.nav a:not(.btn)::after {
  content: "";
  position: absolute;
  inset-inline: 12px;
  bottom: 2px;
  height: 2px;
  background: var(--blue);
  border-radius: 2px;
  transform: scaleX(0);
  transition: transform .25s;
}
.nav a:not(.btn):hover { color: var(--blue); }
.nav a.is-active::after, .nav a:not(.btn):hover::after { transform: scaleX(1); }
.nav a.is-active { color: var(--blue); }
.nav .nav-cta-mobile { display: none; }
.nav a.btn { color: #fff; font-weight: 700; }

.header-actions { display: flex; align-items: center; gap: 12px; flex-shrink: 0; }
.lang-switch {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  padding: 0 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--ink);
  font-size: .95rem;
  font-weight: 700;
  line-height: 1;
  text-decoration: none;
  white-space: nowrap;
  transition: color .2s, border-color .2s, background-color .2s;
}
.lang-switch:hover { border-color: var(--blue); color: var(--blue); }

.nav-toggle {
  display: none;
  place-items: center;
  width: 46px;
  height: 46px;
  padding: 0;
  border: 1.5px solid var(--line);
  border-radius: 12px;
  background: transparent;
  color: var(--ink);
  cursor: pointer;
}
.nav-toggle .icon-close { display: none; }
.site-header.is-open .nav-toggle .icon-open { display: none; }
.site-header.is-open .nav-toggle .icon-close { display: block; }

/* Transparent header over the hero (only when JS is running) */
.js .site-header.is-top { background: transparent; box-shadow: none; }
.js .site-header.is-top .logo-on-light { display: none; }
.js .site-header.is-top .logo-on-dark { display: block; }
.js .site-header.is-top .nav a:not(.btn) { color: rgba(255, 255, 255, .9); }
.js .site-header.is-top .nav a:not(.btn):hover,
.js .site-header.is-top .nav a.is-active { color: #fff; }
.js .site-header.is-top .nav a:not(.btn)::after { background: var(--sky); }
.js .site-header.is-top .nav-toggle { color: #fff; border-color: rgba(255, 255, 255, .35); }
.js .site-header.is-top .lang-switch { color: #fff; border-color: rgba(255, 255, 255, .35); }
.js .site-header.is-top .lang-switch:hover { border-color: #fff; background: rgba(255, 255, 255, .1); }

/* Hero */
.hero {
  position: relative;
  isolation: isolate;
  display: flex;
  align-items: center;
  min-height: 720px;
  min-height: min(100svh, 880px);
  padding-block: calc(var(--header-h) + 56px) 150px;
  color: #fff;
  background: var(--ink);
  overflow: hidden;
}
.hero-media { position: absolute; inset: 0; z-index: -2; }
.hero-media img { width: 100%; height: 100%; object-fit: cover; object-position: 30% 50%; }
.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(to left, rgba(7, 22, 48, .95) 0%, rgba(7, 22, 48, .84) 38%, rgba(7, 22, 48, .38) 72%, rgba(7, 22, 48, .18) 100%),
    linear-gradient(to top, rgba(7, 22, 48, .9) 0%, rgba(7, 22, 48, 0) 35%);
}
.hero-content { max-width: 640px; }
.hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin: 0;
  padding: 6px 16px;
  border: 1px solid rgba(255, 255, 255, .22);
  border-radius: 999px;
  background: rgba(255, 255, 255, .08);
  font-size: .95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, .9);
  -webkit-backdrop-filter: blur(6px);
  backdrop-filter: blur(6px);
}
.hero h1 {
  margin: 20px 0 18px;
  font-size: clamp(2.3rem, 5.4vw, 4rem);
  font-weight: 800;
  line-height: 1.25;
}
.hero h1 .accent { color: var(--sky); }
.hero-lead {
  max-width: 590px;
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.22rem);
  color: rgba(255, 255, 255, .84);
}
.hero-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 32px; }
.hero-tagline {
  display: flex;
  flex-wrap: wrap;
  gap: 10px 26px;
  margin-top: 36px;
  font-weight: 700;
  color: rgba(255, 255, 255, .92);
}
.hero-tagline li { display: inline-flex; align-items: center; gap: 8px; }
.hero-tagline .icon { width: 20px; height: 20px; color: var(--sky); stroke-width: 2.5; }

/* Trust bar */
.trust { position: relative; z-index: 2; margin-top: -88px; }
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  background: var(--surface);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  overflow: hidden;
}
.trust-item { display: flex; align-items: flex-start; gap: 14px; padding: 26px 22px; }
.trust-item + .trust-item { border-inline-start: 1px solid var(--line); }
.trust-item strong { display: block; color: var(--ink); font-size: 1rem; line-height: 1.5; }
.trust-item span:not(.icon-badge) { display: block; margin-top: 4px; color: var(--muted); font-size: .92rem; line-height: 1.6; }

.icon-badge {
  display: grid;
  place-items: center;
  width: 50px;
  height: 50px;
  flex-shrink: 0;
  border-radius: 14px;
  background: var(--blue-50);
  color: var(--blue);
}
.icon-badge .icon { width: 26px; height: 26px; }
.icon-badge-dark { background: rgba(255, 255, 255, .1); color: var(--sky); }
.icon-badge-wa { background: rgba(37, 211, 102, .14); color: #25D366; }

/* Sections */
.section { padding-block: clamp(72px, 9vw, 120px); }
.section-alt { background: var(--bg); }
.section-head { max-width: 760px; margin-bottom: 52px; }
.section-head.center { margin-inline: auto; text-align: center; }
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--blue);
  font-weight: 700;
  font-size: .98rem;
}
.eyebrow::before { content: ""; width: 28px; height: 2px; border-radius: 2px; background: currentColor; }
.section h2 {
  margin: 10px 0 14px;
  font-size: clamp(1.75rem, 3.3vw, 2.5rem);
  font-weight: 800;
  line-height: 1.35;
  color: var(--ink);
}
.lead { font-size: 1.125rem; color: var(--muted); }
.section-head .lead { margin-bottom: 0; }

/* About */
.about-grid {
  display: grid;
  grid-template-columns: 1.05fr .95fr;
  gap: 64px;
  align-items: center;
}
.about-text .lead { color: var(--text); }
.about-text p:not(.lead) { color: var(--muted); }
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 26px; }
.chips li {
  padding: 7px 15px;
  border-radius: 999px;
  background: var(--blue-50);
  color: var(--navy);
  font-size: .95rem;
  font-weight: 600;
}
.about-media { position: relative; }
.about-media img {
  width: 100%;
  aspect-ratio: 939 / 686;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
}
.about-badge {
  position: absolute;
  bottom: -26px;
  inset-inline-start: -26px;
  display: flex;
  align-items: center;
  gap: 12px;
  max-width: 280px;
  padding: 16px 20px;
  border-radius: 14px;
  background: var(--ink);
  color: #fff;
  font-weight: 700;
  font-size: .98rem;
  line-height: 1.6;
  box-shadow: var(--shadow-lg);
}
.about-badge .icon { width: 30px; height: 30px; color: var(--sky); }

.vm-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-top: 88px;
}
.vm-card {
  position: relative;
  overflow: hidden;
  padding: 36px 36px 32px;
  border-radius: var(--radius-lg);
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
  color: #fff;
}
.vm-card-blue { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%); }
.vm-card::after {
  content: "";
  position: absolute;
  width: 220px;
  height: 220px;
  inset-inline-end: -70px;
  top: -90px;
  border-radius: 50%;
  border: 36px solid rgba(255, 255, 255, .05);
}
.vm-icon {
  display: grid;
  place-items: center;
  width: 54px;
  height: 54px;
  border-radius: 14px;
  background: rgba(255, 255, 255, .12);
  color: #fff;
}
.vm-icon .icon { width: 28px; height: 28px; }
.vm-card h3 { margin: 18px 0 10px; font-size: 1.5rem; font-weight: 800; }
.vm-card p { margin: 0; color: rgba(255, 255, 255, .86); font-size: 1.08rem; }

/* Values */
.values-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 18px; }
.value-card {
  padding: 28px 22px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--surface);
  transition: transform .25s, box-shadow .25s, border-color .25s;
}
.value-card:hover { transform: translateY(-4px); border-color: transparent; box-shadow: var(--shadow); }
.value-card h3 { margin: 18px 0 8px; font-size: 1.2rem; font-weight: 800; color: var(--ink); }
.value-card p { margin: 0; color: var(--muted); font-size: 1rem; line-height: 1.8; }
.values-note {
  margin: 36px 0 0;
  text-align: center;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--navy);
}

/* Services */
.services-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; align-items: start; }
.service-cat {
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
  box-shadow: 0 1px 0 rgba(10, 31, 68, .02);
}
.service-cat-head {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 26px 26px 24px;
  background: linear-gradient(135deg, var(--ink) 0%, var(--navy) 100%);
  color: #fff;
}
.service-cat-head h3 { font-size: 1.28rem; font-weight: 800; }
.service-cat-head p { margin: 2px 0 0; color: rgba(255, 255, 255, .72); font-size: .95rem; }
.service-list { padding: 6px 26px 18px; }
.service-list li { display: flex; gap: 14px; padding: 18px 0; border-bottom: 1px solid var(--line); }
.service-list li:last-child { border-bottom: 0; }
.li-icon {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  flex-shrink: 0;
  border-radius: 11px;
  background: var(--blue-50);
  color: var(--blue);
}
.li-icon .icon { width: 22px; height: 22px; }
.service-list h4 { margin: 0 0 4px; font-size: 1.05rem; font-weight: 700; color: var(--ink); line-height: 1.6; }
.service-list p { margin: 0; color: var(--muted); font-size: .97rem; line-height: 1.75; }
.term {
  display: inline-block;
  margin-inline-start: 4px;
  padding: 0 8px;
  border-radius: 6px;
  background: var(--blue-50);
  color: var(--blue);
  font-size: .78rem;
  font-weight: 700;
  line-height: 1.9;
  vertical-align: middle;
  unicode-bidi: isolate;
}

/* Dark sections */
.section-dark {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: var(--ink-900);
  color: #fff;
}
.section-dark .section-bg { position: absolute; inset: 0; z-index: -2; }
.section-dark .section-bg img { width: 100%; height: 100%; object-fit: cover; opacity: .45; }
.section-dark::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(to left, rgba(7, 22, 48, .96) 0%, rgba(7, 22, 48, .86) 50%, rgba(7, 22, 48, .7) 100%);
}
.section-dark h2 { color: #fff; }
.section-dark .lead { color: rgba(255, 255, 255, .78); }
.section-dark .eyebrow { color: var(--sky); }

/* Smart surveillance */
.smart-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; }
.smart-tile {
  padding: 26px 22px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: var(--radius);
  background: rgba(255, 255, 255, .06);
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  transition: background-color .25s, border-color .25s, transform .25s;
}
.smart-tile:hover { background: rgba(255, 255, 255, .1); border-color: rgba(90, 174, 240, .55); transform: translateY(-3px); }
.smart-tile .icon { width: 32px; height: 32px; color: var(--sky); }
.smart-tile h3 { margin: 16px 0 6px; font-size: 1.1rem; font-weight: 700; color: #fff; }
.smart-tile .term { margin: 0; background: rgba(90, 174, 240, .14); color: #A9D3F7; }

/* Process */
.process-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.step {
  padding: 28px 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--bg);
  transition: border-color .25s, background-color .25s;
}
.step:hover { border-color: rgba(27, 117, 187, .35); background: #fff; }
.step-num {
  display: block;
  font-size: 2.4rem;
  font-weight: 800;
  line-height: 1;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--blue);
}
.step h3 { margin: 16px 0 8px; font-size: 1.15rem; font-weight: 800; color: var(--ink); }
.step p { margin: 0; color: var(--muted); font-size: .98rem; line-height: 1.75; }
.step-cta {
  display: flex;
  flex-direction: column;
  justify-content: center;
  border: 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%);
  color: #fff;
}
.step-cta:hover { background: linear-gradient(135deg, var(--blue) 0%, var(--blue-700) 100%); }
.step-cta h3 { margin-top: 0; color: #fff; font-size: 1.3rem; }
.step-cta p { color: rgba(255, 255, 255, .85); margin-bottom: 18px; }
.step-cta .btn { align-self: flex-start; }

/* Licenses */
.licenses-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.license-card {
  display: grid;
  grid-template-columns: 1fr 170px;
  gap: 24px;
  padding: 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.license-issuer { display: block; color: var(--blue); font-weight: 700; font-size: .95rem; }
.license-card h3, .reg-card h3 { margin: 2px 0 14px; font-size: 1.3rem; font-weight: 800; color: var(--ink); }
.meta { display: grid; grid-template-columns: auto 1fr; gap: 8px 18px; margin: 0; font-size: .98rem; }
.meta dt { color: var(--muted); }
.meta dd { margin: 0; font-weight: 700; color: var(--ink); }
.status {
  display: inline-block;
  margin-inline-start: 6px;
  padding: 0 10px;
  border-radius: 999px;
  background: #E8F6EE;
  color: var(--success);
  font-size: .82rem;
  font-weight: 700;
  line-height: 1.9;
}
.license-scope {
  margin: 16px 0 0;
  padding-top: 16px;
  border-top: 1px dashed var(--line);
  color: var(--muted);
  font-size: .95rem;
  line-height: 1.8;
}
.license-scope strong { color: var(--ink); }
.license-thumb {
  position: relative;
  display: block;
  align-self: start;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  box-shadow: var(--shadow);
  text-decoration: none;
}
.license-thumb img { width: 100%; transition: transform .35s; }
.license-thumb:hover img { transform: scale(1.04); }
.thumb-label {
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px;
  background: rgba(7, 22, 48, .82);
  color: #fff;
  font-size: .88rem;
  font-weight: 700;
}
.thumb-label .icon { width: 18px; height: 18px; }

.registrations-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; margin-top: 24px; }
.reg-card {
  display: flex;
  align-items: flex-start;
  gap: 18px;
  padding: 26px 28px;
  border: 1px solid var(--line);
  border-radius: var(--radius-lg);
  background: var(--surface);
}
.reg-body { flex: 1; }
.reg-card h3 { margin-bottom: 8px; font-size: 1.15rem; }
.reg-body p { margin: 0 0 4px; color: var(--muted); font-size: .97rem; }
.reg-body strong { color: var(--ink); }
.reg-link {
  align-self: center;
  flex-shrink: 0;
  padding: 8px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  color: var(--blue);
  font-weight: 700;
  font-size: .92rem;
  text-decoration: none;
  transition: border-color .2s, background-color .2s;
}
.reg-link:hover { border-color: var(--blue); background: var(--blue-50); }

/* Contact */
.contact-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 56px; align-items: start; }
.contact-list { display: grid; gap: 12px; margin-top: 30px; }
.contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 14px 18px;
  border: 1px solid rgba(255, 255, 255, .12);
  border-radius: 14px;
  background: rgba(255, 255, 255, .06);
  color: #fff;
  font-weight: 700;
  text-decoration: none;
  transition: background-color .2s, border-color .2s;
}
a.contact-item:hover { background: rgba(255, 255, 255, .1); border-color: rgba(90, 174, 240, .55); }
.contact-item small { display: block; color: rgba(255, 255, 255, .66); font-size: .88rem; font-weight: 600; line-height: 1.5; }

.form-card {
  padding: 36px;
  border-radius: var(--radius-lg);
  background: var(--surface);
  color: var(--text);
  box-shadow: var(--shadow-lg);
}
.form-card > h3 { margin-bottom: 22px; font-size: 1.35rem; font-weight: 800; color: var(--ink); }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; margin-bottom: 22px; }
.field.full { grid-column: 1 / -1; }
.field label { display: block; margin-bottom: 6px; color: var(--ink); font-size: .95rem; font-weight: 700; }
.req { color: #D14343; }
.field input,
.field select,
.field textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1.5px solid var(--line);
  border-radius: 10px;
  background: #FBFCFE;
  color: var(--text);
  font: inherit;
  font-size: 1rem;
  line-height: 1.6;
  transition: border-color .2s, box-shadow .2s, background-color .2s;
}
.field input:focus,
.field select:focus,
.field textarea:focus {
  outline: none;
  border-color: var(--blue);
  background: #fff;
  box-shadow: 0 0 0 4px rgba(27, 117, 187, .15);
}
.field textarea { min-height: 130px; resize: vertical; }
.field select {
  -webkit-appearance: none;
  appearance: none;
  padding-inline-end: 42px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='20' height='20' viewBox='0 0 24 24' fill='none' stroke='%2355657F' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: left 14px center;
}
.field .is-invalid { border-color: #D14343; }
.ltr-input { direction: ltr; text-align: right; }
.ltr-input::placeholder { text-align: right; }
.hp { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }

.form-status { display: none; margin: 16px 0 0; padding: 12px 16px; border-radius: 10px; font-weight: 700; }
.form-status.is-success { display: block; background: #E8F6EE; color: var(--success); }
.form-status.is-error { display: block; background: #FDECEC; color: var(--danger); }

/* Footer */
.site-footer {
  padding: 64px 0 28px;
  background: var(--ink-900);
  border-top: 1px solid rgba(255, 255, 255, .06);
  color: rgba(255, 255, 255, .7);
  font-size: .98rem;
}
.footer-grid { display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.2fr; gap: 40px; }
.footer-brand img { height: 56px; width: auto; margin-bottom: 18px; }
.footer-brand p { max-width: 320px; }
.site-footer h3 { margin-bottom: 14px; color: #fff; font-size: 1.05rem; font-weight: 800; }
.site-footer ul { display: grid; gap: 8px; }
.site-footer a { color: rgba(255, 255, 255, .7); text-decoration: none; transition: color .2s; }
.site-footer a:hover { color: #fff; }
.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 8px 24px;
  margin-top: 48px;
  padding-top: 22px;
  border-top: 1px solid rgba(255, 255, 255, .1);
  font-size: .9rem;
}
.footer-bottom p { margin: 0; }

/* Document viewer */
.doc-viewer {
  width: min(92vw, 860px);
  max-height: 94vh;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  overflow: visible;
}
.doc-viewer::backdrop { background: rgba(7, 22, 48, .88); }
.doc-viewer-bar { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 10px; }
.doc-viewer-bar h2 { font-size: 1.05rem; font-weight: 700; }
.doc-close {
  display: grid;
  place-items: center;
  width: 42px;
  height: 42px;
  border: 1.5px solid rgba(255, 255, 255, .35);
  border-radius: 10px;
  background: transparent;
  color: #fff;
  cursor: pointer;
}
.doc-close:hover { background: rgba(255, 255, 255, .12); }
.doc-viewer img {
  max-height: calc(94vh - 60px);
  width: auto;
  margin-inline: auto;
  border-radius: 8px;
  background: #fff;
}

/* Floating WhatsApp button */
.wa-float {
  position: fixed;
  bottom: 22px;
  inset-inline-end: 22px;
  z-index: 40;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #25D366;
  color: #fff;
  box-shadow: 0 12px 28px -10px rgba(7, 22, 48, .55);
  transition: transform .2s, box-shadow .2s;
}
.wa-float:hover { transform: scale(1.06); box-shadow: 0 16px 32px -10px rgba(7, 22, 48, .6); }
.wa-float .icon { width: 30px; height: 30px; }
@media (max-width: 560px) {
  .wa-float { bottom: 16px; inset-inline-end: 16px; width: 54px; height: 54px; }
}

/* 404 page */
.page-404 { background: var(--ink-900); color: #fff; }
.notfound {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  min-height: 100svh;
  padding: 48px 16px;
  text-align: center;
}
.notfound-logo img { height: 60px; width: auto; margin-bottom: 36px; }
.notfound-code { margin: 0; font-size: clamp(4rem, 14vw, 7rem); font-weight: 800; line-height: 1; color: transparent; -webkit-text-stroke: 2px var(--sky); }
.notfound h1 { margin: 18px 0 10px; font-size: 1.8rem; font-weight: 800; }
.notfound p:not(.notfound-code) { max-width: 460px; margin-bottom: 28px; color: rgba(255, 255, 255, .75); }

/* Reveal on scroll */
.js [data-reveal] { opacity: 0; transform: translateY(18px); transition: opacity .7s ease, transform .7s ease; }
.js [data-reveal].is-visible { opacity: 1; transform: none; }

/* Responsive */
@media (max-width: 1240px) {
  .header-inner { gap: 16px; }
  .nav a { padding-inline: 9px; }
  .nav a:not(.btn)::after { inset-inline: 9px; }
}

@media (max-width: 1100px) {
  .values-grid { grid-template-columns: repeat(3, 1fr); }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: repeat(3, 1fr); }
  .process-grid .step-cta { grid-column: span 2; }
  .license-card { grid-template-columns: 1fr 140px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }

  /* Collapsed menu: the language link and the English labels need more room than 960px gives */
  .nav {
    position: fixed;
    top: var(--header-h);
    inset-inline: 0;
    display: none;
    flex-direction: column;
    align-items: stretch;
    gap: 0;
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
    padding: 8px 24px 24px;
    background: #fff;
    box-shadow: var(--shadow-lg);
  }
  .site-header.is-open .nav { display: flex; }
  .nav a:not(.btn) { padding: 14px 4px; border-bottom: 1px solid var(--line); border-radius: 0; color: var(--text); }
  .nav a:not(.btn)::after { display: none; }
  .nav .nav-cta-mobile { display: inline-flex; margin-top: 16px; }
  .header-cta { display: none; }
  .nav-toggle { display: inline-grid; }
  .site-header.is-open { background: #fff; box-shadow: 0 1px 0 var(--line); }
}

@media (max-width: 960px) {
  .trust-grid { grid-template-columns: 1fr 1fr; }
  .trust-item:nth-child(3) { border-inline-start: 0; }
  .trust-item:nth-child(n+3) { border-top: 1px solid var(--line); }

  .about-grid { grid-template-columns: 1fr; gap: 56px; }
  .about-badge { inset-inline-start: 16px; }
  .vm-grid { grid-template-columns: 1fr; margin-top: 72px; }
  .smart-grid { grid-template-columns: 1fr 1fr; }
  .licenses-grid, .registrations-grid { grid-template-columns: 1fr; }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 760px) {
  :root { --header-h: 68px; }
  .brand img { height: 42px; }
  .hero { min-height: 640px; padding-bottom: 130px; }
  .hero::before { background: linear-gradient(to top, rgba(7, 22, 48, .95) 0%, rgba(7, 22, 48, .78) 55%, rgba(7, 22, 48, .6) 100%); }
  .services-grid { grid-template-columns: 1fr; }
  .values-grid { grid-template-columns: 1fr 1fr; }
  .process-grid { grid-template-columns: 1fr 1fr; }
  .process-grid .step-cta { grid-column: 1 / -1; }
  .form-card { padding: 26px 20px; }
  .form-grid { grid-template-columns: 1fr; }
}

@media (max-width: 560px) {
  .container { padding-inline: 16px; }
  .hero-actions .btn { flex: 1 1 100%; }
  .trust-grid { grid-template-columns: 1fr; }
  .trust-item + .trust-item { border-inline-start: 0; border-top: 1px solid var(--line); }
  .values-grid, .process-grid { grid-template-columns: 1fr; }
  .license-card { grid-template-columns: 1fr; }
  .license-thumb { max-width: 220px; }
  .reg-card { flex-wrap: wrap; }
  .reg-link { margin-inline-start: 68px; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .vm-card { padding: 28px 24px; }
}

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

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .js [data-reveal] { opacity: 1; transform: none; }
}

/* English (LTR) overrides — the base styles are written for the Arabic RTL page */
[dir="ltr"] body { line-height: 1.7; }
[dir="ltr"] .hero h1 { font-size: clamp(2.2rem, 4.9vw, 3.6rem); line-height: 1.15; text-wrap: balance; }
[dir="ltr"] .hero-content { max-width: 700px; }
[dir="ltr"] .section h2 { line-height: 1.25; text-wrap: balance; }
[dir="ltr"] .eyebrow { font-size: .88rem; letter-spacing: .08em; text-transform: uppercase; }
[dir="ltr"] .lead { text-wrap: pretty; }

/* Mirror the skyline so the tower sits beside the text instead of under it */
[dir="ltr"] .hero-media img { transform: scaleX(-1); }
@media (min-width: 761px) {
  [dir="ltr"] .hero::before {
    background:
      linear-gradient(to right, rgba(7, 22, 48, .95) 0%, rgba(7, 22, 48, .84) 38%, rgba(7, 22, 48, .38) 72%, rgba(7, 22, 48, .18) 100%),
      linear-gradient(to top, rgba(7, 22, 48, .9) 0%, rgba(7, 22, 48, 0) 35%);
  }
}
[dir="ltr"] .section-dark::before {
  background: linear-gradient(to right, rgba(7, 22, 48, .96) 0%, rgba(7, 22, 48, .86) 50%, rgba(7, 22, 48, .7) 100%);
}

/* Button icons are the left-pointing arrow; flip them and nudge right on hover */
[dir="ltr"] .btn .icon { transform: scaleX(-1); }
[dir="ltr"] .btn:hover .icon { transform: translateX(3px) scaleX(-1); }

[dir="ltr"] .field select { background-position: right 14px center; }
[dir="ltr"] .ltr-input,
[dir="ltr"] .ltr-input::placeholder { text-align: left; }
