.fixed-bar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #007bff, #0056b3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 10px;
    padding-bottom: 10px;
    box-shadow: 0px 4px 12px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    transition: background 0.4s ease;
}

.logo {
    font-size: 25px;
    margin-left: 25px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.1);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    margin-right: 20px;
    text-decoration: none;
    color: white;
    font-size: 17px;
    padding: 10px 18px;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav a::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 0;
    height: 2px;
    background-color: #FFA500;
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

.nav a:hover {
    background-color: rgba(255, 255, 255, 0.2);
    color: #FFA500;
    transform: scale(1.08);
}

@media (max-width: 950px) {
    .fixed-bar {
        flex-direction: column;
        padding: 15px;
    }

    .nav {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .nav a {
        margin: 5px 0;
    }
}
