.testimonial-section {
    padding: 20px 0;
    overflow: hidden;
}

.testimonial-section .testimonialCard {
    background: white;
    border-radius: 20px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.05);
    border: none;
    z-index: 1;
}

.testimonial-section .testimonialCard::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 10px;
    background: linear-gradient(to right, var(--primary), var(--accent));
}

.testimonial-section .testimonialCard:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-section .testimonialCard.featured {
    border: 3px solid var(--primary);
}

.testimonial-section .client-img {
    width: 110px;
    height: 110px;
    object-fit: cover;
    border-radius: 50%;
    border: 4px solid white;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.testimonial-section .client-name {
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.testimonial-section .client-role {
    color: var(--primary);
    font-weight: 500;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: block;
}

.testimonial-section .testimonial-text {
    color: #555;
    position: relative;
    padding: 0 20px;
}

.testimonial-text::before,
.testimonial-text::after {
    content: '"';
    font-size: 40px;
    color: var(--secondary);
    opacity: 0.3;
    position: absolute;
}

.testimonial-section .testimonial-text::before {
    top: -20px;
    left: -5px;
}

.testimonial-section .testimonial-text::after {
    bottom: -40px;
    right: -5px;
}

.testimonial-section .featured-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent);
    color: white;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 5px 15px rgba(253, 121, 168, 0.3);
}