.slider {
  position: relative;
  overflow: hidden; /* Ensures only one slide is visible */
  margin: auto;
}

.slider-wrapper {
  display: flex;
  transition: transform 0.5s ease-in-out; /* Smooth transition for sliding */
  will-change: transform; /* Performance optimization */
}

.testimonial-card {
  flex: 0 0 100%; /* Prevent slides from shrinking */
  padding: 10px;
  box-sizing: border-box; /* Ensures padding doesn't affect width */
}

.arrowsOuter {
  position: relative;
  height: 50px;
}

.arrows {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 100%;
  display: flex;
  justify-content: end;
}

.arrow {
  background: none;
  border: none;
  color: #adadad;
  padding: 0;
  border-radius: 100%;
  margin-right: 10px;
  cursor: pointer; /* Indicates clickable buttons */
}
.arrow:hover {
  color: #33406a;
}

.arrow i {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 30px;
}

.testimonial-img {
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: baseline;
}

.testimonial-img img {
  width: 100px !important;
  height: auto;
  border-radius: 100%;
  border: 5px solid #fff;
  aspect-ratio: 1/1;
  object-fit: cover;
}

.testimonial-content {
  background-color: #e5e5e5;
  border-radius: 15px; 
  padding: 30px;
}

.testimonial-content .testimonial-message {
    color: #000;
    margin-bottom: 15px;
}

.testimonial-content p {
  text-align: center !important;
  margin-bottom: 0;
}
 
p.testimonial-name {
    font-size: 28px;
    font-weight: 600;
/*    margin-bottom: 15px;*/
    text-align: center !important;
    color: #33406a;
}

/* Responsive Adjustments */
@media (min-width: 768px) {
  .testimonial-card {
    flex: 0 0 50%; /* Show 2 slides on tablets */
  }
}

@media (min-width: 1024px) {
  .testimonial-card {
    flex: 0 0 33.33%; /* Show 3 slides on larger screens */
  }
}
