Text this: Investigation of electronic, optoelectronic, and mechanical properties of lead-free cubic perovskite compound using density functional theory