/* RESET */
*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family: Arial, Helvetica, sans-serif;
    }
    
    /* BODY */
    body{
    background:#f5f5f5;
    color:#333;
    line-height:1.6;
    }
    
    /* HEADER */
    header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:15px 50px;
    background:#0c4a6e;
    color:white;
    position:sticky;
    top:0;
    z-index:100;
    }
    
    .logo{
    display:flex;
    align-items:center;
    }
    
    .logo img{
    width:50px;
    margin-right:10px;
    }
    
    nav a{
    color:white;
    text-decoration:none;
    margin-left:20px;
    font-weight:bold;
    transition:0.3s;
    }
    
    nav a:hover{
    color:#38bdf8;
    }
    
    /* HERO */
    .hero{
    min-height:80vh;
    background:linear-gradient(rgba(0,0,0,0.6),rgba(0,0,0,0.6)),
    url("../img/1.jpeg");
    background-size:cover;
    background-position:center;
    display:flex;
    align-items:center;
    justify-content:center;
    text-align:center;
    color:white;
    padding:40px;
    }
    
    .hero-texto{
    max-width:900px;
    }
    
    .hero h1{
    font-size:48px;
    margin-bottom:20px;
    }
    
    .hero p{
    font-size:18px;
    text-align:justify;
    }
    
    /* CONTENEDORES */
    .contenedor{
    padding:60px 10%;
    text-align:center;
    }
    
    /* TITULOS */
    h2{
    margin-bottom:20px;
    color:#0c4a6e;
    }
    
    /* MISION Y VISION */
    .misionvision{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:30px;
    margin-top:30px;
    }
    
    /* TARJETAS */
    .card{
    background:white;
    padding:25px;
    border-radius:10px;
    width:320px;
    min-height:260px;
    box-shadow:0 4px 10px rgba(0,0,0,0.1);
    display:flex;
    flex-direction:column;
    justify-content:space-between;
    transition:transform 0.3s;
    text-align:justify;
    }
    
    .card:hover{
    transform:translateY(-5px);
    }
    
    /* PROYECTOS */
    #proyectos{
    padding:60px 10%;
    text-align:center;
    }
    
    .proyectos{
    display:flex;
    flex-wrap:wrap;
    justify-content:center;
    gap:30px;
    margin-top:30px;
    }
    
    /* GALERIA */
    
    #galeria{
    padding:60px 10%;
    text-align:center;
    }
    
    .galeria{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
    gap:20px;
    margin-top:30px;
    }
    
    .galeria img{
    width:100%;
    height:220px;
    object-fit:cover;
    border-radius:10px;
    cursor:pointer;
    transition:transform 0.3s, box-shadow 0.3s;
    }
    
    .galeria img:hover{
    transform:scale(1.05);
    box-shadow:0 6px 15px rgba(0,0,0,0.3);
    }
    
    /* VISOR ZOOM */
    
    #visor{
    position:fixed;
    top:0;
    left:0;
    width:100%;
    height:100%;
    background:rgba(0,0,0,0.9);
    display:none;
    justify-content:center;
    align-items:center;
    z-index:1000;
    }
    
    #visor img{
    max-width:90%;
    max-height:90%;
    border-radius:10px;
    }
    
    /* DOCUMENTOS */
    #documentos{
    padding:60px 10%;
    text-align:center;
    }
    
    .documentos{
    display:flex;
    flex-direction:column;
    gap:15px;
    margin-top:30px;
    max-width:500px;
    margin-left:auto;
    margin-right:auto;
    }
    
    .documentos a{
    background:#0c4a6e;
    color:white;
    padding:12px;
    text-decoration:none;
    border-radius:6px;
    transition:0.3s;
    }
    
    .documentos a:hover{
    background:#082f49;
    transform:scale(1.03);
    }
    
    /* CONTACTO */
    #contacto{
    padding:60px 10%;
    text-align:center;
    background:#e2e8f0;
    }
    
    #contacto p{
    margin-top:10px;
    }
    
    /* FOOTER */
    footer{
    text-align:center;
    padding:20px;
    background:#0c4a6e;
    color:white;
    }
    
    /* RESPONSIVE */
    @media (max-width:768px){
    
    header{
    flex-direction:column;
    }
    
    nav{
    margin-top:10px;
    }
    
    .hero h1{
    font-size:35px;
    }
    
    .misionvision,
    .proyectos{
    flex-direction:column;
    align-items:center;
    }
    
    .card{
    width:100%;
    max-width:400px;
    }
    
    }
    /* WHATSAPP */

.whatsapp{
    position:fixed;
    bottom:20px;
    right:20px;
    background:#25D366;
    width:60px;
    height:60px;
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    box-shadow:0 4px 10px rgba(0,0,0,0.3);
    z-index:1000;
    }
    
    .whatsapp img{
    width:35px;
    }
    


    /* IMPACTO */

#impacto{
    padding:60px 10%;
    text-align:center;
    background:#f1f5f9;
    }
    
    .impacto{
    display:flex;
    justify-content:center;
    gap:60px;
    margin-top:30px;
    flex-wrap:wrap;
    }
    
    .impacto h3{
    font-size:40px;
    color:#0c4a6e;
    }
    
    .impacto p{
    margin-top:10px;
    font-weight:bold;
    }
    .contenedor-tarjetas{
        display: flex;
        gap: 20px;
        align-items: stretch; 
    }
    
    .tarjeta{
        flex: 1;
        background: #f4f4f4;
        padding: 20px;
        border-radius: 10px;
        box-shadow: 0px 3px 8px rgba(0,0,0,0.1);
        display: flex;
        flex-direction: column;
    }