*{
    
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", sans-serif;
}

/*intro*/



/*----mouse------*/


.mouse-follow{
    position: relative;
}

#follow-image{
    position: absolute;
    width: 50px;
    pointer-events: none;
    display: none;
    z-index: 1;
}

/*--------------------------------------------------*/

.ingresar1{
    background-color: #acc434;
    border-radius: 5px;

}
.ingresar1:hover{
    background-color: #9baf35;
}

.documentos{
    background-color: #8d34c4;
    border-radius: 5px;

}
.documentos:hover{
    background-color: #9baf35;
}

body, html{
    margin: 0;
    padding: 0;
    width: 100%;
height: auto;
}

header{
    width: 100%;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: fixed;
    z-index: 99;
    box-shadow: 0 0 10px #000;
    background: rgba(0, 0, 0, 0.5);
}

#chk1{
    display: none;
}

i{
    color: #fff;
    cursor: pointer;
}

header .logo {
    flex: 1;
    color: #fff;
    margin-left: 50px;
    text-transform: uppercase;
    font-size: 15px;
    width: 50px;
}

header .search-box{
    flex: 1;
    position: relative;
}

.search-box input{
    width: 100%;
    height: 40px;
    border: none;
    outline: none;
    background: #f2f2f2;
    border-radius: 30px;
    color: #313280;
    font-size: 16px;
    text-align: center;
    padding-left: 5px;
    padding-right: 40px;
}

.search-box button{
    cursor: pointer;
    width: 40px;
    height: 40px;
    border-radius: 30px;
    border: none;
    position: absolute;
    top: 0;
    right: 0;
    transform: scale(0.9);
    background: #acc434;
}
header ul{
    flex: 2;
    display: flex;
    justify-content: space-evenly;
}
header ul li{
    list-style: none;
}
header ul li a{
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    text-transform: uppercase;
    padding: 10px 15px;
}
header ul li a:hover{
    border-bottom: 2px solid cadetblue;
}
header .menu{
    font-size:  2.5em;
    display: none;
}

/* carousel --------------------------------- */

.carousel-container{

    width: 100%;
    height:  100%;
    overflow: hidden;
    

}

.carousel-container figure{
    position: relative;
    left: 0;
    width: 300%;
    animation: 50s slide infinite;
}

.carousel{
    position: relative;
    width: 33.33%;
    float: left;

}

.carousel img{
    width: 100%;
    height: 100%;
   
}

@keyframes slide{
    0%{
        left: 0;
    }
    15%{
        left: 0;
    }
    20%{
        left: -100%;
    }
    40%{
        left: -100%;
    }
    45%{
        left: -200%;
    }
    50%{
        left: -200%;
    }
    66%{
        left: -200%;
    }
    74%{
        left: -200%;
    }
    75%{
        left: -100%;
    }
    85%{
        left: -100%;
    }
    90%{
        left: 0;
    }
    100%{
        left: 0;
    }
} 



/* ENCABEZADO 1 ---------------------------*/

.encabezado {
    margin-top: -7px;
    text-align: center;
    padding: 50px 20px;
    background: linear-gradient(135deg, #313280, #222221);
    color: white;
    border-radius: 0px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.main-title {
    font-size: 3em;
    margin: 0;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.2);
}

.sub-title {
    font-size: 1.5em;
    margin: 0;
    font-weight: 300;
    color: white;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

/* diplomados---ESPECIALIZATE AHORA------------------------------------------*/

.diplomados1{
    background-image: url(imagenes/FONDO-M1-IEL.png);
    background-size: 100vw;
    padding: 160px 20px;
}


 .carrusel-contenedor {
      position: relative;
      width: 90%;
      margin: 30px auto;
    }

     .wrapper {
      overflow: hidden;
      width: 100%;
    }

.container2 {
    background-image: url(imagenes/FONDO-G1-IEL.png);
    background-size: 100%;
    width: 300%; /* antes estaba en 200% */
    margin: 0 auto;
    display: flex;
    transition: transform 0.5s ease-in-out;
}


 .grupo {
    display: flex;
    justify-content: space-around;
    width: 33.33%; /* cada grupo ocupa 1/3 del ancho */
}

.column {
    width: 22%; /* mantiene 4 columnas por grupo */
    margin: 20px 0;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    text-align: center;
    padding: 20px;
}


.column img {
    
    width: 100%;
    height: auto;  
    border-radius: 10px;
}


  .boton {
      position: absolute;
      top: 45%;
      transform: translateY(-50%);
      background-color: rgba(0, 0, 0, 0.4);
      color: white;
      border: none;
      font-size: 2rem;
      padding: 10px;
      cursor: pointer;
      z-index: 1;
    }

     .boton:hover {
      background-color: rgba(0, 0, 0, 0.7);
    }

      .prev {
      left: -10px;
    }

    .next {
      right: -10px;
    }



.img_aparecer1{
    display: block;
    margin-top: -100px;
    opacity: 0;
    transition: margin-top 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.column:hover .img_aparecer1{
    margin-top: 10px;
    opacity: 1;
}

.img_aparecer2{
    display: block;
    margin-top: -100px;
    opacity: 0;
    transition: margin-top 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.column:hover .img_aparecer2{
    margin-top: 10px;
    opacity: 1;
}

.img_aparecer3{
    display: block;
    margin-top: -100px;
    opacity: 0;
    transition: margin-top 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.column:hover .img_aparecer3{
    margin-top: 10px;
    opacity: 1;
}
.img_aparecer4{
    display: block;
    margin-top: -100px;
    opacity: 0;
    transition: margin-top 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.column:hover .img_aparecer4{
    margin-top: 10px;
    opacity: 1;
}
.img_aparecer5{
    display: block;
    margin-top: -100px;
    opacity: 0;
    transition: margin-top 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.column:hover .img_aparecer5{
    margin-top: 10px;
    opacity: 1;
}

.column >button {
    background-color: #313280;
    color: white;
    border: none;
    padding: 10px 20px;
    cursor: pointer;
    border-radius: 5px;
    font-size: 1em;
}

.column >button:hover {
    background-color: #b9d42f;
}



/* inovacion -------------------------------*/

.inovacion{
    background-image: url(imagenes/FONDO-M2-IEL.png);
    background-size: 100vw;
    padding: 170px 20px;
}

.ino2{
    background-image: url(imagenes/FONDO-G1-IEL.png);
    background-size: 100%;
    width: 80%;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    padding: 20px;
    border-radius: 10px;
}

.ino2 >h1{
    color: #222221;
}

.containerr{
    display:flex;
    justify-content:space-evenly;
    flex-wrap:wrap;
    padding: 25px 0;
    width: 90%;
    max-width: 1200px;
    margin: auto;
    overflow: hidden;
    
}

.card{
    width: 31%;
    margin-bottom: 10px;
    position: relative;
    height: 425px;
    margin: 10px;
    border-radius: 6px;
    overflow: hidden;
    box-shadow: 0px 1px 10px rgba(0, 0, 0, 0.2);
    transition: all 400ms ease;
}

.card img{
    width: 100%;
    height: 170px;
}

.card:hover{
    box-shadow: 5px 5px 20px rgba(0, 0, 0, 0.4);
    transform: translateY(-3%);
    
}

.card .contenido{
    padding: 15px;
}

.card .contenido p{
    line-height: 1.5;
    color: #222221;
    font-size: 14px;
    text-align: justify;
    margin-left: 5px;
    margin-right: 5px;
}
.card .contenido h3{
    font-weight: 400;
    font-size: 16PX;
    margin-bottom: 15px;
    color: #222221;
    font-weight: bold;
    margin-left: 5px;
}



/*-----------------          ESTUDIA Y DESARRALLA HABILIDADES----------------------------*/

.estudia{
    background-image: url(imagenes/FONDO-M3-IEL.png);
    background-size: 100vw;
    padding: 170px 20px;
}

.desarrolla {
    text-align: center;
    background: linear-gradient(135deg, #313280, #20215e);
    color: white;
    padding: 50px;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    margin: auto;
}

.main-title2 {
    font-size: 2.5em;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.descripcion2 {
    font-size: 1.2em;
    margin-bottom: 30px;
}

.bullet-list2 {
    list-style-type: none;
    padding: 0;
}

.bullet-list2 li {
    font-size: 1.1em;
    background: white;
    color: #222221;
    margin: 10px 0;
    padding: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: transform 0.2s ease;
    opacity: 0;
    transform: translateY(20px);
}

.bullet-list2 li:hover {
    transform: scale(1.05);
}

/*-------------------boton whats---------------------------*/

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    z-index: 100;

    animation: bounce 2s infinite;
}

.whatsapp-button a {
    display: block;
    width: 100%;
    height: 100%;
}

.whatsapp-button img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-button img:hover {
    transform: scale(1.2);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/*---------------------footer------------------------*/
.footer {
    background: linear-gradient(135deg, #222221, #313280);
    color: white;
    text-align: center;
    padding: 40px 20px;

    bottom: 0;
    width: 100%;
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.1);
    transition: all 0.5s ease;
}

.footer:hover {
    transform: translateY(-10px);
    box-shadow: 0 -8px 12px rgba(0, 0, 0, 0.2);
}

.footer-title {
    font-size: 2em;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.footer-description {
    font-size: 1.2em;
    margin-bottom: 20px;
}

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-button {
    background-color: white;
    color: #ff5f6d;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-size: 1em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.social-button i {
    font-size: 1.2em;
}

.social-button:hover {
    background-color: #ff5f6d;
    color: white;
    box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);
}

.whatsapp {
    background-color: #25d366;
    color: white;
}

.whatsapp:hover {
    background-color: #1da851;
}

.facebook {
    background-color: #3b5998;
    color: white;
}

.facebook:hover {
    background-color: #2d4373;
}

.instagram {
    background-color: #e1306c;
    color: white;
}

.instagram:hover {
    background-color: #c13584;
}
/*---------------responsive ------------------------------*/


@media(max-width:1000px){
    .search-box button{
        position: absolute;
    }
    header ul{
        position: fixed;
        top: 100px;
        right: -100%;
        background: rgba(0, 0, 0, 0.5);
        height: calc(100vh - 100px);
        width: 50%;
        flex-direction: column;
        align-items: center;
        transition: right 0.5s linear;
    }
    header .menu{
        display: block;
        width: 100px;
        text-align: center;
    }
    #chk1:checked ~ ul{
        right: 0;
    }
}

@media(max-width:600px){
    header .logo{
        font-size: 10px;
        margin-left: 8px;
    }
    header ul{
        width: 100%;
    }

    .column {
    
        width: 100%; /* Ancho completo por defecto */
        
    }


    .diplomados1 h1{
         text-shadow:
1px 1px 2px black,
0 0 1em white,
0 0 0.2em white;
color: white;
    }
    
    .diplomados1 h3{
        text-shadow:
    1px 1px 2px black,
    0 0 1em white,
    0 0 0.2em white;
  color: white;
    }


    .ino2 h1{
        font-size: 18px;
        text-align: center;
    }

    .card{
        width: 100%;
        height: 550px;  
    }

    .contenido{
        text-align: center;
    }
    .card .contenido p{
        text-align: center;
    }

    .main-title2{
        font-size: 28px;
    }
    .descripcion2{
        font-size: 16px;
    }
    .bullet-list2 li{
        font-size: 14px;
    }

    .social-buttons {
        width: 100%;
        flex-direction: column;
        align-items: center;
    }



}


 @media screen and (max-width: 768px) {
      .grupo {
        flex-wrap: wrap;
      }
      .column {
        width: 45%;
        margin: 10px auto;
      }
      .container1 {
        width: 200%;
      }
    }
    
    