Yes, Electrum is safe.
Electrum isn't safe if your computer isn't safe. With 5 Bitcoin, OP should get a decent hardware wallet (like Trezor, not Ledger) to keep his coins safe.
So I used my seed to open my wallet using bluewallet on mobile
You should STOP messing around on hot wallets on different devices! Each new wallet you enter the seed phrase on increases the chance of losing your Bitcoins. Figure out what to do first, figure out if it's a change address, learn how to use cold wallets on offline systems, and only then continue.
Chances are you didn't lose those 4 Bitcoins yet. Don't mess up now!