

*{
    margin:0;
    padding:0;
    box-sizing:border-box;
}

html{
    scroll-behavior:smooth;
}

body{

    font-family:'Poppins',sans-serif;

    background:#f4f7fb;

    color:#333;

    line-height:1.7;

}

header{

    position:fixed;

    top:0;

    left:0;

    width:100%;

    height:80px;

    background:white;

    backdrop-filter:blur(10px);

    display:flex;

    justify-content:space-between;

    align-items:center;

    padding:0 60px;

    z-index:999;

    box-shadow:0 3px 12px rgba(0,0,0,.2);

}

.logo{
    display:flex;
    align-items:center;
    gap:15px;
    color: black;
    text-decoration:none;
    font-weight:600;
    font-size:20px;
}

.logo img{

    width:55px;

}

nav{

    display:flex;

    gap:28px;

}

nav a{
    color:black;
    text-decoration:none;
    font-size:15px;
    transition:.3s;
    position:relative;
}

nav a::after{

    content:"";

    position:absolute;

    width:0;

    height:2px;

    left:0;

    bottom:-6px;

    background:white;

    transition:.3s;

}

nav a:hover::after{

    width:100%;

}

nav a:hover{

    color:#FFD447;

}


.hero{

    min-height:100vh;

    background:

    linear-gradient(rgba(8,40,90,.70),rgba(8,40,90,.70)),

    url("../images/banner.jpg");

    background-size:cover;

    background-position:center;

    display:flex;

    justify-content:center;

    align-items:center;

    text-align:center;

    color:white;

    padding:40px;

}

.hero-content{

    max-width:900px;

}

.hero h1{

    font-size:55px;

    margin-bottom:20px;

}

.hero p{

    font-size:20px;

    margin-bottom:35px;

}

.btn{

    display:inline-block;

    padding:16px 36px;

    background:#FFD447;

    color:#08285A;

    text-decoration:none;

    border-radius:50px;

    font-weight:600;

    transition:.3s;

}

.btn:hover{

    transform:translateY(-4px);

    box-shadow:0 10px 20px rgba(0,0,0,.2);

}
.contenedor{

    width:90%;

    max-width:1200px;

    margin:auto;

    padding:110px 0;

}

.contenedor h2{

    font-size:38px;

    color:#08285A;

    margin-bottom:30px;

    text-align:center;

    position:relative;

}

.contenedor h2::after{

    content:"";

    width:80px;

    height:4px;

    background:#FFD447;

    display:block;

    margin:15px auto;

}

article{

    background:white;

    padding:35px;

    border-radius:15px;

    margin-bottom:30px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

article h3{

    color:#08285A;

    margin-bottom:15px;

}

.cards{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(280px,1fr));

    gap:30px;

}

.card{

    background:white;

    padding:35px;

    border-radius:18px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

    transition:.3s;

}

.card:hover{

    transform:translateY(-10px);

}

.card h3{

    color:#08285A;

    margin-bottom:15px;

}

.galeria{

    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:25px;
}

.foto{
    background:#d8d8d8;
    border-radius:15px;
    overflow:hidden;
    transition:.3s;
    padding:15px;
    box-shadow:0 8px 20px rgba(0,0,0,.15);
}

.foto img{
    width:100%;
    height:auto;
    display:block;
}

.foto:hover{

    transform:scale(1.03);

}

.graficas{

    display:grid;

    grid-template-columns:repeat(auto-fit,minmax(350px,1fr));

    gap:35px;

}

.grafica{

    background:white;

    border-radius:18px;

    padding:25px;

    box-shadow:0 10px 30px rgba(0,0,0,.08);

}

.grafica img{

    width:100%;

    border-radius:10px;

}

footer{

    background:#08285A;

    color:white;

    text-align:center;

    padding:35px;

    margin-top:60px;

}

@media(max-width:980px){

header {
    position: sticky;
    top: 0;
    z-index: 1000;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 95px;
    padding: 12px 40px;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .08);
    color: white;
}
nav{

    flex-wrap:wrap;

    justify-content:center;

    margin-top:20px;

}

.hero h1{

    font-size:38px;

}

.hero p{

    font-size:18px;

}

}

@media(max-width:650px){

.hero{

    padding:25px;

}

.hero h1{

    font-size:30px;

}

.contenedor{

    width:92%;

}

.contenedor h2{

    font-size:30px;

}

}

