Sequential removal of oppositely charged multi pollutants from wastewater using sugarcane bagasse Authors: Magda A Akl, Azza A Fahim, Aya G Mostafa Published: 2026 ABSTRACT AbstractEfficient removal of organic pollutants from water remains a major challenge. In this work, a circular economy strategy is adopted to address critical challenges associated with excessive waste generation, resource limitations, and economic sustainability. Sugarcane bagasse (SCB), an abundant lignocellulosic agricultural waste, was utilized as a sustainable adsorbent for the sequential removal of oppositely charged dyes from aqueous solutions. Pristine SCB was first employed for the adsorption of the anionic dye Alizarin Red S (ARS), and the resulting spent adsorbent (SCB@ARS) was subsequently reused without regeneration for the removal of the cationic dyes Crystal Violet (CV) and Methyl Green (MG). The adsorbents were characterized using point of zero charge (pHPZC), Fourier-transform infrared spectroscopy (FTIR), Thermogravimetric analysis (TGA), Scanning electron microscopy (SEM), and Energy-dispersive X-ray spectroscopy (EDX). The effects of adsorption parameters, including shaking time, pH, dye concentration, and adsorbent dose, were studied. The maximum adsorption capacities of SCB for ARS and SCB@ARS for CV and MG were 99.38, 136.84, and 452.26 mg/g, respectively. Kinetic, isotherm, and thermodynamic studies indicated that the adsorption process was best described by the linear pseudo-2nd-order and nonlinear pseudo-1st-order kinetic models and the Langmuir isotherm model, and was thermodynamically feasible and spontaneous. The adsorption mechanism was further elucidated using pHPZC and FTIR analyses. Recovery studies in pharmaceutical and real water samples demonstrated removal efficiencies exceeding 90%. A one-way ANOVA statistical analysis was used to evaluate the effect of pH on adsorption. These findings highlight the potential of sequential adsorption using renewable agricultural waste as an effective and sustainable wastewater treatment strategy.Supplementary InformationThe online version contains supplementary material available at 10.1038/s41598-026-62305-9.Keywords: Sequential adsorption, Alizarin red S, Crystal violet, Methyl green, Sugarcane bagasseSubject terms: Chemistry, Environmental sciences, Materials science Introduction Water is a fundamental resource for all life forms. Water contamination is recognized as one of the most significant global challenges in recent decades. This issue is primarily attributed to the depletion of water resources, rapid industrialization, and substantial population growth. Contamination arises from increased concentrations of pollutants, including toxic heavy metal ions, inorganic anions, micropollutants, and organic compounds such as dyes, phenols, pesticides, and detergents1–3. Synthetic dyes are among the most hazardous organic sources of water contamination and may be classified as cationic, anionic, or non-ionic4. Due to their high stability against light, heat, and oxidizing agents, as well as their non-biodegradable nature, these dyes exhibit significant toxicity to aquatic systems5. Anthraquinone and azo dyes are the two main types of organic dyes. Textiles, leather, paints, paper, plastics, and cosmetics are just a few industries in which they can be used6. Alizarin red sulfonate dye (ARS) is a typical dihydroxyanthraquinone soluble in water7,8. It is used to identify calcium in tissue sections as a histochemical stain for bone tissue. ARS dye changes its color and λmax with pH9. Crystal violet dye (CV) is a dark green powder, slightly soluble in water, that belongs to the class of triphenylmethane dyes. In medical applications, CV is the active component of Gram’s stain, and it is commonly used as a bacteriostatic agent and an external skin disinfectant for humans and animals10. CV is also widely used in industry as a purple dye for cotton and silk textiles, as well as in paints and printing inks. The toxicity of this dye is attributed to its easy penetration into animal cells via interactions with negatively charged components of mammalian cell membranes11. Methyl Green (MG) is a crystalline powder ranging from dark red to brown and is a triarylmethane. The colorant is easily soluble in ethanol and highly soluble in water. The λmax of MG occurs at 630–634 nm. MG is distinguished from crystal violet by containing seven methyl groups rather than six. The seventh group can be easily lost, leading to the dye reverting to crystal violet. MG dye is utilized in staining solutions for medical and biological purposes12. Internationally, there are no established specific permissible limits for either ARS or MG in environmental or agricultural/food samples. However, these dyes are classified as toxic and have a high potential for ecotoxicity, and should not be discharged into water bodies. For CV, the European Union (EU) set a permissible residue limit for fish, shrimp, and aquaculture products of not more than 0.5 µg/L13,14. Exposure to water containing residual amounts of these dyes has been associated with various adverse health effects, including skin and eye irritation, digestive system disorders, respiratory complications, and an increased risk of cancer14–18. These dyes must be removed from contaminated water immediately in order to address the serious problem mentioned above. A wide range of physical and chemical treatment technologies has been investigated for removing dyes from wastewater. Chemical precipitation, coagulation and flocculation, ion exchange, liquid–liquid extraction, physical flotation, cloud point extraction, and adsorption are treatment methods developed to eliminate dyes from aqueous solutions19–22. The advantages and disadvantages of some of these techniques are listed in Table 1. Table 1The advantages and disadvantages of water treatment techniques.TechniqueAdvantagesDisadvantagesReferencesChemical precipitationLow costEase of operationSuitable for automatic operation controlCan operate at high flow ratesCan treat wastewater with high concentrations of toxic metalsLarge amounts of chemicalsA large amount of hazardous sludgeThe high cost and long-term environmental impacts of sludge disposalLow efficiency for low metal concentrations 52 Ion exchangeNo loss of adsorbent on regenerationReclamation of solvent after useThe removal of soluble dyesLittle energy consumptionNo sludge generationHigh cost of synthetic resinsRapid exhaustion of the resinRegeneration of the resins can cause serious secondary pollutionThe ion exchange method is not very effective for disperse dyes 53 Coagulation and flocculationCost–effectiveSimpleEfficientDoes not release toxic substancesHigh consumption of chemicalsLarge production of hazardous sludgeMust be followed by other treatment techniques 54–56 liquid–liquid extractionSimple operationSimple apparatusNeed to use large volumes of solvents of high purity, which can increase environmental pollutionOften, a small enrichment factor for the analyte is usedLow selectivityFormation of emulsions that are difficult to breakProblems with handling samples of large volume 57 AdsorptionCost effectiveEasy to operateHighly efficientHigh adsorption ratesAvailability of a wide selection of adsorbentsAbsence of chemical sludgeLow selectivity 58 The advantages and disadvantages of water treatment techniques. Low cost Ease of operation Suitable for automatic operation control Can operate at high flow rates Can treat wastewater with high concentrations of toxic metals Large amounts of chemicals A large amount of hazardous sludge The high cost and long-term environmental impacts of sludge disposal Low efficiency for low metal concentrations No loss of adsorbent on regeneration Reclamation of solvent after use The removal of soluble dyes Little energy consumption No sludge generation High cost of synthetic resins Rapid exhaustion of the resin Regeneration of the resins can cause serious secondary pollution The ion exchange method is not very effective for disperse dyes Cost–effective Simple Efficient Does not release toxic substances High consumption of chemicals Large production of hazardous sludge Must be followed by other treatment techniques Simple operation Simple apparatus Need to use large volumes of solvents of high purity, which can increase environmental pollution Often, a small enrichment factor for the analyte is used Low selectivity Formation of emulsions that are difficult to break Problems with handling samples of large volume Cost effective Easy to operate Highly efficient High adsorption rates Availability of a wide selection of adsorbents Absence of chemical sludge In recent years, adsorption has been considered a more desirable technique for removing dyes among the other methods mentioned. It has ease of use, non-toxicity, high efficiency, affordability, readily available adsorbents, and the capacity to manage large-scale systems23. Therefore, a crucial challenge in the adsorption process is the development of effective, readily available adsorbents. Agricultural waste-derived adsorbents, specifically lignocellulosic materials containing cellulose, hemicellulose, and lignin, provide various functional groups such as hydroxyl (-OH), amino (-NH2), carboxyl (-COOH), phosphate (PO43-), and carbonyl groups (-C = O), which act as active binding sites for pollutants24. These adsorbents possess distinct characteristics, such as a porous structure, extensive surface area, pore volume, varied pore-size distribution, ease of separation, reusability, chemical stability, affordability, abundant availability, and eco-friendliness, making them ideal for remediating dyes as organic pollutants25,26. On the other hand, if a large volume of these wastes produced by different agricultural sectors is not managed properly, it could result in significant health hazards and environmental issues, including food poisoning, poor food hygiene, and contamination of agricultural products and groundwater27. Different, low-cost adsorbents from a variety of agricultural wastes have been utilized, including rice husk28, peach stones29, almond shells30, banana peels31, sugarcane bagasse32, tea waste33, maize cobs34, olive stones35, cherry stones36, and peanut shells37. Sugarcane bagasse (SCB) is a heterogeneous fibrous residue that contains 40–50% cellulose, 25–35% hemicellulose, and 20–30% lignin, so it reacts actively with dyes and heavy metals38. The primary constituent in SCB is cellulose. It is a natural linear polymer consisting of anhydroglucose units joined by β-1,4 glycosidic bonds. It has three hydroxyl groups with varying reactivity: a primary -OH at C-6, and secondary -OH groups at C-2 and C-339. These hydroxyl groups contribute to the formation of strong intramolecular and intermolecular hydrogen bonding, making it an effective adsorbent for the removal of dyes40. The strategic utilization of SCB as an agricultural waste-derived adsorbent directly aligns with and supports multiple United Nations Sustainable Development Goals (SDGs). Primarily, it advances SDG 3 (Good Health and Well-being) by removing toxic, mutagenic, and potentially carcinogenic dyes from aquatic environments, minimizing human health risks. It also addresses SDG 6 (Clean Water and Sanitation) by ensuring efficient wastewater remediation and improving water quality. Furthermore, transforming this abundant byproduct into a valuable adsorbent promotes SDG 12 (Responsible Consumption and Production) by minimizing waste and advancing circular economy principles. Additionally, converting agricultural waste into eco-friendly products reduces carbon emissions, contributing to SDG 13 (Climate Action). Moreover, it supports SDG 14 (Life Below Water) by preventing the discharge of chemical pollutants into receiving water bodies, thereby safeguarding the marine environment and preserving aquatic ecosystems41–45. Numerous studies have utilized SCB-derived adsorbents for the removal of various pollutants. Recently, Akl et al. combined SCB-activated carbon with Fe3O4 magnetic particles to achieve efficient and rapid separation of Pb(II) and Hg(II) from diverse water samples46. Additionally, a chitosan-impregnated sugarcane bagasse biochar (SCNC) biocomposite was developed for the removal of anionic Congo red dye from aqueous solutions47. Sulfonated SCB has also been employed for the removal of cationic methylene blue and Bismarck brown R dyes48. Sequential dye adsorption enhances selectivity by controlling the adsorbent surface charge and more accurately simulates real wastewater containing multiple charged pollutants49–51. The novelty of the current investigation is not limited to the adsorption of ARS onto the SCB adsorbent or to the SCB@ARS preparation; but also, it lies in the development of an oppositely charged sequential adsorption approach. The current investigation presents adsorption of the anionic dye ARS as a deliberate surface-modification step to enhance the subsequent removal of the cationic dyes, CV and MG. In contrast to conventional adsorption investigations focusing on single-pollutant (adsorbate) removal and on the simultaneous adsorption of mixed solutions, the current investigation employs a sequential technique for the adsorption of differently charged pollutants. When the ARS was adsorbed onto the SCB surface, negatively charged SO3- groups were introduced, altering surface chemistry. This results in an enhanced affinity toward cationic species (CV and MG). The current study introduces a sustainable, affordable, and simple approach for producing a functional adsorbent from low-cost agro-waste that can treat water effluents containing differently charged pollutants. This investigation demonstrates several advantages, such as environmental sustainability, cost-effectiveness, operational simplicity, waste valorization, and scalability. Furthermore, the introduction of functional groups during the initial adsorption step of ARS (in situ surface modification) facilitates the removal of a secondary pollutant with an opposite charge (CV and MG) and reduces reliance on toxic chemicals. Compared with previously reported adsorption studies, which mainly investigated single-dye removal, simultaneous adsorption from mixed solutions, or the preparation of chemically modified adsorbents using additional reagents, the present study introduces a different sequential adsorption concept. The current investigation is based on adsorbate-induced surface functionalization. Although a limited number of studies have explored multi-step or sequential removal of pollutants, the underlying mechanisms differ from the present approach. For instance, Tamer et al.49 removed the negatively charged Cr2O7-- using immobilized Crystal violet on nano-sulfonated Poly(glycidyl methacrylate) nanocomposite, in which surface modification was performed prior to adsorption rather than generated in situ by the first pollutant. Therefore, the novelty of this work lies in utilizing the first adsorbed pollutant as an active modifier to regulate surface charge and enable enhanced sequential adsorption of oppositely charged contaminants. The ARS anionic azo dye was immobilized onto SCB particles via adsorption in the current work, yielding a new adsorbent (SCB@ARS) that demonstrated affinity for removing the cationic dyes MG and CV from contaminated water samples. The objectives of this study are: Adsorption of ARS onto SCB to yield SCB@ARS, which was reutilized for sequential removal of the cationic dyes viz. CV and MG. Adsorption of ARS onto SCB to yield SCB@ARS, which was reutilized for sequential removal of the cationic dyes viz. CV and MG. Characterization of SCB and SCB@ARS using different instrumental performances, such as BET, SEM, EDX, TGA and FT-IR. Characterization of SCB and SCB@ARS using different instrumental performances, such as BET, SEM, EDX, TGA and FT-IR. Optimize ARS removal using SCB through batch adsorption investigations and studying several parameters, including dose, pH, initial concentration, and oscillation time. Optimize ARS removal using SCB through batch adsorption investigations and studying several parameters, including dose, pH, initial concentration, and oscillation time. Experimental investigation of cationic pollutants CV and MG adsorption on the surface of SCB@ARS by investigating several parameters, such as adsorbent dosage, pH, initial concentration of CV, and MG concentrations, and ionic strength. Experimental investigation of cationic pollutants CV and MG adsorption on the surface of SCB@ARS by investigating several parameters, such as adsorbent dosage, pH, initial concentration of CV, and MG concentrations, and ionic strength. Conducting adsorption isotherm and kinetic experiments to understand the adsorption mechanism and the highest adsorption performance of SCB@ARS. Conducting adsorption isotherm and kinetic experiments to understand the adsorption mechanism and the highest adsorption performance of SCB@ARS. Application of the prepared SCB@ARS biosorbent on real water samples. Application of the prepared SCB@ARS biosorbent on real water samples. Studying the adsorption of CV and MG cationic species in multi-contaminant systems. Studying the adsorption of CV and MG cationic species in multi-contaminant systems. Elucidation of the adsorption mechanism of ARS onto SCB and the CV and MG onto SCB@ARS biosorbent. Elucidation of the adsorption mechanism of ARS onto SCB and the CV and MG onto SCB@ARS biosorbent. Experimental Materials and method Materials The pristine SCB waste was collected from the local market, Mansoura, Egypt. Alizarin red S (Merck), crystal violet (Sigma-Aldrich), and methyl green (Merck) were used. HCl (Merck, 98%) and NaOH (Sigma-Aldrich, Lab grade) were used. The chemical structures of ARS, CV, and MG are presented in Table S1. Preparations Preparation of pristine SCB biosorbent Preparation of pristine SCB was performed as previously reported59. The pristine SCB waste was collected, cut, and ground well to the desired size in microscale (< 500µm). The obtained powder was then stirred into distilled water, filtered, and air-dried. Preparation of SCB@ARS biosorbent The SCB@ARS biosorbent was obtained via batch adsorption experiments with ARS under optimal conditions: 0.5 g/L SCB and 50 mg/L ARS at pH 2 for 120 min at room temperature. Once the adsorption process was completed, the SCB@ARS biosorbent was filtered and washed to remove any excess ARS. The SCB@ARS biosorbent was used for the subsequent adsorption of the cationic CV and MG dyes from polluted water samples. Instrumentation Fourier transform infrared (FTIR) spectra of pristine SCB, SCB@ARS, SCB@ARS@CV, and SCB@ARS@MG were recorded over the wavenumber range of 4000–400 cm–1 using a PerkinElmer Spectrum RX I with KBr pellets. The surface morphology of SCB, SCB@ARS, and SCB@ARS@CV was investigated using a JEOL JSM-6510LV scanning electron microscope, which was also used to obtain EDX (Energy-dispersive X-ray Spectroscopy) spectra. The thermal stability of SCB and SCB@ARS materials was examined by thermogravimetric analysis (Berkin Elmer TGA 4000) at a heating rate of 15 °C/min from 30 to 900 °C. The specific surface area of SBET, pore volume, and pore diameter of SCB and SCB@ARS were estimated using the Brunauer Emmett Teller, BET, analysis (MicrotracBEL Corp., Japan) operated through BELMaster software (Version 7.3.2.0). Prior to measurements, the samples were degassed under vacuum at 80 °C for 3 h to remove physically adsorbed impurities and moisture. A Perkin-Elmer 550 spectrophotometer was used to determine the concentrations of the investigated dyes (ARS, CV, and MG) and the CV-MG binary system over a wavelength range of 200–900 nm with quartz cells. The maximum absorption wavelengths (λmax) were identified as 412 nm for ARS, 590 nm for CV, 645 nm for MG, and 629 nm for the CV-MG binary system. The pHpzc of SCB and SCB@ARS were determined as previously reported60. Batch adsorption tests Batch adsorption experiments were performed to investigate the adsorption capacity of SCB towards ARS. Then, SCB loaded with ARS (SCB@ARS) was used for the removal of cationic dyes, used as secondary pollutants (CV& MG). ARS adsorption tests The tests were carried out in 50 mL bottles, maintaining a fixed adsorbent dosage (0.5 g/L) and varying the ARS concentration (10–150 mg/L) of 10 mL of solution at pH 2. The solutions were shaken (150 rpm) at room temperature for 120 min. Finally, SCB was removed by centrifugation, and the resulting solutions were analyzed by UV–vis spectroscopy (Shimadzu, UV-2600) at λ = 412 nm . Various effects, including pH levels between 2 and 12, SCB doses from 0.0025 to 0.02 g, temperature ranging from 25 °C to 45 °C, and oscillation durations from 15 to 180 min, were studied for the adsorption of ARS dye onto the surface of SCB. The removal percentage (%) and the equilibrium adsorption capacity (qe) were calculated using the Eqs. (1) and (2), respectively. Each experiment was carefully repeated three times to ensure consistent results. Ci and Cf represent the starting and final concentration values in mg/L, respectively. while m (g) represents the adsorbent dose, and V(L) represents the volume of the adsorbate solution. Cationic dyes batch adsorption tests SCB used for the removal of ARS (now SCB@ARS) was subsequently tested for the removal of cationic dyes (CV and MG) as secondary pollutants. In more detail, 5 mg of SCB@ARS were added to 10 mL of 150 mg/L and 250 mg/L of CV and MG dye solutions, respectively. Each mixture was stirred for 120 min at room temperature. Aliquots were sampled, and the dye concentrations were verified by UV–vis spectroscopy at λmax = 590 nm, λmax = 645 nm, for CV, MG, respectively. The effects of solution pH (3–11), initial dye concentration (50–300 mg/L), adsorbent dosage (0.0025–0.02 g), solution temperature (25–45○C), and contact time (15–180 min) were examined. Adsorption efficiency was expressed in terms of removal percentage (%) and equilibrium adsorption capacity (qe) using Eqs. (1) and (2). Each experiment was carefully repeated three times to ensure consistent results. Figure 1 illustrates the main steps and outcomes of the current investigation. Schematic illustration of the adsorption of ARS onto SCB and sequential adsorption of CV and MG onto SCB@ARS. The detailed kinetic, isotherm, thermodynamic analyses, and error function calculations are provided in the Supporting Information. Removal of CV and MG in a binary system To assess SCB@ARS efficiency as an adsorbent in a binary dye system (CV–MG), batch adsorption experiments were conducted. A 0.01 g sample of SCB@ARS was added to 10 mL of mixed cationic dyes (150 mg/L CV, 250 mg/L MG) at pH 10. The mixture was shaken at 120 rpm and 25 °C for 30, 60, 120, and 180 min. Equilibrium concentrations were determined via UV–Vis data, and adsorption capacity was calculated using Eq. (2). Leaching stability test The SCB@ARS adsorbent was prepared by adsorbing ARS onto pristine SCB at pH 2. The stability of adsorbed ARS on SCB@ARS was evaluated through a leaching study conducted at various pH levels. In this experiment, 0.005 g of SCB@ARS was evaluated in 10 mL solutions with pH values ranging from 2 to 10 for 48 h at room temperature. The solution was measured using a Unicam UV-2100 UV/Visible spectrophotometer at 412 nm (pH 2), 425 nm (pH 4), 515 nm (pH 6), and 550 nm (pH 8–10). Applications in real samples Natural water samples To evaluate the applicability of SCB@ARS for the removal of the studied dyes from real water samples, water samples were collected from several sources, including Misr Spinning and Weaving Company in El-Mahalla El-Kubra (before and after treatment), seawater from Port Said, and laboratory tap water at Mansoura University. The collected samples were spiked with (50–150) mg/L and (50–250) mg/L of CV and MG, respectively. Prior to spiking with the dyes, the natural water samples were digested by adding 0.5 g of K₂S₂O₈ and 5 mL of H₂SO₄ (98% w/w) to 1000 mL of the water sample, followed by heating at 90 °C for 120 min to ensure complete digestion of organic matter61. After cooling to room temperature, 0.005 g of SCB@ARS was added for CV removal and 0.01 g for MG removal. The samples were then continuously shaken for 120 min at pH 10. The residual concentrations of CV and MG were determined using a Unicam UV-2100 UV/Visible spectrophotometer at wavelengths of 590 nm and 645 nm for CV and MG, respectively. In pharmaceutical samples Gentian Violet (0.5%, 5000 mg/L), purchased from a commercial pharmacy, was used as a model pharmaceutical sample to evaluate the adsorption performance of SCB@ARS. Gentian violet belongs to the group of medicines called antifungals. Topical gentian violet is used to treat some types of fungal infections inside the mouth (thrush) and on the skin. To investigate the applicability of the SCB@ARS adsorbent, a range of (50–150) mg/L Gentian violet solution at pH 10 was mixed with 0.01 g of SCB@ARS for 120 min. A Unicam UV-2100 UV–visible spectrometer was used to measure the remaining amounts of CV. Results and discussion Digital photographs Figure 2a-d presents digital photographs of pristine SCB, SCB@ARS, SCB@ARS@CV, and SCB@ARS@MG. The pristine SCB appears off-white (Fig. 2a). Upon reaction with ARS dye, the color changes to golden yellow (Fig. 2b), indicating ARS dye adsorption. Building on this, subsequent adsorption of CV and MG dyes onto SCB@ARS biosorbent, shifts the color further: to violet (Fig. 2c) after CV adsorption, and to green (Fig. 2d) following MG adsorption. These sequential color changes clearly demonstrate each adsorption step on the SCB@ARS surface. Digital photographs of (a) pristine SCB, (b) SCB@ARS, (c) SCB@ARS@CV, (d) SCB@ARS@MG. Characterization BET The specific surface area of the adsorbent (SBET) is a critical parameter in adsorption, as it directly determines the adsorbent’s capacity to remove dyes62. Textural characteristics, including SBET, pore volume (cm3/g), and average pore diameter (nm) for SCB and SCB@ARS, were measured and are presented in Table 2 and Fig. S1. The SBET of SCB decreased from 3.98 m2/g to 1.28 m2/g after ARS adsorption, accompanied by a reduction in pore volume (cm3/g) to 1.04 × 10–2 cm3/g. This reduction may be attributed to the SCB surface being partially covered by ARS particles, which limit N2 accessibility. In contrast, the average pore diameter increased after ARS adsorption, likely due to the blockage of smaller pores and the relative contribution of larger pores. Both SCB and SCB@ARS exhibit pore diameters within the mesoporous range. However, given the relatively low BET surface area, the adsorption enhancement observed in this study cannot be attributed solely to porous characteristics, as the pores are larger than those of ARS (1–2 nm), CV (1.3–1.5 nm), and MG (1.5–1.8 nm). Which may facilitate ARS diffusion through SCB, as well as CV and MG diffusion through SCB@ARS. The mesoporous structure may contribute to adsorbate accessibility, while surface chemical interactions dominate the adsorption process. Table 2Textural characteristics of SCB and SCB@ARS biosorbents.SampleSBET (m2/g)Pore volume (cm3/g)Average pore diameter (nm)SCB3.982.198 × 10–222.096SCB@ARS1.281.04 × 10–232.608 Textural characteristics of SCB and SCB@ARS biosorbents. EDX Figure 3 displays the EDX spectra for SCB@ARS biosorbent and SCB@ARS@CV samples. EDX analysis was conducted to determine the elemental composition of the materials. The EDX spectrum of pristine SCB shows 57.37% carbon and 42.36% oxygen, as previously reported48. After ARS adsorption, the EDX spectrum of SCB@ARS (Fig. 3a) exhibits a sulfur peak, confirming ARS adsorption onto the SCB surface. Subsequently, following CV adsorption, the EDX spectrum of SCB@ARS@CV (Fig. 3b) reveals a nitrogen peak, indicating substantial adsorption of CV, which contains a high nitrogen content. EDX of (a) SCB@ARS biosorbent and (b) SCB@ARS@CV. FT-IR spectra FTIR spectra of unmodified sugarcane bagasse (SCB), SCB@ARS, SCB@ARS@CV, and SCB@ARS@MG are shown in Fig. 4. FT-IR spectra of (a) SCB, (b) SCB@ARS, (c) SCB@ARS@CV, and (d) SCB@ARS@MG. FT-IR spectra for SCB showed characteristic bands at 3338 cm−1 corresponding to the stretching vibration of hydroxyl functional groups63, 2895 cm−1 related to C–H stretching64, peaks at around 1730 and 1630 cm−1 can be assigned to C = O vibrations in hemicellulose and lignin65,66, and finally 1033 cm−1 because of C–O67. The FT-IR spectrum of SCB@ARS shows distinct changes, including a noticeable increase in the width of the OH stretching band, indicating stronger hydrogen-bonding interactions. A strong band at 1053 cm–1 corresponds to the S = O stretching vibration from the sulfonate group found in ARS68, while another band at 604 cm–1 pertains to C-S stretching69. The spectrum also shows distinct aromatic characteristics originating from the ARS dye, with two new peaks seen at 1925 cm–1 and 3010 cm–1 associated with stretching vibrations of aromatic C-H groups70. Moreover, the newly observed peak at 716 cm–1 is linked to the out-of-plane bending of C-H bonds within the aromatic ring frameworks71. Lastly, the higher intensity of the 1456 cm–1 band is associated with the in-plane bending of C-H bonds72. These findings validate that ARS dye was effectively adsorbed onto the surface of SCB material, evidenced by the new sulfonic and aromatic signals absent in the spectrum of the unmodified sample. In the FT-IR spectrum of SCB@ARS@CV and SCB@ARS@MG, the peak at 1585 cm–1 became more intense, indicating the presence of C = C bonds of the alkene of the aromatic structure73, which can be attributed to the rising quantity of aromatic rings formed from the interaction between SCB@ARS and the two dyes. Additionally, the intensity of the peak at 1363 cm–1 increased because of the C-N bond74 present in the two dyes’ structure. SEM The surface morphology of raw SCB, SCB@ARS, and SCB@ARS@CV was investigated by SEM and presented in Fig. 5a–e. As shown in Fig. 5a, the untreated SCB material exhibited a relatively smooth, compact surface with clear layered structures and visible cracks, indicating the presence of pores and active sites for dye adsorption75. In Figs. 5b, c, the SCB@ARS surface looked rougher than the untreated SCB. Small, uneven features appeared because the ARS dye was adsorbed to the SCB. As seen in Fig. 5d, e, the surface of SCB@ARS@CV became denser, and a more compact layer covered the surface, while the particles appeared more clustered. This indicates that the second dye (CV) was adsorbed sequentially on top of the previously adsorbed dye layer. These observations confirmed the occurrence of sequential adsorption, in which the second dye occupied the remaining or newly formed active sites on the surface after the first adsorption step. SEM images of: (a) pristine SCB at 5000x (b) SCB@ARS at 5000x (c) SCB@ARS at 10000x, (d) SCB@ARS@CV at 3000x, and (e) SCB@ARS@CV at 5000x. TGA The TGA patterns of the raw SCB and SCB@ARS adsorbent are shown in Fig. 6. The TGA pattern of the raw SCB (Fig. 6a) showed four main pyrolysis stages; (31–58 °C, 5.20%) due to evaporation of surface water, (58–259 °C, 3.37%) attributed to liberation of interlayer water, the main decomposition stage (259–358 °C, 70.72%) due to degradation of cellulosic chains and finally, (358– 582 °C, 16.30%) related to residue carbonization. By adsorbing ARS onto the SCB surface (Fig. 6b), the amount of absorbed surface water decreased by 2.208%. Moreover, the degradation percentage decreased from 70.72% to 12.09%, suggesting a more thermally stable structure, likely due to the strong interaction between SCB and ARS. Finally, the last stage showed a decrease in the pyrolysis percentage from 16.00 to 2.608%. TGA of (a) pristine SCB and (b) SCB@ARS biosorbent. Adsorption studies Removal of ARS using pristine SCB Point of zero charge (pHPZC) of pristine SCB To understand the adsorption mechanism of ARS by the SCB adsorbent, the point of zero charge (pHpzc) of SCB was determined. The pHpzc value was found to be approximately 3.635, as shown in Fig. 7. Therefore, the adsorption of the anionic ARS dye onto SCB should be enhanced at pH values below the pHpzc, where the SCB surface is positively charged. The pHpzc value of the pristine SCB adsorbent. Effect of pH The effect of pH on the adsorption capacity of ARS anionic dye onto the surface of raw SCB is presented in Fig. 8a. Experiments were performed using 0.005 g of SCB in 10 mL of 50 mg/L ARS solution, with a contact time of 120 min. Results reveal significant variation in adsorption efficiency across different pH levels: equilibrium adsorption capacity (qe) decreases with increasing pH. Maximum adsorption was observed at pH 2 (99.38 mg/g), while minimum adsorption occurred at pH 12 (7.76 mg/g). This behavior relates to the SCB’s pHPZC = 3.635. When pH is below pHPZC, the SCB surface is positively charged, which enhances electrostatic attraction to the anionic ARS dye. In contrast, above this point, the surface becomes negatively charged, causing electrostatic repulsion. Furthermore, at higher pH, OH– ions may compete with ARS for available adsorption sites, further reducing adsorption. Effect of (a) pH (conditions: 10 mL aqueous solution of 50 mg/L of ARS and 0.005 g of SCB for 120 min) and (b) SCB dosage on the adsorption of ARS by pristine SCB adsorbent (conditions: 10 mL aqueous solution of 50 mg/L of ARS for 120 min at pH 2). Effect of dose The effect of SCB adsorbent dosage was investigated over the range of 0.0025–0.02 g. The experiments were carried out at room temperature with 120 min shaking using 10 mL of a 50 mg/L solution at pH 2. As shown in Fig. 8b, increasing the SCB dose from 0.0025 to 0.005 g enhanced the removal capacity from 90.796 to 99.38 mg/g. However, when the dosage exceeded 0.005 g, the removal capacity decreased sharply, reaching 24.975 mg/g at 0.02 g. This decrease at higher dosages may be due to aggregation of adsorbent particles, which reduces the effective surface area available for adsorption. Therefore, the optimal adsorbent dosage was 0.005 g. Overall, these findings demonstrate that SCB achieves high efficiency at low dosages, emphasizing the importance of optimizing dosage to maximize removal capacity in practical applications. Effect of initial ARS concentration and isotherm studies To investigate how the initial ARS dye concentration affects its adsorption by SCB, 0.005 g of SCB adsorbent was mixed with 10 mL of ARS dye solution with concentrations ranging from 10 to 150 mg/L for 120 min at pH 2 and room temperature. Following this procedure, as shown in Fig. 9, the adsorption capacity increased from 19.99 to 99.38 mg/g as the concentration increased from 10 to 50 mg/L. Above 50 mg/L, the adsorption capacity remained nearly constant, indicating that the equilibrium was reached at this concentration. Effect of initial ARS dye concentration on its adsorption by pristine SCB (conditions: 0.005 g of SCB and shaking time of 120 min at pH 2). Linear and nonlinear Langmuir, linear and nonlinear Freundlich, and Dubinin–Radushkevich (D–R) isotherm models were applied to evaluate the adsorption behavior of ARS dye onto the SCB adsorbent. The plots of the three models are presented in Fig. S2, while the calculated parameters (qm, KL1, RL, n2, KF1, KL2, RL, n2, KF2, and kDR) are listed in Table 3. Table 3Langmuir, Freundlich, and D–R isotherm constants, correlation coefficients, and error functions of ARS dye adsorption onto SCB.Linear Langmuir isotherm constantsKL(L/g)qm (mg/g)R2RLχ2MSESSEARS11.528100.70511.732 × 10–30.1221.75612.289Linear Freundlich isotherm constantsKFnR2χ2MSESSEARS65.6918.0010.65882.06330.925216.473D–R isotherm constantsKE (kJ/mol)qm (mg/g)R2ARS7.636 × 10–98.09290.1760.8606Nonlinear Langmuir isotherm constantsKL(L/g)qm (mg/g)R2ARS104.5915.440.89Nonlinear Freundlich isotherm constantsKFNR2ARS73.411.750.62 Langmuir, Freundlich, and D–R isotherm constants, correlation coefficients, and error functions of ARS dye adsorption onto SCB. Based on the higher correlation coefficient of the linear Langmuir model (R2 = 1) compared to the other applied models and the lower error function values obtained with linear Langmuir, the linear Langmuir model best fit the equilibrium data, indicating that ARS removal by SCB occurred via monolayer adsorption on a homogeneous surface. Additionally, the calculated RL value (1.732 × 10–3) was found to be less than 1.0, indicating a favorable adsorption process and the suitability of SCB as an effective adsorbent for ARS removal. The EDR for adsorption, calculated using the Dubinin–Radushkevich model, was 8.092 kJ/mol, which falls within the 8–16 kJ/mol range, indicating a physicochemical nature with both physical and chemical interactions. Effect of time The effect of contact time on the adsorption capacity (qe) of ARS dye onto pristine SCB was studied using 10 mL of a 50 mg/L ARS dye solution and 0.005 g of SCB adsorbent at pH 2. As shown in Fig. 10, qe increased rapidly from 51.953 to 99.38 mg/g as the contact time increased from 15 to 120 min. This rise is due to the availability of many active sites. The maximum adsorption capacity, 99.38 mg/g, was achieved at 120 min. After this time, no significant increase in qe was seen, and the curve became almost constant, indicating that equilibrium had been reached and most active adsorption sites were occupied. Thus, 120 min proved to be the ideal contact duration for ARS adsorption on pristine SCB. Effect of contact time on the adsorption of ARS by pristine SCB (conditions: 10 mL aqueous solution of 50 mg/L of ARS and a SCB dose of 0.005 g at pH 2). The kinetics of ARS adsorption onto SCB were investigated using models: linear and nonlinear pseudo-1st-order, linear and nonlinear pseudo-2nd-order, intraparticle diffusion (IPD), and Elovich. The estimated kinetic parameters (K1, K2, Kdiff, qe1, and qe2) and the correlation coefficients (R2) obtained from fitting each model are summarized in Table 4. According to the R2 values obtained from the investigated kinetic models, the adsorption data showed better agreement with the linear pseudo-2nd-order model (R2 = 0.999). However, the nonlinear pseudo-1st-order model, along with the calculated qe values and error functions, showed better agreement. This difference between linear and nonlinear approaches indicates that a single model cannot describe the kinetic behavior and may reflect the complex nature of ARS adsorption in SCB, involving multiple interactions and physicochemical contributions. Table 4Kinetic parameters for the adsorption of ARS by SCB.AdsorbatesLinear- pseudo-1st orderqe1 (mg/g)K1 (min-1)R2χ2MSESSEARS113.25017.3680.99410.192192.3771154.261Linear- pseudo-2nd orderqe2 (mg/g)K2 (min-1)R2χ2MSESSEARS108.9336.412 × 10–40.9995.02791.26547.559Nonlinear- pseudo-1st-orderqe1 (mg/g)K1 (min-1)R2χ2MSESSEARS97.8670.0470.9970.2113.4336120.602Nonlinear- pseudo-2nd-orderqe2 (mg/g)K2 (min-1)R2χ2MSESSEARS111.3575.568 × 10–50.9917.317135.839815.034Elovich kinetic modelR2ARS23.7450.050.939IPDKdiffR2ARS5.0150.911 Kinetic parameters for the adsorption of ARS by SCB. The intraparticle diffusion plot of ARS does not pass through the origin, indicating that IPD is not the sole rate-limiting step and that other factors control the adsorption rate. Showing that the adsorption process occurred in three stages (Fig. S3c). In the first stage, the slope was steep because ARS dye molecules were quickly adsorbed onto the outer surface of the SCB adsorbent, where many active sites remained available. This represented boundary layer diffusion. In the second stage, the slope decreased as the adsorption rate slowed, since the dye molecules began to diffuse into the pores of the SCB adsorbent, a process that takes longer. Finally, the line became almost flat, indicating that equilibrium had been reached and that most active sites were occupied, leading to a significant decrease in the adsorption rate. Effect of temperature and thermodynamic studies of ARS adsorption by SCB To evaluate the effect of temperature on the adsorption of ARS onto SCB, experiments were conducted over 25–45 °C using 0.005 g of SCB at pH 2, with an initial dye concentration of 50 mg/L and a contact time of 120 min. The results revealed that adsorption capacity decreased with increasing temperature, indicating that the process is exothermic. Thermodynamic parameters were obtained from the plot of ln Kc versus 1/T, as illustrated in Fig. S4, and are summarized in Table 5. The negative value of ΔH°ads (− 90.248 kJ/mol) confirms the exothermic nature of the adsorption process, and its magnitude falls within the typical chemisorption enthalpy range (40–120 kJ/mol). However, considering the involvement of electrostatic attraction, hydrogen bonding, π–π interactions, and pore-related effects, the adsorption processes are considered physicochemical, involving both chemical and physical interactions. The negative values of ΔG°ads (− 13.256, − 10.513, and − 8.301 kJ/mol) indicate that ARS adsorption onto SCB is spontaneous across the temperatures examined. Furthermore, the negative value of ΔS°ads (− 254.447 J/mol K) suggests a reduction in randomness at the solid–liquid interface during adsorption. Table 5Thermodynamic parameters for the adsorption of ARS onto SCB biosorbent.T (K)KCΔG°ads (KJ/mol)ΔH°ads (KJ/mol)ΔS°ads (J/mol K)SCB@ARS303192.932-13.256- 90.248- 254.44731356.824-10.51332321.998-8.301 Thermodynamic parameters for the adsorption of ARS onto SCB biosorbent. Sequential removal of CV and MG dyes using SCB@ARS Point of zero charge (PZC) of SCB@ARS As shown in Fig. 11, the pHpzc value for SCB@ARS biosorbent was 5.008. Therefore, when the pH is above 5.008, the SCB@ARS surface is negatively charged, favoring the adsorption of the cationic dyes, CV, and MG. (a) The pHpzc value of SCB@ARS adsorbent and (b) leaching stability of ARS from SCB@ARS. Leaching investigation As shown in Fig. 11b, no detectable leaching was observed across all tested pH levels, indicating high stability of the immobilized ARS particles in SCB. Effect of pH The impact of solution pH on the removal of the cationic dyes CV and MG using SCB@ARS was investigated over the range 3–11, as shown in Fig. 12. Effect of pH of (a) CV and (b) MG adsorption onto SCB@ARS biosorbent (conditions: 10 mL aqueous solution of 150 mg/L of CV and 250 mg/L of MG and 0.005 g of SCB@ARS for 120 min). The investigation was carried out using 0.005 g of SCB@ARS in 10 mL of 250 mg/L MG and 0.01 g of SCB@ARS in 10 mL of 150 mg/L CV, both at room temperature, with shaking for 120 min. The adsorption capacity rose from 84.559 to 136.841 mg/g for CV and from 227.76 to 452.258 mg/g for MG as pH increased from 3 to 10. Beyond pH 10, these capacities stayed almost the same. This is due to the SCB@ARS surface charge: above pHpzc (5.008), the surface turns negative and attracts cationic dyes. Therefore, pH 10 gives the highest adsorption capacity for CV and MG. Effect of the dose of SCB@ARS biosorbent To examine how the amount of SCB@ARS biosorbent affects the adsorption process, dosages ranging from 0.0025 to 0.02 g were applied to 10 mL of dye solutions containing 150 mg/L CV and 250 mg/L MG, followed by shaking for 120 min at pH 10 and room temperature. The data presented in Fig. 13 indicated that the adsorption capacity of CV increased with increasing SCB@ARS dosage, reaching its maximum value (136.919 mg/g) at 0.01 g compared to 97.38 mg/g at 0.0025 g. Meanwhile, MG achieved its highest capacity (452.258 mg/g) at a lower dosage of 0.005 g, up from 385 mg/g at 0.0025 g with the SCB@ARS adsorbent. Beyond these dosages, a noticeable decline in adsorption capacity was observed for both dyes. Effect of dosage of (a) CV and (b) MG adsorption by SCB@ARS biosorbent (conditions: 10 mL aqueous solution of 150 mg/L of CV and 250 mg/L of MG for 120 min at pH 10). Effect of initial dye concentration and isotherm studies The effect of initial dye concentration was studied between 50–300 mg/L by preparing 10 mL solutions of CV and MG at pH 10. SCB@ARS dosages of 0.01 g for CV and 0.005 g for MG were used; then, the mixtures were shaken for 120 min at room temperature for both dyes. As shown in Fig. 14, the adsorption capacity increased from 50 to 136.841 mg/g for CV at 50–150 mg/L, and from 99.99 to 452.258 mg/g for MG at 50–250 mg/L. At higher concentrations, the adsorption capacity remained nearly constant, indicating that equilibrium was reached at 150 mg/L for CV and 250 mg/L for MG. Effect of initial concentration of (a) CV, and (b) MG adsorption by SCB@ARS biosorbent (conditions: 0.005 g of SCB@ARS and shaking time of 120 min at pH 10). The isotherm models, including the nonlinear and linear Freundlich, the nonlinear and linear Langmuir, and the Dubinin–Radushkevich (D–R), were also applied to the adsorption of CV and MG dyes by SCB@ARS. Fig. S5(a–h) presents the plots for each model, and the corresponding parameter values (qm, KL1, KL2, RL, n1, KF1, n2, KF2, and kDR) are listed in Table 6. Table 6Langmuir, Freundlich, and D–R isotherm constants, correlation coefficients, and error functions of SCB@ARS biosorbent for CV and MG dyes.Linear Langmuir isotherm constantsKL(L/g)qm(mg/g)R2RLχ2MSESSECV4.282137.3630.9991.554 × 10–30.01190.2721.635MG0.481473.9340.9928.247 × 10–35.948469.8482819.094Linear Freundlich isotherm constantsKFnR2χ2MSESSECV88.0159.38260.9217.346184.1451104.869MG253.9787.00280.88854.7124752.58628,515.514D–R isotherm constantsKE (kJ/mol)qm (mg/g)R2CV7.249 × 10–98.305128.5900.90211MG7.729 × 10–98.043385.2910.90961Nonlinear Langmuir isotherm constantsKL(L/g)qm(mg/g)R2CV217.44129.40.8193MG39.49391.790.732Nonlinear Freundlich isotherm constantsKFnR2CV95.411.960.919MG257.37.140.908 Langmuir, Freundlich, and D–R isotherm constants, correlation coefficients, and error functions of SCB@ARS biosorbent for CV and MG dyes. The linear Langmuir model, with higher correlation coefficients (R2 = 0.999 for CV and 0.992 for MG) and lower errors than other models, best fits the equilibrium data, suggesting monolayer adsorption of CV and MG on a homogeneous SCB@ARS surface. RL values (1.554 × 10–3 for CV and 8.247 × 10–3 for MG) confirmed a favorable process, and the D–R mean free energy (EDR = 8.305 kJ/mol for CV and 8.247 kJ/mol for MG) indicated physicochemical nature, including both physical and chemical interactions. Effect of contact time and kinetic studies The effect of contact time on the adsorption of CV and MG onto the SCB@ARS surface was investigated using 10 mL dye solutions (150 mg/L for CV, 250 mg/L for MG) at pH 10, with adsorbent doses of 0.01 g for CV and 0.005 g for MG. As shown in Fig. 15, the adsorption capacity (qe) rose sharply at first, increasing from 90.909 to 136.841 mg/g for CV and from 308.378 to 452.258 mg/g for MG within 120 min. This rapid rise was due to the high availability of active sites on the SCB@ARS surface. After 120 min, the concentration remained steady, indicating equilibrium had been reached as active sites became saturated. Therefore, 120 min was considered the optimal contact time for the removal of CV and MG by SCB@ARS. Effect of time on (a) CV and (b) MG adsorption by SCB@ARS adsorbent (conditions: 10 mL aqueous solution of 150 mg/L of CV and 250 mg/L of MG and 0.005 g of SCB@ARS at pH 10). Three kinetic models—pseudo-1st-order (linear and nonlinear), pseudo-2nd-order (linear and nonlinear), IPD, and Elovich—were used to describe the adsorption process. Fig. S6(a-j) presents the results. The kinetic parameters and R2 values are in Table 7. Table 7Kinetic parameters with error functions for the adsorption of CV and MG by SCB@ARS.AdsorbatesLinear- pseudo-1st-orderqe1 (mg/g)K1 (min-1)R2χ2MSESSECV146.4138.9340.9923.75591.623549.739MG480.7698.2360.99610.145812.8774877.263Linear- pseudo-2nd-orderqe2 (mg/g)K2 (min-1)R2χ2MSESSECV143.8858.998 × 10–30.9992.06949.618297.708MG473.9342.914 × 10–40.9995.948469.8492819.094Nonlinear- pseudo-1st-orderqe1 (mg/g)K1 (min-1)R2χ2MSESSECV133.9890.07170.9670.3648.12848.769MG443.0290.074620.9581.153585.174511.047Nonlinear- pseudo-2nd-orderqe2 (mg/g)K2 (min-1)R2χ2MSESSECV145.6088.011 × 10–40.9923.16876.878461.267MG479.5862.598 × 10–40.9959.343746.8194480.918Elovich kinetic modelR2CV238.360.0540.914MG1060.8670.0170.919IPDKdiffR2CV4.8970.916MG15.2440.919 Kinetic parameters with error functions for the adsorption of CV and MG by SCB@ARS. According to the R2 values obtained from the investigated kinetic models, the adsorption data showed better agreement with the linear pseudo-2nd-order model (R2 = 0.999). However, the nonlinear pseudo-1st-order model, along with the calculated qe values and error functions, showed better agreement. This difference between linear and nonlinear approaches indicates that a single model cannot describe the kinetic behavior and may reflect the complex nature of ARS adsorption in SCB, involving multiple interactions and physicochemical contributions. The intraparticle diffusion plots of CV and MG don’t pass through the origin, indicating that IPD is not the sole rate-limiting step and that there are other controls on the adsorption rate besides it. The IPD plots showed three linear segments, indicating that the adsorption of CV and MG occurs in multiple steps. In the first stage, the slope increased sharply as dye molecules quickly adsorbed onto the outer surface of the SCB@ARS adsorbent (boundary-layer diffusion). In the second stage, the slope decreased as adsorption slowed; dye molecules then diffused into SCB@ARS pores, a slower process. In the final stage, the line flattened, indicating equilibrium and saturation of active sites. Effect of temperature and thermodynamic studies To study the effect of temperature on the adsorption of CV and MG, 10 mL of 150 mg/L CV and 250 mg/L MG were placed in two bottles containing 0.01 g of SCB@ARS for CV and 0.005 g for MG at different temperatures between 25 and 45 °C. The solutions were adjusted to pH 10, and the bottles were then shaken in a balanced shaker at 150 rpm for 30 min. It was noted that the adsorption capacity on SCB@ARS increased with increasing temperature. This trend is illustrated in Fig. S7, which plots the natural logarithm of the equilibrium constant (ln KC) versus the inverse temperature (1/T) in Kelvin. Furthermore, as shown in Table 8, the positive ΔH°ads values indicate that adsorption for both dyes is endothermic, which explains the observed increase in adsorption capacity with increasing temperature. Since ΔH°ads values (80.687 kJ/mol for CV and 88.794 kJ/mol for MG) fall within the range of strong interactions/chemisorption (40–120 kJ/mol), the adsorption processes are suggested to be chemisorption. However, considering the involvement of electrostatic attraction, hydrogen bonding, π–π interactions, and pore-related effects, the adsorption processes are considered physicochemical, involving both chemical and physical interactions. Additionally, the positive ΔS°ads values indicate increased randomness at the solid/liquid interface during adsorption, while the negative ΔG°ads values confirm the feasibility and spontaneity of the processes. Table 8Thermodynamic parameters for the adsorption of CV and MG onto SCB@ARS biosorbent.T (K)KCΔG°ads (KJ/mol)ΔH°ads (KJ/mol)ΔS°ads (J/mol K)CV3037.715-5.14780.687283.18931319.877-7.78132353.685-10.699MG30316.676-7.08988.794316.31731346.857-10.011323141.184-12.881 Thermodynamic parameters for the adsorption of CV and MG onto SCB@ARS biosorbent. Effect of ionic strength Industrial wastewater contains large concentrations of various solutes; therefore, ionic strength is an essential factor to consider. It was tested with a variety of ions, including EDTA, CH3COONa, NaNO3, and KCl at 0.01 and 0.1 M, as presented in Fig. 16. Effect of ionic strength on the CV and MG adsorption ((conditions: 10 mL aqueous solution of 150 mg/L of CV and 250 mg/L of MG and 0.005 g of SCB@ARS for 120 min at pH 10). Building on these tests, CV and MG adsorption on SCB@ARS increased slightly with EDTA, because EDTA chelated interfering metal ions, thus preventing them from occupying the active sites on SCB@ARS. As a result, the active sites retained more negatively charged groups that could interact with the dye molecules, thereby improving adsorption performance. As expected, the adsorption capacities of CV and MG decreased in the presence of salt ions due to competition between Na+ and K+ cations and the cationic dyes for the negatively charged functional groups on the SCB@ARS surface. Because Na+ (≈1.02 Å) and K+ (≈1.38 Å) have smaller ionic sizes and higher mobility, they can more readily access and occupy adsorption sites than the bulky triphenylmethane cationic dyes. Consequently, the adsorption capacity decreased further as the salt molarity increased from 0.01 M to 0.1 M76. Removal of CV and MG in a multi-contaminant system As the dyes are present in mixed forms in actual polluted water sources, it was essential to apply the SCB@ARS adsorbent for the combined system removal of the investigated dyes. As shown in Fig. 17a, a new λmax appeared at 629 nm for the studied mixture (CV-MG) that was not far away from the λmax of every single dye (590 nm for CV and 645 nm for MG), but in between, which demonstrated the equivalent selectivity toward the removal of the two dyes in the binary system by SCB@ARS. As shown in Fig. 17b, after 30 min, the peak of the mixture shifted to 590 nm with lower intensity, indicating that MG was adsorbed first, followed by CV. Moreover, the absorbance, an indication of the dye’s concentration, decreased markedly with increasing time. The system reached equilibrium within 2 h, with no significant increase in removal capacity thereafter, confirming the effective removal of the dyes by SCB@ARS in the binary system. UV data of (a) CV-MG mix compared with CV and MG; (b) CV-MG mix after adsorption by SCB@ARS at different periods of time (conditions: 0.01 g of SCB@ARS and 10 mL of mixture (150 mg/L CV, 250 mg/L MG) at pH 10). Application In natural water samples The application experiments of the SCB@ARS were conducted by adsorbing CV and MG at 50–150 and 50–250 mg/L, respectively, from tap water, Nile water, seawater, and wastewater (before and after treatment) samples to assess the applicability of SCB@ARS in real samples. As shown in Table 9, the recoveries ranged from 90.345% to 105.940% with RSD < 1.50. These results demonstrated that SCB@ARS adsorbent could be applied to remove cationic dyes from real water samples. These results, with high recovered concentrations and low RSD (%), demonstrate that SCB@ARS can be effectively used to remove CV and MG from aqueous environments in practice. Table 9Analytical results of the adsorption of CV and MG in natural water samples employing SCB@ARS as an adsorbent. (n = 3).SamplePollutantSpiked (µg/mL)Measured(µg/mL)Recovered (µg/mL)Recovery (%) RSD (%)Waste water before treatmentCV0.000.000.000.000.0050.034.9799.40.94100.19.9991.34500.55249.44698.8961.161003.11496.88698.3510.8115016.265133.73597.7300.60MG0.000.000.000.000.0050.134.8797.40.63100.089.9299.21.45500.54149.45998.9280.941001.02198.97999.0111.331505.615144.385102.4820.762007.105192.895103.2141.0225010.438239.562105.9400.12Waste water after treatmentCV0.000.000.000.000.0050.164.8496.81.11100.349.6696.60.99501.03148.96997.9381.211004.92295.07896.5160.4515018.393131.60796.1751.08MG0.000.000.000.000.0050.054.95990.94100.239.7797.70.6501.04348.95797.9240.571001.55198.44998.4811.281509.715140.28599.5720.0920011.835188.165100.6370.1625015.934234.066103.5091.18SeawaterCV0.000.000.000.000.0050.094.9198.20.13100.189.8298.20.54501.83248.16896.3361.031006.78193.21994.6440.2215022.131127.86993.4430.99MG0.000.000.000.000.0050.154.85970.98100.469.5495.40.32502.50247.49895.0061.091003.91396.08796.1180.1015012.427137.57397.6470.5720016.398183.60298.1971.1125026.106223.89499.0120.00Tap waterCV0.000.000.000.000.3450.214.7995.80.43100.539.4795.71.02502.11447.88695.7721.381008.34591.65593.9410.8415025.057124.94391.3050.05MG0.000.000.000.000.0050.294.7194.21.13100.869.1491.40.26504.83245.16890.3450.421009.14790.85390.8820.0215020.981129.01991.5761.4120026.654173.34692.7110.3925037.960212.0493.7690.17Gentian violetCV500.949.198.20.911002.897.298.670.3215014.25135.7599.204 Analytical results of the adsorption of CV and MG in natural water samples employing SCB@ARS as an adsorbent. (n = 3). Waste water before treatment Waste water after treatment Sea water In pharmaceutical samples As presented in Table 9, the SCB@ARS efficiency toward CV and MG recovery from pharmaceutical samples was evaluated using Gentian violet. SCB@ARS exhibited high adsorption efficiency for Gentian Violet, achieving 90.501% removal with a recovery rate of 99.204%. These findings indicate that the SCB@ARS is a promising and efficient adsorbent for the removal of cationic dyes from various sample types. Proposed sequential adsorption mechanism This study examines the sequential adsorption of cationic CV and MG after the adsorption of the anionic ARS dye. Multiple factors influence dye adsorption on SCB and SCB@ARS surfaces77, including pore filling, electrostatic attraction, n–π interactions, hydrogen bonding, and π–π interactions. Additional hydrophobic forces may also contribute. Previous studies have identified electrostatic interactions as the primary mechanism. To investigate the possible mechanism of the current sequential adsorption, EDX (Fig. 3), SEM (Fig. 5), surface charge (Fig. 7 and Fig. 11b), and FTIR (Fig. 4) were evaluated. The adsorption mechanism of ARS onto SCB and CV/MG onto SCB@ARS was elucidated in light of the effective groups available on SCB and SCB@ARS, as presented in Fig. 18. SCB is composed of cellulose, hemicellulose, and lignin, which confer abundant OH groups enabling the adsorption of anionic species. Besides these groups, the SCB@ARS has added a functional group (SO3-) after the ARS, which enhances adsorption efficiency toward cationic dyes (CV and MG). The proposed binding mechanism, highlighting interactions between ARS molecules and O− functionalities on SCB, as well as between MG and CV molecules and O− functionalities on SCB@ARS in several ways, such as: The pH of the CV, MG, and ARS solutions plays a major role in the adsorption process. At pH lower than the SCB’s pHPZC, the surface becomes positively charged and electrostatic attraction between the positively charged (OH2+) groups in acidic medium and the negatively ARS SO3- groups. While at pH higher than SCB@ARS’ pHPZC, the adsorbent surface becomes negatively charged and the electrostatic attraction between the negative charges of the SCB@ARS (SO3-) and cationic dyes’ positive charges (NH2+)78,79. The pH of the CV, MG, and ARS solutions plays a major role in the adsorption process. At pH lower than the SCB’s pHPZC, the surface becomes positively charged and electrostatic attraction between the positively charged (OH2+) groups in acidic medium and the negatively ARS SO3- groups. While at pH higher than SCB@ARS’ pHPZC, the adsorbent surface becomes negatively charged and the electrostatic attraction between the negative charges of the SCB@ARS (SO3-) and cationic dyes’ positive charges (NH2+)78,79. H-bonding as one bond forms between the –OH groups on the adsorbents’ surface and the O- and N-atoms in ARS, MG, and CV dyes. H-bonding as one bond forms between the –OH groups on the adsorbents’ surface and the O- and N-atoms in ARS, MG, and CV dyes. π–π interaction as one bond forms between the electrons in the aromatic ring of the SCB’ lignin units and the π-electrons of the aromatic ring in dye molecules. π–π interaction as one bond forms between the electrons in the aromatic ring of the SCB’ lignin units and the π-electrons of the aromatic ring in dye molecules. n–π interaction as one bond of the O–atom (–OH) and the π-electrons of the benzene rings. n–π interaction as one bond of the O–atom (–OH) and the π-electrons of the benzene rings. Proposed adsorption mechanism of (a) ARS onto SCB and (b) CV and MG onto SCB@ARS. Statistical analysis pH is an important parameter for controlling the adsorption of the ARS using SCB and (CV/MG) using SCB@ARS. To uncover how pH truly influences ARS adsorption using SCB, along with CV and MG using SCB@ARS, a one-way analysis of variance (ANOVA) was conducted using IBM SPSS Statistics for Windows, Version 25.0 (IBM Corp., Armonk, NY, USA). Available at: (https://www.ibm.com/legal/copyright-trademark). This analysis determines whether variations in the pH yield statistically significant effects. Boxplots for pH are presented in Fig. 19 (a-c), respectively. In the pH boxplot for ARS (Fig. 19a), the R(%) was observed at a pH value of 2, followed by a decrease at higher pH values. In the pH boxplot for CV and MG (Fig. 19b), the R(%) toward them increased as the pH rose from 2 to 10, then remained constant. The ANOVA results for the three dyes, shown in Table 10, indicate that the pH parameter significantly affects ARS adsorption by SCB and (CV and MG) by SCB@ARS, as evidenced by high F-values and P-values below 0.001. These findings confirm that the changes in R(%) with respect to pH are statistically significant, establishing this variable as a critical parameter for ARS adsorption by SCB and (CV and MG) by SCB@ARS. Simple boxplot of R(%) by pH for (a) ARS adsorption using SCB, (b) CV adsorption using SCB@ARS, and (c) MG adsorption using SCB@ARS. Table 10ANOVA statistical analysis for pH and dose parameters (n = 3).ANOVAARS adsorption using SCBSum of squaresDegree of freedomMean squareFPBetween groups19,838.39353967.67956,006.560.000Within groups0.850120.071Total19,839.24317CV adsorption using SCB@ARSSum of squaresDegree of freedomMean squareFPBetween groups7089.70951417.9427991.4080.000Within groups2.129120.177Total7091.83817MG adsorption using SCB@ARSSum of squaresDegree of freedomMean squareFPBetween groups102,188.773520,437.75523,466.650.000Within groups10.451120.871Total102,199.2217 ANOVA statistical analysis for pH and dose parameters (n = 3). Performance of pristine SCB and SCB@ARS adsorbents To assess the value of the SCB and SCB@ARS adsorbents, a comparison of their maximum adsorption capacity (qmax) with other reported adsorbents for ARS and (CV and MG) removal, respectively, was obtained, as presented in Table 11. It was observed that ARS adsorption by the SCB is reasonably positioned with respect to other mentioned investigations, with a qmax of 99.38 mg/g at 25 °C, as it presents a qmax value higher than that of the other reported materials’ qmax. Moreover, the SCB@ARS exhibited excellent adsorption performance for CV and MG, achieving high capacities of 136.919 mg/g and 452.258 mg/g, respectively. It stands out among the adsorbents reported in Table 11 due to its superior uptake, reflecting its abundance of binding sites and strong interactions with the CV and MG dyes, making it highly effective for wastewater treatment. It can be concluded that SCB and SCB@ARS are efficient adsorbents for the adsorption of organic dyes. Table 11Comparison of the adsorption capacity of CV and MG onto SCB@ARS with previously reported studies.AdsorbateAdsorbentAdsorbent doseInitial concentration(mg/L)Equilibrium time(min)Adsorption capacity (mg/g)ReferencesARSSCB0.005 g5012099.38Present studySulfuric acid-modified avocado seeds3 g/L503067.08 80 Spirulina platensis algae1.5 g/L10042.517.15 81 Zeolite L0.025 g/L20–4012095.4 82 Flax fiber-based semicarbazide3 g/L10010018.84 83 CVSCB@ARS0.01 g150120136.841Present studycassava peels powder (RCP)1 g1006026.63 84 Peanut husk (PH)0.1 g1001020.95 85 Trifolium repens stem powder1 g701401.952 86 Coconut husk0.6 g50600.7283 87 MGSCB@ARS0.005 g250120452.258Present studyPolyacrylonitrile modified by Fe2O3NPs0.01 g3075117.803 88 MnFe2O4/clay composite0.2 g1254044 89 Silicon powder0.8 g254038.639 90 Loofah fibers0.4 g/L53018.16 91 Fava bean peel0.1 g/50 mL203011.36 92 Comparison of the adsorption capacity of CV and MG onto SCB@ARS with previously reported studies. The performance of SCB in the sequential adsorption approach is evaluated against previously published studies to determine the efficiency of the current strategy. As shown in Table 12, the present investigation demonstrates higher adsorption capacities, particularly for the second pollutant, compared to the earlier studies. Moreover, it was observed that the previously reported studies focused on the removal of different natures: one organic and the other inorganic. However, the current investigation concerned the removal of two organic pollutants with different charges. Table 12Comparison of SCB and SCB@ARS sorption capacity with previously reported sequential adsorption studies.AdsorbentPollutants removedAdsorbent dosageInitial concentration(mg/L)Equilibrium time(min)Adsorption capacity (mg/g)ReferenceBiochar from Gracilaria Rhodophyta red weeds1st pollutantSilver (Ag)1.0 g/100 mL50454.7 93 2nd pollutantBrilliant Green (BG) dye0.5 g/100 mL1006017.8Sheep wool1st pollutantAlizarin red S (ARS)8.0 g/L1009011.65 94 2nd pollutantCr(VI)8.0 g/L1001209.725Nano sulfonated poly (glycidyl meth- acrylate) particles (SPGMA)1st pollutantCV10 mg20090174.6 49 2nd pollutantCr(VI)10 mg1009084.6Mn(VII)10 mg209011.66Sugarcane bagasse1st pollutantAlizarin red S (ARS)0.5 g/l5012099.38Current study2nd pollutantCV1 g/L150120136.84MG0.5 g/L250120452.26 Comparison of SCB and SCB@ARS sorption capacity with previously reported sequential adsorption studies. Environmental impact Using natural materials, such as SCB, as adsorbents for water contaminant removal typically results in a more favorable environmental impact than conventional chemical methods23,95. SCB is an environmentally advantageous adsorbent because it is an agricultural waste product. Using agricultural waste not only mitigates disposal challenges but also promotes sustainable approaches to wastewater color removal. The cost-effectiveness of SCB positions it as a practical alternative to traditional adsorbents or chemical treatments, particularly in developing countries where financial limitations are pronounced. Its widespread availability further enhances its applicability across various geographic regions. SCB provides an effective solution for dye remediation in wastewater treatment. Additionally, self-functionalization after ARS adsorption yields SCB@ARS, which has been used as an adsorbent for the removal of cationic CV and MG dyes. Limitations Water treatment processes are often subject to several limitations, including removal capacity, selectivity, stability of the applied material in various media, reusability, economic viability, and environmental challenges. The reusability of the applied material specifically limits the present study. Future recommendations Greater emphasis should be placed on sequential adsorption for the removal of multiple contaminants with different charges, as this approach utilizes low-cost, self-functionalized materials that do not require further modification to enhance adsorption efficiency. Additionally, investigating the removal of various pollutants across multiple systems more accurately simulates real-world water treatment scenarios. Kinetic and isotherm models should be evaluated using error function analysis. Furthermore, the use of eco-friendly, practical, low-cost, and readily available biowastes warrants further exploration. Finally, the application of these methods to actual waste samples should be prioritized. Conclusion This study demonstrates an efficient sequential adsorption process for anionic dyes (ARS) followed by cationic dyes (CV and MG), using cost-effective, abundant agro-waste (SCB). The SCB and SCB@ARS were characterized using physical, chemical, and morphological techniques. SCB achieved effective ARS adsorption, with a qe of 99.38 mg/g at pH 2. SCB@ARS showed high adsorption capacities for CV and MG, with qe values of 136.84 and 117.8 mg/g at pH 10, respectively. The adsorption of all three dyes, as indicated by the kinetic and isotherm, was best described by the linear pseudo-2nd-order and nonlinear pseudo-1st-order kinetic models and the Langmuir isotherm model. Thermodynamic analysis shows that the sequential adsorption process was spontaneous and exothermic. SCB@ARS has been effectively used to remediate both CV and MG from contaminated water sources and CV from environmental and pharmaceutical samples, with recovery (%) exceeding 90%. Moreover, the SCB@ARS was successfully applied to remove CV and MG in a binary system. The adsorption processes were proposed to be mainly due to electrostatic interactions, π-π and n-π interactions, and hydrogen bonding. Although these results are promising, the experiments were performed in a laboratory environment, which may not fully represent the complexity of real wastewater matrices. Figure 20 presents the sequential adsorption steps, characterization, application, and adsorption mechanism of ARS into SCB and (CV/MG) into SCB@ARS. The graphical representation of the sequential adsorption steps, characterization, application, and adsorption mechanism of ARS into SCB and (CV/MG) into SCB@ARS. Supplementary Information Below is the link to the electronic supplementary material. Supplementary Material 1 Author contributions Magda A Akl: Conceptualization, Methodology, Investigation, Writing – original draft, review, SupervisionAzza A Fahim : Methodology, Investigation, Writing – original draftAya G Mostafa : Methodology, Investigation, Writing – original draft. Funding Open access funding provided by The Science, Technology & Innovation Funding Authority (STDF) in cooperation with The Egyptian Knowledge Bank (EKB). Data availability All data supporting the findings of this study are available within the paper and its Supplementary Information. Declarations Competing interests The authors declare no competing interests. Footnotes Publisher’s note Springer Nature remains neutral with regard to jurisdictional claims in published maps and institutional affiliations. References Associated Data Supplementary Materials Supplementary Material 1 Data Availability Statement All data supporting the findings of this study are available within the paper and its Supplementary Information.