.first {
  margin: 0;
  padding: 0;
  padding-top: 100px;
  width: 100%;
  position: relative; 
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat; 
  display: flex;
  z-index: 1;
  flex-direction: column;
}

.first video.bg-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}

.main-intro {
  position: relative;
  z-index: 1;
}

@media (max-width: 767px) {
  .main-intro {
    position: relative;
    z-index: 1;
    background: transparent !important;
    opacity: 1 !important;
  }
  .first {
    background: transparent !important;
    opacity: 1 !important;
  }
}

.heading {
    padding-left: 93px;
    padding-top: 250px;
    padding-right: 1000px;
    padding-bottom: 300px;
}

.heading h1 {
    font-family: 'Mongolian Baiti', sans-serif;
    font-size: 128px;
    margin: 0;
    text-align: left;
    text-transform: uppercase;
    font-weight: 400;
}

.faqacc {
    padding: 100px 200px;
}

.faqacc h1 {
  font-size: 70px;
  padding-bottom: 20px;
}

.faq-container {
      max-width: 100%;
    }

    .faq-item {
      border-top: 1px solid #fff;
      overflow: hidden;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      opacity: 1;
      transform: translateY(0);
    }

    .faq-question {
      background: #151516;
      border-top: 1px solid #fff;
      cursor: pointer;
      padding: 20px;
      display: flex;
      justify-content: space-between;
      align-items: center;
      font-size: 40px;
      font-weight: 600;
      transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
      position: relative;
    }

    .faq-answer {
      max-height: 0;
      border-bottom: 1px solid #fff;
      overflow: hidden;
      background: #151516;
      padding: 0 20px;
      font-size: 30px;
      font-weight: 400;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      overflow-anchor: none;
      opacity: 0;
      transform: translateY(-10px);
    }

    .faq-item.active .faq-answer {
      max-height: 1000px; 
      padding: 15px 20px;
      opacity: 1;
      transform: translateY(0);
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    }

    .icon {
      font-size: 60px;
      transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
      display: inline-block;
    }

    .faq-item:first-child {
      border-top: none;
    }

.cont-us {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 40px;
    padding-bottom: 30px;
}

.cont-btn {
    border: solid 2px;
    border-radius: 55px;
    padding: 5px 80px;
    font-size: 40px;
    font-weight: 600;
}


@media (min-width: 1367px) and (max-width: 1600px) {
  .first {padding-top: 100px;}
  .heading { padding-left: 60px; padding-top: 0px; padding-right: 400px; padding-bottom: 120px; }
  .heading h1 { font-size: 100px; }
  .faqacc { padding: 60px 80px; }
  .faqacc h1 { font-size: 70px; }
  .faq-question { font-size: 30px; padding: 14px; }
  .faq-answer { font-size: 25px; padding: 0 14px; }
  .faq-item.active .faq-answer { padding: 15px 14px; }
  .icon { font-size: 50px; }
  .cont-btn { font-size: 24px; padding: 5px 40px; }
  
  button.cont-btn.learn-more {
    font-size: 24px !important;
    padding: 5px 80px !important;
  }
  
  button.cont-btn.learn-more .button-text {
    font-size: 24px !important;
  }
}


@media (min-width: 1024px) and (max-width: 1366px) {
  .first {padding-top: 100px;}
  .heading { padding-left: 32px; padding-top: 0px; padding-right: 100px; padding-bottom: 50px; }
  .heading h1 { font-size: 90px; }
  .faqacc { padding: 40px 30px; }
  .faqacc h1 { font-size: 60px; }
  .faq-question { font-size: 30px; padding: 10px; }
  .faq-answer { font-size: 25px; padding: 0 10px; }
  .faq-item.active .faq-answer { padding: 15px 10px; }
  .icon { font-size: 50px; }
  .cont-btn { font-size: 30px; padding: 4px 20px; }
  
  button.cont-btn.learn-more {
    font-size: 30px !important;
    padding: 0px 80px !important;
  }
  
  button.cont-btn.learn-more .button-text {
    font-size: 28px !important;
  }
}


@media (min-width: 768px) and (max-width: 1023px) {
  .first {padding-top: 100px;}
  .heading { padding-left: 20px; padding-top: 0px; padding-right: 0; padding-bottom: 5px; }
  .heading h1 { font-size: 70px; }
  .faqacc { padding: 20px 20px; }
  .faqacc h1 { font-size: 50px; }
  .faq-question { font-size: 25px; padding: 10px; }
  .faq-answer { font-size: 20px; padding: 0px 2px; }
  .faq-item.active .faq-answer { padding: 15px 2px; }
  .icon { font-size: 40px; }
  .cont-btn { font-size: 20px; padding: 10px 20px; }
  
  button.cont-btn.learn-more {
    font-size: 20px !important;
    padding: 8px 80px !important;
  }
  
  button.cont-btn.learn-more .button-text {
    font-size: 16px !important;
  }
}


@media (max-width: 767px) {
  .first {padding-top: 100px;}
  .heading { padding-left: 20px; padding-top: 0px; padding-right: 0; padding-bottom: 50px; }
  .heading h1 { font-size: 70px; }
  .faqacc { padding: 20px 20px; }
  .faqacc h1 { font-size: 40px; }
  .faq-question { font-size: 20px; padding: 10px; }
  .faq-answer { font-size: 20px; padding: 0px 2px; }
  .faq-item.active .faq-answer { padding: 15px 2px; }
  .icon { font-size: 30px; }
  .cont-btn { font-size: 16px; padding: 10px 20px; }
  
  
  button.cont-btn.learn-more {
    font-size: 16px !important;
    padding: 6px 80px !important;
  }
  
  button.cont-btn.learn-more .button-text {
    font-size: 20px !important;
  }
}


@media (max-width: 480px) {
  .first {padding-top: 100px;}
  .heading { padding-left: 20px; padding-top: 0px; padding-right: 0; padding-bottom: 50px; }
  .heading h1 { font-size: 50px; }
  .faqacc { padding: 20px 20px; }
  .faqacc h1 { font-size: 40px; }
  .faq-question { font-size: 20px; padding: 10px; }
  .faq-answer { font-size: 20px; padding: 0px 2px; }
  .faq-item.active .faq-answer { padding: 15px 2px; }
  .icon { font-size: 30px; }
  .cont-btn { font-size: 16px; padding: 10px 20px; }
}

@media (min-width: 2560px) {
  .first { padding-top: 100px; }
  .heading { padding-left: 200px; padding-top: 0; padding-right: 800px; padding-bottom: 200px; }
  .heading h1 { font-size: 150px; }
  .faqacc { padding: 200px 200px; }
  .faqacc h1 { font-size: 120px; }
  .faq-question { font-size: 50px; padding: 40px; }
  .faq-answer { font-size: 40px; padding: 0 40px; }
  .faq-item.active .faq-answer { padding: 40px 40px; }
  .icon { font-size: 100px; }
  .cont-btn { font-size: 60px; padding: 20px 120px; }
  
  button.cont-btn.learn-more {
    font-size: 30px !important;
    padding: 0px 80px !important;
  }
  
  button.cont-btn.learn-more .button-text {
    font-size: 30px !important;
  }
}


button {
  position: relative;
  display: inline-block;
  cursor: pointer;
  outline: none;
  border: 0;
  vertical-align: middle;
  text-decoration: none;
  background: transparent;
  padding: 0;
  font-size: inherit;
  font-family: inherit;
}

button.cont-btn.learn-more {
  width: auto;
  height: auto;
  min-width: 12rem;
  padding: 0px 80px;
  border-radius: 55px;
  background-color: transparent;
  display: inline-block;
  border: solid 2px;
  color: inherit;
  font-size: 30px;
  font-weight: 600;
}

button.cont-btn.learn-more .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: #fff;
  border-radius: 1.625rem;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

button.cont-btn.learn-more .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #fff;
}

button.cont-btn.learn-more .circle .icon.arrow {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}

button.cont-btn.learn-more .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.29rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #000;
  border-right: 0.125rem solid #000;
  transform: rotate(45deg);
}

button.cont-btn.learn-more .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  color: inherit;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  text-transform: none;
  font-size: 28px;
  z-index: 1;
}

button.cont-btn.learn-more:hover .circle {
  width: 100%;
}

button.cont-btn.learn-more:hover .circle .icon.arrow {
  background: #000;
  transform: translate(1rem, 0);
}

button.cont-btn.learn-more:hover .button-text {
  color: #000;
}

a.cont-btn.learn-more {
  width: auto;
  height: auto;
  min-width: 12rem;
  padding: 0px 80px;
  border-radius: 55px;
  background-color: transparent;
  display: inline-block;
  border: solid 2px;
  color: inherit;
  font-size: 30px;
  font-weight: 600;
  position: relative;
  cursor: pointer;
  outline: none;
  vertical-align: middle;
  text-decoration: none;
  transition: color 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  overflow: hidden;
}

a.cont-btn.learn-more .circle {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  display: block;
  margin: 0;
  width: 3rem;
  height: 3rem;
  background: #fff;
  border-radius: 1.625rem;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

a.cont-btn.learn-more .circle .icon {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: absolute;
  top: 0;
  bottom: 0;
  margin: auto;
  background: #fff;
}

a.cont-btn.learn-more .circle .icon.arrow {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  left: 0.625rem;
  width: 1.125rem;
  height: 0.125rem;
  background: none;
}

a.cont-btn.learn-more .circle .icon.arrow::before {
  position: absolute;
  content: "";
  top: -0.29rem;
  right: 0.0625rem;
  width: 0.625rem;
  height: 0.625rem;
  border-top: 0.125rem solid #000;
  border-right: 0.125rem solid #000;
  transform: rotate(45deg);
}

a.cont-btn.learn-more .button-text {
  transition: all 0.45s cubic-bezier(0.65, 0, 0.076, 1);
  position: relative;
  color: inherit;
  font-weight: 600;
  line-height: 1.6;
  text-align: center;
  text-transform: none;
  font-size: 28px;
  z-index: 1;
}

a.cont-btn.learn-more:hover .circle {
  width: 100%;
}

a.cont-btn.learn-more:hover .circle .icon.arrow {
  background: #000;
  transform: translate(1rem, 0);
}

a.cont-btn.learn-more:hover .button-text {
  color: #000;
}

@media (min-width: 1367px) and (max-width: 1600px) {
  .cont-btn,
  a.cont-btn.learn-more {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px !important;
    padding: 3px 60px !important;
  }
  .cont-btn .button-text,
  a.cont-btn.learn-more .button-text {
    font-size: 24px !important;
  }
}

@media (min-width: 1024px) and (max-width: 1366px) {
  .cont-btn,
  a.cont-btn.learn-more {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 30px !important;
    padding: 0px 60px !important;
  }
  .cont-btn .button-text,
  a.cont-btn.learn-more .button-text {
    font-size: 28px !important;
  }
}

@media (min-width: 768px) and (max-width: 1023px) {
  .cont-btn,
  a.cont-btn.learn-more {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px !important;
    padding: 7px 60px !important;
  }
  .cont-btn .button-text,
  a.cont-btn.learn-more .button-text {
    font-size: 16px !important;
  }
}

@media (max-width: 767px) {
  .cont-btn,
  a.cont-btn.learn-more {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px !important;
    padding: 7px 55px !important;
  }
  .cont-btn .button-text,
  a.cont-btn.learn-more .button-text {
    font-size: 16px !important;
  }
}

@media (max-width: 480px) {
  .cont-btn,
  a.cont-btn.learn-more {
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px !important;
    padding: 7px 55px !important;
  }
  .cont-btn .button-text,
  a.cont-btn.learn-more .button-text {
    font-size: 16px !important;
  }
  .faq-answer {
    font-size: 18px;
  }
}


.fade-in {
  opacity: 0;
  transform: translateY(40px);
  transition: opacity 0.8s cubic-bezier(0.23, 1, 0.32, 1), transform 0.8s cubic-bezier(0.23, 1, 0.32, 1);
  will-change: opacity, transform;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* Дополнительные стили для улучшения анимаций FAQ */
.faq-item {
  will-change: transform, opacity;
}

.faq-answer {
  will-change: max-height, opacity, transform, padding;
}

/* Плавная анимация для иконки */
.icon {
  will-change: transform;
}

/* Анимация появления элементов при загрузке */
@keyframes slideInFromBottom {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.faq-item {
  animation: slideInFromBottom 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

/* Улучшенные transition для всех интерактивных элементов */
.faq-item * {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Эффект ripple для вопросов */
.faq-question::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s ease, height 0.6s ease;
}

.faq-question:active::before {
  width: 300px;
  height: 300px;
}