.testimonials {
  padding: 96px 0;
}

.testimonials.bg-blue {
  background-color: var(--secondary-color);
}
.testimonials.bg-blue .testimonials-intro h2,
.testimonials.bg-blue .testimonials-intro p {
  color: var(--text-color-light);
}
.testimonials.bg-blue .testimonial-card {
  background-color: var(--background-color);
}
.testimonials.bg-blue .quote,
.testimonials.bg-blue .author-name,
.testimonials.bg-blue .author-title {
  color: var(--secondary-color);
}

.testimonials.bg-white {
  background-color: var(--background-color);
}
.testimonials.bg-white .testimonials-intro h2,
.testimonials.bg-white .testimonials-intro p {
  color: var(--text-color);
}
.testimonials.bg-white .testimonial-card {
  background-color: var(--secondary-color);
}
.testimonials.bg-white .quote,
.testimonials.bg-white .author-name,
.testimonials.bg-white .author-title {
  color: var(--text-color-light);
}

.testimonials-intro {
  text-align: center;
  max-width: 1000px;
  margin: 0 auto 64px auto;
}
.testimonials-intro p {
  color: var(--text-color);
}

.global-testimonial-swiper {
  overflow: hidden;
}
.global-testimonial-swiper .swiper-wrapper {
  display: flex;
  flex-wrap: nowrap !important;
}
.global-testimonial-swiper .swiper-slide {
  width: 100%;
  height: auto;
}

.testimonial-card {
  background-color: var(--background-color);
  border: 1px solid var(--primary-color);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.07);
  border-radius: 12px;
  padding: 32px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-height: 0;
}

.testimonial-card .read-more {
  display: none !important;
}

.quote {
  color: var(--text-color);
  margin: 0;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  text-align: left;
  flex-wrap: wrap;
}
.quote .quote-text {
  display: inline;
}

.read-more-inline {
  margin-left: 6px;
  background: transparent;
  border: 0;
  color: var(--primary-color);
  font-weight: 600;
  cursor: pointer;
  padding: 0;
  text-decoration: none;
}

.author-info {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
  padding-top: 24px;
  margin-top: auto;
}
.author-info::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: var(--primary-color);
}

.author-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  overflow: hidden;
  background-color: var(--secondary-color-light);
  display: flex;
  align-items: center;
  justify-content: center;
}
.author-avatar img {
  max-width: 100%;
  max-height: 100%;
  object-fit: cover;
}

.author-details {
  display: flex;
  flex-direction: column;
}
.author-name {
  color: var(--secondary-color);
}
.author-title {
  color: var(--accent-color);
}

.testimonial-dots {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}
.testimonial-dots .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background-color: var(--accent-color);
  opacity: 0.5;
}
.testimonial-dots .swiper-pagination-bullet-active {
  background-color: var(--primary-color);
  opacity: 1;
}

.swiper-pagination {
  position: inherit !important;
}

.testimonials-cta {
  text-align: center;
  margin-top: 40px;
}

@media (min-width: 900px) {
  .global-testimonial-swiper .swiper-slide {
    width: 50%;
  }
}
