@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200;400;600;700&family=Poppins:wght@100&family=Tajawal:wght@200;300;400;500;700&display=swap");

* {
  margin: 0;
  padding: 0;
}
::-webkit-scrollbar {
  width: 0.35em;
  height: 0.35em;
}
::-webkit-scrollbar-track {
  background: hsl(120 -50% 50%/1);
  border-radius: 100vw;
  margin-block: 0;
}
::-webkit-scrollbar-thumb {
  background: hsl(120 -100% 20%/1);
  border-radius: 100vw;
}
::-webkit-scrollbar-thumb:hover {
  background: hsl(120 -100% 15%/1);
}
.banner {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.75), rgba(0, 0, 0, 0.75)),
    url(SANAD.jpg);
  background-size: cover;
  background-position: center;
  position: relative;
}
#mobile-view {
  width: 35vw;
}
.navi {
  display: none;
}
.photo-logo {
  align-items: center;
  width: 12vw;
  height: 8vh;
  opacity: 1;
}
.navbar {
  width: 85%;
  margin: auto;
  padding: 35px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.logo {
  cursor: pointer;
  color: #9ca79c;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
}
.navbar ul li {
  list-style: none;
  display: inline-block;
  margin: 0 20px;
  position: relative;
}

.navbar ul li a {
  text-decoration: none;
  color: #bec4be;
  font-family: "Tajawal", sans-serif;
  text-transform: uppercase;
}
.navbar ul li::after {
  content: "";
  height: 3px;
  width: 0;
  background: #009688;
  position: absolute;
  right: 0;
  bottom: -10px;
  transition: 0.5s;
}
.navbar ul li:hover::after {
  width: 100%;
}

.burger {
  display: none;
  cursor: pointer;
}
.burger div {
  width: 45px;
  height: 4px;
  background-color: #bec4be;
  margin: 10px;
  transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
  .div-testimonialBox {
    padding: 13px;
    padding-top: 50px;
  }
  .phone-problem {
    display: none;
  }
  .swiper {
    width: 100vw !important;
    overflow: hidden !important;
  }
  body {
    overflow-x: hidden;
  }
  .navi {
    display: flex;
    top: 10px;
    height: 8vh;
    justify-content: space-around;
    align-items: center;
    background: #404040;
  }

  .navbar {
    right: 0px;
    display: grid;
    position: relative;
    z-index: 2;
    height: 92vh;
    background: hsl(0 0% 0% / 0.85);

    width: 100vw;
    justify-content: center;
    opacity: 0 !important;
    transition: opacity 0.5s ease-in;
  }
  .nav-links {
    justify-content: space-around;
    align-items: center;
    flex-direction: column;
    display: none;
  }

  @supports (backdrop-filter: blur(0.5rem)) {
    .navbar {
      background: hsl(0 0% 100% / 0.1);
      backdrop-filter: blur(0.5rem);
    }
    .navi {
      background: hsl(0 0% 100% / 0.1);
      backdrop-filter: blur(0.5rem);
    }
  }
  .nav-links li {
    opacity: 0;
  }
  .navbar ul {
    height: 80vh;
  }
  #mobile {
    display: none;
  }
  .navbar ul li a {
    color: #bec4be;
    font-size: 20px;
    font-weight: bold;
    font-family: "Tajawal", sans-serif;
  }
  .burger {
    display: block;
  }
  .photo-logo {
    width: 20vw;
  }
  .row-boxes {
    flex-direction: column;
  }
  .swiper-slide {
    width: 35ch !important;
  }
  .swiper-slide img {
    width: 10vw !important;
  }
  .join-sanad h1 {
    font-size: 24px;
  }
  .ach-col {
    margin: 5px !important;
  }
  .text-box {
    transform: translateY(0vh) !important;
  }
  .text-box h1 {
    font-size: 2.5em !important;
  }
  .text-box p {
    margin: 10px 0 20px !important;
    font-size: 1.1em !important;
  }
}

@media screen and (max-width: 1024px) {
}
@keyframes navLinkFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.nav-active {
  opacity: 1 !important;
  display: block;
}

.nav-active .quote {
  display: none;
}
.nav-active .nav-links {
  display: flex;
}
.toggle .line1 {
  transform: rotate(-45deg) translate(-9px, 10.8px);
}

.toggle .line2 {
  opacity: 0;
}

.toggle .line3 {
  transform: rotate(45deg) translate(-9px, -10.8px);
}

.text-box {
  width: 100vw;
  color: #bec4be;
  position: absolute;
  top: 45%;
  text-align: center;
  font-family: "Tajawal", sans-serif;
}
.text-box h1 {
  font-size: 50px;
}
.text-box p {
  margin: 10px 0 40px;
  font-size: 16px;
}
.hero-btn {
  display: inline-block;
  text-decoration: none;
  color: #bec4be;
  border: 1px solid #bec4be;
  padding: 12px 34px;
  font-size: 15px;
  background: transparent;
  position: relative;
  cursor: pointer;
}
.hero-btn:hover {
  border: 1px solid #009688;
  background: #009688;
  transition: 500ms ease;
  color: #bec4be;
}

/*=== second page ===*/
.vision-mission {
  width: 80%;
  margin: auto;
  text-align: center;

  padding-top: 100px;
  font-family: "Tajawal", sans-serif;
}
.vision-background {
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(about-page.png);
  background-size: cover;
  background-position: center;
}
.testimonial-background {
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(about-page.png);
  background-size: cover;
  background-position: center;
  height: 90vh;
}
.vision-mission h1 {
  font-size: 36px;
  font-weight: 600;
  color: #303030;
}

.vision-mission p {
  font-size: 16px;
  font-weight: 300;
  color: #303030;
  line-height: 22px;
  padding: 10px;
}

.row-boxes {
  margin-top: 5%;
  display: flex;
  justify-content: space-between;
}
.vis-col {
  flex-basis: 31%;
  background: #9ca79c;
  border-radius: 10px;
  margin-bottom: 5%;
  padding: 20px 12px;
  box-sizing: border-box;
  transition: 500ms;
}
.vis-col h3 {
  text-align: center;
  font-size: 30px;
  font-weight: 600;
  margin: 10px 0;
  color: #303030;
}
.vis-col p {
  text-align: center;
  font-size: 18px;
  font-weight: 500;
  color: #303030;
}
.vis-col:hover {
  box-shadow: 0 0 20px 0px rgba(0, 0, 0, 0.45);
}

/* Achevemnits page*/
.ach-background {
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(about-page.png);
  background-size: cover;
  background-position: center;
}
.acheviments {
  width: 80%;
  margin: auto;
  text-align: center;
  padding-top: 50px;
}
.acheviments h1 {
  font-size: 36px;
  font-weight: 600;
  color: #303030;
  font-family: "Tajawal", sans-serif;
}
.ach-col {
  flex-flow: column;
  border-radius: 10px;
  margin-bottom: 30px;
  position: relative;
  overflow: hidden;
  margin: 10px;
}
.ach-col img {
  width: 100%;
  display: block;
}
.layer-img {
  background: transparent;
  height: 100%;
  width: 100%;
  position: absolute;
  top: 0;
  left: 0;
  transition: 500ms;
}
.layer-img:hover {
  background: rgba(190, 196, 190, 0.7);
}
.layer-img h3 {
  font-family: "Tajawal", sans-serif;
  width: 100%;
  font-weight: 600;
  color: #303030;
  font-size: 26px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  position: absolute;
  opacity: 0;
  transition: 0.5s;
}
.layer-img:hover h3 {
  bottom: 49%;
  opacity: 1;
}

/*=== testimonials page ===*/
.swiper {
  width: 25vw;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow-x: visible;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  height: 50vh !important;
  width: 45ch;
  background: #9ca79c;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
  filter: blur(2px);
  border-radius: 15px;
}

.swiper-slide-active {
  filter: blur(0px);
  background: #bec4be;
}
.div-testimonialBox {
  position: relative;
  width: 100%;
  padding: 40px;
  padding-top: 90px;
}
.div-testimonialBox .testimonial-quote {
  position: absolute;
  top: 20px;
  right: 30px;
  opacity: 0.2;
}
.div-testimonialBox .testimonial-details {
  display: flex;
  align-items: center;
}
.div-testimonialBox .testimonial-details h3 {
  font-size: 20px;
  font-weight: 500;
  letter-spacing: 1px;
  color: #404040;
  line-height: 1.1em;
}
.swiper-slide img {
  display: block;
  width: 5vw;
}
.swiper-3d .swiper-slide-shadow-left,
.swiper-3d .swiper-slide-shadow-right {
  background-image: none;
}
.opinion-header {
  margin-bottom: 50px;
  padding-top: 100px;
  font-family: "Tajawal", sans-serif;
}
.opinion-header h3 {
  font-size: 36px;
  font-weight: 600;
  color: #bec4be;
  display: grid;
  justify-content: center;
}
.opinion-header p {
  font-size: 16px;
  font-weight: 300;
  color: #bec4be;
  line-height: 22px;
  padding: 10px;
}

/*=== Join Sanad Page ===*/

.join-sanad {
  margin: auto auto;
  width: 80%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
    url(SANAD.jpg);
  background-position: center;
  background-size: cover;
  border-radius: 10px;
  text-align: center;
  padding: 100px 0;
  font-family: "Tajawal", sans-serif;
}
.join-sanad h1 {
  color: #bec4be;
  margin-bottom: 40px;
  padding: 0;
}
.web-footer {
  width: 100%;
  text-align: center;
  padding: 30px 0;
  color: #303030;
  font-family: "Tajawal", sans-serif;
}
.web-footer h4 {
  margin-bottom: 25px;
  margin-top: 20px;
  font-weight: 600;
}
.web-footer p {
  font-size: large;
  font-weight: 500;
}
.testimonial-section {
  overflow: hidden;
}
.testimonial-content {
  display: grid;
  justify-content: space-betweens;
}
.icons .fa {
  color: #303030;
  margin: 0 13px;
  cursor: pointer;
  padding: 18px 0;
}

button {
  width: 200px;
  padding: 15px 0;
  text-align: center;
  margin: 20px 10px;

  border-radius: 25px;
  font-weight: bold;
  border: 2px solid #009688;
  background: transparent;
  color: #bec4be;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
button a {
  text-decoration: none;
  width: 200px;
  padding: 15px 0;
  text-align: center;
  margin: 20px 10px;
  border-radius: 25px;
  z-index: 0;

  font-weight: bold;
  background: transparent;
  color: #bec4be;
  cursor: pointer;
  position: relative;
  overflow: hidden;
}
button a:hover {
  text-decoration: none;
  width: 200px;
  padding: 15px 0;
  text-align: center;
  margin: 20px 10px;
  border-radius: 25px;
  font-weight: bold;
  background: transparent;
  color: #bec4be;
  cursor: pointer;
  position: relative;
  z-index: 0;
  overflow: hidden;
}
.slidey-thing {
  background: #009688;
  height: 100%;
  width: 0;
  border-radius: 25px;
  position: absolute;
  right: 0;
  bottom: 0;
  z-index: 0;
  transition: 0.5s;
}
button:hover .slidey-thing {
  width: 100%;
}
button:hover {
  border: none;
}
/* Cool refresh animation */

.intro {
  background: black;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}
.slider {
  background: rgb(97, 105, 109);
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  transform: translateY(100%);
}

.intro-text {
  color: #c8cfc8;
  font-size: 3rem;
}

.hide {
  background: black;
  overflow: hidden;
}

.hide .text {
  transform: translateY(100%);
  display: inline-block;
}
