:root {
  --primary-color: #67e8a7;
  --secondary-color: #2894a4;
  --title-font: "Montserrat", sans-serif;
  --text-font: "Montserrat", sans-serif;
  --alternate-font: "Lalezar", sans-serif;
}

html {
  font-family: "Montserrat", sans-serif;
}

body {
  overflow-x: hidden;
}

.mobile-nav-toggler {
  display: block !important;
  transition: all 0.4s ease;
}

.mobile-nav-toggler:hover {
  transform: rotate(90deg);
}

.main-header .header-lower .outer-box {
  width: 100%;
}

.mobile-nav-toggler {
  margin-top: 30px;
}

.mobile-nav-toggler span {
  display: block;
  background-color: black;
  width: 50px;
  height: 4px;
  margin-top: 12px;
}

.mobile-nav-toggler span.offset {
  margin-left: 10px;
}

#home {
  height: 100vh;
}

#home .content-box {
  padding: 0 !important;
  max-width: unset !important;
}

#home .row {
  height: 100vh;
  align-items: center;
}

#home h1 {
  position: relative;
  font-size: 20vw;
  margin-left: -20px;
  /* margin-top: 100px; */
  margin-bottom: 0;
  font-family: "Montserrat", sans-serif;
}


#home h1::before {
  content: "";
  background-color: var(--primary-color);
  width: 200%;
  display: block;
  position: absolute;
  height: 25px;
  bottom: 42px;
  z-index: -1;
  animation: changeColor 4s linear infinite;
}

#home .logo-hero {
  position: relative;
}

#home .logo-hero img {
  width: 70%;
  height: 70%;
  object-fit: contain;
  margin-bottom: 49px;
}

#home .logo-hero::before {
  content: "";
  background-color: var(--primary-color);
  width: 200%;
  display: block;
  position: absolute;
  height: 25px;
  bottom: 42px;
  z-index: -1;
  animation: changeColor 4s linear infinite;
}

@keyframes changeColor {
  0% {
    background-color: var(--primary-color);
  }

  50% {
    background-color: var(--secondary-color);
  }

  100% {
    background-color: var(--primary-color);
  }
}

h3 {
  font-size: max(3vw, 1.5rem);
  font-weight: 100;
  line-height: 1.1;
  margin-bottom: 50px;
}

#home .hamza {
  position: absolute;
  bottom: 30px;
  right: 60px;
  background: black;
  color: white;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  text-align: center;
  line-height: 45px;
  font-size: 45px;
  padding: 0;
  overflow: visible;
  font-family: "Vazirmatn", sans-serif;
}


#home .hamza::before {
  content: 'أكاديميا';
  position: absolute;
  top: 50%;
  left: 0;
  width: max-content;
  opacity: 0;
  max-width: 50px;
  transform: translateY(-50%) translateX(-100%);
  color: black;
  background-color: transparent;
  font-size: 1.6rem;
  font-weight: 900;
  padding-right: 1rem;
  font-family: var(--alternate-font);
  line-height: 53px;
  transition: all 0.4s ease;
}

#home .hamza:hover {
  background-color: var(--primary-color);
}

#home .hamza:hover::before {
  opacity: 1;
  max-width: 100px;
}

.btn-style-one {
  background: black;
  transition: 0.2s ease-in;
  font-size: 25px;
  border-radius: 100px;
  padding: 15px 100px;
}

.btn-style-one.hvr-dark:before {
  background-color: var(--primary-color);
}

.btn-style-one:hover .btn-title {
  color: black !important;
  transition: 0.2s ease-in;
}

.preloader:before {
  content: none;
}

.preloader:after {
  background-image: url(../img/loading.gif);
  background-size: 125px;
}

.section-padding {
  padding: 120px 0;
}

#about h3,
#clients h3 {
  text-align: center;
  margin-bottom: 20px;
}

h2 {
  text-align: center;
  font-size: 56px;
}

@media (max-width: 774px) {
  h2 {
    font-size: 35px;
  }

  h1,
  h2,
  h3,
  h4,
  h5 {
    text-align: center;
  }
}

h3 span.green {
  color: var(--primary-color);
  font-weight: 800;
}

h3 span.cyan {
  color: var(--secondary-color);
  font-weight: 800;
  font-size: max(4vw, 1.6rem);
}

.ripple.before {
  -webkit-animation: 2s ripple 0.2s ease-in infinite;
  animation: 2s ripple 0.2s ease-in infinite;
  background: rgba(200, 200, 200) !important;
  color: white !important;
  top: -200px;
  left: -200px;
  right: -200px;
  bottom: -200px;
  transform: scale(1);
  opacity: 0.1;
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

#about {
  overflow: visible;
}

#blog {
  padding-bottom: 0;
}

.ripple.after {
  -webkit-animation: ripple 2s ease-in infinite;
  animation: ripple 2s ease-in infinite;
  background: rgb(200, 200, 200) !important;
  color: white !important;
  top: -100px;
  left: -100px;
  right: -100px;
  bottom: -100px;
  transform: scale(1);
  opacity: 0.2;
  content: "";
  position: absolute;
  border-radius: 50%;
  z-index: -1;
}

@keyframes ripple {

  0%,
  100% {
    transform: scale(1);
  }

  20% {
    transform: scale(1.2);
  }

  60% {
    transform: scale(0.9);
    opacity: 0;
  }
}

.green-circle {
  position: absolute;
  width: 600px;
  height: 600px;
  background: var(--primary-color);
  border-radius: 50%;
  top: 56%;
  left: 50%;
  transform: translate(-48.5%, -38%);
  z-index: -1;
}

.dactilo {
  margin-top: 80px;
}

.dactilo img {
  width: 100%;
  max-width: 600px;
}

.dactilo-img {
  transform: translateX(52%);
  transition: 1s ease-in-out;
}

.container-fluid {
  padding: 0 120px !important;
}

.dad-letter {
  font-size: 600px;
  font-size: 32vw;
  line-height: 1;
  color: black;
  width: 100%;
  display: block;
  text-align: center;
}

h3.arabic {
  margin-bottom: 40px;
}

h3.arabic::before {
  content: "";
  background-color: var(--primary-color);
  width: 10%;
  display: block;
  position: absolute;
  height: 25px;
  bottom: 0px;
  right: -10px;
  z-index: -1;
}

h2.arabic {
  text-align: right;
}

.arabic {
  direction: rtl;
  font-family: "Vazirmatn", sans-serif;
}

#services .theme-btn {
  font-family: "Vazirmatn", sans-serif;
}

/* #services {
    padding-top: 0;
} */

.fixy {
  position: -webkit-sticky;
  position: sticky;
  top: 13%;
  z-index: 1;
}

.page-wrapper,
#services {
  overflow: unset !important;
}

.scrolly-words {
  /* margin-bottom: 80vh; */
  margin-bottom: 60vh;
  z-index: 0;
  background: white;
}

#services h3.arabic::after {
  content: "";
  background-color: white;
  width: 100%;
  display: block;
  position: absolute;
  top: -130px;
  bottom: 0px;
  right: -30px;
  z-index: -2;
}

.scrolly-words.fixy {
  top: 23.5%;
  top: 8%;
}

.scrolly-words.last {
  margin-bottom: 45vh !important;
  top: 23.5%;
}

#services a {
  margin-top: 0vh;
  float: right;
}

#about .green-circle {
  z-index: 2;
}

#about .col-lg-6 {
  z-index: 3;
}

.dad-container.fixy {
  top: 5%;
}

.btn-style-one.inverted {
  background-color: var(--primary-color);
}

.btn-style-one.inverted span {
  color: black !important;
}

.btn-style-one.hvr-dark.inverted:before {
  background-color: black;
}

.btn-style-one.inverted:hover span {
  color: white !important;
}

#services h3.arabic {
  margin-bottom: calc(45vh + 16.5%);
}

.dad-letter {
  font-family: "Lateef", serif;
  /* animation: 6s infinite changeFont; */
}

#services .btn-style-one {
  font-size: 30px !important;
}

/* @keyframes changeFont {
    0% {
        font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    }
    25% {
        font-family: "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    }
    50% {
        font-family: "Gill Sans", "Gill Sans MT", Calibri, "Trebuchet MS", sans-serif;
    }
    75% {
        font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    }
    100% {
        font-family: "Trebuchet MS", "Lucida Sans Unicode", "Lucida Grande", "Lucida Sans", Arial, sans-serif;
    }
} */

#overview.project-section-three .outer-box,
#blog.project-section-three .outer-box {
  padding: 0;
}

.project-section-three::before {
  content: none;
}

#overview .styled-pagination,
#blog .styled-pagination {
  margin: 0;
}

.project-block .image-box .image::after {
  content: none;
}

.project-block .image-box {
  border-radius: 30px;
}

.container-fluid {
  /* padding-top: 0 !important; */
  padding-bottom: 0 !important;
}

.project-block .content-box .title {
  border-radius: 20px;
}

.project-block .content-box {
  right: 0;
}

.project-block .inner-box:hover .content-box {
  margin-bottom: 20px;
}

.project-block .image-box .image::before {
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      var(--primary-color) 100%);
}

.news-block .image-box .image a::before {
  content: "";
  top: 0;
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      var(--primary-color) 100%);
  opacity: 1;
  transition: 0.4s ease-in-out;
  z-index: 2;
}

.news-block .inner-box:hover .image-box .image a::before {
  transition: 0.4s ease-in-out;
  z-index: -1;
  opacity: 0;
}

.news-block a:hover {
  color: var(--secondary-color);
}

.styled-pagination .swiper-pagination-progressbar-fill {
  background: var(--primary-color);
}

#overview h3 span.green {
  color: black;
  /* font-size: 80px; */
  font-size: max(4vw, 2.7rem);
}

#overview,
#blog {
  overflow: hidden;
}

#overview .sec-title,
#overview h3 {
  margin-bottom: 30px !important;
}

.black-greenline {
  color: black !important;
  position: relative;
}

.black-greenline::before {
  content: "";
  background-color: var(--primary-color);
  width: 110%;
  display: block;
  position: absolute;
  height: 25px;
  bottom: 0px;
  right: -10px;
  z-index: -1;
}

#clients h3 {
  margin-bottom: 50px;
}

#blog .container-fluid {
  padding-top: 100px;
}

#blog .project-block .content-box {
  padding: 0;
}

#blog .news-block h4 {
  margin-bottom: 20px;
}

.news-block .content-box .content {
  padding: 35px 40px 22px;
}

.news-block .image-box .image {
  border-radius: 30px;
  height: 400px;
}

.news-block .image-box .image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

.news-block p {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  /* number of lines to show */
  line-clamp: 3;
  -webkit-box-orient: vertical;
}

#blog .news-block .content-box,
#blog .news-block .content-box .content {
  border-radius: 20px;
}

.news-block .bottom-box .read-more {
  width: 100%;
  padding: 20px 40px;
}

#blog .read-more {
  padding: 20px 60px;
  font-size: 20px;
  font-weight: 600;
}

#blog .read-more:hover {
  color: var(--secondary-color);
}

#blog .news-block .content-box {
  margin-bottom: 30px;
  z-index: 4;
}

.read-more span {
  margin-left: 5px;
  font-size: 18px;
}

#contact h2 {
  text-align: left;
}

#contact h2.right {
  text-align: right;
}

#contact h3.title {
  margin-top: 150px;
  max-width: 800px;
}

h3.email {
  margin-bottom: 250px;
  font-size: 50px;
  margin-top: 50px;
  color: var(--secondary-color);
}

h3.email .fa-angle-right {
  font-weight: 300;
  float: right;
}

h3.email::before {
  content: "";
  background-color: var(--secondary-color);
  width: 100%;
  display: block;
  position: absolute;
  height: 5px;
  bottom: -30px;
  right: 0px;
  z-index: -1;
}

@media (max-width: 600px) {
  #contact .socials {
    justify-content: center;
  }

  #contact .socials a {
    font-size: 31px !important;
  }
}

#contact .socials {
  display: flex;
  justify-content: end;
  gap: 30px;
}

#contact .socials a {
  font-size: 45px;
}

a:hover {
  color: var(--primary-color);
}

footer {
  background-color: var(--primary-color);
  padding: 25px;
}

footer h6 {
  margin-bottom: 0;
}

footer h6 a:hover {
  color: black;
  opacity: 0.5;
}

.scroll-to-top {
  background-color: var(--primary-color);
  color: black;
}

#contact .green-circle {
  background: transparent;
  position: absolute;
  top: unset;
  bottom: -200px;
  left: unset;
  transform: unset;
  z-index: -1;
  right: -50px;
}

#contact .ripple.before {
  top: -280px;
  left: -280px;
  right: -280px;
  bottom: -280px;
}

#contact .ripple.after {
  top: -100px;
  left: -100px;
  right: -100px;
  bottom: -100px;
}

.mobile-menu .nav-logo {
  position: relative;
  text-align: right !important;
  width: 100%;
}

.mobile-menu .nav-logo>a {
  /* margin-top: 5rem; */
  position: absolute;
  top: 37px;
  right: -41px;
}

.mobile-menu {
  max-width: unset;
  width: 100%;
}

.mobile-menu .close-btn {
  font-size: 30px;
  color: black;
  top: 0;
  right: -20px;
}

.mobile-menu-visible .mobile-menu .menu-box {
  background-color: #fffffff0;
  padding: 1rem;
}

@media (min-width: 600px) {
  .mobile-menu-visible .mobile-menu {
    padding: 2rem;
  }
}

.mobile-menu .navigation {
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
}


.mobile-menu .navigation li>a {
  color: black;
  font-size: 42px;
  font-weight: 500;
  padding: 25px 55px;
}

.mobile-menu .nav-logo a h2 {
  text-align: left;
}

.mobile-menu .social-links {
  background: transparent;
  width: 100%;
  gap: 1rem;
  justify-content: end;
  padding-right: 2rem;
}

.mobile-menu .social-links li {
  width: fit-content;
}

.mobile-menu .social-links li a {
  color: black;
  font-size: 20px;
  width: fit-content;
}

.mobile-menu .social-links li a:hover {
  color: var(--secondary-color);
}

.mobile-menu .social-links .email {
  padding-right: 3rem;
}

@media (max-width: 500px) {
  .mobile-menu .social-links .email {
    display: none;
  }

  .mobile-menu .navigation li>a {
    font-size: 32px;
  }
}


.mobile-menu .upper-box {
  padding: 20px 50px;
}

#contact {
  padding-bottom: 60px;
}

.copy-message {
  display: none;
  color: var(--primary-color);
  letter-spacing: 0.7px;
  font-size: 20px;
  font-weight: 700;
  margin-top: 15px;
}

@media only screen and (max-width: 1700px) {
  .header-style-three .header-lower {
    background-color: rgba(255, 255, 255, 0);
  }
}

@media only screen and (max-width: 1500px) {
  .container-fluid {
    padding: 0 30px !important;
  }
}

.blog-page :where(h1, h2, h3, h4) {
  text-align: left;
  font-weight: 200;
}

.blog-page h1 {
  font-size: 3.2rem;
  line-height: 4.4rem;
  font-weight: 900;
  margin-bottom: 4rem;
  text-align: center;
}

@media (max-width: 600px) {
  .blog-page h1 {
    font-size: 1.8rem;
    line-height: 2.4rem;
  }

  .news-block .content-box {
    margin-top: -100px !important;
  }
}

.blog-page h2 {
  font-size: max(1.5rem, 2.6vw);
  margin-bottom: 1.725rem;
  font-weight: 500;
}

.blog-page h3 {
  font-size: max(1.3rem, 2vw);
  margin-bottom: 1.4rem;
  font-weight: 500;
}

.blog-page h4 {
  font-size: max(1.1rem, 1.2vw);
  font-weight: 500;
}

.blog-page .text-group {
  margin-bottom: 3rem;
}

.blog-page .text-group p {
  text-align: justify;
}

.blog-page .img-container {
  width: 100%;
  margin-bottom: 3rem;
}

.blog-page .img-container img {
  width: 100%;
  height: 100%;
  max-height: 450px;
  border-radius: 5px;
  object-fit: cover;
}

.brand-box img {
  transition: all 0.4s ease;
}

.brand-box:hover img {
  transform: scale(1.1);
}

.text-group.faq strong {
  font-size: 1.2rem;
  color: black;
  font-weight: 600;
}

.text-group.faq p:has(strong) {
  margin-bottom: 0;
}

.blockquote-one {
  position: relative;
  z-index: 2;
}

.blockquote-one::before {
  content: '';
  position: absolute;
  transition: all 0.4s ease;
  background-color: var(--primary-color);
  width: 100%;
  height: 100%;
  max-width: 0;
  top: 0;
  left: 0;
}

.blockquote-one:hover::before {
  max-width: 100%;
}

.blockquote-one p {
  position: relative;
  margin-bottom: 0;
  padding-bottom: 0;
  color: #222;
  z-index: 4 !important;
  transition: all 0.4s ease;
}

.blockquote-one:hover p {
  color: black;
}

.swiper-custom-next,
.swiper-custom-prev {
  background-color: var(--primary-color);
  color: black;
  border-radius: 50%;
  height: 40px;
  width: 40px;
  line-height: 40px;
  text-align: center;
}

.swiper-custom-next:hover,
.swiper-custom-prev:hover {
  background-color: #1d1729;
  color: white;
}

@media (max-width: 992px) {
  .project-section-three .title-column .inner-column {
    text-align: center;
  }

  .swiper-custom-nav {
    justify-content: center;
    margin-bottom: 30px;
  }
}