/* .testimonial-overlay-section {
  position: relative;
/*   background: #000; 
  color: #fff;
  padding: 0;
  overflow: hidden;
  min-height: 450px;
} */
.testimonial-quote-slide {
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
/*   min-height: 450px; */
}

.testimonial-bg-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: top center;
  opacity: 1;
  z-index: 0;
}

.testimonial-content-overlay {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-end;
    width: 1400px;
    padding-bottom: 40px;
    margin: auto;
  height: 100%;
}
.testimonial-content-overlay .testimonial-content
{
  padding-top: 450px;
  max-width: 700px;
}
.testimonial-content-overlay .testimonial-content p{
  font-size:1.6rem;
  color:#fff;
  font-weight:500;
}
/* Position the avatars nav absolutely at the bottom inside the slide */
.testimonial-avatars-row {
  display: flex;
    gap: 15px;
    flex-wrap: nowrap;
    align-items: center;
    width: auto;
    max-width: 90%;
    z-index: 2;
    cursor: pointer;
    padding: 10px 0px;
    color: #fff;
    justify-content: space-around;
}

.testimonial-avatar-item {
  display: flex;
  align-items: center;
  opacity: 0.6;
  transition: opacity 0.3s;
  flex-direction: column;
}

.testimonial-avatar-item.active, .testimonial-avatar-item:hover {
  opacity: 1;
}

.testimonial-avatar-item img {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #fff;
  background: #fff;
}

.testimonial-meta-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.testimonial-name {
  font-weight: 500;
  font-size: 0.95rem;
}

.testimonial-travel-info {
  font-size: 0.95rem;
  opacity: 0.85;
}

/* Responsive adjustments */
@media (max-width: 991px) {
  .testimonial-content-overlay{
    width:auto;
  }
  .testimonial-content-overlay .testimonial-content {
    padding-top: 75px;
    max-width: max-content;
}
  .testimonial-content-overlay .testimonial-content p {
    font-size: 1rem;
    padding: 0 20px;
}
  .testimonial-content-overlay {
    padding-bottom: 60px; /* more space on small screens */
  }
  .testimonial-bg-image{
     border-radius: 20px;
  }
  .testimonial-avatars-row {
    gap: 10px;
    padding: 8px 16px;
  }
  .testimonial-avatar-item img {
    width: 30px;
    height: 30px;
  }
  .testimonial-name, .testimonial-travel-info {
        font-size: 0.75rem;
        line-height: 1.1;
    }
}

