.slide-container {
  position: relative;
  width: 100%;
  padding: 40px 0;
}

@media (max-width: 768px) {
  .slide-container {
    position: relative;
    padding: 20px 10px;
  }
}

.slide-content {
  margin: 0 40px;
  overflow: hidden;
  border-radius: 25px;
}

.card {
  border-radius: 25px;
  background-color: #FFF;
}

.swiper-navBtn {
  color: #6E93f7;
  transition: color 0.3s ease;
}

.swiper-navBtn:hover {
  color: #4070F4;
}

.swiper-navBtn::before,
.swiper-navBtn::after {
  font-size: 35px;
}

.arrow-next {
  top: 45%;
  right: 20px;
  z-index: +5;
}

.arrow-prev {
  top: 45%;
  left: 20px;
  z-index: +5;
}

@media (max-width: 768px) {
  .arrow-next {
    top: 45%;
    right: 0;
    z-index: +5;
  }
  
  .arrow-prev {
    top: 45%;
    left: 0;
    z-index: +5;
  }
}

.swiper-pagination-bullet {
  background-color: #6E93f7;
  opacity: 1;
}

.swiper-pagination-bullet-active {
  background-color: #4070F4;
}

@media (max-width: 768px) {
  .slide-content {
    margin: 0 10px;
  }
}


/* Fix the card height */
.testimonials .card {
  height: 250px; /* adjust to your design */
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Make ONLY the text scrollable */
.testimonials .card > p:first-of-type {
  flex-grow: 1;
  overflow: hidden;
  position: relative;
  padding-right: 6px;
}

.testimonials .card > p:first-of-type::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 48px;
  background: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0),
    #fff
  );
  pointer-events: none;
}

/* Enable scroll on hover on desktop */
@media (hover: hover) {
  .testimonials .card:hover > p:first-of-type {
    overflow-y: auto;
  }

  .testimonials .card:hover > p:first-of-type::after {
    display: none;
  }
}

/* Subtle scrollbar styling (WebKit) */
.testimonials .card > p:first-of-type::-webkit-scrollbar {
  width: 4px;
}

.testimonials .card > p:first-of-type::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.25);
  border-radius: 4px;
}