I am an 18 year old boy and I was wondering, in terms or my future, how exactly I should get to know and be acquainted with someone in order to get married, without it being haraam. I think it might be difficult to stay within the islamic laws since even friendship is not allowed

If your intention to get to know someone for marriage and the conversation remains clean and focused on marriage issues, then it’s fine