Issue with tabs inside a carousel, any suggestions?

Hi trying to add tabbed content inside a glidejs carousel, but having issues because foundation tabs can only work if they have a unique ID to target the tab, but the way glidejs creates the carousel it uses clones which lead to duplicate ID’s. I don’t want to switch carousels as glide is giving the best results in terms of being able to create the type of carousel I need.

I was trying to see if I could make a global tab button that opens all of the tabbed content, it wouldn’t matter visually if it did that because only the active slide is fully visible with the other slides just showing a top image which isn’t part of the tabbed content, just struggling to do this, any ideas?