An IoT and Big Data-driven solution that uses mathematical modeling for real-time congestion detection and control. This smart system enables efficient crowd flow management in public spaces, ensuring safety, reducing bottlenecks, and improving overall user experience through intelligent automation.