/* Container and alignment */
.testimonial-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

.testimonial-content {
    text-align: center;
    width: 100%;
    padding: 80px 0 0 0;
}
.testimonial-details {
    display: flex;
    padding: 50px;
    box-shadow: 0px 2px 24px 0px #00000014;
    border-radius: 20px;
}
.testimonial-inner-details{
  text-align: left;
  padding: 0 0 0 40px;
}
.testimonial-inner-details h3{
  font-family: 'Montserrat';
  font-size: 30px;
  font-weight: 700;
  line-height: 36.57px;
  margin: 0;
}
.testimonial-inner-details p{
 font-family: 'Montserrat';
 font-size: 16px;
 font-weight: 400;
 line-height: 19.5px;
 color: #3C3C3C;
 margin: 0;
 padding: 10px 0 0 0;
}
.testimonial-inner-details h2 {
    font-family: Montserrat;
    font-size: 20px;
    font-weight: 700;
    line-height: 24.38px;
    color: #019BB7;
    margin: 0;
    padding: 24px 0 0 0;
}
.testimonial-inner-details h5 {
    font-family: Montserrat;
    font-size: 16px;
    font-weight: 400;
    line-height: 19.5px;
    margin: 0;
    padding: 10px 0 0 0;
}


/* The wrapper for the testimonials, using flexbox to align testimonials horizontally */
.testimonials-wrapper {
    display: flex;
    overflow: hidden; /* Hide testimonials that are out of view */
    width: 100%; /* Ensures the wrapper takes full width of the parent */
}

.testimonial-image {
  min-width: 213px;
  min-height: 213px;
  max-width: 213px;
  max-height: 213px;
  border-radius: 50%; 
  overflow: hidden; 
}

.testimonial-image img {
  width: 100%;
  height: 100%;
}

/* Styles for the large testimonial image */
.testimonial-image-large {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 10px;
}

/* Thumbnail section */
.testimonial-thumbnails {
    display: flex;
    gap: 10px;
}

.testimonial-thumbnail {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    border: 2px solid transparent;
    transition: border 0.3s ease;
}
.testimonial-thumbnail img {
    border-radius: 50% !important;
}

.testimonial-thumbnail.active {
    border: 2px solid #007bff;
}

@media (max-width: 767px) {
  .testimonial-details {
    display: grid;
    place-items: center;
    gap: 30px;
    padding: 50px 0px;
}
  .testimonial-inner-details h3{
    text-align: center;
    font-size: 20px;
    line-height: 25.57px;
}
.testimonial-inner-details p{
 text-align: center;
 font-size: 14px;
}
.testimonial-inner-details h2 {
   text-align: center;
   padding: 15px 0 0 0;
}
.testimonial-inner-details h5 {
    text-align: center;
}
  .testimonial-content {
    text-align: center;
    width: 100%;
    padding: 50px 0 0 0;
}
  .testimonial-inner-details {
    text-align: left;
    padding: 0 10px 0 10px;
}
}
@media (max-width: 362px) {
  .testimonial-thumbnail:nth-child(even) {
    transform: translateY(0px) !important;
}
}
@media (min-width: 362px) and (max-width: 767px) {
    .testimonial-content {
      padding: 100px 0px;
    }
}

/* Thumbnail Section */
.testimonial-thumbnails {
   display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    justify-content: center;
    place-items: center;
    gap: 42px;
    margin-top: 20px;
    position: relative;
    max-width: 1200px;
    width: 100%;
}

/* Individual Thumbnail */
.testimonial-thumbnail {
    width: 120px; 
    height: 120px;
    border-radius: 50%; 
    cursor: pointer;
    border: 3px solid transparent;
    transition: border 0.3s ease, transform 0.2s ease;
    object-fit: cover; 
    overflow: hidden;
}


.testimonial-thumbnail:nth-child(even) {
    margin-top: 150px;
}

/* Highlight Active Thumbnail */
.testimonial-thumbnail.active {
    border: 4px solid #019BB7;
    padding: 6px;
    z-index: 1; 
}



