body {
  margin: 0;
  padding-top: 164px; /* Espacio para que no se superponga el header con el contenido */
}
/* Estilos generales del menú */
#header {
  position: fixed;
  top: 0px;
  width: 100%;
  background-color: rgba(214, 211, 211, 0.939);

  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  display: flex;
  align-items: center;
  justify-content: space-between; /* Espacio entre logo y menú */
  padding: 0 100px; /* Espaciado lateral para logo y menú */
}

.logo {
  height: 160px; /* Ajusta la altura del logo según sea necesario */
  width: auto; /* Mantén la proporción del logo */
}
.nav {
  list-style-type: none;
  margin: 0;
  padding: 0;
  display: flex;
  justify-content: center;
  flex-grow: 1;
}
.nav > li {
  position: relative;
}

.nav > li > a {
  display: block;
  padding: 40px 20px; /* Separadores entre menús */
  color: #007bff;
  text-decoration: none;
  font-weight: bold;
  text-align: center;
}

.nav > li > a:hover {
  background-color: #0066cc;
  color: rgb(19, 211, 19);
}

.nav > li ul {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #004080;
  padding: 0;
  margin: 0;
  list-style: none;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav > li:hover > ul {
  display: block;
}

.nav > li ul li {
  position: relative;
}

.nav > li ul li a {
  display: block;
  padding: 10px;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid #0066cc;
}

.nav > li ul li a:hover {
  background-color: rgb(15, 150, 15);
  color: white;
}

/* Submenús anidados */
.nav > li ul li ul {
  display: none;
  position: absolute;
  top: 0;
  left: 100%;
  margin-left: 1px;
}

.nav > li ul li:hover > ul {
  display: block;
}

/* Ajustes para dispositivos móviles */
@media (max-width: 768px) {
  #header {
    position: relative;
    flex-direction: column; /* Cambia la dirección de los elementos */
    align-items: center; /* Centra el logo */
  }

  .logo {
    margin-bottom: 10px; /* Espacio entre el logo y el menú */
    height: 180px; /* Ajusta la altura del logo para móviles */
  }

  .nav {
    flex-direction: column;
    display: none; /* Oculta el menú por defecto en móviles */
    width: 100%; /* Asegura que el menú ocupe todo el ancho */
  }

  .nav.show {
    display: flex;
  }

  .nav > li {
    width: 100%;
  }

  .nav > li > a {
    padding: 20px;
    text-align: center;
    border-bottom: 1px solid #0066cc;
  }

  .nav > li ul {
    position: relative;
    top: 0;
    left: 0;
  }

  .nav > li ul li ul {
    position: relative;
    top: 0;
    left: 0;
    margin-left: 20px;
  }

  .menu-toggle {
    display: block;
    padding: 15px;
    background-color: #004080;
    color: white;
    text-align: center;
    font-weight: bold;
    cursor: pointer;
  }
}
.menu-toggle {
  display: none;
}

/* estilos de footer*/
.footer {
  background-color: rgba(214, 211, 211, 0.939);
  color: #fff;
  padding: 40px 20px;
  font-family: Arial, sans-serif;
}

.footer-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-logo img {
  max-width: 150px;
  margin-bottom: 20px;
}

.footer-links {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-links h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
}

.footer-links ul {
  list-style: none;
  padding: 0;
}

.footer-links ul li {
  margin-bottom: 10px;
}

.footer-links ul li a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-links ul li a:hover {
  color: #066240;
}

.footer-social {
  flex: 1;
  min-width: 200px;
  margin-bottom: 20px;
}

.footer-social h3 {
  margin-bottom: 10px;
  font-size: 1.2em;
}

.social-icons a {
  margin-right: 10px;
}

.social-icons img {
  width: 40px;
  height: 40px;
  transition: transform 0.3s ease;
}

.social-icons a:hover img {
  transform: scale(1.1);
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.9em;
  border-top: 1px solid #26b330;
  padding-top: 10px;
}

.footer-bottom p {
  margin: 0;
}
/* TRANSPARENCIA*/
.transparencia-section {
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.transparencia-section h2 {
  text-align: center;
  font-size: 36px;
  color: #004080;
  margin-bottom: 20px;
}

.transparencia-section p {
  text-align: center;
  font-size: 18px;
  color: #333;
  margin-bottom: 40px;
}

.transparencia-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.transparencia-box {
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
  margin-bottom: 20px;
  width: 30%;
  text-align: center;
}

.transparencia-box h3 {
  font-size: 24px;
  color: #004080;
  margin-bottom: 10px;
}

.transparencia-box p {
  font-size: 16px;
  color: #666;
  margin-bottom: 20px;
}

.transparencia-link {
  color: #004080;
  text-decoration: none;
  font-weight: bold;
}

.transparencia-link:hover {
  text-decoration: underline;
}

@media (max-width: 768px) {
  .transparencia-box {
    width: 100%;
  }
}
/* COSEDE*/
.cosed-section {
  padding: 50px 20px;
  background-color: #f2f2f2;
}

.cosed-box {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  background-color: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  padding: 20px;
}

.cosed-text {
  width: 50%;
  padding-right: 20px;
}

.cosed-text h2 {
  font-size: 28px;
  color: #004080;
  margin-bottom: 10px;
}

.cosed-text p {
  font-size: 16px;
  color: #333;
  margin-bottom: 20px;
}

.cosed-buttons {
  display: flex;
  gap: 15px;
}

.cosed-buttons .btn {
  background-color: #004080;
  color: #fff;
  padding: 10px 20px;
  text-decoration: none;
  border-radius: 4px;
  font-size: 16px;
}

.cosed-buttons .btn:hover {
  background-color: #003366;
}

.cosed-image {
  width: 50%;
  text-align: right;
}

.cosed-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  cursor: pointer;
}

@media (max-width: 768px) {
  .cosed-box {
    flex-direction: column;
    text-align: center;
  }

  .cosed-text,
  .cosed-image {
    width: 100%;
    padding: 0;
  }

  .cosed-image {
    text-align: center;
    margin-top: 20px;
  }
}

/* alisados estrategicos*/
.custom-header-text {
  text-align: center;
  margin-bottom: 20px;
}

.custom-header-text h2 {
  font-size: 2rem;
  color: #333;
}

.custom-benefits-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.5); /* Fondo transparente */
  justify-items: center;
  align-items: center;
}

.custom-benefit-item {
  text-align: center;
  padding: 15px;
  background-color: transparent;
  border-radius: 10px;
  transition: transform 0.3s ease-in-out;
}

.custom-benefit-item img {
  max-width: 140px;
  height: auto;
  margin-bottom: 10px;
}

.custom-benefit-item h3 {
  font-size: 1.2rem;
  color: #333;
}

.custom-benefit-item p {
  font-size: 0.9rem;
  color: #777;
}

.custom-benefit-item:hover {
  transform: scale(1.09); /* Efecto de agrandar al pasar el cursor */
}

@media (max-width: 768px) {
  .custom-benefits-container {
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  }
}
