@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");
@import url("http://fonts.cdnfonts.com/css/glamor");
@import url("http://fonts.cdnfonts.com/css/wallington");

* {
  margin: 0;
  padding: 0;
}
::-webkit-scrollbar {
  width: 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;
}
.banner-prep {
  width: 100vw;
  height: 100vh;

  background-size: cover;
  background-position: center;
}
.banner-prep-second {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(background-canva.png);
  background-size: cover;
  background-position: center;
}
.banner-cos-second {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(science-background.png);
  background-size: cover;
  background-position: center;
}
.banner-cos-third {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(science1-background.png);
  background-size: cover;
  background-position: center;
}
.banner-cos-forth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(science-2background.png);
  background-size: cover;
  background-position: center;
}
.banner-cos-fifth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(science3-background.png);
  background-size: cover;
  background-position: center;
}
.banner-cos-sixth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(science4-background.png);
  background-size: cover;
  background-position: center;
}
.banner-cos-sevinth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(science5-background.png);
  background-size: cover;
  background-position: center;
}
.banner-cos-eight {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(science3-background.png);
  background-size: cover;
  background-position: center;
}
.banner-cos-ninth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(science-background.png);
  background-size: cover;
  background-position: center;
}
.banner-cba-second {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(cba-page1.png);
  background-size: cover;
  background-position: center;
}
.banner-cba-third {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(cba-page2.png);
  background-size: cover;
  background-position: center;
}
.banner-cba-forth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(cba-page3.png);
  background-size: cover;
  background-position: center;
}
.banner-cba-fifth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(micro-background.png);
  background-size: cover;
  background-position: center;
}
.banner-cba-sixth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(mis-background.png);
  background-size: cover;
  background-position: center;
}
.banner-cba-sevinth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(others-cba-background.png);
  background-size: cover;
  background-position: center;
}
.banner-cba-ninth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(micro-background.png);
  background-size: cover;
  background-position: center;
}
.banner-cba-eight {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(cba-page3.png);
  background-size: cover;
  background-position: center;
}
.banner-cba-tenth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(cba-page2.png);
  background-size: cover;
  background-position: center;
}
.banner-prep-third {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(background-stat.png);
  background-size: cover;
  background-position: center;
}
.banner-prep-forth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(background-comp.png);
  background-size: cover;
  background-position: center;
}

.banner-prep-fifth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(others-background.png);
  background-size: cover;
  background-position: center;
}

.banner-ccsit-second {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(calculus-background1.png);
  background-size: cover;
  background-position: center;
}
.banner-ccsit-third {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(biology-background.png);
  background-size: cover;
  background-position: center;
}
.banner-ccsit-forth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(physics-background.png);
  background-size: cover;
  background-position: center;
}
.banner-ccsit-fifth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(electronics-background.png);
  background-size: cover;
  background-position: center;
}
.banner-ccsit-sixth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(programming-background.png);
  background-size: cover;
  background-position: center;
}
.banner-ccsit-sevinth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(others-background-ccsit.png);
  background-size: cover;
  background-position: center;
}
.banner-ccsit-eight {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(calculus-background1.png);
  background-size: cover;
  background-position: center;
}
.banner-ccsit-ninth {
  width: 100vw;
  height: 100vh;
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(biology-background.png);
  background-size: cover;
  background-position: center;
}

.navbar {
  width: 85%;
  margin: auto;
  padding: 35px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.photo-logo {
  align-items: center;
  width: 12vw;
  height: 8vh;
  opacity: 0.8;
}
#mobile-view {
  width: 35vw;
}
.logo {
  cursor: pointer;
  color: #bec4be;
  border: 10px 10px #009688;
  margin: 0px;
  font-family: "Wallington", sans-serif;
  font-weight: bold;
}
.navbar ul li {
  list-style: none;
  display: inline-block;
  margin: 0 20px;
  position: relative;
}
.navi {
  display: none;
}
.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%;
}

.content {
  width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  text-align: center;
  color: #bec4be;
}
.content-prep {
  width: 100%;
  position: center;
  top: 50%;
  bottom: 50px;
  transform: translateY(50%);
  text-align: center;
  color: #bec4be;
}
.content h1 {
  font-size: 70px;
  font-weight: bold;
  font-family: "Tajawal", sans-serif;
  margin-top: 80px;
}
.content-prep h1 {
  font-size: 70px;
  font-weight: bold;
  font-family: "Poppins", sans-serif;
  margin-top: 80px;
}
.content p {
  margin: 20px auto;
  font-weight: 100;
  font-family: "Tajawal", sans-serif;
  font-weight: bold;
  line-height: 25px;
}
.content-prep p {
  margin: 20px auto;
  font-weight: 100;
  font-family: "Poppins", sans-serif;
  font-weight: bold;
  line-height: 25px;
}
.quote {
  display: grid;
  align-items: center;
  font-weight: bold;
  transform: translateY(30vh);
  top: 25vh;
  justify-items: center;
  font-size: 20px;
  font-family: "Poppins", sans-serif;
  color: #bec4be;
}
.quote p {
  font-weight: 600;
}
.main-content {
  display: grid;
  align-items: center;
  font-weight: bold;
  transform: translateY(30vh);
  top: 25vh;
  justify-items: center;
  font-size: 20px;
  font-family: "Tajawal", sans-serif;
  color: #bec4be;
}
.main-content p {
  font-weight: 500;
}
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;
  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;
  overflow: hidden;
}

.swiper {
  width: 25vw;
  padding-top: 50px;
  padding-bottom: 50px;
  overflow-x: visible;
}

.swiper-slide {
  background-position: center;
  background-size: cover;
  width: 300px;
  height: 300px;
  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;
}
/*
span {
  background: #009688;
  height: 100%;
  width: 0;
  border-radius: 25px;
  position: absolute;
  left: 0;
  bottom: 0;
  z-index: -1;
  transition: 0.5s;
}
button:hover span {
  width: 100%;
}
button:hover {
  border: none;
}
*/
section {
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  scroll-snap-align: start;
}
.background-text {
  width: 100vw;
  height: 10vh;
  align-items: center;
  display: flex;
  position: relative;
  justify-content: center;
  place-items: center;
  box-sizing: border-box;
}
.text-opinions {
  background: #bec4be;
  width: 13vw;
  height: 7vh;
  border-radius: 15px;
  font-family: "Tajawal", sans-serif;

  display: flex;
  justify-content: center;
  align-items: center;
}
.container {
  height: 100vh;
  width: 100vw;
  margin-right: 0;
  margin-left: 0;
  padding-left: 0;
  padding-right: 0;
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
}
.first {
  background-color: #009688;
}

.third {
  background-color: #9ca79c;
}
.forth {
  background-color: #bec4be;
}

/* CARDS CLASSES */
.second-body {
  display: grid;
  min-height: 100vh;
  padding: 3rem;
  place-items: center;
  line-height: 1.6;
  box-sizing: border-box;
  font-family: sans-serif;
}
.second-body-courses {
  display: flex;
  position: relative;
  justify-content: center;
  min-height: 100vh;
  padding: 3rem;
  place-items: center;
  line-height: 1.6;
  box-sizing: border-box;
  font-family: sans-serif;
}

.second-body h1 {
  color: #bec4be;
  font-family: "poppins";
  font-weight: bold;
}
.second-body p {
  color: #bec4be;
  font-family: "poppins";
  font-weight: bold;
  font-size: 20px;
}
.cba-body {
  display: grid;
  min-height: 100vh;
  padding: 3rem;
  place-items: center;
  line-height: 1.6;
  box-sizing: border-box;
  font-family: sans-serif;
}
.cba-body h1 {
  color: #f7f1e3;
  font-family: "poppins";
  font-weight: bold;
}
.cba-body p {
  color: #f7f1e3;
  font-family: "poppins";
  font-weight: bold;
  font-size: 20px;
}
.card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(math3-card.jpg);
  background-size: cover;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-ccsit-second .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url(calculus-card.webp);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.overflow-loop {
  overflow-x: hidden;
  align-items: center;
  justify-content: center;
}
.banner-ccsit-third .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url(biology-card.jpg);
  background-size: cover;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-ccsit-forth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url(physics-card5.jpg);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-ccsit-fifth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url(electronics-card1.jpg);
  background-size: cover;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-ccsit-sixth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url(computer-card3.jpg);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-ccsit-ninth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url(stat-ccsit-card.jpg);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-ccsit-sevinth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url(others2-card.jpg);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-ccsit-eight .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.55)),
    url(blog2-card.jpg);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-cba-second .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(math-cba-card.jpg);
  background-size: cover;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-cba-third .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.35), rgba(0, 0, 0, 0.35)),
    url(finance-card.webp);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-cba-forth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(law-card2jpg.jpg);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-cba-fifth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(micro-card2.webp);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-cba-sixth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(mis-card.png);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-cba-sevinth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(money-card.jpg);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-cba-eight .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(blog3-card.webp);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-cba-ninth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(finance-card2.webp);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-cba-tenth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(macro-econmics.jpg);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-cos-second .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)),
    url(calc1-cos-card.jpg);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-cos-forth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(biology-cos.jpg);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-cos-fifth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(chemistry-cos.jpg);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-cos-sixth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(calc-cos-card.jpg);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-cos-sevinth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(biology1-spec.jpg);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-cos-eight .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(chem-spec.jpg);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.banner-cos-ninth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(physics-spec.png);
  background-size: cover;
  background-position: center;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.third .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(statistics3-card.png);
  background-size: cover;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.forth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)),
    url(comp3-card.gif);
  background-size: cover;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.fifth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.1), rgba(0, 0, 0, 0.1)),
    url(others2-card.jpg);
  background-position: center;
  background-size: cover;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.sixth .card {
  color: hsl(0, 0%, 100%);
  background-color: hsl(207, 19%, 9%);
  background-image: linear-gradient(rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.4)),
    url(blog1-card.webp);
  background-position: center;
  background-size: cover;
  padding: 8rem 0 0;
  max-width: 35ch;
  border: 0px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.5rem;
  overflow: hidden;
  transition: transform 500ms ease;
}
.card:hover,
.card:focus-within {
  transform: scale(1.05);
}
.card-content {
  --padding: 1.5rem;
  padding: var(--padding);
  background: linear-gradient(
    hsl(0 0% 0% / 0),
    hsl(20 0% 0% / 0.3) 20%,
    hsl(0 0% 0% / 1)
  );
  transform: translateY(70%);
  transition: transform 500ms ease;
}
.card-content > *:not(.card-title) {
  opacity: 0;
  transition: opacity 800ms linear;
}
.card:hover .card-content > *:not(.card-title),
.card:focus-within .card-content > *:not(.card-title) {
  opacity: 1;
  transition-delay: 750ms;
}
.card:hover .card-content,
.card:focus-within .card-content {
  transform: translateY(0);
  transition-delay: 500ms;
}
.card:focus-within .card-content {
  transition-duration: 0ms;
}
.card-title {
  position: relative;
  width: max-content;
}
.card-body {
  color: rgb(255 255 255 / 0.8);
}
.card-title::after {
  content: "";
  position: absolute;
  height: 3px;
  left: calc(var(--padding) * -1);
  bottom: -1px;
  background: #009688;
  width: calc(100% + var(--padding));
  transform: scaleX(0);
  transition: transform 500ms ease;
  transform-origin: left;
}
.card:hover .card-title::after,
.card:focus-within .card-title::after {
  transform: scaleX(1);
}
.button-card {
  cursor: pointer;
  display: inline-block;
  text-decoration: none;
  color: hsl(207, 19%, 9%);
  background-color: #009688;
  padding: 0.5em 1.25em;
  border-radius: 0.25em;
}

.button-card:hover,
.button-card:focus {
  background-color: aliceblue;
}
/* -----END CARD CLASSES-----*/
@media (min-width: 1400px) {
  .container {
    max-width: 100vw;
  }
}
@media (min-width: 576px) {
  .container {
    max-width: 100vw;
  }
}

/*===Burger and mobile compatibilty===*/

.burger {
  display: none;
  cursor: pointer;
}
.burger div {
  width: 40px;
  height: 4px;
  background-color: #bec4be;
  margin: 10px;
  transition: all 0.3s ease;
}

@media screen and (max-width: 768px) {
  #mobilePhone {
    opacity: 0;
  }
  .div-testimonialBox {
    padding: 13px;
    padding-top: 50px;
  }
  .swiper {
    width: 50vw;
  }
  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.8);
    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;
  }
  .second-body {
    min-height: 80vh;
  }
  .cba-body {
    min-height: 80vh;
  }
  /*
  @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;
  }
  .quote {
    font-size: 1.25rem !important;
    transform: translateY(-55vh) !important;
  }
  .quote p {
    font-weight: 700 !important;
  }
  .main-content {
    transform: translateY(-55vh) !important;
  }
  .main-content h2 {
    font-size: 1.35rem;
  }
  .main-content {
    font-size: 1.1rem;
    font-weight: 400;
  }
}

@media screen and (max-width: 1024px) {
  .navbar {
    width: 100vw;
  }
  .photo-logo {
    width: 12vw;
  }
  .navbar {
    justify-content: space-evenly;
  }
}
@keyframes navLinkFade {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}
.nav-active {
  opacity: 1 !important;
}

.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);
}

/* 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 span {
  transform: translateY(100%);
  display: inline-block;
}
