.three-parts {
  display: flex;
  justify-content: space-between;
  width: 100%;
}

.part {
  flex-basis: 33.33%; /* Cada parte tiene un ancho base de 1/3 */
  max-width: 33.33%; /* Asegura que las partes no se expandan más de 1/3 */
  padding: 30px;
  padding-top: 50px;
  padding-bottom: 50px;
}

.part-left {
  background-color: #1f1f1f;
  color: #e2e2e2;
}

.part-middle {
  background-color: #302f2f;
  color: #e2e2e2;
}

.part-right {
  background-color: #1f1f1f;
  color: #e2e2e2;
}

.part h2 {
  color: #e2e2e2;
}

.part p {
  color: #707070;
}

/* Ajustes para pantallas pequeñas (menor a 768px) */
@media (max-width: 768px) {
  .three-parts {
    flex-direction: column; /* Las partes se apilan verticalmente */
  }

  .part {
    width: 100%; /* Cada parte ocupa el 100% del ancho en móviles */
    max-width: 100%; /* Para asegurar que no haya problemas en pantallas pequeñas */
  }
}

    
    

  .hero-section {
      position: relative;
      width: 100%;
      height: 800px; /* Ocupa el 100% del alto del dispositivo */
      background-image: url('../images/bg_1_1.jpg'); /* Reemplaza con la URL de tu imagen */
      background-size: cover;
      background-repeat: no-repeat;
      background-position: center; /* Centra horizontalmente pero ancla al borde superior */
    }

   .overlay {
      position: absolute;
      top: 70%;
      left: 50%;
      transform: translate(-50%, -50%);
      background-color: rgba(0, 0, 0, 0.7); /* Fondo negro con transparencia */
      color: #fff;
      padding: 20px 40px;
      text-align: center;
      border-radius: 15px;
    }

    .overlay h1 {
      font-size: 2rem;
    }

    @media (max-width: 768px) {
      .overlay h1 {
        font-size: 1.5rem;
      }
    }

    @media (max-width: 480px) {
      .overlay h1 {
        font-size: 1.2rem;
      }
    }

    .four-images {
      display: flex;
      flex-wrap: wrap;
      width: 100%;
    }

    .four-images img {
      width: 25%; /* Cada imagen ocupa un cuarto del ancho */
      height: auto;
    }

    @media (max-width: 768px) {
      .four-images img {
        width: 50%; /* En móviles, cada imagen ocupa la mitad del ancho */
      }
    }

/* Media query para pantallas pequeñas (móviles) */
.owl-item{
    height: 700px;
}

@media (max-width: 1024px) {
    
    .hero-section {
  
      height: 350px; /* Ocupa el 100% del alto del dispositivo */

    }
    
    .owl-item  {
        height: 450px; /* Alto para tabletas */
    }
}

/* Media query para móviles */
@media (max-width: 768px) {
    .hero-section {
  
      height: 450px; /* Ocupa el 100% del alto del dispositivo */

    }
    
    .owl-item  {
        height: 250px; /* Alto para móviles */
    }
}


#desc-text-img-7 .bg-wrap {
    background-color: #2b2b2b;
}
#action-img-text-btn .bg-wrap {
    background-color: #2b2b2b;
}
#action-img-text-btn--0 .bg-wrap {
    background-color: #2b2b2b;

}

#action-img-text-btn-2.bg-wrap {
    background-color: #2b2b2b;

}
#clients-4col .bg-wrap{
    background-color: #222;
}
#header-text .bg {
    background-image: url('../images/bg-46.jpg');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    opacity:1.00;
}

.back  {
    background-image: url('../images/bg-46.jpg');
    padding-top: 200px;
    padding-bottom: 200px;
    opacity:0.25;
    z-index: 10;
}



.logo-overlay {
    padding: 0rem 3rem 1rem;
    position: absolute;
    top: 0;
    left: -100px;
    z-index: 100; /* Ajusta este valor para controlar la superposición */
}

.content-box.with-background {
    position: relative;
    overflow: hidden;
}

.content-box.with-background::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    transition: opacity 0.3s ease; /* Transición suave */
    opacity: 0; /* Inicialmente transparente */
}

.content-box.with-background:hover::before {
    opacity: 1; /* Mostrar el oscurecimiento al pasar el ratón */
}

/* Resto de tu CSS aquí */