@font-face {
  font-family: 'Montserrat Bold';
  font-style: normal;
  font-weight: normal;
  src: local('Montserrat Bold'), url('../fonts/Montserrat-Bold.woff') format('woff');
  }
@font-face {
  font-family: 'Montserrat ExtraBold';
  font-style: normal;
  font-weight: normal;
  src: local('Montserrat ExtraBold'), url('../fonts/Montserrat-ExtraBold.woff') format('woff');
  }
@font-face {
  font-family: 'Montserrat Black';
  font-style: normal;
  font-weight: normal;
  src: local('Montserrat Black'), url('../fonts/Montserrat-Black.woff') format('woff');
  }

.design-concepts__img {
    background-position: center;
    cursor: pointer;
}
.portfolio__item-arrow {
    cursor: pointer;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}
.portfolio__item-arrow:hover {
    opacity: 1;
}
.footer__menu-item a:hover {
    text-decoration: underline;
    color: #fff;
}
.home-link6:hover {
    color: #fff;
}
.btn {
    transition: background-color 0.3s ease;
}
.btn:hover {
    background-color: rgba(237, 24, 21, 0.5);
}
.btn_load-more:hover {
    background-color: #0C4684;
}
.design-concepts__img {
    transition: transform 0.3s ease, border-color 0.3s ease;
    border: 2px solid rgba(237, 24, 21, 0.0);
    background-clip: padding-box;
}
.design-concepts__img:hover {
    transform: scale(0.99);
    border-color: rgba(237, 24, 21, 0.5);
}
.header__lang-chooser:hover .home-ul1 {
    display: block;
}
.header {
    transition: height 0.3s ease;
}
.header_move {
    background: var(--dl-color-theme-neutral-dark);
    height: 80px;
    padding-top: 20px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}
.header_move:hover {
    opacity: 1;
}
.header_move .header__logo {
    width: 100px;
    top: -10px;
}
.header__logo {
    transition: width 0.3s ease;
}
.header__cta-btn {
  margin-left: 0;
}
/* General styles for the popup and overlay */
.popup-overlay {
    display: none; /* Initially hidden */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
  }
  
  .popup-content {
    max-width: 95%;
    max-height: 100vh;
    background-color: var(--dl-color-theme-neutral-dark);
    overflow: hidden;
    text-align: center;
  }
  
  .popup-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    aspect-ratio: 16 / 9;
  }
  
  .popup-description {
    padding: 15px;
    font-size: 16px;
    color: var(--dl-color-theme-neutral-light);
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--dl-color-theme-neutral-dark);
  }
  
  .popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    cursor: pointer;
    z-index: 10000;
  }
  
  .popup-close:hover {
    color: #f00;
  }

  .popup-content_contact-form {
    max-width: 1500px;
    width: 80%;
    text-align: center;
    position: relative;
    background-color: var(--dl-color-luckyexpo-lightgrey);
    height: 100%;
    z-index: 3;
    overflow: visible;
    left: -100%;
  }
  .popup-content_contact-form .popup-close {
    right: -60px;
  }
  .popup-form__layout {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 150px;
  }
  .popup-content_contact-form .h2 {
    margin-bottom: 100px;
  }
  .popup-content_contact-form .btn {
    padding: 20px 30px;
    min-width: 300px;
  }
  .form-group {
    position: relative;
    margin-bottom: 50px;
  }
  
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 10px;
    background-color: transparent;
    border: none;
    border-bottom: 1px solid #777;
    color: #fff;
    outline: none;
    font-size: 22px;
  }
  
  .form-group label {
    position: absolute;
    top: 10px;
    left: 10px;
    color: #aaa;
    font-size: 22px;
    pointer-events: none;
    transition: all 0.2s ease;
  }
  
  .form-group input:focus + label,
  .form-group input.filled + label,
  .form-group textarea:focus + label,
  .form-group textarea.filled + label {
    top: -30px;
    font-size: 18px;
    color: #fff;
  }

  .portfolio__item-swiper {
    width: 100%;
    height: 100%;
    position: relative;
  }
  
  .swiper-slide {
    background-size: cover;
    background-position: center;
  }
  
  .swiper-button-prev, .swiper-button-next {
    width: 40px;
    height: 40px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    z-index: 10;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 50%;
  }
  .portfolio__item-arrow,
  .portfolio__item-text-wrap {
    z-index: 2;
  }
  .customers__list {
    width: 100%;
    overflow: hidden;
    position: relative;
  }
  .customers__list div {
    padding-left: 45px;
    padding-right: 45px;
    text-align: center;
  }
   
  .customers__item {
    width: 200px;
    height: 200px;
    object-fit: contain;
    margin: auto;
  } 
  .home-mob-menu2 {
    display: block;
  }
  .mob-menu__wrap {
    left: -100%;
    transition: left 0.5s ease;
  }
  .home-mob-menu2.open {
    left: 0;
  }
  .hearo__title-1 {
    font-family: 'Montserrat ExtraBold';
    -webkit-font-smoothing: antialiased;
    paint-order: stroke fill;
    text-rendering: optimizeLegibility;
    font-size: 70px;

  }
  .hero__title-2 {
    overflow: hidden;
    position: relative;
    height: 130px;
  }
  .hero__title-2 .phrase {
    position: absolute;
    width: 100%;
    top: 0;
    left: 0;
    transform: translateY(100%); 
    visibility: hidden;
    transition: transform 0.5s ease;
    white-space: nowrap;
  }
  
  .hero__title-2 .phrase.active {
    transform: translateY(0);
    visibility: visible;
  }
  
  .hero__title-2 .phrase.prev {
    transform: translateY(-110%);
    visibility: visible;
  }
  html[lang="ru"] .hearo__title-1 span,
  html[lang="uk"] .hearo__title-1 span {
    display: block;
  }
  .hero__title-2_inorder {
    font-size: 60px;
    line-height: 60px;
    height: 60px;
    margin-top: 20px;
  }
  html[lang="ru"] .hero,
  html[lang="uk"] .hero {
    height: 1100px;
  }
  .text-page-content {
    padding-top: 250px;
    background-color: var(--dl-color-luckyexpo-darkgrey);
    text-align: center;
    min-height: 90vh;
  }
  .text-page-content__wrap {
    text-align: left;
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    color: var(--dl-color-theme-neutral-light);
  }
  .text-page-content__wrap h1,
  .text-page-content__wrap h2,
  .text-page-content__wrap h3,
  .text-page-content__wrap h4,
  .text-page-content__wrap p,
  .text-page-content__wrap ul,
  .text-page-content__wrap ol {
    margin-bottom: 22px;
    line-height: 22px;
  }
  .text-page-content__wrap .h2 {
    line-height: 80px;
    margin-bottom: 70px;
  }
  .contacts__email {
    font-size: 22px;
    color: var(--dl-color-theme-neutral-light);
    margin-bottom: 60px;
  }
  .contacts__email p {
    margin-top: 30px;
    font-weight: 500;
    color: rgb(192, 192, 192);
  }

  
@media(max-width: 1366px) {
  html[lang="ru"] .header__menu-list,
  html[lang="uk"] .header__menu-list {
    font-size: 17px;
  }
  .customers__list div {
    padding-left: 30px;
    padding-right: 30px;
  }
  .popup-form__layout {
    padding-top: 40px;
  }
  .popup-form__layout .h2 {
    margin-bottom: 40px;
    font-size: 40px;
    font-weight: 600;
  }
  .popup-form__layout .form-group {
    margin-bottom: 40px;
  }
  .form-group input, .form-group textarea {
    font-size: 19px;
    padding: 8px 10px;
  }
  .form-group label {
    font-size: 19px;
    top: 8px;
  }
  .form-group input:focus + label,
  .form-group input.filled + label,
  .form-group textarea:focus + label,
  .form-group textarea.filled + label {
    top: -26px;
    font-size: 16px;
  }
  .popup-content_contact-form .btn {
    font-size: 18px;
    padding: 18px 20px;
  }
  .hero__title-2 {
    height: 110px;
  }
  .hearo__title-1 {
    font-size: 55px;

  }
  .hero__title-2_inorder {
    font-size: 55px;
    line-height: 55px;
    height: 55px;
  }
  html[lang="ru"] .hero,
  html[lang="uk"] .hero {
    height: 850px;
  }
}
@media(max-width: 1280px) {
  .hero__title-2 {
    font-size: 100px;
    height: 100px;
  }
  .hero__title-2_inorder {
    font-size: 55px;
    line-height: 55px;
    height: 55px;
  }
}

@media(max-width: 768px) {
    .portfolio__item-arrow {
        width: 40px;
        height: 80px;
        top: calc(100%/2 - 40px);
        padding-top: 25px;
    }
    .portfolio__item-arrow-img {
        width: 30px;
    }
    .customers__list {
      margin-left: -20px;
    }
    .customers__item {
      width: 160px;
      height: 160px;
    }
    .customers__list div {
      padding-left: 20px;
      padding-right: 20px;
    }
    .popup-content_contact-form {
      width: 90%;
    }
    .popup-content_contact-form .popup-close {
      right: -45px;
    }
    .popup-content_contact-form .contactForm {
      padding-left: 16px;
      padding-right: 16px;
    }
    .hero__title-2 {
      font-size: 50px;
      line-height: 50px;
      height: 100px;
    }
    .hero__title-2 .phrase {
      white-space: normal;
    }
    .hero__title-2_ru {
      font-size: 65px;
      margin-right: -16px;
    }
    .phrase_mob-hide {
      display: none;
    }
    .phrase_mob1 {
      padding-top: 20px;
      height: 100px;
    }
    .hearo__title-1 {
      font-size: 40px;
      -webkit-text-stroke: 1px white;
    }
    .hearo__title-1 span {
      display: block;
      font-size: 42px;
    }
    .hearo__title-1_ru,
    .hearo__title-1 span {
      font-size: 35px;
    }
    .hero__title-2_inorder {
      font-size: 40px;
      line-height: 40px;
      height: 40px;
      margin-top: 40px;
    }
    html[lang="ru"] .hero__txt-wrap,
    html[lang="uk"] .hero__txt-wrap {
      margin-top: 120px;
    }
    html[lang="ru"] .hero__cta,
    html[lang="uk"] .hero__cta {
      margin-top: 20px;
    }
    html[lang="ru"] .hero,
    html[lang="uk"] .hero {
      height: 700px;
  }
     
}