/* ===== TESTIMONIALS SLIDER WITH ANIMATIONS ===== */
.bwg-testimonials-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  padding: 20px 0 60px;
}

.bwg-testimonials-slider {
  position: relative;
  overflow: hidden;
  min-height: 300px;
}

.bwg-testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  transform: translateX(50px);
  transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
}

.bwg-testimonial-slide.active {
  position: relative;
  opacity: 1;
  transform: translateX(0);
  pointer-events: auto;
  animation: slideIn 0.6s ease-out;
}

@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateX(50px);
  }
  100% {
    opacity: 1;
    transform: translateX(0);
  }
}

.bwg-testimonial-card {
  background: linear-gradient(135deg, #ffffff 0%, #f8fafc 100%);
  border-radius: 24px;
  padding: 48px 40px;
  box-shadow: 0 10px 40px rgba(15, 23, 42, 0.08);
  border: 2px solid transparent;
  transition: all 0.4s ease;
}

.bwg-testimonial-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 60px rgba(0, 123, 255, 0.12);
  border-color: rgba(0, 123, 255, 0.1);
}

.bwg-testimonial-quote {
  margin-bottom: 32px;
  position: relative;
}

.bwg-quote-icon {
  font-size: 48px;
  opacity: 0.2;
  position: absolute;
  top: -10px;
  left: -10px;
}

.bwg-testimonial-content {
  font-size: 18px;
  line-height: 1.8;
  color: #334155;
  font-style: italic;
  position: relative;
  z-index: 1;
}

.bwg-testimonial-content p {
  margin: 0 0 16px;
}

.bwg-testimonial-content p:last-child {
  margin-bottom: 0;
}

.bwg-testimonial-footer {
  display: flex;
  align-items: center;
  gap: 20px;
  padding-top: 24px;
  border-top: 2px solid #e5e8ef;
}

.bwg-testimonial-avatar {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border: 3px solid #fff;
}

.bwg-testimonial-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bwg-testimonial-info {
  flex: 1;
}

.bwg-testimonial-name {
  font-size: 18px;
  font-weight: 700;
  color: #0f172a;
  margin-bottom: 4px;
}

.bwg-testimonial-meta {
  font-size: 14px;
  color: #64748b;
  margin-bottom: 8px;
}

.bwg-testimonial-rating {
  display: flex;
  gap: 4px;
}

.bwg-star {
  color: #e5e8ef;
  font-size: 18px;
  transition: color 0.3s ease;
}

.bwg-star.filled {
  color: #fbbf24;
  animation: starPop 0.4s ease-out;
}

@keyframes starPop {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
}

/* Testimonial Controls */
.bwg-testimonials-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 24px;
  margin-top: 40px;
}

.bwg-testimonial-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid #e5e8ef;
  background: #fff;
  color: #64748b;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(15, 23, 42, 0.08);
}

.bwg-testimonial-btn:hover {
  border-color: #007bff;
  color: #007bff;
  background: #f0f9ff;
  transform: scale(1.1);
  box-shadow: 0 6px 16px rgba(0, 123, 255, 0.2);
}

.bwg-testimonial-btn:active {
  transform: scale(0.95);
}

.bwg-testimonials-dots {
  display: flex;
  gap: 12px;
}

.bwg-dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid #e5e8ef;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0;
}

.bwg-dot:hover {
  border-color: #007bff;
  transform: scale(1.2);
}

.bwg-dot.active {
  background: #007bff;
  border-color: #007bff;
  width: 32px;
  border-radius: 6px;
}

/* Responsive */
@media (max-width: 768px) {
  .bwg-testimonial-card {
    padding: 32px 24px;
  }
  
  .bwg-testimonial-content {
    font-size: 16px;
  }
  
  .bwg-testimonial-footer {
    flex-direction: column;
    text-align: center;
  }
  
  .bwg-testimonial-avatar {
    width: 80px;
    height: 80px;
  }
  
  .bwg-quote-icon {
    font-size: 36px;
  }
  
  .bwg-testimonial-btn {
    width: 40px;
    height: 40px;
  }
}

