This might sound silly but honestly nobody told me these things growing up. just want to clear my doubt without feeling judged. can someone explain properly?
Beta you can't get pregnant from hugging anyone, please don't worry about this. Hugs, kisses on cheek, holding hands, none of that. Only direct intercourse can lead to pregnancy.
Pregnancy needs sperm and egg to meet, which only happens through intercourse, not skin contact or hugging. If you have any doubt about your situation it's always fine to ask a gynac, but a hug is completely safe.