* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

header{
    width: 100%;
}

.navbar{
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #4b0082;
    padding: 15px 30px;
    color: #f9f9f6;
    position: relative;
}

.logo img{
    height: 60px;
}

.nav-links{
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-links a{
    text-decoration: none;
    color: #f9f9f6;
    font-weight: 600;
    transition: color 0.3s ease;
    padding: 10px;
}

.nav-links a:hover{
    background-color: #32cd32;
    border-radius: 10px;
}

/* apply-btn-styles */
.apply-btn{
    font-size: 1.2em;
    padding: 8px 18px;
    border: none;
    border-radius: 10px;
    background-color: #32cd32;
    color: #f9f9f6;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s ease;
}

.apply-btn:hover{
    background-color: #28a428;
}

/* Menu-icon-styles */
.menu-icon{
    display: none;
    font-size: 30px;
    cursor: pointer;
}

.mobile-menu{
    position: fixed;
    top: 0;
    left: -100%;
    width: 45%;
    height: 100%;
    background-color: #4b0082;
    color: #f9f9f6;
    transition: left 0.3s ease;
    padding: 20px;
    z-index: 1000;
}

.mobile-menu.active{
    left: 0;
}

.mobile-menu .menu-header{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.close-btn{
    font-size: 30px;
    background: none;
    border: none;
    color: #f9f9f6;
    cursor: pointer;
}

.mobile-menu ul{
    list-style: none;
    margin-top: 30px;
}

.mobile-menu ul li{
    margin-bottom: 20px;
}

.mobile-menu a{
    color: #f9f9f6;
    text-decoration: none;
    font-size: 20px;
}

/* overlay */
.overlay{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    z-index: 900;
}

.overlay.active{
    display: block;
}



@media (max-width: 900px) {
    .nav-links{
        display: none;
    }

    .menu-icon{
        display: block;
        order: 1;
    }

    .logo{
        order: 2;
        margin: 0 auto;
    }

    .apply-link{
        order: 3;
        font-size: 0.9em;
    }
}