.custom-navbar {
  height: 120px; /* Adjust as needed */
  z-index: 1000;
  /* position: sticky; */
  position: fixed;
  top: 0;
  left: 0;
  width: 100%; /* Ensures full-width navbar */
  /* background-color: #39b54a; */
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); /* Adds a shadow when scrolling */
  transition: height 0.3s ease-in-out, background-color 0.3s ease-in-out;
  --ct-bg-opacity: 1;
  padding-top: 20px;
}

.custom-navbar.scrolled {
  height: 110px;
  /* background-color: rgba(0, 0, 0, 0.9) !important; */
  background-color: #39b54a !important;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.logo-img {
  height: 100px;
}

.navbar-nav .nav-item {
  margin: 0 15px;
}

.nav-link {
  font-family: 'Metropolis', sans-serif;
  font-weight: 600;
  font-size: 16px;
  letter-spacing: 1px;
}

.navbar-nav .nav-item a:hover {
  color: #ffffff;
  text-decoration: underline;
}

.icon-section {
  display: flex;
  gap: 10px;
}

.icon {
  width: 24px;
  height: 24px;
  border: 2px solid white;
  border-radius: 50%;
}


@media (max-width: 1280px) {
  .custom-navbar {
    height: 120px;
  }

  .logo-img {
    height: 60px;
  }

  .nav-link {
    font-size: 14px;
  }

  .navbar-nav .nav-item a{
    font-size: 14px;
  }

  .navbar-nav .nav-item {
    margin: 0 5px;
  }
  .fe-shopping-cart {
    font-size: 18px !important; /* Match other nav items */
  }
  .noti-icon-badge {
    font-size: 12px !important; /* Ensure badge remains visible */
    padding: 3px 6px; /* Adjust padding for better fit */
  }

  .nav-user {
    font-size: 14px !important; /* Make sure user email stays readable */
  }

  .dropdown-toggle span {
    display: inline-block;
  }
  /* .icon {
    width: 15px;
    height: 15px;
  } */
}
/* 🔹 Medium Screens (Tablets & Small Laptops) */
@media (max-width: 1024px) {
  .custom-navbar.scrolled {
    height: 90px; /* Reduce height for tablets */
  }
}

/* 🔹 Small Screens (Phones) */
@media (max-width: 768px) {
  .navbar-nav {
    flex-direction: column; /* Stack items vertically */
    /* align-items: center; */
  }
  .nav-item {
    width: 100%; /* Make each item take full width */
    text-align: center; /* Center-align text */
  }

  .nav-link {
    font-size: 14px; /* Ensure readability */
    padding: 8px 0; /* Increase clickable area */
  }
  .dropdown-menu {
    position: static !important; /* Ensure dropdown stays within navbar */
    width: 100%; /* Take full width */
    text-align: center; /* Center dropdown items */
  }

  .dropdown-item {
    font-size: 14px; /* Improve readability */
  }
}
/* 🔹 Extra Large Screens (Desktops & Larger Monitors) */
@media (min-width: 1440px) {
  .custom-navbar.scrolled {
    height: 130px; /* Increase height for larger screens */
  }
}
