.tab-slider-container {
  position: relative;
  max-width: 600px;
  margin: auto;
  height: 108px;
}

.bg-tabs-sl {
  background: #FAFAFA;
  border-radius: 10px;
}

.splide-tabs .splide__list {
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
  list-style: none;
}

.splide-tabs .splide__slide {
  flex: 1;
  text-align: center;
  cursor: pointer;
  padding: 10px;
  background-color: transparent;
  color: #696969;
  font-weight: 500;
  position: relative;
  transition: color 0.3s ease;
  white-space: normal;
  overflow: visible;
  z-index: 2;
}

.splide-tabs .splide__slide.is-active {
  color: #fff;
}

.splide-tabs .splide__slide.is-active::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: #0070ba;
  border-radius: 20px;
  z-index: -1;
  transition: background 0.3s ease;
}

.splide-tabs .splide__slide.animate-sticky::before {
  animation: stickyTrail 0.5s ease forwards;
}

@keyframes stickyTrail {
  0% {
    transform: scale(0.9);
    opacity: 0.8;
  }
  50% {
    transform: scale(1.1);
    opacity: 1;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.splide-content .splide__list {
  margin: 0;
  padding: 0;
  list-style: none;
}

.splide-content .splide__slide {
  background-color: #fff;
  padding: 1rem;
  box-sizing: border-box;
}

.splide-content h2 {
  margin-top: 0;
}
