Wiktionary
take one's hat off to
vb. 1 To remove one's hat as a sign of respect to. 2 (context idiomatic English) To publicly praise or thank.