* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    font-family: Arial, sans-serif;
}

/* Carousel Container */
.carousel-container {
    width: 60%;
    margin: auto;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #06A3DA, #06A3DA);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    color: white;
}

@media (max-width: 768px) {
    .carousel-container {
        width: 90%;
        padding: 20px;
    }
}

/* Carousel Items */
.testimonial-carousel {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
}

.testimonial-item {
    min-width: 100%;
    transition: 0.5s;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
}

.testimonial-item img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid white;
}

@media (max-width: 768px) {
    .testimonial-item img {
        width: 80px;
        height: 80px;
        margin-bottom: 10px;
    }
}

.testimonial-item p {
    font-size: 16px;
    margin: 15px 0;
    opacity: 0.9;
    max-width: 80%;
    line-height: 1.6;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    text-overflow: ellipsis;
}

.container-fluid.py-5 .testimonial-item p {
    overflow: visible;
    display: block;
    -webkit-line-clamp: unset;
    line-clamp: unset;
    text-overflow: unset;
    margin: 20px 0;
    line-height: 1.8;
}

@media (max-width: 768px) {
    .testimonial-item p {
        font-size: 14px;
        margin: 10px 0;
        max-width: 95%;
        line-height: 1.4;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    
    .container-fluid.py-5 .testimonial-item p {
        margin: 15px 0;
        line-height: 1.6;
    }
}

.testimonial-item h4 {
    font-size: 18px;
    font-weight: bold;
}

@media (max-width: 768px) {
    .testimonial-item h4 {
        font-size: 16px;
    }
}

.testimonial-item h3 {
    /* font-size: 18px; */
    font-weight: bold;
}

.rating-comp{
    display: flex;
    justify-content: center;
}

/* Navigation Buttons */
.prev, .next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.5);
    color: black;
    border: none;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 50%;
}

.prev { left: 10px; }
.next { right: 10px; }

.prev:hover, .next:hover {
    background: white;
}

/* Dots */
.dots {
    text-align: center;
    margin-top: 15px;
}

.dot {
    height: 10px;
    width: 10px;
    background-color: white;
    border-radius: 50%;
    display: inline-block;
    margin: 5px;
    cursor: pointer;
    opacity: 0.5;
}

.dot.active {
    background-color: rgb(0, 0, 0);
    opacity: 1;
}