* {
  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: 75%;
  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: 100%;
  height: 100%;
  object-fit: cover;
}

/* =========================================================
   CONTENEDOR SLIDER - INFORMES
========================================================= */

.informes-viewer-container {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 40px;
  overflow-x: hidden;
  overflow-y: visible;
  background-color: #2071d8;
}


/* =========================================================
   SLIDER - INFORMES
========================================================= */

.informes-viewer {
  display: flex;
  gap: 20px;
  width: 100%;
  overflow-x: auto;
  overflow-y: visible;
  scroll-behavior: smooth;
  padding: 10px 0 20px;
}

.informes-viewer::-webkit-scrollbar {
  display: none;
}


/* =========================================================
   TARJETAS - INFORMES
========================================================= */

.informe-card {
  flex: 0 0 420px;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 3px 3px 0px 3px #f7921e;
  transition: transform 0.3s, box-shadow 0.3s;
}

.informe-card:hover {
  transform: scale(1.03);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.2);
}

.informe-card h3 {
  color: #062735;
  font-size: 1.2rem;
  margin-bottom: 8px;
}

.informe-card p {
  color: #555;
  font-size: 0.95rem;
}


/* =========================================================
   PREVIEW (IFRAME) - INFORMES
========================================================= */

.informe-preview {
  width: 100%;
  height: 420px;
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
  margin: 12px 0;
}

.informe-preview iframe {
  width: 100%;
  height: 100%;
  border: none;
}


/* =========================================================
   LINK INFORME
========================================================= */

.open-informe {
  display: inline-block;
  margin-top: 8px;
  color: #007bff;
  text-decoration: underline;
  font-weight: 500;
}


/* =========================================================
   FLECHAS SLIDER - INFORMES
   (si ya tenés .nav-btn definido en styles.css para el otro
   slider, podés borrar este bloque para no duplicarlo)
========================================================= */

.nav-btn {
  border: none;
  background: transparent;
  color: aliceblue;
  font-size: 1.8em;
  cursor: pointer;
  z-index: 5;
}


/* =========================================================
   MENSAJE SIN RESULTADOS - INFORMES
========================================================= */

.no-informes {
  text-align: center;
  width: 100%;
  padding: 50px;
  color: #555;
}


/* =========================================================
   RESPONSIVE - INFORMES
========================================================= */

@media (max-width: 1024px) {
  .informes-viewer-container {
    padding: 10px 0;
  }

  .informe-card {
    flex: 0 0 300px;
  }

  .informe-preview {
    height: 260px;
  }
}

@media (max-width: 600px) {
  .informe-card {
    flex: 0 0 260px;
  }

  .informe-preview {
    height: 220px;
  }

  .informes-viewer-container {
    flex-direction: column;
  }

  .nav-btn {
    margin: 10px 0;
  }
}


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;
}