A 5k boat will not be an offshore boat.. Thees are the kind of statements that youthful naivete espouse...
I believe you now how to sail..I did at your age, but the undertaking to cross oceans is not a light hearted endeavor..it is not rocket science.. but a maturity level in and of many things is required...Not necessarily requiring may years of life to accomplish but certainly more then a couple summer camps and an off shore trip...
Do some home work about proper boats first a foremost...20K is probably bottom rung ready to go...then 10K in the bank for living expenses and WOOPS money if somthing goes wrong..and it will!!...This will take the pressure off you enabiling you to enjoy your new life not romantisizing about it...or having to bail out due to lack of preperation...
You are asking for advice..This is very wise...stupidity is not heading it...Everyone here will or is trying to help you suceed...So take a deap breath...slow down a little and learn...
The Ocean ain't going anywhere either...