Twenty five years ago in my DIY yoof, I laid a base for my garage which slopes inward a tiny bit- yeah, I know. Back then, there was an issue with water pooling outside, then running under the door- I fixed that with some drainage.
Now, the only time it 'floods' is when the rain is wind driven...