We can set the text on top of the image, and its possible to make the text as responsive without using extra styles.
Update the text after the image section

After that set the text position as absolute and update the font-size in vw format. The vw is viewport width in size. This can be particularly useful for creating responsive web designs where text and other elements adjust in size based on the width of the user’s screen or viewport