

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.testimonial-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 40px 40px 20px 40px;
    margin: 0;
    box-shadow: var(--shadow);
    border: 1px solid rgba(108, 99, 255, 0.1);
    transition: all 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.testimonial-img {
    width: 200px;
    height: 250px;
    border-radius: 12px;
    overflow: hidden;
    margin: 0 auto 20px;
}

.testimonial-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.testimonial-img img:hover {
    transform: scale(1.05);
}

.testimonial-text {
    font-size: 15px;
    color: #000;
    line-height: 1.6;
    margin-bottom: 15px;
    font-style: italic;
}

.testimonial-author h4 {
    font-size: 16px;
    color: var(--dark);
    margin-bottom: 3px;
}

.testimonial-author span {
    font-size: 13px;
    color: var(--accent);
    display: block;
    margin-bottom: 2px;
}

.testimonial-author small {
    font-size: 12px;
    color: var(--gray);
    margin: 0;
}

.certs-frame .frame-content img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    border-radius: var(--radius);
    margin-bottom: 15px;
}

.certs-frame .frame-content span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--dark);
    margin-bottom: 5px;
}

.certs-frame .frame-content small {
    font-size: 12px;
    color: var(--gray);
}

/* Moving Frame Animation */
.moving-frame-container {
    overflow: hidden;
    padding: 20px 0;
}

.frame-wrapper {
    width: 100%;
    overflow: hidden;
}

.moving-frame {
    display: flex;
    gap: 20px;
    animation: scrollLeft 20s linear infinite;
    width: max-content;
}

.moving-frame.certs-frame {
    gap: 30px;
}

.frame-item {
    flex-shrink: 0;
}

.frame-content {
    background: white;
    border-radius: var(--radius);
    padding: 15px;
    box-shadow: var(--shadow);
    border: 1px solid rgba(108, 99, 255, 0.1);
    width: 250px;
    text-align: center;
}

@keyframes scrollLeft {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.moving-frame:hover {
    animation-play-state: paused;
}

/* Responsive */
@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .testimonial-card {
        padding: 25px 20px 15px 20px;
    }
    
    .testimonial-img {
        width: 80px;
        height: 100px;
    }
    
    .testimonial-text {
        font-size: 14px;
        line-height: 1.5;
    }
    
    .testimonial-author h4 {
        font-size: 15px;
    }
    
    .testimonial-author span {
        font-size: 12px;
    }
    
    .testimonial-author small {
        font-size: 11px;
    }
    
    .moving-frame {
        animation-duration: 15s;
    }
    
    .frame-content {
        width: 200px;
    }
}