* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body */
body {
  font-family: 'Arial', sans-serif;
  background-color: #e6f7ff; /* Fondo suave */
  color: #333;
  line-height: 1.6;
}

/* Estilo de la barra de navegación */
.navbar {
  background-color: #0074a8;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1.2rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  font-family: "Varela Round", sans-serif; /* Agregando la fuente */
}

.navbar a {
  color: white;
  text-decoration: none;
  margin: 0 15px;
  font-weight: bold;
  font-size: 1.1rem;
  text-transform: uppercase;
  transition: color 0.3s ease;
}

.navbar a:hover {
  color: #fff;
  border-bottom: 2px solid #0077b6; /* Efecto de subrayado */
}

/* Hero Section */
.hero {
  background: url('./2.png') no-repeat center center;
  background-size: cover;
  background-attachment: fixed;
  color: white;
  text-align: center;
  position: relative;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  height: 600px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

/* Contenedor del logo */
.hero-logo-container {
  position: absolute; /* Esto mantiene al logo fijo en su lugar */
  top: 2%; /* Ajusta esta posición según sea necesario */
  left: 50%;
  transform: translateX(-50%); /* Centra el logo horizontalmente */
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-logo {
  width: 500px; /* Ajusta el tamaño del logo */
  max-width: 80%;
  height: auto;
}

/* Contenedor del texto */
.hero-text-container {
  position: relative; /* Permite que el texto se mueva sin afectar al logo */
  top: 75px;
  margin-top: 200px; /* Ajusta esta distancia para mover el texto hacia arriba */
}

/* Estilo del texto en el contenedor */
.hero-text-container p {
  font-family: "Montserrat", sans-serif; /* Agregar la fuente Montserrat */
  font-optical-sizing: auto; /* Para ajustar la óptica del texto automáticamente */
  font-size: 1.4rem;
  max-width: 600px;
  margin: 0;
}

/* Botón CTA */
.cta-button {
  position: relative; /* Establece la posición como relativa para moverlo independientemente */
  top: 80px; /* Ajusta este valor para mover el botón hacia abajo */
  background-color: #0074a8; /* Azul claro */
  color: white;
  padding: 15px 30px;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  font-weight: bold;
  border-radius: 30px;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: background-color 0.3s ease;
  text-decoration: none;
  display: inline-block;
}

.cta-button:hover {
  background-color: #005f87; /* Azul más oscuro */
}

/* Contacto */
.contact {
  background-color: #f4f8ff; /* Azul suave */
  text-align: center;
  padding: 3rem 1.5rem;
}

.contact h2 {
  color: #0077b6;
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 2rem;
}

form {
  display: flex;
  flex-direction: column;
  align-items: center;
  max-width: 600px;
  margin: 0 auto;
  width: 100%;
}

input[type="text"], input[type="email"], textarea {
  width: 80%;
  padding: 15px;
  margin: 10px 0;
  border: 2px solid #0074a8;
  border-radius: 5px;
  font-size: 1.1rem;
  background-color: #ffffff;
}

textarea {
  height: 150px;
  resize: none;
}

button[type="submit"] {
  background-color: #0074a8;
  color: white;
  padding: 15px 30px;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  border-radius: 5px;
  transition: background-color 0.3s ease;
  font-weight: bold;
  text-transform: uppercase;
  position: relative;
  top: 20px; /* Ajusta este valor para mover el botón hacia arriba */
  margin-bottom: 10px; /* Agrega espacio debajo del botón para evitar el solapamiento */
}

button[type="submit"]:hover {
  background-color: #0077b6;
}

/* Mensaje de Respuesta */
#responseMessage {
  cursor: pointer;
  display: none;
  margin-top: 20px;
  padding: 20px;
  border: 2px solid transparent;
  border-radius: 10px;
  text-align: center;
  font-size: 1.2rem;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  background-color: #f4f8ff; /* Fondo azul suave para consistencia */
}

#responseMessage.success {
  display: block;
  background-color: #d4edda; /* Verde suave */
  color: #155724;
  border-color: #c3e6cb;
}

#responseMessage.error {
  display: block;
  background-color: #f8d7da; /* Rojo suave */
  color: #721c24;
  border-color: #f5c6cb;
}

/* Botón para regresar */
#backButton {
  display: none; /* Oculto por defecto */
  margin-top: 20px;
  padding: 10px 20px;
  background-color: #00aaff;
  color: white;
  font-size: 1rem;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

#backButton:hover {
  background-color: #0077b6; /* Azul más oscuro */
}

/* Footer */
footer {
  background-color: #0074a8;
  color: white;
  text-align: center;
  padding: 2rem;
  font-size: 1rem;
}

footer a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s ease;
}

footer a:hover {
  color: #00bcd4;
}

@media (max-width: 768px) {
  .hero-logo-container {
    top: 0; /* El logo estará más arriba */
    left: 50%;
    transform: translateX(-50%);
    width: 100%; /* Ocupa todo el ancho del contenedor */
  }

  .hero-logo {
    width: 100% !important; /* Usa todo el ancho disponible */
    max-width: 600px !important; /* Aumenta el límite máximo */
    height: auto !important; /* Mantiene la proporción */
  }
}

@media (max-width: 768px) {
  .cta-button {
    top: 100px !important; /* Mueve el botón hacia arriba */
  }
}

.seo-silent {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  overflow: hidden;
  opacity: 0;
}


