@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&family=Space+Grotesk:wght@500;600;700&display=swap');

:root {
  --color-primary: #0057D9;
  --color-primary-2: #1E88E5;
  --color-primary-light: #EAF4FF;
  --color-accent: #00A3FF;
  --color-background: #FFFFFF;
  --color-section: #F8FAFC;
  --color-text: #1F2937;
  --color-text-muted: #6B7280;
  --color-border: #E5E7EB;
  --color-white: #ffffff;
  --color-footer: #003B95;
  --shadow-card: 0 10px 30px rgba(0, 87, 217, 0.08);
  --shadow-soft: 0 14px 34px rgba(31, 41, 55, 0.08);
  --radius-lg: 20px;
  --radius-md: 14px;
  --radius-sm: 10px;
  --container: min(1120px, 92vw);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Outfit', sans-serif;
  color: var(--color-text);
  background:
    radial-gradient(circle at top left, rgba(0, 87, 217, 0.07), transparent 28%),
    radial-gradient(circle at 86% 2%, rgba(0, 163, 255, 0.07), transparent 26%),
    var(--color-background);
  min-height: 100vh;
  line-height: 1.65;
}

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

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

.container {
  width: var(--container);
  margin: 0 auto;
}

/* Typography scale and headings */
h1, h2, h3, h4, h5, h6 {
  color: var(--color-text);
  margin: 0 0 14px;
  line-height: 1.18;
}

h1 { font-size: clamp(1.8rem, 3.4vw, 3.2rem); font-weight: 700; }
h2 { font-size: clamp(1.4rem, 2.6vw, 2rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2.2vw, 1.3rem); font-weight: 600; }

.lead {
  color: var(--color-text);
  font-size: 1.06rem;
  max-width: 66ch;
}

/* Components: cards */
.card {
  background: var(--color-white);
  border: 1px solid var(--color-border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-card);
  padding: 20px;
  transition: transform 0.28s ease, box-shadow 0.28s ease;
}

.card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 45px rgba(0,87,217,0.08);
}

.media-card img { border-radius: 12px 12px 8px 8px; }

/* Buttons: primary and secondary */
.btn {
  border-radius: 999px;
  padding: 12px 18px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.18s ease, box-shadow 0.18s ease, background-color 0.18s ease, color 0.18s ease;
}

.btn-primary {
  background: var(--color-primary);
  color: #fff;
  border: 0;
  box-shadow: 0 8px 28px rgba(0,87,217,0.14);
}

.btn-primary:hover, .btn-primary:focus {
  background: var(--color-primary-2);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
}

.btn-secondary:hover, .btn-secondary:focus {
  background: rgba(234,244,255,0.8);
}

/* Navigation: underline animation for links */
.nav-link {
  position: relative;
  padding: 6px 4px;
  color: var(--color-text);
}

.nav-link::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 3px;
  background: var(--color-accent);
  border-radius: 3px;
  transition: width 220ms ease;
}

.nav-link:hover::after,
.nav-link.active::after { width: 100%; }

/* Focus states for accessibility */
:focus {
  outline: 3px solid rgba(0,163,255,0.18);
  outline-offset: 2px;
}

:focus:not(:focus-visible) { outline: none; }

/* Header CTA (Request a Quote) styled as primary button */
.nav-cta {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  background: var(--color-primary);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 8px 24px rgba(0,87,217,0.12);
  transition: transform 0.18s ease, background 0.18s ease;
}

.nav-cta:hover, .nav-cta:focus { background: var(--color-primary-2); transform: translateY(-2px); }

/* Screen-reader only */
.sr-only {
  position: absolute !important;
  width: 1px; height: 1px;
  padding: 0; margin: -1px;
  overflow: hidden; clip: rect(0 0 0 0);
  white-space: nowrap; border: 0;
}

/* Icons: use currentColor so we can tint with text color */
svg { display: inline-block; vertical-align: middle; }
svg [fill] { fill: currentColor; }

/* Forms */
input[type="text"], input[type="email"], select, textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid var(--color-border);
  border-radius: 10px;
  font-size: 1rem;
  background: #fff;
  transition: border-color 160ms ease, box-shadow 160ms ease;
}

input:focus, select:focus, textarea:focus {
  border-color: var(--color-primary);
  box-shadow: 0 6px 18px rgba(0,87,217,0.08);
  outline: none;
}

.error-msg { color: #b91c1c; font-size: 0.92rem; }

/* Touch targets and responsive spacing */
button, .btn, .nav-link { min-height: 44px; }
@media (max-width: 900px) {
  .hero-content { padding: 28px 0 36px; }
  .hero-stats { gap: 8px; grid-template-columns: 1fr; }
  .container { padding: 0 18px; }
}

.skip-link {
  position: absolute;
  left: -999px;
  top: 0;
  background: #fff;
  color: var(--color-text);
  padding: 10px;
  z-index: 10000;
}

.skip-link:focus {
  left: 12px;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 5000;
  display: grid;
  place-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(234, 244, 255, 0.98));
  transition: opacity 0.5s ease, visibility 0.5s ease;
}

.preloader.hide {
  opacity: 0;
  visibility: hidden;
}

.loader-ring {
  width: 62px;
  height: 62px;
  border: 4px solid rgba(0, 87, 217, 0.14);
  border-top-color: var(--color-primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.topbar {
  padding: 10px 0;
  border-bottom: 1px solid var(--color-border);
  font-size: 0.92rem;
  color: var(--color-text-muted);
  background: #fff;
}

.topbar-content {
  display: flex;
  gap: 18px;
  justify-content: space-between;
  flex-wrap: wrap;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(14px);
  background: rgba(51, 134, 186, 0.98);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.22s ease, border-color 0.22s ease, background 0.22s ease;
}

.site-header.scrolled {
  box-shadow: 0 12px 32px rgba(15, 23, 42, 0.08);
  border-bottom-color: rgba(229, 231, 235, 0.95);
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 76px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.brand img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
}

.brand-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 1rem;
  line-height: 1.2;
  color: var(--color-text);
}

.brand-title small {
  display: block;
  color: var(--color-text-muted);
  font-size: 0.72rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-link,
.mega-trigger {
  color:white;
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  background: transparent;
  cursor: pointer;
  position: relative;
  padding: 6px 0;
}

.nav-link:hover,
.mega-trigger:hover,
.nav-link[aria-current='page'] {
  color: var(--color-primary);
}

.nav-link::after,
.mega-trigger::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--color-primary), var(--color-accent));
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.22s ease;
}

.nav-link:hover::after,
.mega-trigger:hover::after,
.nav-link[aria-current='page']::after {
  transform: scaleX(1);
}

.nav-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  background: rgba(51, 134, 186, 0.98);
  color: #fff;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 87, 217, 0.18);
  transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}

.nav-cta:hover {
  background: var(--color-primary-2);
  transform: translateY(-1px);
  box-shadow: 0 12px 24px rgba(0, 87, 217, 0.22);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.mobile-toggle {
  display: none;
  width: 46px;
  height: 46px;
  border-radius: 12px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.06);
}

.mega-menu-wrapper {
  position: relative;
}

.mega-menu {
  position: absolute;
  top: calc(100% + 18px);
  left: 50%;
  transform: translateX(-50%);
  width: min(860px, 92vw);
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-card);
  padding: 24px;
  display: none;
}

.mega-menu.open {
  display: block;
}

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

.mega-item {
  padding: 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: linear-gradient(180deg, #fff, var(--color-primary-light));
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.mega-item:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 87, 217, 0.22);
  box-shadow: 0 10px 24px rgba(0, 87, 217, 0.08);
}

.mega-item h4 {
  margin: 0 0 5px;
  font-size: 1rem;
  color: var(--color-text);
}

.mega-item p {
  margin: 0;
  font-size: 0.9rem;
  color: var(--color-text-muted);
}

.hero {
  position: relative;
  padding: 0;
}

.hero-full {
  min-height: clamp(520px, 74vh, 780px);
  display: flex;
  align-items: center;
  isolation: isolate;
  overflow: hidden;
}

.hero-full::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -2;
  background-image:
    linear-gradient(110deg, rgba(0, 87, 217, 0.55) 8%, rgba(30, 136, 229, 0.34) 56%, rgba(0, 163, 255, 0.28) 100%),
    var(--hero-image);
  background-size: cover;
  background-position: center;
}

.hero-full::after {
  content: '';
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 18% 24%, rgba(234, 244, 255, 0.38), transparent 34%),
    radial-gradient(circle at 82% 78%, rgba(0, 87, 217, 0.18), transparent 40%);
}

.hero-content {
  max-width: 760px;
  padding: 72px 0 80px;
  color: var(--color-text);
}

.hero h1,
.page-hero h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.9rem, 3.4vw, 3.1rem);
  margin: 0 0 16px;
  line-height: 1.14;
}

.hero h1 {
  color: var(--color-text);
}

.hero p {
  color: var(--color-text-muted);
  font-size: 1.02rem;
  max-width: 64ch;
}

.rotating-words {
  color: #0077e6;
  border-right: 2px solid #0077e6;
  padding-right: 5px;
  white-space: nowrap;
  animation: caretPulse 0.9s steps(1) infinite;
}

@keyframes caretPulse {
  50% {
    border-right-color: transparent;
  }
}

.pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(234, 244, 255, 0.92);
  border: 1px solid rgba(0, 87, 217, 0.16);
  color: var(--color-primary);
  font-size: 0.84rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.btn-hero-services {
  background: rgba(51, 134, 186, 0.98);
  color: #fff;
  border: 1px solid transparent;
  margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}


  /* margin-top: 24px;
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
} */

.btn {
  border: 0;
  border-radius: 999px;
  padding: 12px 20px;
  font-weight: 700;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease, border-color 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
}

.btn-primary {
  background: rgba(51, 134, 186, 0.98);
  color: #fff;
  box-shadow: 0 14px 28px rgba(0, 87, 217, 0.18);
}

.btn-primary:hover,
.btn-primary:focus-visible {
  background: var(--color-primary-2);
}

.btn-secondary {
  background: #fff;
  color: var(--color-primary);
  border: 1px solid var(--color-primary);
  box-shadow: 0 10px 20px rgba(0, 87, 217, 0.06);
}

.btn-secondary:hover,
.btn-secondary:focus-visible {
  background: var(--color-primary-light);
}

.hero-visual,
.image-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-border);
  box-shadow: var(--shadow-card);
  position: relative;
}

.hero-visual img,
.image-card img {
  width: 100%;
  aspect-ratio: 16 / 11;
  object-fit: cover;
}

.hero-stats {
  margin-top: 16px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.hero-stat {
  padding: 12px;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, rgba(0, 87, 217, 0.96), rgba(30, 136, 229, 0.92));
  border: 1px solid rgba(234, 244, 255, 0.28);
  box-shadow: 0 10px 30px rgba(0, 87, 217, 0.14);
  color: #fff;
}

.hero-stat strong {
  display: block;
  font-size: 1.24rem;
  font-family: 'Space Grotesk', sans-serif;
  color: #fff;
}

.hero-stat span {
  color: rgba(255, 255, 255, 0.88);
  font-weight: 600;
}

main section {
  padding: 68px 0;
  background: var(--color-background);
}

main > section:nth-of-type(even):not(.hero):not(.page-hero) {
  background: var(--color-section);
}

.section-head {
  margin-bottom: 24px;
  max-width: 720px;
}

.section-head h2 {
  margin: 0 0 8px;
  font-family: 'Space Grotesk', sans-serif;
  font-size: clamp(1.5rem, 2.7vw, 2.2rem);
}

.section-head p {
  margin: 0;
  color: var(--color-text-muted);
}

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

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

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

.card {
  padding: 24px;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-soft);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 87, 217, 0.2);
  box-shadow: 0 16px 38px rgba(0, 87, 217, 0.12);
}

.card h3 {
  margin-top: 0;
  color: var(--color-text);
}

.card p {
  color: var(--color-text-muted);
  margin-bottom: 0.7rem;
}

.media-card {
  overflow: hidden;
}

.media-card img {
  aspect-ratio: 16 / 10;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
}

.services-overview-section .service-overview-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 4px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(0, 87, 217, 0.16);
  background: var(--color-primary-light);
  color: var(--color-primary);
  font-weight: 600;
  line-height: 1;
  transition: transform 0.2s ease, background-color 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.services-overview-section .service-overview-link::after {
  content: '\2192';
  font-size: 1rem;
  line-height: 1;
}

.services-overview-section .service-overview-link:hover,
.services-overview-section .service-overview-link:focus-visible {
  background: rgba(0, 87, 217, 0.12);
  border-color: rgba(0, 87, 217, 0.28);
  transform: translateY(-1px);
}

.featured-products-section .section-head {
  max-width: 760px;
}

.product-grid {
  align-items: stretch;
}

.product-card {
  overflow: hidden;
  padding: 0;
  display: flex;
  flex-direction: column;
  transform: translateY(0);
}

.product-card img {
  width: 100%;
  aspect-ratio: 4 / 3;
  object-fit: cover;
  background: var(--color-primary-light);
  transition: transform 0.32s ease, filter 0.32s ease;
}

.product-card:hover,
.product-card:focus-within {
  transform: translateY(-8px);
  border-color: rgba(0, 87, 217, 0.28);
  box-shadow: 0 20px 44px rgba(0, 87, 217, 0.16);
}

.product-card:hover img,
.product-card:focus-within img {
  transform: scale(1.05);
  filter: saturate(1.08) contrast(1.03);
}

.product-card-small-image img {
  width: 78%;
  margin: 18px auto 0;
  border-radius: 10px;
  aspect-ratio: 4 / 3;
  object-fit: contain;
}

.product-card-body {
  padding: 18px;
}

.product-card-body h3 {
  font-size: 1.08rem;
  margin-bottom: 8px;
}

.product-card-body p {
  margin: 0;
}

.partners-section {
  overflow: hidden;
}

.partners-marquee {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-md);
  border: 1px solid var(--color-border);
  background: #fff;
  box-shadow: var(--shadow-soft);
}

.partners-marquee::before,
.partners-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  width: 84px;
  z-index: 2;
  pointer-events: none;
}

.partners-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255, 255, 255, 0));
}

.partners-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255, 255, 255, 0));
}

.partners-track {
  display: flex;
  width: max-content;
  gap: 18px;
  padding: 22px;
  animation: partnersScroll 18s linear infinite;
}

.partner-card {
  width: 220px;
  height: 132px;
  flex: 0 0 220px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 18px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(0, 87, 217, 0.12);
  background: linear-gradient(180deg, #fff, var(--color-primary-light));
  box-shadow: 0 10px 24px rgba(0, 87, 217, 0.07);
  transition: transform 0.24s ease, border-color 0.24s ease, box-shadow 0.24s ease;
}

.partner-card:hover {
  transform: translateY(-5px);
  border-color: rgba(0, 87, 217, 0.26);
  box-shadow: 0 16px 34px rgba(0, 87, 217, 0.12);
}

.partner-card img {
  max-width: 100%;
  max-height: 66px;
  object-fit: contain;
}

.partner-card h3 {
  margin: 0;
  color: var(--color-text);
  font-size: 0.92rem;
  line-height: 1.15;
  text-align: center;
}

@keyframes partnersScroll {
  from {
    transform: translateX(0);
  }

  to {
    transform: translateX(calc(-50% - 9px));
  }
}

.why-choose-card {
  position: relative;
  padding-top: 18px;
}

.why-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 12px;
  color: var(--color-primary);
  border: 1px solid rgba(0, 87, 217, 0.14);
  background: linear-gradient(160deg, rgba(234, 244, 255, 0.92), rgba(255, 255, 255, 0.98));
  box-shadow: 0 10px 20px rgba(0, 87, 217, 0.08);
}

.why-icon svg {
  width: 22px;
  height: 22px;
}

/* About page mission/vision/core values icons */
.mv-card {
  padding-top: 18px;
}

.mv-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 12px;
  color: var(--color-primary);
  border: 1px solid rgba(0, 87, 217, 0.12);
  background: linear-gradient(160deg, rgba(234, 244, 255, 0.9), #fff);
  box-shadow: 0 8px 18px rgba(0, 87, 217, 0.06);
}

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

.counter {
  text-align: center;
  padding: 26px 12px;
  border-radius: var(--radius-md);
  border: 1px solid rgba(0, 87, 217, 0.12);
  background: #fff;
  box-shadow: 0 10px 24px rgba(0, 87, 217, 0.06);
}

.counter strong {
  display: block;
  font-size: 2rem;
  font-family: 'Space Grotesk', sans-serif;
  margin-bottom: 6px;
  color: var(--color-primary);
}

.process-step {
  padding-left: 22px;
  position: relative;
}

.process-step::before {
  content: '';
  position: absolute;
  left: 6px;
  top: 10px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--color-primary);
  box-shadow: 0 0 16px rgba(0, 87, 217, 0.3);
}

.roadmap-panel {
  display: flex;
  flex-direction: column;
  gap: 16px;
  padding: 26px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.98));
}

.roadmap-head {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 0;
}

.roadmap-head p {
  display: none;
}

.roadmap-track {
  position: relative;
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  grid-template-rows: 1fr;
  gap: 10px;
  padding: 18px 0 8px;
  isolation: isolate;
  color: var(--color-primary);
}

.roadmap-track::before {
  content: '';
  position: absolute;
  left: 7%;
  right: 7%;
  top: 48px;
  height: 3px;
  transform: none;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(0, 87, 217, 0.08), rgba(0, 87, 217, 0.55), rgba(0, 163, 255, 0.12));
  z-index: -1;
  pointer-events: none;
}

.roadmap-step {
  position: relative;
  padding: 0;
  border-radius: 14px;
  border: 0;
  background: transparent;
  box-shadow: none;
  min-height: 0;
  max-width: 100%;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 8px;
}

.roadmap-step::after {
  content: '';
  position: absolute;
  left: 50%;
  top: 50%;
  width: 18px;
  height: 18px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 0 0 8px rgba(0,87,217,0.08), 0 0 20px rgba(0,87,217,0.18);
  transform: translate(-50%, -50%);
  z-index: 1;
  opacity: 0.95;
}

.roadmap-step-top {
  grid-row: 1;
  align-self: stretch;
}

.roadmap-step-bottom {
  grid-row: 1;
  align-self: stretch;
}

.roadmap-step-top::after,
.roadmap-step-bottom::after {
  display: none; /* hide central dots, wave acts as connector */
}

/* place each step into six columns left-to-right */
.roadmap-step:nth-child(1){grid-column:1}
.roadmap-step:nth-child(2){grid-column:2}
.roadmap-step:nth-child(3){grid-column:3}
.roadmap-step:nth-child(4){grid-column:4}
.roadmap-step:nth-child(5){grid-column:5}
.roadmap-step:nth-child(6){grid-column:6}

.roadmap-icon {
  width: 52px;
  height: 52px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  margin-bottom: 6px;
  position: relative;
  color: #fff;
  background: linear-gradient(135deg, var(--color-primary), var(--color-primary-2));
  box-shadow: 0 10px 22px rgba(0,87,217,0.16);
  border: 3px solid rgba(255,255,255,0.9);
}

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

.roadmap-icon::after {
  content: '';
  position: absolute;
  inset: -6px;
  border-radius: 999px;
  z-index: 0;
  filter: blur(12px);
  background: radial-gradient(circle at 30% 20%, rgba(0,87,217,0.12), rgba(0,87,217,0.02) 40%, transparent 60%);
  pointer-events: none;
}

.roadmap-badge {
  display: block;
  color: var(--color-primary-2);
  font-family: 'Space Grotesk', sans-serif;
  font-size: 0.76rem;
  letter-spacing: 0.06em;
  margin-bottom: 8px;
  background: var(--color-primary-light);
  padding: 3px 8px;
  border-radius: 999px;
  display: inline-block;
}

.roadmap-step h3 {
  margin: 0;
  font-size: 0.88rem;
  line-height: 1.2;
  color: var(--color-text);
}

.roadmap-step p {
  margin: 0;
  color: var(--color-text-muted);
}

.roadmap-cta {
  align-self: flex-start;
  margin-top: 4px;
}

.roadmap-step > div:last-child {
  width: 100%;
  min-height: 92px;
  padding: 12px 10px;
  border-radius: 12px;
  border: 1px solid rgba(0, 87, 217, 0.12);
  background: #fff;
  box-shadow: 0 8px 20px rgba(15, 23, 42, 0.06);
  transition: transform 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.roadmap-step:hover > div:last-child {
  transform: translateY(-4px);
  border-color: rgba(0, 87, 217, 0.26);
  box-shadow: 0 14px 28px rgba(0, 87, 217, 0.1);
}

.banner {
  border-radius: var(--radius-lg);
  padding: 34px;
  border: 1px solid rgba(0, 87, 217, 0.12);
  background: linear-gradient(120deg, rgba(234, 244, 255, 0.98), rgba(255, 255, 255, 0.98));
  box-shadow: var(--shadow-card);
}

.page-hero {
  padding: 48px 0 24px;
  background: linear-gradient(180deg, rgba(234, 244, 255, 0.65), rgba(255, 255, 255, 1));
  border-bottom: 1px solid rgba(229, 231, 235, 0.9);
}

.page-hero-carousel {
  overflow: hidden;
}

.page-hero-layout {
  display: grid;
  grid-template-columns: 1fr;
  gap: 0;
  align-items: start;
  padding: 2rem 0 1.5rem;
}

.page-hero-copy {
  max-width: 720px;
}

.hero-carousel {
  position: relative;
  width: 100%;
  height: auto;
  aspect-ratio: 16 / 9;
  min-height: 0;
  border-radius: 26px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: 0 18px 45px rgba(15, 23, 42, 0.12);
  background: linear-gradient(135deg, rgba(0, 87, 217, 0.14), rgba(0, 163, 255, 0.08));
  touch-action: pan-y;
}

.hero-carousel-track {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.hero-carousel-slide {
  position: absolute;
  inset: 0;
  margin: 0;
  height: 100%;
  opacity: 0;
  transition: opacity 0.55s ease;
  pointer-events: none;
}

.hero-carousel-slide.active {
  opacity: 1;
  pointer-events: auto;
}

.hero-carousel-slide img {
  width: 100%;
  height: 100%;
  min-height: 0;
  object-fit: cover;
}

.hero-carousel-slide--fit img {
  object-fit: contain;
  background: #f0f6ff;
}

.hero-carousel-control {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 0;
  background: rgba(255, 255, 255, 0.88);
  color: var(--color-primary);
  font-size: 1.7rem;
  line-height: 1;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 22px rgba(15, 23, 42, 0.16);
  cursor: pointer;
  z-index: 10;
}

.hero-carousel-prev {
  left: 1rem;
}

.hero-carousel-next {
  right: 1rem;
}

.hero-carousel-control:hover,
.hero-carousel-control:focus {
  background: #fff;
}

.hero-carousel-dots {
  position: absolute;
  left: 50%;
  bottom: 14px;
  transform: translateX(-50%);
  display: flex;
  gap: 8px;
  z-index: 1;
  visibility: hidden;
}

.hero-carousel-dot {
  width: 16px;
  height: 1px;
  border: 0;
  border-radius: 999px;
  background: rgba(173, 193, 226, 0.95);
  padding: 0;
  cursor: pointer;
  transition: transform 0.2s ease, background-color 0.2s ease, width 0.2s ease;
}

.hero-carousel-dot.active {
  width: 28px;
  background: var(--color-primary);
}

.breadcrumbs {
  display: flex;
  gap: 8px;
  align-items: center;
  flex-wrap: wrap;
  color: var(--color-text-muted);
  font-size: 0.92rem;
  margin-bottom: 10px;
}

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

.search-box {
  margin: 10px 0 20px;
  position: relative;
}

.search-box input {
  width: 100%;
  border-radius: 999px;
  padding: 12px 16px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 18px;
}

.filter-btn {
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  cursor: pointer;
}

.filter-btn.active {
  background: var(--color-primary-light);
  border-color: rgba(0, 87, 217, 0.2);
  color: var(--color-primary);
}

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

.testimonial-slides {
  display: flex;
  transition: transform 0.45s ease;
}

.testimonial {
  min-width: 100%;
}

.quote-mark {
  font-size: 2rem;
  color: var(--color-primary);
  line-height: 1;
}

.slider-controls {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.icon-btn {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
}

.faq-item {
  border-radius: var(--radius-sm);
  border: 1px solid var(--color-border);
  margin-bottom: 12px;
  overflow: hidden;
}

.faq-question {
  width: 100%;
  text-align: left;
  padding: 14px;
  border: 0;
  background: #fff;
  color: var(--color-text);
  font-weight: 600;
  cursor: pointer;
}

.faq-answer {
  padding: 0 14px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: var(--color-text-muted);
}

.faq-item.open .faq-answer {
  max-height: 160px;
  padding: 0 14px 14px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group.full {
  grid-column: 1 / -1;
}

label {
  font-weight: 600;
}

input,
select,
textarea {
  border-radius: 10px;
  border: 1px solid var(--color-border);
  background: #fff;
  color: var(--color-text);
  padding: 11px 12px;
  font: inherit;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: rgba(0, 87, 217, 0.35);
  box-shadow: 0 0 0 4px rgba(0, 87, 217, 0.08);
}

textarea {
  min-height: 110px;
  resize: vertical;
}

.error-msg {
  color: #ffafaf;
  font-size: 0.84rem;
  min-height: 1em;
}

.site-footer {
  margin-top: 42px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding: 40px 0 20px;
  background: rgba(51, 134, 186, 0.98);
  /* var(--color-footer); */
  color: #fff;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr;
  gap: 22px;
}

.footer-title {
  margin-top: 0;
  font-family: 'Space Grotesk', sans-serif;
}

.footer-links {
  display: grid;
  gap: 8px;
}

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

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

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  margin-top: 18px;
  padding-top: 14px;
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.9rem;
}

.whatsapp-float {
  position: fixed;
  right: 16px;
  bottom: 18px;
  z-index: 1500;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 56px;
  height: 56px;
  padding: 0;
  border-radius: 50%;
  background: #1fbf5b;
  color: #fff;
  font-weight: 700;
  box-shadow: 0 14px 30px rgba(17, 136, 64, 0.45);
  font-size: 0;
  line-height: 0;
}

.whatsapp-float::before {
  content: '';
  width: 26px;
  height: 26px;
  background: currentColor;
  -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 11.9a8.5 8.5 0 0 1-12.8 7.4L3 20l.8-4.6A8.5 8.5 0 1 1 20.5 11.9Z' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M9.4 8.9c.2-.4.4-.4.7-.4h.6c.2 0 .5.1.6.4l.7 1.7c.1.3.1.5-.1.7l-.5.6c-.1.2-.2.4 0 .7.4.8 1.2 1.6 2 2 .3.1.5.1.7 0l.6-.5c.2-.2.4-.2.7-.1l1.7.7c.3.1.4.4.4.6v.6c0 .3 0 .5-.4.7-.3.2-1 .6-2 .6-2.1 0-4.2-1-5.8-2.6-1.6-1.6-2.6-3.7-2.6-5.8 0-1 .4-1.7.6-2Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
  mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M20.5 11.9a8.5 8.5 0 0 1-12.8 7.4L3 20l.8-4.6A8.5 8.5 0 1 1 20.5 11.9Z' fill='none' stroke='black' stroke-width='1.8'/%3E%3Cpath d='M9.4 8.9c.2-.4.4-.4.7-.4h.6c.2 0 .5.1.6.4l.7 1.7c.1.3.1.5-.1.7l-.5.6c-.1.2-.2.4 0 .7.4.8 1.2 1.6 2 2 .3.1.5.1.7 0l.6-.5c.2-.2.4-.2.7-.1l1.7.7c.3.1.4.4.4.6v.6c0 .3 0 .5-.4.7-.3.2-1 .6-2 .6-2.1 0-4.2-1-5.8-2.6-1.6-1.6-2.6-3.7-2.6-5.8 0-1 .4-1.7.6-2Z' fill='black'/%3E%3C/svg%3E") center / contain no-repeat;
}

.reveal {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.reveal.show {
  opacity: 1;
  transform: translateY(0);
}

.hide {
  display: none !important;
}

@media (max-width: 990px) {
  .page-hero-layout {
    padding: 2rem 0 1.5rem;
  }

  .hero-carousel {
    aspect-ratio: 16 / 9;
    min-height: 0;
  }

  .hero-carousel-slide img {
    min-height: 0;
  }

  .mobile-toggle {
    display: inline-grid;
    place-items: center;
  }

  .nav-menu {
    display: none;
    position: fixed;
    top: 76px;
    left: 0;
    right: 0;
    width: 100vw;
    padding: 16px 18px;
    background: rgba(255, 255, 255, 0.98);
    border-bottom: 1px solid var(--color-border);
    box-shadow: 0 8px 28px rgba(15, 23, 42, 0.12);
    z-index: 1100;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
  }

  .nav-menu.open {
    display: flex;
  }

  .nav-menu .nav-link,
  .nav-menu .mega-trigger {
    color: var(--color-text);
  }

  .nav-menu .nav-cta {
    width: 100%;
    margin-top: 4px;
  }

  .mega-menu {
    position: static;
    transform: none;
    width: 100%;
    margin-top: 10px;
  }

  .mega-grid,
  .grid-4,
  .grid-3,
  .grid-2,
  .footer-grid,
  .form-grid {
    grid-template-columns: 1fr;
  }

  .hero-full {
    min-height: 0;
    flex-direction: column;
    align-items: stretch;
  }

  .hero-full::before,
  .hero-full::after {
    display: none;
  }

  .hero-bg-carousel {
    width: 100%;
    border-radius: 0;
    aspect-ratio: 16 / 9;
    order: -1;
  }

  .hero-content {
    position: static;
    max-width: 100%;
    padding: 28px 0 36px;
    color: var(--color-text);
  }

  .hero h1 {
    color: var(--color-text);
  }

  .hero p {
    color: var(--color-text-muted);
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .roadmap-track {
    display: flex;
    overflow-x: auto;
    gap: 10px;
    padding: 8px 0 10px;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }

  .roadmap-step {
    flex: 0 0 min(72vw, 240px);
    min-height: 0;
    scroll-snap-align: start;
  }

  .roadmap-step::after {
    display: none;
  }

  .roadmap-track::before {
    display: none;
  }

  .roadmap-step-top,
  .roadmap-step-bottom {
    grid-row: auto;
    align-self: auto;
  }

  .roadmap-panel {
    padding: 20px;
  }

  .roadmap-head {
    display: block;
  }

  .roadmap-step > div:last-child {
    min-height: 82px;
  }

  .roadmap-cta {
    min-height: 40px;
    padding: 9px 14px;
    font-size: 0.88rem;
  }

  .partners-marquee::before,
  .partners-marquee::after {
    width: 42px;
  }

  .partners-track {
    gap: 12px;
    padding: 16px;
    animation-duration: 15s;
  }

  .partner-card {
    width: 180px;
    height: 112px;
    flex-basis: 180px;
    padding: 14px;
  }

  .partner-card img {
    max-height: 72px;
  }
}

/* Reduce rotating words size on smaller screens to improve readability */
@media (max-width: 600px) {
  .navbar {
    min-height: 72px;
    gap: 10px;
  }

  .brand {
    gap: 10px;
    flex: 1;
  }

  .brand img {
    width: 50px;
    height: 50px;
  }

  .brand-title {
    font-size: 0.94rem;
    line-height: 1.06;
    font-weight: 700;
  }

  .brand-title small {
    margin-top: 2px;
    font-size: 0.66rem;
    letter-spacing: 0.08em;
    color: #89a8d9;
  }

  .hero h1 .rotating-words {
    font-size: 0.95em;
  }
}

@media (max-width: 420px) {
  .brand-title {
    font-size: 0.9rem;
  }

  .brand-title small {
    font-size: 0.62rem;
  }

  .hero h1 {
    font-size: clamp(1.6rem, 5.2vw, 2.2rem);
  }
  .hero h1 .rotating-words {
    font-size: 0.88em;
  }
}
