/* Hero section con la imagen de fondo */
.hero-section {
    position: relative;
    width: 100%;
    max-width: 1920px;
    margin: auto;
    height: 727px;
    background-image: url('/wp-content/uploads/2024/09/banner-pie.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.hero-background {
    margin: 105px 0 0 0;
}

.footer-h1 {
    font-size: 37px;
    letter-spacing: -1.7px;
    margin-bottom: 50px;
}
.box-p{
    max-width: 86%;
    margin: auto;
}

.footer-p {
    font-size: 20px;
    letter-spacing: -0.92px;
    line-height: 2;
}

.hero-content {
    color: white;
    text-align: center;
    max-width: 1058px;
    /* padding: 20px 0; */
    position: relative;
    z-index: 2;
}

.cta-button,.cta-button:hover,.cta-button:focus,.cta-button:visited {
    background-color: white;
    color: #337CA0;
    text-decoration: none;
    border-radius: 20px;
    font-weight: bold;
    width: 257px;
    height: 39px;
    font-size: 16px;
    display: flex;
    align-items: center;
    font-family: "Merriweather", serif;
    justify-content: center;
    margin: 40px auto;
}

.icon-container {
    margin-top: 20px;
}

.icon {
    width: 50px;
    height: 50px;
}

/* Sección AGD */
.agd-section {
    padding: 50px;
    text-align: center;
    background-color: white;
}

.agd-logo {
    width: 223px;
    margin-bottom: 34px;
}

.agd-info p {
    font-size: 1.1em;
    /* margin: 0 0 10px 0; */
    margin: 0px;
}

.agd-links {
    list-style: none;
    padding: 0;
    margin: 37px auto 44px;
    display: grid;
    grid-template-columns: repeat(5, auto);
    max-width: 650px;
}

.agd-links a {
    text-decoration: none;
    color: #4D4D4D;
    font-weight: 300;
    font-family: "Inter", sans-serif;
}

.programa-agd>a {
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 500;
    font-style: normal;
    font-size: 1.4rem;
    text-decoration: none;
    color: #4D4D4D;
    margin: 20px auto;
}


.agd-footer {
    margin-top: 30px;
}

p.text-footer-agd,
p.text-footer-agd a {
    font-size: 1.4rem;
    text-decoration: none;
    color: #4D4D4D;
    font-family: "Inter", sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
}

.footer-logos {
    margin: 20px;
}

.footer-logos img {
    width: 181px;
    margin: 0 20px;
}

.footer-logos img:first-child {
    width: 255px;
}

@media (max-width:768px) {
    .footer-h1 {
        font-size: 29px;
    }

    .footer-p {
        font-size: 19px;
    }
}