@import url("https://fonts.googleapis.com/css2?family=Asap:ital,wght@0,100..900;1,100..900&display=swap");
  root {
  --header-color: #4e342e;
  --main-color: #4e342ec2;
  --secondary-color: #e5d5c3;
  --main-radius: 10px;
}
* {
  box-sizing: border-box;
  margin: 0;
  font-family: Asap;
}
html {
  scroll-behavior: smooth;
}
#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgb(0, 0, 0);
  opacity: 0.5;
  align-items: center;
  justify-content: center;
  z-index: 9;
}
@keyframes rotate {
  0% {
      transform: rotate(0deg);
}
  100% {
    transform: rotate(-360deg);
}
}
/* Start Header  */

header {
  width: 90%;
  position: absolute;
  top: 50px;
  left: 5%;
  backdrop-filter: blur(10px);
  padding: 20px;
  background-color: rgba(255, 255, 255, 0.072);
  border-radius: 100px;
  z-index: 10;
}
header nav {
  display: flex;
  justify-content: space-between;
  padding: 0;
  align-items: center;
  position: relative;
}
header nav img {
  position: relative;
  height: 80px;
}
header nav ul {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
header nav ul li a {
  position: relative;
  padding: 0 10px 0 10px;
  font-size: 22px;
  font-weight: 700;
  color: #ccc;
  transition: 1s ease;
  margin: 0 10px 0 10px;
  display: flex;
  justify-content: center;
}
header nav ul li a::before {
  content: "";
  position: absolute;
  right: 0;
  bottom: -10px;
  height: 5px;
  width: 100%;
  background-color: #1d594b;
  transform: scaleX(0);
  transition: 0.2s cubic-bezier(0.16, 0.7, 0.14, 0.17);
  border-radius: 10px;
}
header nav ul li:hover a::before {
  transform: scaleX(1);
}
header nav .consultation {
  color: #ccc;
  font-size: 20px;
  padding: 30px 40px 30px 40px;
  border-radius: 100px;
  background-image: linear-gradient(90deg, #236b1f, #74c549);
  font-weight: 700;
  text-align: center;
}
header .toggleBar {
  position: absolute;
  right: 10%;
  top: 40%;
  height: 25px;
  width: 40px;
  z-index: 10;
}
header .toggleBar span {
  position: absolute;
  height: 4px;
  width: 35px;
  border-radius: 4px;
  background-color: #236b21;
  transition: 0.4s ease-in-out;
}
header .toggleBar span:nth-child(2) {
  margin: 7px 0 0 0;
}
header .toggleBar span:last-child {
  margin: 14px 0 0 0;
}
.dissapp {
  opacity: 0;
}
.downRotate {
  transform: translateY(7px) rotate(-45deg);
}
.upRotate {
  transform: translateY(-7px) rotate(45deg);
}
/* End Header  */
/* Start Landing  */
.landing {
  background-image: url(../images/landing.webp);
  background-size: cover;
  height: 100vh;
  position: relative;
  z-index: 1;
}
.landing::before {
  content: "";
  position: absolute;
  height: 100%;
  width: 100%;
  background-color: #00000097;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  z-index: -1;
}
.landing .container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: absolute;
  color: #ccc;
  top: 50%;
  margin: 0;
  transform: translateY(-50%);
  width: 100%;
  text-align: center;
}
.landing .container p {
  font-size: 70px;
  margin: 0;
  padding: 20px;
}
.landing .container h1 {
  color: #ccc;
  font-size: 100px;
  margin: 0;
  text-transform: uppercase;
}
.landing .container h1 span {
  color: #74c549;
}
/* End Landing  */
/* Start Intro */
.intro {
  position: relative;
  background-color: #fff;
  min-height: 45vh;
  margin: 50px 0 0 0;
}
.intro .container {
  padding-top: 20px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}
.intro .container img {
  position: relative;
  width: 550px;
  border-radius: 20px;
  margin-left: 30px;
}
.intro .container .content {
  position: relative;
  width: 60%;
  padding: 50px;
  background-color: #00000010;
  border-radius: 20px;
  backdrop-filter: blur(10px);
  margin-right: 30px;
  right: 10px;
}
.intro .container .content h3 {
  padding: 10px 0;
  color: #1d594b;
}
.intro .container .content p {
  color: #1d594b;
  line-height: 1.8;
}
.loader img {
  animation: .4s rotate infinite linear;
}
.loader {
  height: 100%;
  width: 100%;
  background-color: #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 100;
  position: fixed;
  top: 0;
  left: 0;
}
.go-down {
  transform: translateY(100%);
  transition: 0.9s ease-in-out;
  opacity: 0;
}
svg {
  height: 150px;
}
/* End Intro */
/* Start Programs */
.programs {
  min-height: 70vh;
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  margin: 50px 0 50px 0;
}
.header {
  color: #1d594b;
  text-align: center;
  margin: 0 10px 0 10px;
}
.programs img {
  height: 150px;
}
.programs .items {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 80%;
  flex-wrap: wrap;
  flex-grow: 0;
}
.programs .items img {
  height: 300px;
  width: 300px;
  filter: none;
  transition: 0.3s ease-in-out;
  border-radius: 10px;
  padding-bottom: 10px;
}
.programs .items img:hover {
  filter: grayscale(40%);
  transform: scale(1.1);
}
.programs .items .box {
  border-radius: 20px;
  padding: 30px;
  position: relative;
  text-align: center;
  background-color: #75c54911;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 350px;
}
.programs .items .box .image {
  overflow: hidden;
  border-radius: 20px;
  height: 290px;
  width: 300px;
}
.programs .items .box h4 {
  position: absolute;
  top: 50%;
  font-size: 30px;
  margin: 0;
  transform: translate(-50%, -50%);
  background-color: #75c54944;
  padding: 20px;
  left: 50%;
  width: 80%;
  font-weight: bold;
  color: white;
  border-radius: 10px;
}
.programs .items .box p {
  color: #1d594b;
  font-weight: bold;
  padding-top: 10px;
  line-height: 1.5;
}
/* End Programs */

/* Start Governates */
.governates {
  background-color: #fff;
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  margin: 50px 0 50px 0;
}
.governates img {
  height: 150px;
  width: 150px;
}
.governates .container {
  display: flex;
}
.governates .container .box {
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  border-radius: 10px;
  background-position: center;
}
.dots {
  bottom: -50%;
  position: absolute;
}
.swiper {
  width: 100%;
  height: 100%;
  margin: 0 auto 0 auto;
}
.governates .container .box div {
  position: relative;
  display: flex;
  align-items: center;
  flex-direction: column;
  border-radius: 10px;
  height: 300px;
  overflow: hidden;
}
.governates .container .box div::after {
  position: absolute;
  height: 100%;
  width: 100%;
  content: "";
  transform: translateY(60%);
  transition: top 0.4s ease, transform 0.4s ease, -webkit-transform 0.4s ease;
  background: linear-gradient(
    to bottom,
    rgba(0, 0, 0, 0) 0%,
    rgba(0, 0, 0, 0.4) 30%,
    rgba(0, 0, 0, 0.6) 50%,
    rgba(0, 0, 0, 0.8) 100%
  );
}

.governates .container .box div p {
  font-size: 15px;
  position: relative;
  margin-top: 30px;
}
.text {
  width: 100%;
  height: 50%;
  transform: translateY(90%);
  transition: 0.5s;
  color: white;
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.text h3 {
  letter-spacing: 1px;
}
.governates .container .box div p::before {
  content: "";
  position: absolute;
  height: 4px;
  width: 130%;
  background-color: #0b2c09;
  right: 50%;
  transform: translate(50%, -20px);
  margin-bottom: 30px;
}
.governates .container .box:hover div::after {
  transform: translateY(0);
}
.governates .container .box:hover .text {
  transform: translateY(30%);
}
.text h2,
.text p::before,
.text p {
  transition: 0.5s;
  z-index: 2;
}
.governates .container .box:hover .text h2,
.text p::before,
.text p {
  margin-bottom: 10px;
}
.governates .container .box:hover .text p {
  margin-bottom: 20px;
}
.text .line,
.text h2,
.text p {
  margin-bottom: 30px;
}
.slide-container {
  max-width: 90vw;
  width: 100%;
  box-sizing: unset;
  padding: 40px 0;
}
.slide-content {
  box-sizing: unset;
  margin: 40px 40px 0;
  padding: 45px 20px;
  overflow: hidden;
}
.swiper-button-next,
.swiper-button-prev {
  color: #1d594b !important;
}
.swiper-pagination-bullet-active {
  background-color: #1d594b !important;
}
/* End Governates */
/* Start ContactUs  */
.contact-us .container {
  padding: 20px;
}

.contact-us {
  min-height: 90vh;
  background-color: #00000010;
  position: relative;
}
.contact-us::before {
  content: "";
  position: absolute;
  height: 200px;
  width: 200px;
  background: linear-gradient(to right, #0b2c09, #236b1f);
  border-radius: 40% 25% 70% 55%;
  filter: blur(25px);
  top: 23%;
}

.contact-us .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
}
.main-heading h1 {
  font-family: "Overlock SC", sans-serif;
  position: relative;
}
.main-heading {
  margin: 0 0 20px 0;
}
.main-heading::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 6px;
  background-color: #1d594b;
  bottom: 0;
  border-radius: 20px;
}

.main-heading::after {
  content: "";
  position: absolute;
  width: 10px;
  height: 10px;
  background-color: white;
  border: #1d594b 5px solid;
  border-radius: 50%;
  left: 50%;
  transform: translate(-50%, -100%);
  top: 110%;
}
.contact-us .container input[type="submit"] {
  width: 200px;
  text-align: center;
  margin: 20px;
  cursor: pointer;
  background: #1d594b;
  color: var(--secondary-color);
  font-family: "Overlock SC", sans-serif;
}
.contact-us .container form {
  display: flex;
  flex-direction: column;
  width: 45%;
  align-items: flex-end;
  font-family: "Overlock SC", sans-serif;
}
.contact-us .container form input,
textarea {
  padding: 20px;
  margin: 10px;
  width: 100%;
  border: none;
  border-radius: 40px;
  font-family: "Overlock SC", sans-serif;
  background-color: #ffffff7c;
  backdrop-filter: blur(10px);
  border: 1px black solid;
}
.contact-us .container form input:focus,
textarea:focus {
  outline: none;
  border: 3px solid green;
}
.contact-us .container form textarea {
  resize: none;
  height: 200px;
  margin: 10px;
  font-family: "Overlock SC", sans-serif;
  padding: 30px;
}
.maps {
  border: solid 3px #0b2c09 !important;
  margin: 10px;
  border-radius: 25px;
}
#phone {
  position: relative;
}
@media (max-width: 925px) {
  .contact-us .container {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
  }
  .contact-us .container form {
    display: flex;
    flex-direction: column;
    width: 100%;
    align-items: center;
  }
}
@media (max-width: 755px) {
  .maps {
    width: 100%;
    height: 600px;
  }
}
/* End ContactUs  */
/* Responsive media Start */

@media (max-width: 1130px) {
  header nav .consultation {
    display: none;
  }
}
@media (max-width: 960px) {
  .navBar {
    display: none;
    flex-direction: column;
    right: 0;
    position: fixed;
    background-color: #236b21;
    padding: 0;
    height: 460%;
    width: 100%;
    transform: translateY(63%);
    padding: 50px;
    border-radius: 30px;
  }
  .close {
    display: flex;
  }
  .display {
    display: block !important;
  }
  header nav ul {
    display: none;
  }
  header .toggleBar + nav ul li {
    padding: 10px;
    border-bottom: solid #73c54c 5px;
    border-radius: 5px;
  }
  .swiper-button-next,
  .swiper-button-prev {
    display: none;
  }
}

@media (min-width: 959px) {
  header .toggleBar {
    display: none;
  }
}
@media (max-width: 1670px) {
  .intro .container .content {
    right: 10px;
    width: 55%;
  }
}
@media (max-width: 950px) {
  .intro .container {
    flex-direction: column;
  }
  .intro .container .content {
    right: 0;
    margin: 0;
    width: 90%;
    text-align: center;
    font-weight: bold;
    top: -30px;
  }
  .intro .container img {
    width: 92%;
    margin: 0;
  }
  header nav ul li a {
    padding: 10px 20px 10px 20px;
  }
}

@media (max-width: 750px) {
  .landing .container h1 {
    font-size: 35px;
  }
  .landing .container p {
    font-size: 25px;
    padding: 20px;
  }
  header nav img {
    height: 45px;
  }
  .intro .container .content p {
    font-size: 10px;
    padding: 0px;
  }
  .programs .header {
    font-size: px;
  }
  .programs .items .box {
    width: 90%;
    overflow: hidden;
  }
  .programs .items .box .image {
    width: 80%;
    height: 100%;
  }
  .programs .items .box .image img {
    width: 100%;
    height: 100%;
  }
  .programs .items .box h4 {
    font-size: 13px;
    top: 35%;
  }
  .programs .items .box p {
    font-size: 10px;
  }
  .governates .container a {
    width: 300px;
    height: 300px;
  }
  .governates .container .box div::after {
    width: 100%;
    height: 100%;
  }
  .header {
    margin: 10px;
  }
  header nav ul li {
    padding: 5px !important;
  }
}
/* Responsive media End */
