Idiom
take your hat off totake (your) hat off to (someone)
to express your admiration and respect what someone has done.I think you have to take your hat off to him for all that he has accomplished.
Etymology: based on the custom of men removing their hats to show respect for someone