*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

body{
    font-family:'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg,#f5f7fa,#e4edf7);
    color:#222;
    min-height:100vh;
}

header{
    background:#0f172a;
    color:white;
    padding:20px;
    text-align:center;
    box-shadow:0 4px 10px rgba(0,0,0,.15);
}

.container{
    width:90%;
    max-width:1200px;
    margin:auto;
    padding:30px 0;
}

h1{
    margin-bottom:10px;
}

.galeria{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:25px;
    margin-top:30px;
}

.card{
    background:white;
    border-radius:15px;
    overflow:hidden;
    box-shadow:0 10px 25px rgba(0,0,0,.12);
    transition:.3s;
}

.card:hover{
    transform:translateY(-6px);
}

.card img{
    width:100%;
    height:180px;
    object-fit:cover;
}

.card-content{
    padding:20px;
    text-align:center;
}

.btn{
    display:inline-block;
    text-decoration:none;
    background:#2563eb;
    color:white;
    padding:12px 22px;
    border-radius:8px;
    transition:.3s;
    font-weight:600;
}

.btn:hover{
    background:#1d4ed8;
    transform:scale(1.05);
}

.pagina-imagen{
    text-align:center;
    padding:40px 20px;
}

.pagina-imagen img{
    max-width:100%;
    border-radius:18px;
    box-shadow:0 12px 35px rgba(0,0,0,.18);
    animation:fadeIn 1s ease;
}

.nav-buttons{
    display:flex;
    justify-content:center;
    gap:15px;
    flex-wrap:wrap;
    margin-top:30px;
}

.indicador{
    margin-top:15px;
    font-weight:bold;
    color:#475569;
}

footer{
    margin-top:40px;
    background:#0f172a;
    color:white;
    text-align:center;
    padding:18px;
}

@keyframes fadeIn{
    from{
        opacity:0;
        transform:translateY(20px);
    }
    to{
        opacity:1;
        transform:translateY(0);
    }
}

@media(max-width:768px){

    h1{
        font-size:1.5rem;
    }

    .nav-buttons{
        flex-direction:column;
        align-items:center;
    }
}

footer{
    margin-top:40px;
    background:#0f172a;
    color:white;
    text-align:center;
    padding:25px 15px;
}

.footer-content{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:15px;
}

.social-icons{
    display:flex;
    gap:18px;
}

.social-icons a{
    width:45px;
    height:45px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:rgba(255,255,255,.1);
    color:white;
    text-decoration:none;
    font-size:1.2rem;
    transition:all .3s ease;
}

.social-icons a:hover{
    background:#2563eb;
    transform:translateY(-5px) scale(1.1);
    box-shadow:0 5px 15px rgba(37,99,235,.4);
}

@media(max-width:768px){

    .social-icons{
        flex-wrap:wrap;
        justify-content:center;
    }

}

.hero{
    background:white;
    border-radius:20px;
    padding:40px;
    margin-bottom:40px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.1);
}

.foto-instructor{
    width:220px;
    height:220px;
    object-fit:cover;
    border-radius:50%;
    border:6px solid #2563eb;
    box-shadow:0 10px 25px rgba(37,99,235,.3);
    margin-bottom:20px;
    transition:.4s;
}

.foto-instructor:hover{
    transform:scale(1.05);
}

.hero h2{
    color:#0f172a;
    margin-bottom:15px;
}

.hero p{
    max-width:800px;
    margin:auto;
    line-height:1.8;
    color:#475569;
}

.datos-instructor{
    margin-top:25px;
    padding:15px;
    background:#eff6ff;
    border-radius:12px;
    display:inline-block;
}

.datos-instructor h3{
    color:#2563eb;
    margin-bottom:5px;
}