/* Testimonials Section */
.testimonials-section {
    padding: 100px 0;
    background-color: #f8f9ff;
    position: relative;
    overflow: hidden;
}

.testimonials-section .section-intro {
    text-align: center;
    margin-bottom: 50px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.testimonials-section .section-badge {
    display: inline-block;
    background: rgba(0, 174, 186, 0.1);
    color: #00AEBA;
    font-size: 14px;
    font-weight: 600;
    padding: 8px 20px;
    border-radius: 50px;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.testimonials-section .section-title {
    font-size: 2.5rem;
    color: #1F2526;
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.testimonials-section .section-title .highlight {
    color: #00AEBA;
    position: relative;
}

.testimonials-section .section-subtitle {
    color: #666;
    font-size: 1.1rem;
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.testimonial-card {
    background: #fff;
    border-radius: 15px;
    padding: 35px 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.03);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.testimonial-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
}

.testimonial-quote {
    position: absolute;
    top: 25px;
    right: 30px;
    color: rgba(98, 238, 255, 0.2);
    font-size: 60px;
    line-height: 1;
    z-index: 1;
}

.testimonial-rating {
    color: #FFD700;
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    z-index: 2;
}

.testimonial-rating i {
    margin-right: 3px;
}

.testimonial-text {
    font-size: 16px;
    line-height: 1.7;
    color: #555;
    margin-bottom: 25px;
    position: relative;
    z-index: 2;
    flex-grow: 1;
}

.testimonial-author {
    display: flex;
    align-items: center;
    margin-top: auto;
    position: relative;
    z-index: 2;
}

.author-image {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
    border: 3px solid #62EEFF;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.author-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.author-info h4 {
    font-size: 18px;
    font-weight: 600;
    margin: 0 0 5px;
    color: #1a1a1a;
}

.author-info span {
    font-size: 14px;
    color: #62EEFF;
    font-weight: 500;
    display: block;
}

/* Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    opacity: 0;
    animation: fadeInUp 0.6s ease-out forwards;
}

/* Responsive Styles */
@media (max-width: 1199px) {
    .testimonials-grid {
        grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    }
}

@media (max-width: 991px) {
    .testimonials-section {
        padding: 80px 0;
    }
    
    .testimonials-section .section-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 767px) {
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonials-section .section-title {
        font-size: 2rem;
    }
    
    .testimonials-section .section-subtitle {
        font-size: 1rem;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
    
    .testimonial-text {
        font-size: 15px;
    }
    
    .author-info h4 {
        font-size: 16px;
    }
    
    .author-info span {
        font-size: 13px;
    }
}

@media (max-width: 480px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .testimonials-section .section-title {
        font-size: 1.8rem;
    }
    
    .testimonial-card {
        padding: 25px 20px;
    }
}
