.testimonials-section {
  background: #ffffff;
  position: relative;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.125rem;
  color: #718096;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

.testimonials-slider-container {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
}

.testimonials-slider {
  position: relative;
  overflow: hidden;
  border-radius: 16px;
  min-height: 340px;
}

.testimonial-card {
  display: none;
  opacity: 0;
  transform: translateX(40px);
  transition: opacity 0.4s ease, transform 0.4s ease;
  position: relative;
}

.testimonial-card.active {
  display: block;
  opacity: 1;
  transform: translateX(0);
}

.testimonial-content {
  background: #f9f5f1;
  padding: 3rem;
  border-radius: 16px;
  text-align: center;
  position: relative;
}

.testimonial-content::before {
  content: '"';
  position: absolute;
  top: 1rem;
  left: 1.5rem;
  font-size: 4rem;
  color: #e53e3e;
  font-family: serif;
  opacity: 0.3;
}

.stars {
  margin-bottom: 1.5rem;
}

.stars span {
  color: #fbbf24;
  font-size: 1.5rem;
}

.testimonial-text {
  font-size: 1.125rem;
  color: #1a202c;
  line-height: 1.8;
  margin-bottom: 2rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
}

.author-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  overflow: hidden;
  border: 3px solid #e53e3e;
}

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

.author-info {
  text-align: left;
}

.author-name {
  font-size: 1.125rem;
  font-weight: 700;
  color: #1a202c;
  margin-bottom: 0.25rem;
}

.author-position {
  color: #718096;
  font-size: 0.875rem;
}

.slider-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}

.slider-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #e53e3e;
  color: #ffffff;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 250ms ease, box-shadow 250ms ease, background 250ms ease;
}

.slider-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 10px 20px rgba(0,0,0,0.12);
}

.slider-dots {
  display: flex;
  gap: 0.5rem;
}

.slider-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ccc;
  cursor: pointer;
  border: none;
  padding: 0;
  transition: transform 150ms ease, background 150ms ease;
}

.slider-dots .dot.active {
  background: #e53e3e;
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }

  .testimonial-content {
    padding: 2rem;
  }

  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }

  .author-info {
    text-align: center;
  }

  .slider-btn {
    width: 40px;
    height: 40px;
  }
}
