/* Estilos específicos para la página de testimonios */
.testimonials-hero {
    background: linear-gradient(rgba(11, 31, 80, 0.8), rgba(11, 31, 80, 0.9)), url('/ICP/public/img/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    padding: 100px 0 50px;
    text-align: center;
    color: var(--dark-text-primary);
}

.testimonials-title {
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: var(--dark-text-primary);
    font-weight: 700;
}

.testimonials-subtitle {
    font-size: 1.2rem;
    margin-bottom: 30px;
    color: var(--dark-text-secondary);
}

.title-underline {
    width: 80px;
    height: 4px;
    background-color: var(--citrine);
    margin: 0 auto 30px;
    border-radius: 2px;
}

.testimonials-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(11, 31, 80, 0.05), rgba(30, 58, 138, 0.1));
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 0;
    margin-bottom: 30px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.testimonial-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    border-color: var(--citrine);
}

.testimonial-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--citrine), #ffd700);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.testimonial-card:hover::before {
    transform: scaleX(1);
}

.testimonial-content {
    position: relative;
    z-index: 1;
}

.testimonial-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 20px;
    color: var(--dark-text-primary);
    padding: 25px 25px 0;
    text-align: center;
}

.testimonial-video {
    position: relative;
    width: 100%;
    margin-bottom: 20px;
}

.testimonial-iframe {
    width: 100%;
    height: 300px;
    border: none;
    border-radius: 0 0 20px 20px;
    transition: transform 0.3s ease;
}

.testimonial-card:hover .testimonial-iframe {
    transform: scale(1.02);
}

.no-testimonials {
    text-align: center;
    padding: 80px 20px;
    color: var(--dark-text-secondary);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.05));
    backdrop-filter: blur(10px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin: 20px;
}

.no-testimonials i {
    color: var(--citrine);
    margin-bottom: 20px;
    opacity: 0.7;
}

.no-testimonials h3 {
    color: var(--dark-text-primary);
    margin-bottom: 15px;
    font-weight: 600;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .testimonial-iframe {
        height: 280px;
    }
}

@media (max-width: 992px) {
    .testimonials-title {
        font-size: 2.2rem;
    }
    
    .testimonial-iframe {
        height: 250px;
    }
    
    .testimonial-title {
        font-size: 1.3rem;
    }
}

@media (max-width: 768px) {
    .testimonials-hero {
        padding: 80px 0 40px;
    }
    
    .testimonials-title {
        font-size: 2rem;
    }
    
    .testimonials-subtitle {
        font-size: 1.1rem;
    }
    
    .testimonials-section {
        padding: 60px 0;
    }
    
    .testimonial-card {
        margin-bottom: 25px;
    }
    
    .testimonial-iframe {
        height: 220px;
    }
    
    .testimonial-title {
        font-size: 1.2rem;
        padding: 20px 20px 0;
    }
}

@media (max-width: 576px) {
    .testimonials-hero {
        padding: 60px 0 30px;
    }
    
    .testimonials-title {
        font-size: 1.8rem;
    }
    
    .testimonials-subtitle {
        font-size: 1rem;
        padding: 0 15px;
    }
    
    .testimonials-section {
        padding: 40px 0;
    }
    
    .testimonial-card {
        margin-bottom: 20px;
        border-radius: 15px;
    }
    
    .testimonial-iframe {
        height: 200px;
        border-radius: 0 0 15px 15px;
    }
    
    .testimonial-title {
        font-size: 1.1rem;
        padding: 15px 15px 0;
    }
    
    .no-testimonials {
        padding: 60px 15px;
        margin: 15px;
    }
}

@media (max-width: 400px) {
    .testimonial-iframe {
        height: 180px;
    }
    
    .testimonials-title {
        font-size: 1.6rem;
    }
    
    .testimonial-title {
        font-size: 1rem;
    }
}

/* Animaciones adicionales */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.testimonial-card {
    animation: fadeInUp 0.6s ease forwards;
}

.testimonial-card:nth-child(even) {
    animation-delay: 0.2s;
}

.testimonial-card:nth-child(odd) {
    animation-delay: 0.1s;
}

/* Efecto de carga para videos */
.testimonial-iframe {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% {
        background-position: 200% 0;
    }
    100% {
        background-position: -200% 0;
    }
}