body {
  margin: 0;
  padding: 0;
  font-family: 'Quicksand', sans-serif;
  background-color: #9AE2D9;
  color: #19535A;
  overflow-x: hidden;
}


.nav-video-background {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  position: absolute;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}

/* Asegura que todo el contenido del nav quede encima del video */
.nav-container > *:not(video) {
  position: relative;
  z-index: 1;
}

/* Si usas texto en nav, opcionalmente puedes agregar sombra para mejor visibilidad */
.nav-container .nav-links li a,
.nav-logo,
.main-logo {
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
}
/* Menú navegación (pantallas grandes) */
.nav-links {
  display: flex;
  gap: 1.5rem;
  list-style: none;
  margin: 0;
  padding: 0;
  position: absolute;
  top: 1.5rem;
  right: 1rem;
}

.nav-links li a {
  color: white;
  text-decoration: none;
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.nav-links li a:hover {
  color: #9AE2D9;
}
/* ====== NAVIGATION BAR ====== */
.nav-container {
  position: relative;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;
  padding: 2rem 1rem 4rem;
  min-height:35vh; 
  overflow: hidden;
  background: transparent;
}

/* Logo pequeño (esquina superior izquierda) */
.nav-logo {
  position: absolute;
  top: 1.5rem;
  left: 1rem;
  width: 140px;
}

.menu-button {
  display: none; /* Oculta en escritorio */
}


.menu-button:hover img {
  transform: scale(1.1);
}

/* Logo grande centrado */
.main-logo-container {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  width: 100%;
}

.main-logo {
  width: 80vw;
  max-width: 600px;
  height: auto;
}

/* ====== INTRO TEXT SECTION ====== */
.intro-container {
  background-color: #0F4A4D;
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.resaltado {
  color: #9AE2D9;
  font-weight: bold;
  padding: 0 4px;
  border-radius: 4px;
}
.intro-text {
  font-size: 1.3rem;
  max-width: 900px;
  margin: 0 auto;
  line-height: 1.3;
  font-family: 'Quicksand', sans-serif;
}
.desarrollo-container {
  background-color: #195359;
  padding: 60px 20px;
  text-align: center;
  color: white;
}

.frase-container {
  background-color: #0F4A4D;
  padding: 60px 20px; 
  
}

.frase-text {
  text-align: center;
  font-size: 1.7rem;
  max-width: 900px;
  font-weight: bold;
  margin: 10px auto;
  line-height: 1.3;
  font-family: 'Quicksand', sans-serif;
  color: white;
}

.productos-container {
  background-color: #195359;
  padding: 60px 20px;
  text-align: center;
  color: white;
  padding: 2rem;
  position: relative;
}

.productos-titulo {
  font-size: 2rem;
  font-family: 'Poppins', sans-serif;
  margin-bottom: 40px;
  color: #9AE2D9;
}

.carousel {
  width: 100%;
  
  background-color: inherit;
  overflow: hidden;
  position: relative;
  overflow-x: scroll;
  overflow-y: hidden;
  white-space: nowrap;
  -webkit-overflow-scrolling: touch;
}
.carousel.active {
  background-color: inherit;
  cursor: grabbing;
  cursor: -webkit-grabbing;
}
.carousel-track {
 background-color: inherit;
  display: flex;
  gap: 20px;
  width: max-content;
  
}



.producto-card {
  min-width: 300px;
  margin: 0 10px;
  background-color: inherit; 
  position: relative;
  width: 280px;
  height: 350px;
  flex: 0 0 auto;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
}

.producto-card img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
}

.producto-card:hover {
  transform: scale(1.03);
}

.overlay {
  position: absolute;
  bottom: 35px;
  width: 100%;
  display: flex;
  justify-content: center;
  pointer-events: none;
}

.btn-conoce {
  pointer-events: auto;
  display: inline-block;
  
  padding: 4px 8px; /* padding reducido */
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.btn-conoce img {
  width: 130px;
}

.overlay h3 {
  font-family: 'Poppins', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 10px;
  color: #9AE2D9;
  flex-shrink: 0; 
  
  /* 
.overlay p {
  font-size: 1rem;
  margin-bottom: 20px;
  color: white;
  word-wrap: break-word;
  line-height: 1.4;
  flex-shrink: 0; 
  max-height: 7.5em; 
  overflow: hidden;  
  text-overflow: ellipsis;
}
*/
}

/* Estilos del menú móvil */
.mobile-menu {
  position: fixed;
  inset: 0;
  background-color: #9AE2D9;
  color: #19535A;
  font-family: 'bd-supper', sans-serif;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  padding: 1.5rem;
  transition: opacity 0.3s ease;
}

.mobile-menu.hidden {
  display: none;
}

.menu-header {
  display: flex;
  justify-content: space-between; 
  align-items: center;
  flex-direction: row; 
  padding: 0 0.5rem;
}

.menu-logo {
  height: 50px;
}

.close-button {
  background: transparent;
  border: none;
  cursor: pointer;
  width: 40px;
  height: 40px;
}

.close-button img {
  width: 100%;
  height: auto;
}

/* Estilo de enlaces */
.menu-links {
  list-style: none;
  margin-top: 2rem;
  padding: 0;
  font-size: 1.7rem; /* Más grande */
  font-weight: bold; /* En negrita */
  font-family: 'bd-supper', sans-serif;
}
.menu-links a,
.menu-links span {
  color: #19535A;
  text-decoration: none;
  display: block;
  font-size: inherit;
  font-weight: inherit;
}

.menu-links li {
  margin-bottom: 1rem;
}



/* Submenú */
.submenu-items {
  padding-left: 1rem;
  margin-top: 0.5rem;
  font-size: 1.1rem;
}

.submenu-items li {
  margin-bottom: 0.5rem;
}



.main-equipo-container {
  margin-top: 4rem;
  display: flex;
  justify-content: center;
  width: 100%;
  border-radius: 10px;
}
/* ====== FOOTER ====== */
footer::after {
  content: '';
  display: block;
  height: 0;
  background: none;
}
/* Estilos para el footer */
 footer {
  background: #19535A;
  padding: 40px 20px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
}


.alianzaBio {
  font-family: 'Poppins', sans-serif;
   font-weight: bold;
  color: #ffffff;
  font-size: 1.8rem;
  width: 100%;
  right: 3rem;
  text-align: center;
  margin: 0 8% 20px 0;
  position: relative;
  z-index: 1;
}

.image-Container {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 1rem auto;
  max-width: 1000px;
}

.image-item {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1rem;
  width: 100%;
  max-width: 1000px;
}

.image-item img {
  width: 22%;
  max-width: 100px;
  height: auto;
}
.ConoceAB {
  color: #9AE2D9;
  width: 80%;
  text-align: left;
  margin: 20px auto;
  line-height: 1.5;
  padding: 15px;
  display: block;
  text-decoration: none; /* Quita subrayado */
  font-weight: bold; /* Opcional, si quieres que sea en negrita */
}

.ConoceAB:hover {
  text-decoration: none; /* Efecto al pasar el mouse */
}

/* Posicionamiento de la imagen */
.alianzaBioIMG {
  display: block;
  margin: 1rem auto; /* centra horizontalmente */
  max-width: 200px;
  height: auto;
}



.Ecos {
  font-family: 'Poppins', sans-serif;
  color: #9b9b98;
  font-size: 1rem;
  width: 100%;
  text-align: center;
  margin-top: auto;
  padding: 20px 0 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 768px) {
  

  .main-logo {
    width: 90vw;
  }

  .intro-text {
    font-size: 1.1rem;
    padding: 0 10px;
  }

  .alianzaBio {
    font-size: 1.4rem;
  }

  .image-item img {
    max-width: 60px;
  }

  .alianzaBioIMG {
    max-width: 180px;
  }


 .nav-container {
  position: relative;
  width: 100%;
  min-height: 120px; /* Asegura espacio para logo y botón */
  padding: 12px 16px;
  box-sizing: border-box;
  overflow: hidden;
  background: transparent;
}

  .nav-video-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
  }

  .nav-logo {
    position: absolute;
    top: 6px;
    left: 16px;
    width: 80px;
    height: auto;
    z-index: 2;
  }

  .menu-button {
  display: block;
  position: absolute;
  top: 6px;
  right: 16px;
  z-index: 3;
  background: transparent;
  border: none;
  padding: 0;
}
.menu-button img {
  width: 24px;
  height: auto;
  filter: brightness(0) invert(1); /* Blanco */
}
  .nav-links {
    display: none; /* Oculta menú en móviles */
  }

  /* Botón de menú (esquina superior derecha) */
  
    .menu-button img {
      width: 10%;
      height: auto;
      filter: brightness(0) invert(1);
      transition: transform 0.3s ease;
    }

}
@media (min-width: 769px) {
  .nav-container {
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    min-height: auto;
     min-height: 95vh;
  }

  .nav-logo {
    position: static;
    width: 140px;
  }

  .nav-links {
    position: static;
    display: flex;
    gap: 1.5rem;
    margin: 0;
    padding: 0;
  }

  .main-logo-container {
    display: none; /* Oculta el logo grande si lo usas en móvil */
  }
}