@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

:root{
    --primary:#081B33;
    --secondary:#00D4FF;
    --accent:#0EA5E9;
    --white:#FFFFFF;
    --light:#F5F7FB;
    --gray:#6B7280;
    --dark:#1F2937;
    --border:#E5E7EB;
    --radius:12px;
    --shadow:0 10px 30px rgba(0,0,0,.12);
    --transition:.35s ease;
}

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{
    font-family:'Poppins',sans-serif;
    background:var(--light);
    color:var(--dark);
    line-height:1.7;
}

img{
    width:100%;
    display:block;
}

a{
    text-decoration:none;
    color:inherit;
}

ul{
    list-style:none;
}

section{
    padding:90px 8%;
}

h1,h2,h3,h4{
    color:var(--primary);
}

p{
    color:var(--gray);
}


/*==========================
HEADER
==========================*/

.header{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:rgba(8,27,51,.95);
    backdrop-filter:blur(12px);
    box-shadow:0 5px 20px rgba(0,0,0,.15);
    z-index:1000;
}

.navbar{
    max-width:1300px;
    margin:auto;
    padding:18px 30px;
    display:flex;
    justify-content:space-between;
    align-items:center;
}

.logo{
    display:flex;
    align-items:center;
    gap:12px;
}

.logo i{
    font-size:2rem;
    color:var(--secondary);
}

.logo h1{
    color:var(--white);
    font-size:1.5rem;
    font-weight:700;
}


/*==========================
MENU
==========================*/

.nav-menu{
    display:flex;
    gap:35px;
}

.nav-menu a{
    color:var(--white);
    font-weight:500;
    position:relative;
    transition:var(--transition);
}

.nav-menu a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:-6px;
    width:0;
    height:2px;
    background:var(--secondary);
    transition:var(--transition);
}

.nav-menu a:hover{
    color:var(--secondary);
}

.nav-menu a:hover::after{
    width:100%;
}


/*==========================
BOTONES
==========================*/

.btn-primary,
.btn-secondary,
.btn-submit{
    border:none;
    border-radius:8px;
    cursor:pointer;
    transition:var(--transition);
    font-weight:600;
}

.btn-primary{
    background:var(--secondary);
    color:var(--primary);
    padding:15px 35px;
    display:inline-flex;
    align-items:center;
    gap:10px;
    box-shadow:0 10px 25px rgba(0,212,255,.35);
}

.btn-primary:hover{
    transform:translateY(-4px);
    box-shadow:0 18px 35px rgba(0,212,255,.45);
}

.btn-secondary{
    padding:15px 35px;
    border:2px solid #fff;
    color:#fff;
    display:inline-flex;
    align-items:center;
    gap:10px;
    background:transparent;
}

.btn-secondary:hover{
    background:#fff;
    color:var(--primary);
}

.btn-submit{
    width:100%;
    padding:16px;
    background:var(--primary);
    color:#fff;
    font-size:1rem;
}

.btn-submit:hover{
    background:#102B4D;
}

/*==========================
TITULOS
==========================*/

.section-title{
    max-width:750px;
    margin:0 auto 60px;
    text-align:center;
}

.section-title h2{
    font-size:2.6rem;
    margin-bottom:15px;
}

.section-title p{
    font-size:1.05rem;
}


/*==================================================
HERO
==================================================*/

.hero-section{
    position:relative;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    text-align:center;
    padding:120px 8%;
    background:url("../img/bannerhome.jpg") center center/cover no-repeat;
    overflow:hidden;
}

.hero-overlay{
    position:absolute;
    inset:0;
    background:linear-gradient(rgba(8,27,51,.82),rgba(8,27,51,.70));
}

.hero-content{
    position:relative;
    z-index:2;
    max-width:900px;
    animation:fadeUp 1s ease;
}

.hero-badge{
    display:inline-flex;
    align-items:center;
    gap:10px;
    padding:10px 20px;
    background:rgba(255,255,255,.15);
    border:1px solid rgba(255,255,255,.2);
    border-radius:50px;
    color:#fff;
    margin-bottom:25px;
    backdrop-filter:blur(10px);
    font-size:.95rem;
}

.hero-badge i{
    color:var(--secondary);
}

.hero-content h2{
    font-size:4rem;
    line-height:1.15;
    color:#fff;
    margin-bottom:25px;
    font-weight:800;
}

.hero-content h2 span{
    color:var(--secondary);
}

.hero-content p{
    max-width:760px;
    margin:0 auto 40px;
    color:#e8edf3;
    font-size:1.15rem;
}

.hero-buttons{
    display:flex;
    justify-content:center;
    align-items:center;
    gap:20px;
    flex-wrap:wrap;
}


/*==================================================
ESTADISTICAS
==================================================*/

.stats-section{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(220px,1fr));
    gap:30px;
    background:#fff;
    margin-top:-70px;
    position:relative;
    z-index:5;
}

.stat-card{
    background:#fff;
    padding:40px 30px;
    border-radius:15px;
    text-align:center;
    box-shadow:var(--shadow);
    transition:var(--transition);
}

.stat-card:hover{
    transform:translateY(-8px);
}

.stat-card i{
    font-size:2.6rem;
    color:var(--secondary);
    margin-bottom:20px;
}

.stat-card h3{
    font-size:2.4rem;
    margin-bottom:10px;
    color:var(--primary);
}

.stat-card p{
    font-weight:500;
    color:var(--gray);
}

/* ================= ESTADISTICAS RESPONSIVE ================= */

@media(max-width:768px){

    .stats-section{
        display:grid;
        grid-template-columns:1fr;
        gap:20px;
        padding:40px 5%;
    }

    .stat-card{
        width:100%;
        padding:25px;
    }

    .stat-card h3{
        font-size:32px;
    }

    .stat-card p{
        font-size:16px;
    }

}

/*==================================================
ANIMACIONES
==================================================*/

@keyframes fadeUp{

    from{
        opacity:0;
        transform:translateY(40px);
    }

    to{
        opacity:1;
        transform:translateY(0);
    }

}


/*==================================================
PONENTES
==================================================*/

.speakers-section{
    background:var(--light);
}

.grid-ponentes{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
    gap:35px;
    margin-top:50px;
}

.ponente-card{
    background:#fff;
    border-radius:18px;
    overflow:hidden;
    box-shadow:var(--shadow);
    transition:var(--transition);
}

.ponente-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 40px rgba(0,0,0,.15);
}

.ponente-card img{
    height:340px;
    object-fit:cover;
    transition:transform .5s ease;
}

.ponente-card:hover img{
    transform:scale(1.08);
}

.ponente-card figcaption{
    padding:30px;
}

.badge{
    display:inline-block;
    padding:8px 16px;
    border-radius:30px;
    background:rgba(0,212,255,.15);
    color:var(--accent);
    font-size:.85rem;
    font-weight:600;
    margin-bottom:18px;
}

.ponente-card h3{
    font-size:1.5rem;
    margin-bottom:15px;
    color:var(--primary);
}

.ponente-card p{
    margin-bottom:25px;
    color:var(--gray);
    line-height:1.8;
}

.social-card{
    display:flex;
    gap:15px;
}

.social-card a{
    width:42px;
    height:42px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:#eef3f8;
    color:var(--primary);
    transition:var(--transition);
}

.social-card a:hover{
    background:var(--secondary);
    color:#fff;
    transform:translateY(-4px);
}


.responsive-img{
    width:100%;
    height:auto;
    object-fit:cover;
}

/* ================= ÁREAS TECNOLÓGICAS ================= */

.technology-section{
    padding:80px 8%;
    background:#f5f8fc;
}

.technology-grid{
    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:30px;
    margin-top:40px;
}

.technology-card{
    background:#ffffff;
    padding:35px 25px;
    border-radius:20px;
    text-align:center;
    box-shadow:0 10px 25px rgba(0,0,0,0.08);
    transition:transform .4s ease, box-shadow .4s ease;
}

.technology-card:hover{
    transform:translateY(-10px);
    box-shadow:0 15px 35px rgba(0,0,0,0.15);
}

.technology-card i{
    font-size:45px;
    color:#081B33;
    margin-bottom:20px;
}

.technology-card h3{
    font-size:24px;
    margin-bottom:15px;
    color:#081B33;
}

.technology-card p{
    color:#555;
    line-height:1.7;
}

/* ================= TECNOLOGIAS RESPONSIVE ================= */

@media(max-width:768px){

    .technology-section{
        padding:50px 5%;
    }

    .technology-grid{
        display:grid;
        grid-template-columns:1fr;
        gap:20px;
    }

    .technology-card{
        width:100%;
        padding:25px 20px;
    }

    .technology-card i{
        font-size:38px;
    }

    .technology-card h3{
        font-size:22px;
    }

    .technology-card p{
        font-size:15px;
        line-height:1.6;
    }

}
/*==================================================
TABLA DE INFORMACIÓN
==================================================*/

.table-section{
    background:var(--light);
}

.table-container{
    width:100%;
    overflow-x:auto;
    background:#fff;
    padding:30px;
    border-radius:18px;
    box-shadow:var(--shadow);
}

table{
    width:100%;
    border-collapse:collapse;
    min-width:700px;
}

caption{
    caption-side:top;
    text-align:left;
    font-size:1.3rem;
    font-weight:700;
    color:var(--primary);
    margin-bottom:20px;
}

thead{
    background:var(--primary);
    color:#fff;
}

th,
td{
    padding:18px;
    text-align:center;
    border-bottom:1px solid var(--border);
}

th{
    color:#fff;
    font-weight:600;
}

tbody tr{
    transition:var(--transition);
}

tbody tr:nth-child(even){
    background:#f1f5f9;
}

tbody tr:hover{
    background:rgba(0,212,255,.12);
}

td{
    color:var(--gray);
}

tfoot td{
    font-weight:600;
    color:var(--primary);
    background:#f8fafc;
}



/*==================================================
FORMULARIO
==================================================*/

.form-section{
    background:#fff;
}

#registro-form{
    max-width:700px;
    margin:50px auto 0;
    padding:40px;
    background:#fff;
    border-radius:18px;
    box-shadow:var(--shadow);
}

.form-group{
    margin-bottom:25px;
}

.form-group label{
    display:flex;
    align-items:center;
    gap:10px;
    margin-bottom:10px;
    font-weight:600;
    color:var(--primary);
}

.form-group label i{
    color:var(--secondary);
}

.form-group input,
.form-group select{
    width:100%;
    padding:15px 18px;
    border:2px solid var(--border);
    border-radius:10px;
    outline:none;
    font-size:1rem;
    transition:var(--transition);
    font-family:inherit;
}

.form-group input:focus,
.form-group select:focus{
    border-color:var(--secondary);
    box-shadow:0 0 0 4px rgba(0,212,255,.15);
}

.form-group input::placeholder{
    color:#9ca3af;
}


/*==========================
INPUT RANGE
==========================*/

.form-group input[type="range"]{
    width:100%;
    height:8px;
    cursor:pointer;
    accent-color:var(--secondary);
}

output{
    display:block;
    margin-top:12px;
    font-size:1.1rem;
    font-weight:700;
    color:var(--primary);
    text-align:center;
}

.btn-submit{
    margin-top:15px;
    display:flex;
    justify-content:center;
    align-items:center;
    gap:10px;
}

.btn-submit:hover{
    transform:translateY(-3px);
}


/*==================================================
FOOTER
==================================================*/

.site-footer{
    background:var(--primary);
    color:#fff;
    padding:70px 8% 30px;
}

.footer-container{
    max-width:1300px;
    margin:auto;
    display:flex;
    justify-content:space-between;
    align-items:center;
    flex-wrap:wrap;
    gap:40px;
    border-bottom:1px solid rgba(255,255,255,.12);
    padding-bottom:35px;
}

.footer-info h3{
    display:flex;
    align-items:center;
    gap:10px;
    color:#fff;
    margin-bottom:18px;
    font-size:1.7rem;
}

.footer-info h3 i{
    color:var(--secondary);
}

.footer-info p{
    color:#d1d5db;
    margin-bottom:10px;
}

.footer-social{
    display:flex;
    gap:18px;
}

.footer-social a{
    width:50px;
    height:50px;
    display:flex;
    justify-content:center;
    align-items:center;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    color:#fff;
    font-size:1.2rem;
    transition:var(--transition);
}

.footer-social a:hover{
    background:var(--secondary);
    transform:translateY(-5px);
}

.footer-copy{
    margin-top:30px;
    text-align:center;
}

.footer-copy p{
    color:#cbd5e1;
    font-size:.95rem;
}

/* ================= MENU HAMBURGUESA ================= */

.menu-toggle{
    display:none;
}

@media(max-width:768px){

    .menu-toggle{
        display:block;
        background:none;
        border:none;
        color:#ffffff;
        font-size:30px;
        cursor:pointer;
    }

    .navbar{
        display:flex;
        justify-content:space-between;
        align-items:center;
    }

    .nav-menu{
        position:absolute;
        top:70px;
        left:0;
        width:100%;
        background:#081B33;
        display:none;
        flex-direction:column;
        align-items:center;
        padding:30px 0;
        gap:20px;
        z-index:999;
    }

    .nav-menu.active{
        display:flex;
    }

}


@media(max-width:768px){

.table-container{
    padding:15px;
}

table{
    min-width:650px;
}

}