/* General Styles */

/****************** Navigation Menu ******************/

/* Estilos del menú flotante */
.floating-nav {
  position: fixed;
  top: 20px; /* Ajusta la posición vertical */
  left: 0;
  right: 0;
  display: flex;
  justify-content: center;
  width: 100%;
  z-index: 1000;
  padding: 0 20px;
}

.nav-container {
  background: rgba(41, 184, 206, 0.90); /* Fondo semi-transparente */
  backdrop-filter: blur(10px); /* Efecto de desenfoque */
  border-radius: 50px; /* Bordes redondeados */
  padding: 12px 25px;
  max-width: 400px; /* Ancho máximo del contenedor */
  width: 90%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

/* Logo */
.nav-logo img {
  height: 45px; /* Tamaño del logo */
  width: auto;
}

/* Menú */
.nav-menu {
  display: flex;
  gap: 20px; /* Espaciado entre los enlaces */
  align-items: center;
}

/* Enlace Blog */
.blog-link {
  text-decoration: none;
  color: #ffffff;
  font-family: 'Albert Sans', sans-serif;
  font-weight: 500;
  font-size: 16px;
  padding: 8px 10px;
  border-radius: 20px;
  transition: all 0.3s ease;
}

.blog-link:hover {
  background: rgba(0, 188, 212, 0.1); /* Efecto hover sutil */
  color: #03505a;
}

/* Enlace Demo (Call to Action) */
.demo-link {
  text-decoration: none;
  color: #29B8CE;
  font-family: 'Albert Sans', sans-serif;
  font-weight: 600;
  font-size: 16px;
  padding: 10px 25px;
  border-radius: 25px;
  background-color: #ffffff; /* Color de fondo */
  transition: all 0.3s ease;
}

.demo-link:hover {
  background-color: #ececec; /* Cambia color al pasar el mouse */
  transform: scale(1.05); /* Efecto de escala */
}

/* Menú Hamburguesa (Mobile) */
.hamburger {
  display: none; /* Oculto en desktop */
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 10px;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #ffffff;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Menú Hamburguesa activo */
.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive */
@media (max-width: 768px) {
  .nav-container {
      padding: 10px 10px;
      width: 80%;
      
  }

  .nav-logo img {
      height: 50px;
  }

  .nav-menu {
      display: none; /* Oculta el menú en móviles */
      flex-direction: column;
      position: absolute;
      top: 70px; /* Ajusta según la altura del nav */
      right: 20px;
      background: rgba(46, 152, 167, 0.95);
      backdrop-filter: blur(10px);
      border-radius: 15px;
      box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
      padding: 15px;
      gap: 10px;
      align-items: center; /* Centra los enlaces */
  }

  .nav-menu.active {
      display: flex; /* Muestra el menú cuando está activo */
  }

  .hamburger {
      display: flex; /* Muestra el botón hamburguesa en móviles */
  }
}


/*************** General Header Styling ***************/
header {
    background-color: #ffffff; /* Fondo blanco */
    padding: 20px 0;
    /*border-bottom: 2px solid #eaeaea; /* Línea divisoria debajo */
  }
  
  header .container {
    display: flex;
    justify-content: space-between; /* Separación entre logo y menú */
    align-items: center; /* Alinear verticalmente */
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px; /* Espaciado lateral */
  }
  
  /* Logo Styling */
  header .logo img {
    max-height: 60px; /* Ajusta el tamaño del logo */
  }
  
  /* Navigation Styling */
  header .navigation ul {
    list-style: none; /* Sin viñetas */
    display: flex;
    gap: 20px; /* Espacio entre los elementos */
  }
  
  header .navigation a {
    text-decoration: none; /* Quitar subrayado */
    /*color: #333333; /* Color del texto */
    font-weight: bold; /* Negrita */
    font-family: 'Fredoka', sans-serif; /* Usando Fredoka */
  }
  
  header .navigation a:hover {
    color: #ffa600; /* Cambiar color al pasar el mouse */
  }


body,h4 {
    font-family: 'Fredoka', sans-serif;
    margin: 0;
    padding: 0;
}

h4{
  color: #29B8CE;
  font-weight: 600; /*semibold*/
  letter-spacing: 0.1em; /* Espaciado elegante */
}

h1,h2,h3,p{
  font-family: 'Albert Sans', sans-serif;
  
}

/****************** Header Section ******************/
/* Contenedor general */
.containerS1 {
  text-align: center;
  margin: auto;
  padding: 120px 20px; /* Agregar padding responsivo */
}

/* Hero Section */
.hero-section {
  background-color: #ffffff; /* Ajusta al color del diseño */
  padding: 90px 20px; /* Agregar padding responsivo */
}

/* Título secundario */
.hero-section h4 {
  color: #00bcd4;
  font-size: 20px;
  text-transform: uppercase;
  margin-bottom: 20px;
}

/* Título principal */
.hero-section h1 {
  font-family: 'Albert Sans', sans-serif;
  color: #0F172A;
  font-weight: 900; /* Negrita */
  font-size: 55px;
  margin: 20px auto 40px;
  max-width: 700px; /* Fuerza el salto de línea */
}

/* Descripción */
.hero-section p {
  color: #666;
  font-size: 20px;
  line-height: 1.6;
  font-weight: 500; /* Medium */
  margin: 0 auto 30px;
  max-width: 900px; /* Fuerza el salto de línea */
}

/* Responsive para dispositivos pequeños */
@media (max-width: 1024px) {
  .containerS1 {
      padding: 120px 20px; /* Reduce el padding */
  }

  .hero-section h1 {
      font-size: 45px; /* Reduce el tamaño del título */
  }

  .hero-section p {
      font-size: 18px; /* Ajusta el tamaño del texto */
  }

  .hero-section h4 {
      font-size: 18px; /* Ajusta el tamaño del subtítulo */
  }
}

/* Responsive para móviles */
@media (max-width: 768px) {
  .containerS1 {
      padding: 80px 20px; /* Ajusta aún más el padding */
  }

  .hero-section h1 {
      font-size: 35px; /* Reduce aún más el tamaño del título */
      margin: 15px auto 25px;
  }

  .hero-section p {
      font-size: 16px; /* Ajuste para móviles */
      max-width: 100%; /* El texto toma el 100% del ancho */
  }

  .hero-section h4 {
      font-size: 16px; /* Ajusta el tamaño del subtítulo para móviles */
  }
}

/* Shapes (Blobs) */
.shape {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(40px);
  z-index: 0;
  opacity: 0.2;
  animation: float 10s infinite ease-in-out;
}

.shape-left {
  background: #29B8CE; /* Azul */
  left: -5%;
  top: 20%;
}

.shape-right {
  background: #ffa600; /* Verde */
  right: 5%;
  top: 60%;
  bottom: 20%;
}


@media (max-width: 768px) {

  
  .shape {
      width: 300px;
      height: 300px;
      filter: blur(60px);
  }
}

@media (max-width: 480px) {
  
  .shape {
      width: 200px;
      height: 200px;
      filter: blur(40px);
  }
}



/****************** All Devices Section ******************/

/* Estilo general de la sección */
.all-devices-section {
  padding: 0; /* Sin padding para que ocupe el espacio exacto */
  margin: 0;  /* Sin margen adicional */
  text-align: center; /* Centrar la imagen */
}

/* Contenedor */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0; /* Sin padding */
}

/* Estilo de la imagen */
.all-devices-image {
  width: 100%;
  height: auto;
  display: block; /* Asegura que la imagen ocupe todo el espacio disponible */
  margin: 0 auto; /* Centra la imagen */
}

/* Responsive - Tablets */
@media (max-width: 1024px) {
  .all-devices-image {
      width: 100%; /* Mantiene el ancho completo en dispositivos más pequeños */
  }
}

/* Responsive - Móviles */
@media (max-width: 768px) {
  .all-devices-image {
      width: 100%; /* Asegura que la imagen ocupe el 100% en móviles */
  }
}


/****************** Partners Section ******************/
.partners-section {
  padding: 80px 20px;
  background-color: #f9f9f9; /* Color de fondo opcional */
  text-align: center;
  
}

.partners-title {
  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: #979797;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-bottom: 40px;
  text-align: center;
}

.partners-logos {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 150px;
  max-width: 1200px;
  margin: 0 auto;
}

.partner-logo img {
  max-width: 150px; /* Ajusta según el tamaño de tus logos */
  height: auto;
  filter: grayscale(100%); /* Opcional para estilo minimalista */
  transition: filter 0.3s ease;
}

.partner-logo img:hover {
  filter: grayscale(0%); /* Elimina el efecto al hover */
}

/****************** Devices Home Section ******************/

/* Devices Slider Section */
.devices-slider-section {
  padding: 80px 20px;
  background-color: #ffffff;
  overflow: hidden;
}

.slider-container {
  max-width: 1200px;
  margin: 0 auto;
  text-align: center;
}

.section-heading {
  font-family: 'Albert Sans', sans-serif;
  font-weight: 900;
  font-size: 32px;
  color: #333;
  margin-bottom: 15px;
}

.section-subtitle {
  font-family: 'Albert Sans', sans-serif;
  color: #666;
  margin-bottom: 40px;
}


.slider-track {
  display: flex;
  animation: slide 50s linear infinite; /*Tiempo de movimiento del slider*/
  width: max-content; /* Nuevo: Ancho dinámico según contenido */
  padding: 20px 0;
}

.device-card {
  flex: 0 0 200px;
  text-align: center;
  padding: 20px;
  margin: 0 5px; /* Reemplaza gap por márgenes */
}

.device-title {
  font-family: 'Albert Sans', sans-serif;
  color: #333;
  text-align: center;
  margin-bottom: 15px;
  font-size: 18px;
}

.device-image {
  width: auto;
  height: 400px;
  transition: transform 0.3s ease;
  object-fit: contain; /* Mantiene proporciones sin distorsión */
}

.device-image:hover {
  transform: scale(1.00);
}

@keyframes slide {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%); /* Mueve solo la mitad del contenido */
  }
}


/* Responsive Design */
@media (max-width: 768px) {
  .device-card {
    width: 200px; /* Ancho menor en móviles */
  }
  
  .device-image {
    height: 120px; /* Altura menor en móviles */
  }
}


/******************  Vision/Mision Section ******************/

/* Estilo general de la sección */
.vision-mission {
  padding: 80px 20px;
  background: linear-gradient(to right, #29B8CE, #00D1B2); /* Fondo con gradiente */
  color: #fff;
  text-align: center;
  position: relative;
}

/* Contenedor */
.container {
  display: flex;
  justify-content: space-between;
  gap: 40px;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: nowrap; /* No permitir que los elementos se envuelvan */
}

/* Visión y Misión */
.vision, .mission {
  background-color: rgba(255, 255, 255, 1.85); /* Fondo blanco con algo de transparencia */
  padding: 40px 30px;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
  flex: 1 1 calc(50% - 40px); /* Cada uno ocupa el 50% del ancho disponible */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  margin-bottom: 20px;
}

/* Efecto de hover */
.vision:hover, .mission:hover {
  /*transform: translateY(-10px); /* Efecto de elevar el bloque */
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.2);
}

/* Títulos */
.vision h3, .mission h3 {
  font-size: 2rem;
  font-family: 'Albert Sans', sans-serif;
  margin-top: 20px; /* Separación con el párrafo */
  color: #333;
  font-weight: bold;
  position: relative;
  z-index: 1;
}

/* Texto */
.vision p, .mission p {
  font-size: 1.2rem;
  color: #555;
  line-height: 1.6;
  position: relative;
  z-index: 1;
  margin-bottom: 20px; /* Separación con el título */
}

/* Responsive */
@media (max-width: 768px) {
  .container {
      flex-direction: column; /* Apilar los elementos verticalmente en pantallas pequeñas */
      align-items: center; /* Centrar los items */
      padding: 0 20px; /* Agregar espacio alrededor */
  }

  .vision, .mission {
      width: 100%; /* Hacer que los items tomen el 100% del ancho en pantallas pequeñas */
      margin-bottom: 20px;
      padding: 30px 20px;
  }

  .vision h3, .mission h3 {
      font-size: 1.5rem; /* Reducir el tamaño del título en pantallas pequeñas */
  }

  .vision p, .mission p {
      font-size: 1rem; /* Reducir el tamaño del texto en pantallas pequeñas */
  }
}




/****************** Our Team Section ******************/

/* Estilo general de la sección */
.our-team {
  padding: 60px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.our-team h2 {
  

  font-family: 'Fredoka', sans-serif;
  font-weight: 600;
  color: #979797;
  font-size: 18px;
  text-transform: uppercase;
  letter-spacing: 0.1rem;
  margin-bottom: 40px;
  text-align: center;

}

/* Contenedor de los miembros del equipo */
.team-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
}

/* Estilos de cada miembro */
.team-member {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background-color: #fff;
  padding: 20px;
  text-align: center;
  border-radius: 15px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  width: 200px;
}

.team-member:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 25px rgba(0, 0, 0, 0.15);
}

/* Imagen de cada miembro en círculo */
.team-member img {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 15px;
}

/* Nombre */
.team-member h3 {
  font-size: 1.1rem;
  color: #333;
  margin-bottom: 5px;

}

/* Cargo */
.team-member .role {
  font-size: 0.9rem;
  color: #777;
}

/* Responsive */
@media (max-width: 768px) {
  .team-container {
      flex-direction: column;
      align-items: center;
  }
}


/******************  Features Section ******************/
.features-section {
    display: flex;
    justify-content: space-around;
    padding: 50px 20px;
    background-color: #fff;
}

.feature {
    text-align: center;
    max-width: 500px;
}

.feature h2 {
    font-size: 30px;
    color: #0F172A;
    font-weight: 800; /*black*/
    margin-bottom: 10px;
}

.feature p {
    color: #666;
    font-size: 18px;
    line-height: 1.5;
    font-weight: 500; /*medium*/
}


/* Section Styling */
.zero-limitations {
    background-color: #ffffff; /* Fondo blanco */
   /* Espaciado interno */
    padding-top: 20px;
    padding-bottom: 80px;
    padding-left: 20px;
    padding-right: 20px;
  }
  
  .zero-limitations .container {
    display: flex;
    align-items: center; /* Alinear elementos verticalmente */
    justify-content: space-between; /* Espaciado entre imagen y texto */
    gap: 10px; /* Espacio entre imagen y texto */
    max-width: 700px;
    margin: 0 auto; /* Centrar el contenido */
  }
  
  /* Image Styling */
  .zero-limitations .image img {
    max-width: 100%; /* Imagen adaptable */
    height: auto; /* Mantener proporción */
    border-radius: 8px; /* Bordes redondeados */
    max-height: 300px; /* Altura máxima */
  
  }
  
  /* Text Styling */
  .zero-limitations .text {
    max-width: 400px; /* Limitar el ancho del texto */
  }
  
  .zero-limitations .text h2 {
    font-family: 'Albert Sans', sans-serif;
    font-size: 30px;
    color: #0F172A;
    font-weight: 900; /*black*/
    margin-bottom: 15px;
    max-width: 400px;
  }
  
  .zero-limitations .text p {
    font-family: 'Albert Sans', sans-serif;
    font-size: 16px;
    color: #666666;
    font-weight: 600; /*medium*/
    line-height: 1.6;
  }

  @media (max-width: 768px) {
    .zero-limitations .container {
      flex-direction: column; /* Cambiar a diseño vertical */
      text-align: center;
    }
  
    .zero-limitations .image img {
      max-height: 200px; /* Reducir tamaño de la imagen */
    }
  }
  

/* Footer */
footer {
    background-color: #006979;
    color: #fff;
    padding: 20px;
    text-align: center;
}

footer nav {
    margin-top: 10px;
}

footer nav a {
    color: #fff;
    text-decoration: none;
    margin: 0 10px;
}

footer nav a:hover {
    text-decoration: underline;
}
