An Integrated Framework for Enhanced Learning Environments: IoT-Driven Smart Classrooms with Multi-Layered Security Protocols and Adaptive Infrastructure | Synapse