Grads told ‘hard work can get you far’