Evaluating the Impact of Environmental Education on Ecologically Friendly Behavior of University Students in Pakistan: The Roles of Environmental Responsibility and Islamic Values

: With increasing global environmental problems, considerable evidence now suggests that environmental education can inﬂuence students’ ecologically friendly behavior signiﬁcantly. Addressing increased environmental problems requires better understanding of the relations between focused and explicit environmental education, environmental responsibility, and religious values. The current study examined the relationship between environmental education and ecologically friendly behavior, utilizing insights from resource conservation theory. The relationship between the variables mentioned above was examined to determine the mediating effect of environmental responsibility and the moderating effect of Islamic values. Through a cross-sectional approach, data were gathered from 413 university students. The data were analyzed using analytical tech-niques such as “structural equation modeling” and “PROCESS.” The study’s ﬁndings support the predicted conceptual model, indicating that environmental education was positively related to environmentally friendly behavior. Furthermore, environmental responsibility partially mediated the relationship above, whereas Islamic values positively moderated the relationships between environmental education and ecologically friendly behavior as well as between environmental education and environmental responsibility. These ﬁndings emphasize the critical role of environmental education and Islamic values in comprehending the ecological behaviors of Muslim students.


Introduction
Environmental education is critical in understanding high-level ecological concerns and behaviors. Environmentally educated persons are more motivated to improve the environment because education raises awareness of the potential harm to the environment [1]. Generally, environmental education imparts a high level of information and awareness regarding environmental issues and solutions, resulting in sustainable and ecologically friendly behavior (EFB) [2,3]. Environmental education enhances understanding and sensitivity to environmental problems, broadens knowledge, and contributes to developing favorable attitudes toward ecological challenges [4]. It is believed that human behavior currently hurts the environment. Younger generations will be disproportionately affected due to current global environmental problems, which will only worsen if they are not Sustainability 2021, 13, 10188 2 of 17 adequately addressed [3,5]. As a result, it is critical to understand and improve individuals' ecological behavior. Individual responsibility grows due to environmental education, ethics, and skills required for a more sustainable and improved world. Thus, universities could play a critical role in enforcing ecologically friendly behavior and transforming societies toward environmental sustainability [6,7]. Universities have recently begun to promote pro-environmental and sustainable development through education and research by integrating sustainability into institutional agendas and fostering diverse initiatives for staff training, awareness, and development. A systematic review of a handful of research papers on the effect of education on EFB concluded that education might increase individuals' understanding of their EFB [8]. The leaders of tomorrow are being educated in universities. It is critical to provide them with ethics and environmental education so that they become psychologically empowered and their attitudes shift toward environmentally friendly behaviors, which could lead to societal sustainability [9,10].
Understanding one's tendency to adopt EFB is a complicated and complex issue. Various factors affecting EFB have previously been considered, including environmental concerns, intentions, self-identity, value orientation, personal norms, etc. [11][12][13][14][15][16][17]. Environmental responsibility plays a critical role in enhancing ecological behaviors by imparting an individual with a sense of responsibility and motivating people to protect the environment [18]. The present study proposed that environmental education is positively related to ecologically friendly behavior directly and indirectly (via environmental responsibility). Furthermore, given the importance of Islamic values on environmental protection, such as environmental balancing, environmental awareness, and resource conservation (water, trees, etc.) [19], Islamic values were proposed as a boundary condition to the previously proposed relationships in the current study (refer to Figure 1 for the conceptual framework of the study).
portionately affected due to current global environmental problems, which will only worsen if they are not adequately addressed [3,5]. As a result, it is critical to understand and improve individuals' ecological behavior. Individual responsibility grows due to environmental education, ethics, and skills required for a more sustainable and improved world. Thus, universities could play a critical role in enforcing ecologically friendly behavior and transforming societies toward environmental sustainability [6,7]. Universities have recently begun to promote pro-environmental and sustainable development through education and research by integrating sustainability into institutional agendas and fostering diverse initiatives for staff training, awareness, and development. A systematic review of a handful of research papers on the effect of education on EFB concluded that education might increase individuals' understanding of their EFB [8]. The leaders of tomorrow are being educated in universities. It is critical to provide them with ethics and environmental education so that they become psychologically empowered and their attitudes shift toward environmentally friendly behaviors, which could lead to societal sustainability [9,10].
Understanding one's tendency to adopt EFB is a complicated and complex issue. Various factors affecting EFB have previously been considered, including environmental concerns, intentions, self-identity, value orientation, personal norms, etc. [11][12][13][14][15][16][17]. Environmental responsibility plays a critical role in enhancing ecological behaviors by imparting an individual with a sense of responsibility and motivating people to protect the environment [18]. The present study proposed that environmental education is positively related to ecologically friendly behavior directly and indirectly (via environmental responsibility). Furthermore, given the importance of Islamic values on environmental protection, such as environmental balancing, environmental awareness, and resource conservation (water, trees, etc.) [19], Islamic values were proposed as a boundary condition to the previously proposed relationships in the current study (refer to Figure 1 for the conceptual framework of the study). This study contributes to the literature in two significant ways. Firstly, the study broadens understanding of the mediating effect of environmental responsibility on the relationship between environmentally friendly behavior and environmental education. This study contributes to the literature in two significant ways. Firstly, the study broadens understanding of the mediating effect of environmental responsibility on the relationship between environmentally friendly behavior and environmental education. Very few studies have been carried out that considered environmental responsibility as the mediator between ecologically friendly behavior and environmental education [2,20]. Therefore, in this study, environmental responsibility is used as a mediator to explain the relationship between environmental education and environmentally friendly behavior. Secondly, although Islamic values are becoming increasingly important in environmental literature, attention to their role in ecologically friendly behavior is scarce [21]. This study broadens its scope to include ecologically friendly literature by proposing Islamic values as a moderator between environmental education and ecologically friendly behavior. In sum, the first aim of this study was to learn more about the relationship between environmental education and environmentally friendly behavior by looking into the mediating role of environmental responsibility. Additionally, the study sought to expand understanding of the role of Islamic values in environmentally friendly behavior.
The following section discusses the conceptual model and the study's hypotheses. Following that, the study's methodology, as well as its findings and analysis, is presented. Structural equation modeling with AMOS and SPSS software (IBM, Armonk, NY, USA) was used to test the hypotheses. Data were collected from undergraduate and postgraduate students. Finally, the authors discuss their findings and conclusions and make future recommendations.

Environmental Education and Ecologically Friendly Behavior
Environmental education (EE) is education about, from, and for the environment [22]. Ecological knowledge and understanding are developed through EE, which also provides potential skills that benefit the environment. Education from the environment can be accomplished by utilizing the outdoors as a learning resource. In contrast, EE fosters awareness and a sense of responsibility for the environment, positively affecting attitudes and behaviors toward a green ecological lifestyle [23]. Environmental education is widely recognized as a critical component of biodiversity conservation efforts [24]. Increased knowledge and environmentally conscious behavior are two of the most debated educational outcomes in the literature. Numerous studies have been conducted on the return of education [11,19,23].
Environmental education is critical in combating ecological problems, aiming to protect and conserve the planet's resources for a healthy and prosperous life. The impact of EE on EFB has been extensively researched all over the world. The relationship varies according to region, religion, culture, and various other factors [3,25]. Although most studies found a positive relationship between EE and EFB, some studies suggested that a high level of environmental education does not always reflect environmentally friendly behavior [26]. For example, Ek and Soderholm [27] revealed no correlation between a high level of education and the choice to use green electricity.
Furthermore, Ayalon et al. [28] found no evidence that education impacted recycling behavior. Wessells et al. [29] found that consumers with a high level of education were not more likely to purchase eco-labeled seafood. Finally, Grafton [30] discovered a negative correlation between water conservation and a high level of education.
On the other hand, numerous studies have discovered that EE increases individuals' awareness of the environment and motivates them to engage in ecologically friendly behaviors in various contexts [31,32]. For instance, there is existing literature demonstrating that education promotes recycling behavior [33][34][35]. Other researchers discovered that education influenced people's food choices, with more people opting for environmentally friendly options due to their education. For example, an environmentally savvy individual typically prefers eco-friendly shopping [36,37]. Berl et al. [38] found that highly educated individuals practice water conservation. Similarly, other studies indicate that educated individuals exhibit energy-saving behavior [12,39]. Additionally, it was discovered that education is associated with a higher rate of EFB. For instance, Rowlands et al.'s [40] study discovered that individuals aware of green electricity would emphasize and advocate for increased production of eco-friendly electricity.
Moreover, De Silva and Pownall [41] found that college students were willing to put their financial well-being on the line to improve environmental quality. A study by Xiao et al. [42] demonstrated that well-versed environmental education students have environmental awareness. Furthermore, Torgler and García-Valiñas [43] revealed that informal education through print, electronic, and social media, in addition to formal environmental education in universities, contributes to EFB.
Aside from the existing literature on the EE-EFB relationship, according to Mitchell and Hodson [44], EE can also be thought of as a stand-alone resource that provides additional support to EFB; the phenomenon follows the conservation of resources (COR) model [45]. The COR model's central tenet is that people should strive to create, protect, retain, and maintain resources. Resources refer to the objects, individual characteristics, energies, or conditions that individuals value or that serve to achieve these objects, individual characteristics, energies, or conditions [45]. Examples of resources include self-esteem [46], learned resourcefulness [47], organizational behavior, behavioral medicine, social work, education, and employment [48]. The model indicates that those with a reliable resource pool are the most "resource secure," having developed a substantial reservoir of resources [49]. Because education is such a valuable and high-quality resource, it will positively influence people's attitudes toward resource conservation through EFB (i.e., gain of resource). As the preceding discussion implies that EE will influence an individual toward EFB, we propose that environmental education is positively associated with ecologically friendly behavior.

The Mediating Effect of Environmental Responsibility
Environmental responsibility (ER) is defined in this study as a sense of personal obligation toward the environment or sentiments of responsibility to take action to avoid negative environmental consequences. Responsibility has been investigated as a complex notion that has been quantified in terms of moral duty, responsibility sentiments, or ascription of responsibility (i.e., responsibility judgment) regarding the environment as a whole or a specific environmental issue [50]. Environmental responsibility is comparable with moral duty, which is determined by a person's responsible judgment, sentiments, and level of knowledge of the implications of a specific behavior [50]. ER has attracted a lot of attention, and environmentally friendly production has become more prevalent [51]. Han et al. [52] defined ER as sentiments of personal responsibility to engage in a particular action that is beneficial to society and the environment. According to Stern, environmental responsibility is an essential characteristic that may contribute to personal norms, and personal norms have a substantial impact on an individual's decision to engage in pro-environmental actions [53]. Researchers, especially in academies, retain a strong interest in what fosters and drives ER. ER is thought to be crucial in promoting EFB. ER plays a critical role in assisting governments and universities in developing environmental policies and businesses in mitigating risk, increasing environmental efficiency, and fostering societal resilience [54]. The growth of the perception of responsibility significantly increases a person's readiness to engage in pro-environmental behavior [55]. Clark et al. [56] also stated that environmental responsibility enables individuals to act for environmental protection. Zhu et al. [57] also revealed that different levels of responsibility influence one's conservation intention. ER has the capacity to persuade both individuals and organizations that they are accountable for generating different environmental issues as a result of their activities and that they should change their everyday practices to avoid negative effects [58]. ER is greatly personal in nature, which might result from both moral obligations to communities and/or nature and personal emotions of duty as a result of societal pressures [59]. It has been found that ER is a very effective tool to motivate people toward green actions taking inspiration from environmental education. However, research shows that considerable heterogeneity exists in attitudes in different sectors toward personal environmental responsibility. It has been found that some people take better care of the environment and their home and workplace than at tourist scenic spots they may visit [60]. Similarly, in terms of socio-demographic, psychological, and environmental behaviors, Dolnicar and Leisch [61] discovered substantial disparities between two tourist groups (high vs. low environmental responsibility).
However, the relationship between environmental responsibility and environmental education has not been studied extensively in the context of pro-environmental behavior. Environmental responsibility has frequently been overlooked as a major predictor that may encourage suitable environmental activities through environmental education and Islamic values lessons in the educational institutes. Diverse responsibility characteristics in students may be further studied to understand better what kind of EFB they like. Such observations would help determine the merits of various environmental education programs that can determine how students will be encouraged to be environmentally responsible.
Therefore, this study emphasized environmental education and Islamic values in creating ER feeling in the students. This work aimed to thoroughly review the available information on ER and compare its mediating role between EE and EFB. As mentioned previously, ER has been used as a mediating factor in several studies looking at psychological, social, and long-term environmental variables. Based on the literature cited above and the concept of resource caravans proposed by conservation of resource theory, we believe that environmental responsibility can mediate EE and EFB [48]. The EE resource pool is in a position to orchestrate environmentally friendly behaviors [62]. We believe that by utilizing the EE resource on students, another resource is created in environmental responsibility, which results in resource conservation through eco-friendly behaviors and sustainable lifestyles. As a result, environmental responsibility appears to act as a mediator between EE and EFB.
Based on the preceding discussions, we propose that environmental responsibility mediates the positive relationship between ecologically friendly behavior and environmental education.

The Moderating Effect of Islamic Values
Theoretically, values have the potential to motivate and influence behavior [63]. Individuals' and societies' values and attitudes are shaped by religion, which guides how to live [64]. These values and attitudes shape community and society's behaviors. Islam instills in its adherents the values of sustainability, altruism, and resource conservation [21]. Those who adhere to religions in their true spirit and possess a high level of altruism are more likely to be actively involved in environmentally sustainable behaviors [65]. Islamic values are distinct from personal values. They are ethical principles derived from religious traditions founded on scriptures, such as the Quran and Hadith for Muslims, and ingrained in their lives. Religious values are frequently debated as a way of analyzing their impact on consumer behavior. Religious values significantly impact a person's way of life, thoughts, and habits, among other things. As a result, there has been a great deal of discussion about the impact of religious values on human behavior for the past few decades. When dealing with a religious country where the majority of the population adheres to the same religion, as in the case of Pakistan, where Islam is the official national religion, the significance is increased even further [66].
Their religious values heavily influence consumers' green purchasing decisions. Considering the profound impact of religiosity, several authors have proposed considering religious value's supremacy in the ecological green environment. Additionally, it was observed that among Muslims, their level of religiosity influences their behavior to spend sensibly and shop sustainably [67]. Additionally, religious values help individuals make purchasing decisions based on resource conservation, principles of suitability, and environmental stewardship, such as adopting sustainable clothing consumption [64].
Ecologically friendly behavior results in the protection of the environment's natural resources. In the literature, those who exhibit ecologically friendly behavior are referred to as green consumers [68]. Additionally, prior research indicates that religious values Sustainability 2021, 13, 10188 6 of 17 positively influence green consumer behavior that protects the world's natural ecological cycles. Most previous studies developed a religiosity scale for Christianity to assess its impact on ecological behaviors [69]. On the contrary, Razak et al. [70] examined the relationship between ecologically friendly behavior and Islamic religiosity and discovered a positive and significant correlation. Islam and Chandrasekaran [19] assert that more religious Muslim consumers make greater efforts to protect the natural environment than less religious Muslim consumers. Islamic values introduce the concepts of sustainability and balanced action, emphasizing the importance of not consuming more than one's needs and contributing to the well-being of others [71]. Islam teaches sustainability, impartiality, balanced actions, and judicial actions to safeguard the ecological system. According to Islam, humans do not own the Earth's natural resources. Additionally, Islam emphasizes the protection of natural resources through prudent resource consumption [67].
Previously conducted research established a link between religion and consumer behavior [72]. Religion instills values that serve as guiding principles for the individual's life. However, religion, which is highly personal and depends on an individual's level of piety or commitment to their religion, affects consumer behavior. Green consumerism is a matter of ethics and morality [73]. Religious beliefs assist believers in determining the appropriateness or inappropriateness of their behavior. Ideally, Islamic values could be thought of as a predictor of consumer behavior. Islamic values affect human behavior directly or indirectly [74]. According to Shariah principles, all Muslims are obligated to safeguard the Islamic faith, human life, property, and the mind [75]. Intentional harm to the natural environment and resources is a form of corruption that Islam forbids. In Islamic teachings, human beings are made "Khalifas" or Caliphs of the Earth and entrusted with looking after and caring for the Earth.
However, some other schools of thought, e.g., Koehrsen [76], synthesizes existing research about climate change and Muslim communities. He found out that there is no uniform interpretation of climate change among Muslims. Muslims have developed several approaches to climate change based on their understanding of Islam. A small group of Muslim environmentalists engages in public campaigns to raise awareness about climate change, minimize carbon emissions through sociotechnical transition initiatives, and disseminate pro-environmental Islamic interpretations. However, it is unclear to what degree these efforts result in larger changes in the daily activities of Muslim communities and organizations. Contributions to this field of study are frequently theoretical, emphasizing only theological and normative elements of Islam. Comparative studies are needed to explore the role of Muslim environmentalism in climate change mitigation and adaptation on a local and global scale, taking into account regional and theological distinctions among Muslims. Among others, Taylor et al. [77] provided a thorough examination of the harmful environmental consequences of "Judeo-Christian" beliefs, as well as later assertions that the world's major faiths are becoming more ecologically friendly.
The Islamic faith places a high value on environmental preservation. The Quran encourages believers to appreciate Allah's gifts as well as the material aspects of life. The term "believers" refers to those who maintain their focus on the aforementioned important factors. There is a lot of evidence in Islamic teachings that emphasize the importance of environmental protection. For example, some of the verses in the Quran state: "Walk on the Earth in humility (Quran, 18:63 [78]). Then We appointed you viceroys in the Earth after them, that We might see how ye behave (Quran 10:14)." "And when he turneth away (from thee) his effort in the land is to make mischief therein and to destroy the crops and the cattle; and Allah loveth not mischief (Quran 2:205)." "Do no mischief on the Earth, after it hath been set in order (Quran, 7:56)." Muslims are obligated to protect the Earth in all ways, as Islam considers the Earth a sacred and holy place. As Muslims, we can pray anywhere on the planet, and in addition to water, certain other elements on the planet can be used to purify even the most egregious impurities. As stewards of the Earth, we must protect the planet as a mosque, and it is each individual's responsibility to care for the Almighty God's entire creation. The earlier literature shows that Islamic values are a critical factor in the ecological behavior of Muslims. The moderating role of Islamic values in this context has received limited attention. As a result of the preceding discussion, it has been hypothesized that Islamic values will act as a moderating factor in the relationship between EE and EFB. In line with these arguments, we believe that Islamic values are a personal resource that, if invested in the EE and ER resource pools, will result in green ecological behaviors and, as a result, additional resources. This assumption corresponds to the COR's viewpoint [48]. Given these considerations, we believe that students who are provided with EE and have strong Islamic values will be more effective in protecting and conserving the environment. Thus, we propose that Islamic values play a moderating role in our study.

Hypotheses
Based on the aforementioned arguments and evidence, we established these hypotheses:

Hypothesis 1 (H1).
Environmental education is positively related to ecologically friendly behavior.

Hypothesis 2 (H2).
Environmental education is positively related to environmental responsibility.

Hypothesis 3 (H3).
Environmental responsibility is positively related to ecologically friendly behavior.

Hypothesis 4 (H4).
Environmental responsibility mediates the positive relationship between environmental education and ecologically friendly behavior.

Hypothesis 5 (H5).
The direct positive relationship between environmental education and ecologically friendly behavior is expected to be significant for those who are high in Islamic values.
Hypothesis 6 (H6). The direct positive relationship between environmental education and environmental responsibility is expected to be significant for those who are high in Islamic values.

Sampling Procedure
Universities produce future leaders, decision makers, and scholars in the political, economic, and social sectors, and thus university students were chosen as the study's target population. Furthermore, the data gathered from students came from homogeneous groups with small random errors. Because they were studying much literature on these issues in their curriculum, university students were more concerned about the ecological wellbeing of nature [2,3]. Data were gathered from Peshawar's public and private universities (Capital of Khyber Pakhtunkhwa Province, Pakistan). According to the Pakistan Bureau of Statistics, Peshawar is Pakistan's sixth-largest city, and it is currently dealing with serious environmental issues. Furthermore, very little research is conducted throughout the country, particularly in Peshawar. The data were gathered from a random sample of students at six universities (three public and three private). Agricultural University Peshawar, University of Peshawar, and Islamia College University Peshawar were chosen as public sector universities. City University of Science and Information Technology Peshawar, Sarhad University of Science and Information Technology Peshawar, and CECOS University Peshawar were among the private universities visited. Before beginning the data collection, the heads of the department and the class in charge were approached for permission. Prospective students were given a brief presentation in the classroom about the research survey's goals and nature. In addition, the questionnaire survey included a cover letter stating that the purpose of the study was solely for research purposes and that the respondents would be kept anonymous and confidential. Students were also told that taking part in the survey was completely voluntary and that they could opt out at any point during the data collection process. Students were given sufficient time to respond to and complete a pen and pencil survey questionnaire, which they then returned anonymously to the researchers in envelopes. Five hundred surveys were distributed, and 452 were returned, resulting in a response rate of 90.4%. Thirty-nine questionnaires were invalid due to incompleteness or careless responses, leaving 413 usable questionnaires [79]. The sample consisted of 265 male respondents (64.1%) and 148 female respondents (35.9%). Of all valid respondents, 79.1% were undergraduates, while 20.9% were postgraduates.

Instruments
The measures used in this study were adapted from previous research and slightly modified to meet the requirements of the current study. The variables were rated on a five-point Likert scale ranging from 1 to 5, with 1 indicating "strongly disagree" and 5 indicating "strongly agree." The scale for environmental education consisted of two parts having eight items-formal and informal education. The former scale was derived from a study conducted by Pérez-Rodríguez et al. [80], whereas the latter was derived from a study conducted by Varela-Candamio et al. [81]. The environmental responsibility scale was constructed using five items adapted from Wang et al. [82], which were previously tested by [83] in the context of environmental responsibility and pro-environmental consumer behavior. Islamic values can be measured by the religiosity of individuals toward the basic Islamic principles. For this research, the religiosity scale was modified from Plante [84]. The dimensions for Islamic values are related to the Islamic faith and religious action; as a result, it is easier to adapt and is thought to be superior to other scales. A 14-item scale was adapted from Kaiser et al. [85]. It was used to assess ecologically friendly behavior. Cronbach's coefficients (α) were calculated for all scales that fell within the acceptable range. When it comes to university students, gender and age are the most influential variables [86]. Because the literature indicates that these variables significantly impact students' green behavior, we investigated their impact as control variables in this study.

Analytical Approach and Construct Validity
Because data were collected from individual participants in a cross-sectional study [87], the possibility of common method variance (CMV) was a concern. Harman's one-factor test was used to evaluate CMV [88]. All of the main constructs are entered into a principal component factor analysis in this test. When a single factor emerges from the analysis or when a single general factor accounts for the majority of the covariance in the interdependent and dependent variables, there is evidence of CMV. The results indicate that five factors with an eigenvalue greater than 1 explained 64.4% of the variance, whereas the highest single factor, representing EE, explained 25.9% of the variance. This indicates that CMV was not a significant issue in this study's data.
Anderson and Gerbing [89] recommended that two-step analytical procedure was used to examine the proposed model using SPSS and AMOS versions 23 (IBM, Armonk, NY, USA). That is, the model variables were first analyzed using confirmatory factor analysis (CFA) and maximum likelihood estimation to determine the distinctness of the primary study constructs before moving on to structural equation modeling (SEM) [90]. These methods are effective statistical tools for examining a priori hypotheses about relationships between observed and latent variables and testing association among latent constructs [91].
All the study variables were found to have a significant correlation with each other at the 0.01 level. The latent factors were also evaluated for reliability and validity concerns. The composite reliability of all the study variables was above 0.7, thereby showing excellent internal reliability. Similarly, the average variance extracted (AVE), a measure of construct validity, of all the study variables was above the threshold value of 0.5 [92], which means no issues regarding the construct validity of all the study variables. Finally, all the study variables were evaluated for discriminant validity, as per criterion [92]; the square rooted AVEs (which are given diagonally with bold letters) of all the study variables were more extensive than the correlation between them. This means that all the study variables are significantly differentiated from each other. See Table 1 for descriptive, reliability, and validity estimates of the study variables.

Measurement Model Evaluation
The items for 413 responses were loaded on their respective latent factors through confirmatory factor analysis (CFA). The model provided a good fit to the data (χ 2 = 685.87, χ 2 /DF = 1.23, CFI = 0.98, TLI = 0.98, RMESA = 0.03, SRMR = 0.03). This model was compared against several other alternative models. In the first alternative model, the items measuring the Islamic values and ecologically friendly behavior were loaded on a single latent factor. The resulting model did not fit well to the data because the chi-square value increased by 2479, CFI and TLI, respectively, decreased by 0.25 and 0.27, and RMSEA and SRMR increased by 0.08 and 0.09, respectively. In the second alternative model, the items of three latent factors-environmental education, ecologically friendly behavior, and Islamic values-were merged into one factor. The resulting model showed a further decline in model fit as chi-square increased by 1959.1, CFI and TLI decreased by 0.22 and 23, respectively, and RMSEA and SRMR increased by 0.04 and 0.05. In the final alternative model, all the items were loaded on a single latent factor. The resulting model showed the worst fit to the data among all the available models as chi-square further increased by 292.64. At the same time, TLI and CFI decreased by 0.03 while RMEA increased by 0.01. Comparing the baseline model against different models showed that all the tested measures appropriately measure the respective latent factors. The measurement model comparison test is summarized in Table 2.

Structural Equation Model Path Analysis
The analysis was conducted in two steps. In the first step, the mediation model was tested using structural equational modeling (SEM). In the second step, the PROCESS macro was used to analyze the moderating effect.
The fit statistics of the SEM model were (χ 2 = 456.10, χ 2 /DF = 1.33, CFI = 0.98, TLI = 0.98, RMESA = 0.03, SRMR = 0.03), implying that the model had a good fit [90,93]. AMOS was used to analyze the direct relationship between all the study variables using the structural equation model. All the linear relationships were observed in a single structural model. The control variables (age and gender) did not significantly influence the estimates. Their impact was tested on independent (environmental education) and dependent variables (ecologically friendly behavior). However, it is noteworthy that the insignificance of controls did not deteriorate our main model's results. The results depicted in Table 3 show the outcomes of the structural equation model path analysis. The study's analytical results reveal that the students' environmental education significantly influenced their environmentally friendly behavior (β = 0.28, p < 0.001), providing support to H1. Moreover, the results of the study show that students' environmental education had a significant effect on their environmental responsibility (β = 0.55, p < 0.001), and their environmental responsibility was further found to significantly influence ecologically friendly behavior (β = 0.27, p < 0.01), leading us to accept H2 and H3. The significance of both direct and indirect paths indicated partial mediation.

Mediating Effect of Environmental Responsibility
Indirect effect of environmental responsibility was estimated using the user-defined estimand in the above-discussed structural model. The indirect effect was found significant (β = 0.14, p < 0.01, CI [L = 06, U = 0.24]), supporting H4. Therefore, environmental responsibility significantly mediated the relationship between environmental education and ecologically friendly behavior. That is, environmental education had a significant impact on ecologically friendly behavior indirectly through environmental responsibility.

Moderated Mediation
In hypotheses H5 and H6, the current study expected that Islamic values would moderate environmental education's direct and indirect effects on ecologically friendly behavior via environmental responsibility. We examined the moderated mediation hypotheses with the PROCESS macro v.3.0 (Table 4), and the results are provided in Figure 2. The results show a significant positive interaction of environmental education and Islamic values on ecologically friendly behavior (β = 0.08, p < 0.01). Direct effect of EE was larger and highly significant at higher values (+1 SD) of Islamic religiosity (Estimate = 0.31, 95% CI CI [L = 0.19, U = 0.43]). Therefore, the direct positive relationship between environmental education and ecologically friendly behavior is expected to be significant for those who are high in Islamic values. Meanwhile, this effect was low and non-significant at lower values of Islamic religiosity (−1 SD) (Estimate = 0.09, 95% CI [L = −0.03, U = 0.23]) as the zero falls between the upper and lower bounds of the confidence interval. See Table 4 for the result.  Similarly, the indirect effect of environmental moral education on environmentally friendly behavior via environmental responsivity was also tested. It was found that the indirect effect of environmental moral education on environment-friendly behavior was larger and significant (Estimate = 0.10, 95% CI [L = 0.01, U = 0.10]) at higher values of Islamic religiosity (+1 SD). Meanwhile, this effect was smaller and weaker (Estimate = 0.05, Similarly, the indirect effect of environmental moral education on environmentally friendly behavior via environmental responsivity was also tested. It was found that the indirect effect of environmental moral education on environment-friendly behavior was larger and significant (Estimate = 0.10, 95% CI [L = 0.01, U = 0.10]) at higher values of Islamic religiosity (+1 SD). Meanwhile, this effect was smaller and weaker (Estimate = 0.05, 95%, CI [L = 0.02, U = 0.11]) at lower values of Islamic religiosity. Hence Hypothesis 6 was supported.

Discussion
The current study sought to determine the relationship between university students' environmental education and their propensity for ecologically friendly behavior, with the mediating effect of environmental responsibility and the moderating effect of Islamic values. The findings indicate that environmental education is positively and directly related to ecologically friendly behavior. Additionally, the study established that environmental responsibility mediated the positive relationship between environmental education and ecologically friendly behavior to a degree. Furthermore, it was established that Islamic values acted as a positive moderator. Students with a high level of Islamic values behaved more environmentally friendly than those with a lower level of Islamic values. Similarly, there was a strong link between environmental education and ecologically friendly behavior among students with high environmental responsibility and vice versa.
This study is critical in understanding how environmental education contributes to the promotion of pro-environmental or ecological lifestyles. There is a shortage of research on the effect of environmental education on ecological behavior through environmental responsibility. Our findings indicate that environmental education, directly and indirectly, motivates students toward green lifestyles via environmental responsibility mediation. This result supports previous findings that environmental education strengthens students' connections to nature and motivates them to a green lifestyle [7,35]. Similarly, Otto and Pensini [94] discovered that nature-based environmental education promotes environmentally friendly behavior. Ballantyne and Packer [95] discovered that when students learn about natural environment protection, their attitudes toward the environment, desires, and behaviors change. Environmental education has positively affected ecologically friendly behavior; consequently, educational institutions can incorporate more environmental education materials to promote ecological behavior. Islamic values promote environmental education and provide guidelines for behaving ecologically and conserving natural resources, providing a long-term approach to green behavior. As a whole, environmental education is a very effective way of promoting green ecological lifestyles because it empowers students to take responsibility for their actions in relation to the environment.
The current study demonstrated that environmental responsibility partially mediates the relationship between environmental education and ecologically friendly behavior; thus, it is critical to empower students to protect and conserve nature, as well as to act environmentally friendly. The concept of environmental responsibility imparts a sense of care. Individuals with a strong sense of environmental responsibility believe they have a greater role in protecting nature. As a result, they will be more receptive to engaging in ecologically friendly behavior. This study's critical contribution is that, while prior research has primarily focused on many other mediators between environmental education and ecologically friendly behavior [5,20,96], this study, using conservation of resource theory, suggests that environmental education promotes environmental responsibility as a resource gain for students, increasing their environmentally friendly behavior. Thus, contributing to the theoretical development of the literature, this study demonstrates that environmental responsibility can be incorporated into the COR theory as a predictor of environmentally friendly behavior. This finding is consistent with previous research that claimed environmental responsibility influences ecologically friendly behavior [73,97]. According to the study, environmental responsibility motivates ecologically friendly behavior. These findings suggest that environmental responsibility gives people the sense to realize environmental issues they care about and motivates them to live a greener lifestyle, such as conserving water and electricity. Caravan et al. [60] found that cities with tourism as a primary industry paid more attention to similar ER activities. ER activities include efficient use of goods and natural resources; recycling, reuse, and waste management; environmental information transparency; and atmospheric governance [97,98]. Adoption of ER requires numerous environmental stakeholders, including the media, producers, customers, and states [97]. As a result, stakeholder engagement is widely regarded as a primary factor in ER. These studies illustrate the interdisciplinary and multidimensional nature of ER science. In general, this study's findings indicate that students' environmental responsibility is an effective tool for promoting green ecological behaviors.
Additionally, this study examined the moderating effect of Islamic values on ecologically friendly behavior. Islamic values were found to act as a moderator in the relationship between independent and dependent variables. The findings indicate that their religious values influence Muslims' ecological behavior. The practice of religious values is highly individualistic in nature. As a result, adapting behavior to religious instructions is also dependent on the individual's religious commitment. The study also established that individuals with a high level of religious commitment are more environmentally conscious and vice versa. Another important contribution of the research is that it expands the role of religion in ecologically friendly behavior. According to the study, students' Islamic beliefs about the environment are found to reinforce the role of environmental education in promoting ecologically friendly behavior. Our findings are also supported by previous research. For example, Djallela et al. [74] discovered that Muslims consume moderately due to resource conservation instructions. Religious consumers are also reported to be less greedy and selfish and more selfless, implying that they are more involved in sustainable and better environmental deeds. Mohammad and Som [99] also reported similar findings; they concluded that religiosity plays a critical role in developing sustainable green consumer behavior. Rice [21] believed that religiosity does affect the environmental behavior of consumers. The current study's findings confirm that Islamic values have a positive moderating effect on green ecological lifestyles. However, it is worth noting that religious values are highly individual in nature, with each individual's religiosity being quite distinct from the next [68].

Limitations and Future Directions
There were a few limitations in the current study that could be addressed in future research. Our study's scope was limited in terms of the society's targeted population, which could be expanded by including working professionals, housewives, and adults from various walks of life. The current study focused exclusively on university students, a very small proportion of the population; additionally, their behavior may be influenced in real life by the lifestyles of ordinary individuals. Additionally, people's green ecological behavior patterns at various stages of life and professions can be compared in the future, yielding some very positive results. The current study's findings can be compared to those from other parts of the world with diverse religions and cultures. This will aid in comprehending cultural and behavioral differences in the global adoption of green ecological behaviors.
One of the study's limitations was that the model was tested using Islamic values for Muslims; as a result, the model can only be applied to a subset of the population. Furthermore, the current study's findings are based on cross-sectional data, making causal inferences more difficult. Future researchers might find it more useful to examine the interplay between the study variables using a longitudinal design. The experimental research approach required for measuring environmental responsibility is missing in the current study [100]. Although the COR theory can be extended for this study, additional research is required to test the COR theory on the environmental-responsibility-based reinforcement process in green ecological lifestyles by incorporating additional antecedents into the proposed theoretical model.

Conclusions
In conclusion, this study demonstrated the critical role of environmental education, including formal and informal education, in developing students' ecologically friendly behaviors. Environmental education creates a sense of environmental responsibility in the context of the Islamic values code of conduct, which also prohibits its followers from causing environmental damage. The current research findings align with previous research, namely that environmental education guides students to adopt environmentally friendly behaviors [101][102][103][104]. This study found that students felt environmental responsibility by environmental education and tended to engage in eco-friendly behaviors. Environmental education guides students to adopt environmentally friendly behaviors.
Additionally, Islamic values contribute to students' development of ecologically friendly behaviors. Students with a high level of Islamic values were found to live more environmentally friendly lifestyles than those with a low level of Islamic values. As a result, it is suggested that higher institutions should promote both formal and informal environmental education to foster green and sustainable behavior. Our findings also encourage higher education institutions to consider how they might encourage religious values in ways that are legally and culturally appropriate and could enhance ecologically friendly behavior. This conclusion is also supported by prior research indicating that environmental education results in environmentally friendly behaviors [2,3]. Additionally, environmental education must emphasize the dissemination of information, the promotion of ecocentrism, and a desire to conserve nature.