* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, Helvetica, sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
}

/* Navigation bar */
nav {
  background-color: #00204a;
  color: #fff;
  position: sticky;
  top: 0;
  z-index: 1000;
}

nav .container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

nav .logo a {
  color: #ffc107;
  text-decoration: none;
  font-size: 26px;
  font-weight: bold;
}

/* Ensure the logo image in the navigation bar scales correctly and is vertically centered */
nav .logo img {
  height: 40px;
}

nav .logo a {
  display: flex;
  align-items: center;
}

nav ul {
  list-style: none;
  display: flex;
}

nav li {
  margin-left: 20px;
}

nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.2s ease-in-out;
}

nav a:hover {
  color: #ffc107;
}

/* Hero section */
.hero {
  background-image: url('hero.png');
  background-size: cover;
  background-position: center;
  color: #fff;
  text-align: center;
  padding: 150px 20px;
  position: relative;
}

.hero::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /* Reduce overlay darkness to let the hero image show through */
  background: rgba(0, 0, 0, 0.3);
  z-index: 0;
}

.hero h1, .hero p, .hero .btn {
  position: relative;
  z-index: 1;
}

.hero h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.hero p {
  font-size: 20px;
}

/* Generic button styling */
.btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #ffc107;
  color: #00204a;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  border: none;
  cursor: pointer;
  transition: background-color 0.2s ease-in-out;
}

.btn:hover {
  background-color: #e0a800;
}

.hero .btn {
  display: inline-block;
  margin-top: 20px;
  padding: 12px 24px;
  background-color: #ffc107;
  color: #00204a;
  text-decoration: none;
  border-radius: 4px;
  font-weight: bold;
  transition: background-color 0.2s ease-in-out;
}

.hero .btn:hover {
  background-color: #e0a800;
}

/* Generic section styling */
.section {
  max-width: 1100px;
  margin: 0 auto;
  padding: 60px 20px;
}

.section h2 {
  text-align: center;
  margin-bottom: 40px;
  color: #00204a;
  font-size: 32px;
}

.cards {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  flex: 1 1 260px;
  min-width: 260px;
}

.card h3 {
  margin-bottom: 10px;
  color: #00204a;
  font-size: 20px;
}

.card p {
  font-size: 16px;
  line-height: 1.5;
}

/* Footer styling */
.footer {
  background: #00204a;
  color: #fff;
  padding: 30px 20px;
  text-align: center;
}

.footer a {
  color: #ffc107;
  text-decoration: none;
}

.footer a:hover {
  text-decoration: underline;
}

/* Responsive tweaks */
@media (max-width: 768px) {
  nav .container {
    flex-direction: column;
  }
  nav ul {
    flex-direction: column;
    align-items: center;
  }
  nav li {
    margin: 10px 0;
  }
  .hero {
    padding: 100px 20px;
  }
  .hero h1 {
    font-size: 32px;
  }
  .hero p {
    font-size: 18px;
  }
}