/* General Styles */
body,
h1,
h2,
p,
a,
ul,
li {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: "Montserrat", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #f5f5f5;
}

/* Navbar */
nav {
  background-color: #014bae;
  color: #fff;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  position: relative;
}

nav .logo img {
  width: 6rem;
  height: auto;
}

nav .menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  color: #fff;
  cursor: pointer;
  margin-left: auto;
  align-self: center;
}

nav ul {
  list-style: none;
  display: flex;
  gap: 2rem;
}

nav ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s, transform 0.3s;
}

nav ul li a:hover {
  color: #a0c4ff;
  transform: scale(1.1);
}

/* Media Queries */
@media (max-width: 768px) {
  nav {
    flex-direction: column;
    align-items: flex-start;
  }

  nav .menu-toggle {
    display: block;
    position: relative;
    bottom: 1rem;
  }

  nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    width: 100%;
    background: #014bae;
    padding: 1rem;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  nav ul.active {
    display: flex;
    flex-direction: column;
    z-index: 999;
    margin-top: 20px;
  }

  nav ul li {
    margin-bottom: 0.5rem;
  }
  nav .logo img {
    position: relative;
    top: 1.5rem;
  }

  nav ul li a {
    padding: 1rem;
    display: block;
    width: 100%;
    text-align: left;
  }
}

@media (min-width: 768px) {
  nav {
    justify-content: space-between;
    flex-direction: row;
  }

  nav ul {
    flex-direction: row;
  }

  nav ul li {
    margin-bottom: 0;
  }

  nav ul li a {
    padding: 0.75rem 1.5rem;
  }
}

@media (min-width: 1200px) {
  nav {
    padding: 1.5rem 2rem;
  }

  nav ul {
    gap: 2rem;
  }

  nav ul li a {
    font-size: 1.1rem;
  }
}
