body {
  margin: 0;
  padding-bottom: 20px;
  font-family: Arial, Helvetica, sans-serif;
  background: #f4f6f8;
  color: #333;
}

header {
  background: #3e76a1;
  color: white;
  padding: 8px 40px;
}

.hero {
  position: relative;
  height: 260px;
  width: 100%;
  background-image: url("/img/header bridge image.jpg");
  background-size: cover;
  background-position: center;
}

.hero-title {
  position: absolute;
  bottom: 12px;
  right: 70px;
  font-size: 2.8rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  color: #f2f2f0;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.45);
}

header h1 {
  margin: 0;
  font-size: 26px;
}

nav {
  margin-top: 5px;
}

nav a {
  color: #e8edf2;
  text-decoration: none;
  margin-right: 32px;
  font-weight: 500;
  position: relative;
}

nav a:hover {
  color: #ffffff;
}

nav a.active {
  color: #3e76a1;              /* your header blue */
  background-color: #f7f9fb;   /* soft white */
  font-weight: 600;
  padding: 4px 10px;
  border-radius: 4px;
}

//nav a.active::after {
//  content: "";
//  position: absolute;
//  left: 0;
//  bottom: -6px;
//  width: 100%;
//  height: 2px;
//  background-color: #dfe6ec; /* or #9fb6cc */
//}

nav a.active::after {
  display: none; /* remove underline */
}

nav a:hover:not(.active) {
  text-decoration: underline;
}

@media (max-width: 600px) {
  nav a {
    margin-right: 18px;
  }
}

main {
  margin: 40px auto;
  background: white;
  padding: 40px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.08);
  width: calc(100% - 80px);
  box-sizing: border-box;
}

footer {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  height: 20px;
  z-index: 1000;  

  background: #3e76a1;
  color: #cfd6dc;
  display: flex;
  text-align: center;
  align-items: center;
  justify-content: center;
  padding: 10px;
  font-size: 14px;
}

