body {
  font-family: Arial, sans-serif;
  background: #f9f9f9;
  margin: 0;
  padding: 0;
  color: #333;
}
header {
  background: #0057a0;
  padding: 1rem;
}
header nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  gap: 1rem;
}
header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
}
main {
  max-width: 800px;
  margin: 2rem auto;
  padding: 0 1rem;
}
footer {
  text-align: center;
  padding: 2rem 1rem;
  font-size: 0.9rem;
  background: #eee;
}


/* --- Mobile Responsive Enhancements --- */

@media screen and (max-width: 768px) {
  header nav ul {
    display: none;
    flex-direction: column;
    background-color: #0057a0;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    z-index: 999;
    padding: 1rem;
  }

  header nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    color: white;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
  }

  nav {
    position: relative;
  }

  header nav ul li {
    margin: 0.5rem 0;
  }

  main {
    padding: 1rem;
    margin: 1rem;
  }

  body {
    font-size: 1rem;
  }
}

/* Hide menu toggle by default (desktop) */
.menu-toggle {
  display: none;
}

/* Ensure images and containers scale */
img {
  max-width: 100%;
  height: auto;
}

/* === Mobile Menu Support === */
.menu-toggle {
  display: none;
  color: white;
  background: #003366;
  border: none;
  font-size: 1.5rem;
  padding: 0.5rem;
  cursor: pointer;
}

@media screen and (max-width: 768px) {
  nav ul {
    display: none;
    flex-direction: column;
    background-color: #003366;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    padding: 1rem 0;
    z-index: 999;
  }

  nav ul.show {
    display: flex;
  }

  .menu-toggle {
    display: block;
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 1000;
  }

  nav li {
    text-align: center;
    padding: 1rem;
  }

  nav a {
    color: white;
    text-decoration: none;
    font-weight: bold;
  }
}


