/* Testimonial carousel styles */
.testimonial-carousel {
    background: linear-gradient(135deg, var(--accent-dark) 0%, var(--primary-color) 100%);
    padding: 60px 0;
    color: white;
    position: relative;
    overflow: hidden;
    margin: 60px 0;
}

.testimonial-carousel::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('images/new/dd712bf1-6ba5-458b-8174-a0d736b7cf1a.jpg');
    background-size: cover;
    background-position: center;
    opacity: 0.15;
    z-index: 0;
}

.testimonial-carousel .container {
    position: relative;
    z-index: 1;
}

.testimonial-carousel h2 {
    text-align: center;
    margin-bottom: 40px;
    font-size: 2.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

.testimonial-slides {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
}

.testimonial-slide {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px;
    margin: 0 auto;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: none;
}

.testimonial-slide.active {
    display: block;
    animation: fadeIn 0.5s ease-in-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.testimonial-content {
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 20px;
    font-style: italic;
    position: relative;
}

.testimonial-content::before {
    content: '"';
    font-size: 4rem;
    position: absolute;
    top: -20px;
    left: -15px;
    color: rgba(255, 255, 255, 0.2);
    font-family: Georgia, serif;
}

.testimonial-author {
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.testimonial-role {
    font-size: 0.9rem;
    opacity: 0.8;
}

.testimonial-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    background-color: var(--accent-light);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    border: 3px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.testimonial-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.testimonial-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 15px;
}

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

.testimonial-dot.active {
    background-color: white;
    transform: scale(1.2);
}

.testimonial-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 2;
}

.testimonial-arrow:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

.testimonial-arrow.prev {
    left: -25px;
}

.testimonial-arrow.next {
    right: -25px;
}

.testimonial-arrow::before {
    content: '';
    width: 15px;
    height: 15px;
    border-top: 3px solid white;
    border-right: 3px solid white;
    display: block;
}

.testimonial-arrow.prev::before {
    transform: rotate(-135deg);
    margin-left: 5px;
}

.testimonial-arrow.next::before {
    transform: rotate(45deg);
    margin-right: 5px;
}

@media (max-width: 768px) {
    .testimonial-carousel {
        padding: 40px 0;
    }
    
    .testimonial-slide {
        padding: 20px;
    }
    
    .testimonial-content {
        font-size: 1rem;
    }
    
    .testimonial-arrow {
        width: 40px;
        height: 40px;
    }
    
    .testimonial-arrow.prev {
        left: 10px;
    }
    
    .testimonial-arrow.next {
        right: 10px;
    }
}
