/* ============================================
   Testimonial Carousel Fix - Bootstrap 4
   ============================================ */

.testimonial-section {
    position: relative;
    padding: 80px 0;
}

.testimonial-section #testimonial-carousel {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
}

.testimonial-section #testimonial-carousel .carousel-inner {
    min-height: 300px;
    display: flex;
    align-items: center;
}

.testimonial-section #testimonial-carousel .carousel-wrapper {
    padding: 40px 60px;
}

.testimonial-section #testimonial-carousel .carousel-wrapper p {
    font-size: 20px;
    line-height: 32px;
    color: #000;
    margin-bottom: 30px;
    font-style: italic;
}

.testimonial-section #testimonial-carousel .carousel-wrapper .reviewer h5 {
    font-size: 20px;
    color: #000;
    margin: 0;
    font-weight: 600;
}

/* Carousel Indicators */
.testimonial-section #testimonial-carousel .carousel-indicators {
    position: relative;
    margin: 30px 0 0 0;
    bottom: auto;
}

.testimonial-section #testimonial-carousel .carousel-indicators li {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(0,0,0,0.3);
    border: 2px solid rgba(0,0,0,0.5);
    margin: 0 5px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.testimonial-section #testimonial-carousel .carousel-indicators li.active {
    background: #000;
    border-color: #000;
    width: 30px;
    border-radius: 6px;
}

/* Carousel Controls - Bootstrap 4 */
.testimonial-section #testimonial-carousel .carousel-control-prev,
.testimonial-section #testimonial-carousel .carousel-control-next {
    width: 50px;
    height: 50px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    border-radius: 50%;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.testimonial-section #testimonial-carousel .carousel-control-prev {
    left: -60px;
}

.testimonial-section #testimonial-carousel .carousel-control-next {
    right: -60px;
}

.testimonial-section #testimonial-carousel .carousel-control-prev:hover,
.testimonial-section #testimonial-carousel .carousel-control-next:hover {
    background: rgba(0,0,0,0.8);
    opacity: 1;
}

.testimonial-section #testimonial-carousel .carousel-control-prev-icon,
.testimonial-section #testimonial-carousel .carousel-control-next-icon {
    width: 20px;
    height: 20px;
    background-size: 100% 100%;
}

/* Responsive */
@media (max-width: 991px) {
    .testimonial-section #testimonial-carousel .carousel-wrapper {
        padding: 30px 20px;
    }
    
    .testimonial-section #testimonial-carousel .carousel-wrapper p {
        font-size: 18px;
        line-height: 28px;
    }
    
    .testimonial-section #testimonial-carousel .carousel-control-prev {
        left: 10px;
    }
    
    .testimonial-section #testimonial-carousel .carousel-control-next {
        right: 10px;
    }
}

@media (max-width: 767px) {
    .testimonial-section {
        padding: 60px 0;
    }
    
    .testimonial-section #testimonial-carousel .carousel-wrapper {
        padding: 20px 15px;
    }
    
    .testimonial-section #testimonial-carousel .carousel-wrapper p {
        font-size: 16px;
        line-height: 24px;
        margin-bottom: 20px;
    }
    
    .testimonial-section #testimonial-carousel .carousel-wrapper .reviewer h5 {
        font-size: 16px;
    }
    
    .testimonial-section #testimonial-carousel .carousel-control-prev,
    .testimonial-section #testimonial-carousel .carousel-control-next {
        width: 40px;
        height: 40px;
    }
}
