Detect Selected Label without radio button

I'm trying to recreate this calculator : https://www.thewebflowagency.com/book-a-call
What I understand is, they have hidden the radio button and used text label to select the option. recreated this.

Then, I'm not able to see which field is selected.(like the focus state)

how do i approach this?
Was this page helpful?