/* Testimonials Section */
.testimonials-section {
  padding: 0;
  background: var(--white);
  overflow: hidden;
}

.testimonials-wrapper {
  display: flex;
  flex-direction: row;
  align-items: stretch;
  max-width: 1713px;
  margin: 0 auto 0 0;
  padding: 0 30px 0 0;
  box-sizing: border-box;
  width: 100%;
}

/* Left: Testimonial Image */
.testimonial-image-wrapper {
  flex: 1;
  height: 392.41px;
  overflow: visible;
  display: flex;
  align-items: stretch;
  position: relative;
}

.testimonial-image-wrapper img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
  -webkit-clip-path: polygon(0 0, 92% 0, 100% 100%, 0 100%);
}

/* Right: Testimonials Content */
.testimonials-content {
  width: 588px;
  max-width: 100%;
  padding-right: 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  height: 392.41px;
  box-sizing: border-box;
}

.testimonials-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 24px;
}

.testimonials-label {
  color: var(--tussock);
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 14px;
  line-height: 1.8000000544956751em;
  text-align: center;
  margin-bottom: 0;
}

.testimonials-title {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 25.2px;
  line-height: 1em;
  color: var(--haiti);
  text-align: center;
  margin: 0;
  margin-top: 0;
}

.testimonials-content-text {
  padding: 30px 0 40px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.testimonials-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
}

.testimonials-slider input {
  display: none;
}

.testimonials-track {
  display: flex;
  width: 300%;
  transition: transform 0.5s ease;
}

#testimonial-slide-1:checked ~ .testimonials-track {
  transform: translateX(0);
}

#testimonial-slide-2:checked ~ .testimonials-track {
  transform: translateX(-33.3333%);
}

#testimonial-slide-3:checked ~ .testimonials-track {
  transform: translateX(-66.6667%);
}

.testimonial-card {
  flex: 0 0 33.3333%;
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-sizing: border-box;
  padding: 0 24.6px;
}

.testimonial-text {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding: 0;
}

.testimonial-text p {
  color: var(--boulder);
  font-family: var(--font-family);
  font-weight: 400;
  font-size: 14px;
  line-height: 2em;
  letter-spacing: -5%;
  text-align: center;
  margin: 0;
}

.testimonial-author {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 0 0 5px;
}

.testimonial-author p {
  font-family: var(--font-family);
  font-weight: 700;
  font-size: 18px;
  line-height: 1.5em;
  letter-spacing: -5%;
  color: var(--shark);
  text-align: center;
  margin: 0;
}

.slider-arrows {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  pointer-events: none;
  padding: 0 6px;
}

.slider-arrow {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--tussock);
  color: var(--white);
  display: none;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  cursor: pointer;
  pointer-events: auto;
  border: none;
  transition: background 0.3s, transform 0.3s;
}

.slider-arrow:hover {
  background: #a67a3a;
  transform: scale(1.1);
}

#testimonial-slide-1:checked ~ .slider-arrows .prev-1,
#testimonial-slide-1:checked ~ .slider-arrows .next-1,
#testimonial-slide-2:checked ~ .slider-arrows .prev-2,
#testimonial-slide-2:checked ~ .slider-arrows .next-2,
#testimonial-slide-3:checked ~ .slider-arrows .prev-3,
#testimonial-slide-3:checked ~ .slider-arrows .next-3 {
  display: flex;
}

.slider-dots {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 10px;
}

.slider-dots label {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--mercury);
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.3s ease;
}

#testimonial-slide-1:checked ~ .slider-dots label[for="testimonial-slide-1"],
#testimonial-slide-2:checked ~ .slider-dots label[for="testimonial-slide-2"],
#testimonial-slide-3:checked ~ .slider-dots label[for="testimonial-slide-3"] {
  background: var(--tussock);
  transform: scale(1.1);
}

/* Desktop: Smaller arrows */
@media (min-width: 769px) {
  .slider-arrow {
    width: 36px;
    height: 36px;
    border-radius: 18px;
    font-size: 16px;
  }
}
