Text styling with word carousel

Hello all,

I’m creating a website on which I would like to create a word carousel. The words are ‘social’, ‘cultural’, ‘environmental’ and ‘economic’. I would like this carousel sit before the word ‘provide’ and after ‘value’. It means that the last bit of text would extend to fit longer words from carousel.

I’m struggling to place two different types of containers/text in the same line. Has anyone come across a similar query?

Thanks a lot for you help!


Here is my site Read-Only: Webflow - Jas Bhalla Works
(how to share your site Read-Only link)