*{
    margin:0;
    padding:0;
    box-sizing:border-box;
    font-family:'Segoe UI', sans-serif;
}

body{
    background: linear-gradient(90deg,#020617,#0b3c5d);
    color:#e2e8f0;
}

/* ================= Navbar ================= */
.navbar{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:18px 40px;
    position:fixed;
    top:0;
    left:0;
    width:100%;
    background:rgba(2,6,23,0.9);
    backdrop-filter:blur(10px);
    z-index:1000;
}

.logo{
    color:#38bdf8;
    font-size:22px;
    font-weight:600;
}

/* Desktop menu */
.nav-links{
    list-style:none;
    display:flex;
    gap:25px;
}

.nav-links a{
    text-decoration:none;
    color:#e2e8f0;
    transition:0.3s;
}

.nav-links a:hover{
    color:#38bdf8;
}

/* Mobile menu icon */
.menu-icon{
    display:none;
    font-size:26px;
    color:#38bdf8;
    cursor:pointer;
}

/* ================= Overlay ================= */
.nav-overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(2,6,23,0.6);
    backdrop-filter: blur(6px);
    opacity: 0;
    visibility: hidden;
    transition: 0.3s ease;
    z-index: 9997;
}

.nav-overlay.active{
    opacity: 1;
    visibility: visible;
}

/* ================= Right Drawer ================= */
.nav-drawer{
    position: fixed;
    top: 0;
    right: -80%;
    width: 80%;
    height: 100vh;

    background: linear-gradient(180deg,#020617 0%,#06263f 40%,#0b3c5d 100%);
    box-shadow: -10px 0 30px rgba(0,0,0,0.7);

    transition: right 0.35s ease;
    z-index: 9998;
    display: flex;
    flex-direction: column;
}

.nav-drawer.active{
    right: 0;
}

/* ================= Drawer Header ================= */
.drawer-header{
    display:flex;
    justify-content:space-between;
    align-items:center;
    padding:20px 24px;
}

.drawer-header h2{
    color:#38bdf8;
    font-size:22px;
}

.close-icon{
    font-size:26px;
    color:#38bdf8;
    cursor:pointer;
}

/* ================= Drawer Menu ================= */
.drawer-links{
    list-style:none;
    padding:0;
    margin-top:10px;
}

.drawer-links li{
    width:100%;
}

/* Full-width items */
.drawer-links a{
    display:block;
    width:100%;
    padding:18px 24px;
    font-size:18px;
    color:#e2e8f0;
    text-decoration:none;
    position:relative;
    transition:0.3s;
}

/* Glow underline */
.drawer-links a::after{
    content:"";
    position:absolute;
    left:0;
    bottom:6px;
    width:0%;
    height:2px;
    background:linear-gradient(90deg,#38bdf8,transparent);
    transition:0.35s;
}

/* Hover + active */
.drawer-links a:hover,
.drawer-links a.active{
    color:#38bdf8;
}

.drawer-links a:hover::after,
.drawer-links a.active::after{
    width:100%;
}

/* ================= Mobile ================= */
@media (max-width:768px){

    body{
        padding-top:60px;
    }

    .menu-icon{
        display:block;
    }

    /* Hide desktop links */
    .nav-links{
        display:none;
    }
}

/* Hide drawer & overlay on desktop */
@media (min-width:769px){
    .nav-drawer,
    .nav-overlay{
        display:none;
    }
}

