People keep saying this (the republic vs direct democracy part), and it literally doesn't make any sense, to the point that I have difficulty believing people aren't being deliberately obtuse.
Having people directly elect their representatives is still very much a republic and in no definition I've ever seen considered direct democracy. We're talking about people electing their representatives, not their laws.