Introduction

Fresh water is essential for the survival of numerous organisms as well as human consumption, but its supply on Earth is limited. By 2025, half of the world's population is expected to be living in water-stressed conditions1,2. Clearly, industrial and agricultural processes can release a huge amount of contaminants into the water supply3. Release of heavy metals and dyes containing waste water have been a problem for many countries around the world, posing a risk to the environment and human health4,5.

Previous studies have focused on the adsorption of a single pollutant although vast quantities of both metals and azo dyes that form as a result of various activities such as textiles, leather and printing are discharged together into the global aquatic ecosystem. Congo red is one of azo dyes derived from benzidine. Azo dyes are the major materials of synthetic chemicals widely consumed in the textile, printing, laboratory aids, histological stains, plastic, leather, and cosmetics industries. Azo dyes share a characteristic feature as they have nitrogen to nitrogen double bond –N=N–6,7. Generally, 10–15% of the textile dye content remains unattached to the textile fibres during the dyeing process and is released as colour into the surrounding environment, resulting in environmental toxicity and a serious bioaccumulation risk6,8. The indiscriminate disposal of the textile azo dyes discharged by textile industries into aquatic environments, as well as their lack of biodegradability pose adverse effects to the aquatic life, the food chain and human beings. Elevated concentrations of dyes in the aquatic environments can significantly destroy the vital conditions of the environments, limit the penetration of light to the depths of aquatic environments and reduce the dissolved oxygen concentration, consequently the photosynthetic activity of the aquatic plants will be affected and this has a detrimental effect on the biodiversity and aquatic environment's equilibrium9. Azo dyes can cause multiple health issues to humans such as vomiting gastritis, permanent blindness, hypertension, skin irritation, neurobehavioral disorders, contact dermatitis, hepatocarcinoma, splenic sarcomas, bladder cancer, allergy, …etc.10.

Heavy metals are also the greatest group of environmental inorganic pollutants. Heavy metals are discharged into waste streams from different industrial process including petroleum refining, battery manufacturing, mining, pesticides, fertilizers, pigments and plating11. Cobalt consumption is increasing every year, it is widely used in many industrial applications. Cobalt (II) was discharged into the environment from various industrial effluents such as electroplating, metallurgy, mining, super alloys “resistant to corrosion and wear” manufacturing industries, rechargeable battery electrodes, nuclear power plants, petrochemical, electronics, paints and pigments. Cobalt (II) is used also as catalyst for steel-belted radial tires, magnets, chemical industries and airbags12,13. Cobalt (II) is an essential cofactor in production of vitamin B12, that is responsible for accurate functioning of the brain and nervous system also for the blood formation in the human body14. Though, exposure to higher cobalt ions doses cause severe risks ranges in animals, plants and humanbeings. The acute cobalt poisoning in humans causes numerous health troubles such as damage to the liver, heart failure, asthma, allergy, bone defects, hair loss, low blood pressure, the nervous system disorders, reducing thyroid activity (goiter), vomiting, genotoxicity, neuro toxicological disorder and cancer15,16,17. Due to the adverse effects of both Congo red azo dye and Cobalt (II) ions on the environment and human health, it is necessary to eliminate them from the wastewater.

Many different conventional adsorption strategies have been developed to remove contaminants of both heavy metals and dyes from the water effluents and reduce heavy metals toxicity18. Numerous physico-chemical techniques were developed and used for heavy metals and dyes adsorption from wastewater such as ion exchange, chemical precipitation, advanced oxidation process, adsorption on activated carbon, membrane filtration, and electrocoagulation removal19,20,21. However, most of these conventional methods have restricted application as a result of their disadvantages, as it consumes high energy and additional operational costs, as well as generates a large quantity of toxic materials or insufficient adsorption22.

Biosorbents and magnetic nanomaterials adsorbents are two promising techniques. Both methods have shown promising results and sparked considerable interest due to their effectiveness, low energy consumption, and eco-friendly nature. Magnetic nanomaterials adsorbents are characterized by their surface charge, redox activity, as well as the ease with which contaminants can be removed. On the other hand, magnetic adsorbents face numerous challenges, such as commercialization of these adsorbents in order to assess their utility on a larger scale, as well as the possibility of using these adsorbents to eliminate multipollutant solutions23. Whereas, the biosorbents have more advantage due to their abundance and contribution to waste reduction, thereby contributing to environmental improvement23. For treatment of contaminated wastewater, biosorption process has been used using different cost-effective biosorbents24.

In the past few years, algae have attracted attention as effective sustainable biosorbents for metal removal because of its great metal-binding capacity, relative low-cost and its large quantity in all water sources and different surface physio-chemical proparties25,26. Presence of macromolecules such as polysaccharides, proteins and lipids in marine green algal cell walls gives it a large binding capacity, that can be utilized in the biosorption process. Moreover, the presence of uronic acids and sulfhydryl groups gives algal cell wall additional adsorptive power and sticky nature27,28. Enteromorpha intestinalis belongs to the order Ulvales of Chlorophyta. Previous studies illustrated that E. intestinalis polysaccharides is a group of hetero-polysaccharide, containing rhamnose, xylose, mannose, and as well as glucuronic acid as the main constituent29.

The statistical designs such as response surface methodology (RSM) are effective methods for optimization techniques because they take less time, require fewer experiments, are suitable for experiments with multiple variables, and provide a better understanding of possible interactions between variables as well as the identification of the best conditions for the maximum response30,31. Face-centered central composite design (FCCCD) was used to estimate the significance of the various factors for the biosorption of Congo red and cobalt ions from dual solution by using E. Intestinalis dry biomass as biosorbent which provide a fast, economic and high accuracy of the resulted response compared to traditional techniques.

Several studies on single-pollutant adsorption have been conducted, despite the fact that industrial wastewater contains significant amounts of both dyes and metals. As a result, the simultaneous removal of coexisting mixed cobalt ions and Congo red dye received a lot of attention in this study using the dry biomass of macro-green alga, Enteromorpha intestinalis, as a cost effective biosorbent. Simultaneous cobalt ions and Congo red dye biosorption has also been statistically optimized. Characterization of the biomass using scanning electron microscope (SEM) and Fourier-transform infrared spectroscopy (FTIR) analyses were conducted for both Enteromorpha intestinalis biomass before and after the biosorption process of cobalt and Congo red dye.

Materials and methods

Biosorbent harvest and preparation

Enteromorpha intestinalis used in this study was gathered from Jeddah beach, Saudi Arabia in spring 2020. Alga was collected according to institutional, national, and international guidelines and legislation. Identification was performed as previously described by Taylor32. E. intestinalis biomass was carefully washed using running tap water to eliminate sands, and other suspended contaminants, and then dried at 20–25 °C till a constant weight was attained. The biomass was naturally dried at 20–25 °C in the open air. Naturally, drying in the open air is more sustainable and low cost, conditioned by climatic conditions and the length of the day and may avoid the loss of valuable chemical components in seaweed33. Oven-drying often requires relatively high temperatures for prolonged periods (energy-intensive process), which may negatively influence the content of heat-labile components34. Dried E. intestinalis biomass was grounded as powder and sieved using the standard laboratory test sieve with pore size in range of 1–1.2 mm. The obtained powder was kept for biosorption process of Congo red dye and cobalt ions.

Preparation of the stock solutions (Congo red dye and cobalt)

Stock solutions from both Congo red dye (Sigma-Aldrich, Dye content 40%) and cobalt nitrate (Co(NO3)2. 6 H2O; ACS reagent, ≥ 98%) were prepared. 1.0 L distilled water was supplemented with 1.0 g from both Congo red dye and cobalt nitrate. Then the required concentrations were obtained via dilution of the stock solutions.

Design and statistical set up of face centered central composite design (FCCCD) to optimize cobalt and Congo red dye biosorption

In order to achieve the maximum biosorption percent, five independent factors including: initial pH level (X1), Enteromorpha intestinalis concentration (X2), Congo red dye concentration (X3), cobalt concentration (X4), and incubation time (X5) were selected to achieve the maximum simultaneous biosorption of both Congo red dye and Co2+ from dual solution. Fifty experimental runs (randomly ordered) were performed as following; 32 factorial, 10 axial and 8 central points for simultaneous biosorption of both Congo red dye and Co2+. The eight central points were recorded in runs order (15, 23, 24, 29, 33, 34, 42, and 50). The five independent factors vary on three coded levels (− 1, 0 and + 1) as illustrated in Table 1. The initial pH values were 4, 7 and 10, E. intestinalis concentrations were 1.0, 3.0 and 5.0 g/L, initial concentrations of Congo red were 100, 150 and 200 mg/L, initial concentration of cobalt were 40, 120 and 200 mg/L, and incubation time were 20, 40 and 60 min with continuous agitation at 200 rpm. All trials were conducted at 28 ± 2 °C. The responses values (Y) for Congo red dye and cobalt biosorption percent in each experimental run were the average of the three replicates tests. The relation between the five selected variables and the responses (Co2+ and Congo red dye biosorption percentages) were evaluated by applying the following equation of second-degree polynomial:

$$ {\text{Y}} = \beta_{0} + \sum\limits_{{\text{i}}} {\beta_{{\text{i}}} {\text{X}}_{{\text{i}}} + \sum\limits_{{{\text{ii}}}} {\beta_{{{\text{ii}}}} {\text{X}}_{{\text{i}}}^{2} + \sum\limits_{{{\text{ij}}}} {\beta_{{{\text{ij}}}} {\text{X}}_{{\text{i}}} {\text{X}}_{{\text{j}}} } } } $$
(1)

whereas (Y) is the predicted biosorption percent of Co2+ or Congo red, the regression coefficients (β0), the linear coefficient (βi), quadratic coefficients (βii), the interaction coefficients (βij). Meanwhile, (Xi) is the coded values of the independent factors.

Table 1 Mean of experimental and predicted values of simultaneous biosorption of Congo red and cobalt by E. intestinalis using FCCCD matrix.

Statistical analysis

The STATISTICA software package (Version 8.0, StatSoft Inc., Tulsa, USA) was utilized to plan the 3D surface graphs. Design Expert version 7 for Windows software was utilized for the trial designs and statistical analysis.

Analytical methods

Fifteen mL of the dual solution containing Congo red dye and cobalt was centrifuged for every trial of FCCCD. In order to detect the residual concentration (Cf) of Congo red dye, Spectrophotometer was used. The change in absorbance was measured at a wavelength of λmax 494 nm. Regarding the measurement of residual cobalt concentration (Cf), 10 mL of the dual solution was centrifuged and the supernatant was used to measure the remaining concentration of the cobalt ions (Cf) by Atomic absorptions (Buck scientific 2 Accusystem series Atomic Absorption using an air acetylene system) at Biotechnology Unit, Mansoura University, Egypt.

The efficiency of E. intestinalis biomass for biosorption of pollutant from aqueous dual solution was detected and expressed as percentage via the following equation:

$$ {\text{Biosorption}}\,{\text{(\% ) = }}\frac{{{\text{C}}_{{\text{i}}} - {\text{C}}_{{\text{f}}} }}{{{\text{C}}_{{\text{i}}} }} \times 100 $$
(2)

whereas Ci is initial pollutant concentration and Cf is final pollutant concentration.

Fourier-transform infrared (FTIR) scan analysis

Chemical functional groups have been illustrated for both crude E. intestinalis biomass and E. intestinalis biomass after biosorption of both Congo red dye and cobalt ions biosorption using Fourier Transform Infrared (FTIR) spectrometry “Thermo Fisher Nicolete IS10, USA” with spectral ranged from 500 to 4000 cm−1 at “Microanalysis Unit, Faculty of Science, Mansoura University”.

Scanning electron microscopy (SEM)

Dried samples of E. intestinalis biomass before and after cobalt and Congo red dye biosorption were scanned by SEM to survey the cell surface morphology prior and after the biosorption process for both cobalt ions and Congo red dye. The gold-coated dry samples were examined at 2500× magnification power with accelerated beam voltage quantified as 30 keV.

Results and discussion

Simultaneous biosorption of heavy metals and dyes by algae is a complicated process which is controlled by key factors such as biosorbent, initial metal concentrations, initial pH value, contact time as well as initial dye concentrations11,35,36,37.

Statistical optimization of Congo red and Co2+ biosorption using E. intestinalis biomass based on face-centered central composite design (FCCCD)

Optimization of the operational process variables is particularly crucial for the simultaneous biosorption process. Response surface methodology (RSM) is a statistical and mathematical approach used for decades to optimize various processing variables. It is widely used to elucidate the correlation between the various processing parameters and to determine optimal values for variables that have a substantial impact on the response11,36,38,39. Response surface methodology using FCCCD was performed to elucidate the relations between the tested independent factors besides to detect their optimal levels to improve the bioremoval percentages. Fifty (randomly ordered) experimental runs with different combinations of initial pH level, algal biomass, Congo red concentration, cobalt concentration and incubation time were performed. The various coded and actual levels of the five independent factors and the Congo red dye and cobalt ions removal % in each run had been illustrated in Table 1. This data illustrates a great variation in the biosorption process of dye and cobalt ions removal %. The maximum removal percent for Congo red was quantified as 100.00 at the 36th run, with pH level (10), algal biomass concentration (1 g/L), Congo red concentration (100 mg/L), cobalt concentration (200 mg/L), and incubation time (20 min). The minimum Congo red removal percent achieved at the 17th run with pH level (10), algal biomass concentration (5 g/L), Congo red concentration (200 mg/L), cobalt concentration (40 mg/L), and incubation time (20 min). On the other hand, the maximum cobalt removal was recorded at 35th run with percent quantified as 85.22 using these variables: pH level (7), algal biomass concentration (3.0 g/L), Congo red concentration (150 mg/L), cobalt concentration (120 mg/L), and incubation time (60 min), while minimum cobalt removal was done at 31th run using these variables: pH level (10), algal biomass concentration (5.0 g/L), Congo red concentration (200 mg/L), cobalt concentration (40 mg/L), and incubation time (60 min).

Multiple regression analysis and ANOVA

Data of both Congo red dye and Co2+ biosorption percent had been statistically analyzed employing multiple regression analysis and the results were illustrated in Tables 2, 3, 4 and 5. The analysis also includes the coefficient of determination (R2) values that detect the effectiveness of the polynomial regression model, the predicted R2 values, the adjusted R2 values, the coefficient estimate, Fisher test (F-test) as well as probability P-value, Linear, interactions and quadratic impacts. A regression model which has an R2 value higher than 0.9 was considered to be strongly correlated40. In the present study, the value of R2 (Table 2) is very high for Congo-red dye (0.9847) that proves 98.47% of variation in Congo-red biosorption was influenced by the independent variables, only 1.53 could not be interpreted in the view of model. While R2-value for Co2+ biosorption was determined as 0.9975 that proves 99.75 of variation in Co2+ biosorption could be affected by independent variables and explained by the model. In the current model, the Adj R2 value of the Congo red dye biosorption percent was quantified as 0.9741 was also high which verify the great model significance. Whereas, the predicted R2 value quantified as 0.9580. In addition, Co2+ biosorption recorded Adj R2 value calculated as 0.9958 while predicted R2 value computed as 0.9925 which verified a great significance model (Table 3).

Table 2 Analysis of variance for simultaneous biosorption of Congo red by E. intestinalis achieved by the FCCCD.
Table 3 Analysis of variance for simultaneous biosorption of cobalt by E. intestinalis achieved by the FCCCD.
Table 4 Fit summary for simultaneous biosorption of Congo red by E. intestinalis achieved by the FCCCD.
Table 5 Fit summary for simultaneous biosorption of Cobalt by E. intestinalis achieved by the FCCCD.

The positive coefficient values indicate that linear (X1, X4, X5), mutual interactions (X1 X4, X1 X5, X3 X5) and the quadratic (X22, X42) effects of the variables positively affect Congo red dye removal % by E. intestinalis biomass (synergistic effect) (Table 2) which demonstrates increase in biosorption of Congo red dye. On the other hand, the positive coefficient values indicate that linear (X1, X4, X5), mutual interactions (X2 X4, X3 X5, X4 X5) and the quadratic (X22, X52) effects of the variables positively affect biosorption of cobalt by E. intestinalis biomass (Table 3). Whereas, the negative coefficient values mean that the variables decreases Congo red dye and cobalt removal % by E. intestinalis biomass in the tested range of the experimental variables (Tables 2, 3). multiple regression analysis of the model.

The analysis of variance (ANOVA) results of the model was calculated for Congo red dye biosorption percent (Y1) which demonstrates that the model is highly significant which is assured by a very low probability value (P-value quantified as < 0.0001) and Fisher’s (F-value quantified as 93.13) (Table 2). Whereas the ANOVA of the regression model of Co2+ biosorption percent (Y2) which demonstrates that the model is highly significant which is assured by the very small P-value (˂ 0.0001) and computed F-value (583.40) (Table 3).

The probability values (P-values) were calculated to test the significance of each of the coefficients, which are essential to asses the significance of the independent factors. Variables having P-values less than 0.05 were considered to have statistically significant impacts41. For Congo red dye biosorption, the calculated P-values demonstrated that the linear coefficients of E. intestinalis biomass concentration, initial Congo red concentration, initial Co2+ concentration and incubation time were significant for Congo red dye biosorption with P-value quantified as < 0.0001, < 0.0001, < 0.0001 and 0.0050; respectively. On the other hand, the linear coefficient of initial pH level is not significant model term that not contribute to the Congo red dye biosorption (P-value > 0.05). All interaction effects among the process variables are significant except the interaction between X1X5 (initial pH value and incubation time) (P-value = 0.318), the quadratic coefficients (X22, and X52) were found to be significant. The quadratic coefficients (X12, X32 and X42) were found to be non-significant (Table 2).

With regard to the calculated P-values for Co2+ biosorption demonstrated that initial pH level, E. intestinalis biomass concentration, initial Congo red concentration and initial Co2+ concentration were significant for Co2+ biosorption process with P-value calculated as < 0.0001. On the other hand, the linear coefficient of incubation time is not significant model term (P-value = 0.2578). Furthermore, Co2+ biosorption all variables recorded a significant interactions effects with probability (P-value < 0.05) except the interaction between E. intestinalis biomass concentration and incubation time (X2X5). All quadratic effects were found to be significant. (Table 3).

To estimate the correlation between dependent (Congo red dye and cobalt removal percent) and independent variables as well as to predict the maximum Congo red dye and cobalt removal % by E. intestinalis biomass in terms of optimum levels of the variables, the coefficients were fitted to the following a second-order polynomial equations:

$$ \begin{aligned} & {\mathbf{The}}\,{\mathbf{predicted}}\,{\mathbf{value}}\,{\mathbf{percent}}\,{\mathbf{for}}\,{\mathbf{Congo}}\,{\mathbf{red}}\,{\mathbf{dye}}\,{\mathbf{biosorption}} = 47.02 + 0.64{\text{X}}_{1} {-}6.38{\text{X}}_{2} \\ & {-}7.95{\text{X}}_{3} + 5.86{\text{X}}_{4} + 1.40{\text{X}}_{5} {-}6.20{\text{X}}_{1} {\text{X}}_{2} {-}5.37{\text{X}}_{1} {\text{X}}_{3} + 11.83{\text{X}}_{1} {\text{X}}_{4} + 0.49{\text{X}}_{1} {\text{X}}_{5} {-}1.73{\text{X}}_{2} {\text{X}}_{3} \\ & {-}3.95{\text{X}}_{2} {\text{X}}_{4} {-}1.01{\text{X}}_{2} {\text{X}}_{5} {-}5.39{\text{X}}_{3} {\text{X}}_{4} + 1.52{\text{X}}_{3} {\text{X}}_{5} {-}3.16{\text{X}}_{4} {\text{X}}_{5} {-}0.24{\text{X}}_{1}^{2} + 4.50{\text{X}}_{2}^{2} {-}1.32{\text{X}}_{3}^{2} \\ & + 0.34{\text{X}}_{4}^{2} {-}3.54{\text{X}}_{5}^{2} \\ \end{aligned} $$
$$ \begin{gathered} {\mathbf{The}}\,{\mathbf{predicted}}\,{\mathbf{value}}\,{\mathbf{percent}}\,{\mathbf{for}}\,{\mathbf{Co}}^{{{\mathbf{2}} + }} \,{\mathbf{biosorption}} = 48.71 + 1.61{\text{X}}_{1} {-}3.92{\text{X}}_{2} {-}4.48{\text{X}}_{3} \hfill \\ + \,20.31{\text{X}}_{4} + 0.25{\text{X}}_{5} {-}4.47{\text{X}}_{1} {\text{X}}_{2} {-}2.20{\text{X}}_{1} {\text{X}}_{3} {-}2.26{\text{X}}_{1} {\text{X}}_{4} {-}3.30{\text{X}}_{1} {\text{X}}_{5} {-}1.52{\text{X}}_{2} {\text{X}}_{3} + 0.70{\text{X}}_{2} {\text{X}}_{4} \hfill \\ {-}\,0.32{\text{X}}_{2} {\text{X}}_{5} {-}3.54{\text{X}}_{3} {\text{X}}_{4} + 2.13{\text{X}}_{3} {\text{X}}_{5} + 1.52{\text{X}}_{4} {\text{X}}_{5} {-}16.68{\text{X}}_{1}^{2} + 14.59{\text{X}}_{2}^{2} {-}3.90{\text{X}}_{3}^{2} {-}5.91{\text{X}}_{4}^{2} \hfill \\ + \,9.16{\text{X}}_{5}^{2} \hfill \\ \end{gathered} $$

whereas X1 to X5 are the coded levels of X1 (initial pH value), X2 (E. intestinalis biomass), X3 (Congo red dye concentration) and X4 (cobalt concentration), and X5 (incubation time).

The fit summary statistics specifies that the model which has greater adjusted and predicted R-squared with a very low probability value and smallest standard deviation38. The fit summary data results (Tables 4, 5) confirmed that, the quadratic model is a highly significant model for both Congo red dye and Co2+ biosorption using E. intestinalis biomass with the largest adjusted and predicted R-squared. The fit summary statistics for Congo red biosorption (Table 4) having not significant lack of fit with P-value quantified as 0.8517 and F-value equal 0.57. Meanwhile, the quadratic model showed the smallest standard deviation of 2.69 (Table 4). The quadratic model of Congo red biosorption showed the highest adjusted R-squared of 0.9741, predicted R-squared of 0.9580. On the other hand, the fit summary statistics for Co2+ biosorption (Table 5) having not significant lack of fit with P-value quantified as 0.6901 and F-value equal 0.79. Meanwhile, the quadratic model showed the lowest standard deviation of 1.26 (Table 5). The quadratic model of Co2+ biosorption showed the highest adjusted R-squared of 0.9958, predicted R-squared of 0.9925.

Three dimensional (3D) graphs

The three dimensional (3D) graphs were generated for the pairwise combinations between the five factors to determine the optimum conditions to achieve the maximum percentages of biosorption of Congo red dye and Co2+ by E. intestinalis and to visualize the interactions among the test variables. 3D surface plots for the pairwise combinations of the five variables (X1X2, X1X3, X1X4, X1X5, X2X3, X2X4, X2X5, X3X4, X3X5 and X4X5) were generated by plotting the biosorption (%) of Congo red dye or Co2+ by E. intestinalis on Z-axis against two independent variables while the other independent process factors were held at their center (zero) level. The three-dimensional surface plots showing the effects of the five factors on the biosorption of Congo red dye by E. intestinalis are illustrated in Fig. 1A–J. Meanwhile, the three-dimensional surface plots showing the effects of the five factors on the biosorption of Co2+ by E. intestinalis are illustrated in Fig. 2A–J.

Figure 1
figure 1

Three-dimensional surface plot for biosorption of Congo red by E. intestinalis showing the interactive effects of two variables at a time of the five tested variables. (A) initial pH level and algal biomass concentration, (B) initial pH level and Congo red concentration, (C) initial pH level and cobalt concentration, (D) initial pH level and incubation time, (E) algal biomass conc. and Congo red concentrations, (F) algal biomass and cobalt concentrations, (G) algal biomass concentration and incubation time, (H) Congo red and cobalt concentrations, (I) Congo red concentration and incubation time and (J) cobalt concentration and incubation time.

Figure 2
figure 2

Three-dimensional surface plot for biosorption of cobalt by E.intestinalis biomass, showing the interactive effects of two variables at a time of the five tested variables. (A) initial pH level and algal biomass concentration, (B) initial pH level and Congo red concentration, (C) initial pH level and cobalt concentration, (D) initial pH level and incubation time, (E) algal biomass conc. and Congo red concentrations, (F) algal biomass and cobalt concentrations, (G) algal biomass concentration and incubation time, (H) Congo red and cobalt concentrations, (I) Congo red concentration and incubation time and (J) cobalt concentration and incubation time.

Effect of initial pH on the biosorption percent

3D surface graphs (Fig. 1A–D) illustrated the effect of the initial pH value (X1) when interacting with the other four parameters including cobalt concentration, Congo red dye concentration, E. intestinalis biomass concentration and incubation time on Congo red dye biosorption percent. Meanwhile, 3D surface graphs (Fig. 2A–D) illustrated the effect of the initial pH value (X1) when interacting with the other four parameters including cobalt concentration, Congo red dye concentration, E. intestinalis biomass concentration and incubation time on Co2+ biosorption percent.

Alkaline pH (pH = 10) was found to be the optimum for the biosorption process. The chemical composition of Enteromopha sp. dried cells reveal that it consists of 63% polysaccharides, 9.2% proteins, 13.8% lipids and 1.4% ash content42. Enteromopha dried cells contains various different chemical functional groups such as hydroxyl, carboxylic, amines and amides groups as a result of saccharide and protein content. In an acidic medium, these functional groups were protonated, interacts and compete with the metal ions and dye, thus in acidic media the biosorption percent is reduced43. The pH of the solution affects not only the ion species of cobalt ions, but also the charge states of the adsorbents whereas at higher pH values, the negative surface of adsorbents could adsorb positively charged metal ions with electrostatic attraction44. The effect of pH on Co2+ adsorption could be explained on the basis of the point of zero point charge pH value surface charge of the E. intestinalis is negatively charged, when the pH of the solution increases, the number of positively charged sites decreases and favours the adsorption of Co2+ due to electrostatic attraction45. Abbas et al.15 reported that the percentage of Co2+ adsorption increases with increasing pH value and the Freundlich model fits the data with a monolayer adsorption capacity of 111.11 mg/g at pH value quantified as 9. The effective removal of congo red and Fe2+ by Cystoseira trinodis was increased at pH 6–846.

Increasing pH value at alkaline values enhances the deprotonation of the active binding sites, creates different negative charges functional groups available and gives the surface of Enteromopha biomass more negative charges. Also in elevated pH levels, enhances the formation of OH radicals hence, the negatively charged chemical functional groups enables the biosorption of metal ions which are positively charged11,47.

Effect of E. intestinalis dosage on the biosorption percent

3D surface graphs (Fig. 1A, E, F, G) illustrated the effect of the biomass concentration (X2) when interacting with the other four parameters including the initial pH value, cobalt concentration, Congo red dye concentration and incubation time on Congo red dye biosorption percent. Meanwhile, 3D surface graphs (Fig. 2A, E, F, G) illustrated the effect of the biomass concentration (X2) when interacting with the other four parameters including the initial pH value, cobalt concentration, Congo red dye concentration and incubation time on Co2+ biosorption percent. It is evidence that the lower concentration of E. intestinalis biomass provides highest biosorption percent of Congo red dye and Co2+ and vice versa. The maximum simultaneous biosorption of both Co2+ and Congo red dye from a dual solution was obtained at biomass concentration beyond 1 g/L.

Different algal biomass and its components are recognized to be excellent sustainable biosorbents for dyes and metals removal due to its high metallic affinity, low cost and local abundance in fresh and salt water and their surface characteristics48. Previous studies reported a high metal-binding potentiality of algal cell wall as a result of its polysaccharides or proteins, which contains active groups such as carboxylic, hydroxyl and amino that act as active sites for metals removal18. Previous study reported the effectiveness of algal species (Synechocystis pevalekii and Scenedesmus bernardii) for the biosorption of Co2+46. Algae showed a wide range of metal-binding abilities, which could be explained by differences in cell wall polysaccharides and proteins, which play a key role in cell surface binding sites. El-Naggar et al.11 documented that the active sites available for removal of dye and metal ions are limited by the agglomeration. The decrease in the biosorption process at higher algal biomass concentration could be attributed to agglomeration and, as a result, a reduction in intercellular distance leading to a decrease in total surface area and available active sites for metals removal49.

Effect of the initial Congo red dye concentration on the biosorption percent

3D surface graphs (Fig. 1B, E, H, I) illustrated the effect of the initial Congo red dye concentration (X3) when interacting with the other four parameters including the initial pH value, E. intestinalis biomass concentration, cobalt concentration and incubation time on Congo red dye biosorption percent. Meanwhile, 3D surface graphs (Fig. 2B, E, H, I) illustrated the effect of the initial Congo red dye concentration (X3) when interacting with the other four parameters including the initial pH value, E. intestinalis biomass concentration, cobalt concentration and incubation time on Co2+ biosorption percent. The biosorption process of Congo red dye by E. intestinalis biomass decreased at high Congo red dye concentration. The maximum biosorption of Congo red dye by E. intestinalis biomass with percent quantified as 100% was achieved at 100 mg/L from Congo red dye. The depletion of available binding sites on the surface of E. intestinalis may play a key role in reducing Congo red dye biosorption. Dye concentration have a great effect on the biosorption process and its efficiency, the initial dye concentration give an important driving force to get rid of any resistance from mass transfer that could be resulted from aqueous and solid state35,50.

Influnce of initial Co2+ concentration on the biosorption percent

3D surface graphs (Fig. 1C, F, H, J) illustrated the effect of the initial cobalt concentration (X4) when interacting with the other four parameters including the initial pH value, E. intestinalis biomass concentration, Congo red dye concentration and incubation time on Congo red dye biosorption percent. Meanwhile, 3D surface graphs (Fig. 2C, F, H, J) illustrated the effect of the initial cobalt concentration (X4) when interacting with the other four parameters including the initial pH value, E. intestinalis biomass concentration, Congo red dye concentration and incubation time on Co2+ biosorption percent. The biosorption process of Co2+ by E. intestinalis biomass enhanced by the increase of the Co2+ concentration. The maximum biosorption of Co2+ by E. intestinalis biomass was achieved at the initial Co2+ concentration of 200 mg/L with percent of 85.22% and 41.14% for Co2+ and Congo red dye biosorption; respectively. The percentage of Co2+ biosorption increases by increasing the initial concentration of Co2+ which can provide a strong enough driving force to overcome the resistance to mass transfer of Co2+ between the aqueous and solid phases in the solution51. Meanwhile, the reduction in the biosorption process could be resulted from saturation of the binding sites11. Metal biosorption is a surface process in which cell wall polysaccharides mediated biosorption by the interaction between the negatively charged surface of cell wall polysaccharide and the positively charged metal ion52,53. The fixed negative charges of Enteromorpha intestinalis cell wall have pKa of 2 in situ and 1.75 in vitro, and seem to be a mixture of sulphate and carboxyl sugar esters54.

Effect of incubation time on the biosorption percent

3D surface graphs (Fig. 1D, G, I, J) illustrated the effect of the incubation time (X5) when interacting with the other four parameters including the initial pH value, E. intestinalis biomass concentration, Congo red dye concentration and cobalt concentration on Congo red dye biosorption percent. Meanwhile, 3D surface graphs (Fig. 2D, G, I, J) illustrated the effect of the incubation time (X5) when interacting with the other four parameters including the initial pH value, E. intestinalis biomass concentration, Congo red dye concentration and cobalt concentration on Co2+ biosorption percent.

In this study, the optimum biosorption percent of Co2+ and Congo red dye by E. intestinalis biomass from dual mixture percent clearly situated close to 20 min. The optimum dye biosorption percent about 91.92% was achieved by 1.25 g/L Ulva lactuca as biosorbent after 1.5 h of contact period. Meanwhile, the optimum bio- elimination of Malachite green using Scenedesmus sp. MCC26 was achieved after 1 h of contact period55,56. The current experimental data have revealed clearly that the percentage of Congo red dye and Co2+ using E. intestinalis biomass could be achieved at a relative lower incubation time that illustrated the effectiveness of E. intestinalis biomass as cost effective biosorbent. Rapid biosorption during initial incubation time is likely as a result of the existence of great amount of vacant active binding sites. However, over time, the active surface binding sites on the biomass surface become saturated, resulting in slower biosorption process57.

The model adequacy for Congo red and cobalt biosorption

Plots of internally studentized residuals versus predicted values and Box- Cox plot of model transformation of Congo red biosorption by E. intestinalis were shown in Fig. 3A, B. Figure 3A exhibited the residuals versus the predicted percentages for biosorption of Congo red dye from solution by using E. intestinalis biomass. The graph indicates that the gathered points alongside the diagonal line illustrating the validity of the model. Also, Fig. 3B demonstrated Box–Cox plot of the model transformation that has been designed for biosorption of Congo red dye from dual solution using E. intestinalis biomass. As illustrated in Fig. 3B, the Lambda (λ) optimal value of 1 occurs between the two vertical red lines, so that no additional transformation data is essential.

Figure 3
figure 3

(A) Plot of internally studentized residuals versus predicted values and (B) Box- Cox plot of model transformation of Congo red biosorption by E. intestinalis.

Normal probability plot of internally studentized residuals, and plot of predicted versus actual values of cobalt biosorption by E. intestinalis were shown in Fig. 4A, B. Figure 4A shows all the residuals from the fitted model are normally distributed along the diagonal line of the normal distribution, illustrating the validity of the model58. Figure 4B displays all the points of the model’s predicted removal percentages of cobalt biosorption by E. intestinalis located along the diagonal line that indicates that the model’s predicted percentages agree with the actual percentages, approving that cobalt model is precise.

Figure 4
figure 4

(A) Normal probability plot of internally studentized residuals, and (B) plot of predicted versus actual values of cobalt biosorption by E. intestinalis.

Optimization using the desirability function (DF)

The principal target of the experimental design is to achieve the best working conditions for achieving maximum simultaneous Cong red dye and cobalt ions biosorption. The optimum predicted values and the desirability function for the maximum percentages of Co2+ and Congo red dye removal using E. intestinalis biomass were shown in Fig. 5. The optimum predicted conditions obtained using the desirability function for the highest biosorption of Congo red dye and Co2+ using E. intestinalis biomass were initial pH value (10), the E. intestinalis biomass concentration of 1.0 g/L, the initial Congo red dye concentration of 100 mg/L, initial Co2+ concentration of 200 mg/L, and incubation time of 20 min. These optimized conditions resulted in the biosorption percentages quantified as 100.47% and 85.35% (with DF of 1) for Congo red dye and Co2+; respectively. To verify the biosorption percentages of Congo red dye and Co2+ by E. intestinalis biomass under the optimal predicted conditions, the experiments were conducted in triplicates for each trial and the experimental results compared with the predicted data. The biosorption percentages of Congo red dye and Co2+ were found to be 100% and 80.22; respectively demonstrating a high correlation between the experimental values and predicted ones.

Figure 5
figure 5

The optimum predicted values and the desirability function for the maximum percentage of cobalt and Congo red dye biosorptionusing E. intestinalis biomass.

FTIR analysis

The FTIR spectra of E. intestinalis biomass samples were compared before and after biosorption of Congo red dye and Co2+ (Table 6 and Fig. 6) to clarify the differences caused by metal ions and dye molecules interactions with the functional groups. E. intestinalis biomass surface walls composed of polysaccharides, lipids, and proteins42,59, which contain numerous functional groups (amino, hydroxyl, carboxylate and phosphate groups) that gives the algal biomass its capability for metal ions biosorption via complex reaction and ion exchange35. These chemical groups are also deprotonated at pH values higher than their acidic dissociation conditions hence it interacts with metal ion60. FTIR patterns illustrated in Fig. 6A, B and Table 6 which demonstrated the functional groups of the crude biomass of E. intestinalis and illustrated the significant modifications in the FTIR pattern after the simultaneous biosorption of Co2+ and Congo red dye. The shift in the wave numbers reveal the association of E. intestinalis biomass surface walls in the biosorption of both Congo red dye and Co2+ via the ion exchange process. The maximum sorption capacity of Enteromorpha spp. towards Congo red dye, cobalt and others absorbents is summarized in Table 761,62,63,64,65,66.

Table 6 Recorded FTIR peaks for both E. intestinalis biomass before and after Congo red dye and cobalt ions biosorption.
Figure 6
figure 6

FTIR analysis of Enteromorpha intestinalis biomass: (A) before and (B) after simultaneous biosorption of cobalt and Congo red dye.

Table 7 The maximum sorption capacity of Enteromorpha spp. towards Congo red dye, cobalt and others absorbents.

The sharp stretching peaks allocated around 3448–3463 cm–1 are assigned to hydroxyl group (OH) and lapped with primary amines stretching (NH)67,78. The shift occurred from 3448 to 3463 cm–1 after biosorption of Congo red dye and Co2+ illustrated the role of protein and carbohydrate components in biosorption process. Weak bands at 2923 and 2929 cm–1 are related to C-H stretching such a sign for carbohydrate67,69. Meanwhile, the sharp peaks around 1653 and 1635 cm–1 are attributed to the stretching vibration of the carboxylic acid ester group (C=O) that related to primary amines70, which may illustrate the role of protein in biosorption process. The vibrational peaks around 1459 and 1456 cm–1 could be raised from symmetric stretching vibration of the carboxylate group71. The current data also exhibited weak bands allocated at 1261 and 1260 cm–1 that refers to the presence of O-SO3 group which forming the sulphated polysaccharides72. While the sharp stretching bands at 1034 and 1053 cm–1 are results in response to C–O–C group which specify the occurrence of uronic acids73. Both uronic acids and sulphated polysaccharides give the cell surface a sticky property28. The weak peak at 851 cm–1 is a sign for glycosidic linkage as a result of α-structure of glucose units74. The weak vibrational absorption peak around at 798 cm–1 may be attributed to wagging vibration of C–H bond75. The characteristic absorption peaks at 674 and 672 cm–1 representing C–C twisting (alkanes)76.

Surface morphological analysis

Scanning electron mirosope (SEM) analysis allows the direct scan of the surface topography and characteristics of E. intestinalis. SEM images, illustrated Enteromorpha intestinalis biomass before and after Congo red and Co2+ biosorption (Fig. 7A, B). Figure 7A revealed a rough and undulated surface of the untreated E. intestinalis biomass. Figure 7B showed the appearance of new shiny particles biosorbed on the surface of E. intestinalis. Another characteristic feature had been illustrated (Fig. 7B), E. intestinalis surface had been reduced which could be as a result of potential cross-linking binding between positively charged Co2+ ion and the negatively charged chemical functional groups in the polymers of E. intestinalis cell wall79. The rough and undulated nature of the surface of E. intestinalis improved the exposure of the biosorption active sites in the surface area, resulting in the superior bioabsorption efficacy of Congo red dye and Co2+80.

Figure 7
figure 7

SEM images, illustrated Enteromorpha intestinalis biomass: (A) before and (B) after Congo red and Co2+ biosorption.

Electron dispersive spectroscopy (EDS)

EDS is an important tool for a precise examination of the elemental composition, as well as distribution of elements in different biomasses81. Samples of E. intestinalis biomass before and after Co2+ and Congo red dye biosorption was subjected to EDSanalysis. EDSanalysis was used to confirm the presence of Co2+ on the surface of E. intestinalis biomass after the biosorption process. EDS, illustrated Enteromorpha intestinalis biomass before and after Congo red and Co2+ biosorption were shown in Fig. 8A, B. EDS analysis revealed that each sample contained carbon and oxygen. In addition, EDS analysis revealed that each sample contained some inorganic components. EDS analysis proved the presence of nine metals before biosorbition (Mg, Al, Si, S, K, Ca, Fe, Zn and Cu) and seven metals after biosorbtion (Mg, Al, Si, S, K, Ca and Co). After the biosorption process, leaching of Fe, Zn and Cu was observed. Usually, when adding powdered biomasss in aqueous solution, leaching of elements such as Ca, Mg, …etc. was observed82. EDS analysis (Fig. 8A) illustrated that crude E. intestinalis biomass lack Co2+ absorption peak. Meanwhile, EDSanalysis (Fig. 8B) proved the presence of optical absorption peaks related to Co2+ after the biosorption process. The presence of Co2+ after the biosorption process demonstrates the key role and capabiltiy of E. intestinalis biomass in the biosorption processes of Co2+ from dual aqueous solution. The biomass of the alga contains the same elements of Congo red C, O, N and S. So, after the biosorption process of Congo red and Co2+, the percentages of these elements changed. The variations in elements weight percentages before and after sorption process.

Figure 8
figure 8

EDS, illustrated Enteromorpha intestinalis biomass: (A) before and (B) after Congo red and Co2+ biosorption.

Different mechanisms of biosorption

Thallus of Enteromorpha intestinalis formed by hollow tubes83. Cell walls of Chlorophyta contain skeletal polysaccharides enmeshed in a matrix. However, the skeletal polysaccharides in Chlorophyta cell walls form double fibrillar layers (inner layer and outer layer) with an amorphous matrix in between. The amorphous matrix is polysaccharides84. Cell-wall mucilaginous polysaccharides from Enteromorpha intestinalis contained a sulphated glucoglucuronoxylorhamnan containing about 43% rhamnose, 19·8% sulphate and 17% uronic acid85. Glucose, xylose, galactose, rhamnose, and glucuronic acid residues make up 63% of the dry weight of the cell wall of Enteromorpha intestinalis86. Furthermore, a trace amount of glucosamine (0.3%) was detected. Specific tests revealed that glucose and galactose contributed for 22.4% and 5.3% of the wall weight, respectively. The protein content of the walls was 9.2%, with at least 18 amino acids. The lipids content of the walls was 13.8% total87.

The principal binding mechanisms of the biosorption process by the algal biomass surface (Fig. 9) include ion exchange between various ions and protons at the binding sites on the algal biomass surface), complexation between the ligands on the algal surface contaminants and the cations, surface precipitation, diffusion interior and bioaccumulation within the cells, chelation or binding to intracellular components and proteins24,36,88. and reduction reactions, accompanied by metallic precipitation on the cell wall matrix89. The biosorption process's mechanism is mostly dependent on physical and/or chemical adsorption via covalent binding between the cell surface negative charges and the different functional groups of biomacromolecules including polysaccharides, proteins, and lipids on the algal cell wall surface which involve several functional group40. The functional groups on the cell surface (e.g. sulfhydryl, phosphate, carboxyl, thiol and amino groups) serve as cell surface binding sites. The metal ions are typically adsorbed to the algal cell wall surface through the physical and/or chemical adsorption or ion exchange between the metal cations and the cell surface37. Ion-exchange may take place between various light metal ions like K+, Na+, Mg2+, …etc. which are released upon binding of a heavy metal cation with the binding sites on the cell surface biomacromolecules. The proteins content of green algae surface wall includes functional groups such as hydroxyl, amines, carboxyl and sulphate59, which are responsible for the metal ions biosorption onto algal biomass through ion exchange and complexation reactions. Biosorption of metal ions takes place via the ion exchange process on the cell surface11.

Figure 9
figure 9

Schematic diagram showing the possible kinetic mechanisms of metal ions biosorption by Enteromorpha intestinalis thallus surface. The photograph is a part of scanning electron microscope for Enteromorpha intestinalis thallus surface.