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

.navbar {
  position: fixed;   /* fixes navbar at the top */
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;  /* your navbar height */
  background: linear-gradient(180deg, #5a5e65, #3c4047);
  z-index: 9999;   /* make sure it's above other elements */
}

.nav-container {
  width: 100%;
  height: 80px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 55.3rem; /* This is very large, reduce if needed */
  box-sizing: border-box;
  position: relative;
  z-index: 9999;
}
/* LOGO */

.logo img {
    width: 180px;
    padding-left: auto;
}

/* MENU */
.nav-menu {
    list-style: none;
    display: flex;
    gap: 25px;
    color: #f59e0b;
}

.nav-menu a{
     color: #fff;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
}
.nav-link {
      color: white;
    text-decoration: none;
    font-size: 16px;
    cursor: pointer; /* Added */
}

.nav-link:hover {
    color: #f59e0b;
}
/* PROFILE */
.profile-menu {
      position: relative;
}

.profile-dropdown {
    position: absolute;
    top: 120%;
    right: 0;
    background: #fff;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: .3s;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

/* =========================
   PROFILE BUTTON
========================= */
.profile-icon-btn {
       background: none;
    border: none;
    font-size: 26px;
    color: #f2c684;
    cursor: pointer;
}

.profile-icon-btn:hover {
    color: #f59e0b;
}

/* =========================
   PROFILE DROPDOWN
========================= */
.profile-menu {
    position: relative;
}

.profile-dropdown {
    position: absolute;
    top: 130%;
    right: 0;
    min-width: 220px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    z-index: 1000;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.profile-info {
    padding: 15px;
    border-bottom: 1px solid #eee;
    font-weight: 600;
    color: #374151;
}

.profile-dropdown ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.profile-dropdown ul li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 15px;
    text-decoration: none;
    color: #1f2937;
    transition: 0.3s;
}

.profile-dropdown ul li a:hover {
    background: #f3f4f6;
    color: #f59e0b;
}

/* =========================
   MOBILE MENU
========================= */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 28px;
    color: #facc15; /* YELLOW COLOR */
    cursor: pointer;
    z-index: 10001;
}
@media (max-width: 768px) {

    .nav-container {
        gap: 0;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background: #1f2937;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 10px 30px rgba(0,0,0,0.2);

        transform: translateY(-120%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }

    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }

    .nav-menu li {
        padding: 10px 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .logo img {
    width: 120px;
    padding-left: auto;
}

}
