.testimonial-section {
    background: linear-gradient(135deg, hsl(var(--light)) 0%, hsl(var(--white)) 50%, hsl(var(--light)) 100%);
    position: relative;
    overflow: hidden;
}

.testimonial-section::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, hsl(var(--base) / 0.03) 0%, transparent 70%);
    animation: pulse 15s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

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

.testimonial-subtitle {
    display: inline-block;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: hsl(var(--base));
    margin-bottom: 0.75rem;
}

.testimonial-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: hsl(var(--heading));
    margin-bottom: 1rem;
}

.testimonial-desc {
    font-size: 1rem;
    color: hsl(var(--text)/0.7);
    max-width: 500px;
    margin: 0 auto;
}

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

.testimonial-slider .testimonial-card {
    margin: 0;
}

.testimonial-card {
    background: hsl(var(--white));
    border-radius: 20px;
    padding: 2.5rem;
    margin: 1rem;
    position: relative;
    box-shadow: 0 10px 40px hsl(var(--black) / 0.06);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid hsl(var(--border)/0.5);
    display: block !important;
}

.testimonial-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px hsl(var(--black) / 0.12);
    border-color: hsl(var(--base)/0.3);
}

.testimonial-card__rating {
    display: flex;
    gap: 4px;
}

.testimonial-card__rating i {
    color: #FFB800;
    font-size: 1rem;
}

.testimonial-card__text {
    font-size: 1.05rem;
    line-height: 1.8;
    color: hsl(var(--text));
    margin-bottom: 1.5rem;
    font-style: italic;
}

.testimonial-card__author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-card__avatar {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 3px solid hsl(var(--base)/0.2);
}

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

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, hsl(var(--base)), hsl(var(--base-600)));
    color: hsl(var(--white));
    font-size: 1.25rem;
    font-weight: 600;
}

.testimonial-card__info {
    flex: 1;
}

.testimonial-card__name {
    font-size: 1rem;
    font-weight: 600;
    color: hsl(var(--heading));
}

.testimonial-card__role {
    font-size: 0.8rem;
    color: hsl(var(--base));
    font-weight: 500;
}

.testimonial-card__quote {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-size: 3rem;
    color: hsl(var(--base)/0.1);
    line-height: 1;
}

.testimonial-slider .owl-stage-outer {
    overflow: visible;
}

.testimonial-slider .owl-dots {
    margin-top: 2rem !important;
    display: flex !important;
    justify-content: center;
    gap: 10px;
}

.testimonial-slider .owl-dots .owl-dot span {
    width: 12px;
    height: 12px;
    background: hsl(var(--border));
    border-radius: 50%;
    transition: all 0.3s ease;
}

.testimonial-slider .owl-dots .owl-dot.active span {
    background: hsl(var(--base));
    width: 30px;
    border-radius: 6px;
}

.testimonial-slider .owl-dots .owl-dot:hover span {
    background: hsl(var(--base)/0.7);
}

@media (max-width: 767px) {
    .testimonial-section {
        padding: 3rem 0;
    }
    
    .testimonial-title {
        font-size: 1.75rem;
    }
    
    .testimonial-card {
        padding: 1.75rem;
    }
    
    .testimonial-card__text {
        font-size: 0.95rem;
    }
    
    .testimonial-card__quote {
        font-size: 2rem;
        top: 1rem;
        right: 1rem;
    }
}

@media (max-width: 400px) {
    .testimonial-card {
        padding: 1.5rem;
    }
    
    .testimonial-card__avatar {
        width: 45px;
        height: 45px;
    }
}
