.sustainabiliy_body{
    background-color: white;
}

.sustainability_header {
    width: 100%;
    height: 500px;
    background-image: url('../img/header_sustainability.jpg');
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

@media (max-width: 768px){
    .sustainability_header {
        width: 100%;
        height: 500px;
        background-image: url('../img/header_sustainability.jpg');
        background-size: 350%;
        background-repeat: no-repeat;
        background-position: 15% 90%;
        display: flex;
        justify-content: center;
        align-items: flex-end;
    }
}

.sustainability_header_text_container {
    display: flex;
    flex-direction: column;
    width: 550px;
    height: 300px;
    background-color: rgba(0, 0, 0, 0.5);
    margin-right: 100px;
    padding: 10px;
}

@media(max-width:768px){
    .sustainability_header_text_container {
        width: 550px;
        height: 230px;
        margin-right: 0px;
        padding: 10px;
    }
}

.sustainability_header_text_container_mainText {
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    margin-bottom: 25px;
}

.sustainability_header_text_container_subText {
    color: white;
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 18px;
    margin-top: -15px;
}

@media(max-width:768px){
    .sustainability_header_text_container_subText {
        font-size: 13px;
    }
}

.sustainability_content {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: fit-content;
    margin-bottom: 50px;
    background-color: white;
}

.sustainability_content_title {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin-top: 80px;
    margin-bottom: 60px;
}

.sustainability_content_title_text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 25px;
    color: black;
    margin-top: -15px;
}

@media(max-width:768px){
    .sustainability_content_title_text {
        font-size: 14px;
    }
}

.sustainability_content_card_container {
    display: flex;
    justify-content: space-around;
    width: 100%;
    height: 100%;
}

@media(max-width:768px){
    .sustainability_content_card_container {
        flex-direction: column;
        align-items: center;
    }
}

.sustainability_content_card {
    width: 300px;
    height: 550px;
    box-shadow: 5px 10px 10px 0px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

@media(max-width:768px){
    .sustainability_content_card {
        margin-bottom: 50px;
    }
}

.sustainability_image_card1, .sustainability_image_card2, .sustainability_image_card3 {
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    width: 100%;
    height: 200px;
}

.sustainability_image_card1 {
    background-image: url('../img/ofice_sustainability.jpg');
}

.sustainability_image_card2 {
    background-image: url('../img/carton_comprimido.jpg');
}

.sustainability_image_card3 {
    background-image: url('../img/net_zero.jpg');
}

.sustainability_main_text_container {
    width: 100%;
    height: 80px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.sustainability_main_text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #057B40;
    margin-top: 10px;
}

.sustainability_text_container {
    display: flex;
    flex-direction: column;
    width: 90%;
    height: 200px;
    margin-bottom: 20px;
    align-items: flex-start;
    justify-content: flex-start;
}

.sustainability_text1, .sustainability_text2 {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: black;
}

.sustainability_text2 {
    margin-top: -20px;
}

.sustainability_link {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 16px;
    color: #057B40;
    margin-top: 10px;
    text-decoration: underline;
}

/* Estilos para el modal */
.modal {
    display: none;
    position: fixed;
    z-index: 90000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.5);
    justify-content: center;
    align-items: center; /* Esto centra el modal en la pantalla */
}

.modal-content {
    z-index: 1000;
    position: relative;
    margin: 0 auto;
    padding: 20px;
    width: 80%;
    max-width: 700px;
    background-color: white;
    box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

@media(max-width: 768px) {
    .modal-content {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* Centra el modal horizontal y verticalmente */
        width: 90%; /* Ajusta el ancho para pantallas más pequeñas */
        height: fit-content;
    }
}


.close {
    position: absolute;
    top: 10px;
    right: 25px;
    color: #aaa;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover, .close:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.modal-image {
    width: 100%;
    height: auto;
}

.sustainability_commitment_policy {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    height: fit-content;
    background-color: #057B40;
}

@media(max-width:768px){
    .sustainability_commitment_policy {
        align-items: flex-start;
    }
}

.sustainability_commitment_policy_title {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: white;
    margin-top: 50px;
    margin-bottom: 20px;
}

@media(max-width:768px){
    .sustainability_commitment_policy_title {
        align-self: center;
    }
}

.sustainability_commitment_policy_text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 400;
    font-size: 16px;
    color: white;
    margin: 0px;
}

@media(max-width:768px){
    .sustainability_commitment_policy_text {
        font-size: 15px;
        margin-left: 20px;
        margin-right: 20px;
    }
}

.sustainability_commitment_policy_text:last-child {
    margin-bottom: 50px;
}

.sustainability_footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 150px;
    background-image: url("../img/parallax/parallax06.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    z-index: 1;
}

.sustainability_footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: black;
    opacity: 0.5;
    z-index: -1;
}

.sustainability_footer_image {
    width: 15%;
}

@media(max-width:768px){
    .sustainability_footer_image {
        width: 40%;
    }
}

.cta_container_sustainability {
    opacity: 0;
    height: 0;
    overflow: hidden;
    width: 100%;
    background-color: #057B40;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    transition: height 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.cta_container_sustainability.show {
    opacity: 1;
    height: 100px;
}

.cta_container_sustainability_text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 300;
    font-size: 20px;
    color: white;
    margin-top: 10px;
}

@media(max-width:768px){
    .cta_container_sustainability_text {
        font-size: 12px;
        margin-left: 10px;
        margin-right: 10px;
    }
}

.cta_container_sustainability_cta_text {
    font-family: 'Open Sans', sans-serif;
    font-weight: 700;
    font-size: 20px;
    color: white;
    margin-top: -15px;
    transition: 1s ease-in-out;
}

.cta_container_sustainability_cta_text:hover {
    scale: 1.1;
}

.cta_container_sustainability_cta_link:hover {
    text-decoration: none;
}

@media (max-width: 768px) {
    .cta_container_sustainability {
        text-align: center;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 2000;
        opacity: 1;
        height: auto;
        transition: transform 0.5s ease-in-out;
        transform: translateY(-100%);
    }

    .cta_container_sustainability.show {
        transform: translateY(0);
    }
}

/* Estilos para el menú lateral */
/* Estilos para el menú lateral */
.side-menu {
    position: fixed;
    right: -300px;
    top: 0;
    height: 100%;
    width: 300px;
    background-color: #fff;
    transition: right 0.3s ease-in-out;
    z-index: 9999;
}

/* Muestra el menú lateral */
.side-menu.open {
    right: 0;
}

/* Opcional: fondo semitransparente cuando el menú esté abierto */
.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    z-index: 9998;
    display: none;
}

.overlay.show {
    opacity: 1;
    display: block;
}

.sideMenu a {
    text-decoration: none;
    color: #057B40; /* Color para los enlaces normales */
    transition: color 0.3s ease;
}

.sideMenu a:visited {
    color: #057B40; /* Asegura que el enlace visitado tenga el mismo color */
}

.sideMenu a:hover {
    color: #035F30; /* Un color más oscuro para el hover si deseas */
}

.sideMenu a:active {
    color: #033F20; /* Un color para cuando el enlace está activo */
}

.sideMenuUl {
    margin-left: 30px;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 20px;
    color: #057B40;
    transition: 1s ease-in-out;
}

a{
    text-decoration: none;
    color: grey;
}

.newFloat {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 40px; /* Cambia este valor para ajustar la altura del botón respecto al fondo */
    right: 40px;   /* Cambia este valor si quieres mover el botón a la izquierda o derecha */
    background-color: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 2px 2px 3px #999;
    z-index: 9999; /* Asegura que esté por encima de otros elementos */
}

.newMyFloat {
    margin-top: 16px; /* Centra el ícono dentro del botón */
}