:root {
  --color-principal: #ec3251;
  --color-secundario: #0d78be;
  --color-texto-titulos: #0d78be;
  --color-subrayado: #EE4461;

  --font-size-base: 1rem;
  --font-size-small: 0.875rem;
  --font-size-large: 1.25rem;
  --font-size-h1: 3rem;
  --font-size-h2: 1.625rem;
  --font-size-h3: 1.3125rem

}

/*SOBRE NOSOTROS*/
.parallax {
  position: relative;
  background-image: url(../assets/build-bussiness.jpg);
  min-height: 500px;
  background-attachment: scroll;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  object-fit: cover;
}


.parallax::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 1; 
}
.overlay-nosotros {
  position: relative;
  z-index: 2; /* Esto asegura que el contenido esté encima del parallax */
  color: white; /* Para que el texto sea visible sobre el fondo oscuro */
}


/*Titulo*/
.text-end-custom{
  text-align: end;
  margin-right: 300px;
  position: relative; 
  z-index: 2;
  margin-bottom: 20px;
  font-weight: bold;
}

/*Parrafo*/
.card-text-nosotros{
  position: relative;
  z-index: 2;
  margin-bottom: 5px;
}

/*IMAGEN SOBRE NOSOTROS*/
.imagen-nosotros {
  display: block; 
  max-width: 230px;
  height: auto; 
  position: absolute; 
  top: 15%; 
  left: 5%; 
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3); 
  z-index: 2;
}

/* Responsive ajustes */
@media (max-width: 768px) {
  .imagen-nosotros {
    display: none; 
  }
  .text-end-custom, 
  .card-text-nosotros {
    text-align: center;
    margin: 0 auto;
    font-size: 1.2rem;
  }
  .parallax {
    min-height: 300px
  }
}

@media (max-width: 480px) {
  /* Ajustes adicionales para móviles */
  .text-end-custom {
    font-size: 1.3rem; 
    margin-bottom: 10px;
  }

  .card-text-nosotros {
    font-size: 15px;
    position: relative;
  }
  .parallax {
    min-height: 1050px;
}
}
/*¿QUÉ NOS DIFERENCIA?*/
.title-nosotros{
  color: var(--color-texto-titulos);
  font-weight: 600;
  position: relative;
  margin-top: 50px;
  margin-bottom: 30px;
  font-size: var(--font-size-h1);
}

.herramienta {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 20px;
  color: #ec3251;
  margin-top: 50px;
  transition: transform 0.3s ease;
}
.herramienta svg {
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.herramienta span {
  font-size: 18px;
  font-weight: bold;
  color: #0d78b0;
  transition: transform 0.3s ease;
}

.herramienta:hover {
  transform: translateY(-5px); 
}

.diagrama, .grupo, .cliente, .versatilidad {
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  font-size: 20px;
  color: #ec3251;
  margin-top: 18px;
  transition: transform 0.3s ease;
}

.diagrama svg, .grupo svg, .cliente svg, .versatilidad svg {
  margin-right: 10px;
  transition: transform 0.3s ease;
}

.diagrama span, .grupo span, .cliente span, .versatilidad span {
  font-size: 18px;
  font-weight: bold;
  color: #0d78b0;
  transition: transform 0.3s ease;
}

.diagrama:hover, .grupo:hover, .cliente:hover, .versatilidad:hover {
  transform: translateY(-5px);
}

.container-md {
  position: relative;
  left: 30px;
  top: 10px;
}

.card-infraestructura {
  width: 300px;
  height: 300px;
  background-color: #ec3251 !important;
  border: 0;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 10px;
  transition: transform 0.3s ease, filter 0.3s ease, box-shadow 0.3s ease;
}

.card-title-infraestructura {
  font-size: 22px;
  color: white;
  margin: 10px 0;
  position: relative;
  transition: color 0.3s ease;
}

.card-text-infraestructura {
  font-size: 14px;
  color: white;
  margin-top: 8px;
}

.card-infraestructura svg {
  width: 40px;
  height: 40px;
  margin-bottom: 10px;
  transition: color 0.3s ease, transform 0.3s ease;
}

.card-infraestructura:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 15px rgba(0, 0, 0, 0.2);
}

.card-title-infraestructura::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px; 
  width: 0;
  height: 2px;
  background: #000000; 
  transition: width 0.5s ease;
  font-weight: bold;
}

.card-title-infraestructura:hover::after {
  width: 100%; 
}

.card-title-infraestructura:hover {
  color: #000000;
}
.card-infraestructura svg:hover {
  color: #000000; 
  transform: scale(1.1); 
}
