/* Color institucional verde profundo */
.navbar-custom {
  background-color: #0f5132; /* Verde institucional suave */
  transition: background-color 0.3s ease;
}

/* Manejo correcto de imagen de logo (evita deformación) */
.navbar-logo {
  height: 40px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* Efectos al pasar el cursor sobre los enlaces */
.navbar-custom .nav-link {
  color: rgba(255, 255, 255, 0.88) !important;
  transition: all 0.2s ease-in-out;
  border-radius: 6px;
}

.navbar-custom .nav-link:hover,
.navbar-custom .nav-link.active {
  color: #ffffff !important;
  background-color: rgba(255, 255, 255, 0.12);
}

/* Submenú desplegable estilizado */
.dropdown-menu {
  border-radius: 10px;
  overflow: hidden;
}

.dropdown-item {
  color: #2b2b2b;
  font-weight: 500;
  transition: background-color 0.2s ease, color 0.2s ease;
}

.dropdown-item:hover {
  background-color: #e8f5e9;
  color: #0f5132;
}

/* --------------------------------------------------
   ESTILOS DEL FOOTER INSTITUCIONAL
-------------------------------------------------- */
.footer-custom {
  background-color: #0b3d26; /* Un verde ligeramente más oscuro que la navbar para dar base */
  border-top: 4px solid #157347; /* Detalle superior verde brillante */
}

.footer-logo {
  height: 45px;
  width: auto;
  object-fit: contain;
  border-radius: 4px;
}

/* Enlaces del pie de página */
.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 0.9rem;
  transition: color 0.2s ease, padding-left 0.2s ease;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 4px; /* Sutil desplazamiento a la derecha */
}

/* Botones de Redes Sociales */
.btn-social {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background-color: rgba(255, 255, 255, 0.1);
  color: #ffffff;
  border-radius: 50%;
  text-decoration: none;
  font-size: 0.85rem;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.btn-social:hover {
  background-color: #157347;
  color: #ffffff;
  transform: translateY(-2px);
}