.testimonial-slider {
    background: var(--secondary-color);
    padding: 20px 20px 50px 20px;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: relative;
    overflow: hidden;
}

.testimonial-slider .testimonial-rating {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 15px;
}

.testimonial-slider .star {
    color: var(--light-color); /* Gold color for stars */
    font-size: 2rem;
    margin-right: 2px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
}

/* Swiper pagination bullets */
.testimonial-slider .swiper-pagination-bullet {
    background-color: var(--light-color) !important;
    opacity: 0.7;
}

.testimonial-slider .swiper-pagination-bullet-active {
    background-color: var(--light-color) !important;
    opacity: 1;
}

/* Custom navigation buttons */
.custom-swiper-button-next,
.custom-swiper-button-prev {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    background-color: var(--light-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--dark-color);
    font-size: 18px;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.custom-swiper-button-prev {
    left: -65px;
}

.custom-swiper-button-next {
    right: -65px;
}

.custom-swiper-button-next:hover,
.custom-swiper-button-prev:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.custom-swiper-button-next:after,
.custom-swiper-button-prev:after {
    content: '';
    border: solid currentColor;
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 3px;
}

.custom-swiper-button-next:after {
    transform: rotate(-45deg);
    margin-left: -2px;
}

.custom-swiper-button-prev:after {
    transform: rotate(135deg);
    margin-right: -2px;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .testimonial-slider {
        padding-left: 50px;
        padding-right: 50px;
    }
    
    .custom-swiper-button-next,
    .custom-swiper-button-prev {
        width: 35px;
        height: 35px;
        font-size: 14px;
    }
    
    .custom-swiper-button-prev {
        left: 5px;
    }
    
    .custom-swiper-button-next {
        right: 5px;
    }
}