* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #FFFFFF;
    font-family: 'Poppins', sans-serif;
    color: #FFFFFF;
}

/* ===== HEADER ===== */
.navbar {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    min-height: 122px;
    z-index: 1000;
}

.navbar-overlay {
    position: absolute;
    inset: 0;
    height: 122px;
    background: linear-gradient(
        180.95deg,
        rgba(0, 0, 0, 0.35) 52.27%,
        rgba(0, 0, 0, 0.3) 64.09%,
        rgba(0, 0, 0, 0.2) 77.81%,
        rgba(115, 115, 115, 0.05) 99.09%
    );
    z-index: 1;
}

.navbar-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    min-height: 122px;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo-top {
    display: flex;
    align-items: center;
    text-decoration: none;
    flex-shrink: 0;
}

.logo-top img {
    width: 120px;
    height: auto;
    display: block;
}

.nav-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex: 1;
    flex-wrap: wrap;
}

.nav-links a {
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #FFFFFF;
    transition: 0.3s ease;
}

.nav-links a:hover,
.login-link:hover,
.footer-links a:hover,
.social-icons a:hover {
    opacity: 0.8;
}

.auth-section {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
}

.login-link {
    text-decoration: none;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #FFFFFF;
}

.signup-btn {
    text-decoration: none;
    min-width: 114px;
    height: 62px;
    padding: 0 24px;
    background: rgba(46, 177, 247, 0.5);
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 400;
    font-size: 18px;
    line-height: 27px;
    color: #FFFFFF;
    transition: 0.3s ease;
}

.signup-btn:hover {
    background: rgba(46, 177, 247, 0.7);
}

/* ===== HAMBURGER BUTTON ===== */
.nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 5px;
    width: 44px;
    height: 44px;
    background: rgba(46, 177, 247, 0.15);
    border: 1.5px solid rgba(46, 177, 247, 0.35);
    border-radius: 10px;
    cursor: pointer;
    flex-shrink: 0;
    transition: background 0.2s;
}
.nav-hamburger span {
    display: block;
    width: 22px;
    height: 2px;
    background: #ffffff;
    border-radius: 99px;
    transition: all 0.3s ease;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* ===== TABLET ===== */
@media (max-width: 1024px) {
    .navbar-container {
        padding: 16px 24px;
        min-height: unset;
    }
    .nav-links { gap: 20px; }
}

/* ===== MOBILE ===== */
@media (max-width: 768px) {
    .navbar {
        position: relative;
        min-height: auto;
    }
    .navbar-overlay { height: 100%; }

    .navbar-container {
        padding: 14px 16px;
        gap: 0;
        flex-wrap: nowrap;
        justify-content: space-between;
        align-items: center;
        min-height: unset;
    }

    .logo-top img { width: 90px; }

    /* Hide desktop nav links & auth by default */
    .nav-links,
    .auth-section {
        display: none;
        width: 100%;
    }

    /* When menu is open — stack below header row */
    .navbar-container.menu-open {
        flex-wrap: wrap;
    }
    .navbar-container.menu-open .nav-links,
    .navbar-container.menu-open .auth-section {
        display: flex;
    }

    .nav-links {
        flex-direction: column;
        gap: 4px;
        padding: 8px 0;
        border-top: 1px solid rgba(255,255,255,0.15);
        margin-top: 8px;
    }
    .nav-links a {
        font-size: 15px;
        padding: 10px 4px;
        width: 100%;
    }

    .auth-section {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 10px;
        padding-bottom: 12px;
    }

    .signup-btn {
        height: 44px;
        font-size: 15px;
        flex: 1;
        min-width: 120px;
        border-radius: 22px;
    }
    .login-link { font-size: 15px; padding: 10px 4px; }

    .nav-bell-btn { width: 40px; height: 40px; font-size: 15px; }

    /* Show hamburger */
    .nav-hamburger { display: flex; }

    /* Profile dropdown — full width on mobile */
    .profile-dropdown-menu {
        right: -8px;
        min-width: 160px;
    }
}

/* ===== NOTIFICATION BELL ===== */
.nav-bell-btn {
    position: relative;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(46, 177, 247, 0.15);
    border: 1.5px solid rgba(46, 177, 247, 0.35);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    text-decoration: none;
    transition: 0.3s ease;
    flex-shrink: 0;
}

.nav-bell-btn:hover {
    background: rgba(46, 177, 247, 0.35);
    border-color: rgba(46, 177, 247, 0.6);
}

.nav-bell-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    min-width: 18px;
    height: 18px;
    padding: 0 4px;
    background: #e53e3e;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
    border-radius: 99px;
    border: 2px solid rgba(0,0,0,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: 'Poppins', sans-serif;
}

.profile-btn {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: rgba(46, 177, 247, 0.5);
    color: #FFFFFF;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    text-decoration: none;
    transition: 0.3s ease;
}

.profile-btn:hover {
    background: rgba(46, 177, 247, 0.7);
}

.profile-dropdown {
    position: relative;
    display: inline-block;
}

.profile-btn {
    border: none;
    cursor: pointer;
    position: relative;
}

.profile-dropdown-menu {
    position: absolute;
    top: 60px;
    right: 0;
    min-width: 170px;
    background: #FFFFFF;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.18);
    padding: 8px 0;
    display: none;
    z-index: 9999;
    overflow: hidden;
}

.profile-dropdown-menu.show {
    display: block;
}

.profile-dropdown-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 15px;
    line-height: 22px;
    color: #162447;
    text-decoration: none;
    transition: 0.2s ease;
    background: #FFFFFF;
}

.profile-dropdown-menu a:hover {
    background: #F6F6F6;
}