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

body {
  font-family: 'DM Sans', sans-serif;
  background-color: #f8fafd;
  color: #1c1e21;
  line-height: 1.6;
}

a {
  text-decoration: none;
  color: inherit;
}

.site-header {
  background-color: #ffffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.05);
  padding: 1rem 0;
}

.nav-container {
  width: 90%;
  max-width: 1140px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  /* Logo image container – remove default text styling */
  font-weight: 700;
  font-size: 1.5rem;
  color: #003366;
}

/* Ensure the logo image maintains a consistent height */
/* Increase logo height for better prominence on desktop layouts. On smaller screens the responsive rules will scale it down automatically. */
.logo img {
  height: 80px;
}

/* Navigation menu */
.nav {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  font-size: 1rem;
  align-items: center;
}

.nav a {
  font-weight: 600;
  color: #003366;
  transition: color 0.3s ease;
}

.nav a:hover {
  color: #00b4d8;
}

.hero {
  height: 80vh;
  background-size: cover;
  background-position: center;
  position: relative;
}

.hero-overlay {
  background-color: rgba(0, 0, 0, 0.55);
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero-content {
  color: white;
  text-align: center;
  max-width: 700px;
  padding: 2rem;
}

.hero-content h1 {
  font-size: 3rem;
  margin-bottom: 1rem;
}

.hero-content p {
  font-size: 1.2rem;
  margin-bottom: 2rem;
}

.btn {
  background: #00b4d8;
  padding: 0.8rem 2rem;
  border-radius: 6px;
  color: white;
  font-weight: 600;
  font-size: 1rem;
  display: inline-block;
  transition: background 0.3s ease;
}

.btn:hover {
  background: #008db8;
}

main {
  padding: 4rem 2rem;
}

.section {
  max-width: 1140px;
  margin: auto;
}

.section h2 {
  text-align: center;
  font-size: 2rem;
  margin-bottom: 2rem;
  color: #002244;
}

.card-grid {
  display: grid;
  gap: 2rem;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.card {
  background: white;
  border-radius: 10px;
  padding: 2rem;
  box-shadow: 0 4px 16px rgba(0,0,0,0.06);
  transition: transform 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
}

.card h3 {
  font-size: 1.3rem;
  margin-bottom: 0.75rem;
  color: #003366;
}

.site-footer {
  background-color: #003366;
  color: white;
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
}

/* Responsive design adjustments */
@media (max-width: 768px) {
  .nav {
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
  }
  .hero {
    height: 60vh;
  }
  .hero-content h1 {
    font-size: 2rem;
  }
  .hero-content p {
    font-size: 1rem;
  }
  .card-grid {
    grid-template-columns: 1fr;
  }
}
