Don't be too hard on yourself ! 3.8/4 is GOOD. I also had shitty grades in one of my undergrad (thanks to multiple members of my family passing away during my finals in one semester), but now that you are a grad, they are looking at much more. Do you have publications (including professional - The Conversation and University Affairs are a good place to start), conferences (now most are online and cheap, you could present research, theoretical framework, even a class research project !), do you do TAs or RAs, have you helped your community (community services), etc. I still remember how sad my CV looked when I started my PhD lol. It's a work in progress, one thing at a time. You got this. ?