You can remember the meaning of 恭喜 with this easy mnemonic:
Congratulations, you are the model student of the year because you're respectful (恭), and the teachers preferred (喜) you over your classmates.
Using mnemonics to remember the meaning of Chinese characters like can have an enormous impact on how long to learn Mandarin it takes.