img {
    display: block;  /* Esto hace que cada imagen ocupe una línea nueva */
    margin-bottom: 10px;  /* Espacio entre las imágenes */
    width: 100%;
}


/* 🔹 Contenedor Principal */
.header-container {
    position: relative;
    width: 100%;
    height: 100vh; /* Ajusta la altura del contenedor */
    background: url("https://elearning.explor-k.cl/CDN/explork/servicios/bannerserviciosgenerales.webp") no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
    margin-top: 40px;
}

.header-container2 {
    position: relative;
    width: 100%;
    height: 100vh; /* Ajusta la altura del contenedor */
    background: url("https://elearning.explor-k.cl/CDN/explork/servicios/arriendofondo.webp") no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 20px;
}

.header-container2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7 );
    z-index: 1;
}

.header-container::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.7 );
    z-index: 1;
}

/* 🔹 Contenido dentro del Header */
.header-content {
    color: white;
    max-width: 900px;
    text-align: center;
    z-index: 2;
}

/* 🔹 Título */
.header-content h1 {
    font-size: 2.8rem;
    font-weight: bold;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
    margin-bottom: 10px;
}

/* 🔹 Subtítulo con efecto de resplandor */
.header-content p {
    font-size: 1.3rem;
    text-shadow: 2px 2px 1px rgb(0, 0, 0);
    margin-bottom: 70px;
    margin-top: 5%;
    text-align: justify;
}

/* 🔹 Contenedor de los 3 recuadros */
.header-boxes {
    display: flex;
    justify-content: center;
    gap: 70px;
    flex-wrap: wrap;
    margin-top: 30px; /* Baja los recuadros */
}

/* 🔹 Estilo de cada recuadro */
.box {
    background: rgba(19, 30, 48, 0.842); /* Semi-azul transparente */
    color: white;
    padding: 15px 20px;
    font-size: 1.1rem;
    text-align: center;
    border-radius: 8px;
    min-width: 250px;
    max-width: 300px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.459);
}



/* 🔹 Ajustes Responsivos */
@media screen and (max-width: 768px) {
    .header-container {
        height: 100vh;
        padding: 10px;
        margin-top: 5%;
    }

    .header-content h1 {
        font-size: 2rem;
    }

    .header-content p {
        font-size: 1rem;
        margin-bottom: 20px;
    }

    .header-boxes {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }


    .box {
        width: 80%;
        max-width: 250px;
        font-size: 1rem;
        padding: 10px;
    }
}



/* 🔹 Contenedor de los 4 recuadros */
.header-boxes-monitoreo {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap; /* En móvil se apilan */
    width: 100%;
    padding: 10px 5%;
}

/* 🔹 Estilo de cada recuadro */
.box-monitoreo {
    background: rgba(0, 31, 63, 0.95); /* Azul sólido */
    color: white;
    padding: 20px;
    font-size: 1rem;
    text-align: center;
    border-radius: 8px;
    width: 23%; /* Ajustar ancho para cubrir más */
    height: 190px;
    min-height: 150px; /* Asegurar que cubra el texto */
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* 🔹 Íconos */
.box-monitoreo i {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 8px;
}

/* 🔹 Títulos dentro de los recuadros */
.box-monitoreo h3 {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
}

.description-monitoreo {
    font-size: 1rem;
    color: white;
    /* Efecto de resplandor aumentado */
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.281),
        0 0 20px rgba(255, 255, 255, 0.9),
        0 0 30px rgba(255, 255, 255, 0.486);
    margin-top: 15px;
    max-width: 900px;
    margin-left: 13%;
    
    /* Fondo y recuadro negro para mejorar la legibilidad */
    background: rgba(19, 30, 48, 0.842);
    padding: 15px; /* Espacio interno */
    text-shadow: 2px 2px 1px rgb(0, 0, 0);
    border-radius: 4px; /* Opcional: bordes redondeados */
}


/* 🔹 Responsive - En móvil se apilan */
@media screen and (max-width: 768px) {
    .header-monitoreo{
        height: 130vh;
    }

    .header-boxes-monitoreo {
        flex-direction: column;
        gap: 15px;
    }

    .box-monitoreo {
        width: 90%;
        max-width: 300px;
        margin-left: 6%;
    }

    .image-1 {
        width: 40%; /* Asegura que el logo se vea en móvil */
        margin-top: 10px;
    }

    .description-monitoreo {
        font-size: 1rem;
        color: white;
        text-shadow: 1px 1px 8px rgba(0, 0, 0, 0.8);
        margin-top: 10px;
        margin-left: 4%;
    }
}


/* 🔹 Título y Subtítulo (Centrados Arriba) */
.text-container {
    text-align: center;
    width: 100%;
    margin-bottom: 20px;
    background: rgba(19, 30, 48, 0.842);
    text-shadow: 2px 2px 1px rgb(0, 0, 0);
    padding: 20px; /* Espaciado interno */
    border-radius: 8px; /* Opcional: bordes redondeados */
}

.text-container h1 {
    font-size: 3rem; /* Tamaño aumentado */
    font-weight: bold;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9);
    margin-bottom: 10px;
    color: white;
}

.text-container .subtitulo {
    font-size: 1.5rem; /* Tamaño aumentado */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
    color: white;
}








/*APLICACIONES DE LAS LINEAS DE VIDA*/
/* 🔹 Imagen y texto */
.grid-container {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 50px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 🔹 Estilos para cada sección */
.grid-item {
    display: flex;
    align-items: center;
    gap: 10px;
}

.grid-item img {
    width: 300px;
    height: 200px;  
    object-fit: cover;
    border-radius: 8px;
}



.title-text {
    font-size: 20px;
    text-align: justify;
    font-weight: bold;
}

.text {
    flex: 1;
    text-align: left;
    text-align: justify;
    font-size: 16px;
}

.inline-list {
    font-size: 17px;
}

/* 🔹 Estilo para la segunda sección con fondo gris claro */
.grid-item.reverse {
    background-color: rgba(200, 200, 200, 0.2);
    /* Un gris muy leve */
    padding: 20px;
    /* Espaciado interno */
    border-radius: 8px;
    /* Bordes redondeados */
    flex-direction: row-reverse;
}

.grid-item.reverse .title-text {
    align-self: flex-start;
    text-align: left;
}

.grid-item.reverse .text {
    text-align: left;
    text-align: justify;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
}





/* 🔹 Sección de Capacitación */
.capacitacion {
    background: #0c1b2e;
    color: white;
    padding: 50px 20px;
    text-align: center;
}

.capacitacion h2 {
    font-size: 26px;
    margin-bottom: 15px;
}

.capacitacion p {
    max-width: 900px;
    margin: 0 auto 20px;
    font-size: 18px;
    line-height: 1.6;
}

/* 🔹 Ajustes Responsivos */
@media screen and (max-width: 768px) {
    .header {
        height: 40vh;
        padding: 30px 15px;
        margin-top: 7%;
    }

    .header h1 {
        font-size: 28px;
        margin-top: 20%;
    }

    .header p {
        font-size: 16px;
        margin-bottom: 90px;
    }

    .grid-item {
        flex-direction: column;
        text-align: center;
    }

    .grid-item img {
        width: 60%;
        max-width: 200px;
        margin-top: 13%;
    }

    .text {
        text-align: justify;
    }

    .title-text{
        text-align: center;
    }

    .grid-item.reverse {
        flex-direction: column;
        justify-content: center;
        align-items: center;
    }

    .grid-item.reverse .text {
        text-align: justify;
        align-items: center;
    }
    
    .grid-item.reverse .title-text {
        align-self: center !important;
        text-align: center !important;
    }
}






/* 🔹 Contenedor Principal */
.header-seguridad {
    position: relative;
    width: 100%;
    height: auto;
    background: url("https://elearning.explor-k.cl/CDN/explork/cuerdamartillo.webp") no-repeat center center;
    background-size: cover;
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
}

/* 🔹 Contenido */
.content-seguridad {
    max-width: 1100px;
    color: white;
    text-align: center;
    z-index: 2;
}

/* 🔹 Contenedor de imágenes y banner azul */
.grid-seguridad {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    margin: 0 auto;
}

/* 🔹 Banner Azul con Información */
.banner-seguridad {
    background: rgba(19, 30, 48, 0.9);
    color: white;
    padding: 20px;
    font-size: 1.1rem;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 500px;
    text-align: left;
    border-radius: 8px;
    flex: 1;
    min-width: 300px;
    margin: 0;
    max-width: 500px;
    box-sizing: border-box;
    text-shadow: 3px 3px 10px rgba(0, 0, 0, 0.9);
    
}

.banner-seguridad h2 {
    margin-bottom: 20px;
    min-height: 110px; 
    font-size: 1.8rem;
    font-weight: bold;
    margin-bottom: 10px;
}

.banner-seguridad .resaltado {
    color: #ffcc00;
}

.banner-seguridad h3 {
    font-size: 1.3rem;
    margin-top: 15px;
}

.banner-seguridad p{
    margin-top: 0;
    flex-grow: 1;
    text-align: justify;
}

/* 🔹 Ajustes Responsivos */
@media screen and (max-width: 768px) {
    .grid-seguridad {
        flex-direction: column;
        align-items: center;
        flex-wrap: wrap;
        gap: 30px;
    }

    .imagenes-logos img {
        width: 150px;
    }

    .banner-seguridad {
        max-width: 100%;
        text-align: center;
    }

    .banner-seguridad ul {
        text-align: left;
    }
}



