.testimonial-slider {
  overflow: hidden;
}

.testimonial-slider .testimonial-custom-arrows {
  max-width: 775px;
  width: 100%;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}

.testimonial-slider .testimonial-custom-arrows .slick-arrow {
  position: relative;
  display: inline-flex;
  gap: 10px;
  align-items: center;
  text-decoration: none;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 150%;
  color: #021859;
  padding-bottom: 10px;
  border-bottom: 1px solid #021859;
}

.testimonial-slider .testimonial-custom-arrows .slick-arrow:before {
  position: relative;
  content: "";
  width: 24px;
  height: 24px;
  background: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg' width='24' height='25' viewBox='0 0 24 25' fill='none' stroke='%23021859'%3E%3Cpath d='M4.25 12.2266L19.25 12.2266' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10.2998 6.20198L4.2498 12.226L10.2998 18.251' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
}

.testimonial-slider .testimonial-custom-arrows .slick-arrow:hover:before {
  background: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg' width='24' height='25' viewBox='0 0 24 25' fill='none' stroke='%23757575'%3E%3Cpath d='M4.25 12.2266L19.25 12.2266' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3Cpath d='M10.2998 6.20198L4.2498 12.226L10.2998 18.251' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
}

.testimonial-slider .testimonial-custom-arrows .slick-arrow.slick-next {
  flex-direction: row-reverse;
}

.testimonial-slider .testimonial-custom-arrows .slick-arrow.slick-next:before {
  transform: rotate(180deg);
  -webkit-transform: rotate(180deg);
  -moz-transform: rotate(180deg);
  -ms-transform: rotate(180deg);
  -o-transform: rotate(180deg);
}

.testimonial-slider .testimonial-custom-arrows .slick-arrow:hover {
  color: #757575;
  border-color: #757575;
}

.testimonial-carousel {
  opacity: 0;
}

.testimonial-carousel.slick-initialized {
  opacity: 1;
}

.testimonial-carousel .slick-track {
  display: flex !important;
  justify-content: center;
}

.testimonial-carousel .slick-list {
  margin: 0 -25px;
  padding: 0 585px;
}

.testimonial-carousel .slick-slide {
  height: inherit;
}

.testimonial-carousel .testimonial-item {
  padding: 0 25px;
  height: inherit;
}

.testimonial-carousel .testimonial-block {
  height: calc(100% - 30px);
  margin-bottom: 30px;
  padding: 80px 50px;
  background: #ffffff;
}

.testimonial-carousel .slick-slide.slick-current .testimonial-block {
  background: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' width='746' height='436' viewBox='0 0 746 436' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0C290.195 42.5499 453.521 42.4449 746 0V436C456.781 395.276 293.481 394.604 0 436V0Z' fill='url(%23paint0_linear_2082_363)'/%3E%3Cdefs%3E%3ClinearGradient id='paint0_linear_2082_363' x1='0' y1='0' x2='362.966' y2='640.355' gradientUnits='userSpaceOnUse'%3E%3Cstop stop-color='%23021859'/%3E%3Cstop offset='1' stop-color='%2338C2E9'/%3E%3C/linearGradient%3E%3C/defs%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
}

.testimonial-carousel .testimonial-main-detail {
  position: relative;
  z-index: 9;
  padding: 75px 0 0;
  text-align: center;
  display: flex;
  flex-direction: column;
  height: 100%;
  row-gap: 20px;
}

.testimonial-carousel .testimonial-main-detail p {
  margin-top: 0;
}

.testimonial-carousel .testimonial-main-detail:before {
  position: absolute;
  content: "";
  left: 50%;
  top: 0;
  width: 160px;
  height: 116px;
  background: url("data:image/svg+xml,%3Csvg preserveAspectRatio='none' xmlns='http://www.w3.org/2000/svg' width='160' height='116' viewBox='0 0 160 116' fill='none'%3E%3Cg opacity='0.1'%3E%3Cpath d='M70 74V0H0V72.5H47C50 72.5 49 77 48 78L19 107L28 116L70 74Z' fill='%23021859'/%3E%3Cpath d='M160 74V0H90V72.5H137C140 72.5 139 77 138 78L109 107L118 116L160 74Z' fill='%23021859'/%3E%3C/g%3E%3C/svg%3E") no-repeat;
  background-size: 100% 100%;
  background-position: center center;
  transform: translate(-50%, 0);
  -webkit-transform: translate(-50%, 0);
  -moz-transform: translate(-50%, 0);
  -ms-transform: translate(-50%, 0);
  -o-transform: translate(-50%, 0);
}

.testimonial-carousel .testimonial-main-detail .testimonial-detail {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 24px;
  line-height: 34px;
  color: rgba(2, 24, 89, 0.65);
  display: flex;
  flex-direction: column;
  justify-content: center;
  height: 100%;
}

.testimonial-carousel .slick-slide.slick-current .testimonial-block .testimonial-detail {
  color: #ffffff;
}

.testimonial-carousel .testimonial-main-detail .testimonial-detail *:last-child {
  margin-bottom: 0;
}

.testimonial-carousel .testimonial-main-detail .client-name {
  font-family: "Jost", sans-serif;
  font-weight: 400;
  font-size: 20px;
  line-height: 150%;
  color: #757575;
  /* margin-top: 65px; */
  margin-top: auto;
}

.testimonial-carousel .slick-slide.slick-current .testimonial-block .testimonial-main-detail .client-name {
  color: #ffffff;
}

.testimonial-carousel .testimonial-main-detail .client-name *:last-child {
  margin-bottom: 0;
}

.testimonial-carousel .testimonial-main-detail .client-name span {
  display: block;
  font-family: "Jost", sans-serif;
  font-weight: 500;
  font-size: 30px;
  line-height: 150%;
  color: rgba(2, 24, 89, 0.65);
}

.testimonial-carousel .slick-slide.slick-current .testimonial-block .testimonial-main-detail .client-name span {
  color: #ffffff;
}

/* .testimonial-block .detail p {
  display: -webkit-box;
  -webkit-line-clamp: 4;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.testimonial-block .detail p.expanded {
  display: block !important;
  -webkit-line-clamp: initial !important;
  overflow: visible !important;
}

.read-more {
  cursor: pointer;
  color: rgba(2, 24, 89, 0.65);
  border-bottom: 1px solid rgba(2, 24, 89, 0.65);
  background: none;
  padding: 0;
  transition: 0.4s;
  font-size: 17px !important;
  line-height: 20px !important;
  -webkit-transition: 0.4s;
  -moz-transition: 0.4s;
  -ms-transition: 0.4s;
  -o-transition: 0.4s;
  min-height: unset;
}

.read-more:hover,
.read-more:focus,
.read-more:active {
  background: transparent;
  color: #ffffff !important;
} */
.testimonial-item.slick-active .read-more {
  color: #fff;
  border-bottom: 1px solid #fff;
}

@media (min-width: 1800px) and (max-width: 1899px) {
  .testimonial-carousel .slick-list {
    padding: 0 550px;
  }
}

@media (min-width: 1700px) and (max-width: 1799px) {
  .testimonial-carousel .slick-list {
    padding: 0 500px;
  }
}

@media (min-width: 1600px) and (max-width: 1699px) {
  .testimonial-carousel .slick-list {
    padding: 0 450px;
  }
}

@media (min-width: 1500px) and (max-width: 1599px) {
  .testimonial-carousel .slick-list {
    padding: 0 400px;
  }
}

@media (min-width: 1400px) and (max-width: 1499px) {
  .testimonial-carousel .slick-list {
    padding: 0 350px;
  }
}

@media (min-width: 1300px) and (max-width: 1399px) {
  .testimonial-carousel .slick-list {
    padding: 0 300px;
  }

  .testimonial-carousel .testimonial-main-detail {
    padding-top: 50px;
  }

  .testimonial-carousel .testimonial-main-detail:before {
    width: 100px;
    height: 90px;
  }

  .testimonial-carousel .testimonial-main-detail .testimonial-detail {
    font-size: 22px;
    line-height: 32px;
  }

  .testimonial-carousel .testimonial-main-detail .client-name {
    margin-top: 30px;
    font-size: 18px;
  }

  .testimonial-carousel .testimonial-main-detail .client-name span {
    font-size: 25px;
  }

  .testimonial-slider .testimonial-custom-arrows .slick-arrow {
    font-size: 25px;
  }
}

@media (min-width: 1200px) and (max-width: 1299px) {
  .testimonial-carousel .slick-list {
    padding: 0 300px;
  }

  .testimonial-carousel .testimonial-main-detail {
    padding-top: 50px;
  }

  .testimonial-carousel .testimonial-main-detail:before {
    width: 100px;
    height: 90px;
  }

  .testimonial-carousel .testimonial-main-detail .testimonial-detail {
    font-size: 20px;
    line-height: 30px;
  }

  .testimonial-carousel .testimonial-main-detail .client-name {
    margin-top: 30px;
    font-size: 18px;
  }

  .testimonial-carousel .testimonial-main-detail .client-name span {
    font-size: 25px;
  }

  .testimonial-slider .testimonial-custom-arrows .slick-arrow {
    font-size: 25px;
  }

  .testimonial-carousel .testimonial-block {
    padding: 60px 50px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .testimonial-carousel .slick-list {
    padding: 0 225px;
    margin: 0 -15px;
  }

  .testimonial-carousel .slick-slide {
    padding: 0 15px;
  }

  .testimonial-carousel .testimonial-block {
    padding: 80px 30px;
  }

  .testimonial-carousel .testimonial-main-detail {
    padding-top: 35px;
  }

  .testimonial-carousel .testimonial-main-detail:before {
    width: 90px;
    height: 70px;
  }

  .testimonial-carousel .testimonial-main-detail .testimonial-detail {
    font-size: 20px;
    line-height: 30px;
  }

  .testimonial-carousel .testimonial-main-detail .client-name {
    font-size: 18px;
  }

  .testimonial-carousel .testimonial-main-detail .client-name span {
    font-size: 25px;
  }

  .testimonial-slider .testimonial-custom-arrows .slick-arrow {
    font-size: 25px;
  }
}

@media (min-width: 768px) and (max-width: 991px) {
  .testimonial-carousel .slick-list {
    padding: 0 150px;
    margin: 0 -15px;
  }

  .testimonial-carousel .slick-slide {
    padding: 0 15px;
  }

  .testimonial-carousel .testimonial-block {
    padding: 68px 30px;
  }

  .testimonial-carousel .testimonial-main-detail {
    padding-top: 35px;
  }

  .testimonial-carousel .testimonial-main-detail:before {
    width: 90px;
    height: 70px;
  }

  .testimonial-carousel .testimonial-main-detail .testimonial-detail {
    font-size: 20px;
    line-height: 30px;
  }

  .testimonial-carousel .testimonial-main-detail .client-name {
    font-size: 18px;
  }

  .testimonial-carousel .testimonial-main-detail .client-name span {
    font-size: 22px;
  }

  .testimonial-slider .testimonial-custom-arrows .slick-arrow {
    font-size: 22px;
  }
}

@media (max-width: 767px) {
  .testimonial-carousel .slick-list {
    padding: 0 100px;
    margin: 0 -10px;
  }

  .testimonial-carousel .slick-slide {
    padding: 0 10px;
  }

  .testimonial-carousel .testimonial-block {
    padding: 48px 15px 56px;
  }

  .testimonial-carousel .testimonial-main-detail {
    padding-top: 35px;
  }

  .testimonial-carousel .testimonial-main-detail:before {
    width: 70px;
    height: 50px;
  }

  .testimonial-carousel .testimonial-main-detail .testimonial-detail {
    font-size: 18px;
    line-height: 25px;
  }

  .testimonial-carousel .testimonial-main-detail .client-name {
    font-size: 16px;
    line-height: 18px;
  }

  .testimonial-carousel .testimonial-main-detail .client-name span {
    font-size: 18px;
  }

  .testimonial-slider .testimonial-custom-arrows .slick-arrow {
    font-size: 18px;
  }

  .read-more {
    font-size: 16px !important;
    line-height: 20px !important;
  }
}

@media (max-width: 575px) {
  .testimonial-carousel .slick-list {
    padding: 0 30px;
  }

  .testimonial-carousel .testimonial-main-detail .testimonial-detail {
    font-size: 17px;
    line-height: 25px;
  }
}