.testimonial-slider {
  background-color: rgba(16, 36, 62, 100%);
}

.testimonial-slider .swiper,
.testimonial-slider .slider-wrapper {
  max-width: 1440px;
  margin: 0 auto;
}

.testimonial-slide .slide-wrapper {
  border-radius: 8px;
  position: relative;
  opacity: 0.3;
  padding-left: 30px;
  padding-right: 30px;
}

.testimonial-slide.swiper-slide-active .slide-wrapper {
  opacity: 1;
}

@media only screen and (min-width: 768px) {
  .testimonial-slide .slide-wrapper {
    padding-left: 0;
    padding-right: 0;
  }
  
  .testimonial-slide .slide-wrapper {
    opacity: 0.3;
    transform: scale(0.65);
    transition: all ease-in 0.3s;
  }

  .testimonial-slide.swiper-slide-active .slide-wrapper {
    transform: scale(1);
    opacity: 1;
  }
}

.testimonial-slider .swiper-wrapper {
  padding-top: 120px !important;
  padding-bottom: 120px !important;
}

.slide-content-image {
  position: absolute;
  z-index: 3;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  border: 1px solid
  overflow: clip;
  top: -75px;
  left: 50%;
  transform: translateX(-50%);
  background-color: white;
}

.slide-content-image-wrapper {
  position: absolute;
  border: 4px solid white;
  z-index: 3;
  width: 144px;
  height: 144px;
  border-radius: 50%;
  overflow: clip;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  background: white;
}

.slide-content-image-wrapper img {
  overflow: clip;
  object-fit: contain;
  width: 100%;
  height: 100%;
}

.slide-content-image-shadow {
  position: absolute;
  z-index: 1;
  width: 150px;
  height: 150px;
  border-radius: 50%;
  overflow: clip;
  top: -75px;
  left: 50%;
  transform: translateX(-50%);
  box-shadow: 0px 0px 12px 5px rgba(255,255, 255, 50%);
}

.slide-content-wrapper {
  position: relative;
  z-index: 2;
  border-radius: 8px;
  overflow: clip;
  box-shadow: 0px 0px 12px 5px rgba(255, 255, 255, 50%);
  text-align: center;
}

.slide-content-wrapper__header {
  position: relative;
  padding: 20px 40px;
  padding-top: 100px;
  background-color: rgba(3, 45, 112, 100%);
}

.slide-content-wrapper__header .slide-content-bg-image {
  position: absolute;
  z-index: 1;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.slide-content-wrapper__header .slide-content-bg-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.slide-content-wrapper__header .quote-wrapper {
  position: relative;
  z-index: 3;
}

.slide-content-wrapper .quote {
  color: white;
  font-size: 16px;
  line-height: 26px;
  font-weight: 700;
  margin-bottom: 35px;
}

.slide-content-wrapper .quote.quote-video {
  max-width: 120px;
  width: 100%;
  height: 120px;
  margin: 0 auto;
  margin-bottom: 35px;
  cursor: pointer;
  transition: all ease-in-out 0.2s;
}

.slide-content-wrapper .quote.quote-video:hover {
  opacity: 0.8;
}

.slide-content-wrapper .quote.quote-video img {
  object-fit: contain;
}

.slide-content-wrapper .author {
  color: rgba(255, 182, 0, 100%);
  font-size: 16px;
  line-height: 22px;
  font-weight: 700;
}

.slide-content-wrapper .position {
  color: white;
}

@media (min-width: 992px) {
    .slide-content-wrapper .quote {
        font-size: 28px;
        line-height: 36px;
    }
  
    .slide-content-wrapper .author {
      font-size: 22px;
      line-height: 28px;
    }
}

.slide-content-wrapper .slide-content-wrapper__body {
  padding: 20px 40px;
  background-color: white;
}

.slide-content-wrapper .slide-content-wrapper__body .logo {
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  max-height: 50px;
}

.slide-content-wrapper .slide-content-wrapper__body .logo img {
  object-fit: contain;
  max-height: 50px;
  width: auto;
}

/* slide button */

.swiper-button {
  width: 40px;
  height: 40px;
  background: transparent;
  border-radius: 50%;
  border: none;
  outline: none;
  box-shadow: 0px 0px 4px 2px rgba(255,255, 255, 30%);
  transition: all ease-in-out 0.2s;
}

.swiper-button img {
  display: block;
  object-fit: contain;
}

.swiper-button img.hover {
  display: none;
}

.swiper-button:hover img {
  display: none;
}

.swiper-button:hover img.hover {
  display: block;
}

/* modal */

.quote-modal {
  display: none; /* hidden by default */
  position: fixed;
  width: 100%;
  height: 100%;
  top: 0;
  left. 0;
  inset: 0;
  background: rgba(0,0,0,0.7);
  z-index: 9999;
  padding: 30px;
}


@media (min-width: 768px) {
  .quote-modal__inner {
    max-width: 1080px;
    aspect-ratio: 16 / 9;
    width: 100%;
  }

  .quote-modal iframe {
    max-width: 1080px;
  }
}

.quote-modal.is-open {
  display: flex;
  justify-content: center;
  align-items: center;
}

/* optional: lock scroll when open */
html.modal-open,
html.modal-open body {
  overflow: hidden;
}



