How to make multiple animations on one item?

Good afternoon, I have a question how to make several animations on one object that do not depend on each other. I’ll tell you with an example, I have a card answering questions, which, when clicked, should open and text appears, but there are several of these cards, and when you click on one of them, the cards below should move down so that the card that is open can normally be located and not run into the rest of the cards, and all other cards with questions should be able to do the same. How can this be done?