You still have a strong chance at a PhD. Admissions focus on recent performance, research, and recommendations. Highlight your research, get strong recommendation letters, and briefly explain your GPA improvement. Apply broadly—many programs value research over grades. Keep going!