.testimonial-slider-section {
  padding: 80px 0;
  background-color: #ffffff;
  color: #222222;
}

.testimonial-slider-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
  gap: 20px;
  margin: auto;
}

.testimonial-slider-title {
  font-family: "playfair display", serif;
  font-weight: 700;
  font-size: 54px;
  line-height: 55.6px;
  letter-spacing: 0%;
  text-align: center;
  color: rgba(34, 34, 34, 1);
  margin: 0px;
  margin-bottom: 65px;


}

.testimonial-slider-nav {
  display: flex;
  gap: 30px;
  margin-left: auto;
  flex-direction: column;
  min-width: 54px;
  align-items: center;
  justify-content: center;
  padding-top: 6px;

}

.testimonial-nav-btn {
  width: 38px;
  height: 38px;
  border: 2px solid rgba(32, 32, 44, 0.2);
  background: transparent;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  transform: rotate(45deg);
  padding: 10px;
}

.testimonial-nav-btn svg {
  transform: rotate(-45deg);
}

.testimonial-nav-btn:hover {
  background: rgba(0, 0, 0, 0.05);
  border-color: rgba(0, 0, 0, 0.4);
}

.testimonial-nav-btn:disabled {
  opacity: 0.3;
  cursor: not-allowed;
}

.testimonial-slider-wrapper {
  overflow: hidden;
  margin: 0 auto;
  max-width: 1115px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;
}

.testimonial-slider .swiper-wrapper {
  display: flex;
}

.testimonial-slide {
  height: auto;
}

.testimonial-card {
  background: #fff;
  padding: 0px;
  border-radius: 0;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: row;
  gap: 24px;
  justify-content: flex-start;
  min-height: 400px;
  max-width: 915px;
  align-items: flex-start;
}

.quote-icon {
  color: #000;
  margin-bottom: 30px;
  display: flex;
  justify-content: center;
}

.testimonial-text {
  font-weight: 300;
  font-size: 23.9px;
  line-height: 33.47px;
  margin: 0 0 45px 0;
  text-align: left;
  color: rgba(34, 34, 34, 1);

}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 24px;
  margin-top: auto;
}

.author-logo {
  width: 66px;
  height: 66px;
  object-fit: contain;
  border-radius: 50%;
  background: #4169E1;
}

.author-info {
  text-align: left;
}

.author-name {
  font-weight: 700;
  font-size: 18px;
  line-height: 25.2px;
  letter-spacing: 0%;
  vertical-align: middle;
  margin-bottom: 5px;
  color: rgba(34, 34, 34, 1);

}

.author-company {
  font-weight: 400;
  font-size: 16px;
  line-height: 22.4px;
  letter-spacing: 0%;
  color: rgba(34, 34, 34, 1);


}

@media (max-width: 991.98px) {
  .testimonial-slider-title {
    max-width: 535px;
  }
}

@media (max-width: 767.98px) {
  .testimonial-slider-section {
    padding: 50px 0;
  }

  .testimonial-slider-title {
    font-size: 35px;
    line-height: 36px;
    text-align: center;
    margin-bottom: 45px;
  }

  .testimonial-nav-btn {
    padding: 8px;
  }

  .quote-icon {
    margin-bottom: 15px;
  }

  .testimonial-slider-header {
    flex-direction: column;
    align-items: flex-start;
  }

  .testimonial-slider-nav {
    margin-left: 0;
  }

  .testimonial-card {
    min-height: auto;
    flex-direction: column;
  }
.testimonial-slider-wrapper {
    overflow: visible;
}
  .testimonial-text {
    font-size: 16px;
    line-height: 22px;
    margin: 0 0 25px 0;

  }

  .testimonial-author {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 14px;
    margin-top: auto;
  }

  .author-logo {
    width: 48px;
    height: 48px;
  }

  .author-name {
    font-size: 16px;
    line-height: 22.2px;
    margin-bottom: 0px;
  }

  .testimonial-slider-wrapper {
    gap: 0px;
    flex-direction: column;
    display: block;
  }

  .testimonial-slider-nav {
    display: flex;
    gap: 20px;
    margin-left: auto;
    flex-direction: row;
    min-width: 48px;
    align-items: center;
    justify-content: center;
    padding: 6px;
    max-width: fit-content;
    margin-left: auto !important;
    position: relative;
    z-index: 999;
    margin-top: -55px;
    background: #ffffff;
    border-radius: 5px;
  }
}