Reduce header space and add card hover animation