/* General Reset */
/* Hide toggle by default */
.menu-toggle {
  display: none;
  font-size: 1.5rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* For smaller screens */
@media (max-width: 768px) {
  nav ul {
    display: none; /* hidden initially */
    flex-direction: column;
    width: 100%;
  }

  nav ul.show {
    display: flex; /* show when active */
  }

  .menu-toggle {
    display: block; /* show hamburger */
    margin-left: auto;
  }
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  line-height: 1.6;
  background: #f9f9f9;
  color: #333;
}

header {
  background: #FFA500;
  color: #fff;
  padding: 10px 20px;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center; /* <-- change from space-between to center */
  text-align: center;       /* for text inside items */
  gap: 15px;                /* optional spacing between items */
}
header .logo {
  display: flex;
  align-items: center;
}

header .logo img {
  height: 200px;
  margin-right: 10px;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 15px;
  flex-wrap: wrap;
  justify-content: center; /* ✅ centers items horizontally */
  padding: 0; /* remove default ul padding */
  margin: 0;  /* remove default ul margin */
}

nav {
  background: #a52a2a;
  padding: 0.5rem;
  text-align: center;   /* optional, not needed for flex centering */
}

nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;  
  padding: 0.25rem 0.5rem; /* optional spacing */
}

nav a:hover {
  background: #0055aa;
  border-radius: 4px;
}
/* Main Content */
main {
  padding: 20px;
  background: #FFFFFF;
  margin: 10px;
  border-radius: 8px;
}

/* Hero Section */
.hero {
  text-align: center;
  padding: 40px 20px;
  background: #eaf4ff;
  border-radius: 8px;
}

.hero .tagline {
  font-size: 1.2em;
  color: #0066cc;
  margin-top: 10px;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 10px 15px;
  background: #0066cc;
  color: #fff;
  text-decoration: none;
  border-radius: 5px;
  transition: 0.3s;
}

.btn:hover {
  background: #004080;
}

/* Footer */
footer {
  background: #138808;
  color: #fff;
  text-align: center;
  padding: 15px 10px;
  margin-top: 20px;
  font-size: 0.9em;
}

/* Responsive Design */
@media (max-width: 768px) {
  header {
    flex-direction: column;
    align-items: flex-start;
  }

  nav ul {
    flex-direction: column;
    gap: 10px;
    width: 100%;
    margin-top: 10px;
  }

  nav a {
    display: block;
    width: 100%;
    padding: 10px;
    background: #004080;
    border-radius: 4px;
  }

  .hero {
    padding: 20px;
  }

  main {
    margin: 5px;
    padding: 15px;
  }
}

@media (max-width: 480px) {
  header .logo img {
    height: 30px;
  }

  header h2 {
    font-size: 1em;
  }

  .hero h1 {
    font-size: 1.2em;
  }

  .hero .tagline {
    font-size: 1em;
  }

  footer {
    font-size: 0.8em;
  }
}
