* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
}
body {
  background-color: #062735;
}
.svg-top {
  position: relative;
  z-index: 1;
  margin-top: -15%;
}
.wave-container {
  position: relative;
  margin-top: -10%;
  width: 100%;
  height: 320px; /* Altura ajustable según tu ola */
  pointer-events: none;
  z-index: 1; /* Asegura que esté encima del contenido */
  overflow: hidden;
}

.wave {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.wave-back {
  z-index: 1;
  opacity: 0.6;
}

.wave-middle {
  z-index: 2;
  opacity: 0.8;
}

.wave-front {
  z-index: 3;
  opacity: 1;
}

.svg-bottom {
  position: absolute;
  z-index: 1;
  margin-top: 0%;
}
strong {
  font-family: "Quicksand", sans-serif;
}
.header {
  width: 100%;
  height: 100px;
  padding-left: 5%;
  padding-right: 5%;
  display: flex;
  align-items: center;
  position: fixed;
  z-index: 9999999;
  background-color: transparent; /* Fondo transparente inicialmente */
  transition: background-color 0.5s ease-in-out; /* Transición suave */
}

.header.scrolled {
  background-color: #062735; /* Fondo sólido cuando se haga scroll */
}
.header-logo {
  width: 300px;
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.header-logo a {
  height: 100%;
  overflow: hidden;
  display: flex;
  align-items: center;
}
.header-logo img {
  height: 60%;
}
.header-nav {
  width: 100%;
  display: flex;
  align-items: end;
  justify-content: end;
  background-color: #00111d00;
  margin: 0;
  padding: 0;
}

.header-nav ul {
  display: flex;
  margin: 0;
}
.header-nav li {
  list-style: none;
  padding-left: 30px;
  font-size: 1rem;
  font-weight: 700;
  color: white;
}
.header-nav li:hover {
  color: #bddb6b;
}
.header-nav a {
  color: white;
  text-decoration: none;
  transition: 0.5s;
}
.header-nav a:hover {
  color: #bddb6b;
}
/* Estilos para el logo */
.navbar-brand img {
  height: 40px; /* Ajusta el tamaño según sea necesario */
  padding: 0;
}
.container-fluid {
  padding-left: 0;
}
.navbar {
  padding-left: 10%;
  background-color: #062735;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1050;
  background-color: #062735;
  display: none;
}
/* Espacio para compensar la barra de navegación fija */
.content-spacing {
  padding-top: 70px; /* Ajusta este valor según la altura de la barra de navegación */
}
.collapse {
  background-color: #062735;
}
.navbar-nav {
  background-color: #062735;
}
.text-body-emphasis {
  background-color: #062735;
}
.nav-menu {
  padding-top: 80px;
  padding-bottom: 10px;
  padding-left: 10%;
  background-color: #062735;
}
.collapse {
  position: fixed; /* Cambia el menú a una posición fija */
  top: 0; /* Ajusta la posición para que esté en la parte superior */
  width: 100%; /* Se asegura de que el menú colapse se extienda por todo el ancho */
  z-index: 1050; /* Asegura que el menú esté por encima de otros elementos */
}
.snap-section {
  height: 100vh;
  scroll-snap-align: start;
  display: flex;
  align-items: center;
  justify-content: center;
}
.subpagina {
  background-color: #f5f5f5;
}

.titulo {
  max-width: 100%;
  height: 500px;
  margin: 0;
  text-align: center;
  background: #062735;
  background: linear-gradient(
      90deg,
      #062735c4 0%,
      #00699ea4 100%
    ),
    url(/assets/images/ciudad.jpg);
  background-size: cover;
  background-position: center bottom;
  background-repeat: no-repeat;
  background-attachment: fixed;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 20px;
}
.titulo h1 {
  font-size: 4.5rem;
  color: white;
  text-transform: uppercase;
  font-weight: 600;
}
.titulo p{
  color: white;
  font-size: 1.4rem;
}
.visualizador{
  width: 100%;
  height: auto;
  margin-bottom: 40px;
  padding: 40px 5%;
  display: flex;
  flex-wrap: wrap;
  gap: 80px;
background: #00699EA4;
background: linear-gradient(180deg, rgba(0, 105, 158, 1) 0%, rgba(189, 219, 107, 1) 100%);
}
.seccion {
  display: flex;
  flex-wrap: wrap;
  background: white;
  border-radius: 10px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.info-izquierda .texto {
  order: 1;
}
.info-izquierda .iframe-contenedor {
  order: 2;
}

.info-derecha .iframe-contenedor {
  order: 1;
}
.info-derecha .texto {
  order: 2;
}

.texto {
  flex: 0 0 30%;
  padding: 30px;
  background-color: #fff;
  color: #333;
}
.texto h3 {
  margin-top: 0;
  color: #0a506e;
}
.texto p {
  margin-bottom: 15px;
  font-size: 0.95rem;
  line-height: 1.6;
}

.iframe-contenedor {
  flex: 1;
  min-height: 300px;
  display: flex;
  align-items: center;
}
.iframe-contenedor iframe {
  width: 100%;
  height: 80%;
  border: none;
}

footer {
  width: 100%;
  height: 250px;
  display: flex;
  padding: 20px;
  padding-left: 10%;
  padding-right: 10%;
  background-color: #062735;
}
.footer-container {
  width: 100%;
  height: 80%;
  margin: 20px;
  background-color: #00aebe00;
  display: flex;
  align-items: center;
  justify-content: center;
}
.footer-social {
  display: flex;
  flex-direction: column;
  color: white;
}
.social {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.social-icon {
  width: 40px;
  height: 40px;
  background-color: white;
  margin: 10px;
  border-radius: 10px;
  padding: 5px;
  display: flex;
  align-items: center;
}

#btn-back-to-top {
  position: fixed;
  bottom: 120px;
  right: 40px;
  display: none;
  background-color: #062735;
  border-color: #062735;
  border-radius: 50%;
}
/* Estilo del contenedor */
.search-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center; /* Centrar la lupa */
  padding-left: 20px; /* Sin desplazamiento extra */
}

/* Estilo de la lupa */
.search-icon {
  background: none; /* Sin fondo */
  border: none;
  font-size: 20px;
  cursor: pointer;
  padding: 5px;
}

.search-icon i {
  color: white; /* Color blanco para la lupa */
}

/* Contenedor del input */
.search-input-container {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

/* Input */
#searchInput {
  width: 0;
  opacity: 0;
  padding: 0;
  font-size: 16px;
  border: 1px solid #ccc;
  border-radius: 4px;
  padding-right: 30px; /* Espacio para la equis */
  transition: all 0.3s ease;
}

/* Mostrar input cuando se activa */
#searchInput.active {
  width: 200px;
  opacity: 1;
  padding: 10px;
}

/* Botón de la equis dentro del input */
.clear-icon {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  font-size: 16px;
  color: #888;
  cursor: pointer;
  display: none;
}

.clear-icon:hover {
  color: #555;
}

/* Contenedor de resultados */
.search-results {
  position: absolute;
  top: 100%; /* Aparecen justo debajo del input */
  left: 20%;
  background-color: white;
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  width: 200px; /* Ajuste según el ancho del input */
  display: none;
  z-index: 1000;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* Sombra para destacar */
}

.search-results a {
  text-decoration: none;
  display: block;
  padding: 10px;
  color: black;
  border-bottom: 1px solid #eee;
}

.search-results a:hover {
  background-color: #f0f0f0;
}
