html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at top left, rgba(19, 138, 54, 0.16), transparent 28%),
    radial-gradient(circle at 90% 8%, rgba(247, 166, 0, 0.14), transparent 20%),
    linear-gradient(135deg, #f8fcf6 0%, #f4fbef 100%);
  color: #334155;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image: radial-gradient(circle, rgba(19, 138, 54, 0.08) 1px, transparent 1px);
  background-size: 24px 24px;
  opacity: 0.45;
  mix-blend-mode: multiply;
}

::selection {
  background: rgba(19, 138, 54, 0.2);
  color: #0f172a;
}

#progress {
  position: fixed;
  top: 0;
  left: 0;
  height: 4px;
  background: linear-gradient(90deg, #138a36 0%, #f7a600 100%);
  width: 0;
  z-index: 120;
}

#header {
  background: rgba(255, 255, 255, 0.72);
  backdrop-filter: blur(18px);
}

#header.scrolled {
  background: rgba(255, 255, 255, 0.95);
  box-shadow: 0 12px 35px rgba(15, 23, 42, 0.08);
}

#mobileMenu {
  display: none;
}

#mobileMenu.open {
  display: block;
}

#topBtn {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: none;
  border: none;
  border-radius: 999px;
  padding: 12px 16px;
  background: linear-gradient(135deg, #138a36, #0e5a9c);
  color: #fff;
  box-shadow: 0 12px 26px rgba(19, 138, 54, 0.25);
  z-index: 100;
  cursor: pointer;
}

[data-reveal] {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

[data-reveal].visible {
  opacity: 1;
  transform: translateY(0);
}

.hero-card {
  animation: float 5s ease-in-out infinite;
}

.floating-card {
  position: absolute;
  display: inline-block;
  border: 1px solid rgba(15, 23, 42, 0.06);
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(12px);
  padding: 0.9rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 15px 32px rgba(15, 23, 42, 0.08);
  animation: bob 3s ease-in-out infinite;
}

.solution-card,
.process-card,
.testimonial-card {
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.solution-card:hover,
.process-card:hover,
.testimonial-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 20px 45px rgba(15, 23, 42, 0.09);
}

.testimonial-slider {
  position: relative;
}

.testimonial-track {
  display: flex;
  align-items: stretch;
  gap: 1rem;
  width: 100%;
  padding-right: 1rem;
}
.testimonial-nav-btn {
  border: none;
  background: #16a34a;
  color: #fff;
}
.testimonial-track .testimonial-card {
  flex: 0 0 31%;
  min-width: 31%;
  max-width: 31%;
}
.testimonial-card {
  cursor: pointer;
}

.testimonial-slider {
  width: 97%;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: #16a34a;
  transition: background-color 0.25s ease, transform 0.25s ease;
  cursor: pointer;
}

.testimonial-dot.active {
  background: #fbbf24;
  transform: scale(1.15);
}

.counter-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.18);
}

.counter-value {
  display: inline-block;
  min-width: 4rem;
}

.counter-card {
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.counter-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 25px 50px rgba(15, 23, 42, 0.18);
}

.counter-value {
  display: inline-block;
  min-width: 4rem;
}

.faq-item {
  transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.faq-item.active {
  border-color: rgba(19, 138, 54, 0.35);
  box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.faq-icon {
  transition: transform 0.25s ease, color 0.25s ease;
}

.faq-item.active .faq-icon {
  transform: rotate(45deg);
  color: #138a36;
}

@media (max-width: 1023px) {
  .testimonial-track .testimonial-card {
    flex: 0 0 90%;
    min-width: 90%;
    max-width: 90%;
  }
}

@keyframes float {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-10px);
  }
}

@keyframes bob {
  0%,
  100% {
    transform: translateY(0px);
  }
  50% {
    transform: translateY(-6px);
  }
}

/* Journey / process stepper styles */
.journey-line { pointer-events: none; }
.journey-step { transition: transform 0.35s ease, box-shadow 0.35s ease; }
/*.journey-step:hover { transform: translateY(-8px); box-shadow: 0 20px 45px rgba(15, 23, 42, 0.08); }*/
.journey-step .h-12 { box-shadow: 0 6px 18px rgba(15,23,42,0.08); }
.journey-vertical { left: 28px; transform: translateX(-50%); }

@media (max-width: 1023px) {
  .journey-line { display: none; }
  .journey-vertical { display: block; }
}

/* Alternate step content above/below the path on large screens (badges stay aligned) */
@media (min-width: 1024px) {
  .grid > .journey-step .step-content { transition: transform 0.35s ease, box-shadow 0.35s ease; }
  .grid > .journey-step:nth-child(odd) .step-content { transform: translateY(-220px); }
  .grid > .journey-step:nth-child(even) .step-content { transform: translateY(25px); }
  .journey-step .step-badge { margin-bottom: 0; z-index: 30; position: relative; top: 0; }
}