#about-us{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding-top: 10px;
    position: relative;
    height: 100vh;
    width: 100%;
    gap: 45px;
    background-image: url('../files/img/WhatsApp\ Image\ 2025-02-11\ at\ 19.10.52_1ece8ea7.jpg');
    background-size: cover; /* Ajusta la imagen para que cubra toda la sección */
    background-position: center; /* Centra la imagen */
}
#about-us::before {
    content: ''; /* Necesario para crear un pseudo-elemento */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.685); /* Capa negra semi-transparente */
    z-index: 1; /* Asegura que la capa oscura esté por encima de la imagen */
  }

  #conteabo{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    
    z-index: 2;
    border: solid rgba(216, 35, 35, 0.658) 1px;
    padding: 60px;
    margin: 10px;
    background-color: rgba(0, 0, 0, 0.432);
    backdrop-filter: blur(8px);
    border-top-left-radius: 275px;
    border-top-right-radius: 5px;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 275px;
  }
  #conteabo h2{
    font-size: 7rem;
    color: white;
    
}
#conteabo p{
    text-align: center;
    max-width: 600px;
    text-align: center;
    font-size: 18px;
    color: white;
}


/* estilos para la seccion acerca qualify section  */

#quality-section {
  padding: 80px 10%;
  background: linear-gradient(to right, #1d2b2d, #263238);
  text-align: center;
  overflow: hidden;
}

.quality-container h2 {
  font-size: 2.5rem;
  margin-bottom: 20px;
  text-transform: uppercase;
  color: #2bc4e3;
  letter-spacing: 2px;
  position: relative;
  display: inline-block;
}

.quality-container h2::after {
  content: '';
  width: 60px;
  height: 3px;
  background: #2bc4e3;
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
}

.quality-container p {
  font-size: 1.1rem;
  max-width: 800px;
  margin: 20px auto;
  line-height: 1.6;
  color: #ccc;
}

/* Grid de calidad */
.quality-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.quality-card {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  padding: 20px;
  border-radius: 12px;
  box-shadow: 8px 6px 10px rgba(0, 0, 0, 0.815);
  border: 2px solid rgba(201, 49, 49, 0.63);
  color: black;
  overflow: hidden;
  cursor: pointer;
  transition: transform 0.4s ease, color 0.5s ease-in-out;
}
.quality-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #d43131; /* Background color when "filled" */
  transform: scaleY(0); /* Starts from the bottom */
  transform-origin: bottom;
  transition: transform 0.6s ease;
  z-index: -1; /* Ensures the pseudo-element stays behind the content */
  border-top-left-radius: 12px;
  border-top-right-radius: 12px;
}

.quality-card:hover {
  transform: translateY(-10px);
  color: rgb(0, 0, 0);
}

.quality-card:hover::before {
  transform: scaleY(1); /* Fill the background */
}

.quality-card h3 {
  font-size: 1.4rem;
  color: #2bc4e3;
  margin-bottom: 10px;
}

.quality-card p {
  font-size: 1rem;
  color: #2bc4e3;
}

.quality-card:hover h3,
.quality-card:hover p {
    color: #ffffff;
}
/* Responsividad */
@media (max-width: 768px) {
  #quality-section {
      padding: 60px 5%;
  }

  .quality-container h2 {
      font-size: 2rem;
  }

  .quality-container p {
      font-size: 1rem;
  }
}

/* 🔹 Estilos Generales de la Sección */

#our-values {
  position: relative;
  padding: 50px 20px;
  background-color: #0c799b; /* Fondo principal */
  overflow: hidden;
  z-index: 1;
}

.waves-background {
  position: absolute;
  bottom: -10px; /* Ajusta la superposición para que se vea sutilmente */
  width: 100%;
  height: 150px; /* Altura de las ondas */
  left: 0;
  z-index: -1;
}

#our-values {
  padding-bottom: 80px; /* Ajusta para evitar que el contenido se solape */
}




#our-values ul {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); 
  max-width: 800px; /* Limita el ancho máximo para evitar que se extienda */
  margin: 0 auto;
  gap: 20px;
  justify-content: center;
  padding: 0;
  list-style: none;
  z-index: 2;


}

#our-values ul li {
  position: relative;
  max-width: 150px;
  height: 150px;
  padding: 20px;
  border-radius: 50%;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.315);
  border: 2px solid #e0e0e0;
  color: black;
  overflow: hidden;
  transition: transform 0.4s ease, color 0.5s ease-in-out, box-shadow 0.5s ease-in-out;
  font-weight: bold;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  text-transform: uppercase;
  font-weight: 600;
  font-size: 1rem;
  line-height: 1.3;
  aspect-ratio: 1;

}

/* Colores personalizados para cada valor */
#our-values ul li:nth-child(1) {
  background-color: #004d99; /* Compromiso con la Calidad */
  color: white;
}

#our-values ul li:nth-child(2) {
  background-color: #ff6600; /* Atención Personalizada */
  color: white;
}

#our-values ul li:nth-child(3) {
  background-color: #0099cc; /* Innovación Tecnológica */
  color: white;
}

#our-values ul li:nth-child(4) {
  background-color: #33cc33; /* Transparencia */
  color: white;
}

#our-values ul li:nth-child(5) {
  background-color: #ffcc00; /* Profesionales Capacitados */
  color: white;
}

#our-values ul li:nth-child(6) {
  background-color: #0066cc; /* Confianza y Honestidad */
  color: white;
}

#our-values ul li:nth-child(7) {
  background-color: #999999; /* Puntualidad */
  color: white;
}
#our-values ul li:nth-child(8) {
  background-color: #4CAF50; /* Capacitación profesional */
  color: white;
}

#our-values ul li:nth-child(9) {
  background-color: #2196F3; /* Control de calidad */
  color: white;
}

/* Estilo de hover */
#our-values ul li::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, #004d99, #0099cc);
  transform: scale(0);
  transform-origin: center;
  transition: transform 0.6s ease;
  z-index: -1;
  border-radius: 50%;
}

#our-values ul li:hover {
  transform: translateY(-10px);
  color: white;
  box-shadow: 0 6px 10px rgba(0, 0, 0, 0.582);
}

#our-values ul li:hover::before {
  transform: scale(1);
}

/* Media Queries para Responsividad */
@media (max-width: 768px) {
  #our-values ul {
      grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  }

  #our-values ul li {
      max-width: 150px;
      height: 150px;
      font-size: 0.9rem;
      aspect-ratio: 1; /* Mantener la relación de aspecto 1:1 para los círculos */
  }
}

@media (max-width: 480px) {
  #our-values ul {
      grid-template-columns: repeat(2, minmax(100px, 1fr));
  }

  #our-values ul li {
      max-width: 130px;
      height: 130px;
      font-size: 0.8rem;
      aspect-ratio: 1; /* Mantener la relación de aspecto 1:1 para los círculos */
  }
}



h2 {
  font-size: 2.5rem;
  font-weight: bold;
  color: #dddddd;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 30px;
  position: relative;
  padding-bottom: 10px;
  transition: color 0.3s ease, text-decoration-color 0.3s ease;
}

h2::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background-color: #e7ecee; /* Puedes cambiar el color según tu esquema */
  border-radius: 5px;
  margin-top: 10px;
  transition: transform 0.3s ease;
}

h2:hover {
  color: #ffffff; /* Cambiar color al pasar el mouse */
  text-decoration: underline;
  text-decoration-color: #8ec70a;
}

h2:hover::after {
  transform: scaleX(1.2); /* Aumenta un poco el tamaño de la línea al pasar el ratón */
}






  /* 🔹 Diseño general de la sección */
#team {
    text-align: center;
    padding: 50px 20px;
    width: 100%;
    margin: auto;
   
  }
  
  /* 🔹 Estilos del título */
  #team h2 {
    font-size: 2.5rem;
    font-weight: bold;
    color: #1d2b2d;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-align: left;
    position: relative;
    margin-bottom: 30px;
    padding-left: 20px;
  }
  #team h2 {
    display: inline-block;
  }
  
 
#team h2::after, #team h2::before {
    content: "";
    position: absolute;
    bottom: 0px; /* Definimos la posición base de ambas líneas */
    height: 6px; /* Aumentamos el grosor de la línea */
    background-color: #2bc4e3;
    border-radius: 2px;
    animation: bounce-line 6s infinite ease-in-out;
  }
  
  #team h2::after {
    left: 0;
    width: 25%; /* Primer línea */
    animation: bounce-line 6s infinite ease-in-out;
  }
  
  #team h2::before {
    right: 0;
    width: 25%; /* Segunda línea */
    animation: bounce-line-inverse 6s infinite ease-in-out; /* Animación inversa */
    bottom: -10px; /* Mover la segunda línea 5px más arriba que la primera */
  }
  
  @keyframes bounce-line {
    0% { 
      transform: translateX(0); 
    }
    50% { 
      transform: translateX(60px); /* Rebotar hacia la derecha */
    }
    100% { 
      transform: translateX(0); 
    }
  }
  
  @keyframes bounce-line-inverse {
    0% { 
      transform: translateX(0); 
    }
    50% { 
      transform: translateX(-60px); /* Rebotar hacia la izquierda */
    }
    100% { 
      transform: translateX(0); 
    }
  }
  
  
  
  /* 🔹 Diseño del Grid */
  #team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    justify-content: center;
    margin-top: 30px;
  }
  
  /* 🔹 Estilos de las imágenes */
  #team-grid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    border-radius: 10px;
    transition: transform 0.3s ease-in-out, box-shadow 0.3s ease-in-out;
  }
  
  /* 🔹 Efecto Hover */
  #team-grid img:hover {
    transform: scale(1.05);
    box-shadow: 0px 10px 20px rgba(0, 0, 0, 0.3);
  }
  
  #why-choose-us {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
    height: auto;
    padding: 30px;
    
    background-color: #1d2b2d;
    border-radius: 8px;
    border: solid rgb(199, 16, 16) 0px;
  }
  
  #why-choose-us h2 {
    position: relative;
    font-size: 2.5rem;
    color: #ffffff;
    margin-bottom: 15px;
  }
  
  #why-choose-us h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 25%;
    height: 6px;
    background-color: #2bc4e3;
    border-radius: 2px;
    animation: bounce-line 6s infinite ease-in-out;
  }
  
  #why-choose-us h2::before {
    content: "";
    position: absolute;
    right: 0;
    bottom: -10px;
    width: 25%;
    height: 6px;
    background-color: #2bc4e3;
    border-radius: 2px;
    animation: bounce-line-inverse 6s infinite ease-in-out;
  }
  #whychooseus{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: auto;
  }
  
  #why-choose-us p {
    max-width: 650px;
    text-align: center;
    font-size: 1.1rem;
    line-height: 1.6;
    color: #ffffff;
  }
  #why-choose-us ul {
    display: grid;
    width: 100%;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); /* Grid responsivo */
    gap: 25px;
    margin-top: 30px;
    padding: 0;
    list-style: none; /* Eliminar los puntos por defecto */
  }
  
  #why-choose-us ul li {
    position: relative;
    background-color: #ffffff;
    padding: 20px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
    border: 2px solid #f0f0f0;
    color: black;
    overflow: hidden;
    transition: transform 0.4s ease, color 0.5s ease-in-out;
  }
  
  #why-choose-us ul li::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #d43131; /* Color de fondo cuando se "rellena" */
    transform: scaleY(0); /* Comienza desde el fondo */
    transform-origin: bottom;
    transition: transform 0.6s ease;
    z-index: -1; /* Asegura que el pseudo-elemento quede atrás del contenido */
    border-top-left-radius: 12px; /* Bordes superiores redondeados */
    border-top-right-radius: 12px;
  }
  
  #why-choose-us ul li:hover {
    transform: translateY(-10px);
    color: white;
  }
  
  #why-choose-us ul li:hover::before {
    transform: scaleY(1); /* Relleno del fondo */
  }
  
  
 
  
  #why-choose-us ul li h3 {
    font-size: 1.4rem;
    color: #333;
    margin-bottom: 10px;
  }
  
  #why-choose-us ul li p {
    font-size: 1rem;
    color: #555;
    line-height: 1.6;
  }
  
  
  @keyframes bounce-line {
    0% { 
      transform: translateX(0); 
    }
    50% { 
      transform: translateX(60px);
    }
    100% { 
      transform: translateX(0); 
    }
  }
  
  @keyframes bounce-line-inverse {
    0% { 
      transform: translateX(0); 
    }
    50% { 
      transform: translateX(-60px); 
    }
    100% { 
      transform: translateX(0); 
    }
  }
  


@media (max-width: 1300px){
    #conteabo{
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        z-index: 2;
        border: solid white 1px;
        padding: 50px;
        margin: 10px;
        background-color: rgba(0, 0, 0, 0.432);
        backdrop-filter: blur(8px);
        border-top-left-radius: 175px;
        border-top-right-radius: 5px;
        border-bottom-left-radius: 5px;
        border-bottom-right-radius: 175px;
      }
      #conteabo h2{
        font-size: 2rem;
        color: white;
        
    }
    #conteabo p{
        text-align: center;
        max-width: 600px;
        text-align: left;
        font-size: 14px;
        color: white;
    }
    


}



  /* 🔹 Responsive */
  @media (max-width: 600px) {
    #team h2 {
      font-size: 2rem;
      text-align: center;
      padding-left: 0;
    }
  
    #team h2::after {
      left: 50%;
      transform: translateX(-50%);
    }
    
    #conteabo h2{
        font-size: 2rem;
        color: white;
        
    }
  }
  
  
  /* Responsive para móviles */
  @media (max-width: 600px) {
    #our-values h2 {
      font-size: 2rem;
      text-align: center;
      padding-left: 0;
    }
    
    #our-values h2::after {
      left: 50%;
      transform: translateX(-50%);
    }
  }
  
  /* 🔹 Responsive */
  @media (max-width: 900px) {
    #ourva {
      grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablet */
    }
  }
  
  @media (max-width: 600px) {
    #ourva {
      grid-template-columns: repeat(1, 1fr); /* 1 columna en móvil */
    }
  }
  