.testimonials {
  position: relative;
  padding: 64px 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.testimonials-overlay {
  position: absolute;
  inset: 0;
  background: rgba(135, 70, 235, 0.1);
}

.testimonials-container {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 32px;
  position: relative;
  z-index: 2;
}

.testimonials .section-title-center {
  margin-bottom: 16px;
}

.testimonials .section-subtitle-center {
  margin-bottom: 32px;
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 32px;
}

.testimonial-card {
  backdrop-filter: blur(10.45px);
  background: rgba(135, 70, 235, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 16px;
  padding: 32px;
}

.testimonial-top {
  display: flex;
  gap: 16px;
}

.testimonial-author {
  display: flex;
  gap: 16px;
  flex: 1;
}

.testimonial-avatar {
  width: 78px;
  height: 78px;
  border-radius: 50%;
  border: 4px solid white;
  flex-shrink: 0;
  background: linear-gradient(135deg, #9e91ff, #7c69ff);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: "Fredoka", sans-serif;
  font-weight: 600;
  font-size: 24px;
  color: white;
  line-height: 1;
}

.testimonial-info {
  flex: 1;
}

.testimonial-info h4 {
  font-family: "Fredoka";
  font-weight: 400;
  font-size: 19px;
  color: white;
  margin: 0 0 8px;
  letter-spacing: -0.38px;
}

.testimonial-text {
  font-family: "Fredoka";
  font-weight: 400;
  font-size: 16px;
  color: white;
  margin: 0 0 8px;
  line-height: normal;
}

.testimonial-meta {
  display: flex;
  justify-content: space-between;
  font-family: "Fredoka";
  font-weight: 400;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.5);
  line-height: 17px;
}

.testimonial-rating {
  display: flex;
  flex-direction: column;
  gap: 8px;
  align-items: flex-end;
  flex-shrink: 0;
}

.rating-number {
  font-family: "Fredoka";
  font-weight: 400;
  font-size: 19px;
  color: white;
  letter-spacing: -0.38px;
}

.rating-max {
  font-size: 16px;
  color: #a8a8a8;
}

.rating-stars {
  display: flex;
  gap: 6px;
}

.rating-stars img {
  width: 24px;
  height: 24px;
}

@media (max-width: 1023px) {
  .testimonials-grid {
    grid-template-columns: 1fr;
  }
}



@media (max-width: 768px) {
  .testimonial-top {
    flex-direction: column;
  }

  .testimonial-avatar {
    width: 60px;
    height: 60px;
  }

  .testimonial-rating {
    align-items: center;
    justify-content: end;
    flex-direction: row;
    gap: 16px;
  }
}
