
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  width: 100%;
  background-color: #45494e; 
  color: white;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
}

.header-div {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  padding: 0 20px;
}

.header-left img {
  height: 60px;
}


.navbar {
  display: flex;
  gap: 20px;
  align-items: center;
}

.nav-item {
  position: relative;
}

.dropdown-btn {
  cursor: pointer;
  padding: 10px 15px;
  transition: all 0.3s;
}


.dropdown-btn:hover {
  background-color: #f39c12; 
  color: #000;               
  border-radius: 5px;
}


.dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  flex-direction: column;
  background-color: #333;
  min-width: 200px;
  border-radius: 5px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  z-index: 500;
}

.dropdown a {
  padding: 10px 15px;
  text-decoration: none;
  color: white;
  transition: all 0.3s;
}


.dropdown a:hover {
  background-color: #f39c12;
  color: #000;
}


.nav-item:hover .dropdown {
  display: flex;
}


.hamburger {
  display: none;
  font-size: 28px;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

@media (max-width: 992px) {
  .navbar {
    position: fixed;
    top: 80px;
    right: -100%;
    width: 250px;
    height: 100vh;
    background-color: #1c1c1c;
    flex-direction: column;
    gap: 0;
    transition: right 0.3s;
    padding-top: 20px;
  }

  .navbar.active {
    right: 0;
  }

  .nav-item {
    width: 100%;
  }

  .nav-item .dropdown {
    position: relative;
    top: 0;
    left: 0;
    display: none;
    background-color: #2c2c2c;
    box-shadow: none;
  }

  .nav-item.active .dropdown {
    display: flex;
  }

  .dropdown a {
    padding-left: 30px;
  }

  .hamburger {
    display: block;
  }
}