/* Testimonial Slider Styles */
.testimonial-slider-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    padding: 0 60px;
    overflow: hidden;
}

/* Navigation Arrows Styling */
.testimonial-nav .testimonial-prev,
.testimonial-nav .testimonial-next {
    cursor: pointer;
    color: #fff;
    font-size: 20px;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #ff8a00; /* Orange color */
    border-radius: 50%;
    box-shadow: 0 4px 10px rgba(255, 138, 0, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    opacity: 0.9;
}

.testimonial-nav .testimonial-prev {
    left: 10px;
}

.testimonial-nav .testimonial-next {
    right: 10px;
}

.testimonial-nav .testimonial-prev:hover,
.testimonial-nav .testimonial-next:hover {
    background: #ff6a00; /* Darker orange on hover */
    box-shadow: 0 6px 15px rgba(255, 106, 0, 0.5);
    transform: translateY(-50%) scale(1.1);
    opacity: 1;
}

/* Testimonial Slides Styling */
.testimonial-slides {
    position: relative;
    overflow: hidden;
    padding: 20px 0;
}

.testimonial-slides .testimonial-slide {
    display: none;
    opacity: 0;
    transform: translateX(50px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    width: 100%;
}

.testimonial-slides .testimonial-slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
    animation: fadeInSlide 0.8s ease forwards;
}

@keyframes fadeInSlide {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Enhance testimonial content */
.testimonial-slide .inner-box {
    max-width: 800px;
    margin: 0 auto;
    transition: all 0.3s ease;
    border-radius: 15px;
    overflow: hidden;
}

.testimonial-slide .text {
    background-color: #f8f9fa;
    border-left: 5px solid #ff8a00; /* Orange border */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    position: relative;
}

.testimonial-slide .text:before {
    content: '\201C'; /* Opening quote mark */
    position: absolute;
    top: 10px;
    left: 20px;
    font-size: 60px;
    color: rgba(255, 138, 0, 0.15); /* Light orange quote */
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-slide .text p {
    position: relative;
    z-index: 1;
}

.testimonial-slide .author {
    transition: all 0.3s ease;
}

.testimonial-slide .thumb-box img {
    border: 3px solid #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.testimonial-slide.active .inner-box:hover .text {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.testimonial-slide.active .inner-box:hover .thumb-box img {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Pagination dots */
.testimonial-pagination {
    display: flex;
    justify-content: center;
    margin-top: 30px;
}

.testimonial-pagination .dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: #ccc;
    margin: 0 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.testimonial-pagination .dot.active {
    background: #ff8a00; /* Orange color */
    width: 25px;
    border-radius: 10px;
}

/* Make sure the navigation arrows are clickable */
.testimonial-prev,
.testimonial-next {
    cursor: pointer !important;
}

/* Responsive adjustments */
@media (max-width: 767px) {
    .testimonial-slider-container {
        padding: 0 40px;
    }
    
    .testimonial-nav .testimonial-prev,
    .testimonial-nav .testimonial-next {
        width: 40px;
        height: 40px;
        font-size: 16px;
    }
    
    .testimonial-pagination .dot {
        width: 8px;
        height: 8px;
    }
    
    .testimonial-pagination .dot.active {
        width: 20px;
    }
}
