:root {
  --cc-accent: #fde047;
  --cc-accent-hover: #eab308;
}

@keyframes cc-fade-in {
  from {
    opacity: 0;
    transform: translateY(8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes cc-slide-up {
  from {
    opacity: 0;
    transform: translateY(100%);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.cc-animate-banner {
  animation: cc-slide-up 0.45s ease-out forwards;
}

.cc-panel-enter {
  animation: cc-fade-in 0.35s ease-out forwards;
}

.stat-value {
  font-variant-numeric: tabular-nums;
}

.stat-counting {
  transition: opacity 0.2s ease;
}

.hero-bg-kenburns {
  animation: hero-kenburns 28s ease-in-out infinite alternate;
}

@keyframes hero-kenburns {
  0% {
    transform: scale(1) translate3d(0, 0, 0);
  }
  100% {
    transform: scale(1.06) translate3d(-1.5%, -1%, 0);
  }
}

.reveal-up {
  opacity: 0;
  transform: translate3d(0, 18px, 0);
  transition:
    opacity 0.55s ease,
    transform 0.55s ease;
}

.reveal-up.is-visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.testimonial-swiper {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.testimonial-swiper .swiper-wrapper {
  display: flex;
  width: 100%;
}

.testimonial-swiper .swiper-slide {
  flex-shrink: 0;
  width: 100%;
  height: auto;
  box-sizing: border-box;
}

.testimonial-swiper .swiper-button-next,
.testimonial-swiper .swiper-button-prev {
  position: absolute;
  top: 50%;
  z-index: 2;
  width: 2.75rem;
  height: 2.75rem;
  margin-top: -1.375rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 9999px;
  border: 1px solid #1f2a3f;
  background: #131a28;
  color: #fde047;
  cursor: pointer;
}

.testimonial-swiper .swiper-button-prev {
  left: 0.25rem;
}

.testimonial-swiper .swiper-button-next {
  right: 0.25rem;
}

.testimonial-swiper .swiper-button-next::after,
.testimonial-swiper .swiper-button-prev::after {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  .hero-bg-kenburns {
    animation: none;
  }

  .cc-animate-banner,
  .cc-panel-enter,
  .reveal-up {
    animation: none !important;
    transition: none !important;
    opacity: 1 !important;
    transform: none !important;
  }
}
