恭喜 + Person + (Event)
恭喜 means 'congratulations' or 'to congratulate,' used to express happiness for someone's achievement or good news. It can stand alone as an exclamation or be followed by a person and the reason for congratulations.
恭喜你考上了理想的大学!
Gōngxǐ nǐ kǎo shàng le lǐxiǎng de dàxué!
Congratulations on getting into your dream university!
听说你升职了,恭喜恭喜!
Tīngshuō nǐ shēngzhí le, gōngxǐ gōngxǐ!
I heard you got promoted — congratulations!
朋友们纷纷恭喜她生了一个健康的宝宝。
Péngyǒumen fēnfēn gōngxǐ tā shēng le yī gè jiànkāng de bǎobao.
Friends all congratulated her on giving birth to a healthy baby.