How can I add search functionality to the right of the social icons?

Ideally, I would like a magnifying glass icon that, when clicked expands into a search box. Can someone assist with this?

Hey there,

I hope you are well today and thank you for your question.

Unfortunately, this isn’t a feature of the theme design.
This will require modification of these files, as it changes the design of the theme.

If you are not a developer then you can consider customizations offered by Envato,
https://colorlib.com/out/envatostudio

Alternately you can consider using a plugin to achieve similar results.
For example: Ivory Search – WordPress Search Plugin – WordPress plugin | WordPress.org

Hope this helps.

Best regards,
Support.