

/* Timeline con colores mejorados */
.timeline-item h4 {
    background: linear-gradient(to right, #ff7f00, #ec8013);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-size: 22px;
    font-weight: bold;
}

.timeline-item p {
    color: #333;
    text-align: justify;
    font-size: 16px;
    font-weight: 500;
}

.timeline-item i {
    color: #6610f2;
    font-size: 22px;
    padding: 5px;
    border-radius: 50%;
    background: rgba(102, 16, 242, 0.1);
    box-shadow: 0px 0px 8px rgba(102, 16, 242, 0.5);
}

/* Efecto hover en cada evento */
.timeline-item:hover {
    background: rgba(0, 123, 255, 0.1);
    transform: scale(1.05);
    transition: all 0.3s ease-in-out;
}

.timeline-item p:hover {
    color: #ff7f00;
}

    /* Estilos del timeline */
    .timeline {
        position: relative;
        max-width: 900px;
        margin: 35px auto;
    }

    .timeline::after {
        content: '';
        position: absolute;
        width: 4px;
        background: linear-gradient(to bottom, #303576, #262a5d);
        top: 0;
        bottom: 0;
        left: 50%;
        margin-left: -2px;
    }

    .timeline-item {
        padding: 20px 40px;
        position: relative;
        background: white;
        border-radius: 10px;
        width: 45%;
        box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.2);
        transform: scale(0.9) translateY(50px);
        opacity: 0;
        transition: all 0.8s ease-in-out;
    }

    .timeline-item:nth-child(odd) {
        left: 0;
        transform: translateX(-100px);
    }

    .timeline-item:nth-child(even) {
        left: 55%;
        transform: translateX(100px);
    }

    .timeline-item.show {
        opacity: 1;
        transform: translateX(0) scale(1);
    }

    .timeline-item::before {
        content: '';
        position: absolute;
        width: 18px;
        height: 18px;
        background: #ff7f00;
        border-radius: 50%;
        top: 20px;
        right: -9px;
        box-shadow: 0px 0px 10px rgba(255, 166, 0, 0.8);
    }

    .timeline-item:nth-child(even)::before {
        left: -9px;
    }

    .timeline-item h4 {
        color: #007bff;
        font-weight: bold;
    }

    .timeline-item i {
        color: #6610f2;
        margin-right: 10px;
    }

    /* Sección de Misión, Visión y Objetivo */

    .section-mv {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 20px;
        padding: 20px;
        background: #f8f9fa;
        border-radius: 10px;
        margin-bottom: 20px;
        opacity: 0;
        transform: translateY(30px);
        transition: all 0.5s ease-in-out;
    }
    .seccion-mv {
        text-align: center;
        padding: 10px 20px;
       /* background: linear-gradient(to bottom, #007bff, #6610f2);*/
        color: white;
        border-radius: 0 0 50px 50px;
    }

    .section-mv.show {
        opacity: 1;
        transform: translateY(0);
    }

    .section-mv img {
        width: 10%;
        max-width: 300px;  /* Controla el tamaño máximo */
        height: auto;  /* Mantiene proporción */
        border-radius: 10px;
        box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.2);
        transition: transform 0.3s ease-in-out;
    }

    .section-mv img:hover {
        transform: scale(1.05);  /* Efecto zoom suave */
    }

    .section-mv .info-mv {
        width: 80%;
        text-align: left;
    }

    .section-mv h4 {
        font-size: 24px;
        color: #ff7f00;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .section-mv p {
        text-align: justify;
        font-size: 16px;
        color: #333;
        line-height: 1.6;
    }

    /* Responsive */
    @media (max-width: 768px) {
        .section-mv {
            flex-direction: column;
            text-align: center;
        }
        .section-mv img {
            width: 90%;  /* Hace que la imagen ocupe más espacio en pantallas pequeñas */
            max-width: 250px; 
        }
        .section-mv .info-mv {
            width: 100%;
        }
    }
   
    .card-mv {
        background: white;
        padding: 25px;
        border-radius: 10px;
        box-shadow: 0 6px 15px rgba(0, 0, 0, 0.3);
        margin: 20px auto;
        width: 85%;
        transform: scale(0.8) translateY(50px);
        opacity: 0;
        transition: all 0.7s ease-in-out;
        text-align: center;
    }

    .card-mv.show {
        opacity: 1;
        transform: scale(1) translateY(0);
    }

    .card-mv img {
        width: 90px;
        margin-bottom: 10px;
        animation: bounceIn 1.2s ease-in-out;
    }

    @keyframes bounceIn {
        0% { transform: scale(0.5); opacity: 0; }
        60% { transform: scale(1.1); opacity: 1; }
        100% { transform: scale(1); }
    }

    .card-mv h4 {
        color: #ff7f00;
        font-weight: bold;
        margin-bottom: 10px;
    }

    .card-mv p {
        color: #444;
        font-size: 16px;
    }
    


    