/* Testimonials Block Stylesheet */
.testimonials-section {
  background-color: var(--bg-color);
  border-top: 1px solid var(--border-color);
  border-bottom: 1px solid var(--border-color);
  text-align: center;
  padding: 35px 0 !important; /* Spacing inside the borders */
}

.testimonials-section .section-title {
  font-family: var(--font-serif) !important; /* Change font to serif/classic luxury look */
  font-weight: 300 !important;
  text-transform: uppercase;
  margin-bottom: 10px !important; /* Reduce gap under title further */
}

.testimonials-slider-wrapper {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.testimonials-slider-viewport {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

.testimonials-track {
  width: 100%;
  position: relative;
}

.testimonial-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transform: translateY(20px);
  transition: opacity 0.5s ease, transform 0.5s ease, visibility 0.5s;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.testimonial-slide.active {
  position: relative;
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.testimonial-stars {
  color: var(--accent-color);
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 12px;
}

.testimonial-quote {
  font-family: var(--font-serif);
  font-size: 1.6rem;
  font-weight: 300;
  line-height: 1.6;
  color: var(--heading-color);
  margin: 0 0 12px 0;
  padding: 0 40px;
}

.testimonial-author {
  font-family: var(--font-cta);
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  color: var(--text-light);
}

.testimonials-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.testimonial-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--border-color);
  cursor: pointer;
  transition: var(--transition-fast);
}

.testimonial-dot.active {
  background-color: var(--accent-color);
  transform: scale(1.2);
}

@media (max-width: 768px) {
  .testimonial-quote {
    font-size: 1.25rem;
    padding: 0 20px;
  }
}
