Introduction

Access to clean water is a fundamental human right and an essential component of sustainable development (Kumar et al. 2018, 2022). However, it remains a distant dream for many people across the world. Water contamination is linked to several Sustainable Development Goals, including Goal No. 3: Good health and well-being, Goal No. 6: Clean water and sanitation, Goal No. 11: Sustainable cities and communities, Goal No. 12: Responsible consumption and production, Goal No. 13: Climate action, and Goal No. 15: Life on land (Sharma et al. 2022). The United Nations General Assembly has recognized these goals, and their achievement is crucial for a better future for our planet (Kumar 2022; Shakya and Kumar 2023). Over the last two decades, different countries have implemented several measures to ensure clean water. Water can be divided into two categories: surface water and groundwater. Surface water is more susceptible to contamination as it is easily exposed to human settlements. Even though groundwater is protected by layers of the earth, human activities such as industrial effluent discharge and agriculture have contributed significantly to its contamination (Khatri et al. 2023).

Groundwater is widely recognized as an important source of drinking water in low-income areas. The population growth, urbanization, industrialization, climate change, water contamination, and weak water resources management have caused to decline in the water resources quantity and quality and intensive water shortages for human beings (Bahrami et al. 2020a Vörösmarty et al., 2010). On average, harvesting the nonrenewable water has led aquifers’ water tables to decrease by about 0.5 m y− 1 across Iran (Noori et al. 2021). Whereas meteorological and hydrological droughts treat as stimuli and exacerbate the discharge rate in country-wide groundwater storage (e.g., Shiraz, Yazd-Ardakan, and Neishabour plains), basin-scale groundwater discharges in Iran are primarily occasioned by immense human water extractions (Ashraf et al. 2021; Noori et al. 2021). These have led to numerous obstacles, such as over-harvesting and declining water quality, subsidence, and groundwater salinization. Therefore, conserving groundwater sustainability in terms of quality and quantity is vital (Ashraf et al. 2021; Barakat et al. 2020; Gharahi and Zamani-Ahmadmahmoodi 2020). Iran, as an arid and semi-arid vast country (1.648 million km²), has faced with water crisis due to inappropriate agricultural management, low precipitation (In 2021, the precipitation rate was 36% lower than the average of the previous 52 years), and unfavorable rainfall distribution (Abbasnia et al. 2019; Khosravi et al. 2017). These factors have placed a massive amount of pressure on the country’s groundwater resources, quantitatively and qualitatively. Therefore, water decision-makers must monitor groundwater quality parameters to prevent water resources’ vulnerability to extensive agricultural activities.

In the southern regions of Iran, groundwater resources are not only for drinking purposes, but also widely used to supply water for agriculture, domestic, and industrial. These arid and semi-arid regions have been facing intensive water scarcity due to the increasingly severe water use in the agriculture sector and the profound impact of long-term droughts on the quantity and quality of groundwater (Bahrami et al. 2020b; Honarbakhsh et al. 2019). Assessing groundwater quality requires proper tools and approaches for processing qualitative data because water quality evaluation is harsh due to the incredible amount of data that must be analyzed (Bahrami et al. 2020a). Generally, groundwater exposure to contamination can be appraised considering three kinds of techniques, namely (a) geographical information system (GIS)-based qualitative, (b) process-based, and (c) statistical approaches (e.g., artificial intelligence techniques) (Kong et al. 2019). These strategies are assigned for the evaluation of groundwater vulnerability and generally render various constraints like high cost, unavailable code, and a lack of functionality toward the flexible usage of vulnerability indices and their map comparison (Duarte et al. 2019).

The generation, manipulation, analysis, and visualization of geographic information are provided by applying various layers of information and large data sets in GIS in a flexible and integrated procedure. It, therefore, meets the needs of complex hydrogeological conceptual techniques that frequently need a comprehensive and multidisciplinary perspective to acquire an explicit demonstration of the spatial variability of groundwater vulnerability. Also, GIS is used to dominate other fields of groundwater vulnerability evaluation such as (1) requiring the comparison of several indices result and highlighting the benefits and detriments of each model (Draoui et al. 2008), and (2) a composition of various indices to acquire more practical outcomes that separately show the vulnerability status in topsoil, unsaturated zone, and aquifer (Aschonitis et al. 2016).

For sustainable development to improve human lives and protect the environment, ending poverty and other exclusions must be accompanied by strategies that develop health and education, reduce inequality, accelerate economic growth, cope with climate change and attempt to preserve natural resources. Hence, the hydro-chemical properties of groundwater are essential for surveying the groundwater quality and specifying its compatibility for different consumptions. Accordingly, many researchers have revealed that natural and manufactured parameters affect groundwater chemistry (Abanyie et al. 2020; Saha and Paul 2019; Sunkari et al. 2020; Tolera et al. 2020). Various tools like quality indices, fuzzy water quality index, and artificial intelligence are performed to specify water quality conditions (Lermontov et al. 2009; Egbueri and Agbasi 2022; Egbueri et al. 2023a, b; Agbasi et al. 2023). Among them, the water quality index (WQI) assesses the composing effect of the overall quality as a practicable and relatively easy technique. This index reflects the combined impacts of several water quality variables (Singh and Hussian 2016; Egbueri et al. 2023a; Abba et al. 2023; Singh et al. 2024).

By 2030, one of the sustainable development goals (SDGs) is to reclaim water quality by decreasing contamination, omitting to discharge and minimizing the dangerous materials released, halving the unrefined wastewater ratio, and significantly enhancing recycling and secure reuse universally (Katila et al. 2020). However, providing food for human beings without ruining nature will grow increasingly hard and finally impracticable under a steady population increment. Agriculture is currently the main reason for environmental vulnerability, and more land-use change for agricultural usage will have destructive subsequences for our biodiversity and climate. Consequently, previous attainments are rapidly overturned as population growth outstrips the developments. Even now, billions of humans do not have access to safe drinking water, sanitation, and hygiene. To address this, SDGs are presented as a scheme for reaching a superior and more sustainable future all over the World. Hence, universal problems such as destitution, imparity, climate change, environmental destruction, peace, justice, as well as safe water and sanitation are addressed (Sachs et al. 2021). Almost all SDGs connote sustainable resource management, especially water, soil, and waste. The groundwater levels in the Fasa Plain have been decreasing over the past ten years due to excessive groundwater withdrawals and consecutive droughts, leading to an increase in groundwater salinity. Despite the significance of the aquifer, there has been no comprehensive research on the potable water quality based on WQI and hydrogeochemical processes. The present study aims to address this research gap and investigate the groundwater quality status and controlling parameters in the Fasa aquifer, with a specific focus on its suitability for drinking purposes. The main objectives of this study are to test groundwater suitability temporally and spatially for drinking using the chemical substances maps drawn via geographical information system (GIS) technology, to evaluate and delineate the temporal and spatial changes of groundwater quality for potable purposes using the water quality index (WQI), and characterize groundwater type and hydrogeochemical facies based on the Piper diagram.

Materials and methods

Study area

The research region in the present research is Fasa plain, placed in Fars province, southern Iran, with a total area of 4196.93 km2, with geographical longitude between 53o 19’ to 54o 15’ E, geographical latitude between 28o 31’ to 29o 24’ N, and altitude of 1370.2 m (Fig. 1). At the 2016 census, the county’s population was 205,187, in 61,509 families. Based on the De Martonne aridity index, the climate of Fasa Plain is semi-arid (Bahrami and Mahmoudi 2020; Bahrami et al. 2017). The average annual temperature is almost 20.1 degrees Celsius, and the average yearly rainfall is 289 mm. In insomuch the rainfall regime of this area is the Mediterranean, the rainfall is often occurred in the winter months and somewhat in the summer months (under the impression of monsoon rains of the Indian Ocean).

Fig. 1
figure 1

Situation map of the research area

Geologically, the Fasa plain is located in the Zagros Mountains Range and is made up of a series of sub-parallel anticlines and synclines that trend NW-SE (Alavi 2004). The exposed geological formations, listed from oldest to youngest, are as follows: the Hormuz salt formation (Palaeozoic); the Sarvak limestone formation (Cretaceous); the Pabdeh-Gurpi shales and gypsiferous marl formation (Paleocene-Oligocene); the Sachun gypsum formation (Paleocene-Eocene); the Asmari-Jahrom limestone and dolomite formation (Oligocene-Miocene); the Razak evaporite formation (Miocene); the Gachsaran gypsum and marl formation; the Aghajari sandstone formation (late Miocene to Pliocene); the Bakhtiari conglomerate formation (late Pliocene-Pleistocene); and recent alluvium (Fig. 2). The research area is located in the Quaternary alluvial plain. The deposits in the center of the area are mainly sandy loam and silt, while the sediments near the edges are gravel and sand. The aquifer system in this area often discharges groundwater through springs and is mainly found in highly permeable karstified carbonate rocks. The alluvial aquifer in the region is mainly recharged by subsurface groundwater inflows from the adjacent carbonate rocks and rainfall. Groundwater generally flows from the north to the south of the plain in this region. The primary occupations of the inhabitants of this region are agriculture and raising livestock.

Fig. 2
figure 2

Geological map of the study area

Sampling and analysis

The groundwater specimens were gathered twice in 2018 and 2019 from 34 wells. By considering the three iterations, 204 samples were used for analysis. Then, acidity (pH), electrical conductivity (EC), and total dissolved solids (TDS) were measured in situ immediately after sampling. The other parameters including color, calcium (Ca), magnesium (Mg), sodium (Na), bicarbonate (HCO3), chloride (Cl), sulfate (SO4), nitrate (NO3), nitrite (NO2), and fluoride (F) were measured according to the APHA methods in the laboratory within 24 h. Also, turbidity and total alkalinity were determined by the nephelometric and titration methods respectively in the laboratory. The precision of the findings was assessed by computing the charge balance error (CBE). The test results are correct just when the CBE⩽5%. Also, total hardness (TH) data was calculated using the following formula (Rice et al. 2017);

$$\begin{aligned}TH&=mg\: equivalent\: CaC{O_3}\,{L^{-1}}=2.497\left[ {C{a^{2+}},\,mg\,{L^{-1}}} \right]\cr&\quad+4.118\left[ {M{g^{2+}},\,mg\,{L^{-1}}} \right]\end{aligned}$$
(1)

The groundwater quality assessment classification scheme used in this study was based on the WHO (2021) standards, taking into account the necessary level of water treatment (Egbueri and Agbasi 2022; Abba et al. 2023). As a result, each water class was assigned the following designations: Class I: Desirable; Class II: Permissible; Class III: Not permissible.

GIS mapping

The water quality parameters were selected based on their effectiveness for drinking purposes. To assess the spatial distribution of groundwater quality, the analytical data were fed into the ArcGIS10.2 software for preparing the maps of the selected parameters. According to the normality test of data using Shapiro-Wilk’s statistical method, the interpolation methods including inverse distance weighting (IDW), Kriging, and Co-Kriging with Circular, Gaussian, Spherical, and lots of other variograms were employed for the analysis of the spatial distribution of different parameters (Bahrami et al. 2021). Based on these maps, water quality was evaluated for drinking purposes.

Water quality index

For more water quality investigation, the water quality index (WQI) was used in light of the appropriateness of groundwater for human utilization. This index is specified as a rating representing the effect of various variables on the general nature of water (Asadi et al. 2019). At first, the relative weight (Wi) of each parameter is calculated using its weight (wi), which depends on the significance of that parameter in the general nature of water for drinking purposes (Sreedevi et al. 2019);

$${W_i}={w_i}/\sum\limits_{{i=1}}^{n} {{w_i}}$$
(2)

where wi is the weight of each factor and n is the number of factors. The assigned weights to the factors vary from 1 to 5 (Table 1) and are based on the health impacts of the factors. The most weight (5) is given to salinity, fluoride, and nitrate because of their main influence on water quality evaluation and the health implications of the high concentration of these chemical variables in water (Ameur et al. 2016; Derdour et al. 2021). In the present study, a total of 15 parameters (pH, EC, TDS, Turbidity, Total hardness, Total alkalinity, Na+, Ca2+, Mg2+, Cl, SO42−, HCO3, F− 1, NO2, and NO3) of 204 water samples were applied to calculate WQI for evaluation of the compatibility of the Fasa aquifer groundwater for potable purposes. Then, WQI was computed by applying the following formula;

$$WQI=\sum\limits_{{i=1}}^{n} {\left({100{W_i}({C_i}/{S_i})} \right)}$$
(3)

where Ci is the concentration of each chemical variable in each water specimen in mg L− 1, and Si is the standard of the World Health Organization for each of the significant variables in drinking water (Asadi et al. 2019). Finally, the calculated WQI values are classified into five classes, namely excellent, good, poor, very poor, and unsuitable water for drinking (Abbasnia et al. 2019; Tlili-Zrelli et al. 2018; Kumar et al. 2016, 2017, 2019).

Table 1 Weight and relative weight values for water quality index calculation

Statistical analysis

After assessing the normality of whole stations’ data in each year, the levels of interrelationship existing between the hydrogeochemical parameters were assessed using Spearman’s Rho non-parametric test for non-normal series and the Pearson’s parametric test for normal series (Abba et al. 2023). All these correlation tests were performed in the IBM SPSS statistical program (v. 22).

Results and discussion

Temporal and spatial changes of water quality parameters

The range and average quantities of measured physicochemical parameters of the sampled well waters in the studied area are tabulated in Table 2. These results indicate that the specimens were specified by slight to moderate alkalinity (pH quantities varied between 7.22 and 8.29) in both years. There were broad changes in total dissolved solids (TDS) quantities ranging between 202 and 1990 mg L− 1 with an average of 535 mg L− 1 in 2018 and between 200 and 1974 mg L− 1 with an average of 495 mg L− 1 in 2019. Of the 34 wells sampled, only well 23 have no TDS quantities within the World Health Organization (2021) and Iranian standard allowable range of 1500 mg L− 1 (Organization, 2021); Institute of Standards and Industrial Research of Iran (ISIRI 1992). The electrical conductivity quantities demonstrated a remarkable variation changing from 362 to 3450 with an average of 895 µS cm− 1 in 2018 and from 348 to 3190 with an average of 820 µS cm− 1 in 2019. For two consecutive years, respectively, 82% and 88% of the total groundwater specimens are located under the World Health Organization’s guidelines of 1400 µS/cm (WHO, 2021), while there is no limit stipulated by Iranian Standards (ISIRI 1992). The average quantities for total hardness were 308 and 283 mg L− 1 as CaCO3 in 2018 and 2019, respectively, denoting that the research area groundwater is very hard and hard.

Table 2 Statistical summaries of the physicochemical parameters

The spatial distribution of pH, EC, TDS, and TH in Fasa Plain is illustrated in Fig. 3. According to these results, the groundwater of the whole plain area is in the permissible class in terms of pH (6.5–8.5) and total hardness (100–500 mg L− 1 as CaCO3). Based on EC, in 2018, 90% of the aquifer area is in the desirable class (< 1500 µmhos cm− 1), 0.5% is in the permissible limit (1500 µmhos cm− 1), and 9.5% has not permissible water for drinking (> 1500 µmhos cm− 1). In 2019, groundwater quality improved in terms of EC, as the desirable and permissible classes increase to 95% and 1.15%, and the not permissible class decreases to 3.85%. The spatial distribution of TDS in 2018 is as: 36.4% in the desirable class (< 500 mg L− 1), 55.8% in the permissible category (500–1000 mg L− 1), and 7.8% in the not permissible limit (> 1000 mg L− 1). Similar to EC, the TDS classes have improved in 2019, as the desirable class increased to 45%, while the permissible and not permissible classes decrease to 49.75% and 5.25%. The difference between EC and TDS indicates the predominance of non-ionized ions in the groundwater of this region. Areas with no permissible class in terms of EC and TDS are primarily located in the south of the plain.

Fig. 3
figure 3

Spatial distribution maps of TH, pH, EC, and TDS

Based on Table 2, the major cations (Ca, Mg, and Na) concentrations are within the World Health Organization and Iranian standard allowable ranges in both years (WHO, 2021; ISIRI 1992). However, the concentration of these ions decreases in the second year, and water quality improves. The spatial distribution of Ca, Mg, and Na in the research area is shown in Fig. 4. Based on these results, a more significant percentage of the aquifer area in these cations has desirable water for drinking in both years. Nevertheless, the amount of these elements decreases in 2019, and the main reason can be attributed to the increase in rainfall in 2019 (300.1 mm) compared to 2018 (92.1 mm). In limited areas in the south of the plain, the sodium content of groundwater is higher than the permissible range, and the water in those areas is not suitable for drinking. The groundwater hardness in the permissible class can be attributed to the higher concentration of calcium compared to magnesium, so the hardness of this water is more affected by calcium.

Fig. 4
figure 4

Spatial distribution maps of Ca, Mg, and Na

The concentration of all anions decreased in the second year (Table 2) due to the rainfall increment. In 2018, the bicarbonate concentration in 9% of the samples was above the allowable limit stipulated by WHO (300 mg L− 1), while this was about 6% in 2019. There is no limit specified by Iranian Standards (ISIRI 1992) for bicarbonate. Based on WHO guidelines, chloride quantity was in the allowable range (600 mg L− 1) in both years, but according to Iranian standard (400 mg L− 1), about 3% of specimens exceed the allowable limit of drinking uses. Sulfate concentrations in the studied years in 12 and 9% of the samples were more than the allowable drinking limit, respectively. Nitrate and nitrite values in both years in all samples were within the allowable drinking range, which indicates the low inflow of agricultural effluent to groundwater resources in this area. Based on the Iranian standard (1.7 mg L− 1), the amount of fluoride in all samples was within the permissible drinking range. Still, according to the WHO guidelines (1.5 mg L− 1), one of the wells contained excessive amounts of fluoride.

The zoning maps of the classes of these elements in Fig. 5 also confirm these results. The amount of groundwater bicarbonate in the whole plain in both years was included in the permissible drinking class (150–300 mg L− 1). In terms of nitrate and nitrite, the whole aquifer had desirable groundwater for potable purposes (nitrate < 50 mg L− 1 and nitrite < 3 mg L− 1). Based on sulfate, in 2018, 62.23% of the aquifer area is in the desirable class (< 200 mg L− 1), 36.03% is in the permissible limit (200–400 mg L− 1), and 1.74% has not permissible water for drinking (> 400 mg L− 1). In 2019, groundwater quality improved in terms of sulfate, as the desirable class increased to 67.80%, while permissible and not permissible classes decrease to 30% and 1.2%. Most areas with low-quality water in terms of sulfate are located in the southern and eastern parts of the plain. Some of the southern areas are also in the permissible (200–400 mg L− 1) and not permissible (> 400 mg L− 1) ranges in terms of chloride. The percentage of areas with fluoride in the desired range (< 0.5 mg L− 1) in the studied years is equal to 20.53% and 23.28%, respectively, and more in the eastern part of the plain. Other areas of the plain are located in the permissible class (0.5–1.5 mg L− 1) (see Fig. 5).

Fig. 5
figure 5

Spatial distribution maps of HCO3, SO2, Cl, NO3, NO2, and F

Correlation test

The correlation matrix was utilized for identifying a better relation among the different physicochemical variables of the groundwater specimens (Table 3). The EC quantities are strongly correlated with Na+, Ca2+, Mg2+, Cl, SO42−, F, and HCO3 revealing the high conductivity of groundwater due to the presence of these ions (Mallick et al. 2018). EC also had significant positive correlations with TDS and TH. There are significant positive correlations between EC, TDS, and TH. TDS in water typically correlates with water salinity, EC, and TH. High salinity can have adverse effects on water intended for drinking and irrigation (Egbueri and Agbasi 2022). TDS concentration describes the presence of inorganic salts and small amounts of organic matter in water. EC, on the other hand, measures the water’s capacity to conduct electrical current. TDS and EC can originate from geological conditions, seawater, and human activities, such as domestic and industrial waste and agriculture. The relationship between TDS and EC depends on the type and nature of the dissolved cations and anions. Literature suggests that natural geogenic processes, such as rock weathering, mineral processes, and ion exchanges, mostly influence EC, TDS, cations, and anions (Abba et al. 2023). A strong positive correlation between TH with the anions, including HCO3 shows the simultaneous presence of permanent and temporary hardness of groundwater in both years. Interestingly, there is no strong correlation between nitrate and nitrite with cations, which indicates the low and controlled use of chemical fertilizers in agriculture (Zhang et al. 2021). The significant positive correlation between F, CI, and SO42− anions with Na+, Ca2+, and Mg2+ cations in the samples shows the dominance of these soluble salts.

Table 3 Correlation coefficient matrix of physicochemical parameters

Water quality index

Based on the spatial distribution maps of WQI in the research area represented in Fig. 6, groundwater throughout the plain is in excellent and good classes for drinking in both years. According to the percentage of each WQI class exhibited in Table 4, excellent and good quality categories are 76.05% and 23.95% in 2018 and 89.62% and 10.38% in 2019, respectively. Pashaeifar et al. (2021) and Ha et al. (2022), in similar studies on spatial assessment of groundwater quality, suggested the treatment of groundwater before using it for drinking. After analyzing the sub-indices, it was observed that certain physicochemical parameters such as pH, EC, HCO3, and F had the most impact on WQI. Therefore, it can be concluded that the high WQI values recorded at certain locations are a result of higher concentrations of these parameters present in the groundwater samples.

Fig. 6
figure 6

Spatial distribution maps of WQI for the study area in 2018 (a) and 2019 (b)

Table 4 Water quality index (WQI) ranges and percentage of specimens at the study time

Hydrochemical characteristics

According to the water chemical composition applying the Piper diagram, water types in the present research were specified (Abdelhafiz et al. 2021). In both years, most of the specimens are in the center of the cation triangle, indicating no dominant type of water. While most of the specimens fall on the left side of the anion triangle, showing the bicarbonate type of water. The distribution of water samples in the diamond shape also reveals the predominance of Mg(HCO3)2 and mixed types (Pashaeifar et al. 2021). Shifting a few specimens into the middle of the diamond indicates the vulnerability of these points to pollution by fertilizers and wastewater (see Fig. 7).

Fig. 7
figure 7

Piper diagram for the chemical compounds of groundwater for 2018 (a) and 2019 (b)

Conclusion

The investigated specimens of groundwater in the studied region possess desirable and permissible levels of various physical and chemical parameters for drinking during both years. In addition, the water quality situation has improved in the second year, the main reason for which could be more than tripling the amount of rainfall in this plain. Hydrochemical composition analysis reveals that the groundwater in this aquifer contains Mg(HCO3)2 and mixed types, which are exposed to pollution by fertilizers and wastewater. According to these results, it can result that groundwater in the Fasa plain aquifer is convenient for potable uses. However, the southern and western areas of this plain, which currently have good potable water quality, are in lower classes in the classification of some water quality parameters, which indicates the decline of water quality over time in these areas. Despite this, there is a requirement to fulfill sustainable management for preserving and protecting this precious resource to control pollution.

One limitation of the study is that it did not account for seasonal variations over a long period. It is recommended that future research addresses this issue. Additionally, to enhance monitoring, it is suggested to utilize machine learning and other artificial intelligence techniques. Furthermore, it is important to evaluate the water quality for agricultural and industrial purposes. Lastly, water management authorities in the area should improve their strategies to safeguard groundwater from human-related impacts, especially considering recent droughts in the region.