/*=============================
    CONFIGURACIÓN GENERAL
=============================*/

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Poppins', sans-serif;
}

html{
    scroll-behavior:smooth;
}

body{
    background:#f5f7fa;
    color:#333;
    line-height:1.6;
}

/*=============================
    HEADER
=============================*/
:root{
    --color-fondo:#060B1F;
    --color-fondo2:#0E1635;
    --color-primario:#2563EB;
    --color-secundario:#7C3AED;
    --texto:#FFFFFF;
    --gris:#C8D2E0;
    --glass:rgba(255,255,255,.08);
}
/*==============================
HEADER
===============================*/

header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 8%;
    background:rgba(13,110,253,.95);
    backdrop-filter:blur(8px);
    box-shadow:0 3px 15px rgba(0,0,0,.2);
    z-index:1000;
}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
}

.logo img{
    width:60px;
    border-radius:50%;
}

.logo h2{
    color:white;
}

.logo small{
    color:#dbeafe;
}

nav ul{
    display:flex;
    list-style:none;
    gap:28px;
}

nav a{
    text-decoration:none;
    color:white;
    font-weight:500;
    transition:.3s;
}

nav a:hover{
    color:#ffd43b;
}

.btn-header{
    text-decoration:none;
    background:white;
    color:#0d6efd;
    padding:12px 24px;
    border-radius:30px;
    font-weight:bold;
    transition:.3s;
}

.btn-header:hover{
    transform:translateY(-3px);
    background:#ffd43b;
}
/*=============================
    HERO
=============================*/

.hero{
    margin-top:95px;
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:80px 10%;
    background:linear-gradient(135deg,#0d6efd,#60a5fa);
    color:white;
    border-radius:0 0 40px 40px;
}

.hero-texto{
    width:50%;
}

.badge{
    background:white;
    color:#0d6efd;
    display:inline-block;
    padding:8px 18px;
    border-radius:30px;
    font-weight:bold;
    margin-bottom:20px;
}

.hero h1{
    font-size:60px;
    margin-bottom:10px;
}

.hero h2{
    font-size:30px;
    margin-bottom:20px;
    font-weight:400;
}

.hero p{
    font-size:20px;
    margin-bottom:35px;
}

.hero-botones{
    display:flex;
    gap:20px;
    margin-top:25px;
}

.hero button{
    background:white;
    color:#0d6efd;
    border:none;
    padding:15px 35px;
    border-radius:8px;
    cursor:pointer;
    font-weight:bold;
    transition:.3s;
}

.hero button:hover{
    transform:scale(1.05);
}

.btn-secundario{
    background:white;
    color:#0d6efd;
    padding:15px 35px;
    text-decoration:none;
    border-radius:8px;
    font-weight:bold;
    transition:.3s;
}

.btn-secundario:hover{
    transform:scale(1.05);
}

.hero-img{
    width:45%;
}

.hero-img img{
    width:100%;
    border-radius:20px;
    box-shadow:0 15px 35px rgba(0,0,0,.3);
    animation:flotar 4s ease-in-out infinite;
}

/*=============================
    BENEFICIOS
=============================*/
#beneficios{
    padding:90px 10%;
    background:#ffffff;
    text-align:center;
}
.titulo-seccion{
    max-width:700px;
    margin:auto;
    margin-bottom:60px;
}
.titulo-seccion h2{
    font-size:42px;
    color:#0d6efd;
    margin-bottom:15px;
}
.titulo-seccion p{
    color:#666;
    font-size:18px;
}
.contenedor-beneficios{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));
    gap:30px;
}
.beneficio{
    background:white;
    padding:35px;
    border-radius:20px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}
.beneficio:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 35px rgba(13,110,253,.2);
}
.beneficio i{
    font-size:45px;
    color:#0d6efd;
    margin-bottom:20px;
}
.beneficio h3{
    margin-bottom:15px;
}
.beneficio p{
    color:#666;
}

/*=============================
    PONENTES
=============================*/

#ponentes{
    padding:70px 10%;
    text-align:center;
}

#ponentes h2{
    font-size:40px;
    color:#0d6efd;
    margin-bottom:40px;
}

.contenedor-cards{
    display:flex;
    justify-content:center;
    gap:30px;
    flex-wrap:wrap;
}

.card{
    width:300px;
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
    transition:.4s;
}

.card:hover{
    transform:translateY(-10px);
}

.card img{
    width:100%;
    height:250px;
    object-fit:cover;
}

.card h3{
    margin-top:20px;
}

.card p{
    padding:15px;
}

.iconos{
    font-size:28px;
    color:#0d6efd;
    margin-bottom:20px;
}

.iconos i{
    margin:0 10px;
}

/*=============================
    FORMULARIO
=============================*/

#inscripcion{
    padding:70px 10%;
    background:#eaf2ff;
    text-align:center;
}

#inscripcion h2{
    color:#0d6efd;
    font-size:40px;
    margin-bottom:30px;
}

form{
    max-width:600px;
    margin:auto;
}

input,
select{
    width:100%;
    padding:15px;
    margin-bottom:20px;
    border-radius:8px;
    border:1px solid #ccc;
    font-size:17px;
}

form button{
    width:100%;
    padding:15px;
    background:#0d6efd;
    color:white;
    border:none;
    border-radius:8px;
    font-size:18px;
    cursor:pointer;
    transition:.3s;
}

form button:hover{
    background:#084298;
}

/*=============================
    FOOTER
=============================*/

footer{
    background:#212529;
    color:white;
    text-align:center;
    padding:40px;
}

.redes{
    margin:20px 0;
}

.redes i{
    font-size:30px;
    margin:0 15px;
    cursor:pointer;
    transition:.3s;
}

.redes i:hover{
    color:#ffc107;
}
/*=============================
    ESTADÍSTICAS
=============================*/

.estadisticas{
    display:flex;
    justify-content:space-around;
    align-items:center;
    text-align:center;
    padding:60px 10%;
    background:white;
    box-shadow:0 5px 20px rgba(0,0,0,.08);
}

.estadisticas h2{
    font-size:45px;
    color:#0d6efd;
}

.estadisticas p{
    color:#666;
    font-size:18px;
}
/*=============================
    MODAL
=============================*/

.modal{
    display:none;              /* Oculto por defecto */
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,.6);
    backdrop-filter:blur(5px);
    justify-content:center;
    align-items:center;
    z-index:9999;
}

.modal-contenido{
    width:90%;
    max-width:500px;
    background:white;
    border-radius:15px;
    padding:35px;
    position:relative;
    animation:aparecer .3s ease;
}

.cerrar{
    position:absolute;
    top:15px;
    right:20px;
    font-size:30px;
    cursor:pointer;
}

@keyframes aparecer{
    from{
        opacity:0;
        transform:scale(.8);
    }
    to{
        opacity:1;
        transform:scale(1);
    }
}
/*=============================
    AGENDA
=============================*/

#agenda{

    padding:90px 10%;
    background:#f8f9fc;

}

.timeline{

    max-width:900px;

    margin:auto;

    position:relative;

}

.timeline::before{
    content:"";
    position:absolute;
    left:60px;
    top:0;
    width:4px;
    height:100%;
    background:#0d6efd;
    border-radius:5px;
}

.evento{
    display:flex;
    align-items:flex-start;
    gap:30px;
    margin-bottom:45px;
    position:relative;
}

.hora{
    min-width:120px;
    text-align:center;
    background:#0d6efd;
    color:white;
    padding:18px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(13,110,253,.25);
    z-index:2;
}

.hora i{
    display:block;
    font-size:30px;
    margin-bottom:10px;
}

.hora span{
    font-size:22px;
    font-weight:bold;
}

.contenido{
    flex:1;
    background:white;
    padding:25px;
    border-radius:15px;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.3s;
}

.contenido:hover{
    transform:translateY(-5px);
    box-shadow:0 20px 35px rgba(13,110,253,.2);
}

.contenido h3{
    color:#0d6efd;
    margin-bottom:10px;
}

.contenido p{
    color:#666;
    line-height:1.7;
}

/*=============================
    RESPONSIVE
=============================*/

@media(max-width:900px){

header{
    flex-direction:column;
    gap:20px;
}

.hero{
    flex-direction:column;
    text-align:center;
}

.hero-texto{
    width:100%;
}

.hero-img{
    width:90%;
    margin-top:40px;
}

nav ul{
    flex-wrap:wrap;
    justify-content:center;
}

}

@media(max-width:600px){

.hero-texto h1{
    font-size:38px;
}

#ponentes h2,
#inscripcion h2{
    font-size:30px;
}

header{
    padding:20px;
}
}
/*=============================
    ANIMACIONES
=============================*/

@keyframes flotar{

    0%{
        transform:translateY(0);
    }

    50%{
        transform:translateY(-15px);
    }

    100%{
        transform:translateY(0);
    }

}