Target/recipient usage ("towards, regarding"):
Contrast usage ("in contrast to, while"):
The expression に対して is used in two main ways: to indicate the target or recipient of an action, feeling, or attitude (meaning "towards," "against," or "regarding"), and to contrast two things (meaning "in contrast to" or "while").
When に対して follows a noun, it marks that noun as the object or target of an action, emotion, or attitude. It is more formal than simple に and emphasizes the directional relationship.
に対して can also be used to set up a contrast between two items or situations, similar to "while" or "in contrast to" in English.
When contrasting, the first clause often ends in のにたいして対して (with the nominalizer の) when it follows a verb or adjective.
When に対して is used before a noun to modify it, it becomes にたいする対する.
In formal or written contexts, にたいし対し is used as a shorter alternative to に対して.