.testimonials {
    background: linear-gradient(135deg, #008B8B 0%, #006666 100%);
    background-size: 200% 200%;
    animation: gradientShift 15s ease infinite;
    color: white;
    padding: 80px 5%;
    text-align: center;
    position: relative;
}

.testimonials::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('pattern.png');
    background-size: cover;
    opacity: 0.05;
    z-index: 0;
}

.testimonials .section-title {
    color: white;
    position: relative;
    z-index: 1;
    animation: fadeIn 0.8s ease-out;
}

.testimonials .section-title::after {
    background-color: #FFD700;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.testimonial-card {
    background: white;
    color: #333;
    border-radius: 15px;
    padding: 35px 30px;
    text-align: left;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    animation: fadeIn 1s ease-out;
    transform: translateZ(0);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 20px;
    font-size: 70px;
    color: rgba(0, 139, 139, 0.1);
    font-family: Georgia, serif;
    line-height: 1;
}

.testimonial-content {
    font-style: italic;
    margin-bottom: 20px;
    font-size: 16px;
    line-height: 1.8;
    color: #555;
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.author-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #f0f0f0;
}

.author-info h4 {
    margin: 0;
    font-size: 18px;
    color: #008B8B;
}

.author-info p {
    margin: 5px 0 0;
    font-size: 14px;
    color: #777;
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 3px solid #f0f0f0;
}