.testimonial-card {
  background-color: #2a2a2a;
  border-radius: 0px;
  padding: 60px 30px 40px;
  max-width: 400px;
  margin: 0 auto;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  height: 100%;
}

.testimonial-card__quote-icon {
  position: absolute;
  top: -15px;
  left: 30px;
  display: flex;
  gap: 8px;
}

.testimonial-card__avatar {
  width: 87px;
  height: 87px;
  border-radius: 50%;
  margin: -40px auto 20px;
  border: 7px solid #282828;
  overflow: hidden;
  position: relative;
  z-index: 2;
  top: -30px;
  margin-bottom: -20px;
}

.testimonial-card__avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.testimonial-card__name {
  color: #ffffff;
  font-size: 32px;
  font-weight: 500;
  margin-bottom: 0px;
}

.testimonial-card__time {
  color: #848484;
  font-size: 16px;
  margin: 0 0 24px 0;
  border-bottom: solid 1px #373737;
  padding-bottom: 24px;
  width: 100%;
}

.testimonial-card__rating {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3px;
  margin-bottom: 16px;
}

.testimonial-card__star {
  color: #daaa00;
  font-size: 18px;
}

.testimonial-card__star--half {
  color: #daaa00;
  font-size: 18px;
  position: relative;
}

.view-all {
  color: #fd5050 !important;
}

.cmp-rides-revamp-customer-review .swiper-button-next {
  background: black !important;
  border: 1px solid #ffffff1a !important;
}

.cmp-rides-revamp-customer-review .swiper-button-prev {
  background: black !important;
  border: 1px solid #ffffff1a !important;
}

.cmp-rides-revamp-customer-review .swiper-button-next {
  bottom: -81px;
  right: 40px !important;
  top: auto;
}

.testimonial-card__rating-number {
  color: #daaa00;
  font-size: 20px;
  font-weight: 600;
  margin-left: 8px;
  font-family: "GuardianSansXCond Semibold";
}

.testimonial-card__quote {
  color: #a7a7a7;
  font-size: 16px;
  line-height: 1.6;
  margin: 0;
  /* font-style: italic; */
  font-family: Montserrat;
}

.testimonials-header {
  text-align: center;
  margin-bottom: 40px;
}

.testimonials-title {
  color: #ffffff;
  font-size: 32px;
  margin-bottom: 20px;
}

.view-all {
  color: #87ceeb;
  text-decoration: none;
  font-size: 16px;
}

.testimonials-slider {
  padding: 40px 0;
}

.swiper-slide {
  height: auto;
  display: flex;
  align-items: stretch;
}

/* Custom navigation buttons */
.swiper-button-next,
.swiper-button-prev {
  color: #87ceeb;
  background: rgba(42, 42, 42, 0.8);
  border-radius: 50%;
  width: 50px;
  height: 50px;
}

.swiper-button-next:after,
.swiper-button-prev:after {
  font-size: 20px;
}

/* Custom pagination */
.swiper-custom-pagination-button--container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-top: 30px;
}

.desktop {
  display: block;
}

.mobile {
  display: none;
}

.swiper-button-prev-pagination,
.swiper-button-next-pagination {
  background: #666;
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  cursor: pointer;
  color: white;
}

.swiper-button-active {
  background: #87ceeb;
  border-radius: 50%;
  width: 12px;
  height: 12px;
}

/* Loading and error states */
.testimonials-loading {
  text-align: center;
  color: #ffffff;
  font-size: 18px;
  padding: 40px;
}

.testimonials-error {
  text-align: center;
  color: #ff6b6b;
  font-size: 16px;
  padding: 40px;
}

@media screen and (max-width: 780px) {
  .testimonial-card__avatar {
    position: absolute;
    top: 100px;
    right: 20px;
  }
  .view-all-mobile {
    color: #ededed !important;
    padding: 14px !important;
    border: solid 1px #616161 !important;
  }

  .desktop {
    display: none;
  }

  .mobile {
    display: flex;
    margin-right: 0;
  }
}

@media (max-width: 768px) {
  .ride-know-more-banner__title {
    font-size: 24px !important;
  }
  .testimonial-card__name {
    color: #ededed;
    font-weight: 600;
  }
  .cmp-rides-revamp-customer-review .swiper-pagination {
    bottom: -1.5pc !important;
  }
  .cmp-rides-revamp-customer-review
    .testimonials-container
    .testimonials-header
    .testimonials-title {
    text-align: start !important;
  }
  .cmp-rides-revamp-finance-option-banner .ride-know-more-banner__background {
    object-fit: contain !important;
    object-position: center;
    top: -34px !important;
    width: 72px;
  }

  .cmp-rides-revamp-customer-review .testimonials-container {
    padding-bottom: 60pt;
  }

  .testimonial-card__name {
    font-size: 20px;
    letter-spacing: 1px;
    font-family: "GuardianSansXCond Regular";
    text-align: start;
  }
  .testimonial-card__time {
    border-bottom: navajowhite;
    padding-bottom: 8px;
    margin-bottom: 0;
    text-align: start;
    font-size: 12px;
    color: #a7a7a7;
  }
  .testimonial-card__rating-number {
    color: white;
    font-family: "Montserrat";
  }
  .testimonial-card__rating {
    border-bottom: solid 1px #373737;
    padding-bottom: 20px;
    justify-content: start;
  }
  .testimonial-card__quote {
    text-align: start;
    font-size: 12px;
    line-height: 1.6;
  }
  .testimonial-card__time {
    width: 100%;
  }

  .testimonial-card__avatar {
    position: static;
    border: none;
  }

  .cmp-rides-revamp-customer-review .testimonials-container .testimonial-card {
    padding: 60.5px 1pc 1pc;
  }

  .cmp-rides-revamp-customer-review
    .testimonials-container
    .testimonial-card:before {
    top: 24px;
    width: 36px;
    height: 36px;
  }

  .testimonial-content {
    position: relative;
    /* left: -50px; */
    display: flex;
    justify-content: space-between;
    /* gap: 52px; */
    width: 100%;
    margin-top: 20px;
    align-items: center;
  }
}
