* {
  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: 10%;
  padding-right: 10%;
  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;
}
.principal {
  position: relative;
  height: 100vh;
  overflow: hidden;
  background-color: #06273573;
}
.title-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
.background-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.principal-content {
  width: 100%;
  height: 90%;
  position: relative;
  z-index: 1;
  text-align: center;
  color: white;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.principal-title {
  padding: 0 10% 0 10%;
}
.principal-title i {
  color: #42c0f7;
  text-shadow: 2px 2px #3333337c;
}
.principal-title h1 {
  font-size: 7em;
  margin-bottom: 20px;
}
.principal-title p {
  font-size: 1.5em;
  margin-bottom: 30px;
}
.principal-title button {
  border-style: none;
  padding: 10px 100px;
  border-radius: 5px;
  background-color: #062735;
  color: white;
}
.wave-svg {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: auto;
  z-index: 0;
  transition: fill 0.3s ease; /* Transición suave para el cambio de color */
  fill: white;
}
.secondary {
  position: relative;
  width: 100%;
  height: 100vh;
  background-color: #ffffff; /* color base */
  transition: background-color 1s ease-in-out;
  overflow: hidden;
  display: flex;
  justify-content: center;
}

.secondary::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
      0deg,
      rgba(6, 39, 53, 1) 10%,
      rgba(255, 255, 255, 0) 60%,
      rgba(255, 255, 255, 1) 100%
    ),
    url(/assets/images/clima.jpg);
  background-size: cover;
  background-position: center;
  opacity: 0;
  transition: opacity 1s ease-in-out;
  z-index: 0;
  pointer-events: none;
}

.secondary.visible::before {
  opacity: 1;
}

.secondary .content-wrapper {
  position: relative;
  z-index: 1; /* el contenido va encima del gradiente */
}

.content-wrapper {
  display: flex;
  align-items: center;
  max-width: 1200px;
  width: 100%;
  gap: 50px;
  transform: translateY(100px);
  opacity: 0;
  transition: all 1s ease;
}

.secondary.visible .content-wrapper {
  transform: translateY(0);
  opacity: 1;
}

.image-box {
  flex: 1;
  position: relative;
  width: 100%;
  height: 600px;
  transform: translateX(0);
  transition: transform 1s ease;
  overflow: hidden; /* importante para recortar la imagen si se desborda */
  border-radius: 10px;
}

.image-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}
.overlay-title {
  position: absolute;
  bottom: 10%;
  left: 10%;
  color: white;
  font-size: 3rem;
  font-weight: bold;
  text-shadow: 0 0 8px rgba(0, 0, 0, 0.6);
}

.text-box {
  flex: 1;
  opacity: 0;
  transform: translateX(50px);
  transition: opacity 1s ease 0.8s, transform 1s ease 0.8s;
  color: #062735;
  background-color: white;
  border-radius: 10px;
  padding: 40px;
  -webkit-box-shadow: 3px 3px 10px 3px #000000;
  -moz-box-shadow: 3px 3px 10px 3px #000000;
  box-shadow: 3px 3px 0px 3px #f7921e;
}
.text-box h2 {
  font-size: 3rem;
  font-weight: 600;
}
.secondary.visible .image-box {
  transform: translateX(-50px);
}

.secondary.visible .text-box {
  opacity: 1;
  transform: translateX(0);
}
.fourth {
  width: 100%;
  height: 100vh;
  padding: 0 10%;
  background-color: #06273500;
  background-size: cover;
  background-position: center;
  display: flex;
  gap: 40px;
  position: relative;
  z-index: 2;
}
.horizontal-items {
  width: 100%;
  height: auto;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}
.item-fourth {
  width: 200px;
  height: 200px;
  background-color: #ffffff;
  border-radius: 10px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  justify-content: center;
  color: #062735;
  font-size: 3rem;
  -webkit-box-shadow: 7px 3px 10px 3px #464646;
  -moz-box-shadow: 7px 3px 10px 3px #2e2e2e;
  box-shadow: 1px 3px 10px 3px #030303be;
  transition: transform 0.3s ease;
  overflow: hidden;
}
.item-fourth:hover {
  transform: scale(1.05); /* o 1.1 para más efecto */
  color: #f7921e;
}
.item-fourth span {
  font-size: 1rem;
  text-align: center;
}
.item-fourth img {
  width: 100%;
  height: auto;
  object-fit: contain;
}
.objetivos {
  width: 100%;
  height: auto;
  background-color: #007bff00;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: start;
  gap: 20px;
}
.objetivos-title h3 {
  font-size: 3rem;
  color: white;
  text-transform: uppercase;
}
.objetivos-content {
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  color: white;
  border-left: 6px solid #f7921e; /* Color y grosor de la barra */
  padding-left: 10px; /* Separación entre la barra y el texto */
  margin: 0;
  font-size: 1.2rem;
}
.objetivos-iframe iframe {
  border-radius: 10px;
  -webkit-box-shadow: 3px 3px 10px 3px #000000;
  -moz-box-shadow: 3px 3px 10px 3px #000000;
  box-shadow: 3px 3px 0px 3px #f7921e;
}

.wave-container2 {
  position: relative;
  margin-top: -20%;
  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;
}

.fifth {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 80px;
  padding: 10%;
  background-color: white;
}
.fifth-title h2{
  font-size: 3rem;
  color: #062735;
}
.fifth-title p{
  font-size: 1.5rem;
}
.divisor{
  width: 100%;
  height: auto;
  text-align: start;
  text-transform: uppercase;
}
.divisor h2{
  font-size: 1.8rem;
  font-weight: 700;
  color: #062735;
}
.tarjeta {
  border-radius: 20px;
  text-align: center;
  color: white;
  padding: 5%;
    display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.tarjeta h3{
  font-size: 2.5rem;
  text-transform: uppercase;
}
.tarjeta a {
  text-decoration: none;
}
.tarjeta button {
  border: none;
  width: auto;
  height: auto;
  font-size: 1rem;
  padding: 10px;
  border-radius: 10px;
  border-color: #f7921e;
  background-color: #f7921e;
  color: white;
}
.app-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(3, 100px);
  grid-column-gap: 40px;
  grid-row-gap: 0px;
}
.aplicaciones {
  width: 100%;
  height: auto;
}
.zonificacion {
  grid-area: 1 / 1 / 4 / 7;
  background: linear-gradient(
      180deg,
      rgba(6, 39, 53, 0.856) 0%,
      rgba(0, 105, 158, 0.452) 100%
    ),
    url(/assets/images/pexels-igor-starkov-233202-1117452.jpg);
  background-position: center bottom;
  background-size: cover;
  background-repeat: no-repeat;

}
.visualizador {
  grid-area: 1 / 7 / 4 / 13;
  background: #062735;
  background: linear-gradient(
      180deg,
      rgba(6, 39, 53, 0.842) 0%,
      rgba(0, 105, 158, 0.247) 100%
    ),
    url(/assets/images/pexels-berk-ozdemir-1761205-3779191.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;

}
.recursos{
  width: 100%;
}
.recursos-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  grid-template-rows: repeat(4, 100px);
  grid-column-gap: 40px;
  grid-row-gap: 0px;
}

.bloque-expandible {
  position: relative;
  border-radius: 10px;
  padding: 20px;
  overflow: hidden;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease;
  color: white;
  flex-direction: column;
}

/* Colores por bloque */
.geoservicios {
  grid-area: 1 / 1 / 5 / 5;
  background-color: #1737a6;
}

.mapa {
  grid-area: 1 / 5 / 5 / 9;
  background-color: #2071d8;
}

.inventario {
  grid-area: 1 / 9 / 5 / 13;
  background-color: #0a506e;
}

.contenido-base {
  text-align: center;
  transition: opacity 0.3s ease;
}
.bloque-expandible i {
  font-size: 4.5rem;
  margin-bottom: 10px;
}
.bloque-expandible h3 {
  font-size: 2rem;
}

.contenido-expandido {
  position: absolute;
  inset: 0;
  background-color: rgba(6, 39, 53, 0.95);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transform: scale(0.95);
  transition: all 0.4s ease;
  z-index: 10;
  text-align: center;
  border-radius: 10px;
}

.bloque-expandible.expandido .contenido-expandido {
  opacity: 1;
  transform: scale(1);
  pointer-events: auto;
}

.bloque-expandible.expandido .contenido-base {
  opacity: 0;
  pointer-events: none;
}

.cerrar {
  position: absolute;
  top: 5px;
  right: 15px;
  background: none;
  border: none;
  color: white;
  font-size: 1.5rem;
  cursor: pointer;
}

.boton-expandido {
  margin-top: 20px;
  padding: 10px 25px;
  background-color: #f7921e;
  color: white;
  border: none;
  border-radius: 10px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
}
.ciudad-grid{
  display: grid;
grid-template-columns: repeat(12, 1fr);
grid-template-rows: repeat(2, 200px);
grid-column-gap: 0px;
grid-row-gap: 0px;
}
.ciudad-datos{
  width: 100%;
}
.ciudad-en-datos{
  grid-area: 1 / 1 / 3 / 13;
  background: #062735;
  background: linear-gradient(
      180deg,
      rgba(6, 39, 53, 0.89) 0%,
      rgba(0, 105, 158, 0.247) 100%
    ),
    url(/assets/images/ciudad.jpg);
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
}
.intro-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
}
.intro-wrapper h2 {
  font-size: 3rem;
  color: #0a506e;
}
.intro-wrapper p {
  font-size: 1.5rem;
  color: #0a506e;
}

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;
}
