Straighten the image and fix perspective so the document appears flat, front-facing, and rectangular with proper alignment