/* HEADER */

header{
    height:70px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 5%;
    background:#020617;
}


.logo a {
    color: #fff;
    font-size: 20px;
    font-weight: bold;
    text-decoration: none;
}

/* NAV */

.nav{
    display:flex;
    align-items:center;
    gap:25px;
}

.nav a{
    color:#fff;
    text-decoration:none;
    font-size:14px;
}

.home-page header .logo {
    color: white !important;
    text-shadow: 0 0 10px rgba(255,255,255,0.3);
}

/* SHOW */
.profile:hover .dropdown{
    display:block;
}

/* LOGIN BUTTON */

.login-btn{
    padding:8px 16px;
    border:1px solid #3b82f6;
    border-radius:6px;
    color:#3b82f6;
}

.login-btn:hover{
    background:#3b82f6;
    color:#fff;
}

/* HEADER FIX */
header{
    height:70px;
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding:0 5%;
}

/* NAV FIX */
.nav{
    display:flex;
    align-items:center;   /* 🔥 IMPORTANT */
    gap:25px;
}
.profile{
    display:flex;
    align-items:center;
    justify-content:center;
    text-decoration:none;
}

.avatar{
    width:34px;
    height:34px;
    border-radius:50%;
    background: linear-gradient(135deg,#3b82f6,#6366f1);
    display:flex;
    align-items:center;
    justify-content:center;
    color:#fff;
    font-weight:600;
    font-size:14px;
    transition:0.3s;
}

/* HOVER EFFECT */
.profile:hover .avatar{
    transform:scale(1.1);
}


@media (max-width:768px){

    .menu-toggle{
        display:block;   /* 🔥 mobile ma j dekhay */
        font-size:24px;
        cursor:pointer;
        color:#fff;
    }

    .nav{
        position:fixed;
        top:70px;
        left:0;
        width:100%;
        background:#020928;
        flex-direction:column;
        align-items:center;
        gap:15px;
        padding:20px 0;
        display:none;
        z-index:9999;
    }

    .nav.active{
        display:flex;
    }
}

/* MENU ICON DEFAULT (PC ma hide) */
.menu-toggle{
    display: none;
}

/* NAV DEFAULT (PC ma show) */
.nav{
    display: flex;
}

/* MOBILE VIEW */
@media (max-width: 768px){

    .menu-toggle{
        display: block;
        font-size: 26px;
        color: #fff;
        cursor: pointer;
    }

    .nav{
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        right: 0;
        width: 100%;
        background: #020617;
        padding: 20px;
    }

    .nav.active{
        display: flex;
    }
}