/* ============================================================
   ABOUT PAGE TESTIMONIALS SECTION
   File purpose:
   - This file is loaded only on about.html.
   - It keeps the Testimonials section alignment separate from main.css.
   - All selectors are scoped to body.about-page and .about-testimonials-section.
   ============================================================ */

/* Section spacing: keeps the title and carousel in one centered visual group. */
body.about-page .about-testimonials-section {
  padding-top: 56px;
  text-align: center;
}

/* Inner container: one shared center line for the kicker, title, quote, and dots. */
body.about-page .about-testimonials-section > .container {
  max-width: 1160px;
  margin-right: auto;
  margin-left: auto;
}

/* Small "Testimonials" label row: center aligned with the main title. */
body.about-page .about-testimonials-section .about-section-kicker {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  margin-right: auto;
  margin-bottom: 12px;
  margin-left: auto;
  text-align: center;
}

/* Kicker line: short accent mark before the "Testimonials" text. */
body.about-page .about-testimonials-section .about-section-kicker span {
  flex: 0 0 auto;
}

/* Main testimonial title: this is the center anchor for the carousel content below. */
body.about-page .about-testimonials-section > .container > h2 {
  max-width: 860px;
  margin: 0 auto;
  text-align: center;
}

/* Carousel row: equal arrow columns keep the testimonial copy centered under the title. */
body.about-page .about-testimonials-section .about-testimonial-carousel {
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr) 58px;
  align-items: center;
  gap: 24px;
  width: 100%;
  max-width: 1080px;
  margin: 30px auto 0;
}

/* Testimonial text block: centered copy, centered author, no left offset. */
body.about-page .about-testimonials-section .testimonial-content {
  width: 100%;
  max-width: 900px;
  margin-right: auto;
  margin-left: auto;
  text-align: center;
}

/* Quote copy: readable width and center alignment with the top title. */
body.about-page .about-testimonials-section .testimonial-content p {
  max-width: 860px;
  margin: 0 auto 18px;
  text-align: center;
}

/* Author/designation text: stays centered below the quote. */
body.about-page .about-testimonials-section .testimonial-content h3 {
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

/* Navigation dots: centered under the testimonial data. */
body.about-page .about-testimonials-section .dots {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

/* Small-screen layout: hide arrows and keep the text centered without overflow. */
@media (max-width: 575px) {
  body.about-page .about-testimonials-section {
    padding-top: 42px;
  }

  body.about-page .about-testimonials-section .about-testimonial-carousel {
    grid-template-columns: 1fr;
    gap: 18px;
    max-width: 100%;
    margin-top: 24px;
  }

  body.about-page .about-testimonials-section .arrow {
    display: none;
  }
}
