* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body {
  font-family: 'Poppins', sans-serif;
}

.navbar {
  background: #fff;
  padding: 16px 0;
  position: fixed;
  overflow: visible;
  top: 0;
  width: 100%;
  z-index: 9999;
  transition: background 0.3s ease;
  height: auto;
}



.navbar-container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo img {
  width: 170px;
  height: auto;
}

.menu-toggle {
  font-size: 24px;
  color: #ffffff;
  display: block;
  cursor: pointer;
  z-index: 10001;
  padding: 5px 10px;
  background: #fd5702;
  border-radius: 10px;
}

.menu-toggle.hidden {
  display: none;
}

.nav-menu {
  position: fixed;
  top: 0;
  right: -300px;
  width: 220px;
  height: 100%;
  background: #fff;
  box-shadow: -2px 0 8px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  padding-top: 80px;
  gap: 10px;
  transition: right 0.3s ease;
  z-index: 10000;
}

.nav-menu.active {
  right: 0;
}


.nav-menu a {
  width: 100%;
  padding: 15px 20px;
  color: #000;
  text-decoration: none;
  font-size: 1rem;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.3s;
}

.nav-menu a:hover {
  background: #fd5702;
  color: #000;
}

/* Tombol close */
.nav-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 170px;
    background: #fd5702;
    color: #fff;
    font-size: 24px;
    padding: 5px 10px;
    cursor: pointer;
    border-radius: 10px;
}

.nav-menu a:hover::before {
  width: 100%;
}

.nav-menu a.active {
  font-size: 1.15rem;
  font-weight: bold;
  border-bottom: 3px solid #fd5702;
  color: #000000;
}

.nav-menu a i {
  margin-left: 8px;
  color: #000;
  transition: color 0.3s;
}

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

/* Link aktif */
.nav-menu a.active {
  font-size: 1.15rem;
  font-weight: bold;
  border-bottom: 3px solid #fd5702;
  color: #000;
}


/* Laptop 1024px */
@media screen and (max-width: 1024px) {
  .navbar-container {
    width: 90%;
  }
}


@media screen and (max-width: 768px) {
  .navbar-container {
    width: 90%;
  }
}

/* Mobile 425px */
@media  screen and (max-width: 425px) {
  .nav-menu{
    width: 180px;
  }
  .menu-toggle {
    font-size: 20px;
    padding: 2px 10px;
}
  .nav-menu .close-btn {
    position: absolute;
    top: 20px;
    right: 130px;
    font-size: 20px;
    padding: 2px 10px;
}
.nav-menu a.active {
    font-size: 1rem;
  }
  .nav-menu a {
    font-size: 0.9rem;
  }
}
