/* Base styles */
* {
  box-sizing: border-box;
  font-family: 'Poppins', Helvetica, sans-serif;
}

html, body {
  width: 100%;
  min-height: 100vh;
  background-color: rgb(34, 33, 33);
  color: #202020;
  overflow-x: hidden;
  margin: 0;
  padding: 0;
}



#testimonial-container {
  background-color: #202020;
  width: 100%;
  max-width: 1600px;
  margin: 0 auto;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.testimonial-title h2 {
  color: #fff;
  font-size: 36px;
  text-align: center;
  padding-bottom: 24px;
}

.testimonial-wrapper {
  display: flex;
  justify-content: center;
  align-items: stretch; /* Make children equal height */
  flex-wrap: wrap;
  gap: 24px;
  width: 100%;
}

.testimonial {
  background-color: #fff;
  padding: 24px;
  width: 100%;
  max-width: 500px;
  border-radius: 8px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: stretch;
  flex-grow: 1; /* Allow testimonial to grow */
}

.testimonial blockquote {
  font-style: italic;
  color: #333;
  line-height: 1.4;
  flex-grow: 1; /* Stretch blockquote to fill space */
  margin-bottom: 16px;
}

.testimonial .author {
  align-self: flex-start;
  font-weight: 500;
  color: #555;
  padding-left: 4px;
  font-size: 1rem;
}

/* ---------- MEDIA QUERIES ---------- */

/* ≤ 1200px */
@media (max-width: 1200px) {
  #testimonial-container {
    padding: 50px 20px;
  }

  .testimonial-title h2 {
    font-size: 30px;
  }

  .testimonial-wrapper {
    gap: 30px;
  }

  .testimonial {
    max-width: 450px;
    padding: 20px;
  }
}

/* ≤ 768px */
@media (max-width: 768px) {
  #testimonial-container {
    padding: 30px 15px;
  }

  .testimonial-title h2 {
    font-size: 24px;
    padding-bottom: 16px;
  }

  .testimonial-wrapper {
    flex-direction: column;
    gap: 20px;
  }

  .testimonial {
    max-width: 100%;
    padding: 18px;
  }
}

/* ≤ 480px — including 375px screens */
@media (max-width: 480px) {
  #testimonial-container {
    padding: 20px 10px;
  }

  .testimonial-title h2 {
    font-size: 20px;
    padding-bottom: 12px;
  }

  .testimonial-wrapper {
    gap: 12px;
  }

  .testimonial {
    max-width: 100%;
    padding: 15px;
  }

  .testimonial blockquote {
    font-size: 0.9rem;
  }

  .testimonial .author {
    font-size: 0.85rem;
  }
}
