/* Nav links now live entirely under .navbar-center .nav-links -- the
   old .navbar-left .logo rule was dead CSS (no matching markup in
   navbar.js) and the old .nav-links a / .nav-links a:hover rules
   duplicated (and disagreed with) .navbar-center .nav-links a below, so
   both are gone rather than carried forward. */
.navbar {
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.navbar-center .nav-links {
  list-style-type: none;
  display: flex;
  gap: 4px;
  margin: 0;
  padding: 0;
}

/* Pill-style links: transparent by default, a soft tint on hover, and a
   solid brand-coloured pill for whichever page you're actually on (see
   the isActive/navLinkActive logic in navbar.js) so it's obvious at a
   glance where you are, not just where you can click. */
.navbar-center .nav-links a {
  display: inline-block;
  color: #445d6b;
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  padding: 8px 14px;
  border-radius: 999px;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.navbar-center .nav-links a:hover {
  background-color: #eef2f4;
  color: #24303a;
  text-decoration: none;
}

.navbar-center .nav-links a.navLinkActive {
  background-color: #6f93a8;
  color: #fff;
}

.navbar-center .nav-links a.navLinkActive:hover {
  background-color: #5f7d95;
  color: #fff;
}

/* Page shell -- a flex column pinned to at least the full viewport
   height so the footer (see footer.css) sits at the bottom of short
   pages instead of floating right under a half-empty content card, but
   still gets pushed down normally once page content is tall enough to
   need scrolling. Only the main content card (the .page's direct
   .container child, i.e. <main> in layout.js) is stretched to fill the
   remaining space -- nested .container usages elsewhere on the page
   (e.g. aboutUs.js) are untouched by this. */
.page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #f2f4f6;
}

.page > .container {
  flex: 1 0 auto;
}

.contentCard {
  background-color: #ffffff;
  border-radius: 8px;
  padding: 1.5rem;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.06);
}