html {
  scroll-behavior: smooth;
}

.font-roboto {
  font-family: "Roboto", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

.font-montserrat {
  font-family: "Montserrat", sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

body {
  margin: 0;
  font-family: "Roboto", sans-serif;
  font-size: 1rem;
  font-weight: 400;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Montserrat", sans-serif;
  font-weight: 800 !important;
}



#model-control {
  width: 100%;
  height: 1150px;
  position: absolute;
  top: -220px;
  left: 0;
}

.lazy-load {
  /* width: 100%; */
  /* max-width: 600px; */
  opacity: 0;
  transition: opacity 0.5s ease-in;
}

.lazy-load.loaded {
  opacity: 1;
}

.service-icons {
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 6rem;
}

.service-icons img {
  padding: 0 1rem 0.5rem;
}

@media (min-width: 1200px) {
  .what-todo-section::after {
      content: '';
      position: absolute;
      inset-inline-end: 0;
      inset-block-end: 0;
      z-index: -1;
      pointer-events: none;
      background: url(../img/todo-section-shape.webp);
      width: 100%;
      height: 100%;
      background-repeat: repeat-y;
      background-position: top right;
  }
}

@media screen and (max-width: 500px) {
  .service-icons {
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
  }
  
  .service-icons img {
    padding: 0 1rem 0.5rem;
  }
}

#gallery img:hover, #home img:hover, .service-icons img:hover {
  transform: scale(1.1) !important;
  transition: transform .3s;
}

.service-right-text {
  left: 110%;
  width: 50%;
  z-index: -99;
  top: 50%;
  font-size: 1.9rem;
  line-height: 2.2rem;
}

@media (min-width: 768px) {
  .todo-nav {
      top: 80px;
      /* background: black; */
      z-index: 99;
      height: 60vh;
      background: linear-gradient(177deg, black 80%, transparent);
  }
}

.section-teams .swiper {
  /* background: filter(); */
  filter: grayscale(1);
}

.section-teams:hover .swiper {
  filter: grayscale(0);
}

/* swiper section */
.swiper {
  width: 100%;
  height: 100%;
}

.swiper-slide {
  /* text-align: center; */
  font-size: 18px;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  align-content: center;
}

/* .swiper-slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
} */

.mySwiper-2 .swiper-slide, .mySwiper-4 .swiper-slide {
  width: 40%;
}

/* .mySwiper-2 .swiper-slide:nth-child(2n) {
  width: 60%;
}

.mySwiper-2 .swiper-slide:nth-child(3n) {
  width: 40%;
} */
/* swiper section */

.blog-details-truncate {
  width: 100%;
  line-height: 1.2em;
  height: 3.6em;
  /* background-color: gainsboro; */
  overflow: hidden;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 3;
}

.footer-left-logo {
  /* width: 50%; */
}

.footer-right-logo {
  width: 50%;
  margin-left: auto;
}


#custom-modal {
    display: none;
    position: fixed;
    top:0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000;
    padding: 3em 5em;
    z-index: 999;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    transition: 0.25s;
}
#custom-modal .close {
    color: #fff;
    position: absolute;
    top: 0;
    right: 0;
    padding: 0.1em 1em;
    font-size: 1.5em;
    cursor: pointer;
}
#custom-modal .swiper {
  width: 100%;
  height: 100%;
}
#custom-modal .autoplay-progress {
  position: absolute;
  right: 16px;
  bottom: 16px;
  z-index: 10;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: var(--swiper-theme-color);
}
#custom-modal .autoplay-progress svg {
  --progress: 0;
  position: absolute;
  left: 0;
  top: 0px;
  z-index: 10;
  width: 100%;
  height: 100%;
  stroke-width: 4px;
  stroke: var(--swiper-theme-color);
  fill: none;
  stroke-dashoffset: calc(125.6 * (1 - var(--progress)));
  stroke-dasharray: 125.6;
  transform: rotate(-90deg);
}

.mySwiper3.swiper {
  width: 100%;
  overflow: hidden;
}
.mySwiper3 .swiper-wrapper {
  flex-direction: row;
  align-items: center;
  display: flex;
}
.mySwiper3 .swiper-slide {
  width: 50vw;
  display: flex;
  justify-content: center;
  align-items: center;
  grid-column-gap: 1.5rem;
  grid-row-gap: 1.5rem;
  flex-direction: column;
  flex: none;
}
.mySwiper3 .swiper-slide.swiper-slide-active .swiper_img__wrapper {
  opacity: 1;
  transform: scale(1);
}
.mySwiper3 .swiper-slide.swiper-slide-active .gallery-info__wrapper {
  opacity: 1;
  transform: translateY(0%);
}
.mySwiper3 .swiper_img__wrapper {
  position: relative;
  overflow: hidden;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 0.75rem;
  opacity: 0.25;
  transform: scale(0.6);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.mySwiper3 .swiper_img__wrapper .gallery-img {
  position: absolute;
  top: 0;
  width: 130%;
  height: 100%;
  max-width: none;
  object-fit: cover;
}
.mySwiper3 .gallery-info__wrapper {
  display: flex;
  grid-column-gap: 0.5rem;
  grid-row-gap: 0.5rem;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transform: translateY(50%);
  transition: transform 0.6s cubic-bezier(0.77, 0, 0.175, 1), opacity 0.8s cubic-bezier(0.77, 0, 0.175, 1);
}
.mySwiper3 .gallery-info__wrapper .heading-medium {
  text-transform: uppercase;
  font-size: 1.5rem;
  line-height: 1;
}

.header-crossed .header--5::after {
  background: white
}

.about_us .bg-white:hover {
    border-radius: 24px;
    /* border: 1px solid rgba(72, 69, 78, 0.5); */
    background: rgba(255, 255, 255, 0.40) !important;
}

#client .border-items-wrapper .border:hover {
  background: hsl(var(--primary-key)/var(--bg-opacity));
  
}

#client .border-items-wrapper .border:hover h4 {
  color: #fff; 
}
@media (min-width: 992px) {
    .header-crossed .header--5 .menu-nav>.list {
        background-color: transparent;
    }
}

@media (min-width: 501px) and (max-width: 1299px) {
    .header .menu .logo {
        width: 15%;
    }
    h3 {
      font-size: 1rem;
    }
    
}

@media (max-width: 500px) {
  .service-right-text {
    left: 10%;
    width: 80%;
    margin-top: 5%;
    position: relative;
    top: 100%;
    font-size: 1.1rem;
    line-height: 1.4rem;
  }

  .header .menu .logo {
    width: 30%;
  }

  .footer-left-logo {
    width: 80%;
    margin: auto;
  }

  .footer-right-logo {
    width: 90%;
    margin-left: auto;
    margin-right: auto;
  }

  .mySwiper-2 .swiper-slide {
    width: 80%;
  }

  h3 {
    font-size: 1.6rem;
  }
  h4 {
    font-size: 1.05rem;
  }
  .fs-20, .fs-3 {
    font-size: 1rem;
  }
  .fs-24 {
    font-size: 1.25rem;
  }
  .mySwiper-2 .swiper-slide, .mySwiper-4 .swiper-slide {
    width: 70%;
  }
  
}