/***************** Header *****************/

header {
 position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: 1rem 2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 1000;
  transition: background 0.3s ease;
  padding: 20px 50px;
  background-color: #181C2F;
}

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

.logo img {
  width: 40px;
}

.logo h1 {
  font-size: 24px;
  color: #fff;
}

.logo h1 {
  color: #f7931e;
}

nav ul {
  display: flex;
  list-style: none;
  gap: 30px;
}

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

nav a:hover {
  color: #f7931e;
}


/* Logo & Nav Styles */
.logo {
  display: flex;
  align-items: center;
  gap: 10px;
  font-weight: bold;
  color: #333;
}

.logo img {
  height: 40px;
}

.navbar ul {
  list-style: none;
  display: flex;
  gap: 1.5rem;
  margin: 0;
  padding: 0;
}

.navbar ul li a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  transition: color 0.3s;
}

.navbar ul li a:hover {
  color: #ff7b00;
}



/* Base styles for navbar */


/* Navigation menu (default: flex on desktop) */
.nav-menu {
  display: flex;
  list-style: none;
  margin: 0;
  padding: 0;
  gap: 1.5rem;
}

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

.nav-menu a:hover {
  color: #ff7b00;
}

/* Toggle Button (Hamburger) */
.nav-toggle-btn {
  display: none; /* Hidden on desktop */
  flex-direction: column;
  cursor: pointer;
  width: 30px;
  height: 22px;
  justify-content: space-between;
}

.nav-toggle-btn span {
  display: block;
  height: 3px;
  width: 100%;
  background: #333;
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Show menu on mobile when checkbox is checked */
#nav-toggle:checked ~ .nav-menu {
  display: flex;
  flex-direction: column;
  background: white;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  padding: 1rem 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  z-index: 999;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  .nav-toggle-btn {
    display: flex; /* Show hamburger only on mobile */
  }

  .nav-menu {
    display: none; /* Hide menu by default on mobile */
    flex-direction: column;
    gap: 1.5rem;
    padding: 0.5rem 2rem;
  }

  .nav-menu a {
    color: #333;
    padding: 0.5rem 0;
  }

  
}