Text this: Enhancing functionalities in nanocomposites for effective dye removal from wastewater: isothermal, kinetic and thermodynamic aspects