/* Enhanced Testimonials with Multiple Personas */

.testimonial-carousel-enhanced {
  max-width: 800px;
  margin: 0 auto;
  padding: 40px 20px;
}

.testimonial-slide {
  display: none;
  text-align: center;
  padding: 32px;
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  margin-bottom: 24px;
  animation: fadeIn 0.5s ease-in;
}

.testimonial-slide.active {
  display: block;
}

.testimonial-content {
  font-size: 18px;
  line-height: 1.6;
  color: #374151;
  margin-bottom: 24px;
  font-style: italic;
  position: relative;
}

.testimonial-content::before {
  content: """;
  font-size: 48px;
  color: #26c0b7;
  position: absolute;
  top: -10px;
  left: -20px;
  font-family: Georgia, serif;
}

.testimonial-content::after {
  content: """;
  font-size: 48px;
  color: #26c0b7;
  position: absolute;
  bottom: -30px;
  right: -10px;
  font-family: Georgia, serif;
}

.testimonial-author {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 16px;
}

.testimonial-avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #26c0b7, #20a39e);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: 600;
  font-size: 20px;
}

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

.testimonial-name {
  font-weight: 600;
  color: #2c3e50;
  font-size: 16px;
  margin-bottom: 4px;
}

.testimonial-role {
  color: #64748b;
  font-size: 14px;
  margin-bottom: 4px;
}

.testimonial-location {
  color: #26c0b7;
  font-size: 13px;
  font-weight: 500;
}

.testimonial-rating {
  display: flex;
  justify-content: center;
  gap: 4px;
  margin-bottom: 16px;
}

.star {
  color: #fbbf24;
  font-size: 18px;
}

.testimonial-service {
  background: #f0fdfa;
  color: #059669;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 500;
  display: inline-block;
  margin-top: 8px;
}

/* Navigation dots */
.testimonial-nav {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-top: 24px;
}

.nav-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: #e5e7eb;
  cursor: pointer;
  transition: all 0.2s ease;
}

.nav-dot.active {
  background: #26c0b7;
  transform: scale(1.2);
}

.nav-dot:hover {
  background: #26c0b7;
  opacity: 0.7;
}

/* Auto-rotation indicator */
.testimonial-progress {
  width: 100%;
  height: 2px;
  background: #e5e7eb;
  border-radius: 1px;
  margin-top: 16px;
  overflow: hidden;
}

.testimonial-progress-bar {
  height: 100%;
  background: #26c0b7;
  width: 0%;
  transition: width 5s linear;
  border-radius: 1px;
}

/* Mobile optimizations */
@media (max-width: 768px) {
  .testimonial-slide {
    padding: 24px 16px;
  }
  
  .testimonial-content {
    font-size: 16px;
  }
  
  .testimonial-content::before,
  .testimonial-content::after {
    font-size: 36px;
  }
  
  .testimonial-author {
    flex-direction: column;
    text-align: center;
  }
  
  .testimonial-info {
    text-align: center;
  }
}

/* Accessibility */
.testimonial-slide[aria-hidden="true"] {
  display: none;
}

.testimonial-nav button {
  border: none;
  background: none;
  padding: 8px;
}

.testimonial-nav button:focus {
  outline: 2px solid #26c0b7;
  outline-offset: 2px;
}

/* Animation keyframes */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Hover effects */
.testimonial-slide:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
  transition: all 0.3s ease;
}
