html, body {
  margin: 0;
  padding: 0;
  height: 100%; 
  overflow-x: hidden;
  font-family: "Raleway", sans-serif !important;
}
header {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  background-color: transparent;
  position: relative;
  z-index: 1100;
}

.header-content {
  width: 100%;
  display: flex;
  justify-content: space;
  align-items: center;
}

.logo img {
  height: 120px;
  margin-left: 15px;
}

/* 🔹 Menú de escritorio */
.navbar {
  display: flex;
  align-items: center;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 15px;
}

.nav-links a {
  color: black;
  text-decoration: none;
  font-size: 18px;
}

.nav-links a:hover {
  color: #007BFF;
}

.main-menu {
  border-bottom: 2px solid #000;
  padding-bottom: 3px;
}

/* 🔽 Menú hamburguesa (oculto en escritorio) */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
  gap: 5px;
  position: absolute;
  right: 20px;
  top: 20px;
  z-index: 1200;
}

.menu-toggle .bar {
  width: 30px;
  height: 4px;
  background-color: black;
  border-radius: 5px;
  transition: 0.3s;
}

/* 🔹 Contenedor del menú móvil */
.mobile-menu-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: white;
  display: none;  /* 🔹 Oculto por defecto */
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* 🔹 Cuando el menú está activo */
.mobile-menu-container.active {
  display: flex;
}

/* 🔹 Botón de cerrar (X) */
.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: black;
}

/* 🔹 Estilos de los enlaces en el menú móvil */
.mobile-nav-links {
  list-style: none;
  text-align: center;
  padding: 0;
}

.mobile-nav-links li {
  margin: 20px 0;
}

.mobile-nav-links a {
  text-decoration: none;
  color: black;
  font-size: 24px;
  font-weight: bold;
}

.mobile-nav-links a:hover {
  color: #007BFF;
}



.section-border {
  position: relative;
  overflow: hidden; 
  width: 90vw; 
  margin-left: 50px;
}

.section-background {
  width: 100%; 
  height: 230px; 
  position: relative;
  display: flex;
  justify-content: center; 
  align-items: center; 
}

.background-image {
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
  object-position: center;
}
.overlay-text {
  position: absolute;
  top: 10%; 
  left: 50%; 
  transform: translate(-50%, -50%); 
  color: black; 
  font-size: 2.5rem;
  font-weight: bold; 
  text-align: center; 
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7); 
  white-space: pre-wrap; 
  z-index: 10; 
}
.contact-section {
  display: flex;
  justify-content: center; 
  align-items: flex-start;
  padding: 40px 20px; 
  background-color: #f9f9f9; 
  border-top: 1px solid #ddd; 
  border-bottom: 1px solid #ddd;
  flex-wrap: wrap; 
  gap: 80px; 
}

.contact-info {
  max-width: 400px;
  padding: 20px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.contact-info h2 {
  margin-bottom: 20px;
  color: #333;
  font-size: 1.5em;
}

.contact-info p {
  margin: 10px 0;
  color: #555;
  line-height: 1.5;
}

.contact-info a {
  text-decoration: none;
  color: #007BFF;
  transition: color 0.3s ease;
}

.contact-info a:hover {
  color: #0056b3;
}
.contact-form {
  flex: 1; 
  max-width: 600px;
  background-color: #ffffff;
  border: 1px solid #ddd;
  border-radius: 10px;
  box-shadow: 1px0 2px 5px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.contact-form .form-group {
  margin-bottom: 20px;
}

.contact-form label {
  display: block;
  font-size: 1em;
  color: #333;
  margin-bottom: 8px;
}

.contact-form .required {
  color: #e63946;
  font-size: 0.9em;
}

.contact-form .form-row {
  display: flex;
  gap: 10px;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 10px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1em;
  color: #333;
  box-sizing: border-box;
}

.contact-form input[type="text"],
.contact-form input[type="email"] {
  flex: 1; 
}

.contact-form textarea {
  resize: none;
}

.contact-form .submit-button {
  display: inline-block;
  background-color: #007BFF;
  color: #ffffff;
  border: none;
  padding: 10px 20px;
  font-size: 1em;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}
.contact-form .submit-button:hover {
  background-color: #0056b3;
}


#chat-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  width: 300px;
  font-family: Arial, sans-serif;
}
#chat-header {
  background-color: #007bff;
  color: white;
  padding: 10px;
  text-align: center;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
}
#chat-box {
  display: none;
  background: white;
  border: 1px solid #ccc;
  border-radius: 0 0 5px 5px;
  padding: 10px;
}
#chat-messages {
  height: 200px;
  overflow-y: auto;
  border-bottom: 1px solid #ccc;
  margin-bottom: 10px;
  padding: 5px;
}
#chat-input {
  width: 80%;
  padding: 5px;
}
button {
  padding: 5px;
}
.compliance-section p {
  text-align: left; 
  font-size: 1.1rem; 
  margin: 20px 10px 50px; 
  padding: 5px; 
}
@media (max-width: 768px) {
  .header-content {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center; 
  }
  .nav-links {
    display: none; /* Ocultar menú en móviles */
    flex-direction: column;
    position: absolute;
    top: 80px;
    right: 0;
    background-color: white;
    width: 100%;
    text-align: center;
    padding: 20px 0;
    box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.1);
  }

  .nav-links.active {
    display: flex; /* Mostrar menú cuando esté activo */
  }

  .menu-toggle {
    display: flex;
    position: relative; /* Permite moverlo sin afectar otros elementos */
    top: 1px;
  }
  .menu-toggle.hidden {
    display: none;
  }
  
  .section-border {
    margin-left: 20px;
    width: 95vw;
  }

  .section-background {
    height: 180px; 
  }

  .overlay-text {
    font-size: 2rem; 
  }

  .contact-section {
    flex-direction: column; 
    align-items: center;
    gap: 40px; 
  }

  .contact-info, .contact-form {
    width: 90%; 
    max-width: 500px; 
  }

  .contact-form .form-row {
    flex-direction: column; 
    gap: 15px; 
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9em; 
  }

  .contact-form .submit-button {
    width: 100%; 
  }
}

@media (max-width: 480px) {
  .section-border {
    margin-left: 20px;
    width: 92vw;
  }

  .section-background {
    height: 180px; 
  }

  .overlay-text {
    font-size: 2rem; 
  }

  .contact-section {
    flex-direction: column; 
    align-items: center;
    gap: 40px; 
  }

  .contact-info, .contact-form {
    width: 90%; 
    max-width: 500px; 
  }

  .contact-form .form-row {
    flex-direction: column; 
    gap: 15px; 
  }

  .contact-form input,
  .contact-form textarea {
    font-size: 0.9em; 
  }

  .contact-form .submit-button {
    width: 100%; 
  }
}