AI-driven legal automation for faster case handling