* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}


.carousel-containertest {
    width: 90%;
    max-width: 1200px;
    overflow: hidden;
    position: relative;
}

.carouseltest {
    display: flex;
    transition: transform 0.5s ease;
}

.testimonial {
    flex: 0 0 100%;
    padding: 40px;
    background-color: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    margin: 0 10px;
    transition: all 0.3s ease;
}

.testimonial img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
    object-fit: cover;
}

.testimonial h3 {
    margin-bottom: 10px;
    color: #333;
    font-size: 1.4em;
}

.testimonial p {
   font-weight: bold;
    font-style: italic; 
    color: #666;
    line-height: 1.6;
}

.nav-buttontest {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(255,255,255,0.8);
    border: none;
    font-size: 24px;
    padding: 15px;
    cursor: pointer;
    border-radius: 50%;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    z-index: 10;
}

.nav-buttontest:hover {
    background-color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.prevtest {
    left: 20px;
}

.nexttest {
    right: 20px;
}

@media (min-width: 768px) {
    .carouseltest {
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .testimonial {
        flex: 0 0 calc(33.333% - 20px);
        transform: scale(0.8);
        opacity: 0.7;
        transition: all 0.5s ease;
    }

    .testimonial.active {
        transform: scale(1.1);
        opacity: 1;
        z-index: 1;
    }
}