Yeah, if you're missing by 3-4 inches at 25 yds that just might be the inherent limits of the pistol's performance (or the ammo). If you are missing by that much at ~10 feet, well..... that's a 'you' problem.
The way the group is sort of well centered vertically but off horizontally might be trigger pull, grip, stance, or all. (Or something else, even) Consistency is key here, so do everything you can to practice. You can dry-fire at home to get max reps, and reps are all important. My father-in-law corrected my trigger pull (which was consistent, just poor) by having my take a more positive grip on the pistol - I had just been using isometric tension between my dominant hand and the support hand, but my fingers were relatively loose, which meant there was room for my hand to squeeze and torque the pistol as my trigger finger came back - and shifting my trigger finger contact point ahead of the first crease in the finger, but short of the tip. (FWIW, my groups were consistently in the 7 - 8 o'clock region of the paper, about 6-10" from the 10 ring.)
I dunno, DelPen is the one for the pro tips here. My father-in-law was a longtime police instructor and captain of the pistol team, but he can't see your groups and stance, etc. Just passing on what he said about me.