.header {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  background-color: hsl(0, 0%, 100%);
  padding-block: 12px;
  padding-bottom: 0px !important;
  box-shadow: 0 6px 15px 0 hsla(0, 0%, 0%, 0.05);
  z-index: 4;
}

.header nav ul li a {
  position: relative;
  text-decoration: none;
}

.header nav ul li a:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px; 
  bottom: 18px; 
  left: 0;
  background-color: hsl(204, 94%, 35%); 
  transform: scaleX(0); 
  transition: transform 0.3s ease-in-out;
}

.header nav ul li a:hover:after {
  transform: scaleX(1);
}

.header.active {
  position: fixed;
}

.header .container,
.header-actions,
.navbar .wrapper {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /* gap: 15px; */
  margin-bottom: 8px;
}

.header-action-btn,
.nav-close-btn {
  position: relative;
  color: hsl(0, 0%, 9%);
  font-size: 24px;
  transition: 0.25s ease;
}

.header-action-btn .btn-badge {
  position: absolute;
  top: -10px;
  right: -10px;
  background-color: hsl(28, 92%, 54%);
  color: hsl(0, 0%, 100%);
  font-family: Arial, sans-serif;
  font-size: 1.4rem;
  min-width: 20px;
  height: 20px;
  border-radius: 50%;
}

.navbar {
  position: fixed;
  top: 0;
  left: -320px;
  background-color: hsl(0, 0%, 100%);
  width: 100%;
  max-width: 320px;
  height: 100%;
  z-index: 2;
  transition: 0.25s cubic-bezier(0.51, 0.03, 0.64, 0.28);
}

.navbar.active {
  transform: translateX(320px);
  transition: 0.5s cubic-bezier(0.33, 0.85, 0.4, 0.96);
}

.navbar .wrapper {
  padding: 15px 20px;
  border-block-end: 1px solid hsl(0, 0%, 90%);
}

.nav-close-btn {
  background-color: hsl(0, 0%, 100%);
  box-shadow: 0 10px 30px hsla(0, 0%, 0%, 0.06);
  padding: 8px;
  border-radius: 50%;
}

.nav-close-btn:is(:hover, :focus) {
  background-color: hsl(28, 92%, 54%);
  color: hsl(0, 0%, 100%);
}

.navbar-list {
  padding: 15px 20px;
}

.navbar-item:not(:last-child) {
  border-block-end: 1px solid hsl(0, 0%, 90%);
}

.navbar-link {
  padding-block: 8px;
  font-weight: 500;
  transition: 0.25s ease;
}

.navbar-link:is(:hover, :focus) {
  color: hsl(18.7, 73.2%, 51.8%);
}

.overlay {
  position: fixed;
  inset: 0;
  background-color: hsla(0, 0%, 0%, 0.8);
  pointer-events: none;
  opacity: 0;
  z-index: 1;
  transition: 0.25s ease;
}

.overlay.active {
  opacity: 1;
  pointer-events: all;
}

.dropdown {
  position: relative;
}

.dropbtn {
  background-color: transparent;
  border: none;
  padding: 10px;
  font-size: 16px;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
}

.dropbtn .fa-caret-down {
  font-size: 12px;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: hsl(0, 0%, 100%);
  min-width: 160px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  z-index: 1;
  flex-direction: column;
  top: 100%;
  left: 0;
}

.dropdown-content .navbar-link {
  padding: 12px 16px;
  text-decoration: none;
  color: hsl(204, 94%, 35%);
  position: relative;
}

.dropdown-content .navbar-link:after {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  bottom: 0; 
  left: 0; 
  background-color: hsl(204, 94%, 35%); 
  transform: scaleX(0); 
  transition: transform 0.3s ease-in-out; 
}

.dropdown-content .navbar-link:is(:hover, :focus) {
  color: hsl(28, 92%, 54%);
}
.dropdown-content .navbar-link:hover {
  background-color: hsl(0, 0%, 90%);
}

.dropdown:hover .dropdown-content {
  display: flex;
}


#emp_btn{
border: 1px solid black;
padding: 0px 5px;
font-size: 12px;
}

@media (max-width: 768px) {
  .header .container {
    padding-inline: 30px;
  }

  .header .btn {
    display: flex;
    padding: 10px 30px;
    margin-inline: 20px;
  }

  .navbar.active .navbar-link:after {
    bottom: -3px;
  }
}

@media (min-width: 1200px) {
  .header-action-btn:last-child,
  .navbar .wrapper,
  .overlay {
    display: none;
  }

  .header.active {
    transform: translateY(-100%);
    animation: slideIn 0.5s ease forwards;
  }

  @keyframes slideIn {
    0% {
      transform: translateY(-100%);
    }
    100% {
      transform: translateY(0);
    }
  }

  .navbar,
  .navbar.active {
    all: unset;
  }

  .navbar-list {
    display: flex;
    gap: 30px;
    padding: 0;
  }

  @media (min-width: 1024px) and (max-width: 1440px) {
    .navbar-list{
      gap: 24px;
      font-size: 14px !important;
    }
  }

  .navbar-item:not(:last-child) {
    border-block-end: none;
  }

  .navbar-link {
    color: hsl(204, 94%, 35%);
    padding-block: 20px;
  }

  .header .btn {
    margin-inline-end: 0;
  }

  .h1 {
    font-size: 8rem;
  }
}

@media (min-width: 575px) {
  .header .container {
    max-width: unset;
  }

  .header-actions {
    gap: 30px;
  }

  .h1 {
    font-size: 4.5rem;
  }

  .navbar.active .navbar-link:after {
    bottom: -3px;
  }
}

@media only screen and (max-width: 576px) {
  .header .btn {
    display: none;
  }
  .header .container {
    padding: 10px;
  }
}


/* Under construction */

.scrolling-container {
  width: 100%;
  overflow: hidden;
  position: relative;
  color: rgb(250, 4, 4);
  padding: 5px 0;
  white-space: nowrap;
  height: 30px;
}

.scrolling-text {
  display: inline-block;
  white-space: nowrap;
  font-size: 15px;
  font-weight: lighter;
  left: 90%;
  position: absolute;
  animation: scrollText 20s linear infinite;
  letter-spacing: .7px;
}

@keyframes scrollText {
  from {
    transform: translateX(0%);
  }
  to {
    transform: translateX(-1000%);
  }
}

