/* Animaciones para las tarjetas */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Clases de animación */
.animate-fadeInUp {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-scaleIn {
    animation: scaleIn 0.6s ease-out forwards;
}

.animate-slideInLeft {
    animation: slideInLeft 0.6s ease-out forwards;
}

.animate-slideInRight {
    animation: slideInRight 0.6s ease-out forwards;
}

/* Retrasos de animación */
.delay-1 { animation-delay: 0.2s; }
.delay-2 { animation-delay: 0.4s; }
.delay-3 { animation-delay: 0.6s; }
.delay-4 { animation-delay: 0.8s; }

/* Estilos para las tarjetas */
.info-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    margin: 1rem;
    box-shadow: 0 4px 15px var(--shadow-light);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    opacity: 0; /* Comienza invisible para la animación */
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow-medium);
}

.info-card h2 {
    color: var(--primary-blue);
    margin-bottom: 1.5rem;
    position: relative;
}

.info-card h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--accent-blue);
    border-radius: 2px;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

/* Estilos específicos para cada tipo de tarjeta */
.card-horario { background: linear-gradient(135deg, #ffffff 0%, #f0f7ff 100%); }
.card-actividades { background: linear-gradient(135deg, #ffffff 0%, #fff7f0 100%); }
.card-documentos { background: linear-gradient(135deg, #ffffff 0%, #f0fff7 100%); }
.card-programas { background: linear-gradient(135deg, #ffffff 0%, #fff0f7 100%); }

/* Estilos para listas dentro de las tarjetas */
.info-card ul {
    list-style: none;
    padding: 0;
}

.info-card ul li {
    padding: 0.5rem 0;
    margin-bottom: 0.5rem;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    transition: transform 0.2s ease;
    display: flex;
    align-items: center;
}

.info-card ul li:before {
    content: '•';
    color: var(--accent-blue);
    font-weight: bold;
    margin-right: 0.5rem;
}

.info-card ul li:hover {
    transform: translateX(5px);
}

/* Estilos para destacados */
.highlight {
    background: var(--accent-blue-light);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    margin: 1rem 0;
    display: inline-block;
}

.note {
    font-style: italic;
    color: var(--text-light);
    margin-top: 1rem;
    padding-left: 1rem;
    border-left: 3px solid var(--accent-blue);
}
