Is it permissible for a Muslim woman to wear trousers at home?
Wearing trousers at home isn't prohibited so long as non-Mahrams do not see her. And Allah Knows Best.
What is the Islamic ruling regarding a person finding buried treasure, whether gold or artifacts, and what is their share of it?
If the buried treasure is Islamic, it is considered Luqta (lost property), and the finder must announce it to locate its owner. If all efforts to find the owner fail, the finder may take ownership of it. If the treasure is non-Islamic and consists of gold or silver, zakat must be paid on it, which is one-fifth of its value. And Allah Knows Best.
Is a woman`s prayer considered invalid if non-Mahrams (marriageable men) saw her offering it?
A woman`s prayer isn`t invalidated if non-Mahrams saw her offering it, but she had better pray in isolation.
Is it allowed to shave my beard to join the army taking into consideration that I can`t find a job?
All perfect praise be to Allah, the Lord of the worlds. I testify that there is none worthy of worship except Allah and that Muhammad, sallallahu ‘alayhi wa sallam, is His slave and Messenger.
The army should be joined in preparation for Jihad (Fighting in the cause of Allah), so if Jihad contradicts with growing a beard then it is allowed to shave it. And Allah The Almighty Knows Best.