The Role of Technology in 21st-Century Education: A Comprehensive Analysis