.testimonials-slider-section {
  padding: 50px 0 70px;
  overflow: hidden;
}
.testimonials-slider-section__title {
  font-family: "Roboto", sans-serif;
  font-size: 36px;
  color: #313f42;
  text-align: center;
  margin-bottom: 40px;
  font-weight: 500;
}

.ts-slider {
  position: relative;
  padding: 0 45px 142px; /* Side gutters + space for arrows */
  overflow: visible;
}

.ts-card {
  background-color: #7990c7; /* Inactive color */
  border-radius: 0 25px 0 0; /* Specific corner radius */
  padding: 28px 28px 20px;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  color: #ffffff;
  transition: background-color 0.4s ease, transform 0.4s ease;
}
.ts-card__quote {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  line-height: 1.2;
  margin-bottom: 54px;
  font-weight: 400;
}
.ts-card__author {
  margin-top: auto;
}
.ts-card__name {
  font-family: "Roboto", sans-serif;
  font-size: 24px;
  font-weight: 400;
}
.ts-card__info {
  font-family: "Roboto", sans-serif;
  font-size: 20px;
  font-weight: 300;
  color: rgba(255, 255, 255, 0.8);
}

.ts-slider .splide__track {
  overflow: visible !important;
  height: auto !important;
}

.ts-slider .splide__list {
  align-items: stretch;
  height: auto !important;
  min-height: 0 !important;
  overflow: visible !important;
}

.ts-slider .splide__slide {
  height: auto !important;
  min-height: 0 !important;
  display: flex;
  align-self: stretch;
  overflow: visible;
}

.ts-slider .splide__slide .ts-card {
  width: 100%;
  min-height: 100%;
  height: auto;
}

/* Active Slide Styling */
.splide__slide.is-active .ts-card {
  background-color: #4b32a2; /* Deep purple for active */
}

/* Arrows Navigation */
.ts-arrows {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 37px;
  z-index: 2;
}

.ts-arrow {
  background-color: #4b32a2;
  color: #ffffff;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
  padding: 0;
}
.ts-arrow svg {
  width: 20px;
  height: 20px;
}
.ts-arrow:hover {
  background-color: #3a2680;
  transform: scale(1.1);
}
.ts-arrow[disabled] {
  opacity: 0.5;
  cursor: default;
  pointer-events: none;
}
.ts-arrow[disabled]:hover {
  transform: none;
}
@media (max-width: 767px) {
  .ts-card__quote {
    font-size: 16px;
  }
  .ts-slider {
    padding: 0 16px 68px;
  }
  .ts-card {
    padding: 22px;
  }
}
@media (max-width: 1199px) {
  .ts-slider {
    padding: 0 45px 142px;
  }
}