* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

.navbar {
  max-width: 1920px;
  width: 100%;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 5px 40px;
  background-color: #ffffff;
  color: #1e1e1e;
  font-family: 'Poppins', sans-serif;
  position: sticky;
  top: 0;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  z-index: 1000;
}

.logo img {
  width: 150px;
  height: auto;
}

.nav-menu {
  display: flex;
  gap: 40px;
  position: relative;
}

.nav-menu a {
  color: rgb(40, 40, 40);
  font-size: 15px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.3s ease;
  position: relative;
}

.nav-menu a::after {
  content: '';
  position: absolute;
  width: 0;
  height: 1px;
  bottom: -5px;
  left: 0;
  background-color: #000000;
  transition: width 0.3s ease;
}

.nav-menu a:hover::after {
  width: 100%;
}

.nav-menu a:hover {
  color: #555555;
}

/* Notification Dot */
.nav-item.notification {
  position: relative;
}

.nav-item.notification::before {
  content: '';
  position: absolute;
  width: 6px;
  height: 6px;
  background-color: #ff0000;
  border-radius: 50%;
  top: -5px;
  right: -2px;
}

/* Dropdown Styles */
.nav-item {
  position: relative;
}

.dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  min-width: 150px;
  z-index: 1000;
  overflow: hidden;
}

.dropdown a {
  display: block;
  padding: 10px;
  font-size: 15px;
  text-transform: none;
  color: #000000;
  font-weight: 400;
}

.dropdown a:hover {
  background-color: rgba(0, 0, 0, 0.05);
  color: #555555;
}

.nav-item:hover .dropdown {
  display: block;
}

.contact {
  cursor: pointer;
}

.contact i {
  font-size: 20px;
  color: #000000;
  transition: color 0.3s ease;
}

.contact:hover i {
  color: #555555;
}

.contact-dropdown {
  position: absolute;
  right: 25px;
  top: 50px;
  background-color: #ffffff;
  border: 1px solid rgba(0, 0, 0, 0.1);
  border-radius: 5px;
  box-shadow: 0 4px 15px rgba(0,0,0,0.1);
  padding: 15px;
  display: none;
  text-align: center;
  z-index: 1000;
}

.contact-dropdown::before {
  content: '';
  position: absolute;
  top: -10px;
  right: 20px;
  border-left: 10px solid transparent;
  border-right: 10px solid transparent;
  border-bottom: 10px solid #ffffff;
}

.contact:hover .contact-dropdown {
  display: block;
}

.contact-dropdown button {
  background: none;
  border: none;
  padding: 10px;
  cursor: pointer;
  width: 100%;
  text-align: center;
}

.contact-dropdown i {
  font-size: 25px;
  color: #000000;
  transition: color 0.3s ease;
}

.contact-dropdown button:hover i {
  color: #555555;
}

.email-title {
  display: none;
  font-size: 14px;
  color: #000000;
  margin-top: 10px;
  word-wrap: break-word;
}

.hamburger {
  display: none;
  font-size: 24px;
  color: #000000;
  cursor: pointer;
  z-index: 1001;
}

/* Mobile View */
@media (max-width: 768px) {
  .hamburger {
      display: block;
      position: absolute;
      left: 20px;
      top: 50%;
      transform: translateY(-50%);
  }
  .hamburger i {
      font-size: 30px;
      font-weight: 500;
      color: #1e1e1e;
  }

  .navbar {
      flex-wrap: wrap;
      justify-content: space-between;
      padding: 5px 20px;
      position: relative;
  }

  .nav-menu {
      position: fixed;
      left: -100%;
      top: 0;
      height: 100vh;
      width: 280px;
      background-color: #ffffff;
      flex-direction: column;
      padding: 80px 30px;
      transition: 0.3s ease;
      box-shadow: 2px 0 15px rgba(0,0,0,0.1);
      z-index: 99999999999999;
  }

  .nav-menu.active {
      left: 0;
  }

  .nav-menu a {
      display: block;
      padding: 5px 0;
      font-size: 15px;
  }

  .nav-menu a::after {
      display: none;
  }

  .nav-menu a:hover {
      color: #555555;
      transform: translateX(10px);
  }

  .nav-item.notification::before {
      top: 12px;
      right: 100px;
  }

  .dropdown {
      position: static;
      display: none;
      border: none;
      box-shadow: none;
      background-color: transparent;
      padding-left: 20px;
  }

  .nav-item.active .dropdown {
      display: block;
  }

  .dropdown a {
      font-size: 15px;
      padding: 15px 0;
  }

  .logo {
      order: 1;
      flex: 1;
      text-align: center;
      padding: 10px 0;
  }

  .hamburger {
      order: 0;
  }

  .contact {
      order: 2;
      position: absolute;
      right: 20px;
      top: 50%;
      transform: translateY(-50%);
  }

  .contact-dropdown {
      top: 40px;
      right: 0px;
  }
}