html,
body {
    overflow-x: hidden;
    /* Oculta el desbordamiento horizontal */
    margin: 0;
    padding: 0;
}

body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
}

header,
.container,
.banner {
    box-sizing: border-box;
    /* Asegura que el padding y border se incluyan en el ancho total */
}



/* Asegura que la sección de beneficios y los elementos no se desborden */
.benefits-section,
.benefit {
    box-sizing: border-box;
}

body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
}

header {
    background-color: #fff;
    padding: 10px 0;
    text-align: center;
    border-bottom: 2px solid #e0e0e0;
}

nav {
    margin: 10px 0;
    text-align: center;
}

nav a {
    color: red;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    padding: 10px;
    border-bottom: 3px solid red;
}

.banner {
    position: relative;
    width: 100%;
    height: auto;
}

.banner img {
    width: 1120px !important;
}

.banner-text {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 10px;
}

.banner-text h2 {
    margin: 0 0 10px 0;
    font-size: 24px;
}

.banner-text .button {
    background-color: red;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
}

.container {
    text-align: center;
    padding: 20px;
    background-color: #fff;
    border-bottom: 2px solid #e0e0e0;
}

.dede {
    color: red;
    margin-bottom: 20px;
}

.benefits-section {
    display: flex;
    justify-content: space-around;
    padding: 20px;
    flex-wrap: wrap;
}

.benefit {
    background-color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    width: 30%;
    margin-bottom: 20px;
}

.benefit img {
    width: 100%;
    height: auto;
    border-radius: 10px;
}

.benefit p {
    margin-top: 10px;
    font-weight: bold;
}

.button {
    background-color: red;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 20px;
    cursor: pointer;
    font-size: 16px;
    margin-top: 10px;
}

/* Media Query para móviles */
@media screen and (max-width: 700px) {


    .banner img {
        width: 650px;
    }

    .banner-text h2 {
        font-size: 15px;
        margin: 0 0 5px 0;
    }

    .banner-text .button {
        font-size: 14px;
        padding: 8px 16px;
    }

    .benefits-section {
        flex-direction: column;
        align-items: center;
    }

    .benefit {
        width: 50%;
        margin-bottom: 20px;
    }
}