.navbar {
        background: linear-gradient(135deg, #1e3c72 0%, #2a5298 100%);
        box-shadow: 0 2px 10px rgba(0,0,0,0.1);
        position: sticky;
        top: 0;
        z-index: 100;
    }

    .navbar-container {
        max-width: 1200px;
        margin: 0 auto;
        padding: 1rem 2rem;
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    .navbar-logo {
        color: white;
        font-size: 1.5rem;
        font-weight: bold;
        text-decoration: none;
        display: flex;
        align-items: center;
        gap: 0.5rem;
    }

    .navbar-menu {
        display: flex;
        align-items: center;
        gap: 1.5rem;
        list-style: none;
    }

    .navbar-link {
        color: white;
        text-decoration: none;
        padding: 0.5rem 1rem;
        border-radius: 6px;
        transition: background 0.3s;
    }

    .navbar-link:hover {
        background: rgba(255,255,255,0.2);
    }

    .navbar-btn {
        padding: 0.5rem 1.5rem;
        border-radius: 6px;
        font-weight: 600;
        text-decoration: none;
        transition: all 0.3s;
    }

    .btn-login {
        background: rgba(255,255,255,0.2);
        color: white;
    }

    .btn-login:hover {
        background: rgba(255,255,255,0.3);
    }

    .btn-signup {
        background: #10b981;
        color: white;
    }

    .btn-signup:hover {
        background: #059669;
    }

    .user-menu {
        position: relative;
        display: flex;
        align-items: center;
        gap: 1rem;
    }

    .user-avatar {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background: #10b981;
        display: flex;
        align-items: center;
        justify-content: center;
        color: white;
        font-weight: bold;
        cursor: pointer;
    }

    .dropdown {
        position: absolute;
        top: 100%;
        right: 0;
        margin-top: 0.5rem;
        background: white;
        border-radius: 8px;
        box-shadow: 0 4px 12px rgba(0,0,0,0.15);
        min-width: 200px;
        display: none;
    }

    .dropdown.show {
        display: block;
    }

    .dropdown-item {
        display: block;
        padding: 0.75rem 1rem;
        color: #374151;
        text-decoration: none;
        transition: background 0.3s;
    }

    .dropdown-item:hover {
        background: #f3f4f6;
    }

    .dropdown-item:first-child {
        border-radius: 8px 8px 0 0;
    }

    .dropdown-item:last-child {
        border-radius: 0 0 8px 8px;
        color: #dc2626;
        border-top: 1px solid #e5e7eb;
    }


footer {
            background: #1e3c72;
            color: white;
            padding: 2rem;
            text-align: center;
            margin-top: 4rem;
        }

/* Add these media queries at the end of your CSS */

@media (max-width: 768px) {
    .navbar-container {
        padding: 1rem;
    }

    .navbar-menu {
        gap: 0.5rem;
        flex-wrap: wrap;
    }

    .navbar-link {
        padding: 0.5rem 0.75rem;
        font-size: 0.9rem;
    }

    .navbar-btn {
        padding: 0.5rem 1rem;
        font-size: 0.9rem;
    }
}

@media (max-width: 480px) {
    .navbar-logo {
        font-size: 1.2rem;
    }

    .navbar-menu {
        gap: 0.25rem;
    }

    .navbar-link {
        padding: 0.4rem 0.5rem;
        font-size: 0.85rem;
    }

    .navbar-btn {
        padding: 0.4rem 0.75rem;
        font-size: 0.85rem;
    }
}