How far will my ACT carry me

My stats are almost identical. 34 Act with 3.5 unweighted gpa (Upward trend with very hard classes and possible explanation for sophomore drop due to medical issues and missing 25 days of school) with some very good (Not USAMO top 20 or creator of a top 25 app good ) ECs. I have URM (hispanic) and first generation. The people that chanced me said i have a shot at the ivies and while i think that’s probably not true, you should look at top 30-40 schools as matches for sure.