/* Testimonials Carousel Styles */

.testimonials-carousel-wrapper {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 20px;
}

.testimonials-swiper {
    padding: 20px 0 60px;
}

.testimonial-slide {
    height: auto;
    display: flex;
    align-items: stretch;
}

.testimonial-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 20px;
    padding: 40px 35px 35px;
    box-shadow: 0 10px 40px rgba(102, 126, 234, 0.3);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    height: 100%;
    min-height: 350px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.1) 0%, rgba(255,255,255,0) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 60px rgba(102, 126, 234, 0.4);
}

.testimonial-card:hover::before {
    opacity: 1;
}

/* Quote Icon */
.quote-icon {
    position: absolute;
    top: 15px;
    left: 25px;
    font-size: 80px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.2);
    font-family: Georgia, serif;
    font-weight: bold;
}

/* Rating */
.testimonial-rating {
    margin-bottom: 20px;
    text-align: center;
    position: relative;
    z-index: 2;
}

.testimonial-rating .star {
    color: #ffd700;
    font-size: 22px;
    margin: 0 3px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

/* Content */
.testimonial-content {
    flex: 1;
    margin-bottom: 25px;
    font-size: 17px;
    line-height: 1.8;
    color: #ffffff;
    text-align: center;
    position: relative;
    z-index: 2;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.testimonial-content p {
    margin: 0;
    font-style: italic;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

/* Author */
.testimonial-author {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    position: relative;
    z-index: 2;
}

.author-image {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info {
    text-align: left;
}

.author-name {
    font-weight: 700;
    font-size: 17px;
    color: #ffffff;
    margin-bottom: 4px;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.author-position {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
}

/* Swiper Navigation Buttons */
.testimonials-swiper .swiper-button-next,
.testimonials-swiper .swiper-button-prev {
    color: #ffffff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 55px;
    height: 55px;
    border-radius: 50%;
    box-shadow: 0 5px 20px rgba(102, 126, 234, 0.4);
    transition: all 0.3s ease;
    opacity: 1;
}

.testimonials-swiper .swiper-button-next:after,
.testimonials-swiper .swiper-button-prev:after {
    font-size: 24px;
    font-weight: bold;
}

.testimonials-swiper .swiper-button-next:hover,
.testimonials-swiper .swiper-button-prev:hover {
    background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
    color: #ffffff;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.6);
    transform: scale(1.15);
}

/* Swiper Pagination */
.testimonials-swiper .swiper-pagination {
    bottom: 20px;
}

.testimonials-swiper .swiper-pagination-bullet {
    width: 12px;
    height: 12px;
    background: rgba(102, 126, 234, 0.5);
    opacity: 1;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.testimonials-swiper .swiper-pagination-bullet-active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 35px;
    border-radius: 8px;
    border-color: rgba(255, 255, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .testimonials-carousel-wrapper {
        padding: 0 15px;
    }
    
    .testimonial-card {
        padding: 30px 25px 25px;
    }
    
    .quote-icon {
        font-size: 60px;
        top: 10px;
        left: 20px;
    }
    
    .testimonial-content {
        font-size: 16px;
    }
    
    .testimonial-author {
        flex-direction: column;
        text-align: center;
    }
    
    .author-info {
        text-align: center;
    }
    
    .author-image {
        width: 55px;
        height: 55px;
    }
    
    .testimonials-swiper .swiper-button-next,
    .testimonials-swiper .swiper-button-prev {
        width: 45px;
        height: 45px;
    }
    
    .testimonials-swiper .swiper-button-next:after,
    .testimonials-swiper .swiper-button-prev:after {
        font-size: 20px;
    }
    
    .testimonial-card {
        min-height: 400px;
    }
}

/* Additional Card Variations - You can add different gradient options */
/*
Alternative gradient options (uncomment to use):

Option 1 - Ocean Blue:
background: linear-gradient(135deg, #2193b0 0%, #6dd5ed 100%);

Option 2 - Sunset Orange:
background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);

Option 3 - Forest Green:
background: linear-gradient(135deg, #0ba360 0%, #3cba92 100%);

Option 4 - Royal Purple:
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); (Current)

To change, replace the background in .testimonial-card
*/
