/* Reset & Base Styles */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background: #f4f4f4;
  color: #333;
  line-height: 1.6;
}

/* Header */
header {
  background: #004080;
  color: white;
  padding: 1rem 1.5rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
  flex-wrap: wrap;
}

.logo {
  font-size: 1.5rem;
  font-weight: bold;
}

/* Navigation */
.menu-toggle {
  display: none;
  font-size: 1.8rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

nav {
  flex: 1;
}

.menu {
  list-style: none;
  display: flex;
  gap: 1rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.menu li a {
  color: white;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
  font-weight: 500;
  transition: background 0.3s;
}

.menu li a:hover,
.menu li a.active {
  background: #0059b3;
  border-radius: 4px;
}

/* Hero Section */
.hero {
  background: #0073e6;
  color: white;
  text-align: center;
  padding: 4rem 2rem;
}

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

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

.btn {
  background: #ff6600;
  color: white;
  padding: 0.75rem 1.5rem;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  display: inline-block;
}

/* Grid Layout */
.grid {
  display: flex;
  flex-wrap: wrap;
  gap: 2rem;
  justify-content: center;
  padding: 2rem;
}

.card {
  background: #e6f2ff;
  padding: 1.5rem;
  border-radius: 8px;
  width: 300px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

/* Content Sections */
main.content {
  padding: 2rem;
}

main h1 {
  margin-bottom: 1rem;
}

main h2 {
  margin-top: 2rem;
  margin-bottom: 0.5rem;
}

main ul {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
}

main p {
  margin-bottom: 1rem;
}

/* Contact Form */
.contact-form {
  margin-top: 2rem;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.75rem;
  margin-bottom: 1rem;
  border: 1px solid #ccc;
  border-radius: 4px;
}

.contact-form button {
  background: #004080;
  color: white;
  border: none;
  padding: 0.75rem 1.5rem;
  border-radius: 5px;
  cursor: pointer;
}

.contact-form button:hover {
  background: #003366;
}

/* Footer */
footer {
  background: #004080;
  color: white;
  text-align: center;
  padding: 1rem;
  margin-top: 2rem;
}

/* Responsive Styles */
@media (max-width: 768px) {
  /* Mobile Navigation */
  .menu-toggle {
    display: block;
  }

  .menu {
    flex-direction: column;
    background: #004080;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    display: none;
    z-index: 999;
  }

  .menu.show {
    display: flex;
  }

  .menu li {
    text-align: center;
    border-bottom: 1px solid #0059b3;
  }

  .menu li a {
    display: block;
    padding: 1rem;
  }

  /* Mobile Hero */
  .hero h1 {
    font-size: 2rem;
  }

  .hero p {
    font-size: 1rem;
  }

  /* Grid Layout Mobile */
  .grid {
    flex-direction: column;
    align-items: center;
  }

  .card {
    width: 90%;
  }
}

/* Desktop Styles */
@media (min-width: 769px) {
  /* Navigation */
  .menu {
    display: flex;
  }

  .menu li {
    padding: 0.5rem 1rem;
  }

  .grid {
    flex-direction: row;
    justify-content: flex-start;
  }

  .card {
    width: 300px;
  }

  /* Hero Section */
  .hero h1 {
    font-size: 2.5rem;
  }

  .hero p {
    font-size: 1.2rem;
  }
}
