.testimonial-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    width: fit-content;
    gap: 10px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    margin-top: 50px;
    margin-left: 15px;
}

.testimonial-prev,
.testimonial-next {
    width: 70px;
    height: 70px;
    font-size: 30px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: background 0.3s ease;
}

/* Left (prev) button - white background */
.testimonial-prev {
    background-color: white;
    color: black;
}

/* Right (next) button - light brown background */
.testimonial-next {
    background-color: white;
    color: black;
}

/* Hover effects */
.testimonial-prev:hover {
    background-color: #e3a087;
    color: white;
}

.testimonial-next:hover {
    background-color: #e3a087;
    color: white;
}

/* Slider container */
.testimonial-slider {
    overflow: hidden;
    position: relative;
    width: 100%;
}

/* Slider inner */
.testimonial-slider-inner {
    display: flex;
    transition: transform 0.6s ease-in-out;
    width: 100%;
    align-items: flex-start;
}

.testimonial-block-one {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start;
    box-sizing: border-box;
    padding: 20px;
    width: 100%;
}

/* Each testimonial block */
.testimonial-slider .testimonial-block-one {
    min-width: 100%;
    flex-shrink: 0;
    box-sizing: border-box;
    opacity: 1;
    transition: opacity 0.4s ease-in-out;
}

/* Remove duplicate and unnecessary rules */
.rotate-icon {
    animation: rotateSnap 1s ease-in-out;
}

@keyframes rotateSnap {
    0% {
        transform: rotate(0deg);
        opacity: 0.3;
    }

    50% {
        transform: rotate(180deg);
        opacity: 1;
    }

    100% {
        transform: rotate(360deg);
        opacity: 0.3;
    }
}

.testimonial-block-one .text {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
    white-space: normal;
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    padding: 10px 0;
}
