/* Start Variables */
:root {
  --main-color: #298636;
  --transparent-color: rgb(15 116 143 / 70%);
  --section-padding: 100px;
}
/* End Variables */
/* Start Global Rules */
* {
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  padding: 0;
  margin: 0;
  direction: rtl;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Open Sans", sans-serif;
}
ul {
  list-style: none;
}
a{
  text-decoration: none;
}
.container {
  padding-left: 15px;
  padding-right: 15px;
  margin-left: auto;
  margin-right: auto;
}
/* Small */
@media (min-width: 768px) {
  .container {
    width: 750px;
  }
}
/* Medium */
@media (min-width: 992px) {
  .container {
    width: 970px;
  }
}
/* Large */
@media (min-width: 1200px) {
  .container {
    width: 1170px;
  }
}
/* End Global Rules */

/* Start Whattapp */
.fixedButton {
    position: fixed;
    bottom: 0px; 
    right: 0px; 
    padding: 20px;
    z-index: 1000; 
    background-color:transparent;
  }
.roundedFixedBtn { 
  height: 65px; 
  line-height: 80px; 
  width: 60px; 
  font-size: 2em;
  font-weight: bold; 
  border-radius: 50%;
  color: white;
  text-align: center; 
  cursor: pointer;
  background-color: transparent;
  outline: none; 
}
/* end Whattapp */
/* Start To Top */
#myBtn {
  display: none;
  position: fixed;
  bottom: 30px;
  left: 30px;
  z-index: 99;
  border: none;
  outline: none;
  color: var(--main-color);
  cursor: pointer;
  width: 40px;
  border-radius: 50%;
  background-color:var(--main-color);
}
/* End To Top */

/* Start Components */
.main-heading {
  text-align: center;
}
.main-heading h2 {
  font-weight: normal;
  font-size: 40px;
  position: relative;
  margin-bottom: 70px;
  text-transform: uppercase;
}
.main-heading h2::before {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  height: 2px;
  background-color: #333;
  bottom: -30px;
  width: 120px;
}
.main-heading h2::after {
  content: "";
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  width: 14px;
  height: 14px;
  border-radius: 50%;
  border: 2px solid #333;
  bottom: -38px;
  background-color: white;
}
.main-heading p {
  width: 550px;
  margin: 0 auto 100px;
  max-width: 100%;
  line-height: 2;
  color: #777;
}
/* End Components */

/* Start Landing */
.landing {
  height: 100vh;
  position: relative;
  overflow: hidden;
}
.landing .overlay {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgb(0 0 0 /10%);
}
.landing video{
  position: absolute;
  top: 50%;
  left: 50%;
  min-width: 100%;
  min-height: 100%;
  width: auto;
  height: auto;
  z-index: 0;
  transform: translate(-50%, -50%);
  object-fit: cover;
}
@media (max-width:767px) {
  .landing video{
    height: 150%;
  }
}
@media (max-width:992px) {
  .landing video{
    height: 150%;
  }
}
.landing .text {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 50%;
  padding: 50px;
  color: white;
  text-align: center;
}
@media (max-width: 767px) {
  .landing .text {
    width: 100%;
  }
  .landing .text .content {
    max-width: 100%;
  }
}
.landing .text .content img{
  width: 170px;
}
.landing .text .content h2 {
  font-size: 32px;
  line-height: 1.5;
  margin-bottom: 20px;
}
/* End Landing */
/* Start Header */
header {
  position: sticky;
  left: 0;
  top: 0;
  width: 100%;
  z-index: 100;
  background-color: rgba(235, 232, 232, 0.525);
}
header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 97px;
  position: relative;
}
header .container::after {
  position: absolute;
  height: 1px;
  background-color: #a2a2a2;
  bottom: 0;
  width: calc(100% - 30px);
  left: 15px;
}
header .logo img {
  width: 60px;
}
header nav {
  flex: 1;
  display: flex;
  align-items: center;
}
header nav .toggle-menu {
  color: var(--main-color);
  font-size: 22px;
}
@media (min-width: 768px) {
  header nav .toggle-menu {
    display: none;
  }
}
header nav ul {
  display: flex;
}
@media (max-width: 767px) {
  header nav ul {
    display: none;
  }
  .open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: rgb(0 0 0/50% );
  }

}

header nav ul li a {
  padding: 40px 10px;
  display: block;
  color: black;
  text-decoration: none;
  font-size: 16px;
  transition: 0.3s;
  position: relative;
  z-index: 2;
  font-weight: bold;
}
@media (max-width:767px) {
  header nav ul li a {
  padding: 15px !important;
  color: white;
  }
}
header nav ul li a.active,
header nav ul li a:hover {
  color: var(--main-color);
  border-bottom: 1px solid var(--main-color);
}
/* End Header */
/* Start About */
.about{
  padding-top: var(--section-padding);
  padding-bottom: var(--section-padding);
  background-color: #fbf6c22e;
}
.about .container{
  display: flex;
  justify-content: space-between;
  align-items: center;
}
@media (max-width:991px) {
.about .container{
  justify-content:center;
}
}
.about .container .info{
  max-width: 500px;
  margin-top: 30px;
  
}
@media (max-width:991px) {
    .about .container .info{
        text-align: center;
    }
}

.about .container .info h2{
  font-size: 50px;
  margin-bottom: 20px;
}

.about .container .info p{
  line-height: 1.7;
  font-size: 24px;
}
.about .container .info span{
  font-weight: bold;
}
.about .img{
    width: 450px;
    height: 420px;
    margin-left: 30px;
    position: relative;
}

.about  img{
    width: 450px;
    height: 350px;
}
.about  .img::after{
    position: absolute;
    content: "";
    width: 60px;
    height: 105%;
    top: -10%;
    left: -35px;
    background-color:var(--main-color);
    z-index: -1;
}
@media (max-width:991px) {
    .about  .img{
        display: none;
    }
}
/* End About */
/* Start Services */
.services{
  padding-bottom: var(--section-padding);
}
.services h1{
  text-align: center;
  font-size: 50px;
}
.services .container{
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit,minmax(300px , 1fr));
}
.services .container .box{
  height: 350px;
  position: relative;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}
.services .container .box:first-child{
  background-image: url(../images/اصدار\ تصريح\ موان.jpg);
}
.services .container .box:nth-child(2){
  background-image: url(../images/اصدار\ وتجديد\ التصريح\ البيئية.jpg);
}
.services .container .box:nth-child(3){
  background-image: url(../images/اعداد\ التقرير\ البيئية.jpg);
}
.services .container .box:nth-child(4){
  background-image: url(../images/اعداد\ الدرسات\ البيئية.jpg);
}
.services .container .box:nth-child(5){
  background-image: url(../images/اعداد\ خطة\ الإدارة\ البيئية.jpg);
}
.services .container .box:nth-child(6){
  background-image: url(../images/تصريح\ بيئى\ \(لللإنشاء-للتشغيل\).jpg);
}
.services .container .box .overlay{
  position: absolute;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1;
  border-radius: 10px;
}
.services .container .box .info{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-content:space-between ;
  text-align: center;
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50% , -50%);
  z-index: 32;
  height: 300px;
  width: 250px;
}
.services .container .box .info h2{
  color: white;
  margin-bottom: 10px;

}
.services .container .box .info h2:first-child{
  color: white;
  font-size: 28px;
}
.services .container .box .info a{
  padding: 10px 20px;
  font-size: 18px;
  border-radius: 10px;
  background-color:#777;
  color: white;
  font-weight: bold;
  border: 0px;
  cursor: pointer;
  background-color: var(--main-color);
}
/* End Services */
/* Start Footer */
footer{
  background-color: #fbf6c2;
  padding: 30px 0px;
  overflow: hidden;
}
footer .container{
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(auto-fit, minmax(350px , 1fr)); 
}
footer .container .box-name {
  padding: 20px;
  text-align: center;

}
footer .container .box-name .logo {
  width: 100px;
}
footer .box-name .social {
  display: flex;
  justify-content: center;
}

footer .box-name .social li {
  margin-right: 10px;
}
footer .box-name .social li a {
  color: black;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 50px;
  height: 50px;
  font-size: 30px;
  transition: var(--main-transition);
  border-radius: 50%;
}
footer .box-name .social li a img{
  width: 28px;
}
footer .box-name .social  i{
  color: var(--main-color);
}
footer .container .box-name p{
  font-size: 15px;
  line-height: 1.7;
}
footer .container .box-info{
  padding: 20px;
}
footer .container .box-info .content{
  display: flex;
  align-items: center;
  margin-bottom: 10px;
  line-height: 1.8;
}
@media (max-width:767px) {
  footer .container .box-info .content{
    flex-direction: column;
    margin-bottom: 20px;
  }
}
footer .container .box-info .content i{
  color: var(--main-color);
  font-size: 18px;
  margin-left: 10px;
}
@media (max-width:767px) {
  footer .container .box-info .content i{
    margin-bottom: 20px;
    font-size: 24px;
  }
}
footer .container .box-info .content .info{
  margin-left: 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
@media (max-width:767px) {
  footer .container .box-info .content .info{
    text-align: center;
  }
}
footer .container .box-info .content .info a{
  color: #000;
  margin-bottom: 5px;
}
footer .box-map {
  text-align: center;
  max-width: 350px;
  margin: 0 auto;
}
footer .box-map iframe{
  width: 100%;
  height: 100%;
  margin: 0 auto;
  border: 0px;
}

/* footer .container .box-links{
  padding: 20px;
  text-align: center;
}
footer .container .box-links ul li {
  padding: 5px 25px ;
  margin-bottom: 5px;
  border-bottom: 1px solid #777;
}

footer .container .box-links ul li a{
  color: #000;
  margin-bottom: 0px;
  position: relative;
  transition: var(--main-transition);
  padding: 5px 0px ;
  display: inline-block;
}
footer .container .box-links ul li a::before{
  font-family: "Font Awesome 5 Free";
  content: "\f100";
  font-weight: 900;
  color: var(--main-color);
  position: absolute;
  right: -20px;
}
footer .container .box-links ul li a:hover{
  margin-left: 10px;
}
footer .container .box-imgs{
  padding: 20px;
}
footer .container .box-imgs img{
  width: 60px;
  height: 60px;
  border: 3px solid white;
} */