Text this: Investigation of thermal, linear, and nonlinear optical properties of π-conjugated centrosymmetric hetero-phenyl derivatives for light-driven technologies.