@import url('https://fonts.googleapis.com/css2?family=Noto+Kufi+Arabic:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css?family=Nunito:300,300i,400,400i,600,600i,700,700i&display=swap');
@import url('https://fonts.googleapis.com/css?family=Poppins:300,300i,400,400i,500,500i,600,600i,700,700i&display=swap');

html,
body {
  overflow-x: hidden;
}

body {
  box-sizing: border-box;
  font-family: 'Nunito', sans-serif;
  letter-spacing: 0.5px;
  background: url(../videos/poster.png);
  background-repeat: no-repeat;
  background-position: center;
  background-attachment: fixed;
  background-size: cover;
}

body:lang(ar) {
  box-sizing: border-box;
  font-family: 'Noto Kufi Arabic', sans-serif;
  letter-spacing: 0px;
  text-transform: none;
}

body {
  font-size: 17px;
  background-color: #d7dfe3;
}

.layer {
  background-color: rgba(255, 255, 255, 0.6);
  position: absolute;
  height: 100vh;
  width: 100vw;
  object-fit: cover;
  object-position: 70%;
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -1;
}

#background-video {
  height: 100vh;
  width: 100vw;
  object-fit: cover;
  object-position: 70%;
  position: fixed;
  right: 0;
  top: 0;
  bottom: 0;
  z-index: -2;
}

.logo,
.logo-mobile {
  margin: 20px;
  left: 0px;
}

.logo:lang(ar),
.logo-mobile:lang(ar) {
  right: 0px;
  left: unset;
}

.logo-mobile {
  display: none;
}

.lang {
  font-family: 'Noto Kufi Arabic', sans-serif;
  letter-spacing: 0px;
  padding: 5px 13px;
  margin: 20px;
  position: absolute;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-radius: 6px;
  border: 2px solid #49085f;
  color: #49085f;
  right: 0px;
}

.lang:lang(ar) {
  font-family: 'Nunito', sans-serif;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  left: 0px;
  right: unset;
}

.header {
  height: 100vh;
  width: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

.header img {
  width: 100%;
  max-width: 800px;
  margin-top: -35%;
}

.header .title {
  margin-top: -70px;
  color: rgb(73, 8, 95, 0.8);
  font-size: 35px;
  font-weight: 500;
  text-transform: uppercase;
}

.header .title:lang(ar) {
  font-size: 50px;
  font-weight: 300;
}

.header .title .btn {
  margin-top: 50px;
  background: linear-gradient(to top right, #49085f, #8811af);
  color: #ffffff;
  border: 0px;
  border-radius: 10px;
  min-width: 240px;
  font-weight: 300;
  font-size: 27px;
  text-transform: uppercase;
}

.header .title .btn:lang(ar) {
  font-size: 32px;
  text-transform: uppercase;
}

.header .title .btn:hover {
  background: linear-gradient(to top right, #49085f, #a215d1);
}

.services {
  text-align: center;
  margin-left: auto;
  margin-right: auto;
  padding: 20px;
}

.services .container-card {
  cursor: pointer;
  text-align: center;
  margin-bottom: 22px;
}

.services .container-card .card {
  transform-style: preserve-3d;
  height: 100%;
  min-height: 350px;
  width: 100%;
  transition: 0.5s ease;
}

.services .container-card .card .front,
.services .container-card .card .back {
  height: 100%;
  width: 100%;
  transform-style: preserve-3d;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 0.4em;
  position: absolute;
  top: 0;
  bottom: 0;
  backface-visibility: hidden;
  display: flex;
}

.services .container-card .card .front {
  background-color: #fff;
  box-shadow: 10px 10px 5px rgb(200, 200, 200, 0.5);
  color: #500a68;
}

.services .container-card .card .front .title {
  padding-top: 10px;
}

.services .container-card .card .front img {
  max-height: 200px;
  width: 100%;
  max-width: 280px;
  margin-top: -25%;
}

.services .container-card .card .front .line {
  margin: auto;
  width: 100%;
  margin-top: 30px;
  border: 2px solid;
  border-width: 3px;
  border-image-slice: 1;
  border-image-source: linear-gradient(to left, #743ad5, #d53a9d);
}

.services .container-card .card .front .content h2:lang(en),
.services .container-card .card .front .content h4:lang(en),
.services .container-card .card .front .content h5:lang(en) {
  margin: 1px;
}

.services .container-card .card .front .content h2 {
  font-weight: 600;
}

.services .container-card .card .back {
  background: linear-gradient(to top right, #49085f, #d968ff);
  transform: rotateX(180deg);
  color: #ffffff;
}

.services .container-card .card .back .content {
  margin: auto;
}

.services .container-card .card .back .content h2,
.services .container-card .card .back .content h4,
.services .container-card .card .back .content h5 {
  margin: 0px;
  line-height: 45px;
}

.services .container-card .card .back .content h4 {
  font-weight: 600;
}


.services .container-card .card .back .content .colored {
  margin: 0px;
  line-height: 40px;
  background: linear-gradient(to top right, #dd7cfd, #edbdfd);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services .container-card .card .content {
  transform: translateZ(60px);
  font-weight: 500;
  line-height: 31px;
  margin-top: 17%;
  width: 100%;
}

.services .container-card .card .content i {
  margin-bottom: 50px;
  font-size: 50px;
  font-weight: 600;
  background: linear-gradient(to top right, #49085f, #d968ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.services .container-card .card .content p {
  font-size: 14px;
  line-height: 2em;
  letter-spacing: 0.02em;
  padding: 0 3em;
  color: #ffffff;
}

.services .container-card:hover .card {
  transform: rotateX(180deg);
}

.footer {
  padding: 20px;
  text-align: center;
  width: 100%;
  color: #500a68;
  direction: ltr !important;
  font-family: 'Nunito', sans-serif;
  letter-spacing: 0px;
}

@media (max-width: 1420px) {
  .container {
    max-width: 95% !important;
  }
}

@media (max-width:1180px) and (min-width:650px) {
  .col-md-6 {
    flex: 0 0 auto;
    width: 50%;
  }
}

@media (max-width: 991px) {
  .layer {
    height: auto;
  }

  .logo {
    display: none;
  }

  .logo-mobile {
    display: inline;
    margin: 25px;
  }
}

@media (max-width:649px) {
  .header img {
    margin-top: -60%;
  }

  .header .title {
    margin-top: -40px;
    font-size: 20px;
  }

  .header .title:lang(ar) {
    font-size: 30px;
  }

  .header .title .btn {
    margin-top: 40px;
    min-width: 180px;
    font-size: 20px;
  }

  .header .title .btn:lang(ar) {
    font-size: 20px;
  }
}

@media (max-height:650px) and (orientation: landscape) {
  .header img {
    margin-top: -20%;
  }
}

@media (max-height:499px) and (orientation: landscape) {
  .header {
    height: unset;
  }

  .header img {
    margin-top: -10%;
  }
}