/* Testimonials Section Styles */
.testimonials-section {
  position: relative;
  padding: 60px 0;
  background-color: #000000;
  overflow: hidden;
}

.testimonials-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
}

.testimonials-background img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

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

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

.testimonials-title {
  font-size: 42px;
  line-height: 1.4;
  color: #ffffff;
  margin-bottom: 20px;
}

.testimonials-description {
  font-size: 16px;
  line-height: 1.75;
  color: #ffffff;
  max-width: 480px;
  margin: 0 auto;
}

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

.testimonial-card {
  background: #fafafa;
  border-radius: 10px;
  padding: 27px 25px;
  display: flex;
  flex-direction: column;
  gap: 25px;
}

.testimonial-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.testimonial-date {
  font-size: 14px;
  color: #000000;
}

.testimonial-rating {
  display: flex;
  gap: 4px;
}

.testimonial-content {
  position: relative;
  padding: 20px 0;
}

.testimonial-quote {
  font-size: 14px;
  line-height: 1.7;
  color: #000000;
}

.testimonial-quote::before {
  content: "";
  position: absolute;
  top: -5px;
  left: -10px;
  width: 24px;
  height: 24px;
  background-image: url("./../images/quote.png");
  background-size: contain;
  background-repeat: no-repeat;
}

.testimonial-quote::after {
  content: "";
  position: absolute;
  bottom: -15px;
  right: 0;
  width: 24px;
  height: 24px;
  background-image: url("./../images/quote.png");
  background-size: contain;
  background-repeat: no-repeat;
  transform: rotate(180deg);
}

.testimonial-footer {
  display: flex;
  align-items: center;
  gap: 15px;
}

.testimonial-avatar {
  width: 37px;
  height: 37px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #505050;
}

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

.testimonial-name {
  font-size: 14px;
  color: #000000;
}

/* Mobile Styles */
@media (max-width: 1023px) {
  .testimonials-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

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

  .testimonials-container {
    padding: 0 20px;
  }

  .testimonials-grid {
    grid-template-columns: 1fr;
    gap: 25px;
  }

  .testimonials-title {
    font-size: 32px;
  }
}
