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

@keyframes pulse-glow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(79, 91, 213, 0.35);
  }
  50% {
    box-shadow: 0 0 24px 4px rgba(79, 91, 213, 0.2);
  }
}

@keyframes stat-shimmer {
  0% {
    background-position: -200% center;
  }
  100% {
    background-position: 200% center;
  }
}

.animate-fade-in-up {
  animation: fade-in-up 0.7s ease-out forwards;
}

.animate-pulse-glow {
  animation: pulse-glow 3s ease-in-out infinite;
}

.animate-stat-shimmer {
  position: relative;
  background-color: #0b0e1a;
  overflow: hidden;
}

.animate-stat-shimmer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(79, 91, 213, 0.03) 0%,
    rgba(79, 91, 213, 0.12) 50%,
    rgba(79, 91, 213, 0.03) 100%
  );
  background-size: 200% 100%;
  animation: stat-shimmer 4s linear infinite;
  pointer-events: none;
}

.animate-stat-shimmer > .mx-auto {
  position: relative;
  z-index: 1;
}

.hero-bg {
  background-image: linear-gradient(
      135deg,
      rgba(11, 14, 26, 0.92) 0%,
      rgba(11, 14, 26, 0.78) 50%,
      rgba(79, 91, 213, 0.15) 100%
    ),
    url("../assets/images/hero-background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.about-hero-bg {
  background-image: linear-gradient(
      135deg,
      rgba(11, 14, 26, 0.9) 0%,
      rgba(20, 24, 38, 0.85) 100%
    ),
    url("../assets/images/about-hero-background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.blogs-hero-bg {
  background-image: linear-gradient(
      135deg,
      rgba(11, 14, 26, 0.88) 0%,
      rgba(79, 91, 213, 0.12) 100%
    ),
    url("../assets/images/blogs-hero-background.webp");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

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

.stat-counter {
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.mobile-nav-open {
  overflow: hidden;
}

.nav-link--active {
  color: #4f5bd5;
}

.nav-link--active:hover {
  color: #6e79e8;
}

@media (min-width: 1024px) {
  .nav-link--active {
    position: relative;
  }

  .nav-link--active::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: -6px;
    height: 2px;
    background-color: #4f5bd5;
    border-radius: 1px;
  }
}

.nav-link--active-mobile {
  color: #4f5bd5;
  background-color: rgba(79, 91, 213, 0.1);
}

.swiper-button-prev-custom,
.swiper-button-next-custom {
  transition: background-color 0.2s ease, border-color 0.2s ease;
}

.swiper-button-prev-custom:hover,
.swiper-button-next-custom:hover {
  background-color: rgba(79, 91, 213, 0.2);
  border-color: #6e79e8;
}

.swiper-button-disabled {
  opacity: 0.35;
  pointer-events: none;
}

.form-toast-container {
  position: fixed;
  top: 5rem;
  right: 1rem;
  z-index: 60;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: calc(100vw - 2rem);
  width: 22rem;
  pointer-events: none;
}

.form-toast {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 1rem 1.25rem;
  border: 1px solid #252a3e;
  border-radius: 0.75rem;
  background-color: #141826;
  color: #dee1ee;
  box-shadow: 0 12px 32px rgba(0, 0, 0, 0.35);
  opacity: 0;
  transform: translateX(1.5rem);
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.form-toast--visible {
  opacity: 1;
  transform: translateX(0);
}

.form-toast p {
  font-size: 0.875rem;
  line-height: 1.5;
}

.faq-item--open [data-faq-trigger] .faq-icon-plus {
  display: none;
}

.faq-item--open [data-faq-trigger] .faq-icon-minus {
  display: block;
}

.faq-item:not(.faq-item--open) [data-faq-trigger] .faq-icon-minus {
  display: none;
}
