.testimonial-slider {
    display: flex;
    position: relative;
    overflow: hidden; /* Hide anything outside the container */
    width: 100%; /* Ensure it occupies full width */
}

.testimonial {
    flex: 0 0 100%; /* Each testimonial takes full width of the container */
    transition: transform 0.5s ease-in-out; /* Smooth slide effect */
    opacity: 0; /* Hide content initially */
}

.testimonial.active {
    opacity: 1; /* Show content when active */
}

.nxtbtn, .prevbtn {
    background-color: transparent;
    border: 0;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 18px;
    z-index: 10;
}

.nxtbtn {
    right: 20px;
}

.prevbtn {
    left: 20px;
}

.testimonialspara {
    font-size: 16px;
    line-height: 1.5;
}

.author {
    display: flex;
    align-items: center;
}

.author-photo img {
    border-radius: 50%;
    width: 50px;
    height: 50px;
    object-fit: cover;
    margin-right: 15px;
}

.author-text p {
    margin: 0;
}

.nxtbtn {
    background-color: transparent;
    border: 0;
    cursor: pointer;
  
}