*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body{
    font-family: 'Montserrat', sans-serif;
}





/* ======ENCABEZADO ==========*/

#encabezado {
    width: 100%;
    padding: 20px;
    box-sizing: border-box;

    /* Proporción aproximada de tu banner */
    aspect-ratio: 2.5 / 1;

    background-color: #0d1b3d;

    background-image:
        linear-gradient(
            180deg,
            rgba(13, 27, 61, 0.45) 0%,
            rgba(13, 27, 61, 0.20) 20%,
            rgba(13, 27, 61, 0.03) 50%,
            rgba(13, 27, 61, 0.00) 100%
        ),
        url("../imagenes/encabeza.png");

    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-position: center top;

    position: relative;
}

#bloqueEncabezado {
    width: 90%;
    height: 100%;
    margin: auto;

    display: grid;
    grid-template-columns: 40% 60%;
    grid-template-rows: auto 1fr;
}









/*========FIN ENCABEZADO==============*/

#identidad{
    padding-top: 25px;
    align-self: start;
     
}

#identidad h1{
    color:rgba(0, 0, 0, 0);
    background-color: transparent;
    font-size: 22px;
    margin-bottom: 5px;
    line-height: 1.2;
}

#identidad h2{
    color:#00b8d9;
    font-size: 20px;
    margin-bottom: 6px;
    margin-left: 100px;
}

#identidad h3{
    color:#fff;
    font-size: 14px;
    font-weight: normal;
     line-height: 1.3;
}



/*Menu de Navegación */

#navegacion{
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    padding-top: 30px;
}

#navegacion ul{
    list-style: none;
    display: flex;
    align-items: center;
    gap: 25px;
}
#navegacion ul li a{
    color: #fff;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: 0.3s;
}
#navegacion ul li a:hover{
    color:#00b8d9;
}
#navBoton{
    background-color: #00b8d9;
    color: #0d1b3d;
    padding: 12px 22px;
    font-weight: bold;
    border-radius: 15px;
}
#navBoton:hover{
   background-color: #fff;
   color:#0d1b3d;
}


#navegacion .concurso{
    color: #fff;
    cursor:pointer;
}
#navegacion .navConcurso{
    position: relative;
    
}
#navegacion .navConcurso > ul{
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
     
   
   
}
#navegacion .navConcurso li{
    margin-top:8px;
    margin-left: 10px;
    display: block;
}


#navegacion #subConcurso {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
}

/*===================================
fin       Menu de Navegación 

====================================*/






#portada{
    grid-column: 1/3;
    align-self: center;
    width: 60%;
    padding-bottom: 5px;

}
 #portada h2{
    color: #fff;
    font-size: 42px;
    line-height: 1.15;
    margin-bottom: 25px;
 }
#portada p{
    color:#dce5f2;
    font-size: 17px;
    line-height: 1.2;
    max-width: 500px;
    text-align: justify;
}

/*Fin Encabezado */

/*Section ...... Sobre el Congreso */
#congreso{
    width: 90%;
    max-width: 1200px;
    margin: 60px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 50px;
    padding: 40px;
    background-color: #f8fafc;
    border-radius: 22px;
    box-shadow: 0 10px 35px rgba(13,27,61,0.80);
}
#congreso article{
    width: 55%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
#congreso h3{
    color:#0D1B3D;
    font-size: 32px;
    text-align: center;
    margin-bottom: 5px;
}
#congreso h3::after{
    content: "";
    display: block;
    width: 55px;
    height: 4px;
    margin-top: 8px;
    background-color: #712d90;
    border-radius: 4px;
}


#congreso article p:last-child {
    color: #4b5563;
    font-size: 17px;
    line-height: 1.8;
    text-align: justify;
}

#congreso figure {
    width: 45%;
    display: flex;
    justify-content: center;
}

#congreso figure img {
    width: 100%;
    max-width: 500px;
    height: 310px;
    object-fit: cover;
    border-radius: 22px;
    box-shadow:
        0 12px 30px rgba(13, 27, 61, 0.18);
    transition: 0.3s;
}

#congreso figure img:hover {
    transform: scale(1.02);
    box-shadow:
        0 16px 38px rgba(13, 27, 61, 0.25);
}

/*Fin ...... Sobre el Congreso */


#tematicos h3{
    grid-column: 1 / -1;
    margin: 0 0 10px 0;
    padding-bottom: 10px;
    color: #0D1B3D;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
}
#tematicos h3::after{
    content: "";
    display: block;
    width: 55px;
    height: 4px;
    margin-top: 8px;
    background-color: #712d90;
    border-radius: 4px;
}

#tematicos{
    width: 90%;
    max-width: 1100px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}
.temaEjes{
    min-height: 150px;
    padding: 20px 15px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}

.temaEjes::before{
    content: "";
    width: 60px;
    height: 60px;
    display: block;
    margin-bottom: 12px;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.temaEjes p{
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #0D1B3D;
}

.tecnologia::before{
    background-image: url("../imagenes/tecnologia1.png");
}

.inteligencia::before{
    background-image: url("../imagenes/tecnologia2.png");
}

.innovacion::before{
    background-image: url("../imagenes/tecnologia3.png");
}

.robotica::before{
    background-image: url("../imagenes/tecnologia4.png");
}

.competencia::before{
    background-image: url("../imagenes/tecnologia5.png");
}

.temaEjes:hover{
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    border-color: #712d90;
}

/* FIn de Ejes Tematicos */


/* Conferencistas Destacados */

#destacados{
    width: 90%;
    max-width: 1100px;
    margin: 50px auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 18px;
}

#destacados h3{
    grid-column: 1 / -1;
    margin: 0 0 10px 0;
    padding-bottom: 10px;
    color: #0D1B3D;
    font-size: 28px;
    font-weight: 700;
    line-height: 1.2;
    position: relative;
}
#destacados h3::after{
    content: "";
    display: block;
    width: 55px;
    height: 4px;
    margin-top: 8px;
    background-color: #712d90;
    border-radius: 4px;
}

.relevante{
    min-height: 150px;
    padding: 20px 15px;
    background-color: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 14px;
    text-align: center;
    display: flex; 
    flex-direction: row;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease,
                box-shadow 0.3s ease,
                border-color 0.3s ease;
}


.relevante p{
    margin: 0;
    font-size: 14px;
    font-weight: 600;
    line-height: 1.4;
    color: #0D1B3D;
}
.relevante:hover{
    transform: translateY(-6px);
    box-shadow: 0 10px 22px rgba(0, 0, 0, 0.12);
    border-color: #712d90;
}
.datosConfe h4,
.datosConfe p{
    margin: 0;
}
.datosConferencista{
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.datosConferencista h4{
    color: #0D1B3D;
    font-size: 14px;
}

.datosConferencista p{
    color: #555;
    font-size: 13px;
}
#destacados img{
    width: 100px;
    height:100px;
    border-radius: 50%;
}


   /*pie de página*/

/* =========================
   FOOTER GENERAL
========================= */

footer{
    width: 100%;
    background-color: #0D1B3D;
    color: white;
}

footer p,
footer h4,
footer h5{
    margin: 0;
}


/* =========================
   LLAMADA A LA ACCIÓN
========================= */

#pieAccion{
    width: 90%;
    max-width: 1100px;

    margin: 0 auto;
    padding: 30px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 30px;

    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}


.pieMensaje h4{
    margin-bottom: 6px;

    font-size: 22px;
    font-weight: 700;

    color: #ffffff;
}


.pieMensaje p{
    font-size: 14px;

    color: #cbd5e1;
}


/* BOTÓN */

#botinscribe{
    display: inline-block;

    padding: 13px 30px;

    background: linear-gradient(
        135deg,
        #712d90,
        #9b35e5
    );

    color: white;

    text-decoration: none;

    font-size: 14px;
    font-weight: 600;

    border-radius: 8px;

    transition:
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


#botinscribe:hover{
    transform: translateY(-3px);

    box-shadow: 0 6px 18px rgba(113, 45, 144, 0.45);
}


/* =========================
   INFORMACIÓN
========================= */

#pieInformacion{
    width: 90%;
    max-width: 1100px;

    margin: 0 auto;
    padding: 30px 0;

    display: grid;
    grid-template-columns: repeat(3, 1fr);

    gap: 50px;
}


.pieInfo h5{
    margin-bottom: 12px;

    font-size: 16px;
    font-weight: 700;

    color: #ffffff;
}


.pieInfo p{
    margin-bottom: 5px;

    font-size: 13px;

    color: #cbd5e1;
}


/* =========================
   REDES SOCIALES
========================= */

#imglogos{
    margin: 0;

    display: flex;
    align-items: center;

    gap: 12px;
}


#imglogos a{
    width: 36px;
    height: 36px;

    display: flex;
    justify-content: center;
    align-items: center;

    border: 1px solid rgba(255, 255, 255, 0.5);

    border-radius: 50%;

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}


#imglogos img{
    width: 18px;
    height: 18px;

    object-fit: contain;
}


#imglogos a:hover{
    transform: translateY(-3px);

    background-color: rgba(255, 255, 255, 0.12);
}


/* =========================
   PARTE INFERIOR
========================= */

#pieLegal{
    width: 90%;
    max-width: 1100px;

    margin: 0 auto;
    padding: 14px 0;

    display: flex;
    justify-content: space-between;
    align-items: center;

    gap: 20px;

    border-top: 1px solid rgba(255, 255, 255, 0.12);
}


#pieLegal p{
    font-size: 11px;

    color: #94a3b8;
}


.enlacesLegales{
    display: flex;
    align-items: center;

    gap: 12px;
}


.enlacesLegales a{
    color: #94a3b8;

    text-decoration: none;

    font-size: 11px;
}


.enlacesLegales a:hover{
    color: white;
}


.enlacesLegales span{
    color: #64748b;
}

.carrera{
    background-color: white;
}

.correoContacto a {
    color: #fff;
    text-decoration: none;
}

.correoContacto a:hover {
    color: #00b8d9;
}



/*fin de pie de página*/