* {
  scroll-behavior: smooth;
}

.scrollbar-none::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.slide-down {
  opacity: 0;
  transform: translateY(-50px);
  transition: all 0.4s ease-in-out;
}
.slide-down.show {
  opacity: 1;
  transform: translateY(0);
}

.link-underline {
  position: relative;
}

.link-underline::after {
  display: none;
  content: "";
  position: absolute;
  bottom: -2px;
  left: 100%;
  width: 100%;
  height: 1px;
  background: repeating-linear-gradient(to right, #006bff, #006bff 2px, transparent 2px, transparent 4px);
  transition: all 0.4s ease;
}

.link-underline:hover::after {
  left: 0;
  display: block;
}

@keyframes fadeInUp {
  0% {
    opacity: 0;
    transform: translateY(30px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.fade-in {
  animation: fadeInUp 1s ease-out forwards;
}

.stat-card {
  @apply p-6 text-center border border-border rounded-md cursor-pointer relative overflow-hidden transition-all duration-300;
}

.stat-card::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 0%;
  background-color: #fff2003c;
  z-index: 0;
  transition: width 0.4s ease;
}

.stat-card:hover::before {
  width: 100%;
}

.stat-card > * {
  position: relative;
  z-index: 10;
}
