/* Axencia.co — Reviews Slider: High-Class, Bug-Free */

.testimonials {
  overflow: hidden;
}

.testimonials-slider-wrap {
  position: relative;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 56px;
  overflow: hidden;
}

.testimonial-slider {
  display: flex;
  width: 100%;
  transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.testimonial-slide {
  min-width: 100%;
  width: 100%;
  flex-shrink: 0;
  padding: 0 8px;
  box-sizing: border-box;
}

.testimonial-slide .testimonial-card {
  margin: 0;
  opacity: 1;
  transform: none;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(59, 130, 246, 0.15);
  border-radius: 20px;
  padding: 40px 36px;
  min-height: 220px;
  display: flex;
  flex-direction: column;
  transition: all 0.4s ease;
}

.testimonial-slide .testimonial-card:hover {
  border-color: rgba(59, 130, 246, 0.3);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.testimonial-slide .stars {
  color: #fbbf24;
  font-size: 1.25rem;
  margin-bottom: 20px;
  letter-spacing: 2px;
}

.testimonial-slide .testimonial-card p {
  flex: 1;
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--text);
  margin-bottom: 24px;
}

.testimonial-slide .testimonial-card cite {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-style: normal;
}

.testimonial-slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.testimonial-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(59, 130, 246, 0.25);
  border: none;
  cursor: pointer;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  padding: 0;
}

.testimonial-dot:hover {
  background: rgba(59, 130, 246, 0.5);
  transform: scale(1.25);
}

.testimonial-dot.active {
  background: linear-gradient(135deg, #3b82f6, #06b6d4);
  width: 28px;
  border-radius: 5px;
  box-shadow: 0 0 20px rgba(59, 130, 246, 0.45);
}

.testimonial-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(59, 130, 246, 0.25);
  color: #93c5fd;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  font-weight: 300;
  line-height: 1;
  transition: all 0.35s ease;
  z-index: 10;
}

.testimonial-nav:hover {
  background: rgba(59, 130, 246, 0.2);
  transform: translateY(-50%) scale(1.08);
  box-shadow: 0 4px 20px rgba(59, 130, 246, 0.35);
}

.testimonial-nav.prev { left: 0; }
.testimonial-nav.next { right: 0; }

@media (max-width: 768px) {
  .testimonials-slider-wrap { padding: 0 16px; }
  .testimonial-nav { display: none; }
  .testimonial-slide .testimonial-card { padding: 28px 24px; min-height: auto; }
}
