* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #f7faff;
  font-family: 'Poppins', sans-serif;
  color: #111;
}

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 20px;
  background: #ffffff;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
  position: fixed;
  top: 0;
  left: 0;
  width: 100% !important;
  z-index: 999;
  transition: transform 0.3s ease;
}

header.hidden {
  transform: translateY(-100%);
}

.logo {
  display: flex;
  align-items: center;
  gap: 10px;
}

.logo img {
  height: 50px;
}

nav {
  display: flex;
  gap: 30px;
}

nav a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s ease;
}

nav a:hover {
  color: #007bff;
}

.hamburger {
  display: none;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
}

/* Mobile view */
@media (max-width: 768px) {
  nav {
    position: absolute;
    top: 70px;
    right: 0;
    left: 0;
    background-color: #ffffff;
    flex-direction: column;
    align-items: flex-start;
    padding: 20px;
    gap: 15px;
    width: 100%;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    display: none;
  }

  nav.active {
    display: flex;
  }

  .hamburger {
    display: block;
  }
}

main {
  padding-top: 80px; /* Prevent content hiding behind header */
}
