/* Testimonial Section Styles */
.testimonial-section {
  padding: 6rem 2rem;
  background: linear-gradient(135deg, rgba(248, 249, 250, 0.95) 0%, rgba(248, 249, 250, 0.98) 100%);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
}

.section-header {
  margin-bottom: 4rem;
}

.section-title1 {
  font-size: 2.5rem;
  color: var(--color-text-dark);
  margin-bottom: 1rem;
  position: relative;
  display: inline-block;
}

.section-title1::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--color-secondary);
}

.section-subtitle {
  font-size: 1.2rem;
  color: var(--color-text-light);
  max-width: 700px;
  margin: 0 auto;
  line-height: 1.6;
}

.testimonial-carousel {
  position: relative;
  padding: 2rem 0;
}

.testimonial-wrapper {
  position: relative;
  min-height: 400px;
}

.testimonial-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 2rem;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.5s ease;
  pointer-events: none;
}

.testimonial-group.active {
  opacity: 1;
  transform: translateX(0);
  pointer-events: all;
  position: relative;
}

.testimonial-card {
  background: white;
  padding: 2.5rem;
  border-radius: 15px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
  text-align: center;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.testimonial-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--color-secondary);
}

.testimonial-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.testimonial-icon {
  font-size: 2.5rem;
  margin-bottom: 1.5rem;
  display: inline-block;
  transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-icon {
  transform: scale(1.2) rotate(10deg);
}

.testimonial-text {
  font-size: 1.1rem;
  line-height: 1.7;
  color: var(--color-text-light);
  margin-bottom: 2rem;
  position: relative;
  font-style: italic;
}

.testimonial-text::before,
.testimonial-text::after {
  color: var(--color-secondary);
  font-size: 2rem;
  line-height: 1;
  position: absolute;
  opacity: 0.2;
}

.testimonial-text::before {
  content: '"';
  top: -10px;
  left: -15px;
}

.testimonial-text::after {
  content: '"';
  bottom: -30px;
  right: -15px;
}

.testimonial-author h4 {
  font-size: 1.2rem;
  color: var(--color-text-dark);
  margin-bottom: 0.5rem;
}

.testimonial-author p {
  font-size: 0.9rem;
  color: var(--color-secondary);
  font-weight: 500;
}

.carousel-nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-top: 3rem;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #ddd;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.nav-dot.active {
  background: var(--color-secondary);
  transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 768px) {
  .testimonial-section {
    padding: 4rem 1.5rem;
  }
  
  .section-title {
    font-size: 2rem;
  }
  
  .section-subtitle {
    font-size: 1rem;
  }
  
  .testimonial-card {
    padding: 2rem 1.5rem;
  }
}

@media (max-width: 480px) {
  .testimonial-group {
    grid-template-columns: 1fr;
  }
  
  .testimonial-card {
    max-width: 100%;
  }
}