@import url('https://fonts.googleapis.com/css2?family=Inter:wght@500;600;700&display=swap');

* {
  font-family: 'Inter', sans-serif;
}

html {
  scroll-behavior: smooth;
}

section {
  min-height: 100vh;
  height: 100%;
  scroll-snap-align: start;
}

#loader {
  border: 12px solid #f3f3f3;
  border-radius: 50%;
  border-top: 12px solid #444444;
  width: 70px;
  height: 70px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  100% {
      transform: rotate(360deg);
  }
}

.center {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: auto;
}

.scroll-container {
  scroll-snap-type: y mandatory;
  overflow-y: scroll;
  height: 100vh;
  scroll-behavior: smooth;
}

.container {
  max-width: 1200px;
  padding-left: 10px;
  padding-right: 10px;
  margin: auto;
}

.advantages {
  padding-top: 35px;
  padding-bottom: 10px;
}

.advantages__title {
  font-weight: 700;
  font-size: 40px;
  line-height: 48px;
  color: #000;
  text-transform: uppercase;
  margin-bottom: 50px;
}

.advantages__list {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
}

.advantage {
  width: 350px;
  height: auto;
  padding: 120px 30px 40px 35px;
  cursor: pointer;
}

.advantage_one:hover, .advantage_one:active {
  background: url(./images/advantage-1.webp);
  background-repeat: no-repeat;
  background-size: cover;
  transition: .4s linear;
}

.advantage_two:hover, .advantage_two:active {
  background: url(./images/advantage-2.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: right;
  transition: .4s linear;
}

.advantage_three:hover, .advantage_three:active {
  background: url(./images/advantage-3.webp);
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  transition: .4s linear;
}

.advantage__number {
  font-weight: 700;
  font-size: 50px;
  line-height: 61px;
  color: #AA8E63;
}

.advantage__title {
  font-weight: 700;
  font-size: 25px;
  line-height: 30px;
  text-transform: uppercase;
  color: #000;
  padding-bottom: 10px;
  border-bottom: 4px solid #AA8E63;
  margin-top: 20px;
  margin-bottom: 35px;
}

.advantage__description {
  font-weight: 500;
  font-size: 18px;
  line-height: 22px;
  color: #000;
  height: 360px;
}

.advantage:hover .advantage__title {
  color: #fff !important;
}
.advantage:hover .advantage__description {
  color: #fff !important;
}
.advantage:hover .advantage__number {
  color: #fff !important;
}

.main {
  color: #fff;
  position: relative;
}

.video-container {
  z-index: -1;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.video-container video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.video-container .overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4); /* Затемнення на 40% */
}

.main__image {
  width: 100%;
  max-width: 580px;
  height: auto;
  position: absolute;
  top: 60%;
  right: 10%;
  transform: translate(0, -60%);
}

.header {
  padding-top: 25px;
  display: flex;
  justify-content: space-between;
}

.header__logos {
  display: flex;
}

.header__logo2 {
  margin-left: 20px;
}

.header__menu {
  display: flex;
  justify-content: center;
  align-items: center;
}

.telephone {
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
  margin-right: 20px;
}

.menu__contacts {
  display: none;
}

#menu__toggle {
  opacity: 0;
}
#menu__toggle:checked + .menu__btn > span {
  background-color: #000;
  transform: rotate(45deg);
}
#menu__toggle:checked + .menu__btn > span::before {
  background-color: #000;
  top: 0;
  transform: rotate(0deg);
}
#menu__toggle:checked + .menu__btn > span::after {
  background-color: #000;
  top: 0;
  transform: rotate(90deg);
}
#menu__toggle:checked ~ .menu__box {
  right: 0 !important;
}

#menu__toggle:checked ~ .menu__btn {
  color: #000;
  position: fixed;
}
.menu__btn {
  position: absolute;
  top: 42px;
  right: 20px;
  width: 62px;
  height: 25px;
  cursor: pointer;
  z-index: 3;
}
.menu__btn > span,
.menu__btn > span::before,
.menu__btn > span::after {
  display: block;
  position: absolute;
  width: 100%;
  height: 5px;
  background-color: #fff;
  transition-duration: .25s;
  border-radius: 3px;
}
.menu__btn > span::before {
  content: '';
  top: -8px;
}
.menu__btn > span::after {
  content: '';
  top: 8px;
}
.menu__box {
  display: block;
  position: fixed;
  top: 0;
  right: -100%;
  width: 300px;
  height: 100%;
  margin: 0;
  padding: 80px 0;
  list-style: none;
  background-color: #ECEFF1;
  box-shadow: 2px 2px 6px rgba(0, 0, 0, .4);
  transition-duration: .25s;
  z-index: 2;
}
.menu__item {
  display: block;
  padding: 12px 24px;
  color: #333;
  font-family: 'Roboto', sans-serif;
  font-size: 20px;
  font-weight: 600;
  text-decoration: none;
  transition-duration: .25s;
}
.menu__item:hover {
  background-color: #CFD8DC;
}

.main__desc {
  padding-top: 80px;
}

.main__title {
  font-weight: 600;
  font-size: 85px;
  line-height: 80px;
}

.main__subtitle {
  font-weight: 600;
  font-size: 20px;
  line-height: 24px;
  text-transform: uppercase;
  display: block;
  margin-bottom: 20px;
}

.main__description {
  font-weight: 500;
  font-size: 17px;
  line-height: 20px;
  max-width: 470px;
  margin-top: 25px;
  margin-bottom: 35px;
}

.main__button {
  width: 87px;
  height: 87px;
  position: relative;
  cursor: pointer;
}

.main__button-arrow {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.main__button-text {
  animation: effect 15s linear infinite;
}

@keyframes effect {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.reasons {
  background: url(./images/reasons.webp);
  padding-top: 70px;
  padding-bottom: 70px;
  background-repeat: no-repeat;
  background-size: cover;
  background-position: top ;
}

.reasons__title {
  font-weight: 600;
  font-size: 40px;
  line-height: 50px;
  text-transform: uppercase;
  color: #FFF;
  margin-bottom: 100px;
}

.reason {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
}

.reason:last-child {
  margin-bottom: 0;
}

.reason__title {
  width: 270px;
  font-weight: 600;
  font-size: 36px;
  line-height: 50px;
  text-transform: uppercase;
  color: #FFFFFF;
  border-left: 2px solid #FFF;
  padding-left: 18px;
}

.reason__description {
  font-weight: 600;
  font-size: 18px;
  color: #FFFFFF;
  max-width: 800px;
}

.benefits {
  position: relative;
}

.benefits__image {
  width: 100%;
  max-width: 580px;
  height: auto;
  position: absolute;
  top: 0;
  right: 0;
  animation: animateImage 4s ease-in-out infinite;
}

@keyframes animateImage {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-15px);
  }
}

.benefits__title {
  font-weight: 700;
  font-size: 50px;
  line-height: 61px;
  max-width: 750px;
  padding-top: 135px;
  margin-bottom: 150px;
}

.benefits__list {
  display: flex;
  max-width: 1000px;
  flex-wrap: wrap;
  min-height: 316px;
}

.benefits__list_second {
  display: none;
}

.benefits__item {
  display: flex;
  align-items: center;
  margin-right: 30px;
  margin-bottom: 50px;
}

.benefit__circle {
  width: 65px;
  height: 65px;
  border-radius: 50%;
  background: #EBD6B7;
  position: relative;
  margin-right: 20px;
}

.benefit__img {
  position: absolute;
  top: -15px;
  left: 12px;
}

.benefit__test {
  position: absolute;
  z-index: 99;
}

.benefit__title {
  min-width: 310px;
  max-width: 310px;
  font-weight: 500;
  font-size: 20px;
  line-height: 24px;
}

.benefit__button {
  cursor: pointer;
  width: 82px;
  height: 82px;
}

.about {
  padding-top: 80px;
  padding-bottom: 20px;
}

.about__description {
  display: flex;
}

.about__company {
  margin-right: 80px;
}

.about__title {
  font-size: 40px;
  font-weight: 700;
  text-transform: uppercase;
}

.about__text {
  font-size: 22px;
  font-weight: 500;
  margin-top: 20px;
  margin-bottom: 80px;
}

.about__list {
  min-width: 300px;
  width: 300px;
  max-width: 300px;
  background: #F0F0F0;
  border-radius: 75px;
  padding-top: 60px;
  padding-bottom: 60px;
  height: calc(100vh - 100px);
  overflow: scroll;
  -ms-overflow-style: none;
  scrollbar-width: none;  
}

.about__list::-webkit-scrollbar { 
  display: none;
}

.about__item {
  width: 215px;
  margin: auto;
  margin-bottom: 60px;
}

.about__item:last-child {
  margin-bottom: 0;
}

.about__item img {
  margin: auto;
  margin-bottom: 25px;
}

.about__item p {
  text-align: center;
}

.footer {
  padding-top: 150px;
  padding-bottom: 150px;
  background: url(./images/footer.webp) center center no-repeat;
}

.footer__information {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact {
  margin-bottom: 50px;
}

.contact__title {
  font-size: 40px;
  font-weight: 700;
  line-height: 25px;
  color: #FFF;
  margin-bottom: 30px;
}

.contact__description {
  font-size: 18px;
  font-weight: 500;
  line-height: 25px;
  color: #FFF;
}

.contact__form {
  display: flex;
  flex-direction: column;
}

.footer__logo {
  margin-left: 40px;
}

.footer__logos {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
  flex-wrap: wrap;
}

.form__input {
  width: 410px;
  height: 84px;
  margin-bottom: 30px;
  background: rgba(217, 217, 217, 0.23);
  border: none;
  outline: none;
  font-weight: 500;
  font-size: 18px;
  color: #fff;
  padding-left: 30px;
}

.form__input_number::placeholder {
  white-space: pre-line;
  position: relative;
  top: -10px;
}

.form__input::placeholder {
  color: #fff;
  opacity: 1;
}

.form__input:focus {
  border: none;
  outline: none;
  background: rgba(255, 255, 255, 0.79);
  color: #000;
}

.form__input:focus::placeholder {
  color: #000;
  opacity: 1;
}

.form__button {
  width: 410px;
  height: 84px;
  font-weight: 600;
  font-size: 20px;
  text-transform: uppercase;
  cursor: pointer;
}

@media screen and (max-width: 1350px) {
  .header__menu {
    display: none;
  }

  .menu__contacts {
    display: block;
    text-align: center;
    padding: 20px;
  }

  .menu__image {
    margin: auto;
    margin-top: 15px;
    width: 45px;
    height: 45px;
    background-color: rgba(000, 000, 000, 0.3);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
  }

  .telephone {
    color: #333;
  }
}

@media screen and (max-width: 1205px) {
  .benefits__image {
    z-index: -1;
  }
}

@media screen and (max-width: 1100px) {
  section {
    min-height: 100vh;
    height: auto;
    scroll-snap-align: unset;
  }
  
  .scroll-container {
    scroll-snap-type: none none;
    overflow-y: scroll;
    height: 100%;
    scroll-behavior: smooth;
  }

  .main__image {
    display: none;
  }

  .reasons {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .reason__title {
    border-left: unset;
    border-bottom: 2px solid #fff;
    text-align: center;
  }

  .reason__description {
    text-align: center;
  }

  .reasons__title {
    text-align: center;
    margin-bottom: 40px;
  }

  .reason {
    flex-direction: column;
  }
}

@media screen and (max-width: 940px) {
  .main__titles {
    flex-direction: column;
  }
  .main__subtitle {
    margin-left: 0;
  }
}

@media screen and (max-width: 780px) {
  .benefits__title {
    margin-bottom: 50px;
  }

  .about {
    padding-top: 30px;
    padding-bottom: 30px;
  }

  .about__company {
    margin-right: 0;
  }

  .about__description {
    flex-direction: column;
  }

  .about__text {
    margin-bottom: 30px;
  }

  .about__list {
    width: 100%;
    min-width: none;
    max-width: none;
    margin-top: 20px;
    height: auto;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 1fr);
    grid-column-gap: 15px;
    grid-row-gap: 30px;
    padding-left: 15px;
    padding-right: 15px;
  }

  .about__item {
    margin: 0;
    width: 100%;
  }

  .footer {
    padding-top: 20px;
    padding-bottom: 20px;
  }

  .footer__information {
    flex-direction: column-reverse;
    justify-content: center;
    align-items: center;
  }

  .contact {
    margin-bottom: 15px;
  }

  .contact__title {
    margin-bottom: 10px;
  }

  .contact:first-child .contact__title {
    margin-top: 30px;
  }
}

@media screen and (max-width: 480px) {
  .main {
    padding-bottom: 20px;
  }
  .main__title {
    font-size: 65px;
    line-height: 60px;
  }

  .main__subtitle {
    font-size: 18px;
  }
}

@media screen and (max-width: 450px) {
  .main__button.aos-animate {
    -o-transition-property: none !important;
    -moz-transition-property: none !important;
    -ms-transition-property: none !important;
    -webkit-transition-property: none !important;
    transition-property: none !important;

    -o-transform: none !important;
    -moz-transform: none !important;
    -ms-transform: none !important;
    -webkit-transform: none !important;
    transform: none !important;

    -webkit-animation: none !important;
    -moz-animation: none !important;
    -o-animation: none !important;
    -ms-animation: none !important;
    animation: none !important;
  }
  .advantage_one {
    background: url(./images/advantage-1.webp);
    background-repeat: no-repeat;
    background-size: cover;
  }
  
  .advantage_two {
    background: url(./images/advantage-2.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
  }
  
  .advantage_three {
    background: url(./images/advantage-3.webp);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
  }

  .advantage__title {
    color: #fff !important;
  }
  .advantage__description {
    color: #fff !important;
  }
  .advantage__number {
    color: #fff !important;
  }

  .benefit__title {
    min-width: auto;
  }
  .benefit__circle {
    min-width: 65px;
    min-height: 65px;
  }

  .form__input {
    width: 320px;
    height: 90px;
  }

  .form__input_number::placeholder {
    top: -20px;
  }

  .form__button {
    width: 320px;
    font-size: 18px;
  }

  .contact__title {
    font-size: 30px;
  }

  .contact__description {
    font-size: 16px;
  }
}

.custom-model-main {
  text-align: center;
  overflow: hidden;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0; /* z-index: 1050; */
  -webkit-overflow-scrolling: touch;
  outline: 0;
  opacity: 0;
  -webkit-transition: opacity 0.15s linear, z-index 0.15;
  -o-transition: opacity 0.15s linear, z-index 0.15;
  transition: opacity 0.15s linear, z-index 0.15;
  z-index: -1;
  overflow-x: hidden;
  overflow-y: auto;
}

.model-open {
  z-index: 99999;
  opacity: 1;
  overflow: hidden;
  display: flex;
  justify-content: center;
  align-items: center;
}
.custom-model-inner {
  -webkit-transform: translate(0, -25%);
  -ms-transform: translate(0, -25%);
  transform: translate(0, -25%);
  -webkit-transition: -webkit-transform 0.3s ease-out;
  -o-transition: -o-transform 0.3s ease-out;
  transition: -webkit-transform 0.3s ease-out;
  -o-transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out;
  transition: transform 0.3s ease-out, -webkit-transform 0.3s ease-out;
  display: inline-block;
  vertical-align: middle;
  width: 600px;
  margin: 30px auto;
  max-width: 97%;
}
.custom-model-wrap {
  width: 100%;
  position: relative;
  background-color: #fff;
  display: flex;
  justify-content: center;
  border: 1px solid rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  -webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
  background-clip: padding-box;
  outline: 0;
  text-align: left;
  padding: 20px;
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  max-height: calc(100vh - 70px);
	overflow-y: auto;
}
.model-open .custom-model-inner {
  -webkit-transform: translate(0, 0);
  -ms-transform: translate(0, 0);
  transform: translate(0, 0);
  position: relative;
  z-index: 999;
}
.model-open .bg-overlay {
  background: rgba(0, 0, 0, 0.6);
  z-index: 99;
}
.bg-overlay {
  background: rgba(0, 0, 0, 0);
  height: 100vh;
  width: 100%;
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  -webkit-transition: background 0.15s linear;
  -o-transition: background 0.15s linear;
  transition: background 0.15s linear;
}
.close-btn {
  position: absolute;
  right: 0;
  top: -50px;
  cursor: pointer;
  z-index: 99;
  font-size: 30px;
  color: #fff;
}

.contact__form-modal .form__input {
  color: #000;
  background: rgba(217, 217, 217, 0.8);;
}

.created-by {
  text-align: center;
  margin-top: 30px;
}

.created-by a {
  font-size: 13px;
  color: #ECEFF1;
  text-decoration: none;
  font-weight: 600;
  font-style: italic;
}