.container-seguridad{
      background-image: url('../images/fontoSectionSeguridad.webp');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    /* Efecto parallax al desplazarse */
    min-height: 450px;
    /* Altura mínima personalizada */
    width: 100%;
    position: relative;
    overflow: hidden;
    /* Evita desbordamientos */
    padding: 2rem;
}
.box-seguridad p {
    color: white;
    background-color: rgba(0, 0, 0, 0.534);
    border-radius: 20px;
}


@media (max-width:1000px) {
.container-seguridad{
  background-attachment: scroll; 
}
    }

@media (max-width:900px) {
    .box-seguridad  {
width:100% !important;
margin:10px !important;
}
    
}
@media (max-width:500px) {
    .box-seguridad p {
 font-size: small;
}
    
}