#progress-bar {
  position: fixed;
  top: 0; left: 0;
  width: 0%;
  height: 3px;
  background: rgb(255, 183, 3);
  z-index: 1000;
  transition: width 0.25s ease;
}

.topnav {
  position: fixed;
  width: 100%;
  z-index: 999;
  padding: 1rem 2rem;
  display: flex;
  justify-content: center;
  transition: background-color 0.4s ease;
}

.topnav.dark {
  background-color: #000000e0;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

.nav-container {
  display: flex;
  width: 100%;
  max-width: 1200px;
  align-items: center;
  justify-content: space-between;
}

.logo {
  display: flex;
  align-items: center;
  font-weight: 600;
  color: #fff;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 1.2rem;
}

.logo img {
  width: 20px;
  height: 20px;
  margin-right: 8px;

}

.nav-links a {
  margin-left: 1.5rem;
  text-decoration: none;
  color: #d5d5d5;
  font-weight: 500;
  transition: color 0.3s ease;
}
.dark .nav-links a {
  color: #ffffff;
}


.nav-links a:hover {
  color: #ffffff;
}
 .dark .nav-links  a:hover {
  color: #ffffff;
}

.menu-icon {
  display: none;
  color: #ececec;
  font-size: 1.4rem;
  cursor: pointer;
}
.dark .menu-icon {
  color: #ffffff;
}

/* Responsive */
@media (max-width: 768px) {
  .nav-links {
    display: none;
    flex-direction: column;
    flex-wrap: wrap;
    background-color: #111111d6;
    color: #ffffff;
    position: absolute;
    top: 100%;
    right: 0;
    width: 100%;
    height: 100vh;
    padding: 2rem;
  }
  .nav-links a {
    color: #ffffff;
    padding: 10px;
  }
  .nav-links.active {
    display: flex;
  }
  .menu-icon {
    display: block;
  }
}
