I’ve got a spot in our driveway that always pools water.
In a perfect world, I’d probably replace the driveway, but it’s circular and quite long.
The section in question has a few cracks, so trying to use foam to raise it is probably not realistic either.
As you might be able to see, the yard drops off to the side as it goes to the backyard which is a level lower. I’d only have to put in some type of pipe or drain about 12’ long and it would be well below where it currently pools.