:root {
  --royal-blue: #1E3A8A;
  --royal-blue-dark: #172554;
  --orange: #F97316;
  --orange-dark: #EA580C;
  --mint: #34D399;
  --dark-gray: #4B5563;
  --tech-purple: #7C3AED;
  --white: #FFFFFF;
  --page-bg: #F8FAFC;
  --blue-soft: #EFF6FF;
  --orange-soft: #FFF7ED;
  --mint-soft: #ECFDF5;
  --line: #E5E7EB;
  --line-strong: #D1D5DB;
  --ink: #111827;
  --shadow: 0 16px 36px rgba(30, 58, 138, 0.09);
  --shadow-soft: 0 10px 24px rgba(17, 24, 39, 0.07);
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  scroll-behavior: smooth;
  scroll-padding-top: 94px;
}

body {
  min-height: 100%;
  margin: 0;
  color: var(--dark-gray);
  background: var(--page-bg);
  font-family: "Tajawal", "Segoe UI", Tahoma, Arial, sans-serif;
  font-size: 1rem;
  font-weight: 500;
  line-height: 1.8;
  text-rendering: optimizeLegibility;
}

body.nav-open {
  overflow: hidden;
}

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

a {
  color: var(--royal-blue);
}

a:hover {
  color: var(--royal-blue-dark);
}

section[id] {
  scroll-margin-top: 94px;
}

.skip-link {
  position: fixed;
  top: 0.75rem;
  right: 0.75rem;
  z-index: 2000;
  display: inline-flex;
  padding: 0.55rem 0.8rem;
  color: var(--white);
  background: var(--royal-blue);
  border-radius: 8px;
  font-weight: 800;
  text-decoration: none;
  transform: translateY(-180%);
  transition: transform 0.2s ease;
}

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

.btn {
  min-height: 44px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border-radius: 8px;
  font-weight: 800;
  line-height: 1.45;
  text-align: center;
  white-space: normal;
  overflow-wrap: anywhere;
}

.btn-lg {
  min-height: 52px;
  padding: 0.78rem 1.15rem;
  font-size: 1rem;
}

.btn-brand-blue {
  color: var(--white) !important;
  background-color: var(--royal-blue) !important;
  border-color: var(--royal-blue) !important;
  box-shadow: 0 10px 24px rgba(30, 58, 138, 0.2);
}

.btn-brand-blue:hover,
.btn-brand-blue:focus {
  color: var(--white) !important;
  background-color: var(--royal-blue-dark) !important;
  border-color: var(--royal-blue-dark) !important;
}

.btn-brand-orange {
  color: var(--white) !important;
  background-color: var(--orange) !important;
  border-color: var(--orange) !important;
  box-shadow: 0 10px 24px rgba(249, 115, 22, 0.22);
}

.btn-brand-orange:hover,
.btn-brand-orange:focus {
  color: var(--white) !important;
  background-color: var(--orange-dark) !important;
  border-color: var(--orange-dark) !important;
}

.btn-whatsapp {
  color: var(--white) !important;
  background-color: #25D366 !important;
  border-color: #25D366 !important;
}

.btn-whatsapp:hover,
.btn-whatsapp:focus {
  color: var(--white) !important;
  background-color: #1DA851 !important;
  border-color: #1DA851 !important;
}

.btn-outline-brand {
  color: var(--royal-blue) !important;
  background: var(--white) !important;
  border-color: rgba(30, 58, 138, 0.24) !important;
}

.btn-outline-brand:hover,
.btn-outline-brand:focus {
  color: var(--white) !important;
  background: var(--royal-blue) !important;
  border-color: var(--royal-blue) !important;
}

.btn-outline-light-brand {
  color: var(--royal-blue) !important;
  background: var(--white) !important;
  border-color: var(--white) !important;
}

.btn-outline-light-brand:hover,
.btn-outline-light-brand:focus {
  color: var(--white) !important;
  background: transparent !important;
  border-color: rgba(255, 255, 255, 0.65) !important;
}

.btn:focus-visible,
.nav-link:focus-visible,
.navbar-toggler:focus-visible {
  box-shadow: 0 0 0 0.2rem rgba(249, 115, 22, 0.28);
  outline: 0;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1030;
  background: rgba(255, 255, 255, 0.98);
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
  box-shadow: 0 8px 24px rgba(15, 23, 42, 0.06);
  backdrop-filter: blur(14px);
  transition: box-shadow 0.2s ease, border-color 0.2s ease;
}

.site-header.is-scrolled {
  border-color: rgba(30, 58, 138, 0.16);
  box-shadow: 0 12px 28px rgba(15, 23, 42, 0.1);
}

.navbar {
  min-height: 76px;
  padding: 0.5rem 0;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 0.7rem;
  min-width: 0;
  color: var(--royal-blue);
  font-weight: 900;
  text-decoration: none;
}

.brand-lockup:hover {
  color: var(--royal-blue-dark);
}

.brand-logo,
.footer-logo {
  width: auto;
  height: auto;
  object-fit: contain;
}

.brand-logo {
  max-height: 58px;
}

.brand-mark,
.footer-mark {
  display: inline-grid;
  place-items: center;
  flex: 0 0 auto;
  color: var(--white);
  background: var(--royal-blue);
  border: 2px solid rgba(249, 115, 22, 0.62);
  border-radius: 8px;
  font-weight: 900;
  box-shadow: inset 0 -6px 0 rgba(249, 115, 22, 0.55);
}

.brand-mark {
  width: 58px;
  height: 58px;
  font-size: 1.55rem;
}

.brand-text {
  display: grid;
  color: var(--royal-blue);
  line-height: 1.25;
}

.brand-text span {
  font-size: 1.05rem;
}

.brand-text small {
  color: var(--dark-gray);
  font-size: 0.78rem;
  font-weight: 700;
}

.navbar-toggler {
  border-color: rgba(30, 58, 138, 0.18);
  border-radius: 8px;
}

.navbar-nav {
  align-items: center;
  gap: 0.2rem;
}

.navbar-nav .nav-link {
  position: relative;
  color: var(--dark-gray);
  padding: 0.55rem 0.48rem;
  font-size: 0.92rem;
  font-weight: 800;
  white-space: nowrap;
}

.navbar-nav .nav-link::after {
  position: absolute;
  right: 0.48rem;
  bottom: 0.2rem;
  width: 0;
  height: 3px;
  content: "";
  background: var(--orange);
  border-radius: 999px;
  transition: width 0.2s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: var(--royal-blue);
}

.navbar-nav .nav-link:hover::after,
.navbar-nav .nav-link:focus::after,
.navbar-nav .nav-link.active::after {
  width: 28px;
}

.nav-cta {
  flex: 0 0 auto;
  min-height: 42px;
  padding: 0.55rem 0.9rem;
  font-size: 0.92rem;
}

.hero-section {
  position: relative;
  overflow: hidden;
  min-height: calc(100vh - 76px);
  display: flex;
  align-items: center;
  padding: 2.75rem 0 3.25rem;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(239, 246, 255, 0.92) 56%, rgba(255, 247, 237, 0.88) 100%);
}

.hero-section::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(30, 58, 138, 0.055) 1px, transparent 1px),
    linear-gradient(0deg, rgba(30, 58, 138, 0.045) 1px, transparent 1px);
  background-size: 42px 42px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.8), transparent 82%);
}

.hero-section .container {
  position: relative;
}

.hero-section .row {
  align-items: flex-start !important;
}

.hero-copy {
  max-width: 760px;
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  max-width: 100%;
  color: var(--royal-blue);
  background: var(--white);
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-right: 4px solid var(--orange);
  border-radius: 8px;
  padding: 0.42rem 0.82rem;
  box-shadow: var(--shadow-soft);
  font-weight: 900;
  overflow-wrap: anywhere;
}

.eyebrow.light {
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.26);
  border-right-color: #FDBA74;
  box-shadow: none;
}

.hero-copy h1,
.section-heading h2,
.readiness-highlight h2,
.final-cta h2 {
  color: var(--royal-blue);
  font-weight: 900;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.hero-copy h1 {
  margin: 1.2rem 0 1rem;
  font-size: 3.05rem;
}

.hero-lead {
  max-width: 680px;
  margin: 0 0 0.85rem;
  color: var(--royal-blue-dark);
  font-size: 1.18rem;
  font-weight: 800;
}

.hero-text,
.section-lead,
.section-heading p,
.readiness-highlight p,
.final-cta p {
  color: var(--dark-gray);
  font-size: 1.04rem;
  font-weight: 500;
}

.hero-text {
  max-width: 700px;
  margin-bottom: 1.55rem;
}

.hero-actions,
.final-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.dashboard-visual {
  position: relative;
  display: grid;
  gap: 1rem;
  padding: 1rem;
  overflow: hidden;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.94), rgba(239, 246, 255, 0.86)),
    radial-gradient(circle at 12% 8%, rgba(52, 211, 153, 0.15), transparent 32%);
  border: 1px solid rgba(30, 58, 138, 0.12);
  border-radius: 8px;
  box-shadow: 0 20px 44px rgba(30, 58, 138, 0.12);
}

.dashboard-visual::before {
  position: absolute;
  inset: 0;
  pointer-events: none;
  content: "";
  background:
    linear-gradient(90deg, rgba(30, 58, 138, 0.045) 1px, transparent 1px),
    linear-gradient(0deg, rgba(30, 58, 138, 0.04) 1px, transparent 1px);
  background-size: 34px 34px;
  mask-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.6), transparent 85%);
}

.dashboard-visual > * {
  position: relative;
}

.dashboard-topbar {
  display: flex;
  gap: 0.35rem;
  align-items: center;
  min-height: 22px;
}

.dashboard-topbar span {
  display: inline-block;
  width: 9px;
  height: 9px;
  background: rgba(30, 58, 138, 0.22);
  border-radius: 999px;
}

.dashboard-topbar span:nth-child(2) {
  background: rgba(249, 115, 22, 0.75);
}

.dashboard-topbar span:nth-child(3) {
  background: rgba(52, 211, 153, 0.85);
}

.score-panel,
.visual-tile,
.trust-item,
.value-card,
.service-card,
.solution-card,
.sample-card {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
}

.score-panel {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.1rem;
  background: rgba(255, 255, 255, 0.94);
  border-top: 4px solid var(--orange);
}

.visual-label {
  display: block;
  color: var(--dark-gray);
  font-size: 0.9rem;
  font-weight: 800;
}

.score-panel strong {
  display: block;
  color: var(--royal-blue);
  font-size: 1.45rem;
  line-height: 1.35;
}

.score-meter {
  display: grid;
  width: 92px;
  height: 92px;
  place-items: center;
  flex: 0 0 auto;
  color: var(--royal-blue);
  background:
    radial-gradient(circle at center, #ffffff 55%, transparent 56%),
    conic-gradient(var(--mint) 0 82%, #E5E7EB 82% 100%);
  border-radius: 50%;
  font-size: 1.28rem;
  font-weight: 900;
}

.visual-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.85rem;
}

.visual-tile {
  min-height: 104px;
  display: grid;
  align-content: center;
  gap: 0.5rem;
  padding: 1rem;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.94));
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.visual-tile:hover {
  transform: translateY(-2px);
  border-color: rgba(30, 58, 138, 0.2);
  box-shadow: 0 14px 28px rgba(30, 58, 138, 0.1);
}

.visual-tile i,
.trust-item i,
.value-card i,
.service-card i,
.solution-card i,
.sample-card i {
  display: inline-grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--white);
  background: var(--royal-blue);
  border-radius: 8px;
  font-size: 1.25rem;
}

.visual-tile span {
  color: var(--royal-blue-dark);
  font-weight: 900;
}

.accent-orange i {
  background: var(--orange);
}

.accent-green i {
  color: var(--royal-blue-dark);
  background: var(--mint);
}

.accent-purple i {
  background: var(--tech-purple);
}

.visual-progress {
  display: grid;
  gap: 0.8rem;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.9);
  border: 1px solid rgba(30, 58, 138, 0.1);
  border-radius: 8px;
}

.visual-progress div {
  display: grid;
  gap: 0.35rem;
}

.visual-progress span {
  color: var(--royal-blue-dark);
  font-size: 0.92rem;
  font-weight: 800;
}

.visual-progress b {
  position: relative;
  display: block;
  height: 8px;
  overflow: hidden;
  background: #E5E7EB;
  border-radius: 999px;
}

.visual-progress b::before {
  position: absolute;
  inset: 0 0 0 auto;
  width: var(--value);
  content: "";
  background: linear-gradient(90deg, var(--orange), var(--mint));
  border-radius: inherit;
}

.trust-strip {
  padding: 1.35rem 0;
  background: var(--white);
  border-top: 1px solid rgba(30, 58, 138, 0.08);
  border-bottom: 1px solid rgba(30, 58, 138, 0.08);
}

.trust-item {
  min-height: 92px;
  display: flex;
  align-items: center;
  gap: 0.8rem;
  padding: 1rem;
  color: var(--royal-blue-dark);
  font-weight: 900;
}

.trust-item span {
  min-width: 0;
}

.trust-strip .col-6:nth-child(2n) .trust-item i {
  background: var(--orange);
}

.trust-strip .col-6:nth-child(3n) .trust-item i {
  color: var(--royal-blue-dark);
  background: var(--mint);
}

.content-section {
  padding: 4.7rem 0;
  background: var(--white);
}

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

.section-heading {
  max-width: 780px;
  margin-bottom: 2rem;
}

.section-heading span,
.final-cta span {
  display: block;
  margin-bottom: 0.35rem;
  color: var(--orange);
  font-weight: 900;
}

.section-heading h2,
.readiness-highlight h2,
.final-cta h2 {
  margin: 0 0 0.75rem;
  font-size: 2.2rem;
}

.section-heading p,
.section-lead {
  margin: 0;
}

.sticky-heading {
  position: sticky;
  top: 106px;
}

.value-card {
  min-height: 176px;
  height: 100%;
  display: grid;
  align-content: center;
  gap: 0.85rem;
  padding: 1.2rem;
  border-top: 4px solid rgba(249, 115, 22, 0.82);
}

.value-card h3,
.service-card h3,
.solution-card h3,
.sample-card h3 {
  margin: 0;
  color: var(--royal-blue);
  font-size: 1.1rem;
  font-weight: 900;
  line-height: 1.45;
  overflow-wrap: anywhere;
}

.service-card,
.solution-card,
.sample-card {
  height: 100%;
  display: grid;
  gap: 0.85rem;
  align-content: start;
  padding: 1.2rem;
}

.service-card {
  border-top: 4px solid rgba(30, 58, 138, 0.16);
}

.row > [class*="col-"]:nth-child(4n + 2) .service-card i,
.row > [class*="col-"]:nth-child(3n + 2) .solution-card i,
.row > [class*="col-"]:nth-child(3n + 2) .sample-card i {
  background: var(--orange);
}

.row > [class*="col-"]:nth-child(4n + 3) .service-card i,
.row > [class*="col-"]:nth-child(3n) .solution-card i,
.row > [class*="col-"]:nth-child(3n) .sample-card i {
  color: var(--royal-blue-dark);
  background: var(--mint);
}

.service-card p,
.solution-card p,
.sample-card p {
  margin: 0;
  color: var(--dark-gray);
  font-size: 0.97rem;
}

.solution-card {
  background: linear-gradient(180deg, var(--white), #FBFDFF);
}

.readiness-highlight {
  padding: 4.2rem 0;
  color: rgba(255, 255, 255, 0.9);
  background:
    linear-gradient(135deg, rgba(30, 58, 138, 0.96), rgba(23, 37, 84, 0.98)),
    linear-gradient(90deg, rgba(255, 255, 255, 0.08) 1px, transparent 1px);
  background-size: auto, 40px 40px;
}

.readiness-highlight h2 {
  color: var(--white);
}

.readiness-highlight p {
  max-width: 760px;
  margin: 0;
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

.readiness-btn {
  color: var(--royal-blue) !important;
  font-weight: 900;
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.18);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.9rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  position: relative;
  min-height: 84px;
  display: flex;
  align-items: center;
  padding: 1rem 3.15rem 1rem 1rem;
  color: var(--royal-blue-dark);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 8px;
  box-shadow: var(--shadow-soft);
  font-weight: 800;
}

.feature-list li::before {
  position: absolute;
  top: 1.05rem;
  right: 1rem;
  display: inline-grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--white);
  background: var(--orange);
  border-radius: 8px;
  content: "\F26A";
  font-family: "bootstrap-icons";
  font-size: 1rem;
}

.sample-card {
  min-height: 210px;
}

.sample-card i {
  background: var(--royal-blue);
}

.final-cta-section {
  padding: 4rem 0;
  color: var(--white);
  background:
    linear-gradient(135deg, var(--royal-blue) 0%, var(--royal-blue-dark) 68%, #0F172A 100%);
}

.final-cta {
  display: grid;
  grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
  align-items: center;
  gap: 1.5rem;
}

.final-cta h2 {
  color: var(--white);
}

.final-cta p {
  max-width: 640px;
  margin: 0;
  color: rgba(255, 255, 255, 0.86);
  font-weight: 700;
}

.final-actions {
  justify-content: flex-end;
}

.site-footer {
  padding: 2.4rem 0;
  color: #E5E7EB;
  background: #0F172A;
}

.footer-brand-lockup {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.footer-logo-link {
  display: inline-flex;
  flex: 0 0 auto;
  text-decoration: none;
}

.footer-logo {
  max-height: 90px;
}

.footer-mark {
  width: 72px;
  height: 72px;
  font-size: 1.9rem;
}

.site-footer strong {
  display: block;
  color: var(--white);
  font-size: 1.12rem;
  font-weight: 900;
}

.site-footer p {
  margin: 0.3rem 0 0;
}

.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 0.85rem 1rem;
}

.footer-links a,
.footer-links span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  color: #E5E7EB;
  font-weight: 700;
  text-decoration: none;
}

.footer-links i {
  color: var(--orange);
}

.footer-links a:hover,
.footer-links a:focus {
  color: var(--white);
}

@media (min-width: 1200px) {
  .navbar-expand-xl .navbar-collapse {
    gap: 1rem;
  }
}

@media (max-width: 1399.98px) {
  .navbar-nav .nav-link {
    padding-right: 0.36rem;
    padding-left: 0.36rem;
    font-size: 0.88rem;
  }

  .nav-cta {
    padding-right: 0.75rem;
    padding-left: 0.75rem;
  }
}

@media (max-width: 1199.98px) {
  body.nav-open {
    overflow: auto;
  }

  .navbar-collapse {
    width: 100%;
    padding: 0.95rem 0 0.35rem;
  }

  .navbar-nav {
    align-items: stretch;
    gap: 0.15rem;
  }

  .navbar-nav .nav-link {
    padding: 0.65rem 0.25rem;
    white-space: normal;
  }

  .navbar-nav .nav-link::after {
    right: 0.25rem;
  }

  .nav-cta {
    width: 100%;
    margin-top: 0.6rem;
  }

  .sticky-heading {
    position: static;
  }
}

@media (max-width: 991.98px) {
  html,
  section[id] {
    scroll-padding-top: 88px;
    scroll-margin-top: 88px;
  }

  .hero-section {
    min-height: auto;
    padding: 3rem 0;
  }

  .hero-copy h1 {
    font-size: 2.45rem;
  }

  .section-heading h2,
  .readiness-highlight h2,
  .final-cta h2 {
    font-size: 1.9rem;
  }

  .content-section {
    padding: 3.8rem 0;
  }

  .feature-list,
  .final-cta {
    grid-template-columns: 1fr;
  }

  .final-actions {
    justify-content: flex-start;
  }

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

@media (max-width: 767.98px) {
  .hero-copy h1 {
    font-size: 2.15rem;
  }

  .hero-lead {
    font-size: 1.08rem;
  }

  .brand-logo,
  .brand-mark {
    max-height: 48px;
  }

  .brand-logo {
    width: auto;
  }

  .brand-text span {
    font-size: 0.98rem;
  }

  .brand-text small {
    font-size: 0.72rem;
  }

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

  .score-panel {
    align-items: flex-start;
  }

  .trust-item {
    min-height: 104px;
  }

  .readiness-highlight {
    padding: 3.4rem 0;
  }
}

@media (max-width: 575.98px) {
  .navbar {
    min-height: 70px;
  }

  .brand-text {
    display: none;
  }

  .hero-section {
    padding-top: 2.5rem;
    padding-bottom: 2.75rem;
  }

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

  .score-panel {
    display: grid;
  }

  .score-meter {
    width: 84px;
    height: 84px;
  }

  .trust-strip .col-6 {
    width: 100%;
  }

  .feature-list li {
    min-height: auto;
  }

  .footer-brand-lockup {
    align-items: flex-start;
  }

  .footer-logo,
  .footer-mark {
    max-width: 90px;
    max-height: 90px;
  }

  .footer-logo {
    width: auto;
  }

  .footer-links {
    display: grid;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  *,
  *::before,
  *::after {
    transition-duration: 0.01ms !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
  }
}
