.reviews-section {
  width: 100%;
  overflow: hidden;
  padding: 48px 0;
}

.reviews-swiper {
  width: 100%;
  overflow: hidden;
  padding: 18px 0;
}

.reviews-section .swiper-wrapper {
  align-items: stretch;
}

.reviews-section .swiper-slide {
  height: auto;
  display: flex;
}

.reviews-section .testimonial-card {
  width: 100%;
  min-height: 430px;
  background-color: #f9f9f9;
  border: 1px solid rgba(0, 0, 0, .05);
  border-radius: 24px;
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.06);
  position: relative;
  overflow: hidden;
  transition: background .35s ease, box-shadow .35s ease, color .35s ease, transform .35s ease;
}

.reviews-section .testimonial-card:hover {
  background: linear-gradient(310deg, #deb329, #368846);
  color: #fff;
  box-shadow: 0 20px 48px rgba(54, 136, 70, .25);
  transform: translateY(-6px);
}

.reviews-section .reviews-swiper .swiper-wrapper {
  transition-timing-function: linear;
}

.reviews-section .star-rating .star {
  font-size: 1.25rem;
  margin-right: 2px;
}

.reviews-section .star-rating .star.filled {
  color: #e2d106;
}

.reviews-section .star-rating .star.empty {
  color: #e0e0e0;
}

.reviews-section .testimonial-card:hover .star.empty {
  color: rgba(255, 255, 255, .55);
}

.reviews-section .testimonial-text {
  font-size: 15px;
  line-height: 1.55;
  color: #333;
}

.reviews-section .testimonial-card:hover .testimonial-text,
.reviews-section .testimonial-card:hover .user-name,
.reviews-section .testimonial-card:hover .user-role {
  color: #fff;
}

.reviews-section .user-name {
  color: #ef0000;
  font-weight: 700;
  font-size: 1.1rem;
}

.reviews-section .user-role {
  color: #757575;
  font-size: 0.85rem;
}

.reviews-section .avatar-wrapper {
  width: 86px;
  height: 86px;
  border-radius: 50%;
  overflow: hidden;
  border: 4px solid #f70202;
  flex-shrink: 0;
  transition: border-color .45s ease;
}

.reviews-section .testimonial-card:hover .avatar-wrapper {
  border-color: #fff;
}

.reviews-section .avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.reviews-section .quote-icon {
  position: absolute;
  right: 0;
  bottom: 10px;
  width: 58px;
  filter: brightness(54%);
  transition: filter .45s ease, opacity .45s ease;
}

.reviews-section .testimonial-card:hover .quote-icon {
  filter: brightness(0) invert(1) opacity(.9);
}

@media screen and (max-width: 992px) {
  .reviews-section {
    overflow: hidden;
  }

  .reviews-section .testimonial-card {
    min-height: 360px;
  }
}

@media (max-width: 767px) {
  .reviews-section {
    padding: 36px 0;
  }

  .reviews-section .testimonial-card {
    min-height: auto;
  }

  .reviews-section .avatar-wrapper {
    width: 68px;
    height: 68px;
  }

  .reviews-section .quote-icon {
    width: 44px;
    bottom: 0;
  }
}
