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;  
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.mobile-menu-container.active {
  display: flex;
}

.close-menu {
  position: absolute;
  top: 20px;
  right: 20px;
  font-size: 30px;
  background: none;
  border: none;
  cursor: pointer;
  color: black;
}

.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: 100%;
}

.section-background {
  width: 90%;
  max-width: 1200px;
  height: 300px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto; /* Centra el contenido */
}

.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;
}

.section-container {
  width: 100%;
  max-width: 1200px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-sizing: border-box;
  margin: 0 auto;
}

.responsive-title {
  font-size: 2rem;
  text-align: center;
  color: #333;
  margin: 50px 0;
}

.image-wrapper {
  display: flex;
  flex-wrap: wrap; /* Permite que los elementos se ajusten en varias filas */
  justify-content: center; /* Centra los elementos */
  align-items: center;
  gap: 20px;
  padding: 20px;
  max-width: 1200px;
  margin: 0 auto;
}

.image-left img,
.image-right img {
  width: 100%;
  max-width: 250px;
  height: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.text-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
  max-width: 300px;
  margin: 0 auto;
  gap: 10px;
}

.main-text {
  font-size: 1.5rem;
  font-weight: bold;
  margin: 0;
}

.sub-text {
  font-size: 1rem;
  color: #555;
  margin: 0;
}


#chat-container {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 300px;
  font-family: Arial, Helvetica, 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: 872px) {
  .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;
  }
  .overlay-text {
    font-size: 1.8rem;
  }
  .section-background {
    height: 200px;
  }
  .responsive-title {
    font-size: 1.5rem;
  }
  .image-wrapper {
    flex-direction: column; /* Apila las imágenes verticalmente */
    gap: 30px;
  }
  .text-container {
    max-width: 100%;
  }
  .main-text {
    font-size: 1.2rem;
  }
  .sub-text {
    font-size: 0.9rem;
  }
}