:root {
  /* Brand palette — deeper green + ink navy (same family as logo, premium dark UI) */
  --brand-green: #0c5c36;
  --brand-green-dark: #062a1a;
  --brand-green-soft: #152922;
  --brand-blue: #2a4578;
  --brand-blue-dark: #162338;
  --brand-green-rgb: 12, 92, 54;
  --brand-blue-rgb: 42, 69, 120;
  --bg: #0c1210;
  --bg-alt: #101816;
  --surface: #141d19;
  --surface-2: #1a2520;
  --text: #e8f1ec;
  --muted: #8fa399;
  --accent: var(--brand-green);
  --accent-2: #128a52;
  --heading: #a8d4bf;
  --stat-accent: #7aa3d4;
  --ring: rgba(var(--brand-green-rgb), 0.45);
  --radius: 14px;
  --radius-lg: 22px;
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.04);
  --shadow-soft: 0 12px 32px rgba(0, 0, 0, 0.35);
  --container: 1120px;
  --font: "Tajawal", system-ui, sans-serif;
  --hero-text: #f7faf8;
  --footer-bg: #0a1628;
  --footer-text: #dce8e4;
  --footer-muted: #7a9a8c;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  color-scheme: dark;
}

body {
  margin: 0;
  font-family: var(--font);
  background: var(--bg);
  background-image: radial-gradient(ellipse 120% 80% at 50% -20%, rgba(var(--brand-green-rgb), 0.14), transparent 55%),
    radial-gradient(ellipse 90% 50% at 100% 40%, rgba(var(--brand-blue-rgb), 0.08), transparent 45%);
  color: var(--text);
  line-height: 1.7;
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

a {
  color: inherit;
  text-decoration-thickness: 1px;
  text-underline-offset: 4px;
}

a:hover {
  color: var(--stat-accent);
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.container {
  width: min(100% - 2.5rem, var(--container));
  margin-inline: auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  isolation: isolate;
  background: rgba(12, 18, 16, 0.88);
  backdrop-filter: blur(14px) saturate(1.2);
  border-bottom: 1px solid rgba(var(--brand-green-rgb), 0.2);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding-block: 0.85rem;
  position: relative;
  flex-wrap: wrap;
}

.site-nav {
  flex: 1;
  display: flex;
  justify-content: center;
  min-width: 0;
}

.header-tools {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-shrink: 0;
}

.lang-switch {
  display: inline-flex;
  border-radius: 999px;
  border: 1px solid rgba(var(--brand-green-rgb), 0.35);
  overflow: hidden;
  background: var(--surface-2);
}

.lang-btn {
  font: inherit;
  font-size: 0.8rem;
  font-weight: 700;
  padding: 0.4rem 0.75rem;
  border: none;
  background: transparent;
  color: var(--muted);
  cursor: pointer;
  line-height: 1;
}

.lang-btn.is-active {
  background: rgba(var(--brand-green-rgb), 0.22);
  color: var(--heading);
}

.lang-btn:not(.is-active):hover {
  color: var(--heading);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  height: clamp(52px, 10vw, 64px);
  width: auto;
  object-fit: contain;
  display: block;
}

.brand-logo--footer {
  height: clamp(56px, 12vw, 76px);
  padding: 0.45rem 0.65rem;
  background: var(--surface-2);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: var(--shadow-soft);
}

.brand--footer {
  align-items: flex-start;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: 0;
  padding: 0.5rem;
  cursor: pointer;
}

.nav-toggle-bar {
  width: 24px;
  height: 2px;
  background: rgba(232, 241, 236, 0.88);
  border-radius: 2px;
}

.site-nav .nav-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.25rem 1.25rem;
}

.site-nav a {
  text-decoration: none;
  font-weight: 500;
  color: var(--muted);
}

.site-nav a:hover {
  color: var(--heading);
}

.nav-cta {
  padding: 0.45rem 1rem;
  border-radius: 999px;
  background: rgba(var(--brand-green-rgb), 0.18);
  color: var(--text) !important;
  border: 1px solid rgba(var(--brand-green-rgb), 0.45);
}

.hero {
  position: relative;
  min-height: min(88vh, 900px);
  display: grid;
  align-items: end;
  padding-bottom: clamp(3rem, 8vw, 5rem);
}

.hero-media {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.hero-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(22, 35, 58, 0.35) 0%,
    rgba(10, 28, 22, 0.72) 48%,
    rgba(4, 14, 10, 0.94) 100%
  );
}

.hero-content {
  position: relative;
  max-width: 720px;
}

.eyebrow {
  color: #7ec9a0;
  font-weight: 700;
  letter-spacing: 0.06em;
  margin: 0 0 0.75rem;
  font-size: 0.95rem;
}

.hero h1 {
  margin: 0 0 1rem;
  font-size: clamp(1.85rem, 4.5vw, 2.75rem);
  line-height: 1.2;
  font-weight: 800;
  color: var(--hero-text);
}

.lead {
  margin: 0 0 1.75rem;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.75rem 1.35rem;
  border-radius: 999px;
  font-family: inherit;
  font-weight: 700;
  font-size: 1rem;
  border: 1px solid transparent;
  cursor: pointer;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active {
  transform: translateY(1px);
}

.btn-primary {
  background: linear-gradient(155deg, var(--accent-2) 0%, var(--brand-green) 42%, var(--brand-green-dark) 100%);
  color: #f8fffb;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 255, 255, 0.08);
}

.btn-primary:hover {
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.12);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.2);
}

.btn-light {
  background: linear-gradient(180deg, #f2f7f4 0%, #dce8e2 100%);
  color: var(--brand-green-dark);
  border: 1px solid rgba(255, 255, 255, 0.35);
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.25);
}

.btn-light:hover {
  background: #ffffff;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.btn-block {
  width: 100%;
}

.stats-strip {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border-block: 1px solid rgba(var(--brand-green-rgb), 0.18);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1rem;
  padding-block: 2rem;
  text-align: center;
}

.stat-value {
  display: block;
  font-size: clamp(2rem, 5vw, 2.75rem);
  font-weight: 800;
  color: var(--stat-accent);
  letter-spacing: -0.02em;
}

.stat-label {
  color: var(--muted);
  font-size: 0.95rem;
}

/* Decorative breaks between major sections */
.section-break {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 1.5rem);
  padding-block: 1.35rem;
  padding-inline: min(6vw, 2.5rem);
  background: linear-gradient(180deg, rgba(var(--brand-green-rgb), 0.05) 0%, transparent 55%, rgba(var(--brand-blue-rgb), 0.04) 100%);
}

.section-break--alt {
  background: linear-gradient(180deg, rgba(var(--brand-blue-rgb), 0.07) 0%, transparent 50%, rgba(var(--brand-green-rgb), 0.05) 100%);
}

.section-break--cta-prelude {
  padding-block: 1.75rem;
  background: linear-gradient(180deg, var(--bg-alt) 0%, rgba(5, 10, 20, 0.85) 100%);
}

.section-break--before-contact {
  padding-block: 1.5rem;
  background: linear-gradient(180deg, rgba(22, 35, 56, 0.35) 0%, var(--bg-alt) 100%);
}

.section-break__rule {
  flex: 1;
  max-width: 200px;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(168, 212, 191, 0.2) 20%,
    rgba(122, 163, 212, 0.45) 50%,
    rgba(168, 212, 191, 0.2) 80%,
    transparent 100%
  );
}

.section-break__rule--strong {
  background: linear-gradient(
    90deg,
    transparent 0%,
    rgba(255, 255, 255, 0.12) 25%,
    rgba(168, 212, 191, 0.55) 50%,
    rgba(255, 255, 255, 0.12) 75%,
    transparent 100%
  );
}

.section-break__badge {
  flex-shrink: 0;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-2), var(--brand-blue));
  box-shadow: 0 0 20px rgba(18, 138, 82, 0.35), 0 0 0 2px rgba(255, 255, 255, 0.06);
}

.section-break__diamond {
  flex-shrink: 0;
  width: 10px;
  height: 10px;
  transform: rotate(45deg);
  border-radius: 2px;
  background: linear-gradient(145deg, rgba(18, 138, 82, 0.85), rgba(42, 69, 120, 0.9));
  box-shadow: 0 0 18px rgba(42, 69, 120, 0.35);
}

.section {
  padding-block: clamp(3.5rem, 7vw, 5.5rem);
}

.section-alt {
  background-color: var(--bg-alt);
  background-image: radial-gradient(rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 22px 22px;
}

.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 2.5rem;
}

.section-head--left {
  text-align: start;
  margin-inline: 0;
}

.section-head h2 {
  margin: 0 0 0.5rem;
  font-size: clamp(1.6rem, 3vw, 2.1rem);
  color: var(--heading);
}

.section-head p {
  margin: 0;
  color: var(--muted);
}

.section-head--decorated {
  position: relative;
}

.section-head--decorated::before {
  content: "";
  display: block;
  width: 56px;
  height: 4px;
  margin: 0 auto 1.1rem;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--accent-2), var(--brand-blue));
  box-shadow: 0 0 20px rgba(18, 138, 82, 0.25);
}

.split {
  display: grid;
  gap: 2.5rem;
  align-items: center;
}

@media (min-width: 900px) {
  .split {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .split-reverse .split-copy {
    order: 2;
  }

  .split-reverse .split-media {
    order: 1;
  }
}

.split-copy h2 {
  margin-top: 0;
  font-size: clamp(1.6rem, 3vw, 2rem);
  color: var(--heading);
}

.split-copy h2::before {
  content: "";
  display: block;
  width: 44px;
  height: 3px;
  border-radius: 999px;
  margin-bottom: 0.85rem;
  background: linear-gradient(90deg, var(--accent-2), var(--stat-accent));
  box-shadow: 0 0 16px rgba(18, 138, 82, 0.2);
}

.split-copy p {
  color: var(--muted);
}

.checklist {
  padding: 0;
  margin: 1.5rem 0 0;
  list-style: none;
  display: grid;
  gap: 0.65rem;
}

.checklist li {
  position: relative;
  padding-inline-start: 1.6rem;
  color: var(--muted);
}

.checklist li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.55em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: linear-gradient(145deg, var(--accent-2), var(--brand-green));
  box-shadow: 0 0 0 4px rgba(var(--brand-green-rgb), 0.25);
}

.card-media {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.28);
  box-shadow: var(--shadow);
}

.split-media--staff {
  position: relative;
  border: 1px solid rgba(var(--brand-green-rgb), 0.4);
  box-shadow: var(--shadow), 0 0 0 1px rgba(255, 255, 255, 0.05), 0 0 48px rgba(var(--brand-green-rgb), 0.12);
}

.split-media--staff::after {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: inherit;
  pointer-events: none;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
  background: linear-gradient(160deg, rgba(255, 255, 255, 0.06) 0%, transparent 42%, transparent 58%, rgba(0, 0, 0, 0.12) 100%);
}

.values-grid {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.value-card {
  background: linear-gradient(165deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.35rem 1.25rem;
  box-shadow: var(--shadow-soft);
}

.value-card h3 {
  margin: 0 0 0.5rem;
  font-size: 1.1rem;
  color: var(--stat-accent);
}

.value-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.services-bento {
  display: grid;
  gap: 1rem;
  grid-template-columns: repeat(6, 1fr);
  grid-auto-rows: minmax(180px, auto);
}

.service-tile {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.35);
  min-height: 220px;
  grid-column: span 2;
  box-shadow: var(--shadow-soft);
}

.service-tile--large {
  grid-column: span 4;
  grid-row: span 2;
  min-height: 360px;
}

.service-tile img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.02);
  transition: transform 0.5s ease;
}

.service-tile:hover img {
  transform: scale(1.06);
}

.service-tile-body {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  background: linear-gradient(180deg, transparent 15%, rgba(6, 10, 14, 0.55) 55%, rgba(4, 8, 12, 0.96) 100%);
}

.service-tile-body h3 {
  margin: 0 0 0.35rem;
  font-size: 1.15rem;
  color: var(--hero-text);
}

.service-tile-body p {
  margin: 0;
  color: #a8b5c4;
  font-size: 0.92rem;
  max-width: 52ch;
}

@media (max-width: 899px) {
  .service-tile,
  .service-tile--large {
    grid-column: span 6;
    grid-row: auto;
    min-height: 260px;
  }
}

.subservices {
  margin-top: 2.5rem;
  padding: 1.5rem;
  border-radius: var(--radius-lg);
  background: var(--surface-2);
  border: 1px solid rgba(var(--brand-green-rgb), 0.22);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.subservices-title {
  margin: 0 0 1rem;
  font-size: 1.1rem;
  color: var(--heading);
}

.chip-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.chip-list li {
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  background: rgba(var(--brand-green-rgb), 0.14);
  border: 1px solid rgba(var(--brand-green-rgb), 0.32);
  font-size: 0.9rem;
  color: var(--heading);
}

.cta-band {
  background: linear-gradient(
    118deg,
    #050a14 0%,
    var(--brand-blue-dark) 28%,
    var(--brand-blue) 52%,
    var(--brand-green-dark) 88%,
    #020806 100%
  );
  border-block: 1px solid rgba(255, 255, 255, 0.06);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

.cta-inner {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
}

.cta-inner h2 {
  margin: 0 0 0.35rem;
  color: #ffffff;
}

.cta-inner p {
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
}

.contact-grid {
  display: grid;
  gap: 2.5rem;
}

@media (min-width: 900px) {
  .contact-grid {
    grid-template-columns: 1fr 1fr;
    align-items: start;
  }
}

.contact-list {
  list-style: none;
  margin: 1.5rem 0 0;
  padding: 0;
  display: grid;
  gap: 1rem;
}

.contact-label {
  display: block;
  font-size: 0.8rem;
  color: var(--muted);
  margin-bottom: 0.2rem;
}

.contact-form {
  background: linear-gradient(180deg, var(--surface) 0%, var(--surface-2) 100%);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow);
  display: grid;
  gap: 1rem;
}

.contact-form label {
  display: grid;
  gap: 0.4rem;
  font-weight: 600;
  font-size: 0.92rem;
}

.contact-form input,
.contact-form textarea {
  font: inherit;
  padding: 0.65rem 0.85rem;
  border-radius: 10px;
  border: 1px solid rgba(var(--brand-blue-rgb), 0.35);
  background: #0a100d;
  color: var(--text);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: 2px solid var(--ring);
  outline-offset: 2px;
}

.form-note {
  margin: 0;
  min-height: 1.25rem;
  font-size: 0.9rem;
  color: var(--heading);
}

.site-footer {
  background: linear-gradient(180deg, #0d1a30 0%, var(--footer-bg) 40%, #050a12 100%);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  padding-block: 2.5rem 0;
  color: var(--footer-text);
}

.footer-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  padding-bottom: 2rem;
}

.footer-tag {
  margin: 0.75rem 0 0;
  color: var(--footer-muted);
  font-size: 0.92rem;
}

.footer-heading {
  margin: 0 0 0.75rem;
  font-size: 1rem;
  color: var(--footer-text);
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
  color: var(--footer-muted);
}

.site-footer a {
  color: var(--footer-text);
}

.site-footer a:hover {
  color: #ffffff;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-block: 1rem;
  color: var(--footer-muted);
  font-size: 0.88rem;
}

.footer-bottom p {
  margin: 0;
}

.fab-bar {
  position: fixed;
  z-index: 60;
  inset-block-end: 1rem;
  inset-inline: 1rem;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  direction: ltr;
}

.fab {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35);
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  pointer-events: auto;
}

.fab:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.4);
}

.fab--wa {
  background: #25d366;
}

.fab--call {
  background: linear-gradient(145deg, #355a94, var(--brand-blue-dark));
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.45), 0 0 0 1px rgba(255, 255, 255, 0.1);
}

@media (max-width: 768px) {
  .nav-toggle {
    display: flex;
  }

  .site-nav {
    position: absolute;
    inset-inline: 0;
    top: 100%;
    left: 0;
    right: 0;
    flex: none;
    justify-content: stretch;
    background: rgba(16, 24, 20, 0.97);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(var(--brand-green-rgb), 0.22);
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease;
  }

  .site-nav.is-open {
    max-height: 320px;
  }

  .site-nav .nav-list {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
    padding: 1rem 1.25rem 1.25rem;
    gap: 0;
  }

  .site-nav a {
    display: block;
    padding: 0.65rem 0;
    border-bottom: 1px solid rgba(var(--brand-green-rgb), 0.15);
  }

  .stats-grid {
    grid-template-columns: 1fr;
  }
}
