/* testimonial-carousel.css */
.testimonial-container {
    width: 100%;
    max-width: 1200px;
    padding: 20px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}

.testimonial-wrapper {
    display: flex;
    transition: transform 0.5s ease;
    padding: 20px 0;
    margin: 0 auto;
    width: fit-content;
}

.testimonial {
    flex: 0 0 500px; /* Fixed width for each testimonial */
    margin: 0 20px;
    background: #ECF9F9;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
    opacity: 0.5;
    transform: scale(0.8);
    position: relative;
}

.testimonial.active {
    opacity: 1;
/*     transform: scale(1); */
    z-index: 2;
}

.testimonial.prev,
.testimonial.next {
    opacity: 0.5;
    transform: scale(0.8);
    z-index: 1;
}

.stars {
    color: #4CAF50;
    font-size: 20px;
    margin-bottom: 15px;
}

.content {
    color: #666;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 14px;
}

.profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-img, .profile-img-placeholder {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    background: #e0e0e0;
}

.profile-info h4 {
    color: #333;
    margin-bottom: 5px;
    font-size: 16px;
}

.profile-info p {
    color: #666;
    font-size: 14px;
}

.navigation {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 30px;
}

.nav-dot {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #ddd;
    cursor: pointer;
    transition: all 0.3s ease;
    overflow: hidden;
    opacity: 0.5;
}

.nav-dot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-dot.active {
    border-color: #4CAF50;
    transform: scale(1.2);
    opacity: 1;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #4CAF50;
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 3;
}

.prev-button {
    left: 20px;
}

.next-button {
    right: 20px;
}

@media (max-width: 1024px) {
    .testimonial {
        flex: 0 0 380px;
    }
}

@media (max-width: 768px) {
    .testimonial {
        flex: 0 0 260px;
    }
}