/*
Theme Name: WebGo
Author: Webgo
Author URI: webgo.dev
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

.mega-menu .mega-menu-wrapper {
  position: fixed;
  top: 7rem;
  left: 50%;
}

@media (max-height: 800px) {
  .mega-menu .mega-menu-content {
    max-height: 100%;
    overflow-x: clip;
    overflow-y: auto;
  }

  .mega-menu .mega-menu-wrapper {
    max-height: 90vh;
    height: 100%;
  }
}

.mobile__nav span.wpml-ls-native {
  position: relative;
  top: unset;
  right: unset;
}

.page-template-gallery .hero {
  margin-bottom: 0;
}

header.header-fixed .mega-menu .mega-menu-wrapper {
  left: 50%;
}

.stickybox__need-item {
  grid-template-columns: 6rem 1fr;
}

.stickybox__need-icon {
  width: 6rem;
  height: 6rem;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle {
  border-radius: 50%;
  background-color: color-mix(in srgb, var(--color-white) 40%, transparent);
  border: none;
  position: relative;
  font-size: 1.3rem;
  aspect-ratio: 1 / 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  width: 5rem;
  height: 5rem;
}

.wpml-ls-link {
  border: none !important;
  font-size: 1.3rem !important;
}

.wpml-ls-legacy-dropdown-click a.wpml-ls-item-toggle:after {
  top: 75%;
  left: 50%;
  right: unset;
  transform: translate(-50%, 0);
}

.wpml-ls-legacy-dropdown-click .wpml-ls-sub-menu {
  all: unset;
  position: absolute;
  display: flex;
  flex-direction: column;
  opacity: 0;
  transition: opacity 0.4s;
}
.wpml-ls-legacy-dropdown-click
  .wpml-ls-sub-menu:has([style="visibility: visible;"]) {
  opacity: 1;
}

.wpml-ls-legacy-dropdown-click {
  width: auto;
  max-width: unset;
}

.hero__content-swiper .hero__slide.swiper-slide {
  z-index: -1;
}

.hero__content-swiper .hero__slide.swiper-slide-active {
  z-index: 1;
}

.layouts__slider .swiper-slide img {
  filter: brightness(0.45);
}

.cooperation__logos {
  gap: 5%;
  row-gap: 10rem;
  max-width: 93%;
}

.cooperation__logos img {
  max-width: 21rem;
}

.faq {
  overflow: hidden;
}

.gsap__img--mobile {
  display: none;
}

.stickybox .container {
  grid-template-columns: 50% calc(50% - 4rem);
}

.faq__categories {
  flex-wrap: wrap;
}

@media screen and (max-width: 1250px) {
  .functionalities .video-player-wrapper {
    margin-top: 0rem;
  }
}

@media (max-width: 1200px) {
  .models .swiper-slide {
    width: 70%;
  }
}

@media (max-width: 992px) {
  .configure {
    display: flex;
    flex-direction: column-reverse;
  }

  .configure__bg {
    position: relative;
    max-width: 100%;
    display: block;
    width: 100%;
  }

  .configure__wrapper {
    width: 100%;
    padding: 1.5rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .models__grid {
    grid-template-columns: repeat(1, 1fr);
  }
}

@media (max-width: 768px) {
  .page-template-gallery .hero .container {
    justify-content: flex-start;
  }

  .stickybox .container {
    grid-template-columns: 100%;
  }

  .stickybox__technical-row {
    grid-template-columns: repeat(3, 1fr);
  }

  .stickybox__image-wrapper {
    margin-inline: 5%;
  }

  .summary .container {
    grid-template-columns: 100%;
    row-gap: 5rem;
  }

  .summary__left {
    margin: 0;
  }

  .faith .container {
    flex-direction: column;
    padding-block: 5rem;
  }

  .faith__gallery,
  .faith__left,
  .faith__right {
    width: 100%;
    padding: 0;
    margin-bottom: 4rem;
  }

  .faith__gallery {
    max-width: 70%;
    margin: 0 auto;
    order: 99;
  }

  .layouts .container {
    flex-direction: column;
  }

  .layouts__left,
  .layouts__right {
    width: 100%;
  }

  .layouts__right {
    border: none;
  }

  .layouts__right::before,
  .layouts__right::after {
    content: none;
  }

  .gsap__left {
    width: 100%;
  }

  .gsap__img {
    display: none;
  }

  .gsap__img--mobile {
    display: block;
  }

  .models .swiper-slide {
    width: 100%;
  }

  .gsap__left--content {
    margin-bottom: 3rem;
    padding: 3rem;
  }

  .gsap__left--content:not(:first-of-type) {
    position: relative;
    opacity: 1;
    padding: 3rem;
  }

  .builds__list {
    display: block;
  }

  .hero__content-swiper {
    width: 100%;
  }

  .hero__hotspot {
    display: none;
  }

  .history__item {
    width: 52%;
  }

  .financing .container {
    grid-template-columns: 100%;
  }

  .experience .container {
    grid-template-columns: 100%;
    row-gap: 3rem;
  }

  .experience__gallery {
    max-width: 75%;
    margin-inline: auto;
  }

  .certificates .container {
    flex-direction: column;
    align-items: flex-start;
  }

  .certificates__content {
    width: 100%;
  }

  .certificates__logos {
    flex: 0 1 100%;
    width: 100%;
    justify-content: center;
    column-gap: 5rem;
  }

  .hero__video {
    margin-top: 3rem;
  }

  .page-template-gallery .hero {
    height: 60rem;
  }

  .page-template-gallery .hero .hero__bg {
    width: unset;
    height: 100%;
    object-fit: cover;
  }

  .functionalities .container {
    padding-right: 1rem;
  }
}

@media (max-width: 568px) {
  .hero .swiper-button-next,
  .hero .swiper-button-prev {
    display: none;
  }

  .models .stickybox__technical {
    margin: 0;
  }

  .layouts__right .layouts__details-slider {
    padding-left: 0;
  }

  .layouts {
    padding-block: clamp(6rem, 4.25vw, 9vw) clamp(10rem, 10.25vw, 13vw);
  }

  .layouts__slider {
    width: 100%;
    height: 50%;

    &::after {
      position: absolute;
      content: "";
      width: 100%;
      height: 15%;
      background: linear-gradient(to top, black 0%, transparent 100%);
      bottom: 0;
      z-index: 2;
    }
  }

  .history__item {
    width: 90%;
  }

  .history__title {
    width: 100%;
    align-self: flex-start;
  }

  .cooperation__logos img {
    max-width: 11rem;
  }

  .history::before {
    height: 100%;
  }

  .history .container {
    flex-direction: column;
  }

  .history-swiper {
    width: 100%;
  }

  .configure__wrapper {
    grid-template-columns: 1fr;
  }

  .experience__numbers {
    grid-template-columns: 100%;
  }
}

@media (max-width: 370px) {
  h1,
  .h1 {
    font-size: 5rem;
  }
}

.page-template-gallery .hero .hero__bg {
  width: 100%;
}
@media (max-width: 400px) {
  .models__grid {
    grid-template-columns: 100%;
  }
  .stickybox__technical-row {
    grid-template-columns: repeat(2, 1fr);
  }
  .models__item--button .circle_with_arrow::after {
    width: 3.5rem;
    height: 3.5rem;
    top: 2rem;
  }
  .models__item .button__wrapper {
    padding-bottom: 7rem;
  }
  .gallery .swiper-slide img,
  .gallery .swiper-slide video {
    height: 300px;
  }
  .gallery .swiper-slide {
    max-width: 100%;
  }
}

.seo_text_margin {
  margin: 100px 0;
}
