
.container {
  max-width: 1200px;
  width: 100%;
}

.section-header {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-size: 2.8rem;
  font-weight: 800;
  margin-bottom: 16px;
  color: #0f1720;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: "";
  width: 80px;
  height: 4px;
  background: #f2c028;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  bottom: -12px;
  border-radius: 4px;
}

.section-subtitle {
  font-size: 1.2rem;
  color: #6b7280;
  max-width: 600px;
  margin: 0 auto;
  line-height: 1.6;
}

/* Testimonial Styles */
.testimonials-section {
  position: relative;
  padding: 40px 0 80px;
}

.testimonials-container {
  position: relative;
  height: 420px;
  overflow: hidden;
  margin: 0 auto;
  max-width: 1000px;
}

.testimonial-card {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 20px;
  box-shadow: 0 15px 40px rgba(11, 20, 25, 0.08);
  padding: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  opacity: 0;
  transform: translateX(100px);
  transition: all 0.8s cubic-bezier(0.22, 0.9, 0.35, 1);
  z-index: 1;
}

.testimonial-card.active {
  opacity: 1;
  transform: translateX(0);
  z-index: 2;
}

.testimonial-card.prev {
  opacity: 0.3;
  transform: translateX(-100px);
  z-index: 1;
}

.client-image {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 24px;
  border: 4px solid #eaf2ea;
  box-shadow: 0 8px 20px rgba(47, 122, 78, 0.15);
}

.testimonial-text {
  font-size: 1.3rem;
  line-height: 1.7;
  color: #2c3b35;
  margin-bottom: 30px;
  font-style: italic;
  position: relative;
  max-width: 700px;
}

/* Use proper opening/closing quote characters for pseudo-elements */
.testimonial-text::before,
.testimonial-text::after {
  content: "“";
  font-size: 4rem;
  color: rgba(47, 122, 78, 0.12);
  position: absolute;
  font-family: Georgia, serif;
  pointer-events: none;
}

.testimonial-text::before {
  top: -20px;
  left: -30px;
}

.testimonial-text::after {
  content: "”";
  bottom: -40px;
  right: -30px;
}

.client-info {
  margin-top: 20px;
}

.client-name {
  font-size: 1.3rem;
  font-weight: 700;
  color: #0f1720;
  margin-bottom: 6px;
}

.client-position {
  font-size: 1rem;
  color: #6b7280;
}

.rating {
  margin-top: 15px;
  color: #f2c028;
  font-size: 1.2rem;
}

.testimonial-controls {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 40px;
  gap: 20px;
}

.control-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: white;
  border: none;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #2f7a4e;
  font-size: 1.2rem;
  transition: all 0.3s ease;
}

.control-btn:hover {
  background: #2f7a4e;
  color: white;
  transform: translateY(-3px);
}

.indicators {
  display: flex;
  gap: 12px;
}

.indicator {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(47, 122, 78, 0.3);
  cursor: pointer;
  transition: all 0.3s ease;
}

.indicator.active {
  background: #2f7a4e;
  transform: scale(1.2);
}

/* Animation for cards */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.testimonial-card {
  animation: fadeIn 0.8s ease;
}

/* Responsive styles */
@media (max-width: 768px) {
  .testimonials-container {
    height: 500px;
  }

  .testimonial-card {
    padding: 30px 20px;
  }

  .testimonial-text {
    font-size: 1.1rem;
  }

  .section-title {
    font-size: 2.2rem;
  }
}

@media (max-width: 480px) {
  .testimonials-container {
    height: 550px;
  }

  .testimonial-text {
    font-size: 1rem;
  }

  .client-image {
    width: 80px;
    height: 80px;
  }
}
