/* Testimonials Carousel Styles */
.section {
    background-color: #f8f9fa;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.testimonials-wrap {
    padding: 40px 0;
}

.ux-carousel.ux-testimonials {
    max-width: 800px;
    margin: 0 auto;
}

/* Carousel Item Styles */
.carousel-item {
    padding: 20px;
    min-height: 400px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-quote {
    text-align: center;
    background: #ffffff;
    padding: 50px 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: none;
    margin: 0;
    position: relative;
    max-width: 840px;
    max-height: 100vh;
    width: 100%;
}

.testimonial-quote::before {
    content: '"';
    font-size: 80px;
    color: #007bff;
    position: absolute;
    top: 20px;
    left: 30px;
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-quote p {
    font-size: 18px;
    line-height: 1.6;
    color: #333;
    margin-bottom: 30px;
    font-style: italic;
    padding-top: 20px;
}

/* Author Info Styles */
.author-info {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.thumb {
    text-decoration: none;
    display: block;
}

.author-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    border: 5px solid #000;
    transition: transform 0.3s ease;
}

.author-image:hover {
    transform: scale(1.1);
}

.author-details {
    text-align: left;
    margin: 0;
}

.author-details {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    line-height: 1.4;
}

.author-details a {
    color: #007bff;
    text-decoration: none;
    font-weight: 400;
    transition: color 0.3s ease;
}

.author-details a:hover {
    color: #0056b3;
    text-decoration: underline;
}

/* Carousel Controls */
.carousel-control-prev,
.carousel-control-next {
    width: 50px;
    height: 50px;
    background-color: #007bff;
    border-radius: 50%;
    top: 50%;
    transform: translateY(-50%);
    opacity: 0.8;
    transition: all 0.3s ease;
}

.carousel-control-prev {
    left: -25px;
}

.carousel-control-next {
    right: -25px;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
    opacity: 1;
    background-color: #0056b3;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 20px;
    height: 20px;
}

/* Carousel Indicators */
.carousel-indicators {
    bottom: -80px;
}

.carousel-indicators button {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background-color: #dee2e6;
    border: none;
    margin: 0 5px;
    transition: all 0.3s ease;
}

.carousel-indicators button.active {
    background-color: #007bff;
    transform: scale(1.2);
}

.carousel-indicators button:hover {
    background-color: #007bff;
}

/* Responsive Design */
@media (max-width: 768px) {
    .author-info {
        flex-direction: column;
        gap: 15px;
    }
    
    .author-details {
        text-align: center;
    }
    
    .testimonial-quote {
        padding: 30px 20px;
    }
    
    .testimonial-quote p {
        font-size: 16px;
    }

    .testimonial-quote::before {
        top:10px;
    }
    
    .carousel-control-prev,
    .carousel-control-next {
        display: none;
    }
    
    .author-image {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .testimonial-quote::before {
        font-size: 60px;
        top: -5px;
        left: 20px;
    }
    
    .testimonial-quote {
        padding: 25px 15px;
    }
    
    .testimonial-quote p {
        font-size: 14px;
        padding-top: 15px;
    }

    .testimonial-quote::before {
        top:10px;
        /* border:2px solid #ffac00; */
    }
    
}

/* Animation for smooth transitions */
.carousel-item {
    transition: transform 0.6s ease-in-out;
}

/* Custom fade effect */
.carousel-fade .carousel-item {
    opacity: 0;
    transition-property: opacity;
    transform: none;
}

.carousel-fade .carousel-item.active,
.carousel-fade .carousel-item-next.carousel-item-start,
.carousel-fade .carousel-item-prev.carousel-item-end {
    z-index: 1;
    opacity: 1;
}

.carousel-fade .active.carousel-item-start,
.carousel-fade .active.carousel-item-end {
    z-index: 0;
    opacity: 0;
    transition: opacity 0s 0.6s;
}
