.menu-toggle {
    display: none; /* hidden by default */
    font-size: 2rem;
    background: transparent;
    border: 0px;
    cursor: pointer;
    color: #121212;
    }

    .menu-toggle:hover {
      color: #9e9e9e;
    }

/* Navigation Bar */

    .navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 12px 28px;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    flex-direction: row;
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
  }

/* Navigation Links Styling */
  .nav-links {
    list-style: none;
    display: flex;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
    margin-right: min(70px, 10%);
  }

  .nav-links li {
    margin-left: 20px;
  }

 .nav-links a {
  display: inline-flex;
  align-items: center;
  position: relative;
  color: #121212;
  text-decoration: none;
  font-size: 18px;
  padding: 8px 14px;
  line-height: 1;
  font-weight: 500;
  transition: color 0.25s ease;
}

.nav-links a.active {
  color: #121212;
}

.nav-links a.active::after {
  width: 100%;
  background-color: currentColor;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 2px;
  width: 0%;
  height: 2px;
  background-color: #121212;
  transition: all 0.25s ease;
  transform: translateX(-50%);
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-links a:hover {
  color: #121212;
}


  .nav-links li:last-child a {
  background: linear-gradient(135deg, #22c55e, #16a34a);
  color: white;
  border-radius: 999px;
  padding: 10px 22px;
  font-weight: 600;
}


.nav-links li:last-child a::after {
  display: none; /* no underline */
}

  .nav-links li:last-child a:hover {
  background: linear-gradient(135deg, #16a34a, #15803d);
  box-shadow: 0 6px 16px rgba(34, 197, 94, 0.35);
}

  .nav-links li:last-child a:active {
  transform: translateY(0);
  box-shadow: 0 3px 10px rgba(34, 197, 94, 0.25);
  color: white;
}

.nav-links li:last-child a.active::after {
  display: none;
}


  /* Responsive Design */
  @media (max-width: 768px) {
    .navbar {
      display: grid;
      grid-template-columns: 1fr auto; /* 1st column for logo, 2nd column for hamburger */
      justify-items: start;
      padding: 20px 5px; /* Add padding on the right side */
      position: fixed;
      width: 100%;
      top: 0;
      z-index: 1000;
    }
    .nav-links {
       display: none;
        flex-direction: column;
        width: 100%;
        text-align: center;
        left: 0px;
        top: 104px;
        position: sticky;
        padding: 20px 0px;
        z-index: 9999; 
    }

    .nav-links li {
      margin: 10px 0;
    }
    .menu-toggle {
      display: block; /* show */
      padding-right: 20px
    }
    .nav-links.active {
      display: flex; /* when active, show links */
    }
  }