Empathy is the ability to emotionally understand what other people feel, see things from their point of view, and imagine yourself in their place. Essentially, it is putting yourself in someone else's position and feeling what they must be feeling.
"Complex" is used here to describe the group of apartments. So, it qualifies for describing a noun, like the definition of adjective. Let me know if you got it right.