.testi-slider {
    position: relative;
    max-width: 100%;
    margin: auto;
    overflow: hidden;
}

.testi-slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.testi-slide {
    min-width: 100%;
    box-sizing: border-box;
}

.testi-content {
    text-align: center;
    padding: 20px;
    background-color: #fff;
}

.testi-content img {
    border-radius: 50%;
    margin-bottom: 15px;
    width: 100px;
    height: 100px;
}

.testi-cite {
    margin-top: 10px;
    font-style: italic;
    color: #333;
}

/* Navigation styling */
.testi-navigation {
    text-align: center;
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}

.testi-navigation label {
    cursor: pointer;
    display: inline-block;
    margin: 0 5px;
    width: 12px;
    height: 12px;
    background-color: #ddd;
    border-radius: 50%;
}

.testi-navigation label:hover,
.testi-navigation label:focus {
    background-color: #666;
}

input[type="radio"] {
    display: none;
}

input[type="radio"]:checked ~ .testi-slides {
    animation: slide 30s infinite;
}

input#testi-slide1:checked ~ .testi-slides {
    transform: translateX(0);
}

input#testi-slide2:checked ~ .testi-slides {
    transform: translateX(-100%);
}



/* Keyframe animation for auto-slide */
@keyframes slide {
    0%, 20% { transform: translateX(0); }
    33.33%, 53.33% { transform: translateX(-100%); }
    66.66%, 86.66% { transform: translateX(-200%); }
    100% { transform: translateX(0); }
}
