Here's why:
* It modifies the noun "classrooms": It tells us what kind of classrooms they are (separate).
* Adjectives describe or qualify nouns: This is the primary function of adjectives.
Let me know if you have any other words you'd like to analyze!