@import url(https://fonts.googleapis.com/css?family=Nunito);
@import url(https://fonts.googleapis.com/css?family=Roboto:100);

/* Сброс стилей и базовые настройки */
* {
  box-sizing: border-box;
}

html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body { 
  margin: 0;
  padding: 0;
  perspective: 1px;
  transform-style: preserve-3d;
  overflow-y: scroll;
  overflow-x: hidden;
  font-family: Nunito, sans-serif;
  background: #f6f6f6;

}

html, body {
  overflow-x: hidden!Important;
  width: 100%!Important;
  max-width: 100%!Important;
}

* {
  box-sizing: border-box!Important;
}

.body-container {
    overflow-x: hidden!Important;

}

/* Стили для параллакса в title */
.hero {
  position: absolute;            /* фиксируем внутри родителя */
  top: 0; left: 0; right: 0; bottom: 0;  /* растягиваем по краям */
  min-height: 450px;
  background-color: transparent;
  transform: translate3d(0, 0, 0);
  z-index: 10;                   /* чтобы было поверх фона секции */
  overflow: hidden;              /* прячем выходящее за границы */
}


/* Базовые стили слоёв (без background-image!) */
.parallax-layer {
  position: absolute;
  left: 0;
  bottom: 0;                     /* базовая линия, ниже частные поправки */
  width: 100%;
  height: 100%;
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: auto 100%;
  pointer-events: none;
}


/* Передний план (движущиеся «земли») */
.layer-1 {
  z-index: 5;
  bottom: 80px;
  opacity: 0.9;
  animation: parallax_fg linear 10s infinite both;
}
.layer-2 {
  z-index: 4;
  bottom: 90px;
  opacity: 0.8;
  animation: parallax_fg linear 20s infinite both;
}
.layer-3 {
  z-index: 3;
  bottom: 100px;
  opacity: 0.7;
  animation: parallax_fg linear 30s infinite both;
}

/* Велосипеды (также без background-image!) */
.bike-1, .bike-2, .bike-3 {
  position: absolute;
  left: 0;
  bottom: 300px;
  width: 100%;
  height: 100%;
  z-index: 6;
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: auto 75px;
  pointer-events: none;
  margin-top: -10%;
}

.bike-1 { opacity: 1;   animation: parallax_bike linear 10s  infinite both; }
.bike-2 { opacity: 0.9; animation: parallax_bike linear 15s  infinite both; }
.bike-3 { opacity: 0.8; animation: parallax_bike linear 20s  infinite both; }

/* Анимации */
@keyframes parallax_fg {
  0%   { background-position: 0px 100%; }
  100% { background-position: -2000px 100%; }
}
@keyframes parallax_bike {
  0%   { background-position: -300px 100%; }
  100% { background-position: 2000px 100%; }
}

/* Основные слайды */
.slide {
  position: relative;
  padding: 25vh 10%;
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.7);
  transform-style: inherit;
  max-height: 900px;
  z-index: 1;
}

/* Изображения в слайдах */
img {
  position: absolute;
  top: 50%;
  left: 35%;
  width: 320px;
  height: 240px;
  transform: translateZ(0.25px) scale(0.75) translateX(-94%) translateY(-100%) rotate(2deg);
  padding: 10px;
  border-radius: 5px;
  background: rgba(240, 230, 220, 0.7);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}

/*img:last-of-type {
  transform: translateZ(0.4px) scale(0.6) translateX(-104%) translateY(-40%) rotate(-5deg);
}*/

.image-column img {
  position: absolute;
  top: 40%;
  left: 80%;
  width: 400px;
  height: 400px;
  transform: translateZ(0.25px) scale(0.75) translateX(-94%) translateY(-100%) rotate(2deg);
  padding: 10px;
  border-radius: 30px;
  background: rgb(240 230 220 / 0%);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
  z-index: -1;
}

/* Заголовки */
.header {
  text-align: center;
  font-size: 175%;
  color: #fff;
  text-shadow: 0 2px 2px #000;
}

.header h2 {
    min-height: 300px;
    color: black;
    font-size: 89px;
    text-align: left;
    max-height: 600px;
    margin-top: -5%;
    max-width: 57%;
    font-weight: normal;
    line-height: 1.2em;
}

#title {
  background-image: url("../images/002.jpg");
  z-index: 2;
  max-width: 100%;
  margin-left: 0%;
  margin-top: -4%;
  max-height: 120%;
  background-size: cover;
  background-position: center;
  position: relative; /* Добавляем relative позиционирование */
  overflow: hidden; /* Скрываем выходящие за границы элементы */
}

#title h1 {
  font-size: 150px;
  color: #0c0a0a;
  margin-top: -2%;
  text-align: right;
  margin-right: 59%;
  font-weight: bolder;
  transform: rotate(-10deg);
  margin-bottom: -10%;
  position: relative;
}

/* Слайд 1 */
#slide1::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url("../images/Bagraund_3.jpg");
  transform: translateZ(-1px) scale(2);
  background-repeat: no-repeat;
  background-size: cover;
}

#slide1 {
    margin-bottom: 3%;
    position: relative;
    padding: 25vh 10%;
    min-height: 107vh;
    width: 100vw;
    box-sizing: border-box;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.7);
    transform-style: inherit;
    max-height: none;
    z-index: 1;
    transform: translateY(8%);
    margin-top: -3%;
}

#slide1 div.title {
  width: 100% !important;
  max-width: 1500px;
  height: auto;
  /*min-height: 1000px;*/
  background-image: url("../images/image232355.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  padding: 20px;
  margin: 0 auto;
  margin-top: -150px;
}

#slide1 h1 {
  color: white;
  max-width: 800px;
  font-size: 35px;
  margin-left: 50px;
}

#slide1 p {
  color: white;
  max-width: 800px;
  font-size: 35px;
  margin-left: 50px;
}

#pox {
  align-items: normal;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  color: white;
  max-width: 900px;
  margin-top: 40px;
  font-size: 25px;
  margin-left: 50px;
  margin-bottom: 50px;
}

#sil {
  margin-right: 1%;
  padding: 15px 30px;
  font-size: 18px;
  color: #fff;
  background-color: #01b2ba;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d;
  position: relative;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
  will-change: transform;
  margin-top: 10px;
  animation: pulsate 2.5s infinite alternate;
  margin-left: 25%;
  text-decoration: none;
  display: inline-block;
}

/* Слайд 2 */
#slide2 {
  background-image: url("../images/110.jpg");
  z-index: 2;
  background-repeat: no-repeat;
  background-size: cover;
  max-height: 1000px;
}

#slide3 {
  max-height: none;
  min-height: 80vh;
  margin-top: -170px;
}

#tite1 {
  margin-top: -150px;
  font-size: 24px;
}

#sort {
  display: flex;
  /*margin-left: 30%; */
  /*font-size: 20px; */
  margin-right: -100px;
  /*flex-wrap: wrap; */
}

#slide2 img {
  background: rgba(240, 230, 220, 0);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0);
  top: 41%;
}

#img013 {
  width: 400px;
  height: 300px;
  margin-top: 2%;
}

#img2534 {
  margin-top: -10%; /* Сдвигаем img2534 выше, чтобы разнести с img013 */
}

#slide3::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url("../images/Bagraund_3_2.jpg");
  transform: translateZ(-1px) scale(2);
  background-repeat: no-repeat;
  background-size: cover;
}

/* Слайд 4 */
#slide4 {
  background-image: url("../images/image28.jpg");
  z-index: 2;
  margin-bottom: 18px;
  background-size: cover;
  background-position: center;
}

#slide4 .title { 
  width: 70%;
}

#slide4 p {
    font-size: 15px;
    align-items: flex-start;
    box-sizing: border-box;
    display: flex;
    flex-wrap: nowrap;
    alignitems: center;
    margin-bottom: 15px;
    margin-left: 2%;
}

#slide4 div.title {
  margin-top: -15%;
  margin-right: -5%;
  min-width: 100%;
}

#slide4 img {
  width: 100px;
  height: 100px;
  left: 0%;
  padding: 0px;
  background: rgb(240 230 220 / 0%);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0);
  position: relative;
  flex-shrink: 0;
  margin-right: 15px;
}

#slide4 h1 {
margin-left: 10%
}

#tit5 {
  min-width: 230px;
  flex-shrink: 0;
  margin-right: 15px;
}

#text5 {
    margin-left: 10px;
    margin-bottom: 5%;
    margin-top: 5%;
    font-size: 18px;
    flex: 1;
    line-height: 1.4;
}

/* Слайд 3 - услуги */
#uslugi1 {
  align-items: normal;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-around;
}

#uslugi1 .title {
  margin-right: 5%;
  flex: 1;
  min-width: 300px;
}

.service-card {
  flex: 1 1 30%;
  padding: 20px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Центрирование кнопки */
.more-services-wrapper {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.more-services-button {
  background-color: #01b2ba;
  color: #fff;
  padding: 12px 30px;
  font-size: 16px;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.more-services-button:hover {
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.5);
}

.services-group {
  display: flex;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}

#slide5 img {
  background: rgba(240, 230, 220, 0);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0);
}

#slide5::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url("../images/Bagraund_3_3.jpg");
  transform: translateZ(-1px) scale(2);
  background-repeat: no-repeat;
  background-size: cover;
}

/* Слайд 6 */

.slide6 {
  position: relative;
  padding: 25vh 10%;
  width: 100vw;
  box-sizing: border-box;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.7);
  transform-style: inherit;
  max-height: 500px;
}

#slide6 {
  background-image: url("../images/003.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
  padding: 12vh 6%;
  width: 100vw;
  box-sizing: border-box;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.7);
  z-index: 2;
}

#slide6 .title {
  background: rgba(255, 255, 255, 0.85);
  padding: 20px;
  border-radius: 15px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.2);
}

/* Слайд 7 */
#slide7::before {
  content: "";
  position: absolute;
  top: 15%;
  bottom: 0;
  left: 0;
  right: 0;
  background-image: url("../images/Bagraund_3_4.jpg");
  transform: translateZ(-0.5px) scale(1.6);
  background-repeat: no-repeat;
  background-size: cover;
}

#slide7 {
  margin-top: -10%!Important;
}

#slide7 img {
  background: rgba(240, 230, 220, 0);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0);
}

.slide7 {
  position: relative;
  padding: 25vh 10%;
  min-height: 100vh;
  width: 100vw;
  box-sizing: border-box;
  box-shadow: 0 -1px 10px rgba(0, 0, 0, 0.7);
  transform-style: inherit;
  max-height: 900px;
  z-index: 1;
}

#slide7 .side-image {
  margin-left: 30%;
}


/* обновим сам блок */
#slide8 {
  background: #222;
  background-image: url("../images/006.jpg");
  background-repeat: no-repeat;
  background-size: cover;
  /* height: 200px;  — удаляем фиксированную высоту */
  padding: 10vh 10% 12vh;   /* добавим внутренние отступы */
  min-height: 60vh;         /* аккуратная высота по содержимому */
}

/* заголовки/цвет */
#slide8 h1, #slide8 h2 { color: #fff; }

/* АККОРДЕОН */
#slide8 .faq {
  max-width: 900px;
  margin: 24px 0;
}

#slide8 .faq-item + .faq-item {
  margin-top: 12px;
}

#slide8 .faq-question {
  width: 100%;
  text-align: left;
  background: rgba(0,0,0,0.45);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 10px;
  padding: 14px 48px 14px 16px;
  font-size: 18px;
  line-height: 1.3;
  cursor: pointer;
  transition: background 0.2s ease, border-color 0.2s ease, transform 0.08s ease;
  position: relative;
}

#slide8 .faq-question::after {
  content: "▸";
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%) rotate(0deg);
  transition: transform 0.2s ease;
  opacity: 0.9;
}

#slide8 .faq-question[aria-expanded="true"]::after {
  transform: translateY(-50%) rotate(90deg);
}

#slide8 .faq-question:hover,
#slide8 .faq-question:focus {
  background: rgba(0,0,0,0.6);
  border-color: rgba(255,255,255,0.25);
  outline: none;
}

#slide8 .faq-answer {
  overflow: hidden;
  background: rgba(0,0,0,0.3);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 10px;
  margin-top: 8px;
  padding: 0 16px;
  /* плавное раскрытие высотой */
  max-height: 0;
  transition: max-height 0.24s ease, padding-top 0.2s ease, padding-bottom 0.2s ease;
}

#slide8 .faq-answer.open {
  padding-top: 12px;
  padding-bottom: 12px;
  max-height: 300px; /* достаточно для 2–3 строк + ссылка */
}

#slide8 .faq-answer p {
  color: #eaeaea;
  margin: 6px 0;
}

#slide8 .faq-answer a {
  color: #01b2ba;
  text-decoration: underline;
  transition: color 0.18s ease;
}

#slide8 .faq-answer a:hover {
  color: #06d7e0;
}

/* если мешают старые позиции для изображений внутри slide8 — подстрахуемся */
#slide8 img { position: static; }

#red1 {
  top:1%;
}

/* Общие стили для заголовков */
.title {
  width: 50%;
  padding: 5%;
  border-radius: 5px;
  background: rgba(240, 230, 220, 0.7);
  box-shadow: 0 0 8px rgba(0, 0, 0, 0.7);
}


.slide:nth-child(2n) .title {
  margin-left: 0;
  margin-right: auto;
}

.slide:nth-child(2n+1) .title {
  margin-left: auto;
  margin-right: 0;
}

.button-wrapper {
  text-align: left;
}

/* Стили для кнопок */
.btn2-3d, .btn3-3d {
  display: inline-block;
  margin-right: 1%;
  padding: 15px 30px;
  font-size: 18px;
  color: #fff;
  background-color: #01b2ba;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: box-shadow 0.2s ease; /* убрали transform из transition */
  transform-style: preserve-3d;
  transform: translateZ(0); /* GPU-слой, фикс от мерцаний */
  backface-visibility: hidden;
  position: relative;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
  will-change: transform;
  margin-top: 10px;
  animation: pulsate 2.5s infinite alternate;
}

.btn2-3d::before,
.btn3-3d::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgb(12 200 183 / 0%);
  border-radius: 8px;
  box-shadow: 0 0 20px rgb(0 123 255 / 0%);
  opacity: 0;
  pointer-events: none; /* важно: псевдоэлемент не перехватывает hover */
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* На :hover теперь НЕ меняем transform, только визуал */
.btn2-3d:hover, .btn3-3d:hover {
  animation: none;
  box-shadow: 0 8px 20px rgba(0, 123, 255, 0.5);
}

.btn2-3d:hover::before, .btn3-3d:hover::before {
  opacity: 1;
  transform: scale(1.02);
}

/* Анимация пульсации */
@keyframes pulsate {
  0% {
    opacity: 1;
  }
  50% {
    opacity: 0.7;
  }
  100% {
    opacity: 1;
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
  }
  100% {
    transform: scale(1.05);
    box-shadow: 0 10px 25px rgba(0, 123, 255, 0.6);
  }
}

/* Стили для видео на фоне второго слайда */
.slide-video {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -1;
}

/* Дополнительные стили для второго слайда */
#parallax {
  position: absolute;
  top: 60%;
  left: 50%;
  right: 0;
  bottom: 0;
  width: 60%;
  height: 50%;
  background-repeat: no-repeat;
  background-position: center;
  margin-top: 0;
  margin-bottom: 0;
  transform: rotate(-15deg);
  z-index: 5;
  overflow: visible;
}

/* шкала */
.chart-container {
  width: 100%;
  height: 200px;
  position: relative;
  overflow: hidden;
}

.chart {
  display: flex;
  justify-content: space-around;
  align-items: flex-end;
  height: 100%;
}

.point {
  width: 10px;
  background-color: #3498db;
  border-radius: 5px;
  animation: wave 3s infinite ease-in-out;
}

.point:nth-child(1) {
  height: 40px;
  animation-delay: 0s;
}

.point:nth-child(2) {
  height: 60px;
  animation-delay: 0.2s;
}

.point:nth-child(3) {
  height: 80px;
  animation-delay: 0.4s;
}

.point:nth-child(4) {
  height: 100px;
  animation-delay: 0.6s;
}

.point:nth-child(5) {
  height: 50px;
  animation-delay: 0.8s;
}

@keyframes wave {
  0%, 100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-10px);
  }
}

/* Модальная форма и ее анимация */
@keyframes slideDown {
  0% {
    transform: translateY(-100%);
    opacity: 0;
  }
  100% {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideUp {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-100%);
    opacity: 0;
  }
}

/* Стартовое состояние формы */
.popup-form {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.popup-form.active {
  display: flex;
}

.popup-form.hidden {
  display: none !important;
}

.popup-content {
  background-color: white;
  padding: 40px;
  border-radius: 25px;
  width: 600px;
  max-width: 90%;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  text-align: center;
  position: relative;
  z-index: 9999;
  background-image: url(../images/003.jpg);
  background-repeat: no-repeat;
  background-size: cover;
  
  /* Добавляем плавное появление */
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.5s ease-in-out, opacity 0.5s ease-in-out;
}

.popup-content {
  background: white;
  padding: 30px;
  border-radius: 10px;
  max-width: 400px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

/* Когда форма активна, применяем анимацию сползания */
.popup-form.active .popup-content {
  animation: slideDown 0.5s ease-in-out forwards;
}

/* Анимация исчезновения */
.popup-form.hidden .popup-content {
  animation: slideUp 0.5s ease-in-out forwards;
}

.close-btn, .close-btn1 {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 20px;
  cursor: pointer;
  z-index: 9999;
}

input {
  width: 100%;
  padding: 10px;
  margin: 10px 0;
  border-radius: 5px;
  border: 1px solid #ddd;
  z-index: 9999;
}

button {
  padding: 15px 30px;
  font-size: 18px;
  color: #1a1a1a;
  background-color: #01b2ba;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.2s ease;
  transform-style: preserve-3d;
  position: relative;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
  will-change: transform;
  margin-top: 10px;
  animation: pulsate 2.5s infinite alternate 0.75s;
}

button:hover {
  background-color: #0cc8b7;
  z-index: 9999;
}

#highlight {
  background-color: #01b2ba73 !important;
  color: #fff !important;
  padding: 2px 4px;
  border-radius: 3px;
}

/* Навигация */
#navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  background-color: #01b2ba87;
  color: #fff;
  position: fixed;
  z-index: 99;
  width: 100%;
  backdrop-filter: blur(10px);
}

#logo {
  font-size: 24px;
  font-weight: bold;
}

#menu {
  display: flex;
  list-style: none;
  margin-right: 5%;
  max-height: 30px;
  gap: 20px;
}

#menu li {
  margin: 0;
}

#menu a {
  color: white;
  text-decoration: none;
  font-size: 18px;
  transition: color 0.25s ease, background-color 0.25s ease;
  padding: 8px 12px;
  border-radius: 6px;
}

#menu a:hover {
  color: #ffffff;
  background-color: rgba(255, 255, 255, 0.18);
}

#menu a:active {
  transform: translateY(1px);
}

/* Подсветка текущего раздела (если нужно программно добавлять класс) */
#menu a.is-active {
  background-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

#menu-toggle {
  display: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 24px;
  cursor: pointer;
  padding: 5px;
  border-radius: 5px;
  transition: background-color 0.3s ease;
}

#menu-toggle:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

#menu-icon {
  display: block;
  width: 25px;
  height: 2px;
  background-color: #fff;
  position: relative;
  transition: all 0.3s ease;
}

#menu-icon::before,
#menu-icon::after {
  content: '';
  position: absolute;
  width: 25px;
  height: 2px;
  background-color: #fff;
  transition: all 0.3s ease;
}

#menu-icon::before {
  top: -8px;
}

#menu-icon::after {
  top: 8px;
}

/* Анимация иконки меню */
#menu-icon.active {
  background-color: transparent;
}

#menu-icon.active::before {
  top: 0;
  transform: rotate(45deg);
}

#menu-icon.active::after {
  top: 0;
  transform: rotate(-45deg);
}

/* Изображения фона */
#imagefon1 {
  position: absolute;
  margin-left: -45%;
  margin-top: 95px;
  z-index: 1;
  width: 100%;
}

#imagefon2 {
  position: absolute;
  margin-left: 12%;
  margin-top: -4.3%;
  z-index: 1;
  width: 100%;
}

#image1 {
  position: absolute;
  margin-left: 50%;
  z-index: 1;
  width: 120px;
  height: 140px;
  background: rgb(240 230 220 / 0%);
  box-shadow: 0 0 0px rgba(0, 0, 0, 0.7);
}

#image2 {
  position: absolute;
  top: 50%;
  left: 15%;
  width: 120px;
  height: 140px;
  background: rgb(240 230 220 / 0%);
  box-shadow: 0 0 0px rgba(0, 0, 0, 0.7);
}

/* Чат */
#chatResponse {
  max-height: 100px;
  overflow-y: auto;
  position: absolute;
  min-width: 600px;
  margin-top: 200px;
}

#userInput {
  display: block;
  position: absolute;
  max-width: 600px;
  margin-top: 130px;
  font-size: 30px;
  /* Явно задаем border для анимации / Explicitly set border for animation */
  border: 2px solid rgba(1,178,186,0.3) !important;
  border-radius: 8px;
  padding: 12px;
  background: white !important;
  color: #333 !important;
  outline: none;
  /* Мерцающая анимация для приглашения в диалог / Pulsing animation to invite dialogue */
  animation: inputPulse 2.5s ease-in-out infinite !important;
}

/* Анимация мерцания поля ввода / Input pulsing animation */
@keyframes inputPulse {
  0%, 100% {
    border-color: rgba(1,178,186,0.3) !important;
    box-shadow: 0 0 0 0 rgba(1,178,186,0.2);
  }
  50% {
    border-color: rgba(1,178,186,0.8) !important;
    box-shadow: 0 0 20px 5px rgba(1,178,186,0.4);
  }
}

/* Показываем поле ввода после завершения анимации офферов */
#userInput.show {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

/* Останавливаем анимацию при фокусе / Stop animation on focus */
#userInput:focus {
  animation: none;
}

.message {
  margin-bottom: 10px;
}

.user-message {
  text-align: left;
  color: #959595;
}

.bot-message {
  text-align: right;
  color: #0cc8b7;
  max-width: 600px;
}

strong {
  font-weight: bold;
}

/* Адаптивность для мобильных устройств */
@media (max-width: 599px) {
  .slide {
    padding: 15vh 5%;
    min-height: 80vh;
  }


.header h2 {
        font-size: 60px;
        /* margin-right: 1%; */
    }

#uslugi12345 {
    gap: 15px;
    margin-top: 35%;
}


#w234554 {
    visibility: hidden;
    position: absolute;
}

#w23422 {
    visibility: hidden;
    position: absolute;
}

#tite1 {
  margin-top: 0px;
}


#slide4 img {
    visibility: hidden;
    position: absolute;
}

#tit938738 img {
  visibility: hidden;
    position: absolute;
}

#slide4 p {
    font-size: 15px;
    margin-left: 0%;
}


#text5 {
      margin-left: -50%;
      margin-top: 9%;
}

  #slide1 p {
    color: white;
    max-width: 800px;
    font-size: 20px;
    margin-left: 50px;
}
  
  #title h1 {
    font-size: 48px;
    margin-right: 20%;
  }
  
  .header h2 {
    font-size: 50px!important;
    min-height: 300px!important;
        color: black!important;
        text-align: left!important;
        max-height: 600px!important;
        margin-top: -5%!important;
        max-width: 57%!important;
        font-weight: normal!important;
        line-height: 1.2em!important;
        z-index: -1!important;
        margin-right: 0%!important;
        margin-left: 10%!important;
  }
  
  /* Отключаем анимацию параллакса на мобильных устройствах */
  .hero {
    display: none;
  }
  
  .layer-1, .layer-2, .layer-3,
  .bike-1, .bike-2, .bike-3 {
    display: none;
  }
  
  #slide1 div.title {
    width: 100% !important;
    margin-left: 0;
    margin-right: 0;
  }
  
  #slide1 h1, #slide1 p {
    font-size: 18px;
    margin-left: 20px;
    margin-right: 20px;
  }


  #slide2 img {
    opacity: 0.7;
    width: 40%;
    height: 15%;
    margin-top: 20%;
}
  
  #pox {
    flex-direction: column;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 20px;
  }
  

  
  #sort {
    flex-direction: column;
    margin-left: 20px;
    margin-right: 20px;
  }
  
  #uslugi1 {
    flex-direction: column;
  }
  
  #uslugi1 .title {
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  #slide6 {
    grid-template-columns: 1fr;
    padding: 10vh 5%;
  }


  
  .title {
    width: 90%;
    margin: 0 auto;
  }
  
  #slide6 .title {
        padding: 16px;
        margin-left: -20%;
        margin-top: -9%;
    }

  #slide7 .side-image {
    margin-left: 40%;
    height: 20%;
    width: 45%;
    opacity: 0.7;
  }

  .image-column img {
    width: 300px;
    height: 300px;
    left: 50%;
    transform: translateX(-50%) translateZ(0.25px) scale(0.75) translateY(-100%) rotate(2deg);
    top: 45%;
    opacity: 0.6;
  }
  
  #imagefon1, #imagefon2 {
    display: none;
  }
  
  #chatResponse, #userInput {
    min-width: 90%;
    max-width: 90%;
    margin-left: 5%;
    margin-right: 5%;
  }
  
  .button-wrapper {
    text-align: center;
  }
  
  .btn2-3d, .btn3-3d {
    display: block;
    margin: 10px auto;
    width: 90%;
    max-width: 300px;
  }
  
  .popup-content {
    width: 95%;
    padding: 20px;
  }
  
  #navbar {
    padding: 10px;
  }

  .ps-dots {
  visibility: hidden;
    position: absolute;
}

  /* Скрываем изображения на мобильных */
  /*img {
    display: none;
  }*/
  
  /* Адаптируем параллакс для мобильных */
  .parallax-layer {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 100%;
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: auto 100%;
  pointer-events: none;
  }
  
  #parallax {
    transform: none;
    top: 50%;
    left: 0;
    width: 100%;
    height: 40%;
    margin-top: 0;
  }
}


@media (max-width: 768px) {
  .slide {
    padding: 15vh 5%;
    min-height: 80vh;
  }

  /* Отключаем параллакс на мобильных устройствах / Disable parallax on mobile devices */
  #parallax {
    display: none !important;
  }
  
  .hero {
    display: none !important;
  }
  
  .parallax-layer {
    display: none !important;
  }
  
  .bike-1, .bike-2, .bike-3 {
    display: none !important;
  }

  /* Стили для поля ввода на мобильных устройствах / Input field styles for mobile devices */
  #userInput {
    min-width: 10% !important;
  }

.header h2 {
        font-size: 60px;
        /* margin-right: 1%; */
    }

#uslugi12345 {
    gap: 15px;
    margin-top: 14%;
}


#w234554 {
visibility: visible;
        position: static;
}

#w23422 {
    visibility: hidden;
    position: absolute;
}

#tite1 {
  margin-top: 0px;
}


#slide4 img {
    visibility: hidden;
    position: absolute;
}

#tit938738 img {
  visibility: hidden;
    position: absolute;
}

#slide4 p {
    font-size: 15px;
    margin-left: 0%;
}


#text5 {
      margin-left: -50%;
      margin-top: 9%;
}

  #slide1 p {
    color: white;
    max-width: 800px;
    font-size: 20px;
    margin-left: 50px;
}
  
  #title h1 {
    font-size: 48px;
    margin-right: 20%;
  }
  
  .header h2 {
    font-size: 50px!important;
    min-height: 300px!important;
        color: black!important;
        text-align: left!important;
        max-height: 600px!important;
        margin-top: -5%!important;
        max-width: 57%!important;
        font-weight: normal!important;
        line-height: 1.2em!important;
        z-index: -1!important;
        margin-right: 0%!important;
        margin-left: 10%!important;
  }
  
  /* Отключаем анимацию параллакса на мобильных устройствах */
  .hero {
    display: none;
  }
  
  .layer-1, .layer-2, .layer-3,
  .bike-1, .bike-2, .bike-3 {
    display: none;
  }
  
  #slide1 div.title {
    width: 100% !important;
    margin-left: 0;
    margin-right: 0;
  }
  
  #slide1 h1, #slide1 p {
    font-size: 25px;
    margin-left: 20px;
    margin-right: 20px;
  }


  #slide2 img {
    opacity: 0.7;
    width: 40%;
    height: 15%;
    margin-top: 20%;
    margin-left: -9%;
}
  
  #pox {
    flex-direction: column;
    margin-left: 20px;
    margin-right: 20px;
    font-size: 20px;
  }
  

  
  #sort {
    flex-direction: column;
    margin-left: 20px;
    margin-right: 20px;
  }
  
  #uslugi1 {
    flex-direction: column;
  }
  
  #uslugi1 .title {
    margin-right: 0;
    margin-bottom: 20px;
  }
  
  #slide6 {
    grid-template-columns: 1fr;
    padding: 10vh 5%;
  }


  
  .title {
    width: 90%;
    margin: 0 auto;
  }
  
  #slide6 .title {
        padding: 16px;
        margin-left: -20%;
        margin-top: -9%;
    }

  #slide7 .side-image {
    margin-left: 40%;
    height: 20%;
    width: 45%;
    opacity: 0.7;
  }

  .image-column img {
    width: 300px;
    height: 300px;
    left: 50%;
    transform: translateX(-50%) translateZ(0.25px) scale(0.75) translateY(-100%) rotate(2deg);
    top: 45%;
    opacity: 0.6;
    margin-left: 20%;
  }
  
  #imagefon1, #imagefon2 {
    display: none;
  }
  
  #chatResponse, #userInput {
    min-width: 90%;
    max-width: 90%;
    margin-left: 5%;
    margin-right: 5%;
  }
  
  .button-wrapper {
    text-align: center;
  }
  
  .btn2-3d, .btn3-3d {
    display: block;
    margin: 10px auto;
    width: 90%;
    max-width: 300px;
  }
  
  .popup-content {
    width: 95%;
    padding: 20px;
  }
  
  #navbar {
    padding: 10px;
  }

  .ps-dots {
  visibility: hidden;
    position: absolute;
}

  /* Скрываем изображения на мобильных */
  /*img {
    display: none;
  }*/
  
  /* Адаптируем параллакс для мобильных */
  .parallax-layer {
  position: absolute;
  left: 0; bottom: 0;
  width: 100%; height: 100%;
  background-repeat: no-repeat;
  background-position: 0 100%;
  background-size: auto 100%;
  pointer-events: none;
  }
  
  #parallax {
    transform: none;
    width: 100%;
    height: 30vh;
    margin-top: 0;
  }

  #slide3 {
    max-height: none;
    min-height: 80vh;
    margin-top: -200px;
}
}


@media (max-width: 1272px){

  #menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background-color: #01b2baed;
    flex-direction: column;
    padding: 20px;
    margin: 0;
    max-height: none;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    border-radius: 0 0 10px 10px;
  }
  
  #menu.active {
    display: flex;
    animation: slideDownMenu 0.3s ease-out;
  }
  
  #menu-toggle {
    display: block;
    margin-right: 5%;
    margin-left: 0%;
  }
  
  #menu li {
    margin: 10px 0;
    text-align: center;
  }
  
  #menu a {
    font-size: 20px;
    padding: 10px;
    display: block;
    border-radius: 5px;
    transition: background-color 0.3s ease;
  }
  
  #menu a:hover {
    background-color: rgba(255, 255, 255, 0.1);
  }
  }

/* Анимация выпадающего меню */
@keyframes slideDownMenu {
  from {
    opacity: 0;
    transform: translateY(-20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Адаптивность для планшетов */
@media (min-width: 769px) and (max-width: 1024px) {
  .slide {
    padding: 20vh 8%;
  }

  #slide4 img {
    width: 100px;
    height: 100px;
    left: 0%;
    padding: 0px;
    background: rgb(240 230 220 / 0%);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0);
    position: relative;
    flex-shrink: 0;
    margin-right: 0px;
    margin-left: 5%;
}
  
  #title h1 {
    font-size: 100px;
    margin-right: 40%;
  }
  
  .header h2 {
    font-size: 50px;
    max-width: 60%;
  }
  
  /* Анимация параллакса для планшетов */
  .hero {
    min-height: 400px; /* Уменьшаем высоту для планшетов */
  }
  
  #parallax {
    top: 55%;
    left: 45%;
    width: 70%;
    height: 45%;
    transform: rotate(-12deg);
  }
  
  .layer-1, .layer-2, .layer-3 {
    background-size: auto 80%; /* Уменьшаем размер фона */
  }
  
  .bike-1, .bike-2, .bike-3 {
    background-size: auto 60px; /* Уменьшаем размер велосипедов */
  }
  
#slide1 p {
    color: white;
    max-width: 800px;
    font-size: 30px;
    margin-left: 50px;
}

  #slide1 div.title {
    width: 90% !important;
  }
  
  #uslugi1 {
    gap: 15px;
  }
  
  #uslugi1 .title {
    min-width: 250px;
  }
  
  .image-column img {
    width: 350px;
    height: 350px;
    margin-left: 10%;
  }
  
  .btn2-3d, .btn3-3d {
    font-size: 16px;
    padding: 12px 25px;
  }
  
  #menu {
    gap: 15px;
  }
  
  #menu a {
    font-size: 16px;
  }

  #slide4 h1 {
    margin-left: 16%;
}

#slide7 .side-image {
    margin-left: 40%;
}

}

/* Адаптивность для больших экранов */
@media (min-width: 1025px) {
  .slide {
    padding: 25vh 10%;
  }
  
  /* Анимация параллакса для больших экранов */
  .hero {
    min-height: 500px; /* Увеличиваем высоту для больших экранов */
  }
  
  #parallax {
    top: 60%;
    left: 50%;
    width: 60%;
    height: 50%;
    transform: rotate(-15deg);
  }
  
  .layer-1, .layer-2, .layer-3 {
    background-size: auto 120%; /* Увеличиваем размер фона */
  }
  
  .bike-1, .bike-2, .bike-3 {
    background-size: auto 90px; /* Увеличиваем размер велосипедов */
  }
  
  .container {
    max-width: 1400px;
    margin: 0 auto;
  }
  
  #menu {
    gap: 25px;
  }
  
  #menu a {
    font-size: 18px;
  }

  #slide2 {
    min-height: 110%;
}

}

/* Улучшения для производительности */
.slide {
  will-change: transform;
  backface-visibility: hidden;
}

.parallax-layer {
  will-change: transform;
  backface-visibility: hidden;
}

/* Плавная прокрутка */
html {
  scroll-behavior: smooth;
}

/* Улучшения для доступности */
@media (prefers-reduced-motion: reduce) {
  * {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  
  html {
    scroll-behavior: auto;
  }
}

/* Дополнительные стили для улучшения UX */
.btn2-3d, .btn3-3d {
  user-select: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

/* Улучшения для форм на мобильных */
@media (max-width: 768px) {
  .popup-form {
    padding: 10px;
  }
  
  .popup-content {
    margin: 10px;
    border-radius: 15px;
  }
  
  input, button {
    font-size: 16px; /* Предотвращает зум на iOS */
  }
  
  label {
    font-size: 16px;
    margin-bottom: 5px;
    display: block;
  }
}

/* Улучшения для Telegram кнопки */
#telegram-button {
  transition: all 0.3s ease;
}



@media (max-width: 768px) {
  #telegram-button {
    bottom: 15px;
    right: 15px;
    width: 50px;
    height: 50px;
  }
  
  #telegram-button img {
    height: 60px;
  }
}


#sil45 {
    margin-right: 1%;
    padding: 15px 30px;
    font-size: 18px;
    color: #fff;
    background-color: #01b2ba;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: transform 0.1s ease, box-shadow 0.2s ease;
    transform-style: preserve-3d;
    position: relative;
    box-shadow: 0 6px 15px rgba(0, 123, 255, 0.4);
    will-change: transform;
    margin-top: 10px;
    animation: pulsate 2.5s infinite alternate;
    margin-left: 25%;
    text-decoration: none;
    display: inline-block;
}

#sil45:hover {
  background-color: #07c8d1
}

#sil45:before {
  background-color: #07c8d1
}



#slide6 a.sil:focus {
  color: #06d7e0; !important;
  transform: scale(1.05);
  text-decoration: none;
}

/* Применяется только к ссылкам внутри #slide6 и имеющим класс .sil */
#slide6 a.sil {
  display: inline-block;
  color: #01b2ba;
  text-decoration: underline;
  transition: color 0.18s ease, transform 0.18s ease;
}

/* Ховер — цвет и лёгкое увеличение */
#slide6 a.sil:hover,
#slide6 a.sil:focus {
  color: #06d7e0;
  text-decoration: none;
  transform: scale(1.03);
}

/* Если нужно, чтобы выглядела как ссылка (подчеркивание только нормальном состоянии) */
#slide6 a.sil:visited {
  color: #01b2ba !important;
}

/* Корневой контейнер слайдера */
.ps-slider {
  position: relative;
  max-width: 1100px;
  margin: 0 auto;
  overflow: hidden;
  margin-top: -4%;
}

/* Лента */
.ps-track {
  display: flex;
  will-change: transform;
  transition: transform 420ms ease;
  margin-right: -12%;
  margin-left: 30%;
}

/* Слайд */
.ps-slide {
  min-width: 100%;
  padding: 0 10px;
  box-sizing: border-box;
}

.ps-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  height: 44px;
  width: 44px;
  border: none;
  border-radius: 50%;
  background: #06d7e07a;
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
  cursor: pointer;
  font-size: 26px;
  line-height: 44px;
  text-align: center;
  padding: 0;
  transition: transform .15s ease, background-color .2s ease;
  user-select: none;
}
.ps-nav:hover { transform: translateY(-50%) scale(1.06); }
.ps-prev { left: 5%; }
.ps-next { right: 5%; }

/* Точки */
.ps-dots {
  display: flex;
  gap: 8px;
  justify-content: center;
  margin-top: 14px;
}
.ps-dots button {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  border: 0;
  background: #01b2baa8;
  cursor: pointer;
  transition: transform .15s ease, background .2s ease;
}
.ps-dots button[aria-selected="true"] { background: #01b2ba; transform: scale(1.15); }

/* Кнопка «Все проекты» */
.ps-all {
  margin-top: 18px;
  display: flex;
  justify-content: center;
}

.ps-all-btn,
#sil45.ps-all-btn {
  display: inline-block;
  padding: 12px 22px;
  border-radius: 10px;
  background: #01b2ba;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 6px 15px rgba(0, 123, 255, 0.35);
  transition: transform .15s ease, background-color .2s ease, box-shadow .2s ease;
  margin-right: 23%;
}

.ps-all-btn:hover { transform: translateY(-1px); background: #06c4cd; }

      #uslugi12345 {
    align-items: normal;
    box-sizing: border-box;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-around;

}

#uslugi12345 .title {
  margin-right: 5%;
  flex: 1;
  min-width: 300px;
}

#uslugi12345 {
  align-items: normal;
  box-sizing: border-box;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: space-around;
}

#uslugi12345 .title {
  margin-right: 5%;
  flex: 1;
  min-width: 300px;
}
  
  #uslugi12345 .title {
    margin-right: 0;
    margin-bottom: 20px;
  }
  #uslugi12345 {
    gap: 15px;
  }
  
  #uslugi12345 .title {
    min-width: 250px;
  }


/* Адаптивность */
@media (max-width: 900px) {
  #slide6 { padding: 10vh 5%; }
}
@media (max-width: 600px) {
  .ps-nav { display: none; }  /* на мобилках свайп удобнее стрелок */
  #slide6 .title { padding: 16px; }
}

@media (min-width: 600px) and (max-width: 899px) {
  .container {
    background-color: #f0f0f000;
    padding: 20px;
    font-size: 18px;
  }

  .sidebar {
    display: none;
  }
}


/* Мои настройки адаптивности */

@media (max-width: 1423px) {
  #slide6 { padding: 10vh 5%; }

  .header h2 {
    min-height: 300px;
    color: black;
    font-size: 80px;
    text-align: left;
    max-height: 600px;
    margin-top: -5%;
    max-width: 57%;
    font-weight: normal;
    line-height: 1.2em;
    z-index: -1;
}
  /* #slide1 div.title {
    background-image: url(../images/110.jpg);
  } */

}
@media (max-width: 1382px) {

}

@media (max-width: 955px) {
  #pox {
        visibility: hidden;
    position: absolute;
  }
}

@media (max-width: 785px) {
  #sort{
    visibility: hidden;
  }
}

@media (max-width: 902px) {
  #slide6 { padding: 10vh 5%; }
}
@media (max-width: 992px) {
  #sil45 {visibility: hidden; 
  }
}

@media (max-width: 382px) {
      #slide1 h1, #slide1 p {
        font-size: 22px;
        margin-left: 20px;
        margin-right: 20px;
    }
}


@media (max-width: 549px)


@media (min-width: 550px) and (max-width: 899px){
  #text5 {
        margin-left: -40%;
        margin-top: 5%;
    }

        #slide1 h1, #slide1 p {
        font-size: 30px;
        margin-left: 20px;
        margin-right: 20px;
    }
    #slide1 {
    margin-bottom: 3%;
    position: relative;
    padding: 25vh 10%;
    min-height: 107vh;
    width: 100vw;
    box-sizing: border-box;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.7);
    transform-style: inherit;
    max-height: none;
    z-index: 1;
    transform: translateY(8%);
    margin-top: -30%;
}
  #slide2 {
    background-image: url(../images/110.jpg);
    z-index: 2;
    background-repeat: no-repeat;
    background-size: cover;
    max-height: 0%;
}

    #slide4 p {
        font-size: 20px;
        margin-left: 0%;
    }

  #slide4 div.title {
    margin-top: -10%;
    margin-right: -5%;
    min-width: 100%;
    font-size: 25px;
}

}

@media (min-width: 573px) and (max-width: 768px){
#uslugi12345 {
    gap: 15px;
    margin-top: 35%;
}
#slide2 {
    max-height: 80%;
}

#slide1 div.title {
    margin-top: -150px;
}

#slide1 {
    margin-bottom: 3%;
    position: relative;
    padding: 25vh 10%;
    /* min-height: 107vh; */
    width: 100vw;
    box-sizing: border-box;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.7);
    transform-style: inherit;
    max-height: none;
    z-index: 1;
    transform: translateY(8%);
    margin-top: -3%;
}

    #slide6 .title {
        padding: 16px;
        margin-left: -20%;
        margin-top: 0%;
        margin-bottom: -15%;
    }

        #slide3 {
        max-height: none;
        min-height: 80vh;
        margin-top: -300px;
    }

    #uslugi12345 {
      gap: 15px;
      margin-top: 25%;
    }

    #text5 {
        margin-left: -40%;
        margin-top: 9%;
    }

        #slide7 .side-image {
        margin-left: 50%;
        height: 15%;
        width: 25%;
        opacity: 0.7;
    }

        #slide2 img {
        opacity: 0.7;
        width: 20%;
        height: 25%;
        margin-top: 20%;
        margin-left: -7%;
    }

    #slide8 .faq-answer p {
    color: #eaeaea;
    margin: 6px 0;
    font-size: 70%;
}

    #slide2 img {
        opacity: 0.7!Important;
        width: 29%!Important;
        height: 20%!Important;
        margin-top: 20%
        margin-left: -7%!Important;

    }

    #img2534 {
    margin-top: -5%!Important; /* Сдвигаем img2534 выше на мобильных */
    }
    
    #img013 {
    margin-top: 20%!Important; /* Сдвигаем img013 ниже на мобильных */
    }

}

    .back-button {
      display: inline-block;
      margin-top: 40px;
      padding: 12px 20px;
      background-color: #01b2ba;
      color: white;
      text-decoration: none;
      border-radius: 6px;
      font-size: 18px;
      transition: background-color 0.3s ease;
    }

    .back-button:hover {
      background-color: #019aa1;
    }

.chat-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0,0,0,0.6);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.chat-modal.active {
  display: flex;
}

.chat-modal__content {
  background: white;
  padding: 20px;
  border-radius: 10px;
  max-width: 500px;
  width: 90%;
  box-shadow: 0 0 20px rgba(0,0,0,0.3);
}

.telegram-option img {
  width: 28px;
  height: 28px;
  transition: transform 0.3s ease;
}



  #r86986 {
    width: 210%;
    height: 60% ! Important;
    color: rgb(255 255 255 / 0%);
    background: rgb(240 230 220 / 0%);
    box-shadow: 0 0 8px rgb(0 0 0 / 0%);
    margin-right: -20% ! Important;
    margin-left: 54%;
    margin-top: -86%;
  }
  #r43546 {
    width: 160%;
    height: 46% ! Important;
    color: rgb(255 255 255 / 0%);
    background: rgb(240 230 220 / 0%);
    box-shadow: 0 0 8px rgb(0 0 0 / 0%);
    /* margin-right: -20% ! Important; */
    margin-left: -80%;
    margin-top: -90%;
  }
  #r56785 {
    width: 170%;
    height: 50% ! Important;
    CONTAIN-INTRINSIC-BLOCK-SIZE: AUTO 100PX;
    background: rgb(240 230 220 / 0%);
    box-shadow: 0 0 8px rgb(0 0 0 / 0%);
    /* margin-right: -20% ! Important; */
    margin-left: -60%;
    margin-top: 30%;
  }

#r34563 {
    width: 220%;
    height: 210% ! Important;
    color: rgb(255 255 255 / 0%);
    background: rgb(240 230 220 / 0%);
    box-shadow: 0 0 8px rgb(0 0 0 / 0%);
    margin-right: -20% ! Important;
    margin-left: 70%;
    margin-top: 60%;
}


#r34563 {
  transition: transform 0.5s ease;
  transform-origin: center center;
}

/* Отключены transition эффекты для #r43546 и #r56785 */
#r43546, #r56785 {
  transition: none !important;
  transform: none !important;
  transform-origin: center center;
}

#r34563:hover {
  transform: none;
  box-shadow: none;
  filter: none;
}

/* Отключены hover эффекты для #r43546 и #r56785 - при наведении ничего не происходит */
#r43546:hover,
#r56785:hover {
  transform: none !important;
  box-shadow: none !important;
  filter: none !important;
  transition: none !important;
  /* Отключаем все возможные эффекты при наведении */
  opacity: 1 !important;
  scale: 1 !important;
}


@media (max-width: 572px) {
    #w234554 {
    visibility: hidden;
    position: absolute;
}  
   #slide3 {
    margin-bottom: -20%;
}  

   #slide2 {
    max-height: 30%;
}  

/* .slide6 {
    max-height: 44%!Important;
} */

.ps-slider {
    margin-top: 0%;
}

#slide8 .faq-answer p {
    font-size: 60%;
        font-weight: normal !Important;
}

#slide1 {
    margin-bottom: 3%;
    position: relative;
    padding: 25vh 10%;
    min-height: 80%;
    width: 100vw;
    box-sizing: border-box;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.7);
    transform-style: inherit;
    max-height: none;
    z-index: 1;
    transform: translateY(8%);
    margin-top: -3%;
}

  }

@media (max-width: 572px){
    #slide1 h1, #slide1 p {
        font-size: 19px!Important;
        margin-left: 20px!Important;
        margin-right: 20px!Important;
    }

    #slide7 .side-image {
        margin-left 50%!Important;
        height: 15%!Important;
        width: 35%!Important;
        opacity: 0.7!Important;
        margin-left: 50%;
    }

    #slide2 img {
        opacity: 0.7!Important;
        width: 29%!Important;
        height: 20%!Important;
        margin-top: 20%
        margin-left: -10%!Important;

    }

    #img2534 {
    margin-top: -5%!Important; /* Сдвигаем img2534 выше на мобильных */
    }
    
    #img013 {
    margin-top: 20%!Important; /* Сдвигаем img013 ниже на мобильных */
    }

    #tite1 {
      margin-top: -16%;
      margin-top: 0px;
      font-size: 99%;
    }

    #slide6 .title {
      padding: 16px;
      font-size: 70%;
    }
}

@media (max-width: 385px){
#slide1 {
    margin-bottom: 3%;
    position: relative;
    padding: 25vh 10%;
    min-height: 110%;
    width: 100vw;
    box-sizing: border-box;
    box-shadow: 0 20px 20px rgba(0, 0, 0, 0.7);
    transform-style: inherit;
    max-height: none;
    z-index: 1;
    transform: translateY(8%);
    margin-top: -3%;
}
}

@media (min-width: 786px) and (max-width: 1273px) {
  #tite1 {
    font-size: 20px!Important;
}
}

@media (min-width: 770px) and (max-width: 928px) {
  #w23422 {
      font-size: 45%;
  }

  #w23323422{
    visibility: hidden;
    position: absolute;
  }

  #slide2 img {
    background: rgba(240, 230, 220, 0);
    box-shadow: 0 0 8px rgba(0, 0, 0, 0);
    top: 41%;
    margin-left: 2%;
}

#img2534 {
  margin-top: -10%; /* Сдвигаем img2534 выше */
}

#img013 {
  margin-top: 15%; /* Сдвигаем img013 ниже */
}
}

#chatSendBtn {
  margin-top: 10px;
  width: 100%;
  padding: 12px 0;
  background-color: #01b2ba;
  color: white;
  border: none;
  border-radius: 12px; /* овальные углы */
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#chatSendBtn:hover {
  background-color: #0199a1;
  transform: scale(1.02);
}
.btn-whatsapp::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  margin-right: 6px;
  flex-shrink: 0;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3E%3Cpath d='M12 2C6.477 2 2 6.477 2 12c0 1.89.525 3.66 1.438 5.168L2 22l4.832-1.438A9.956 9.956 0 0012 22c5.523 0 10-4.477 10-10S17.523 2 12 2zm4.92 13.44c-.207.583-1.215 1.114-1.663 1.175-.45.063-.867.3-2.92-.608-2.448-1.07-3.99-3.56-4.11-3.726-.12-.163-.975-1.3-.975-2.48 0-1.18.617-1.76.836-2.002.218-.24.477-.3.636-.3h.457c.147 0 .345.056.54.42.207.383.697 1.7.758 1.824.06.122.1.265.02.428-.08.162-.12.263-.238.406-.12.143-.252.32-.36.43-.12.12-.244.25-.105.49.14.24.62 1.023 1.33 1.657.913.813 1.685 1.065 1.924 1.185.24.12.38.1.52-.06.14-.162.6-.7.76-.94.16-.24.32-.2.54-.12.22.08 1.4.66 1.64.78.24.12.4.18.46.28.06.1.06.583-.147 1.166z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.btn-whatsapp {
  padding: 8px 16px;
  background-color: #01b2ba;
  color: white !important;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  font-family: Nunito, sans-serif;
  font-weight: 600;
  font-size: 16px;
}

.btn-whatsapp:hover {
  background-color: #009ca2;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(1, 178, 186, 0.3);
}
