/* Testimonial Swiper Styles */
.testimonial-swiper-container {
    width: 100%;
    padding: 40px 0;
    background: #f8f9fa;
}

.testimonial-section-title {
    text-align: center;
    margin-bottom: 50px;
}

.testimonial-section-title h2 {
    font-size: 36px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    position: relative;
}

.testimonial-section-title h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: #61CE70;
    border-radius: 2px;
}

.testimonial-section-title .subtitle {
    color: #61CE70;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
}

.testimonial-swiper {
    width: 100%;
    padding: 20px 0 60px 0;    
}

.testimonial-slide {
    background: white;
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    height: auto;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.testimonial-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #1A1A1A 50%, #61CE70 100%);
}

.testimonial-slide:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.testimonial-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.testimonial-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #e9ecef;
    transition: border-color 0.3s ease;
}

.testimonial-slide:hover .testimonial-avatar {
    border-color: #61CE70;
}

.testimonial-author-info h4 {
    font-size: 18px;
    font-weight: 600;
    color: #333;
    margin: 0 0 5px 0;
}

.testimonial-author-info .position {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.testimonial-content {
    margin-bottom: 20px;
}

.testimonial-title {
    font-size: 20px;
    font-weight: 600;
    color: #61CE70;
    margin-bottom: 15px;
    line-height: 1.4;
}

.testimonial-text {
    font-size: 15px;
    line-height: 1.6;
    color: #666;
    margin: 0;
}

.testimonial-rating {
    display: flex;
    align-items: center;
    margin-top: 15px;
}

.testimonial-rating i {
    color: #ffc107;
    font-size: 16px;
    margin-right: 2px;
}

.testimonial-rating i.icon-star-empty {
    color: #dee2e6;
}

/* Custom Swiper Navigation */
.testimonial-swiper .swiper-button-next,
.testimonial-swiper .swiper-button-prev {
    width: 50px;
    height: 50px;
    background: white;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    color: #61CE70;
    margin-top: -25px;
    transition: all 0.3s ease;
}

.testimonial-swiper .swiper-button-next:hover,
.testimonial-swiper .swiper-button-prev:hover {
    background: #61CE70;
    color: white;
    transform: scale(1.1);
}

.testimonial-swiper .swiper-button-next::after,
.testimonial-swiper .swiper-button-prev::after {
    font-size: 18px;
    font-weight: 600;
}

/* Custom Swiper Pagination */
.testimonial-swiper .swiper-pagination {
    position: relative;
    margin-top: 30px;
}

.testimonial-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: #dee2e6;
    opacity: 1;
    transition: all 0.3s ease;
}

.testimonial-swiper .swiper-pagination-bullet-active {
    background: #61CE70;
    transform: scale(1.2);
}

/* Responsive Design */
@media (max-width: 1200px) {
    .testimonial-slide {
        padding: 25px;
    }
}

@media (max-width: 768px) {
    .testimonial-section-title h2 {
        font-size: 28px;
    }
    
    .testimonial-slide {
        padding: 20px;
        margin: 0 10px;
    }
    
    .testimonial-avatar {
        width: 50px;
        height: 50px;
    }
    
    .testimonial-swiper .swiper-button-next,
    .testimonial-swiper .swiper-button-prev {
        display: none;
    }
}

@media (max-width: 480px) {
    .testimonial-header {
        flex-direction: column;
        text-align: center;
        align-items: center;
    }
    
    .testimonial-avatar {
        margin-right: 0;
        margin-bottom: 10px;
    }
    
    .testimonial-title {
        font-size: 18px;
    }
}

/* Loading Animation */
.testimonial-swiper-container.loading {
    opacity: 0.7;
}

.testimonial-swiper-container.loaded {
    opacity: 1;
    transition: opacity 0.5s ease;
}

/* Icon styles for Flatsome compatibility */
.icon-star:before {
    content: "★";
}

.icon-star-empty:before {
    content: "★";
}