/* Universal reset to eliminate default margins and padding */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: sans-serif;
}

/* Navbar container styling */
.navbar {
  display: flex;
  height: 80px;
  width: 100%;
  background: #1b1b1b;
  align-items: center;
  justify-content: space-between;
  padding: 0 50px;
  position: fixed; /* Keeps the menu fixed at the top */
  top: 0;
  left: 0;
  z-index: 999;
}

/* Logo styling */
.navbar .logo a {
  color: #fff;
  font-size: 27px;
  font-weight: 600;
  text-decoration: none;
}

/* Menu list styling */
.navbar ul {
  display: flex;
  list-style: none;
}

.navbar ul li {
  margin: 0 5px;
}

/* Individual navigation link styling */
.navbar ul li a {
  color: #f2f2f2;
  text-decoration: none;
  font-size: 18px;
  font-weight: 500;
  padding: 8px 15px;
  border-radius: 5px;
  transition: all 0.3s ease;
}

/* Hover and Active link treatments */
.navbar ul li a:hover,
.navbar ul li a.active {
  color: #1b1b1b;
  background: #fff;
}

/* Hide the responsive checkbox and hamburger menu button on desktop */
.navbar input {
  display: none;
}
.navbar .menu-btn {
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  display: none;
}

/* 📱 Mobile Responsive Styles (Screens under 920px width) */
@media (max-width: 920px) {
  .navbar {
    padding: 0 30px;
  }
  
  /* Reveal the hamburger trigger button */
  .navbar .menu-btn {
    display: block;
  }
  
  /* Create a custom CSS-only hamburger icon using absolute spacing */
  .navbar .menu-btn .hamburger {
    background: #fff;
    display: block;
    height: 3px;
    width: 25px;
    position: relative;
  }
  .navbar .menu-btn .hamburger::before,
  .navbar .menu-btn .hamburger::after {
    background: #fff;
    content: '';
    display: block;
    height: 100%;
    width: 100%;
    position: absolute;
  }
  .navbar .menu-btn .hamburger::before { top: -8px; }
  .navbar .menu-btn .hamburger::after { bottom: -8px; }

  /* Reformat horizontal links into a full-screen vertical layout overlay */
  .navbar ul {
    position: fixed;
    top: 80px;
    left: -100%;
    background: #111;
    height: 100vh;
    width: 100%;
    text-align: center;
    display: block;
    transition: all 0.3s ease;
  }
  
  /* Slide the vertical menu into view when the hamburger trigger is checked */
  .navbar input:checked ~ ul {
    left: 0;
  }
  
  .navbar ul li {
    width: 100%;
    margin: 40px 0;
  }
  
  .navbar ul li a {
    width: 100%;
    display: block;
    font-size: 23px;
  }
  
  /* Avoid full block fill hover treatments on mobile layouts */
  .navbar ul li a:hover,
  .navbar ul li a.active {
    color: #04AA6D;
    background: none;
  }
}




