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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  font-size: var(--fs-base);
  line-height: var(--lh-base);
  color: var(--text);
  background: var(--bg);
  margin: 0;
  padding-top: var(--header-h);
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: var(--brand-primary);
  text-decoration: none;
  transition: color var(--transition);
}

a:hover {
  color: var(--brand-secondary);
}

:focus-visible {
  outline: none;
  box-shadow: var(--focus-ring);
}

.skip-link {
  position: absolute;
  inset-inline-start: 1rem;
  top: -100px;
  z-index: 10000;
  background: var(--brand-accent);
  color: var(--text-on-accent);
  padding: 0.75rem 1.25rem;
  border-radius: var(--radius-sm);
  font-weight: var(--fw-semibold);
}

.skip-link:focus {
  top: 1rem;
}

/* ===== Typography helpers ===== */
.section-eyebrow {
  display: inline-block;
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--brand-secondary);
  margin-bottom: var(--space-3);
}

.section-title {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  color: var(--brand-primary);
  margin-bottom: var(--space-3);
}

.section-lead {
  font-size: var(--fs-md);
  color: var(--text-muted);
  max-width: 38rem;
  margin-bottom: 0;
}

.section-header {
  margin-bottom: var(--space-7);
}

.section-header.centered {
  text-align: center;
}

.section-header.centered .section-lead {
  margin-inline: auto;
}

/* ===== Buttons ===== */
.btn-brand {
  --bs-btn-bg: var(--brand-accent);
  --bs-btn-border-color: var(--brand-accent);
  --bs-btn-hover-bg: var(--brand-accent-hover);
  --bs-btn-hover-border-color: var(--brand-accent-hover);
  --bs-btn-color: #fff;
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--brand-accent-hover);
  --bs-btn-active-border-color: var(--brand-accent-hover);
  --bs-btn-active-color: #fff;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    background var(--transition);
}

.btn-brand:hover {
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(0, 163, 163, 0.32);
}

.btn-brand-outline {
  --bs-btn-color: var(--brand-primary);
  --bs-btn-border-color: var(--brand-primary);
  --bs-btn-hover-bg: var(--brand-primary);
  --bs-btn-hover-border-color: var(--brand-primary);
  --bs-btn-hover-color: #fff;
  --bs-btn-active-bg: var(--brand-primary-dark);
  --bs-btn-active-border-color: var(--brand-primary-dark);
  --bs-btn-active-color: #fff;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  background: transparent;
  border-width: 2px;
}

.btn-ghost-light {
  --bs-btn-color: #fff;
  --bs-btn-border-color: rgba(255, 255, 255, 0.55);
  --bs-btn-hover-bg: rgba(255, 255, 255, 0.12);
  --bs-btn-hover-border-color: #fff;
  --bs-btn-hover-color: #fff;
  font-weight: var(--fw-semibold);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1.5rem;
  border-width: 2px;
  background: transparent;
}

.btn-link-more {
  font-weight: var(--fw-semibold);
  color: var(--brand-secondary);
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
}

.btn-link-more:hover {
  color: var(--brand-primary);
  gap: 0.55rem;
}

/* ===== Header / Nav ===== */
.site-header {
  position: fixed;
  inset-inline: 0;
  top: 0;
  z-index: 1030;
  height: var(--header-h);
  background: var(--surface-glass);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid rgba(226, 232, 240, 0.8);
  transition:
    box-shadow var(--transition),
    background var(--transition);
}

.site-header.is-scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.92);
}

.site-header .navbar-toggler {
  padding: 0.35rem;
}

.site-header .navbar-toggler-icon {
  width: 1.4rem;
  height: 1.4rem;
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2815, 28, 46, 0.85%29' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: var(--fw-bold);
  font-size: 1.15rem;
  color: var(--brand-primary);
  text-decoration: none;
}

.brand-logo:hover {
  color: var(--brand-primary);
}

.brand-logo img.logo-full {
  width: auto;
  height: 46px;
  max-width: min(200px, 52vw);
}

.brand-logo img.logo-mark,
.brand-logo svg.logo-mark {
  width: 42px;
  height: 42px;
}

.brand-logo .brand-name {
  display: none;
  line-height: 1.15;
}

.brand-logo .brand-tag {
  display: block;
  font-size: 0.65rem;
  font-weight: var(--fw-medium);
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.footer-brand img.logo-full {
  width: auto;
  height: 40px;
  max-width: 180px;
}

.nav-link-main {
  font-weight: var(--fw-medium);
  color: var(--text) !important;
  padding: 0.5rem 0.85rem !important;
  border-radius: var(--radius-sm);
}

.nav-link-main:hover,
.nav-link-main:focus,
.nav-link-main.active {
  color: var(--brand-primary) !important;
  background: var(--bg-muted);
}

.lang-switch {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  color: var(--brand-primary);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.4rem 0.75rem;
  background: var(--bg);
}

.lang-switch:hover {
  border-color: var(--brand-secondary);
  color: var(--brand-secondary);
}

/* Mega menu */
.mega-menu {
  position: absolute;
  inset-inline: 0;
  top: 100%;
  background: var(--bg);
  border-bottom: 1px solid var(--border);
  box-shadow: var(--shadow-lg);
  padding: 2rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(8px);
  transition:
    opacity var(--transition),
    transform var(--transition),
    visibility var(--transition);
  z-index: 1020;
}

.nav-item-mega:hover > .mega-menu,
.nav-item-mega:focus-within > .mega-menu,
.nav-item-mega.is-open > .mega-menu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.mega-item {
  display: flex;
  gap: 0.85rem;
  padding: 0.85rem;
  border-radius: var(--radius);
  color: inherit;
  text-decoration: none;
  transition:
    background var(--transition),
    transform var(--transition);
}

.mega-item:hover {
  background: var(--bg-muted);
  color: inherit;
  transform: translateY(-2px);
}

.mega-item .mega-icon {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 8px;
  background: linear-gradient(
    135deg,
    rgba(10, 109, 202, 0.1),
    rgba(166, 166, 166, 0.16)
  );
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  font-size: 1.25rem;
}

.mega-item h6 {
  margin: 0 0 0.2rem;
  font-weight: var(--fw-semibold);
  color: var(--brand-primary);
  font-size: var(--fs-sm);
}

.mega-item p {
  margin: 0;
  font-size: var(--fs-xs);
  color: var(--text-muted);
  line-height: 1.4;
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: calc(100vh - var(--header-h));
  display: flex;
  align-items: center;
  overflow: hidden;
  background:
    linear-gradient(
      135deg,
      rgba(10, 10, 10, 0.92) 0%,
      rgba(0, 84, 160, 0.75) 48%,
      rgba(10, 109, 202, 0.55) 100%
    ),
    radial-gradient(
      ellipse at 72% 28%,
      rgba(10, 109, 202, 0.35),
      transparent 52%
    ),
    linear-gradient(160deg, #0a0a0a, #0856a1);
  color: var(--text-inverse);
}

.hero::after {
  content: "";
  position: absolute;
  inset-inline-end: 6%;
  top: 18%;
  width: 120px;
  height: 120px;
  background:
    linear-gradient(var(--brand-primary), var(--brand-primary)) 0 0 / 48px 48px
      no-repeat,
    linear-gradient(var(--brand-primary), var(--brand-primary)) 56px 20px / 36px
      36px no-repeat,
    linear-gradient(var(--brand-neutral), var(--brand-neutral)) 12px -8px / 14px
      14px no-repeat,
    linear-gradient(var(--brand-neutral), var(--brand-neutral)) 70px 70px / 18px
      18px no-repeat;
  opacity: 0.35;
  pointer-events: none;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 48px 48px;
  opacity: 0.5;
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  padding-block: var(--space-8);
}

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  color: var(--brand-secondary-light);
  margin-bottom: var(--space-4);
}

.hero h1 {
  font-size: var(--fs-hero);
  font-weight: var(--fw-bold);
  line-height: var(--lh-tight);
  margin-bottom: var(--space-4);
  max-width: 16ch;
}

.hero .lead {
  font-size: var(--fs-lg);
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
  margin-bottom: var(--space-6);
}

.hero-visual {
  position: relative;
  z-index: 1;
  padding-block: var(--space-7);
}

.hero-panel {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(12px);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-lg);
}

.hero-stat {
  text-align: center;
  padding: 1rem;
}

.hero-stat .num {
  font-size: 1.75rem;
  font-weight: var(--fw-bold);
  color: #fff;
}

.hero-stat .label {
  font-size: var(--fs-xs);
  color: rgba(255, 255, 255, 0.7);
}

.hero-grid-art {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.hero-tile {
  border-radius: var(--radius);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.1);
  padding: 1.25rem;
  min-height: 100px;
}

.hero-tile i {
  font-size: 1.5rem;
  color: var(--brand-secondary-light);
  margin-bottom: 0.5rem;
}

.hero-tile span {
  display: block;
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

/* ===== Sections ===== */
.section {
  padding-block: var(--space-9);
}

.section-muted {
  background: var(--bg-muted);
}

.section-dark {
  background: linear-gradient(
    145deg,
    #0a0a0a,
    var(--brand-primary-dark) 55%,
    var(--brand-primary)
  );
  color: var(--text-inverse);
}

.section-dark .section-title,
.section-dark .section-eyebrow {
  color: #fff;
}

.section-dark .section-eyebrow {
  color: var(--brand-secondary-light);
}

.section-dark .section-lead {
  color: rgba(255, 255, 255, 0.78);
}

/* ===== Trust strip ===== */
.trust-strip {
  padding-block: var(--space-6);
  border-bottom: 1px solid var(--border);
}

.trust-label {
  font-size: var(--fs-xs);
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: var(--space-5);
}

.trust-logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 1.5rem 2.5rem;
}

.trust-logo {
  height: 36px;
  min-width: 100px;
  padding: 0.5rem 1rem;
  border-radius: var(--radius-sm);
  background: var(--bg-muted);
  display: grid;
  place-items: center;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  color: var(--text-muted);
  opacity: 0.85;
  transition:
    opacity var(--transition),
    transform var(--transition);
}

.trust-logo:hover {
  opacity: 1;
  transform: translateY(-2px);
}

/* ===== Cards ===== */
.card-soft {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  padding: 1.75rem;
  height: 100%;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.card-soft:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(10, 109, 202, 0.35);
}

.card-icon {
  width: 52px;
  height: 52px;
  border-radius: 8px;
  display: grid;
  place-items: center;
  background: linear-gradient(
    135deg,
    rgba(10, 109, 202, 0.1),
    rgba(166, 166, 166, 0.18)
  );
  color: var(--brand-primary);
  font-size: 1.4rem;
  margin-bottom: var(--space-4);
}

.card-soft h3 {
  font-size: var(--fs-lg);
  font-weight: var(--fw-bold);
  color: var(--brand-primary);
  margin-bottom: var(--space-2);
}

.card-soft p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
  margin-bottom: var(--space-4);
}

.industry-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.industry-card .card-icon {
  margin-inline: auto;
}

.case-card .case-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-3);
}

.case-chip {
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  padding: 0.25rem 0.65rem;
  border-radius: 6px;
  background: var(--brand-accent-soft);
  color: var(--brand-primary);
}

.case-block {
  margin-bottom: var(--space-3);
}

.case-block strong {
  display: block;
  font-size: var(--fs-xs);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--brand-secondary);
  margin-bottom: 0.2rem;
}

.case-block p {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text);
}

.case-metrics {
  display: flex;
  gap: 1rem;
  margin-top: var(--space-4);
  padding-top: var(--space-4);
  border-top: 1px solid var(--border);
}

.case-metrics div {
  text-align: center;
}

.case-metrics .val {
  font-weight: var(--fw-bold);
  color: var(--brand-primary);
  font-size: var(--fs-md);
}

.case-metrics .lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
}

/* ===== Metrics ===== */
.metric-card {
  text-align: center;
  padding: 1.5rem 1rem;
}

.metric-card .metric-value {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: var(--fw-bold);
  color: var(--brand-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.metric-card .metric-label {
  font-size: var(--fs-sm);
  color: var(--text-muted);
  font-weight: var(--fw-medium);
}

/* ===== Product page logo + ERP showcase ===== */
.product-duo {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 0.95fr);
  align-items: center;
  justify-items: center;
  gap: clamp(1.5rem, 4vw, 3rem);
  margin-bottom: clamp(2rem, 4vw, 3rem);
}

.product-duo-logo {
  display: flex;
  justify-content: center;
  align-items: center;
}

.product-duo-logo img {
  display: block;
  width: min(100%, 280px);
  height: auto;
}

.product-duo .erp-window {
  width: 100%;
  max-width: 420px;
  border-color: rgba(15, 76, 129, 0.14);
  border-radius: 16px;
  box-shadow: 0 16px 36px rgba(15, 76, 129, 0.14);
  transform: perspective(900px) rotateY(5deg) rotateX(2deg);
}

.product-duo .erp-top {
  height: 36px;
}

.product-duo .erp-shot {
  height: 260px;
}

.product-duo .erp-window:hover .erp-shot img,
.product-duo .erp-window:focus-within .erp-shot img {
  transform: translateY(calc(260px - 100%));
}

html[lang="ar"] .product-duo .erp-window {
  transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
}

/* ===== Product statistics and compliance ===== */
.product-stats {
  background:
    radial-gradient(circle at 12% 20%, rgba(45, 156, 219, 0.08), transparent 30%),
    var(--bg);
}

.product-metrics {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: var(--space-3);
}

.product-metric {
  display: flex;
  min-height: 138px;
  padding: var(--space-5);
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
}

.product-metric strong,
.product-metric .product-metric-value {
  color: var(--brand-primary);
  font-family: var(--font);
  font-size: clamp(1.8rem, 3vw, 2.5rem);
  font-weight: var(--fw-bold);
  line-height: 1;
}

.product-metric-value {
  display: inline-flex;
  align-items: center;
  gap: 0.28em;
}

.product-metric .sar-symbol {
  display: block;
  width: 0.78em;
  height: auto;
  flex-shrink: 0;
}

.product-metric > span {
  margin-top: 0.65rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
}

.zatca-section {
  color: #fff;
  background:
    radial-gradient(circle at 85% 15%, rgba(0, 211, 197, 0.2), transparent 35%),
    #081d28;
}

.zatca-content {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 0.9fr);
  gap: clamp(2rem, 6vw, 5rem);
  align-items: center;
}

.zatca-copy .section-title {
  color: #fff;
}

.zatca-copy .section-lead {
  color: rgba(255, 255, 255, 0.75);
}

.zatca-panel-label {
  display: inline-block;
  margin-bottom: var(--space-5);
  padding: 0.4rem 0.85rem;
  color: #8ee8df;
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  background: rgba(0, 211, 197, 0.1);
  border: 1px solid rgba(0, 211, 197, 0.25);
  border-radius: var(--radius-pill);
}

.zatca-content img {
  display: block;
  width: min(100%, 460px);
  height: auto;
  justify-self: center;
}

@media (max-width: 991.98px) {
  .product-metrics {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .zatca-content {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .zatca-copy .section-lead {
    margin-inline: auto;
  }
}

@media (max-width: 575.98px) {
  .product-metrics {
    grid-template-columns: 1fr;
  }

  .product-metric {
    min-height: 118px;
  }

  .zatca-content img {
    width: 100%;
  }
}

/* ===== Product filters ===== */
.filter-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-bottom: var(--space-5);
}

.filter-chip {
  border: 1px solid var(--border);
  background: var(--bg);
  color: var(--text-muted);
  font-size: var(--fs-sm);
  font-weight: var(--fw-medium);
  padding: 0.45rem 1rem;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: all var(--transition);
}

.filter-chip:hover,
.filter-chip.active {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
}

.product-search {
  max-width: 320px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border);
  padding: 0.65rem 1rem;
}

.product-card .product-thumb {
  height: 140px;
  border-radius: var(--radius);
  background: linear-gradient(
    145deg,
    var(--bg-muted),
    rgba(10, 109, 202, 0.12)
  );
  display: grid;
  place-items: center;
  margin-bottom: var(--space-4);
  color: var(--brand-primary);
  font-size: 2.5rem;
}

.product-card .badge-cat {
  font-size: 0.7rem;
  font-weight: var(--fw-semibold);
  background: rgba(10, 109, 202, 0.12);
  color: var(--brand-primary);
  border-radius: 6px;
  padding: 0.25rem 0.65rem;
}

/* ===== Process timeline ===== */
.process-track {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
  counter-reset: step;
}

.process-track::before {
  content: "";
  position: absolute;
  top: 28px;
  inset-inline: 4%;
  height: 2px;
  background: linear-gradient(
    90deg,
    var(--brand-primary),
    var(--brand-secondary)
  );
  opacity: 0.25;
  z-index: 0;
}

@media (max-width: 767.98px) {
  .process-track::before {
    display: none;
  }
}

.process-step {
  flex: 1 1 140px;
  text-align: center;
  position: relative;
  z-index: 1;
  max-width: 180px;
  margin-inline: auto;
}

.process-step .step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--bg);
  border: 2px solid var(--brand-secondary);
  color: var(--brand-primary);
  font-weight: var(--fw-bold);
  display: grid;
  place-items: center;
  margin: 0 auto 1rem;
  box-shadow: var(--shadow-md);
}

.process-step h4 {
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
  color: var(--brand-primary);
  margin-bottom: 0.35rem;
}

.process-step p {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin: 0;
}

/* ===== Testimonials ===== */
.testimonial-card {
  background: var(--surface);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  padding: 1.75rem;
  height: 100%;
  box-shadow: var(--shadow-sm);
}

.testimonial-card .stars {
  color: var(--brand-primary);
  letter-spacing: 0.1em;
  margin-bottom: var(--space-3);
  font-size: var(--fs-sm);
}

.testimonial-card blockquote {
  font-size: var(--fs-sm);
  color: var(--text);
  margin: 0 0 var(--space-4);
  line-height: 1.65;
}

.testimonial-card .author-name {
  font-weight: var(--fw-bold);
  color: var(--brand-primary);
  margin: 0;
}

.testimonial-card .author-role {
  font-size: var(--fs-xs);
  color: var(--text-muted);
  margin: 0;
}

.testimonial-showcase {
  position: relative;
  overflow: hidden;
}

.testimonial-carousel {
  max-width: 1040px;
  margin-inline: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-xl);
  background:
    radial-gradient(circle at 92% 8%, var(--brand-accent-soft), transparent 34%),
    var(--surface);
  box-shadow: var(--shadow-md);
  overflow: hidden;
}

.testimonial-carousel .carousel-inner {
  min-height: 360px;
}

.testimonial-slide {
  display: grid;
  grid-template-columns: minmax(220px, 0.72fr) minmax(0, 1.8fr);
  align-items: center;
  gap: clamp(2rem, 5vw, 4.5rem);
  min-height: 360px;
  padding: clamp(2rem, 5vw, 4.5rem) clamp(4.5rem, 8vw, 7rem);
}

.testimonial-person {
  text-align: center;
}

.testimonial-logo {
  display: grid;
  place-items: center;
  width: 190px;
  height: 130px;
  margin: 0 auto var(--space-4);
  padding: 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: #fff;
  overflow: hidden;
  box-sizing: border-box;
}

.testimonial-logo img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  min-height: 0;
  object-fit: contain;
  object-position: center;
}

.testimonial-person h3 {
  margin: 0 0 0.35rem;
  color: var(--brand-primary);
  font-size: var(--fs-base);
  font-weight: var(--fw-bold);
}

.testimonial-person p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.testimonial-slide blockquote {
  position: relative;
  margin: 0;
  padding-top: 3.2rem;
  color: var(--text);
  font-size: clamp(1rem, 1.6vw, 1.2rem);
  line-height: 2;
}

.testimonial-slide blockquote .bi-quote {
  position: absolute;
  inset-block-start: -0.5rem;
  inset-inline-start: -0.4rem;
  color: var(--brand-primary);
  font-size: 3.6rem;
  line-height: 1;
  opacity: 0.18;
}

.testimonial-carousel .carousel-indicators {
  bottom: 1rem;
  margin-bottom: 0;
  gap: 0.35rem;
}

.testimonial-carousel .carousel-indicators [data-bs-target] {
  width: 9px;
  height: 9px;
  margin: 0;
  border: 0;
  border-radius: 50%;
  background-color: var(--brand-primary);
}

.testimonial-carousel .carousel-control-prev,
.testimonial-carousel .carousel-control-next {
  top: 50%;
  bottom: auto;
  width: 42px;
  height: 42px;
  margin-inline: 1rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 50%;
  background: var(--brand-primary);
  opacity: 1;
  transform: translateY(-50%);
  transition:
    background-color var(--transition),
    transform var(--transition);
}

.testimonial-carousel .carousel-control-prev:hover,
.testimonial-carousel .carousel-control-next:hover {
  background: var(--brand-primary-dark);
  transform: translateY(-50%) scale(1.06);
}

.testimonial-carousel .carousel-control-prev-icon,
.testimonial-carousel .carousel-control-next-icon {
  width: 1.15rem;
  height: 1.15rem;
}

/* ===== Blog cards ===== */
.blog-card {
  overflow: hidden;
  padding: 0;
}

.blog-card .blog-thumb {
  height: 160px;
  background: linear-gradient(135deg, #0a0a0a, var(--brand-primary));
  display: grid;
  place-items: center;
  color: rgba(255, 255, 255, 0.85);
  font-size: 2rem;
}

.blog-card .blog-body {
  padding: 1.5rem;
}

.blog-card .blog-cat {
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-secondary);
}

/* ===== CTA band ===== */
.cta-band {
  border-radius: var(--radius-xl);
  background:
    linear-gradient(
      120deg,
      rgba(10, 10, 10, 0.96),
      rgba(0, 84, 160, 0.9) 55%,
      rgba(10, 109, 202, 0.88)
    ),
    var(--brand-primary);
  color: #fff;
  padding: clamp(2.5rem, 5vw, 4rem);
  text-align: center;
  box-shadow: var(--shadow-lg);
}

.cta-band h2 {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
}

.cta-band p {
  color: rgba(255, 255, 255, 0.85);
  max-width: 32rem;
  margin-inline: auto;
  margin-bottom: var(--space-5);
}

/* ===== Page hero (inner) ===== */
.page-hero {
  background: linear-gradient(
    135deg,
    #0a0a0a,
    #0856a1 55%,
    var(--brand-primary)
  );
  color: #fff;
  padding: var(--space-8) 0 var(--space-7);
}

.page-hero h1 {
  font-size: var(--fs-3xl);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-3);
}

.page-hero .lead {
  color: rgba(255, 255, 255, 0.85);
  max-width: 36rem;
  margin-bottom: 0;
}

.breadcrumb-nav {
  font-size: var(--fs-sm);
  margin-bottom: var(--space-4);
}

.breadcrumb-nav a {
  color: rgba(255, 255, 255, 0.75);
}

.breadcrumb-nav a:hover {
  color: #fff;
}

.breadcrumb-nav .sep {
  margin-inline: 0.5rem;
  opacity: 0.5;
}

.breadcrumb-nav .current {
  color: #fff;
  font-weight: var(--fw-medium);
}

/* ===== Footer ===== */
.site-footer {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(
      ellipse 80% 60% at 100% 0%,
      rgba(0, 87, 184, 0.28),
      transparent 55%
    ),
    radial-gradient(
      ellipse 50% 40% at 0% 100%,
      rgba(0, 87, 184, 0.14),
      transparent 50%
    ),
    linear-gradient(180deg, #0c1220 0%, #0a0a0a 100%);
  color: rgba(255, 255, 255, 0.78);
  padding-top: var(--space-8);
  padding-bottom: var(--space-5);
}

.footer-glow {
  position: absolute;
  inset-inline-start: 10%;
  top: -40%;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  background: rgba(0, 87, 184, 0.18);
  filter: blur(60px);
  pointer-events: none;
}

.footer-grid {
  position: relative;
  display: grid;
  grid-template-columns: 1.4fr 0.9fr 1.35fr;
  gap: clamp(1.5rem, 3vw, 2.75rem);
}

.site-footer h5 {
  color: #fff;
  font-size: var(--fs-sm);
  font-weight: var(--fw-bold);
  margin-bottom: var(--space-4);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.site-footer a {
  color: rgba(255, 255, 255, 0.72);
  font-size: var(--fs-sm);
  text-decoration: none;
}

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

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

.site-footer li {
  margin-bottom: 0.65rem;
}

.footer-brand {
  color: #fff;
  font-weight: var(--fw-bold);
  font-size: var(--fs-lg);
  margin-bottom: var(--space-3);
}

.footer-tagline {
  font-size: var(--fs-sm);
  line-height: 1.7;
  max-width: 28rem;
  margin-bottom: var(--space-4);
  color: rgba(255, 255, 255, 0.68);
}

.footer-contact-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  margin-bottom: 0.85rem;
}

.footer-contact-list i {
  color: var(--brand-secondary-light);
  font-size: 1.05rem;
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.footer-contact-list span,
.footer-contact-list a {
  line-height: 1.55;
}

.footer-bottom {
  position: relative;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: var(--space-7);
  padding-top: var(--space-5);
  font-size: var(--fs-xs);
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: space-between;
  align-items: center;
  color: rgba(255, 255, 255, 0.55);
}

.social-links {
  display: flex;
  gap: 0.65rem;
}

.social-links a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.15);
  display: grid;
  place-items: center;
  transition:
    background var(--transition),
    border-color var(--transition),
    transform var(--transition);
}

.social-links a:hover {
  background: var(--brand-primary);
  border-color: var(--brand-primary);
  color: #fff;
  transform: translateY(-2px);
}

.recaptcha-setup-note {
  margin: 0;
  padding: 0.75rem 1rem;
  border: 1px dashed rgba(0, 87, 184, 0.35);
  border-radius: var(--radius-sm);
  background: var(--brand-accent-soft);
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

[data-recaptcha] {
  min-height: 1.5rem;
}

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

  .footer-brand-col,
  .footer-contact-col {
    grid-column: 1 / -1;
  }
}

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

/* ===== Floating FAB & sticky CTA ===== */
.fab-contact {
  position: fixed;
  inset-inline-end: 1.25rem;
  bottom: 1.25rem;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  align-items: flex-end;
}

.fab-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: #fff;
  box-shadow: var(--shadow-lg);
  border: none;
  font-size: 1.35rem;
  transition: transform var(--transition);
  text-decoration: none;
}

.fab-btn:hover {
  transform: scale(1.06);
  color: #fff;
}

.fab-whatsapp {
  background: #25d366;
}

.fab-consult {
  background: var(--brand-primary);
  width: auto;
  height: auto;
  border-radius: var(--radius-pill);
  padding: 0.75rem 1.15rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
  gap: 0.4rem;
  display: inline-flex;
  align-items: center;
}

/* ===== Forms ===== */
.form-card {
  background: var(--bg);
  border-radius: var(--radius-lg);
  border: 1px solid var(--border);
  box-shadow: var(--shadow-md);
  padding: clamp(1.5rem, 3vw, 2.5rem);
}

.form-label {
  font-weight: var(--fw-semibold);
  font-size: var(--fs-sm);
  color: var(--brand-primary);
}

.form-control,
.form-select {
  border-radius: var(--radius-sm);
  border-color: var(--border);
  padding: 0.7rem 1rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--brand-secondary);
  box-shadow: var(--focus-ring);
}

.was-validated .form-check-input.optional-consent:valid {
  border-color: var(--border);
}

.was-validated .form-check-input.optional-consent:valid:checked {
  background-color: var(--brand-secondary);
  border-color: var(--brand-secondary);
}

.was-validated .form-check-input.optional-consent:valid:focus {
  box-shadow: var(--focus-ring);
}

.was-validated
  .form-check-input.optional-consent:valid
  ~ .form-check-label {
  color: inherit;
}

.contact-info-item {
  display: flex;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.contact-info-item .icon {
  width: 48px;
  height: 48px;
  border-radius: 8px;
  background: var(--bg-muted);
  display: grid;
  place-items: center;
  color: var(--brand-primary);
  font-size: 1.25rem;
  flex-shrink: 0;
}

.contact-info-item h6 {
  margin: 0 0 0.2rem;
  font-weight: var(--fw-bold);
  color: var(--brand-primary);
}

.contact-info-item p,
.contact-info-item a {
  margin: 0;
  font-size: var(--fs-sm);
  color: var(--text-muted);
}

/* ===== Reveal animation ===== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition:
    opacity 0.6s ease,
    transform 0.6s ease;
  transition-delay: var(--reveal-delay, 0ms);
}

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

/* ===== Product detail ===== */
.feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.feature-list li {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
  font-size: var(--fs-sm);
}

.feature-list li i {
  color: var(--brand-primary);
  margin-top: 0.15rem;
}

.related-empty,
.products-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-muted);
}

/* ===== Utilities ===== */
.text-brand {
  color: var(--brand-primary) !important;
}

.text-accent {
  color: var(--brand-primary) !important;
}

.text-teal {
  color: var(--brand-primary) !important;
}

.bg-glass {
  background: var(--surface-glass);
  backdrop-filter: blur(10px);
}

.min-vh-hero {
  min-height: calc(100vh - var(--header-h));
}

/* Offcanvas mobile nav */
.offcanvas-nav .nav-link {
  font-weight: var(--fw-medium);
  color: var(--text);
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

.offcanvas-nav .nav-link:hover {
  color: var(--brand-secondary);
}

.offcanvas-nav .accordion-button {
  font-weight: var(--fw-medium);
  box-shadow: none !important;
  background: transparent;
  padding-inline: 0;
}

.offcanvas-nav .accordion-button:not(.collapsed) {
  color: var(--brand-secondary);
  background: transparent;
}

.offcanvas-nav .accordion-body {
  padding-inline: 0;
}

@media (max-width: 991.98px) {
  .mega-menu {
    display: none !important;
  }

  .fab-consult span {
    display: none;
  }

  .fab-consult {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    padding: 0;
    justify-content: center;
  }
}

@media (min-width: 1400px) {
  .container-xxl-custom {
    max-width: 1320px;
  }
}

/* ===== 2026 homepage experience ===== */
html[lang="ar"] .section-eyebrow,
html[lang="ar"] .trust-label {
  letter-spacing: 0;
  text-transform: none;
}

.hero-v2 {
  min-height: min(820px, calc(100vh - var(--header-h)));
  background:
    radial-gradient(
      circle at 10% 18%,
      rgba(45, 156, 219, 0.2),
      transparent 30%
    ),
    radial-gradient(circle at 85% 85%, rgba(0, 163, 163, 0.18), transparent 35%),
    linear-gradient(130deg, #082f50 0%, #0f4c81 52%, #176aa1 100%);
}

.hero-v2::after {
  display: none;
}

.hero-v2::before {
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: linear-gradient(to bottom, #000, transparent 95%);
}

.hero-v2 .container {
  position: relative;
  z-index: 2;
}

.hero-v2 .hero-content {
  padding-block: clamp(5rem, 9vw, 8rem);
}

.hero-v2 .hero-eyebrow {
  border: 1px solid rgba(255, 255, 255, 0.18);
  background: rgba(255, 255, 255, 0.07);
  border-radius: var(--radius-pill);
  color: #dceeff;
  padding: 0.48rem 0.85rem;
}

.status-dot,
.live-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #5ce1a2;
  box-shadow: 0 0 0 5px rgba(92, 225, 162, 0.12);
  animation: pulse-dot 2s ease-in-out infinite;
}

.hero-v2 h1 {
  max-width: 11ch;
  font-size: clamp(2.65rem, 5vw, 4.25rem);
  letter-spacing: -0.035em;
}

.hero-v2 h1 span {
  display: block;
  color: var(--brand-secondary-light);
}

.hero-v2 .lead {
  max-width: 34rem;
  line-height: 1.85;
}

.hero-capabilities {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
  margin: 1.5rem 0;
}

.hero-capabilities span {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.45rem 0.7rem;
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: var(--radius-pill);
  background: rgba(255, 255, 255, 0.07);
  color: rgba(255, 255, 255, 0.88);
  font-size: var(--fs-xs);
  font-weight: var(--fw-medium);
}

.hero-capabilities i {
  color: #77d8d8;
}

.hero-actions .btn {
  min-width: 158px;
}

.hero-quote-cta {
  min-width: 190px !important;
  box-shadow: 0 12px 32px rgba(0, 163, 163, 0.35);
  font-weight: var(--fw-bold);
}

.hero-actions .btn i,
.quick-form .btn i {
  display: inline-block;
  margin-inline-start: 0.4rem;
  transition: transform var(--transition);
}

.hero-actions .btn:hover i,
.quick-form .btn:hover i {
  transform: translateX(-4px);
}

.hero-proof {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2rem;
  margin-top: 2.25rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.13);
}

.hero-proof div {
  display: flex;
  align-items: center;
  gap: 0.55rem;
}

.hero-proof strong {
  font-size: 1.3rem;
  color: #fff;
}

.hero-proof span {
  color: rgba(255, 255, 255, 0.62);
  font-size: var(--fs-xs);
}

.hero-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
  opacity: 0.55;
}

.hero-orb-one {
  width: 180px;
  height: 180px;
  inset-inline-start: -80px;
  top: 8%;
  border: 1px solid rgba(255, 255, 255, 0.14);
  animation: float-orb 8s ease-in-out infinite;
}

.hero-orb-two {
  width: 320px;
  height: 320px;
  inset-inline-end: -160px;
  bottom: -130px;
  border: 50px solid rgba(255, 255, 255, 0.035);
  animation: float-orb 11s ease-in-out infinite reverse;
}

.network-console {
  position: relative;
  max-width: 550px;
  margin-inline: auto;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 26px;
  background: rgba(2, 19, 39, 0.66);
  box-shadow: 0 35px 80px rgba(0, 10, 30, 0.45);
  backdrop-filter: blur(18px);
  overflow: visible;
  transform-style: preserve-3d;
  transition: transform 0.2s ease-out;
}

.console-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.console-title {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.console-status {
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(92, 225, 162, 0.12);
  color: #7ce8b5;
  font-size: 0.68rem;
}

.network-map {
  position: relative;
  height: 310px;
  margin: 1rem;
  border-radius: 18px;
  background:
    radial-gradient(
      circle at center,
      rgba(45, 156, 219, 0.18),
      transparent 45%
    ),
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size:
    auto,
    28px 28px,
    28px 28px;
  overflow: hidden;
}

.network-map::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border: 1px solid rgba(45, 156, 219, 0.22);
  border-radius: 50%;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  animation: network-ring 3.5s ease-out infinite;
}

.network-node {
  position: absolute;
  z-index: 2;
  display: grid;
  place-items: center;
  width: 84px;
  height: 84px;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 18px;
  background: rgba(5, 41, 80, 0.92);
  box-shadow: 0 16px 34px rgba(0, 12, 32, 0.38);
  animation: node-float 4s ease-in-out infinite;
}

.network-node i {
  color: var(--brand-secondary-light);
  font-size: 1.55rem;
  line-height: 1;
}

.network-node span {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.76);
}

.node-core {
  width: 96px;
  height: 96px;
  left: calc(50% - 48px);
  top: calc(50% - 48px);
  border-color: rgba(45, 156, 219, 0.58);
  background: linear-gradient(145deg, #176aa1, #0f4c81);
}

.node-shield {
  top: 24px;
  left: 28px;
  animation-delay: -1s;
}
.node-cloud {
  top: 26px;
  right: 25px;
  animation-delay: -2s;
}
.node-wifi {
  bottom: 24px;
  right: 34px;
  animation-delay: -3s;
}

.map-line {
  position: absolute;
  z-index: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, #2d9cdb, transparent);
  transform-origin: left center;
  opacity: 0.65;
}

.line-a {
  width: 154px;
  left: 98px;
  top: 94px;
  transform: rotate(28deg);
}
.line-b {
  width: 135px;
  left: 270px;
  top: 153px;
  transform: rotate(-45deg);
}
.line-c {
  width: 164px;
  left: 90px;
  top: 228px;
  transform: rotate(-30deg);
}

.console-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
  padding: 0 1rem 1rem;
}

.console-metrics > div {
  padding: 0.85rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 13px;
  background: rgba(255, 255, 255, 0.04);
}

.console-metrics span {
  font-size: 0.68rem;
  color: rgba(255, 255, 255, 0.58);
}

.console-metrics strong {
  float: left;
  font-size: var(--fs-xs);
}

.metric-bar {
  height: 4px;
  margin-top: 0.7rem;
  border-radius: 9px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}

.metric-bar i {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--brand-secondary), var(--brand-accent));
  transform-origin: right;
  animation: load-bar 1.5s 0.8s both;
}

.floating-badge {
  position: absolute;
  inset-inline-start: -36px;
  bottom: 72px;
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.75rem 0.95rem;
  border-radius: 14px;
  background: #fff;
  color: var(--text);
  box-shadow: var(--shadow-lg);
  font-size: var(--fs-xs);
  font-weight: var(--fw-semibold);
  animation: badge-float 4s ease-in-out infinite;
}

.floating-badge i {
  color: #16a867;
}

.scroll-cue {
  position: absolute;
  z-index: 3;
  left: 50%;
  bottom: 22px;
  width: 26px;
  height: 42px;
  border: 1px solid rgba(255, 255, 255, 0.38);
  border-radius: var(--radius-pill);
  transform: translateX(-50%);
}

.scroll-cue span {
  position: absolute;
  left: 50%;
  top: 8px;
  width: 4px;
  height: 7px;
  border-radius: 8px;
  background: #fff;
  animation: scroll-cue 1.8s ease-in-out infinite;
}

[data-hero-item] {
  opacity: 0;
  transform: translateY(24px);
}

body.is-ready [data-hero-item] {
  animation: hero-enter 0.9s cubic-bezier(0.22, 1, 0.36, 1) forwards;
}

body.is-ready [data-hero-item]:nth-child(2) {
  animation-delay: 0.16s;
}

.logo-marquee {
  overflow: hidden;
  mask-image: linear-gradient(
    90deg,
    transparent,
    #000 8%,
    #000 92%,
    transparent
  );
}

.logo-track {
  display: flex;
  align-items: stretch;
  width: max-content;
  animation: marquee-rtl 55s linear infinite;
}

.logo-track .logo-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  width: 176px;
  min-height: 98px;
  margin: 0 0.55rem;
  padding: 0.65rem 0.75rem 0.55rem;
  border: 1px solid var(--border);
  border-radius: 12px;
  color: var(--text-muted);
  background: #fff;
  text-align: center;
}

.logo-track .logo-item img {
  display: block;
  width: auto;
  max-width: 100%;
  height: 42px;
  object-fit: contain;
}

.logo-track .logo-item figcaption {
  max-width: 100%;
  display: -webkit-box;
  overflow: hidden;
  color: var(--text-muted);
  font-size: 0.68rem;
  font-weight: var(--fw-semibold);
  line-height: 1.25;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}

.logo-track .logo-item--ink {
  background: #111827;
  border-color: #1f2937;
}

.logo-track .logo-item--ink figcaption {
  color: #d1d5db;
}

.logo-marquee:hover .logo-track {
  animation-play-state: paused;
}

.services-v2 {
  overflow: hidden;
}

.services-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.service-card {
  position: relative;
  min-height: 285px;
  padding: 1.6rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition),
    border-color var(--transition);
}

.service-card::after {
  content: "";
  position: absolute;
  inset-inline-end: -50px;
  bottom: -60px;
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--brand-accent-soft);
  transition: transform 0.5s ease;
}

.service-card:hover {
  color: var(--text);
  border-color: rgba(45, 156, 219, 0.34);
  box-shadow: var(--shadow-hover);
  transform: translateY(-7px);
}

.service-card:hover::after {
  transform: scale(1.7);
}

.service-card-featured {
  grid-column: span 2;
  background: linear-gradient(135deg, var(--brand-primary-dark), var(--brand-primary));
  color: #fff;
}

.service-card-featured .card-icon {
  background: rgba(255, 255, 255, 0.13);
  color: #fff;
}

.service-num {
  position: absolute;
  inset-inline-end: 1.3rem;
  top: 1.1rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.service-card-featured .service-num {
  color: rgba(255, 255, 255, 0.55);
}

.service-card h3 {
  position: relative;
  z-index: 1;
  font-size: 1.12rem;
  font-weight: var(--fw-bold);
  color: var(--brand-primary);
}

.service-card p {
  position: relative;
  z-index: 1;
  min-height: 68px;
  margin: 0.5rem 0 1.4rem;
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.service-link {
  position: relative;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  color: var(--brand-primary);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.service-card-featured:hover,
.service-card-featured h3,
.service-card-featured p,
.service-card-featured .service-link {
  color: #fff;
}

.service-card:hover .service-link i {
  transform: translateX(-4px);
}

.service-includes {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 0.4rem;
  padding: 0;
  margin: 0 0 1.3rem;
  list-style: none;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.service-includes li {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.service-includes li::before {
  content: "";
  flex: 0 0 5px;
  height: 5px;
  margin-top: 0.52rem;
  border-radius: 50%;
  background: var(--brand-secondary);
}

/* Cards that list what the service includes grow taller, so the link is pinned low */
.service-card:has(.service-includes) {
  display: flex;
  flex-direction: column;
}

.service-card:has(.service-includes) p {
  min-height: 0;
  margin-bottom: 1rem;
}

.service-card:has(.service-includes) .service-link {
  margin-top: auto;
}

.why-v2 {
  background:
    radial-gradient(circle at 95% 0%, rgba(0, 87, 184, 0.1), transparent 28%),
    var(--bg-muted);
}

.why-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.why-item {
  position: relative;
  display: flex;
  gap: 1rem;
  padding: 1.5rem;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  box-shadow: var(--shadow-sm);
}

.why-item > span {
  position: absolute;
  inset-inline-end: 1rem;
  top: 0.8rem;
  color: rgba(0, 87, 184, 0.14);
  font-size: 1.4rem;
  font-weight: var(--fw-bold);
}

.why-item > i {
  flex: 0 0 48px;
  display: grid;
  place-items: center;
  height: 48px;
  border-radius: 14px;
  background: var(--brand-accent-soft);
  color: var(--brand-primary);
  font-size: 1.3rem;
}

.why-item h3 {
  margin: 0 0 0.35rem;
  color: var(--brand-primary);
  font-size: 1rem;
  font-weight: var(--fw-bold);
}

.why-item p {
  margin: 0;
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.product-spotlight {
  background: var(--bg-muted);
}

.product-stage {
  position: relative;
  padding: clamp(2rem, 5vw, 4.5rem);
  border-radius: 30px;
  background:
    radial-gradient(
      circle at 90% 20%,
      rgba(45, 156, 219, 0.22),
      transparent 28%
    ),
    linear-gradient(135deg, #082f50, #0f4c81);
  color: #fff;
  overflow: hidden;
  box-shadow: 0 30px 70px rgba(15, 76, 129, 0.24);
}

.tameer-brand {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  margin-bottom: 1rem;
}

.tameer-brand img {
  width: 76px;
  height: 76px;
  padding: 0.65rem;
  border-radius: 18px;
  background: #fff;
  object-fit: contain;
  box-shadow: 0 12px 28px rgba(0, 20, 45, 0.22);
}

.product-kicker {
  display: inline-block;
  color: var(--brand-secondary-light);
  font-size: var(--fs-sm);
  font-weight: var(--fw-semibold);
}

.product-stage h2 {
  max-width: 12ch;
  font-size: clamp(2.4rem, 5vw, 4rem);
  font-weight: var(--fw-bold);
}

.product-lead {
  max-width: 33rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: var(--fs-md);
}

.product-points {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.8rem 1rem;
  padding: 0;
  margin: 1.5rem 0 2rem;
  list-style: none;
  font-size: var(--fs-sm);
}

.product-points i {
  margin-inline-end: 0.35rem;
  color: #72dddd;
}

.erp-window {
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 20px;
  background: #f7faff;
  box-shadow: 0 28px 65px rgba(0, 13, 31, 0.4);
  transform: perspective(900px) rotateY(-5deg) rotateX(2deg);
  transition: transform 0.2s ease-out;
}

.erp-top {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  height: 44px;
  padding: 0 0.9rem;
  background: #fff;
  border-bottom: 1px solid #e7edf4;
}

.erp-top span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #d2dae5;
}

.erp-top strong {
  margin-inline-start: auto;
  color: #6d7785;
  font-size: 0.68rem;
}

.erp-shot {
  position: relative;
  height: 430px;
  overflow: hidden;
  background: #f7faff;
}

.erp-shot img {
  display: block;
  width: 100%;
  height: auto;
  /* Long screenshot: reveals the rest of the dashboard on hover */
  transition: transform 14s linear;
}

.erp-shot::after {
  content: "";
  position: absolute;
  inset-inline: 0;
  bottom: 0;
  height: 64px;
  background: linear-gradient(to top, rgba(247, 250, 255, 0.92), transparent);
  pointer-events: none;
}

.erp-window:hover .erp-shot img,
.erp-window:focus-within .erp-shot img {
  transform: translateY(calc(430px - 100%));
}

.projects-v2 {
  background: #fff;
}

.projects-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 1rem;
}

.project-card {
  display: grid;
  grid-template-columns: 42% 1fr;
  min-height: 235px;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: #fff;
  color: var(--text);
  overflow: hidden;
  transition:
    transform var(--transition),
    box-shadow var(--transition);
}

.project-card:hover {
  color: var(--text);
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.project-large {
  grid-row: span 2;
  grid-template-columns: 1fr;
}

.project-art {
  position: relative;
  display: grid;
  place-items: center;
  min-height: 185px;
  overflow: hidden;
}

.project-art::before,
.project-art::after {
  content: "";
  position: absolute;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 50%;
}

.project-art::before {
  width: 190px;
  height: 190px;
}
.project-art::after {
  width: 110px;
  height: 110px;
}
.project-art i {
  position: relative;
  z-index: 1;
  color: #fff;
  font-size: 3.5rem;
}

.project-client {
  padding: 1.5rem;
  isolation: isolate;
}

.project-client::before,
.project-client::after {
  z-index: -1;
}

.project-client img {
  position: relative;
  z-index: 1;
  width: min(82%, 330px);
  max-height: 150px;
  padding: 1rem;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.94);
  object-fit: contain;
  box-shadow: 0 14px 34px rgba(0, 20, 45, 0.2);
}

.project-client span {
  position: absolute;
  z-index: 2;
  inset-inline-start: 1rem;
  bottom: 1rem;
  padding: 0.28rem 0.65rem;
  border-radius: var(--radius-pill);
  background: rgba(8, 47, 80, 0.82);
  color: #fff;
  font-size: 0.68rem;
  font-weight: var(--fw-semibold);
  backdrop-filter: blur(8px);
}

.art-network {
  background: linear-gradient(145deg, #082f50, #2d9cdb);
}
.art-security {
  background: linear-gradient(145deg, #0a355a, #287baa);
}
.art-support {
  background: linear-gradient(145deg, #0f4c81, #00a3a3);
}

.project-copy {
  position: relative;
  padding: 1.5rem;
}

.project-copy > span {
  color: var(--brand-primary);
  font-size: 0.7rem;
  font-weight: var(--fw-bold);
}

.project-copy h3 {
  max-width: 28rem;
  margin: 0.45rem 0;
  color: var(--text);
  font-size: 1.15rem;
  font-weight: var(--fw-bold);
}

.project-copy p {
  color: var(--text-muted);
  font-size: var(--fs-sm);
}

.project-signoff {
  margin-top: 0.85rem;
  color: var(--text);
  font-size: 0.82rem;
  font-weight: var(--fw-semibold);
  line-height: 1.55;
}

.project-arrow {
  position: absolute;
  inset-inline-end: 1.25rem;
  bottom: 1.25rem;
  display: grid;
  place-items: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--brand-accent-soft);
  color: var(--brand-primary);
  transition:
    transform var(--transition),
    background var(--transition);
}

.project-card:hover .project-arrow {
  transform: rotate(-8deg) scale(1.08);
  background: var(--brand-primary);
  color: #fff;
}

.contact-v2 {
  background: #fff;
}

.contact-shell {
  border-radius: 28px;
  background: var(--bg-muted);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.contact-copy {
  padding: clamp(2rem, 5vw, 4rem);
  background:
    radial-gradient(
      circle at 15% 100%,
      rgba(93, 178, 255, 0.25),
      transparent 32%
    ),
    linear-gradient(145deg, #082f50, #0f4c81);
  color: #fff;
}

.contact-copy .section-eyebrow {
  color: #9bd0ff;
}

.contact-copy h2 {
  font-size: clamp(2rem, 4vw, 2.8rem);
  font-weight: var(--fw-bold);
}

.contact-copy > p {
  color: rgba(255, 255, 255, 0.74);
}

.contact-direct {
  display: grid;
  gap: 0.8rem;
  margin-top: 2rem;
}

.contact-direct a {
  display: flex;
  align-items: center;
  gap: 0.8rem;
  color: #fff;
}

.contact-direct i {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.11);
}

.contact-direct span,
.contact-direct strong {
  display: block;
}

.contact-direct span {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.7rem;
}

.contact-direct strong {
  color: #fff;
  font-size: var(--fs-sm);
}

.quick-form {
  padding: clamp(2rem, 5vw, 4rem);
}

.quick-form .form-control,
.quick-form .form-select {
  min-height: 50px;
  background-color: #fff;
}

.quick-form textarea.form-control {
  min-height: 100px;
}

.form-note {
  color: var(--text-muted);
  font-size: var(--fs-xs);
}

.form-note i {
  margin-inline-end: 0.25rem;
  color: var(--brand-primary);
}

@keyframes pulse-dot {
  0%,
  100% {
    box-shadow: 0 0 0 4px rgba(92, 225, 162, 0.12);
  }
  50% {
    box-shadow: 0 0 0 8px rgba(92, 225, 162, 0.03);
  }
}

@keyframes float-orb {
  0%,
  100% {
    transform: translate3d(0, 0, 0);
  }
  50% {
    transform: translate3d(14px, 22px, 0);
  }
}

@keyframes network-ring {
  0% {
    transform: translate(-50%, -50%) scale(0.5);
    opacity: 0;
  }
  35% {
    opacity: 0.7;
  }
  100% {
    transform: translate(-50%, -50%) scale(1.5);
    opacity: 0;
  }
}

@keyframes node-float {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-7px);
  }
}

@keyframes badge-float {
  0%,
  100% {
    transform: translateY(0) rotate(-1deg);
  }
  50% {
    transform: translateY(-8px) rotate(1deg);
  }
}

@keyframes load-bar {
  from {
    transform: scaleX(0);
  }
  to {
    transform: scaleX(1);
  }
}

@keyframes hero-enter {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes scroll-cue {
  0% {
    transform: translate(-50%, 0);
    opacity: 0;
  }
  35% {
    opacity: 1;
  }
  100% {
    transform: translate(-50%, 15px);
    opacity: 0;
  }
}

@keyframes marquee-rtl {
  to {
    transform: translateX(50%);
  }
}

@media (max-width: 991.98px) {
  .hero-v2 {
    min-height: auto;
  }

  .hero-v2 .hero-content {
    padding: 4.5rem 0 1rem;
    text-align: center;
  }

  .hero-v2 h1,
  .hero-v2 .lead {
    margin-inline: auto;
  }

  .hero-actions,
  .hero-proof,
  .hero-capabilities {
    justify-content: center;
  }

  .hero-v2 .hero-visual {
    padding-bottom: 5rem;
  }

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

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

  .testimonial-carousel .carousel-inner {
    min-height: 560px;
  }

  .testimonial-slide {
    grid-template-columns: 1fr;
    align-content: center;
    gap: 1.5rem;
    min-height: 560px;
    padding: 3rem 5rem 4.5rem;
  }

  .testimonial-logo {
    width: 170px;
    height: 110px;
  }

  .testimonial-slide blockquote {
    max-width: 680px;
    margin-inline: auto;
    padding-top: 2.7rem;
    text-align: center;
    line-height: 1.85;
  }

  .project-large {
    grid-row: auto;
  }

  .contact-copy {
    text-align: center;
  }

  .contact-direct {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (max-width: 575.98px) {
  .hero-v2 h1 {
    font-size: 2.45rem;
  }

  .hero-v2 .lead {
    font-size: var(--fs-base);
  }

  .hero-capabilities {
    gap: 0.4rem;
  }

  .hero-capabilities span {
    padding: 0.4rem 0.58rem;
    font-size: 0.72rem;
  }

  .hero-proof {
    gap: 0.9rem;
  }

  .hero-proof div {
    flex: 1 1 90px;
    flex-direction: column;
    gap: 0.1rem;
  }

  .network-map {
    height: 260px;
    margin: 0.65rem;
  }

  .network-node {
    width: 68px;
    height: 68px;
  }

  .node-core {
    width: 82px;
    height: 82px;
    left: calc(50% - 41px);
    top: calc(50% - 41px);
  }

  .node-shield {
    left: 15px;
  }
  .node-cloud {
    right: 15px;
  }
  .node-wifi {
    right: 18px;
  }
  .floating-badge {
    inset-inline-start: 8px;
    bottom: -24px;
  }
  .scroll-cue {
    display: none;
  }
  .services-grid {
    grid-template-columns: 1fr;
  }
  .service-card-featured {
    grid-column: auto;
  }
  .service-card {
    min-height: 250px;
  }
  .why-grid {
    grid-template-columns: 1fr;
  }
  .product-stage {
    border-radius: 22px;
  }
  .tameer-brand {
    justify-content: center;
  }
  .product-stage h2,
  .product-lead {
    margin-inline: auto;
    text-align: center;
  }
  .product-points {
    grid-template-columns: 1fr;
  }
  .product-duo {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  .product-duo-logo img {
    width: min(100%, 220px);
  }
  .product-duo .erp-window {
    max-width: 340px;
  }
  .product-duo .erp-shot {
    height: 210px;
  }
  .product-duo .erp-window:hover .erp-shot img,
  .product-duo .erp-window:focus-within .erp-shot img {
    transform: translateY(calc(210px - 100%));
  }
  .erp-window,
  .product-duo .erp-window,
  html[lang="ar"] .product-duo .erp-window {
    transform: none;
  }
  .erp-shot {
    height: 340px;
  }
  .erp-window:hover .erp-shot img,
  .erp-window:focus-within .erp-shot img {
    transform: translateY(calc(340px - 100%));
  }
  .project-card {
    grid-template-columns: 1fr;
  }
  .project-art {
    min-height: 145px;
  }
  .testimonial-carousel {
    border-radius: var(--radius-lg);
  }
  .testimonial-carousel .carousel-inner {
    min-height: 610px;
  }
  .testimonial-slide {
    min-height: 610px;
    padding: 2.25rem 3.5rem 4.5rem;
  }
  .testimonial-logo {
    width: 145px;
    height: 92px;
    margin-bottom: var(--space-3);
  }
  .testimonial-slide blockquote {
    font-size: var(--fs-sm);
    line-height: 1.8;
  }
  .testimonial-carousel .carousel-control-prev,
  .testimonial-carousel .carousel-control-next {
    width: 36px;
    height: 36px;
    margin-inline: 0.55rem;
  }
  .contact-shell {
    border-radius: 20px;
  }
  .fab-contact {
    inset-inline-end: 0.75rem;
    bottom: 0.75rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  [data-hero-item],
  .reveal {
    opacity: 1;
    transform: none;
  }
  .erp-window:hover .erp-shot img,
  .erp-window:focus-within .erp-shot img {
    transform: none;
  }
}
