section#testimonial-carousel {
  padding: 96px 20px;
  background-color: #fff !important;
  position: relative;
}

section#testimonial-carousel .container {
  width: 100%;
}

#testimonial-carousel h2 {
  font-family: "Univers LT Std" !important;
  font-weight: 400 !important;
  font-size: 45px !important;
  line-height: 62px !important;
  letter-spacing: 0.26px;
  text-align: center;
  color: #414141;
  margin-bottom: 56px;
}

.review-card {
  padding: 32px;
  border: 1px solid #e6eef5;
  background: #f6fafc;
  box-shadow:
    0px 1px 2px -1px #0000001a,
    0px 1px 3px 0px #0000001a;
  border-radius: 12px;
}

.review-content p.review {
  margin-top: 28px;
  margin-bottom: 16px;
  font-family: "Univers LT Std" !important;
  font-weight: 300 !important;
  font-size: 22px !important;
  line-height: 41px !important;
  letter-spacing: 0.4px;
  color: #414141;
}

.client-data-info {
  padding-top: 32px;
  border-top: 1px solid #c4ccd2;
  display: flex;
  gap: 20px;
  justify-content: space-between;
  align-items: center;
}

.client-data p {
  margin-bottom: 0px;
}

.client-info {
  display: flex;
  align-items: flex-start;
  gap: 16px;
}

.initial_name {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(126.49deg, #08a7b2 -0.61%, #027aac 71.26%);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Univers LT Std" !important;
  font-weight: 400 !important;
  font-size: 20px !important;
  line-height: 28px !important;
  letter-spacing: -0.45px;
  color: #fff;
  min-width: 64px;
}

.initial_name span {
  padding-top: 4px;
}

.client-data {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.client-data .name {
  font-family: "Univers LT Std" !important;
  font-weight: 400 !important;
  font-size: 18px !important;
  line-height: 28px !important;
  letter-spacing: -0.44px;
  color: #414141;
}

.client-data p.designation {
  font-family: "Univers LT Std" !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  letter-spacing: -0.31px;
  color: #414141;
}

.client-data p.c-name {
  font-family: "Univers LT Std" !important;
  font-weight: 400 !important;
  font-size: 16px !important;
  line-height: 24px !important;
  letter-spacing: -0.31px;
  color: #0069aa;
}

#testimonial-carousel .review-content img.icon {
  margin: unset;
  opacity: 60%;
}

.slick-dots li button:before {
  background-color: #0069aa !important;
}

.slick-dots li.slick-active button:before {
  opacity: 0.75 !important;
}

.slick-dots li button:before {
  content: "" !important;
}

#testimonial-carousel .slick-dotted.slick-slider {
  margin-bottom: 0px;
}

.slick-dots li,
.slick-dots li button,
.slick-dots li button:before {
  width: 12px !important;
  height: 12px !important;
  border-radius: 50%;
}

.slick-dots li.slick-active,
.slick-dots li.slick-active button,
.slick-dots li.slick-active button:before {
  width: 32px !important;
  height: 12px !important;
  border-radius: 20px;
}

ul.slick-dots {
  bottom: 0px !important;
}
/***Equal height*******/

/* Slick ko flex banao */
.testimonial-carousel .inner-carousel {
  mask-image: linear-gradient(
    to right,
    transparent,
    black 5%,
    black 95%,
    transparent
  );
}

.client-testimonial .slick-list.draggable {
  margin-bottom: 32px;
}

.client-testimonial ul.slick-dots {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  left: 0;
  z-index: 333;
  position: relative;
}

.company-logo {
  height: 40px;
  width: 140px;
}

.company-logo img {
  width: 100%;
}

.client-testimonial .slick-track {
  display: flex !important;
  align-items: stretch;
}

.review-card.slick-slide {
  transform: scale(0.9);
}

.review-card.slick-slide.slick-current.slick-active.slick-center {
  transform: scale(1);
}

.testimonial-carousel .slick-prev:before {
  content: url(/wp-content/themes/modeln/bespoke/images/arrow.png);
  width: 56px;
  height: 56px;
  display: block;
  position: relative;
}

.testimonial-carousel .slick-next:before {
  content: url(/wp-content/themes/modeln/bespoke/images/arrow.png);
  width: 56px;
  height: 56px;
  display: block;
  position: relative;
  transform: rotate(180deg);
}

/* Slide auto height */
.client-testimonial .slick-slide {
  height: auto !important;
}

.client-testimonial .slick-prev,
.client-testimonial .slick-next {
  width: 56px;
  height: 56px;
}

.client-testimonial .slick-prev {
  left: 70px;
  z-index: 2;
}

.client-testimonial .slick-next {
  right: 70px;
  z-index: 2;
}

/* Actual card */
.client-testimonial .review-card {
  height: 100%;
  display: flex !important;
  flex-direction: column;
}

/* Review content grow kare */
.client-testimonial .review-content {
  flex: 1;
}

/* Client info bottom pe stick rahe */
.client-testimonial .client-data-info {
  margin-top: auto;
}

@media (max-width: 767px) {
  .client-testimonial .slick-track {
    gap: 20px;
  }
}

.review .read-more-btn {
  background: none;
  border: none;
  color: #0069aa;
  font-weight: 500;
  cursor: pointer;
  padding-left: 5px;
}

/* Modal */
.review-modal {
  display: none;
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 90%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.review-modal-content {
  background: #fff;
  padding: 24px;
  max-width: 600px;
  width: 90%;
  margin: 10% auto;
  border-radius: 12px;
  position: relative;
}

span.review-close-modal {
  position: absolute;
  right: 14px;
  top: 14px;
  font-size: 20px;
  z-index: 2;
  cursor: pointer;
}

.review-modal-content p {
  font-size: 16px !important;
  font-family: "Univers LT Std" !important;
}

.review-close-modal {
  position: absolute;
  right: 16px;
  top: 12px;
  font-size: 24px;
  cursor: pointer;
}

.review-modal.active {
  display: flex !important;
}

/* Default (Desktop) */
.review .short-text,
.review .dots,
.review .read-more-btn {
  display: none;
}

.review .full-text {
  display: inline;
}

/* Mobile only */
@media (max-width: 767px) {
  .review .full-text {
    display: none;
  }

  .review .short-text,
  .review .dots,
  .review .read-more-btn {
    display: inline;
  }

  section#testimonial-carousel {
    padding: 40px 20px;
  }

  #testimonial-carousel h2 {
    font-size: 24px !important;
    line-height: 32px !important;
    margin-bottom: 33px;
  }

  .review-content p.review {
    font-size: 14px !important;
    line-height: 26px !important;
  }

  .client-data .name {
    font-size: 14px !important;
    line-height: 24px !important;
  }

  .client-data p.designation,
  .client-data p.c-name {
    font-size: 12px !important;
    line-height: 18px !important;
  }

  .company-logo {
    width: 64px;
  }

  .company-logo img {
    width: 100%;
  }

  .client-data-info {
    align-items: end;
    gap: 12px;
  }

  .review-card {
    padding: 24px;
  }

  .initial_name {
    min-width: 56px;
    width: 56px;
    height: 56px;
    font-size: 16px !important;
    line-height: 24px !important;
  }
}
