/* Testimonials Section - Team Page */
.testimonials {
  padding: 0px 0px 80px 0px;
  width: 100%;
  /* background-color: var(--color-bg-base); */
}

.testimonials__container {
  width: 100%;
  margin: 0 auto;
}

@media (min-width: 2000px) {
  .testimonials__container {
    max-width: 1800px;
    margin: 0 auto;
  }
}

.testimonials__header {
  text-align: center;
  margin-bottom: 40px;
  padding: 0 20px;
}

.testimonials__title {
  font-family: var(--font-family);
  font-size: 3rem;
  line-height: 120%;
  color: var(--color-heading);
  margin-bottom: 8px;
}

.testimonials__subtitle {
  font-family: var(--font-family);
  font-size: 1rem;
  color: var(--color-text-secondary-100);
  line-height: 165%;
}

/* Testimonial Card */
.testimonial-card {
  background-color: #f7f5f1;
  border-radius: 20px;
  padding: 32px 28px;
  /* box-shadow: 0 16px 32px rgba(18, 18, 18, 0.05); */
  display: flex;
  flex-direction: column;
  width: 100%;
  height: auto;
  transform: translateZ(0);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  will-change: transform;
}

.testimonial-card:hover {
  cursor: pointer;
}

@media (min-width: 769px) {
  .testimonial-card {
    width: 100%;
    height: auto;
  }
}

.testimonial-card__stars {
  display: flex;
  gap: 4px;
  margin-bottom: 20px;
}

.testimonial-card__quote {
  font-family: var(--font-family);
  font-size: var(--font-size-b1-desktop);
  line-height: 165%;
  color: var(--color-text-secondary-100);
  margin-bottom: 18px;
  flex: 1;
}

.testimonial-card__author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-card__avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card__name {
  font-family: var(--font-family);
  font-size: var(--font-size-b1-desktop);
  font-weight: var(--font-weight-semibold);
  color: var(--color-heading);
}

/* Testimonials Swiper */
.testimonials-swiper {
  width: 100%;
  padding-bottom: 20px;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  will-change: transform;
}

@media (min-width: 769px) {
  .testimonials-swiper {
    padding-left: 40px;
    padding-right: 40px;
  }
}

@media (max-width: 768px) {
  .testimonials-swiper {
    padding-left: 0;
    padding-right: 0;
  }
}

.testimonials-swiper-wrapper {
  display: flex;
  transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
  will-change: transform;
  -webkit-transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.testimonials-swiper-slide {
  width: 85%;
  flex-shrink: 0;
  height: auto;
  transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
  transform: translateZ(0);
  -webkit-transition: transform 1s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

@media (min-width: 769px) {
  .testimonials-swiper-slide {
    width: auto;
    height: auto;
    flex-shrink: 0;
  }
}

@media (max-width: 480px) {
  .testimonials-swiper-slide {
    width: 90%;
  }
}

/* Responsive Styles */
@media (max-width: 1024px) {
  .testimonials {
    padding: 0px 0 40px 0;
  }

  .testimonials__header {
    padding: 0 24px;
  }
}

@media (max-width: 768px) {
  .testimonials {
    padding: 0px 24px 40px 24px;
  }

  .testimonials__header {
    padding: 0 0;
    margin-bottom: 32px;
  }

  .testimonials__title {
    /* font-size: 1.75rem; */
    /* max-width: 288px; */
    margin: 0 auto;
    line-height: 130%;
    margin-bottom: 8px;
  }

  .testimonials__subtitle {
    /* font-size: 0.75rem; */
    /* max-width: 247px; */
    margin: 0 auto;
    line-height: 150%;
  }

  .testimonial-card {
    padding: 28px 24px;
  }

  .testimonial-card__quote {
    font-size: var(--font-size-b1-mobile);
  }

  .testimonial-card__name {
    font-size: var(--font-size-b1-mobile);
  }
}

@media (max-width: 480px) {
  .testimonials {
    padding: 0px 24px 40px 24px;
  }

  .testimonials__header {
    padding: 0 0;
    margin-bottom: 20px;
  }

  .testimonial-card {
    padding: 24px 20px;
  }

  .testimonials__title {
    font-size: 1.75rem;
    max-width: 288px;
    line-height: 130%;
  }

  .testimonials__subtitle {
    font-size: 12px;
    max-width: 247px;
  }
}
