Real-time nanoscopic rider safety system for smart and green mobility based upon varied infrastructure parameters