* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Quicksand", sans-serif;
}
body {
  background-color: #062735;
}
.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 */
}

.principal {
  position: relative;
  width: 100%;
  height: 50vh;
  overflow: hidden;
}

.video-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}
.principal::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: #00699ea4;
  background: linear-gradient(
    180deg,
    rgba(0, 105, 158, 0.5) 0%,
    rgba(189, 219, 107, 0.836) 100%
  );
  z-index: 1;
}
.principal-title {
  position: relative; /* necesario para que esté sobre el video */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 2;
}

.principal-title h1 {
  color: white;
  font-size: 10rem;
  text-shadow: 2px 2px 10px #000; /* mejora legibilidad */
}

.secondary {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
}

.secondary-title {
  width: 70%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  padding: 10% 5%;
  color: white;
  background-color: #f7921e;
}
.secondary-title h2 {
  width: 100%;
  font-size: 3rem;
  text-align: start;
}
.secondary-img {
  width: 50%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.secondary-img img {
  width: 400px;
  height: auto;
  object-fit: contain;
}
.terciary {
  width: 100%;
  height: auto;
  display: flex;
  flex-direction: row-reverse;
  align-items: center;
  justify-content: center;
  background-color: #062735;
}
.terciary-title {
  width: 70%;
  height: auto;
  padding: 10% 5%;
  display: flex;
  flex-direction: column;
  align-items: start;
  justify-content: center;
  color: white;
}
.terciary-title h2 {
  width: 100%;
  font-size: 3rem;
  text-align: start;
}
.terciary-img {
  width: 50%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.terciary-img img {
  width: 100%;
  height: auto;
  object-fit: cover;
}
.fourth {
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: white;
  padding: 0;
}
.fourth-content {
  width: 50%;
  height: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: start;
  padding: 10% 5%;
  background-color: #f7921e;
  color: white;
}
.fourth-content h2 {
  width: 100%;
  font-size: 3rem;
  text-align: start;
}
.fourth-buttons {
  width: 50%;
  height: auto;
  padding: 40px;
}
.grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  max-width: 1200px;
  margin: auto;
}

.geo-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #062735;
  border: 2px solid #ffffff;
  padding: 1rem;
  border-radius: 8px;
  cursor: pointer;
  transition: 0.5s;
}

.geo-btn:hover {
  background-color: #f7921e;
}

.geo-btn span {
  font-weight: bold;
  color: #ffffff;
  text-align: center;
}

.geo-btn small {
  font-size: 0.75rem;
  color: #ffffff;
}

/* Toast actualizado */
.toast {
  position: fixed;
  top: 200px;
  right: 20px;
  background: #bddb6b;
  color: #062735;
  padding: 1rem 1.5rem;
  border-radius: 6px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
  opacity: 0;
  transform: translateY(-20px);
  z-index: 10000;
  pointer-events: none;
  transition: opacity 0.5s ease, transform 0.5s ease;
}

.toast.show {
  opacity: 1;
  transform: translateY(0);
}

/* Animación de entrada */
@keyframes slideIn {
  0% {
    opacity: 0;
    transform: translateY(-20px);
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Animación de salida */
@keyframes fadeOut {
  to {
    opacity: 0;
    transform: translateY(-20px);
  }
}
.fifth{
  width: 100%;
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}
.fifth-title{
  width: 70%;
  height: 100%;
  padding: 5%;
}
.fifth-title h2{
  font-size: 3rem;
  color: white;
}
.fifth-title p{
  color: white;
}
.fifth-title a{
  text-decoration: none;
}
.fifth-title button{
  border: none;
  padding: 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  background-color: #ffffff00;
  color: white;
  font-size: 2rem;
  transition: 0.5s;
}
.fifth-title button:hover{
  color: #bddb6b;
}
.fifth-title i{
  font-size: 2rem;
  color: white;
}
.fifth-aside{
  width: 30%;
  height: auto;
}
.fifth-aside img{
  width: 100%;
  height: auto;
}
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;
}
