Used CSS transition for footer animation