
.testimonial-slider-container {
  position: relative;
  overflow: hidden;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 10px; /* Add padding for edge slides */
}

.testimonial-slider {
  display: flex;
  transition: transform 0.5s ease-in-out;
}

.testimonial-slide {
  min-width: 100%; 
  flex-shrink: 0;
  padding: 30px; /* Increased padding */
  box-sizing: border-box;
  background-color: var(--brand-white);
  border-radius: 12px;
  box-shadow: var(--shadow-light);
  margin: 0 10px; 
  display: flex; /* Use flex for better content alignment */
  flex-direction: column; /* Stack avatar, quote, author */
  align-items: center; /* Center content horizontally */
  text-align: center; /* Center text within the slide */
}

@media (min-width: 768px) {
  .testimonial-slide {
    min-width: calc(50% - 20px); 
  }
}
@media (min-width: 1024px) {
  .testimonial-slide {
    min-width: calc(33.333% - 20px); 
  }
}


.testimonial-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 20px; /* Increased margin */
  border: 3px solid var(--brand-yellow);
}

.testimonial-quote {
  font-size: 1.05rem; /* Slightly larger quote text */
  font-style: italic;
  color: #4a4a4a; /* Darker grey for quote */
  margin-bottom: 20px; /* Increased margin */
  line-height: 1.7;
  flex-grow: 1; /* Allow quote to take available space */
  max-width: 90%; /* Prevent text from stretching too wide */
}

.testimonial-author {
  font-size: 0.95rem; /* Slightly larger author text */
  font-weight: 700; /* Bolder author */
  color: var(--brand-blue);
  margin-top: auto; /* Push author to the bottom if content is short */
}

.testimonial-prev-btn, .testimonial-next-btn {
    top: calc(50% - 25px); /* Adjust based on actual slide height and button size */
    background-color: rgba(0, 82, 165, 0.6);
    padding: 12px; /* Slightly larger buttons */
}
.testimonial-prev-btn:hover, .testimonial-next-btn:hover {
    background-color: var(--brand-blue);
}