Text this: Resilience influence, goals and social context in the academic achievement of high school students