/* Testimonials Section */
.testimonials-section {
  width: 100%;
  min-height: 100vh;
  background: var(--Tertiary-40, #FBF3F2);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 48px 0 64px;
  box-sizing: border-box;
  position: relative;
  overflow: visible;
}

/* Decorative quotation marks */
.testimonials-section-quote-decoration {
  position: absolute;
  pointer-events: none;
  z-index: 10;
}

.testimonials-section-quote-top-left {
  top: 60px;
  left: 60px;
  width: 226px;
  height: 200px;
}

.testimonials-section-quote-bottom-right {
  bottom: 60px;
  right: 60px;
  width: 226px;
  height: 200px;
}

.testimonials-section-quote-decoration svg {
  width: 100%;
  height: 100%;
  display: block;
}

.testimonials-section-inner {
  width: 100%;
  max-width: none;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 64px;
  position: relative;
  z-index: 1;
}

/* Section header */
.testimonials-section-header {
  width: 100%;
  max-width: 502px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 32px;
  text-align: center;
}

.testimonials-section-label {
  width: 100%;
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 500;
  line-height: 140%;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.testimonials-section-heading {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  line-height: 140%;
}

.testimonials-heading-part-1 {
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 48px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.96px;
}

.testimonials-heading-part-2 {
  color: var(--Primary-100, #680144);
  font-family: Calluna;
  font-size: 52px;
  font-style: italic;
  font-weight: 400;
  line-height: 125%;
  letter-spacing: -1.04px;
}

/* Carousel wrapper – center aligned, no max width on large */
.testimonials-section-carousel-wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 64px;
}

.testimonials-section-carousel {
  width: 100%;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonials-section-track-container {
  width: 100%;
  overflow: hidden;
}

.testimonials-section-track {
  display: flex;
  transition: transform 0.4s ease;
  will-change: transform;
}

.testimonials-section-slide {
  width: 100%;
  flex: 0 0 100%;
  box-sizing: border-box;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  padding: 0 24px;
  min-height: 200px;
}

.testimonials-section-slide-decorations {
  position: relative;
  width: 100%;
  max-width: 866px;
  height: 0;
  pointer-events: none;
}

.testimonials-section-deco {
  position: absolute;
  background: var(--Secondary-100);
  height: 28px;
}

.testimonials-section-deco-1 {
  width: 160px;
  left: 50%;
  transform: translateX(-50%);
  top: -14px;
}

.testimonials-section-deco-2 {
  width: 320px;
  left: 50%;
  transform: translateX(-50%);
  top: -50px;
}

.testimonials-section-quote {
  width: 100%;
  max-width: 866px;
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 400;
  line-height: 120%;
  letter-spacing: -1.2px;
  text-align: center;
}

.testimonials-section-quote p {
  margin: 0 0 0.5em;
}

.testimonials-section-quote p:last-child {
  margin-bottom: 0;
}

.testimonials-section-name {
  width: 100%;
  color: var(--Primary-100, #680144);
  font-family: "DM Sans", sans-serif;
  font-size: 18px;
  font-style: normal;
  font-weight: 400;
  line-height: 140%;
  letter-spacing: -0.36px;
  text-align: center;
  margin-bottom: 32px;
}

/* Prev/Next buttons */
.testimonials-section-nav {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
}

.testimonials-section-prev,
.testimonials-section-next {
  width: 64px;
  height: 64px;
  padding: 12px;
  border-radius: 100px;
  border: 1.23px solid var(--Neutral-40, #ccc);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s, border-color 0.2s, color 0.2s;
  color: var(--Neutral-40, #ccc);
}

.testimonials-section-prev svg,
.testimonials-section-next svg {
  width: 100%;
  height: 100%;
  display: block;
}

.testimonials-section-prev:not(:disabled),
.testimonials-section-next:not(:disabled) {
  background: var(--Primary-100, #680144);
  border-color: var(--Primary-100, #680144);
  color: var(--Tertiary-100, #fff);
}

.testimonials-section-prev:not(:disabled):hover,
.testimonials-section-next:not(:disabled):hover {
  background: var(--Primary-100, #680144);
  border-color: var(--Primary-100, #680144);
  color: var(--Tertiary-100, #fff);
}

.testimonials-section-prev:disabled,
.testimonials-section-next:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  background: transparent;
  border-color: var(--Neutral-40, #ccc);
  color: var(--Neutral-40, #ccc);
}

/* Responsive */
@media (max-width: 767px) {
  .testimonials-section {
    padding: 32px 0 48px;
    min-height: 100vh;
    justify-content: center;
    position: relative;
  }

  .testimonials-section-inner {
    gap: 48px;
  }

  .testimonials-section-header {
    max-width: 100%;
    padding: 0 24px;
  }

  .testimonials-heading-part-1 {
    font-size: 32px;
  }
  .testimonials-heading-part-2 {
    font-size: 36px;
    font-style: italic;
    line-height: 110%;
    letter-spacing: -0.72px;
  }

  .testimonials-section-label {
    font-size: 16px;
  }

  .testimonials-section-quote {
    font-size: 18px;
  }

  .testimonials-section-name {
    font-size: 16px;
    margin-bottom: 24px;
  }

  .testimonials-section-slide {
    padding: 0 16px;
  }

  .testimonials-section-carousel-wrapper {
    gap: 48px;
  }

  .testimonials-section-prev,
  .testimonials-section-next {
    width: 48px;
    height: 48px;
    padding: 8px;
  }

  .testimonials-section-quote-top-left {
    width: 120px;
    height: 106px;
    top: -30px;
    left: 0px;
  }

  .testimonials-section-quote-bottom-right {
    width: 120px;
    height: 106px;
    bottom: -30px;
    right: 0px;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .testimonials-section {
    min-height: 100vh;
    justify-content: center;
    padding: 48px 0 64px;
    position: relative;
  }
  .testimonials-section-heading .testimonials-heading-part-1 {
    font-size: 40px;
  }
  .testimonials-section-heading .testimonials-heading-part-2 {
    font-size: 52px;
  }
  .testimonials-section-name {
    margin-bottom: 32px;
  }
}

/* Narrow desktop: smaller quote icons when browser is minimized */
@media (min-width: 768px) and (max-width: 1280px) {
  .testimonials-section-quote-top-left,
  .testimonials-section-quote-bottom-right {
    width: 160px;
    height: 142px;
  }
  .testimonials-section-quote-top-left {
    top: 40px;
    left: 40px;
  }
  .testimonials-section-quote-bottom-right {
    bottom: 40px;
    right: 40px;
  }
}

@media (min-width: 1024px) {
  .testimonials-section {
    min-height: 100vh;
  }
}
