/* Testimonials carousel — reusable across landing pages.
   Expects the shared landing page styles (.container, .ttl, Gordita font,
   #122551 / #5bc4bf / #fd3832 palette) to already be loaded. */

body #testimonials {
  background: #fff;
  padding: 100px 0;
}
body #testimonials .ttl {
  text-align: center;
}
body #testimonials .testimonialCarousel {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-top: 50px;
}
body #testimonials .carouselArrow {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  outline: none;
  background: #fd3832;
  color: #fff;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  transition: background-color 0.2s ease, opacity 0.2s ease;
}
body #testimonials .carouselArrow:hover {
  background: #fa0a02;
}
body #testimonials .carouselArrow:disabled {
  opacity: 0.3;
  cursor: default;
  background: #fd3832;
}
body #testimonials .carouselViewport {
  flex: 1 1 auto;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none;
}
body #testimonials .carouselViewport::-webkit-scrollbar {
  display: none;
}
body #testimonials .carouselTrack {
  display: flex;
  gap: 30px;
}
body #testimonials .testimonialCard {
  flex: 0 0 auto;
  scroll-snap-align: start;
  width: calc((100% - 60px) / 3);
  transition: opacity 0.25s ease;
  background: #fff;
  box-shadow: 0 10px 30px rgba(18, 37, 81, 0.1);
  border-radius: 20px;
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}
body #testimonials .testimonialCard .text {
  font-size: 17px;
  line-height: 1.6;
  color: #122551;
  position: relative;
  padding-left: 22px;
  hyphens: auto;
}
body #testimonials .testimonialCard .text:before {
  content: "\201C";
  position: absolute;
  left: -14px;
  top: -8px;
  font-size: 40px;
  font-weight: 700;
  color: #5bc4bf;
}
body #testimonials .testimonialCard .byline {
  font-size: 15px;
  font-weight: 600;
  color: #122551;
}
body #testimonials .carouselDots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}
body #testimonials .carouselDots button {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: none;
  outline: none;
  padding: 0;
  background: #cfeae8;
  cursor: pointer;
  transition: background-color 0.2s ease;
}
body #testimonials .carouselDots button.active {
  background: #5bc4bf;
}

@media screen and (max-width: 768px) {
  body #testimonials {
    padding: 50px 0;
  }
  body #testimonials .ttl {
    text-align: left;
  }
  body #testimonials .testimonialCarousel {
    margin-top: 35px;
  }
  body #testimonials .carouselArrow {
    display: none;
  }
  body #testimonials .carouselViewport {
    padding: 0 12%;
    scroll-padding: 0 12%;
  }
  body #testimonials .carouselTrack {
    gap: 16px;
  }
  body #testimonials .testimonialCard {
    scroll-snap-align: center;
    width: 76%;
    opacity: 0.4;
  }
  body #testimonials .testimonialCard.active {
    opacity: 1;
  }
}
