:root {
  --deep: #073f43;
  --deep-2: #0b3d46;
  --teal: #0b7a75;
  --teal-2: #2f8f8b;
  --light: #f6fafa;
  --soft: #ddedea;
  --text: #12383d;
  --muted: #587477;
  --gold: #c9a23a;
  --white: #ffffff;
  --line: rgba(18, 56, 61, 0.14);
  --shadow: 0 22px 60px rgba(7, 63, 67, 0.12);
  --radius: 8px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--text);
  background: var(--white);
  font-family: Inter, "IBM Plex Sans Arabic", Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  overflow-x: hidden;
}

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

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

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

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

.sr-only,
.lang-ar {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body[data-lang="ar"] .lang-en {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

body[data-lang="ar"] .lang-ar {
  position: static;
  width: auto;
  height: auto;
  padding: 0;
  margin: 0;
  overflow: visible;
  clip: auto;
  white-space: normal;
}

body[data-lang="en"] .lang-en {
  white-space: normal;
}

body[data-lang="en"] .hero-content h1 .lang-en,
body[data-lang="en"] .hero-content p .lang-en,
body[data-lang="ar"] .hero-content h1 .lang-ar,
body[data-lang="ar"] .hero-content p .lang-ar {
  display: block;
  width: 100%;
  white-space: normal !important;
}

.hero-content h1 .lang-en,
.hero-content h1 .lang-ar,
.hero-content p .lang-en,
.hero-content p .lang-ar {
  max-width: 100%;
  overflow-wrap: normal;
  white-space: normal;
}

.skip-link {
  position: fixed;
  z-index: 1000;
  top: 10px;
  inset-inline-start: 10px;
  transform: translateY(-160%);
  background: var(--deep);
  color: var(--white);
  padding: 10px 14px;
  border-radius: var(--radius);
}

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

.container {
  width: min(1180px, calc(100vw - 40px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  z-index: 100;
  top: 0;
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.header-inner {
  width: min(1260px, calc(100vw - 28px));
  min-height: 78px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 188px 1fr auto;
  gap: 18px;
  align-items: center;
  min-width: 0;
}

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

.primary-nav {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 5px;
  flex-wrap: nowrap;
  min-width: 0;
  max-width: 100%;
  overflow-x: auto;
  scrollbar-width: none;
}

.primary-nav::-webkit-scrollbar {
  display: none;
}

.primary-nav a {
  padding: 8px 9px;
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
}

.primary-nav a:hover,
.primary-nav a.active {
  background: var(--light);
  color: var(--teal);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  min-width: 0;
}

.header-link {
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  white-space: nowrap;
}

.language-switch {
  display: flex;
  align-items: center;
  border: 1px solid var(--line);
  border-radius: 7px;
  overflow: hidden;
}

.language-switch button {
  min-width: 34px;
  height: 32px;
  border: 0;
  color: var(--text);
  background: var(--white);
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
}

.language-switch button.active {
  color: var(--white);
  background: var(--deep);
}

.nav-toggle {
  display: block;
  position: fixed;
  top: 17px;
  right: 14px;
  z-index: 300;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--deep);
  background: var(--gold);
  padding: 9px;
  justify-self: end;
  box-shadow: 0 8px 20px rgba(7, 63, 67, 0.12);
}

.nav-toggle span:not(.sr-only) {
  display: block;
  height: 2px;
  margin: 5px 0;
  background: var(--deep);
}

@media (min-width: 901px) {
  .nav-toggle {
    display: none;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 18px;
  border: 1px solid transparent;
  border-radius: 7px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  cursor: pointer;
  transition: transform 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 12px 30px rgba(7, 63, 67, 0.16);
}

.btn-small {
  min-height: 38px;
  padding: 10px 12px;
  font-size: 13px;
  white-space: nowrap;
}

.btn-primary {
  color: var(--white);
  background: var(--teal);
}

.btn-gold {
  color: var(--deep);
  background: var(--gold);
}

.btn-light {
  color: var(--deep);
  background: var(--white);
  border-color: var(--line);
}

.page-hero {
  position: relative;
  min-height: 680px;
  display: grid;
  align-items: center;
  color: var(--white);
  background-image: linear-gradient(90deg, rgba(7, 63, 67, 0.92), rgba(7, 63, 67, 0.62), rgba(7, 63, 67, 0.18)), var(--hero-image);
  background-size: cover;
  background-position: center;
  overflow: hidden;
}

.page-hero.compact {
  min-height: 390px;
}

.page-hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255, 255, 255, 0.08) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: 46px 46px;
  opacity: 0.3;
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 92px 0;
}

.hero-content h1 {
  max-width: 850px;
  margin: 0;
  font-size: 58px;
  line-height: 1.03;
  font-weight: 800;
  overflow-wrap: break-word;
}

.compact .hero-content h1 {
  font-size: 46px;
}

.hero-content p {
  max-width: 710px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 20px;
  line-height: 1.55;
}

.hero-actions,
.cta-row {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 30px;
}

.section {
  padding: 86px 0;
}

.section.alt {
  background: var(--light);
}

.section-header {
  max-width: 820px;
  margin-bottom: 34px;
  min-width: 0;
}

.section-header h2,
.cta-content h2 {
  margin: 0;
  color: var(--deep);
  font-size: 34px;
  line-height: 1.16;
  font-weight: 800;
}

.section-header p,
.cta-content p {
  margin: 14px 0 0;
  color: var(--muted);
  font-size: 18px;
  overflow-wrap: break-word;
}

.split {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(340px, 0.85fr);
  gap: 48px;
  align-items: center;
}

.split.reverse {
  grid-template-columns: minmax(340px, 0.9fr) minmax(0, 1fr);
}

.section-image {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.stat-strip div {
  padding: 24px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.stat-strip strong {
  display: block;
  color: var(--teal);
  font-size: 34px;
  line-height: 1;
}

.stat-strip span {
  display: block;
  margin-top: 8px;
  color: var(--muted);
  font-weight: 700;
}

.card-grid,
.feature-grid,
.service-detail-grid,
.category-service-grid,
.service-panel-grid,
.related-service-grid,
.contact-cards,
.certificate-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

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

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

.image-card,
.feature-card,
.detail-panel,
.process-card,
.certificate-preview,
.related-box,
.form-panel,
.verify-result,
.qr-panel {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(7, 63, 67, 0.07);
}

.image-card {
  overflow: hidden;
  display: grid;
  grid-template-rows: auto 1fr;
}

.image-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.image-card-body,
.feature-card,
.detail-panel,
.process-card,
.related-box,
.form-panel,
.verify-result {
  padding: 22px;
}

.card-title-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.image-card h3,
.feature-card h3,
.detail-panel h3,
.process-card h3,
.form-panel h3,
.verify-result h3,
.certificate-preview h3,
.related-box h3 {
  margin: 0 0 10px;
  color: var(--deep);
  font-size: 20px;
  line-height: 1.25;
  font-weight: 800;
}

.image-card p,
.feature-card p,
.process-card p,
.certificate-preview p,
.form-panel p,
.verify-result p {
  margin: 0;
  color: var(--muted);
}

.service-meta {
  margin: 6px 0 10px !important;
  color: var(--teal) !important;
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
}

.icon-mark {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  border-radius: 7px;
  color: var(--deep);
  background: linear-gradient(135deg, rgba(201, 162, 58, 0.24), rgba(47, 143, 139, 0.16));
  font-size: 13px;
  font-weight: 900;
}

.icon-mark.small {
  width: 36px;
  height: 36px;
  flex-basis: 36px;
  font-size: 12px;
}

.svg-icon {
  width: 24px;
  height: 24px;
  fill: none;
  stroke: currentColor;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.icon-mark.small .svg-icon {
  width: 20px;
  height: 20px;
}

.text-link {
  display: inline-flex;
  margin-top: 16px;
  color: var(--teal);
  font-weight: 800;
}

.request-service-link {
  margin-inline-end: 16px;
}

.service-inline-form {
  margin-top: 28px;
}

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

.download-card,
.article-card,
.faq-list details {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(7, 63, 67, 0.07);
}

.download-card,
.article-card {
  padding: 22px;
}

.download-card h3,
.article-card h3 {
  margin: 12px 0 8px;
  color: var(--deep);
  font-size: 20px;
  line-height: 1.25;
}

.download-card p,
.article-card p,
.faq-list p {
  margin: 0;
  color: var(--muted);
}

.article-card > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 7px;
  color: var(--deep);
  background: var(--gold);
  font-weight: 900;
}

.faq-list {
  display: grid;
  gap: 12px;
}

.faq-list summary {
  cursor: pointer;
  padding: 16px 18px;
  color: var(--deep);
  font-weight: 850;
}

.faq-list details p {
  padding: 0 18px 18px;
}

.process-timeline {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.process-timeline li {
  padding: 16px 12px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  text-align: center;
}

.process-timeline span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  border-radius: 7px;
  color: var(--deep);
  background: var(--gold);
  font-weight: 900;
}

.process-timeline strong {
  display: block;
  color: var(--deep);
  line-height: 1.25;
}

.floating-whatsapp,
.back-to-top {
  position: fixed;
  z-index: 220;
  inset-inline-end: 18px;
  border: 0;
  border-radius: 7px;
  box-shadow: 0 14px 34px rgba(7, 63, 67, 0.18);
}

.floating-whatsapp {
  bottom: 94px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 46px;
  padding: 11px 14px;
  color: var(--white);
  background: var(--teal);
  font-weight: 900;
}

.back-to-top {
  bottom: 38px;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  color: var(--deep);
  background: var(--gold);
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transition: opacity 160ms ease;
}

.back-to-top.visible {
  opacity: 1;
  pointer-events: auto;
}

.sticky-mobile-cta {
  position: fixed;
  z-index: 230;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100vw;
  max-width: 100vw;
  display: none;
  grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 72px;
  border-top: 1px solid var(--line);
  background: var(--white);
}

.sticky-mobile-cta a {
  display: grid;
  place-items: center;
  min-width: 0;
  min-height: 48px;
  color: var(--deep);
  font-size: 13px;
  font-weight: 900;
}

.sticky-mobile-cta a:first-child {
  color: var(--white);
  background: var(--teal);
}

.trust-bar {
  border-bottom: 1px solid var(--line);
  background: var(--white);
}

.trust-bar-inner {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 12px 0;
  scrollbar-width: none;
}

.trust-bar-inner::-webkit-scrollbar {
  display: none;
}

.trust-bar span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
  min-height: 36px;
  padding: 8px 10px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--deep);
  background: var(--light);
  font-size: 13px;
  font-weight: 850;
}

.trust-bar .svg-icon,
.search-link .svg-icon {
  width: 18px;
  height: 18px;
}

.search-link {
  gap: 6px;
}

.service-selector-grid,
.package-grid,
.supply-category-grid,
.problem-grid,
.journey-grid,
.readiness-grid,
.deliverable-grid,
.search-results {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.service-selector-card,
.package-card,
.supply-category-card,
.problem-card,
.journey-card,
.deliverable-card,
.capability-card,
.search-result-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(7, 63, 67, 0.07);
}

.service-selector-card,
.supply-category-card,
.problem-card,
.journey-card,
.deliverable-card,
.capability-card,
.search-result-card {
  padding: 22px;
}

.selector-card-head {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  margin-bottom: 12px;
}

.selector-card-head h3,
.package-card h3,
.supply-category-card h3,
.problem-card h3,
.journey-card h3,
.deliverable-card h3,
.search-result-card h3 {
  margin: 0;
  color: var(--deep);
  font-size: 20px;
  line-height: 1.25;
}

.service-selector-card p,
.package-card p,
.problem-card p,
.deliverable-card p,
.search-result-card p,
.capability-card p {
  color: var(--muted);
}

.package-card {
  overflow: hidden;
}

.package-card > img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  background: var(--light);
}

.package-card-body {
  display: grid;
  gap: 14px;
  padding: 20px;
}

.mini-list strong,
.package-related a,
.problem-label strong {
  color: var(--deep);
  font-weight: 900;
}

.mini-list ul {
  margin: 8px 0 0;
  padding-inline-start: 18px;
  color: var(--text);
}

.package-related {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.package-related a {
  padding: 7px 9px;
  border-radius: 6px;
  background: var(--light);
  font-size: 12px;
}

.center-actions {
  display: flex;
  justify-content: center;
  margin-top: 24px;
}

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

.readiness-grid span {
  display: flex;
  align-items: center;
  gap: 10px;
  min-height: 50px;
  padding: 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--deep);
  font-weight: 850;
}

.readiness-grid .svg-icon,
.problem-label .svg-icon {
  width: 20px;
  height: 20px;
}

.problem-label {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  color: var(--teal);
}

.problem-label.solution {
  margin-top: 14px;
  color: var(--gold-dark, var(--gold));
}

.journey-card > span {
  display: inline-flex;
  margin-bottom: 12px;
  color: var(--teal);
}

.capability-card {
  display: grid;
  place-items: start;
  gap: 14px;
}

.capability-card img {
  width: 120px;
  padding: 8px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
}

.search-shell {
  display: grid;
  gap: 24px;
}

.search-controls {
  display: grid;
  grid-template-columns: minmax(0, 1.5fr) minmax(180px, 0.5fr);
  gap: 14px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.search-controls label {
  color: var(--deep);
  font-weight: 850;
}

.search-controls input,
.search-controls select {
  width: 100%;
  margin-top: 8px;
  padding: 13px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  font: inherit;
  color: var(--text);
  background: var(--light);
}

.search-result-card {
  display: grid;
  gap: 10px;
}

.search-result-card .service-meta {
  margin: 0;
}

.whatsapp-dock {
  position: fixed;
  z-index: 240;
  inset-inline-end: 18px;
  bottom: 94px;
}

.whatsapp-dock .floating-whatsapp {
  position: static;
}

.whatsapp-menu {
  position: absolute;
  inset-inline-end: 0;
  bottom: 56px;
  display: grid;
  gap: 8px;
  min-width: 245px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 18px 45px rgba(7, 63, 67, 0.22);
}

.whatsapp-menu[hidden] {
  display: none;
}

.whatsapp-menu a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 10px;
  border-radius: 7px;
  color: var(--deep);
  background: var(--light);
  font-weight: 850;
}

.whatsapp-menu .svg-icon {
  width: 18px;
  height: 18px;
}

.section-kicker {
  margin: 0 0 10px;
  color: var(--teal);
  font-size: 12px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.service-directory-tools {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 10px;
  margin: -8px 0 34px;
}

.service-directory-tools a {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 8px;
  min-width: 0;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--deep);
  font-size: 13px;
  font-weight: 850;
  overflow-wrap: anywhere;
  white-space: normal;
}

.service-directory-tools a .lang-en,
.service-directory-tools a .lang-ar {
  min-width: 0;
  overflow-wrap: anywhere;
}

.service-directory-tools .service-count {
  grid-column: 2;
  justify-self: end;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 24px;
  height: 24px;
  border-radius: 6px;
  color: var(--deep);
  background: var(--gold);
  font-size: 12px;
}

.service-category-block {
  scroll-margin-top: 110px;
  padding: 30px 0 42px;
  border-top: 1px solid var(--line);
}

.service-category-block:first-of-type {
  border-top: 0;
  padding-top: 0;
}

.category-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.category-heading h3 {
  margin: 0;
  color: var(--deep);
  font-size: 25px;
  line-height: 1.2;
  overflow-wrap: anywhere;
}

.service-category-block .image-card img,
.service-page-intro .section-image,
.service-gallery img,
.related-service-card img {
  object-fit: contain;
  background: var(--white);
}

.service-page-intro .section-header {
  margin-bottom: 18px;
}

.compact-actions {
  margin-top: 22px;
}

.service-panel-grid {
  gap: 18px;
}

.service-panel {
  min-height: 100%;
}

.detail-panel-heading {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 6px;
}

.detail-panel-heading h3 {
  margin-top: 5px;
}

.sector-chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.sector-chip-grid > span {
  display: inline-flex;
  align-items: center;
  min-height: 40px;
  padding: 9px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--deep);
  background: var(--white);
  font-weight: 850;
}

.service-process {
  display: grid;
  gap: 10px;
  margin: 0;
  padding: 0;
  list-style: none;
  counter-reset: service-process;
}

.service-process li {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 4px 12px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.service-process li > span {
  grid-row: span 2;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 7px;
  color: var(--deep);
  background: var(--gold);
  font-size: 13px;
  font-weight: 900;
}

.service-process strong {
  color: var(--deep);
  line-height: 1.25;
}

.service-process p {
  margin: 0;
  color: var(--muted);
  font-size: 14px;
}

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

.service-gallery figure {
  margin: 0;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(7, 63, 67, 0.07);
}

.service-gallery img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
}

.service-gallery figcaption {
  padding: 12px 14px;
  color: var(--deep);
  font-weight: 850;
}

.related-service-grid {
  gap: 16px;
}

.related-service-card {
  position: relative;
  display: grid;
  gap: 12px;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(7, 63, 67, 0.07);
}

.related-service-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.related-service-card .icon-mark {
  margin: -30px 16px 0;
  background: var(--white);
  box-shadow: 0 8px 20px rgba(7, 63, 67, 0.12);
}

.related-service-card strong {
  display: block;
  min-height: 70px;
  padding: 0 16px 18px;
  color: var(--deep);
  font-size: 17px;
  line-height: 1.25;
}

.check-list {
  margin: 18px 0 0;
  padding: 0;
  list-style: none;
}

.check-list li {
  position: relative;
  margin: 10px 0;
  padding-inline-start: 26px;
  color: var(--text);
}

.check-list li::before {
  content: "";
  position: absolute;
  inset-inline-start: 0;
  top: 0.72em;
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: var(--gold);
}

.dark-band {
  color: var(--white);
  background: var(--deep);
}

.dark-band .section-header h2,
.dark-band .feature-card h3 {
  color: var(--white);
}

.dark-band .section-header p,
.dark-band .feature-card p {
  color: rgba(255, 255, 255, 0.76);
}

.dark-band .feature-card {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.16);
}

.profile-cta,
.cta-band {
  background: linear-gradient(135deg, var(--white), var(--light));
}

.qr-panel {
  padding: 26px;
  display: grid;
  place-items: center;
}

.qr-panel img {
  width: 180px;
}

.cta-band {
  padding: 58px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.cta-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}

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

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

.related-links {
  display: grid;
  gap: 10px;
}

.related-links a {
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 7px;
  color: var(--teal);
  font-weight: 800;
}

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

.sector-card {
  display: grid;
  grid-template-columns: 190px minmax(0, 1fr);
  gap: 18px;
  min-height: 210px;
  padding: 16px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(7, 63, 67, 0.07);
}

.sector-card img {
  width: 100%;
  height: 100%;
  min-height: 178px;
  object-fit: cover;
  border-radius: 7px;
}

.sector-card h3 {
  margin: 0 0 8px;
  color: var(--deep);
  font-size: 21px;
}

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

.sector-card ul {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.sector-card li {
  padding: 6px 9px;
  border-radius: 6px;
  color: var(--deep);
  background: var(--light);
  font-size: 12px;
  font-weight: 800;
}

.lifecycle {
  position: relative;
  min-height: 520px;
  border-radius: var(--radius);
  background:
    radial-gradient(circle at center, rgba(47, 143, 139, 0.16), transparent 36%),
    linear-gradient(135deg, var(--light), var(--white));
  border: 1px solid var(--line);
}

.lifecycle > div {
  position: absolute;
  width: 210px;
  min-height: 110px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: 0 10px 30px rgba(7, 63, 67, 0.08);
}

.lifecycle > div:nth-child(1) { top: 38px; left: 50%; transform: translateX(-50%); }
.lifecycle > div:nth-child(2) { top: 100px; right: 110px; }
.lifecycle > div:nth-child(3) { top: 260px; right: 80px; }
.lifecycle > div:nth-child(4) { bottom: 38px; right: 260px; }
.lifecycle > div:nth-child(5) { bottom: 38px; left: 260px; }
.lifecycle > div:nth-child(6) { top: 260px; left: 80px; }
.lifecycle > div:nth-child(7) { top: 100px; left: 110px; }
.lifecycle > div:nth-child(8) { top: 240px; left: 50%; transform: translateX(-50%); }

.lifecycle span,
.process-card span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  margin-bottom: 8px;
  border-radius: 7px;
  color: var(--deep);
  background: var(--gold);
  font-weight: 900;
}

.lifecycle strong {
  display: block;
  color: var(--deep);
  line-height: 1.3;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.matrix-table {
  width: 100%;
  min-width: 760px;
  border-collapse: collapse;
  background: var(--white);
}

.matrix-table th,
.matrix-table td {
  padding: 15px 16px;
  border-bottom: 1px solid var(--line);
  text-align: start;
}

.matrix-table thead th {
  color: var(--white);
  background: var(--deep);
}

.matrix-table tbody td {
  color: var(--teal);
  font-weight: 800;
}

.timeline {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 22px 0 0;
  padding: 0;
  list-style: none;
}

.timeline li {
  padding: 12px 14px;
  border-radius: 7px;
  background: var(--light);
  color: var(--deep);
  font-weight: 800;
}

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

.certificate-preview {
  overflow: hidden;
}

.certificate-preview img {
  width: 100%;
  aspect-ratio: 1 / 1.35;
  object-fit: cover;
  background: var(--white);
  border-bottom: 1px solid var(--line);
}

.certificate-preview > div {
  padding: 18px;
}

.form-panel {
  width: 100%;
}

.form-wide .form-panel {
  max-width: 980px;
  margin: 0 auto;
}

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

label {
  display: grid;
  gap: 7px;
  color: var(--deep);
  font-size: 14px;
  font-weight: 800;
}

input,
select,
textarea {
  width: 100%;
  min-height: 46px;
  padding: 11px 12px;
  border: 1px solid var(--line);
  border-radius: 7px;
  background: var(--white);
  color: var(--text);
  outline: none;
}

textarea {
  resize: vertical;
}

input:focus,
select:focus,
textarea:focus {
  border-color: var(--teal);
  box-shadow: 0 0 0 3px rgba(11, 122, 117, 0.13);
}

.form-panel .btn {
  margin-top: 18px;
}

.form-success {
  margin-top: 16px;
  padding: 12px 14px;
  border: 1px solid rgba(11, 122, 117, 0.24);
  border-radius: 7px;
  background: var(--light);
  color: var(--deep);
  font-weight: 800;
}

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

.verify-result dl {
  display: grid;
  grid-template-columns: minmax(140px, 0.5fr) minmax(0, 1fr);
  gap: 10px 16px;
  margin: 0;
}

.verify-result dt {
  color: var(--muted);
  font-weight: 800;
}

.verify-result dd {
  margin: 0;
  color: var(--text);
  font-weight: 700;
}

.status {
  display: inline-flex;
  padding: 6px 10px;
  border-radius: 7px;
  font-size: 13px;
  font-weight: 900;
}

.status.valid {
  color: #075d37;
  background: #e7f7ee;
}

.status.expired {
  color: #7a4b05;
  background: #fff1cf;
}

.status.missing {
  color: #7a1414;
  background: #fde8e8;
}

.status.review {
  color: #0b4f77;
  background: #e5f4ff;
}

.contact-list,
.site-footer ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.contact-list li,
.site-footer li {
  margin: 9px 0;
}

.map-placeholder {
  margin-top: 22px;
  padding: 28px;
  border: 1px dashed var(--teal-2);
  border-radius: var(--radius);
  color: var(--muted);
  background: var(--white);
  font-weight: 800;
}

.site-footer {
  background: var(--deep);
  color: rgba(255, 255, 255, 0.82);
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.8fr 1fr 1fr;
  gap: 34px;
  padding: 58px 0;
}

.footer-brand img {
  width: 190px;
  padding: 10px;
  border-radius: 7px;
  background: var(--white);
}

.site-footer h2 {
  margin: 0 0 16px;
  color: var(--white);
  font-size: 18px;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.88);
}

.site-footer a:hover {
  color: var(--gold);
}

.footer-badges {
  display: flex;
  gap: 8px;
  margin-top: 20px;
}

.footer-badges span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 34px;
  height: 34px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 7px;
  color: var(--white);
  font-weight: 900;
}

.footer-badges .svg-icon {
  width: 19px;
  height: 19px;
}

.footer-qr {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 18px;
}

.footer-qr img {
  width: 74px;
  padding: 6px;
  border-radius: 7px;
  background: var(--white);
}

.footer-bottom {
  display: flex;
  justify-content: center;
  gap: 22px;
  flex-wrap: wrap;
  padding: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.14);
  font-size: 14px;
}

html[dir="rtl"] .hero-content,
html[dir="rtl"] .section-header,
html[dir="rtl"] .image-card-body,
html[dir="rtl"] .feature-card,
html[dir="rtl"] .detail-panel,
html[dir="rtl"] .process-card,
html[dir="rtl"] .form-panel,
html[dir="rtl"] .verify-result,
html[dir="rtl"] .site-footer {
  text-align: right;
}

html[dir="rtl"] .page-hero {
  background-image: linear-gradient(270deg, rgba(7, 63, 67, 0.92), rgba(7, 63, 67, 0.62), rgba(7, 63, 67, 0.18)), var(--hero-image);
}

html[dir="rtl"] .card-title-row {
  flex-direction: row-reverse;
  justify-content: flex-end;
}

@media (max-width: 1120px) {
  .header-inner {
    grid-template-columns: 168px auto auto;
  }

  .brand img {
    width: 160px;
  }

  .primary-nav {
    gap: 2px;
  }

  .primary-nav a {
    font-size: 12px;
    padding: 7px;
  }

  .header-link {
    display: none;
  }

  .hero-content h1 {
    font-size: 48px;
  }

  .compact .hero-content h1 {
    font-size: 40px;
  }
}

@media (max-width: 900px) {
  .header-inner {
    grid-template-columns: 1fr auto auto;
  }

  .nav-toggle {
    display: none !important;
  }

  .primary-nav {
    position: static;
    grid-column: 1 / -1;
    display: flex;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 6px;
    overflow-x: auto;
    padding: 8px 0 12px;
    border-top: 1px solid var(--line);
    border-bottom: 0;
    background: var(--white);
    box-shadow: none;
    width: 100%;
    min-width: 0;
    max-width: 100%;
    scrollbar-width: thin;
  }

  .primary-nav.open {
    display: flex;
    align-items: stretch;
  }

  .primary-nav a {
    flex: 0 0 auto;
    padding: 12px;
    font-size: 14px;
    background: var(--light);
  }

  .header-actions .btn {
    display: none;
  }

  .page-hero {
    min-height: 610px;
  }

  .page-hero.compact {
    min-height: 340px;
  }

  .hero-content h1 {
    font-size: 40px;
  }

  .compact .hero-content h1 {
    font-size: 34px;
  }

  .hero-content p {
    font-size: 18px;
  }

  .split,
  .split.reverse,
  .footer-grid,
  .sector-card {
    grid-template-columns: 1fr;
  }

  .card-grid,
  .feature-grid,
  .service-detail-grid,
  .category-service-grid,
  .service-panel-grid,
  .related-service-grid,
  .service-gallery,
  .download-grid,
  .article-grid,
  .service-selector-grid,
  .package-grid,
  .supply-category-grid,
  .problem-grid,
  .journey-grid,
  .readiness-grid,
  .deliverable-grid,
  .search-results,
  .certificate-grid,
  .process-grid,
  .contact-cards,
  .sector-grid,
  .value-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .cta-content {
    align-items: flex-start;
    flex-direction: column;
  }

  .lifecycle {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
    min-height: auto;
    padding: 16px;
  }

  .lifecycle > div {
    position: static;
    width: auto;
    min-height: 0;
    transform: none !important;
  }

  .sector-card img {
    height: 220px;
  }

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

@media (max-width: 620px) {
  html,
  body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
  }

  main,
  section {
    max-width: 100vw;
    overflow-x: hidden;
  }

  .container,
  .header-inner {
    width: calc(100vw - 24px);
    max-width: calc(100vw - 24px);
    margin-inline: 12px;
    min-width: 0;
  }

  .header-inner {
    min-height: 70px;
    grid-template-columns: 1fr auto;
  }

  .brand img {
    width: 148px;
  }

  .header-actions {
    grid-column: 1 / -1;
    justify-content: space-between;
    padding-bottom: 10px;
  }

  .language-switch button {
    min-width: 42px;
  }

  .primary-nav {
    top: auto;
  }

  .primary-nav.open,
  .card-grid,
  .feature-grid,
  .service-detail-grid,
  .category-service-grid,
  .service-panel-grid,
  .related-service-grid,
  .service-gallery,
  .download-grid,
  .article-grid,
  .service-selector-grid,
  .package-grid,
  .supply-category-grid,
  .problem-grid,
  .journey-grid,
  .readiness-grid,
  .deliverable-grid,
  .search-results,
  .certificate-grid,
  .process-grid,
  .contact-cards,
  .sector-grid,
  .value-list,
  .form-grid,
  .stat-strip {
    grid-template-columns: 1fr;
  }

  .page-hero {
    min-height: 560px;
  }

  .page-hero.compact {
    min-height: 320px;
  }

  .hero-content {
    padding: 58px 0;
  }

  .hero-content h1 {
    font-size: 31px;
    max-width: 330px;
  }

  .compact .hero-content h1 {
    font-size: 28px;
  }

  .hero-content p {
    max-width: 330px;
    font-size: 17px;
  }

  .hero-actions,
  .cta-row {
    flex-direction: column;
    align-items: stretch;
  }

  .section {
    padding: 58px 0;
  }

  .section-header h2,
  .cta-content h2 {
    font-size: 28px;
  }

  .section-header,
  .section-header p,
  .section p,
  .service-page-intro,
  .service-page-intro p,
  .split > *,
  .service-directory-tools,
  .service-directory-tools a {
    max-width: min(340px, calc(100vw - 36px));
    min-width: 0;
    overflow-wrap: anywhere;
  }

  .service-directory-tools {
    grid-template-columns: minmax(0, 1fr);
  }

  .service-directory-tools a {
    width: min(340px, calc(100vw - 36px));
  }

  .service-directory-tools .service-count {
    display: none;
  }

  .verify-result dl {
    grid-template-columns: 1fr;
  }

  .footer-bottom {
    justify-content: flex-start;
  }

  .floating-whatsapp,
  .back-to-top,
  .whatsapp-dock {
    display: none;
  }

  .search-controls {
    grid-template-columns: 1fr;
  }

  .sticky-mobile-cta {
    display: grid;
    left: 0;
    right: auto;
    width: min(100vw, 390px);
    max-width: 100vw;
    overflow: hidden;
    grid-template-columns: minmax(0, 1.15fr) minmax(0, 1fr) 72px;
  }

  body {
    padding-bottom: 48px;
  }

  .process-timeline {
    grid-template-columns: 1fr;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    scroll-behavior: auto !important;
    transition: none !important;
  }
}

.mega-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.mega-menu details {
  position: relative;
}

.mega-menu summary {
  list-style: none;
  cursor: pointer;
  padding: 8px 9px;
  border-radius: 6px;
  color: var(--text);
  font-size: 13px;
  font-weight: 800;
}

.mega-menu summary::-webkit-details-marker {
  display: none;
}

.mega-menu details[open] summary,
.mega-menu summary:hover {
  background: var(--light);
  color: var(--teal);
}

.mega-menu-panel {
  position: absolute;
  z-index: 120;
  top: calc(100% + 10px);
  inset-inline-start: 0;
  width: 240px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  box-shadow: var(--shadow);
  display: grid;
  gap: 5px;
}

.mega-menu-panel a {
  padding: 9px 10px;
  border-radius: 6px;
  font-size: 13px;
}

.breadcrumbs {
  width: min(1180px, calc(100vw - 40px));
  margin: 18px auto 0;
  display: flex;
  align-items: center;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
}

.breadcrumbs a {
  color: var(--teal);
}

.related-pages-block {
  padding-top: 42px;
}

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

.related-pages-grid a {
  min-height: 78px;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 14px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
  color: var(--text);
  font-weight: 800;
}

.service-section-nav {
  position: sticky;
  z-index: 30;
  top: 79px;
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.95);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(14px);
  overflow-x: auto;
}

.service-section-nav a {
  flex: 0 0 auto;
  padding: 7px 10px;
  border: 1px solid var(--line);
  border-radius: 6px;
  color: var(--teal);
  font-size: 13px;
  font-weight: 800;
  background: var(--white);
}

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

.training-course-card {
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--white);
}

.meta-list {
  display: grid;
  grid-template-columns: max-content 1fr;
  gap: 4px 12px;
  margin: 12px 0;
  color: var(--muted);
  font-size: 13px;
}

.meta-list dt {
  color: var(--text);
  font-weight: 800;
}

.supply-category-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
  border-radius: 6px;
  margin-bottom: 12px;
}

.anchor-target {
  display: block;
  height: 1px;
  scroll-margin-top: 120px;
}

@media (max-width: 900px) {
  .mega-menu {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .mega-menu-panel {
    position: static;
    width: 100%;
    box-shadow: none;
    margin: 6px 0;
  }

  .related-pages-grid,
  .training-course-grid {
    grid-template-columns: 1fr;
  }

  .service-section-nav {
    top: 70px;
    justify-content: flex-start;
  }
}
