How to insert a contact form in the footer?

I tried https://shopify.dev/docs/themes/customer-engagement/add-contact-form But form showing bottom of the footer.

I need to replace the contact details in footer with contact form.

No inbuilt form with theme. I checked form apps and couldnt find the free one