.main_header {
  font-family: "Montserrat", sans-serif;
  background-color: #000;
  position: relative;
  top: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0px 20px;
  z-index: 999; /* Ensure it stays above the content */
}

.logo a {
  display: flex;
  align-items: center;
  text-decoration: none;
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-weight: bold;
}

.LOGO {
  width: 40px;
  height: auto;
  margin-right: 10px;
  border-radius: 10px;
}

.link_download {
  text-decoration: none;
}

.main_bar {
  display: flex;
  gap: 20px;
  list-style: none;
  align-items: center;
  flex-wrap: nowrap;
}

.main_bar li {
  display: inline-block;
}

.download_select {
  font-family: "Montserrat", sans-serif;
  background-color: #35d779;
  padding: 10px;
  border-radius: 5px;
  color: #fff;
  font-size: 16px;
  font-weight: 700;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  display: inline-block;
}

.download_select:hover {
  color: #35d779;
  background-color: #515151;
}

.link_color {
  color: white;
  font-size: 18px;
  text-transform: uppercase;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
}

.link_color:hover {
  color: #35d779;
}

.link_color.active {
  text-decoration: underline #35d779;
  text-decoration-thickness: 2px;
  text-underline-offset: 5px;
}

.hamburger {
  display: none;
  font-size: 30px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
  z-index: 1001; /* Make sure it's clickable */
  position: relative;
}

.hamburger:hover {
  transform: scale(1.2);
  color: #35d779;
}

/* ✅ Mobile Navigation Fix */
@media screen and (max-width: 768px) {
  .hamburger {
    display: block;
    position: absolute;
    right: 20px;
    top: 15px;
  }

  .main_bar {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 60px;
    right: 0;
    background-color: #000;
    width: 100%;
    height: 100vh;
    text-align: center;
    padding: 10px 0;
    transition: all 0.3s ease-in-out;
    z-index: 1000; /* Ensure menu is above everything when open */
  }

  .main_bar.active {
    display: flex;
  }

  .main_bar li {
    padding: 15px 0;
  }
}

@keyframes draw {
  from {
    stroke-dashoffset: 1000;
  }
  to {
    stroke-dashoffset: 0;
  }
}
