/* Shared navigation and footer for the public website pages. */
.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  min-height: 76px;
  padding: .65rem 0;
  background: #fff !important;
  border-bottom: 1px solid #e2e9e2;
  box-shadow: none;
  transition: padding .2s ease, box-shadow .2s ease;
}
.navbar.scrolled { padding: .55rem 0; box-shadow: 0 6px 24px rgba(19,47,33,.07); }
.navbar-brand { margin: 0; }
.brand-with-logo { display: flex; align-items: center; gap: .65rem; }
.nav-logo-container { display: flex; align-items: center; justify-content: center; flex-shrink: 0; width: 46px; height: 46px; padding: 3px; background: #fff; border: 1px solid #e5e9df; border-radius: 6px; }
.nav-logo { width: 100%; height: 100%; object-fit: contain; border-radius: 3px; }
.brand-text { color: var(--green-dark); font-size: 1.25rem; font-weight: 800; white-space: nowrap; }
.navbar .nav-link { margin: 0 .1rem; padding: .5rem .75rem !important; border-radius: 4px; color: #31463a !important; font-size: .94rem; font-weight: 700; white-space: nowrap; transition: color .2s ease, background-color .2s ease, box-shadow .2s ease; }
.navbar .nav-link:hover, .navbar .nav-link:focus-visible, .navbar .nav-link[aria-current] { color: var(--green-dark) !important; background: #f3f7f2; box-shadow: inset 0 -3px var(--gold-main); }
.navbar-toggler { padding: .35rem .55rem; border: 1px solid #d5e0d6; border-radius: 5px; }

footer { padding: 4rem 0 1.4rem; background: #101e1b; color: #fff; border: 0; }
footer h5 { margin-bottom: 1.4rem; color: #f2c34f; font-size: 1rem; font-weight: 700; }
footer a { display: inline-block; margin-bottom: .45rem; color: rgba(255,255,255,.78); text-decoration: none; transition: color .2s ease, background .2s ease; }
footer a:hover { color: #fff; }
.copyright { margin-top: 3rem; padding-top: 1.8rem; border-top: 1px solid #354a3e; color: rgba(255,255,255,.65); text-align: center; }
.social-link { margin-left: .8rem; color: rgba(255,255,255,.75); font-size: 1.4rem; text-decoration: none; }
.social-link:hover { color: var(--gold-light); }
.footer-app-title { margin: 1.2rem 0 .7rem; color: #f2c34f; font-size: .95rem; font-weight: 700; }
.footer-app-badges { display: flex; flex-wrap: wrap; gap: .6rem; }
.footer-badge-btn { display: inline-flex; align-items: center; gap: .65rem; min-width: 150px; margin: 0; padding: .55rem .8rem; border: 1px solid rgba(242,195,79,.4); border-radius: 6px; background: rgba(255,255,255,.06); color: #fff; direction: ltr; text-align: left; }
.footer-badge-btn:hover, .footer-badge-btn:focus-visible { border-color: #f2c34f; background: rgba(242,195,79,.14); color: #fff; }
.footer-badge-btn i { color: #f2c34f; font-size: 1.5rem; line-height: 1; }
.footer-badge-text { display: flex; flex-direction: column; line-height: 1.2; }
.footer-badge-text span:first-child { font-size: .65rem; }
.footer-badge-text span:last-child { font-size: .94rem; font-weight: 700; }

@media (min-width: 992px) {
  .navbar > .container { position: relative; }
  .navbar-collapse { position: absolute; top: 50%; left: 50%; width: max-content; flex-grow: 0; transform: translate(-50%, -50%); }
  .navbar-nav { gap: .35rem; margin: 0 !important; }
}
@media (max-width: 991px) {
  .navbar-collapse { margin-top: .7rem; padding: .7rem 0 .25rem; border-top: 1px solid #e6ece5; }
  .navbar-nav { align-items: stretch; }
  .navbar .nav-link { margin: .1rem 0; }
}
@media (max-width: 767px) {
  .navbar { min-height: 66px; }
  .brand-text { font-size: 1.08rem; }
  .nav-logo-container { width: 41px; height: 41px; }
}
