/* Reset some default browser styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Body styling */
body {
  font-family: "Trebuchet MS", Helvetica, sans-serif;
  background-color: #f4f6f9;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: #003366;
  color: #fff;
  padding: 1rem;
  text-align: center;
}

header h1 {
  font-size: 2rem;
  letter-spacing: 1px;
}

/* Navigation */
nav ul {
  list-style: none;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

nav ul li {
  margin: 0.5rem;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  transition: background 0.3s ease;
}

nav ul li a:hover {
  background: #0055a5;
}

/* Mobile menu toggle */
.menu-toggle {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.menu-toggle span {
  height: 3px;
  width: 25px;
  background: white;
  margin: 3px 0;
}

/* Hero Section with fade-in */
.hero {
  background: url('banner.jpg') no-repeat center center;
  color: #fff;
  text-align: center;
  margin: 0;
  padding: 0;
  font-size: 1.8rem;
  font-weight: bold;  
  text-shadow: 2px 2px 4px rgba(0,0,0,0.6);
  opacity: 0;
  animation: fadeInHero 2s ease-in forwards;
  position: relative;
  overflow: hidden;
}

.hero-img {
  width: 100%;
  height: auto;
  display: block;
  max-width: 100%;
}

@keyframes fadeInHero {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Main content */
main {
  padding: 2rem;
  max-width: 900px;
  margin: auto;
}

main h2 {
  margin-bottom: 1rem;
  color: #003366;
}

main p {
  margin-bottom: 1rem;
}

/* Cards */
.card {
  background: #fff;
  padding: 1.5rem;
  margin: 1rem 0;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.card h3 {
  color: #003366;
  margin-bottom: 0.5rem;
}

/* Footer */
footer {
  background: #003366;
  color: #fff;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background: #003366;
    padding: 1rem;
  }
  nav ul.active {
    display: flex;
  }
  .menu-toggle {
    display: flex;
  }
}
