*{
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: Arial, Helvetica, sans-serif;
}

body{
    background-color: #f5f7fa;
}

/* HEADER */
header{
    width: 100%;
    padding: 20px 8%;
    background-color: #002b5b;

    display: flex;
    justify-content: space-between;
    align-items: center;

    position: fixed;
    top: 0;
    z-index: 1000;
}

.logo h1{
    color: white;
    font-size: 35px;
}

nav a{
    color: white;
    text-decoration: none;
    margin-left: 25px;
    font-size: 16px;
    transition: 0.3s;
}

nav a:hover{
    color: #ffd700;
}

/* HERO */
.hero{
    height: 100vh;

    background-image: url('https://images.unsplash.com/photo-1562774053-701939374585?q=80&w=1600&auto=format&fit=crop');

    background-size: cover;
    background-position: center;

    position: relative;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.overlay{
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.contenido-hero{
    position: relative;
    color: white;
    z-index: 1;
}

.contenido-hero h2{
    font-size: 60px;
    margin-bottom: 20px;
}

.contenido-hero p{
    font-size: 22px;
    margin-bottom: 30px;
}

.btn{
    background-color: #ffd700;
    color: black;
    text-decoration: none;
    padding: 14px 30px;
    border-radius: 30px;
    font-weight: bold;
    transition: 0.3s;
}

.btn:hover{
    background-color: white;
}

/* SECCIÓN */
.seccion{
    padding: 100px 8%;
}

.titulo{
    text-align: center;
    margin-bottom: 50px;
}

.titulo h2{
    font-size: 40px;
    color: #002b5b;
}

.titulo p{
    margin-top: 10px;
    color: #555;
}

.cards{
    display: flex;
    gap: 30px;
    justify-content: center;
    flex-wrap: wrap;
}

.card{
    width: 330px;
    background-color: white;
    border-radius: 15px;
    overflow: hidden;

    box-shadow: 0px 5px 15px rgba(0,0,0,0.1);

    transition: 0.3s;
}

.card:hover{
    transform: translateY(-10px);
}

.card img{
    width: 100%;
    height: 220px;
    object-fit: cover;
}

.contenido-card{
    padding: 25px;
}

.contenido-card h3{
    color: #002b5b;
    margin-bottom: 15px;
}

/* BANNER */
.banner{
    height: 350px;

    background-image: url('https://images.unsplash.com/photo-1523050854058-8df90110c9f1?q=80&w=1600&auto=format&fit=crop');

    background-size: cover;
    background-position: center;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;

    position: relative;
}

.banner::before{
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
}

.banner-texto{
    position: relative;
    color: white;
    z-index: 1;
}

.banner-texto h2{
    font-size: 50px;
    margin-bottom: 20px;
}

.banner-texto p{
    margin-bottom: 30px;
    font-size: 20px;
}

.btn-blanco{
    background-color: white;
    color: black;
    padding: 14px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
}

/* FOOTER */
footer{
    background-color: #001b38;
    color: white;
    padding: 50px 8% 20px;
}

.footer-contenido{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.redes a{
    color: white;
    font-size: 25px;
    margin-right: 15px;
    transition: 0.3s;
}

.redes a:hover{
    color: #ffd700;
}

.copy{
    margin-top: 40px;
    text-align: center;
    font-size: 14px;
}