/* Tipografía base */
html{
  scroll-behavior: smooth;
}

body {
    margin: 0;
    font-family: 'Rubik', sans-serif;
    color: #fff;
    background: linear-gradient(45deg, #1e1e1e, #252424, #000); /* Fondo oscuro degradado con tercer color */
    background-size: 400% 400%; /* Para que el gradiente se pueda mover */
    animation: fondoAnimado 10s ease infinite; /* Animación para el fondo */
  }

  @keyframes fondoAnimado {
    0% {
      background-position: 0% 50%; /* Inicio de la animación */
    }
    50% {
      background-position: 100% 50%; /* Centro de la animación */
    }
    100% {
      background-position: 0% 50%; /* Final de la animación */
    }
  }
  
  .countdown-header {
    background: linear-gradient(45deg, #0e5547, #1b9f88, #0e5547);
    background-size: 300% 300%;
    animation: neonGlow 6s infinite;
    padding: 4px;
    text-align: center;
  }
  
  .countdown-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
  }
  
  .countdown-text {
    flex: 1;
    text-align: left;
    font-size: 2rem; /* Tamaño más grande */
    font-weight: 700;
    padding: 2px;
  }
  
  .countdown {
    display: flex;
    justify-content: center;
    gap: 35px;
    flex: 1;
  }
  
  .time {
    text-align: center;
  }
  
  .time span {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
  }
  
  .time p {
    margin: 0;
    font-size: 1rem;
    font-weight: 500;
  }

  /* Sección Home */
.home {
    position: relative;
    height: 100vh;
    background: url('../images/esoftpulsus.png') center/cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
  }
  
  .home::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7); /* Capa oscura */
    z-index: 1;
  }
  
  .home-logos {
    position: absolute;
    top: 20px;
    width: 70%;
    display: flex;
    justify-content: space-between;
    padding: 30px 60px; /* Incrementa el espacio lateral */
    z-index: 2;
  }
  
  .logo {
    max-height: 50px;
  }
  
  .home-content {
    text-align: center;
    color: #fff;
    z-index: 2;
  }
  
  .home-title {
    font-size: 3rem;
    font-weight: 700;
    margin: 0;
    line-height: 1.2;
    text-transform: uppercase;
  }
  
  .home-subtitle {
    font-size: 1.2rem;
    font-weight: 400;
    margin: 20px 0;
  }
  
  .home-btn {
    display: inline-block;
    margin-top: 20px;
    padding: 15px 50px;
    font-size: 1.4rem;
    font-weight: 600;
    text-transform: uppercase;
    background: #1b9f88;
    color: #fff;
    border-radius: 25px;
    text-decoration: none;
    transition: transform 0.3s ease, background-color 0.3s ease;
    cursor: pointer;
  }
  
  .home-btn:hover {
    transform: scale(1.1);
    background: #16d9a5;
  }

  /* Sección "¿Por qué deberías asistir al evento?" */
.why-attend {
  color: #fff;
  text-align: center;
  padding: 40px 20px;
}

.why-attend-title {
  font-family: 'Rubik', sans-serif;
  font-size: 3.5rem;
  letter-spacing: 3px;
  margin-bottom: 20px;
  text-transform: uppercase;
}

.why-attend-subtitle {
  font-size: 1.5rem;
  font-weight: 500;
  margin-bottom: 20px;
}

.why-attend-text {
  font-size: 1rem;
  line-height: 1.8;
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px;
}

.why-attend-text strong {
  font-weight: bold;
  color: #1b9f88; /* Resaltar palabras clave */
}

/* Carrusel de logos */
.logo-slider {
  overflow: hidden;
  position: relative;
  padding: 20px 0;
}

.slider-track {
  display: flex;
  animation: scroll-infinite 20s linear infinite;
  width: calc(200%); /* Asegura que el carril sea lo suficientemente ancho */
}

.slider-logo {
  padding-top: 3rem;
  width: 160px;
  margin: 0 15px;
  flex-shrink: 0;
}
/* Banner Section */
.banner-section {
  position: relative;
  background-image: url('../images/low-angle-view-skyscrapers.jpg'); /* Imagen de fondo */
  background-size: cover; /* Imagen amplia que cubre */
  background-position: center;
  background-attachment: fixed; /* Imagen fija al hacer scroll */
  min-height: 50vh; /* Asegura que el fondo cubra toda la pantalla visible */
  padding: 100px 20px;
  color: #fff;
  display: flex;
  align-items: center;
}

.banner-overlay {
  background-color: rgba(0, 0, 0, 0.7); /* Capa verde translúcida */
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.banner-content {
  padding-top: 3rem;
  position: relative;
  z-index: 2;
  display: flex;
  flex-direction: row; /* Imagen a la izquierda, texto a la derecha */
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  gap: 30px;
}

.banner-image-container {
  flex: 1;
  text-align: center;
}

.banner-image {
  width: 300px;
  height: 300px;
  border-radius: 50%;
  margin-bottom: 20px;
}

.banner-experience {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: 2px;
  margin-bottom: 20px;
}

.banner-text-container {
  flex: 2;
  max-width: 600px;
}

.banner-title {
  font-size: 30px;
  margin-bottom: 10px;
}

.banner-subtitle {
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
}

.banner-description {
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
}

.banner-list {
  list-style: none;
  padding: 0;
}

.banner-list li {
  font-size: 16px;
  margin-bottom: 5px;
}

/* Sección de registro */
.registro-seccion {
  text-align: center;
  padding: 40px 20px;
  color: #fff; /* Texto claro */
}

.registro-titulo {
  font-size: 4rem; /* Título más grande */
  font-weight: bold;
  letter-spacing: 5px;
  margin-bottom: 30px;
  color: #fff; /* Texto claro */
}

.registro-contador {
  display: flex;
  justify-content: center;
  gap: 25px; /* Espacio mayor entre los elementos */
  margin: 30px 0;
}

.registro-contador .time {
  text-align: center;
  font-size: 1.5rem; /* Texto más grande */
}

.registro-contador span {
  display: block;
  font-size: 4rem; /* Contador más grande */
  font-weight: bold;
  color: #1b9f88; /* Color verde claro */
}

.registro-fecha {
  font-size: 1.4rem;
  margin: 30px 0;
  color: #fff; /* Texto claro */
}

.resaltado-verde {
  color: #1b9f88;
  font-weight: bold;
}

.registro-formulario {
  max-width: 600px;
  margin: 0 auto;
  background-color: #333; /* Fondo oscuro en formulario */
  padding: 20px;
  border-radius: 10px; /* Bordes redondeados */
}

.home-input {
  width: 100%;
  padding: 12px; /* Inputs más grandes */
  margin: 10px 0;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #444; /* Fondo oscuro en inputs */
  color: #fff; /* Texto claro */
  font-size: 1.2rem; /* Inputs más grandes */
  box-sizing: border-box; /* Asegura que los inputs no se salgan */
}

.home-input:focus {
  border-color: #1b9f88; /* Color verde en el borde al enfocarse */
  outline: none;
}

.telefono-grupo {
  display: flex;
  gap: 10px;
}

.faq-seccion {
  text-align: center;
  padding: 20px 10px;  /* Reduje el padding de los costados */
  color: #fff;  /* Texto claro */
  max-width: 900px;
  margin: 0 auto;
}

.faq-titulo {
  font-size: 3.5rem; /* Título más grande */
  font-weight: bold;
  letter-spacing: 1px;
  text-transform: uppercase;  /* Título en mayúsculas */
  margin-bottom: 30px;
  color: white;  /* Color verde resaltado */
}

.faq-item {
  margin: 15px 0;
  padding: 15px;
  border-radius: 8px;
  background-color: #1b9f88; /* Fondo oscuro para cada pregunta */
}

.faq-pregunta {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-pregunta p {
  font-size: 1.2rem;
  margin: 0;
  font-weight: normal;
}

.faq-boton {
  background: none;
  border: none;
  color: white;  /* Color de los íconos */
  font-size: 1.5rem;
  cursor: pointer;
}

.faq-respuesta {
  display: none;
  margin-top: 15px;
  font-size: 1rem;
}

.faq-respuesta p {
  font-size: 1rem;
  line-height: 1.5;
}

.faq-boton i {
  transition: transform 0.3s ease;
}

.faq-item.open .faq-boton i {
  transform: rotate(45deg);
}

/* Footer */
.footer {
  background: linear-gradient(135deg, #000, #333, #000); /* Degradado similar al contador */
  color: #fff;
  padding: 40px 20px; /* Espaciado general */
  text-align: center;
}

.footer-contenido {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
  flex-wrap: wrap; /* Para responsividad */
  gap: 20px; /* Espaciado entre elementos en pantallas pequeñas */
}

.footer-logos {
  display: flex;
  gap: 20px; /* Espaciado entre los logos */
  align-items: center;
}

.footer-logo {
  max-width: 100px; /* Tamaño ajustado para los logos */
  height: auto;
}

.footer-derechos {
  font-size: 0.9rem;
}

.footer-derechos p {
  margin: 0;
}

.footer-derechos .resaltado-verde {
  color: #1b9f88;
  font-weight: bold;
}

/* Espaciado entre secciones */
.footer {
  margin-top: 60px; /* Espaciado entre el footer y la sección anterior */
}

@keyframes scroll-infinite {
  0% {
    transform: translateX(0);
  }
  100% {
    transform: translateX(-50%);
  }
}
  
  /* Responsividad */
  @media (max-width: 768px) {
    .countdown-container {
      flex-direction: column;
      align-items: center;
      padding-bottom: 1rem;
    }
  
    .countdown-text {
      text-align: center;
      font-size: 1.9rem; /* Tamaño ajustado para móvil */
      margin-bottom: 1px; /* Menos espacio */
    }
  
    .countdown {
      gap: 15px; /* Reducir espacio entre elementos */
    }

    .time p {
        font-size: 1rem;
      }
    
      .time span {
        font-size: 2.2rem;
      }

      .home-title {
        font-size: 2.6rem;
      }
    
      .home-subtitle {
        font-size: 1rem;
        padding-left: 1rem;
        padding-right: 1rem;
      }
    
      .home-logos {
        padding: 0 20px;
        width: 80%;
      }
    
      .logo {
        max-height: 25px;
      }

      .why-attend-title {
        font-size: 2.5rem;
      }
      
      .why-attend-subtitle {
        font-size: 1.8rem;
      }
      
      .why-attend-text {
        font-size: 1.2rem;
      }

      .slider-logo {
        width: 150px;
        margin: 0 30px;
      }

      .banner-section {
        min-height: 110vh; /* Altura completa para teléfonos */
        background-attachment: scroll; /* Evitar comportamiento extraño en móviles */
      }

      .banner-content {
        padding-top: 1rem;
        flex-direction: column; /* Imagen y texto uno sobre otro */
        text-align: center;
      }
    
      .banner-image-container {
        margin-bottom: 20px;
      }
    
      .banner-image {
        width: 250px;
        height: 250px;
      }
    
      .banner-title {
        font-size: 24px;
      }
    
      .banner-description {
        font-size: 14px;
      }

      .registro-titulo {
        font-size: 2.5rem; /* Título más pequeño en pantallas pequeñas */
      }
    
      .registro-contador .time {
        font-size: 1rem; /* Texto más pequeño en el contador */
      }
    
      .registro-contador span {
        font-size: 2.5rem; /* Contador más pequeño */
      }
    
      .registro-formulario {
        width: 90%; /* Formulario más ancho en pantallas pequeñas */
      }
    
      .home-input {
        font-size: 0.9rem; /* Tamaño de fuente más pequeño en inputs */
      }

      .faq-seccion {
        padding: 30px 25px; /* Añadí más espacio a los costados en teléfonos */
      }
    

      .faq-titulo {
        font-size: 2rem;
      }
    
      .faq-pregunta p {
        font-size: 1.1rem;
      }
    
      .faq-boton {
        font-size: 1.3rem;
      }

      .faq-titulo {
        font-size: 2.5rem;
      }
    
      .faq-item {
        padding: 10px;
      }
    
      .faq-pregunta p {
        font-size: 1rem;
      }

      .footer-contenido {
        flex-direction: column; /* Coloca los elementos en columna */
        text-align: center;
      }
    
      .footer-logos {
        justify-content: center;
      }
    
      .footer-derechos {
        font-size: 0.8rem;
      }
      
  }
  
  /* Animación para el degradado */
  @keyframes neonGlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
  }
  