body {
  margin: 0;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.sticky-header {
  position: sticky;
  top: 0;
  background-color: #002b5c;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.nav-menu {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin: 0;
  padding: 1rem 0;
}

.nav-menu li a {
  text-decoration: none;
  color: white;
  font-weight: bold;
  padding: 0.5rem;
  transition: background-color 0.3s;
}

.nav-menu li a:hover {
  background-color: #004080;
  border-radius: 5px;
}

.hero {
  padding: 4rem 2rem;
  background: linear-gradient(to right, #f4f4f4, #eaeaea);
  text-align: center;
}

.video-pequeno {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.video-pequeno video {
  height: 600px;
  width: auto;
  border: 1px solid #ccc;
  border-radius: 8px;
}

footer {
  text-align: center;
  padding: 1rem;
  background-color: #002b5c;
  color: white;
}

/* ----------------------------
   FORMULARIO CONTACTO
----------------------------- */

/* Estilo base (si no hay estilo activo) */
#formulario-seccion {
  padding: 1rem;
  max-width: 700px;
  margin: 2rem auto;
  transition: all 0.5s ease;
}

/* Estilo activo con clase */
.estilo-activo {
  background-color: #f4f8fb;
  padding: 2rem;
  border-radius: 10px;
  box-shadow: 0 0 12px rgba(0, 43, 92, 0.1);
  animation: fadeIn ease-in-out 1s;
}

/* Formulario visualmente moderno */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 600px;
  margin: auto;
}

.contact-form label {
  font-weight: bold;
  color: #333;
}

.contact-form input,
.contact-form textarea {
  padding: 0.8rem;
  font-size: 1rem;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.contact-form button[type="submit"] {
  background-color: #004080;
  color: white;
  padding: 0.8rem;
  font-weight: bold;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button[type="submit"]:hover {
  background-color: #0066cc;
}

/* Animación CSS3 */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-15px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Botón de alternancia de estilo */
#formulario-seccion button:not([type="submit"]) {
  margin-top: 2rem;
  padding: 0.6rem 1rem;
  background-color: #ccc;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  cursor: pointer;
}

#formulario-seccion button:not([type="submit"]):hover {
  background-color: #bbb;
}
