.testimonials-v2 {
  padding: 95px 0;
  background-size: cover;
  background-position: center;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.testimonials-v2 .background-overlay {
  z-index: 2;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: auto;
  max-width: none;
  max-height: 100%;
}
.testimonials-v2 .hero-wrapper {
  z-index: 3;
}
.testimonials-v2 .section-header {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.testimonials-v2-subtitle {
  max-width: 700px;
  font-size: 18px;
}
.testimonials-v2-title {
  max-width: 700px;
  font-size: 34px;
}
@media screen and (max-width: 992px) {
  .testimonials-v2 .m-h-al-left {
    text-align: left !important;
    align-items: flex-start !important;
  }
  .testimonials-v2 .m-h-al-center {
    text-align: center !important;
    align-items: center !important;
  }
  .testimonials-v2 .m-h-al-right {
    text-align: right !important;
    align-items: flex-end !important;
  }
}
.testimonials-v2 .splide {
  max-width: 100%;
  position: relative;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.testimonials-v2 .splide.is-initialized{
  opacity: 1;
}
.testimonials-v2 .splide__slide {
  max-width: 700px;
  margin: 0 auto;
  padding: 20px 20px 100px;
  overflow: hidden;
  position: relative;
}
.testimonials-v2 .splide__progress,
.testimonials-v2 .testimonial-person,
.testimonials-v2 .testimonial-photo,
.testimonials-v2 .testimonial-pos,
.testimonials-v2 .testimonial-text {
  opacity: 0;
  transition: 0.6s;
}
.testimonials-v2 .splide__slide.is-visible .splide__progress,
.testimonials-v2 .splide__slide.is-visible .testimonial-person,
.testimonials-v2 .splide__slide.is-visible .testimonial-photo,
.testimonials-v2 .splide__slide.is-visible .testimonial-pos,
.testimonials-v2 .splide__slide.is-visible .testimonial-text {
  opacity: 1;
}
.testimonials-v2 .testimonial-slide::after {
  content: "";
  border-radius: 12px;
  height: 100%;
  width: 100%;
  left: 0;
  top: 0;
  display: flex;
  pointer-events: none;
  background: 0 0;
  border: 1px solid #7f73ca;
  position: absolute;
  filter: drop-shadow(4px 4px 2px rgba(39, 35, 101, 0.4));
}
.testimonials-v2 .testimonial-slide {
  text-align: center;
  padding: 50px 40px;
  position: relative;
  background: #432dd005;
  backdrop-filter: blur(7px);
  -webkit-backdrop-filter: blur(7px);
  display: flex;
  flex-direction: column;
  gap: 30px;
  height: 100%;
}
.testimonials-v2 .testimonial-text {
  font-size: 26px;
  line-height: 36px;
  text-align: center;
}
.testimonials-v2 .testimonial-person {
  margin-top: auto;
  font-size: 18px;
  margin-bottom: 20px;
}
.testimonials-v2 .testimonial-name {
  font-weight: 700;
}

.testimonials-v2 .testimonial-photo {
  z-index: 5;
  position: absolute;
  width: 120px;
  height: 120px;
  padding: 10px;
  border-radius: 100%;
  border: 1px solid #272365;
  background: #e5e5ee;
  filter: drop-shadow(4px 4px 2px rgba(39, 35, 101, 0.4));
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 50%);
}

.testimonials-v2 .splide__arrow {
  width: 58px;
  height: 58px;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #C6C4EA;
  background-color: rgb(38 35 101 / 9%);
  backdrop-filter: blur(30px);
  -webkit-backdrop-filter: blur(30px);
  filter: drop-shadow(4px 4px 4px rgba(39, 35, 101, 0.38));
}

.testimonials-v2 .splide__arrow svg {
  display: none;
}

.testimonials-v2 .splide__arrow:after {
  content: url('../../public/images/arrow-circle-v2.svg');
  min-width: 32px;
  max-width: 32px;
  min-height: 32px;
  max-height: 32px;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.testimonials-v2 .splide__arrow--prev {
  left: -82px;
}

.testimonials-v2 .splide__arrow--prev:after {
  transform: rotate(180deg);
}

.testimonials-v2 .splide__arrow--next {
  right: -82px;
}
.testimonial-photo img {
  border-radius: 50%;
  object-fit: contain;
}
.testimonials-v2 .splide__progress {
  position: absolute;
  width: 100%;
  height: 6px;
  top: 1px;
  left: 1px;
  pointer-events: none;
  background: rgba(67, 45, 208, 0.4);
  border-top-left-radius: 20px;
  border-top-right-radius: 20px;
  overflow: hidden;
}
.testimonials-v2 .splide__progress__bar {
  width: 0;
  height: 100%;
  background: #432dd0;
  transition: width 0.3s;
}

@media screen and (max-width: 1333px) {
  .testimonials-v2 .splide__arrow--prev {
    left: unset
  }
  .testimonials-v2 .splide__arrow--next {
    right: 0;
  }
}
@media screen and (min-width: 993px) {
  .testimonials-v2 .splide__track {
    -webkit-mask-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 10%,
      rgba(0, 0, 0, 1) 20%,
      rgba(0, 0, 0, 1) 80%,
      rgba(0, 0, 0, 0) 90%,
      rgba(0, 0, 0, 0) 100%
    );
    mask-image: linear-gradient(
      to right,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0) 10%,
      rgba(0, 0, 0, 1) 15%,
      rgba(0, 0, 0, 1) 85%,
      rgba(0, 0, 0, 0) 90%,
      rgba(0, 0, 0, 0) 100%
    );
  }
}

p.testimonial-text, p.testimonial-person, .testimonial-pos {
  color: #2A1C4A;
}
