/**
 * Testimonials CSS
 */

.tevimevi-testimonials-container {
    background-color: #00b2e3; /* Blue background color */
    padding: 40px 20px;
    text-align: center;
    color: #ffffff;
    position: relative;
    margin-top: 40px;
    border-radius: 10px;
    margin-bottom: 40px;
}

.testimonials-heading {
    font-size: 32px;
    font-weight: 400;
    margin-bottom: 30px;
    color: #ffffff;
    font-family: 'Cal Sans', sans-serif;
}

.testimonials-slider {
    position: relative;
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.testimonials-wrapper {
    overflow: hidden;
    flex: 1;
    position: relative;
}

.testimonial-slide {
    position: absolute;
    width: 100%;
    opacity: 0;
    transform: translateX(100%);
    transition: transform 0.5s ease, opacity 0.5s ease;
}

.testimonial-slide.prev {
    opacity: 0;
    transform: translateX(-100%);
}

.testimonial-slide.active {
    position: relative;
    opacity: 1;
    transform: translateX(0);
    z-index: 2;
}

.testimonial-card {
    background-color: #ffffff;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    text-align: left;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.testimonial-image {
    width: 80px;
    margin-right: 20px;
}

.testimonial-image img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.testimonial-content {
    flex: 1;
}

.testimonial-text {
    font-size: 18px;
    line-height: 1.5;
    color: #333333;
    margin-bottom: 10px;
    font-style: italic;
}

.testimonial-info{
  display: flex;
}

.testimonial-name {
    font-weight: 600;
    font-size: 16px;
    color: #333333;
    margin-bottom: 5px;
    flex: 1;
}

.testimonial-rating {
    display: flex;
    flex: 1;
}

.testimonial-rating .star {
    color: #cccccc;
    font-size: 20px;
}

.testimonial-rating .star.filled {
    color: #ffc107; /* Yellow star color */
}

.testimonial-nav {
    background-color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
    margin: 0 10px;
    font-size: 18px;
    color: #00b2e3;
}

.testimonial-nav:focus {
    outline: none;
}

.testimonials-pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    gap: 8px;
}

.pagination-dot {
    width: 10px;
    height: 10px;
    background-color: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
}

.pagination-dot.active {
    background-color: #ffffff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .testimonial-card {
        flex-direction: column;
    }
    
    .testimonial-image {
        width: 60px;
        margin: 0 auto 15px;
    }
    
    .testimonial-content {
        text-align: center;
    }
    
    .testimonial-rating {
        justify-content: center;
    }
}
