  .navbar {
    position: fixed;
    top: 18px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(14px);
    padding: 14px 24px;
    border-radius: 20px;
    max-width: 1180px;
    margin: 0 auto;
    z-index: 10001;
    width: calc(100% - 40px);
    transition: opacity 0.4s ease, top 0.4s ease; /* added top transition */
  }

  /* Fade-out class */
  .navbar.fade-out {
    opacity: 0;
    pointer-events: none;
  }

  /* Stuck-to-top class */
  .navbar.stuck {
    top: 0;
  }

  /* --- rest of your CSS unchanged --- */
  .logo {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
    gap: 10px;
  }

  .logo img {
    height: 28px;
    width: auto;
    transition: transform 0.3s ease;
  }

  .logo img:hover {
    transform: rotate(-4deg) scale(1.05);
  }

  .logo a {
    display: flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: inherit;
  }

  .nav-right {
    display: flex;
    align-items: center;
    gap: 28px;
    margin-left: auto;
  }

  .navbar ul {
    list-style: none;
    display: flex;
    gap: 28px;
    margin: 0;
    padding: 0;
    transition: all 0.4s ease;
  }

  .navbar ul li {
    position: relative;
  }

  .navbar ul li a {
    text-decoration: none;
    color: #f3e8ff;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    transition: color 0.3s ease;
  }

  .navbar ul li a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -5px;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #d98638, #602C6D);
    transition: width 0.35s ease;
  }

  .navbar ul li a:hover::after {
    width: 100%;
  }

  .navbar ul li .dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: rgba(2, 2, 2, 0.38);
    backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 10px 0;
    list-style: none;
    opacity: 0;
    transform: translateY(5px);
    pointer-events: none;
    transition: all 0.3s ease;
    min-width: 180px;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
  }

  .navbar ul li .dropdown-menu li a {
    color: #fff;
    font-size: 14px;
    text-decoration: none;
    display: block;
    padding: 10px 18px;
    transition: background 0.3s ease;
  }

  .navbar ul li .dropdown-menu li a:hover {
    background: rgba(255, 255, 255, 0.12);
  }

  .navbar ul li.dropdown:hover .dropdown-menu {
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
  }

  .navbar .btn {
    position: relative; /* REQUIRED for ::before */
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 600;
    color: #fff;
    text-decoration: none;
    background: rgba(234, 126, 26);
    border: none;
    box-shadow: 0 4px 16px rgba(0,0,0,0.35);
    transition: all 0.35s ease;
    overflow: hidden; /* IMPORTANT for shine */
  }
  
  .navbar .btn::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 200%;
    height: 100%;
    background: linear-gradient(
        120deg,
        rgba(234, 126, 26),
        rgba(96, 44, 109),
        rgb(234, 126, 26)
    );
    transition: all 0.6s ease;
    z-index: 0;
  }

  .navbar .btn span {
    position: relative;
    z-index: 1;
  }
  .navbar .btn:hover::before {
    left: 0;
  }

  .navbar .btn:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 10px 28px rgba(0,0,0,0.45);
  }

  .hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    width: 25px;
    height: 20px;
    justify-content: center;
    align-items: center;
  }

  .hamburger span {
    width: 22px;
    height: 2px;
    background: #fff;
    border-radius: 2px;
    transition: 0.4s ease;
  }

  .hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
  }
  .hamburger.active span:nth-child(2) {
    opacity: 0;
  }
  .hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
  }

  @media (max-width: 992px) {
    .navbar {
      padding: 12px 18px;
      width: calc(100% - 30px);
    }
    .navbar ul {
      gap: 20px;
    }
    .navbar .btn {
      padding: 7px 18px;
      font-size: 13px;
    }
  }

  @media (max-width: 668px) {
    .navbar .btn { display: none; }
    .hamburger { display: flex; }

    .navbar ul li .dropdown-menu {
      position: static;
      background: transparent;
      backdrop-filter: none;
      border-radius: 0;
      padding: 0;
      opacity: 1;
      transform: none;
      pointer-events: auto;
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.4s ease, opacity 0.4s ease;
      margin-left: 15px;
    }

    .navbar ul li.dropdown.active .dropdown-menu {
      max-height: 500px;
      opacity: 1;
    }

    .navbar ul li .dropdown-menu li a {
      padding: 6px 0;
    }
  
    .navbar ul {
      flex-direction: column;
      gap: 18px;
      background: linear-gradient(180deg, #602C6D, #D98638);
      position: absolute;
      top: 60px;
      right: 15px;
      padding: 20px;
      border-radius: 14px;
      opacity: 0;
      transform: translateY(-10px);
      pointer-events: none;
      transition: all 0.4s ease;
    }

    .navbar ul.show {
      opacity: 1;
      transform: translateY(0);
      pointer-events: auto;
    }
  }