img {
  display: block; 
  margin-bottom: 10px; 
  width: 100%;
}


.header-container {
  position: relative;
  width: 100%;
  height: 100vh; 
  height: 100svh; 
  background: url("https://app.explor-k.com/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;
}

.header-container2 {
  position: relative;
  width: 100%;
  height: 100vh; 
  height: 100svh; 
  background: url("https://app.explor-k.com/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;
}


.header-content {
  color: white;
  max-width: 900px;
  text-align: center;
  z-index: 2;
}


.header-content h1 {
  font-size: 2.8rem;
  font-weight: bold;
  text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.8);
  margin-bottom: 10px;
}


.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;
}


.header-boxes {
  display: flex;
  justify-content: center;
  gap: 70px;
  flex-wrap: wrap;
  margin-top: 30px; 
}


.box {
  background: rgba(19, 30, 48, 0.842); 
  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);
}


@media screen and (max-width: 768px) {
  .header-container {
    height: 100vh;
    height: 100svh;
    padding: 10px;
  }

  .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;
  }
}


.header-boxes-monitoreo {
  display: flex;
  justify-content: center;
  gap: 15px;
  flex-wrap: wrap; 
  width: 100%;
  padding: 10px 5%;
}


.box-monitoreo {
  background: rgba(0, 31, 63, 0.95); 
  color: white;
  padding: 20px;
  font-size: 1rem;
  text-align: center;
  border-radius: 8px;
  width: 23%; 
  height: 190px;
  min-height: 150px; 
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}


.box-monitoreo i {
  font-size: 1.8rem;
  color: #ffffff;
  margin-bottom: 8px;
}


.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;
  
  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%;

  
  background: rgba(19, 30, 48, 0.842);
  padding: 15px; 
  text-shadow: 2px 2px 1px rgb(0, 0, 0);
  border-radius: 4px; 
}


@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%; 
    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%;
  }
}


.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; 
  border-radius: 8px; 
}

.text-container h1 {
  font-size: 3rem; 
  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; 
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.9);
  color: white;
}



.grid-container {
  display: flex;
  flex-direction: column;
  gap: 40px;
  padding: 50px 20px;
  max-width: 1200px;
  margin: 0 auto;
}


.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;
}


.grid-item.reverse {
  background-color: rgba(200, 200, 200, 0.2);
  
  padding: 20px;
  
  border-radius: 8px;
  
  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;
}


.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;
}


@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;
  }
}


.header-seguridad {
  position: relative;
  width: 100%;
  height: auto;
  background: url("https://app.explor-k.com/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;
}


.content-seguridad {
  max-width: 1100px;
  color: white;
  text-align: center;
  z-index: 2;
}


.grid-seguridad {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  width: 100%;
  margin: 0 auto;
}


.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;
}


@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;
  }
}
