/**
 * MD Testimonials Slider - Frontend Styles
 * Author: Adrian Chromenko / PrimaryDM.com
 */

.mdts-testimonials-slider {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 40px 20px;
    border-radius: 0;
    background: transparent !important;
}

.mdts-testimonials-wrapper {
    position: relative;
    min-height: 200px;
    overflow: hidden;
}

.mdts-testimonial-item {
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    text-align: center;
    padding: 20px;
}

.mdts-testimonial-item.active {
    opacity: 1;
    visibility: visible;
    position: relative;
}

.mdts-testimonial-image-wrapper {
    margin-bottom: 20px;
}

.mdts-testimonial-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.mdts-testimonial-content {
    margin-bottom: 20px;
    line-height: 1.6;
    font-style: italic;
}

.mdts-testimonial-content p {
    margin: 0 0 15px 0;
}

.mdts-testimonial-content p:last-child {
    margin-bottom: 0;
}

.mdts-testimonial-rating {
    color: #ffa500;
    font-size: 20px;
    margin-bottom: 15px;
}

.mdts-testimonial-author {
    margin-top: 20px;
}

.mdts-testimonial-name {
    font-weight: bold;
    margin-bottom: 5px;
}

.mdts-testimonial-position {
    font-style: italic;
    margin-bottom: 2px;
}

.mdts-testimonial-company {
    margin-top: 2px;
}

/* Slider Controls */
.mdts-slider-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.mdts-prev,
.mdts-next {
    background: transparent;
    border: none;
    width: auto;
    height: auto;
    border-radius: 0;
    font-size: 40px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #ff6600;
    box-shadow: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    padding: 10px;
}

.mdts-prev:hover,
.mdts-next:hover {
    background: transparent;
    transform: scale(1.2);
    color: #ff8c00;
    box-shadow: none;
}

.mdts-prev:active,
.mdts-next:active {
    transform: scale(1.1);
    color: #e55a00;
}

/* Dots Navigation */
.mdts-dots {
    display: flex;
    gap: 8px;
}

.mdts-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    padding: 0;
}

.mdts-dot:hover {
    background: rgba(255, 102, 0, 0.6);
    transform: scale(1.2);
}

.mdts-dot.active {
    background: #ff6600;
    transform: scale(1.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .mdts-testimonials-slider {
        padding: 30px 15px;
    }

    .mdts-testimonial-content {
        font-size: 16px;
    }

    .mdts-prev,
    .mdts-next {
        font-size: 35px;
    }
}
