/* Hero Section */
#hero {
  position: relative;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 50%;
  left: 50%; 
  transform: translate(-50%, -50%);
  width: 150%; 
  height: 150%; 
  z-index: -1; 
  pointer-events: none; 
}

/* Ajusta el iframe para que el video se recorte */
.video-background iframe {
  width: 100%;
  height: 100%; 
  object-fit: cover;
}


.hero-content {
  position: relative;
  text-align: center; /* Centra el texto horizontalmente */
  max-width: 800px;
  padding: 20px;
  color: #ffffff; /* Color blanco para el texto */
  z-index: 1; /* Asegura que el contenido esté sobre el video */
  text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6); 
}

.hero-content h1 {
  font-size: 3.5rem;
  font-weight: bold;
  margin-bottom: 20px;
  color: #ffffff; /* Color blanco */
  /* Sombra inferior para mejor contraste sobre el banner (más oscura) */
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.8), 0 10px 24px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 40px;
  color: #ffffff; /* Color blanco */
  font-weight: 300;
}

.cta-container {
  display: flex;
  flex-direction: column;
  align-items: center; /* Centra los botones */
  gap: 15px;
}

.phone-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff; /* Blanco */
  font-size: 1.2rem;
  text-decoration: none;
}

.phone-icon i {
  margin-right: 10px;
}

/* Íconos lista del hero: verde con brillo */
.icon-green-glow {
  color: #00e676;
  margin-right: 8px;
  text-shadow: 0 0 6px rgba(0, 230, 118, 0.9), 0 0 12px rgba(0, 230, 118, 0.6);
}

/* Responsivo */
@media (max-width: 768px) {
  #hero {
    position: relative;
    height: 70vh; /* Ajusta la altura del hero para pantallas pequeñas */
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
  }

  .video-background {
    position: absolute;
    top: 50%;
    left: 50%; 
    transform: translate(-50%, -50%);
    width: 200%; 
    height: 150%; 
  }

  .hero-content h1 {
    font-size: 2rem; /* Reducir tamaño de título en pantallas pequeñas */
  }

  .hero-content p {
    font-size: 1rem; /* Ajuste de texto */
  }

  .cta-container {
    align-items: center;
  }
}
