body{
  background: linear-gradient(145deg, #84deff, #bedbfc); /* бледный градиент */
  background-repeat: repeat-x;
  background-size: 800px auto;
    font-family: 'InvolveRegular', sans-serif;
    margin: 0;
  padding: 0;
  overflow-x: hidden;
}
html{
    scroll-behavior: smooth;
}
h1{
  display: none;
}
h2{
  display: none;
}
header{
    display: flex;
    flex-direction: row;
    justify-content: space-evenly;
    text-decoration: none;
    position: relative;
    top: 50px
}
button{
    border: none;
    border-radius: 10px;
    width: 150px;
    height: 30px;
}
a{
    text-decoration: none;
    color: rgb(255, 255, 255);
    font-size: 1rem;
}
.logo{
    width: 80px;
    position: relative;
    bottom: 30px;
    border-radius: 50%;
}
.bckg{
    background-image:url(/photo_5470042276735613818_y.jpg);
    height: 100vh;
    background-size: cover;         /* масштабировать, чтобы покрыть весь экран */
    background-position: center;    /* центрировать фон */
    background-repeat: no-repeat;
    color: #00abe1;
}
h3,
h4{
    position: relative;
    font-weight: bold;

}
.log{
    position: relative;
    top: 50px;
}
.underhead{
    position: relative;
    left: 100px;
    font-size: 1.8rem;
}
.text{
    position: relative;
    bottom: 20px;
    font-size: 1.6rem;
    color: #00abe1;
}
.texte{
    position: relative;
    bottom: 25px;
}
.but1111{
    width: 330px;
    height: 60px;
    border: none;
    border-radius: 50px;
    font-size: 1.25rem;
    background-color: #00abe1;
    transition: 0.4s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.but1:hover{
    background-color: #161f6d;
}
.but111{
   width: 330px;
    height: 60px;
    border: none;
    border-radius: 50px;
    font-size: 1.25rem;
    background-color: #25D366;
    transition: 0.4s;
    display: flex;
    align-items: center;
    justify-content: center;
}
.but111:hover{
  background-color: #11783a;
}
.btns{
    position: relative;
    top: 100px;
    display: flex;
    gap: 20px;
}
.but11{
    width: 200px;
    height: 60px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    background-color:  #00abe1;
    transition: 0.4s;
    position: relative;
    bottom: 20px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}
.but11:hover{
    background-color: #161f6d;
}
.quiz-container {
  max-width: 1200px;
  height: 430px;
  margin: 40px auto;
  background-color: #2aaed6;
  border-radius: 30px;
  padding: 30px;
  color: #ffffff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}
.question-title {
  font-size: 1.6em;
  margin-bottom: 20px;
  font-weight: bold;
}

.options {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.option {
  background: #f1f1f1;
  color: #1c1c1c;
  padding: 15px 20px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.3s;
  border: 2px solid transparent;
}

.option:hover,
.option.selected {
  border-color: #1c77ac;
  background-color: #90deff;
}

.buttons {
  display: flex;
  justify-content: space-between;
  margin-top: 25px;
  gap: 25px;
}
.nav-btn {
  background-color:#0084ac;
  color: #ffffff;
  border: none;
  padding: 12px 20px;
  font-size: 1em;
  border-radius: 25px;
  cursor: pointer;
  height: 50px;
  transition: 0.3s;
  justify-content: center;
  align-items: center;
  display: flex;
}
.nav-btn:hover{
  background-color:#161f6d;
}
input[type="text"],
input[type="tel"] {
  padding: 15px;
  border-radius: 20px;
  border: none;
  width: 95%;
  font-size: 1em;
  margin-bottom: 15px;
}
.text h3{
  font-size: 3.5rem;
}
.text h4{
  font-size: 3.5rem;
  position: relative;
  bottom: 80px;
}
.a-text h3{
    font-size: 3.5rem;
    font-weight: bolder;
    color: #00abe1;
    position: relative;
    top: 30px;
}
.a-text h4{
    font-size: 3.5rem;
    font-weight: bolder;
    color: #00abe1;
}
.a-text{
    position: relative;
    left: 100px
}
.p-text p{
    font-size: 1.4rem;
}
.p-text{
    position: relative;
    left: 400px;
    color: #00abe1;;
}
.features-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  grid-template-rows: auto auto;
  gap: 20px;
  padding: 40px;
  background:transparent;
}

.feature-card {
  background: #00abe1;
  height: 250px;
  color: #fffbe5;
  padding: 20px;
  border-radius: 25px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.feature-card h3 {
  font-size:1.6rem;
  font-weight: bold;
  margin-bottom: 10px;
}

.feature-card p {
  font-size: 1.2rem;
  line-height: 1.4;
}
.profile-photo img {
  width: 100%;
  max-width: 300px;
}
.profile-photo1 {
  display: flex;
  align-items: center;
  justify-content: center;
}
.profile-photo1 img {
  width: 100%;
  max-width: 300px;
  border-radius: 30%;
  height: auto;
}

.a-gall{
    position: relative;
    display: flex;
    gap: 20px;  
    flex-direction: row;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    justify-content: center; 
    align-items: center;
    position: relative;
    right: 100px;
}
.a-gall img {
  max-width: 100%;
  height: auto;
  display: block;
  margin: 0;
  padding: 0;
}
.a-text {
  margin-bottom: 0;
  padding-bottom: 0;
}

.p-text {
  margin-top: 0;
  padding-top: 0;
}

.card {
  width: 100%;
  height: 100%;
  max-width: 400px;
  background-color: #00abe1;
  border-radius: 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  transition: transform 0.2s ease;
}
  

.card:hover {
  transform: translateY(-5px);
}

.card-image {
  width: 80%;
  height: 200px;
  margin: 50px;
  margin-bottom: 0px;
}

.card-title {
  font-size: 1rem;
  color: white;
  margin-bottom: 10px;
}

.card-description {
  font-size: 1.1rem;
  color: white;
  margin-bottom: 20px;
  line-height: 1.5;
  position: relative;
  bottom: 30px;
}

.card-button {
  display: inline-block;
  background-color:  #0084ac;;
  color: white;
  padding: 10px 18px;
  border-radius: 8px;
  text-decoration: none;
  font-weight: 500;
  transition: background 0.3s ease;
  width: 350px;
  height: 35px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  bottom: 30px;
  left: 20px
}

.card-button:hover {
  background-color:#161f6d;
}
.cards{
  display: flex;
  gap: 50px;
  position: relative;
  left: 100px
}
.box3 .text{
  position: relative;
  left: 100px
}
.pricee{
  background-color: white;
  width: 150px;
  position: relative;
  top: 20px;
  left: 10px;
  border-radius: 25px;
  height: 40px;
  text-align: center;
  font-size: 1.1rem;
  display: flex;
  justify-content: center;
  align-items: center;
}
/* CSS */
.pricing-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px; /* Увеличиваем отступы сверху и снизу */
  background-color: transparent;
  border-radius: 15px; /* Скругление для всего блока */
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1); /* Более мягкая тень для блока */
  max-width: 100%;
  justify-content: center;
  gap: 25px
}
.box5{
  display: flex;
  flex-direction: column;
  gap: 25px
}

.pricing-section h4 {
  font-size: 3.5rem;
  color: black;
  margin-bottom: 0.5em;
  text-align: center;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
}
.prices{
  width: 100%;
   font-size: 2.5rem;
  color: #00abe1;
  text-align: center;
  letter-spacing: 1px;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-overflow: ellipsis;
  position: relative;
}
.prices2{
  position: relative;
  bottom: 90px;
}
/* Styles for Material Selection (top block) */
.material-selection {
  display: flex;
  justify-content: center; /* Центрируем элементы по горизонтали */
  flex-wrap: wrap;
  margin-bottom: 20px;
  width: 100%; /* Занимает всю ширину */
}

.material-item {
  display: flex;
  width: 420px;
  position: relative;
  align-items: center;
  background-color: #00abe1;
  color: white;
  border-radius: 25px;
  padding: 12px 25px; /* Увеличиваем отступы */
  margin: 5px 10px; /* Добавляем отступы между элементами */
  font-weight: bold;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1); /* Небольшая тень для каждого элемента */
  transition: background-color 0.2s ease; /* Плавная смена фона */
  cursor: pointer; /* Указываем, что это кликабельный элемент */
  font-size: 1.3rem;
  justify-content: space-evenly;
}
.material-item img{
  width: 35px;
  position: relative;
  right: 5px;
}


.material-icon {
  width: 20px;
  height: 20px;
  margin-right: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pricing-column {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
  max-width: 400px;
  position: relative;
  bottom: 20px;
  gap: 20px;
}
.pricing-card {
  width: 400px; /* Увеличиваем ширину карточек */
  margin: 15px; /* Больше отступов вокруг карточек */
  padding: 25px; /* Увеличиваем отступы внутри карточек */
  border-radius: 25px; /* Увеличиваем радиус скругления */
  background-color: #00abe1; /* Белый фон карточек */
  color: white;
  text-align: center;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1); /* Более выразительная тень */
  transition: transform 0.3s ease-in-out;
}

.pricing-card:hover {
  transform: translateY(-8px);
}

.card-content {
    text-align: left;
    margin-left: 7px;
}

.card-title {
    font-size: 1.58em; /* Увеличиваем размер заголовков */
    margin-bottom: 15px; /* Увеличиваем отступы */
    color: white;
    font-weight: bold;
    position: relative;
    bottom: 20px;
}

.pricing-card ul {
  list-style-type: none;
  padding: 0;
  margin-bottom: 20px; /* Увеличиваем отступы */
  font-size: 15px;
}

.price {
  font-size: 2em;
  margin-bottom: 25px; /* Увеличиваем отступы */
  font-weight: bold;
  color: white;
  position: relative;
  left: 100px;

}

.cta-button {
  background-color: #00BFFF;
  color: white;
  border: none;
  padding: 14px 30px; /* Увеличиваем размеры кнопки */
  border-radius: 30px; /* Увеличиваем скругление кнопки */
  cursor: pointer;
  font-weight: bold;
  transition: background-color 0.2s ease, transform 0.1s ease; /* Добавляем transition для transform */
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 1.05em;
  height: 50px;
  width: 400px;
  position: relative;
  right: 10px;
  line-height: 0.9;
}

.cta-button:hover {
  background-color:  #161f6d;
  transform: scale(1.05); /* Добавляем эффект увеличения при наведении */
}
/* CSS */
.gallery-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 30px 20px;
  font-family: 'Arial', sans-serif;
  background-color: transparent;
  border-radius: 15px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  margin-bottom: 30px;
}

.gallery-section h3 {
  font-size: 3.5rem;
  color: #00abe1;
  margin-bottom: 20px;
  text-align: left;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  right: 500px;

}

.gallery-container {
  position: relative;
  width: 90%;
  max-width: 1500px;
  overflow: hidden;
}
.box7 h3{
  color: #00abe1;
  font-size: 3.5rem;
  margin-left: 150px;
}
.gallery-images {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: calc(15 * (100%/4));
}

.gallery-images img {
  width: 350px;
  height: auto;
  border-radius: 10px;
  margin: 10px;
  object-fit: cover;
}

.gallery-button {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(255, 255, 255, 0.7);
  border: none;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  font-size: 20px;
  cursor: pointer;
  color: #333;;
  display: flex;
  justify-content: center;
  align-items: center;
  transition: background-color 0.3s ease;
  z-index: 10;
}

.gallery-button:hover {
  background-color: rgba(220, 220, 220, 0.8);
}

.prev-button {
  left: 10px;
}

.next-button {
  right: 10px;
}

.photo-slider-wrapper {
  position: relative;
  overflow: hidden;
  padding: 10px 40px; /* Отступы под стрелки */
  max-width: 100%;
}

.photo-track {
  display: flex;
  transition: transform 0.4s ease;
  gap: 20px;
  position: relative;
  right: 20px;
}

.photo-track img {
  width: calc((100% - 40px) / 5); /* 5 фото на экран */
  height: 500px;
  object-fit: cover;
  border-radius: 12px;
  flex-shrink: 0;
  transition: transform 0.3s;
}

/* Стрелки */
.slider-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(255, 255, 255, 0.8);
  border: none;
  border-radius: 50%;
  width: 36px;
  height: 36px;
  padding: 0;
  cursor: pointer;
  color: #333;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
  transition: background 0.2s;
}

.slider-btn:hover {
  background: rgba(255, 255, 255, 1);
}

.slider-btn svg {
  width: 20px;
  height: 20px;
}

.slider-btn.prev {
  left: 5px;
}

.slider-btn.next {
  right: 5px;
}

#contacts {
  padding: 60px 20px;
  background: transparent;
  display: flex;
  flex-direction: column;
  position: relative;
  right: 300px;
}

.contacts-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  align-items: stretch;
}

.contact-info {
  flex: 1 1 350px;
  background:#00abe1;
  border-radius: 16px;
  padding: 30px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
  color: white;
}

.contact-info h3 {
  font-size: 3rem;
  margin-bottom: 20px;
  position: relative;
  bottom: 30px;
}

.contact-info p {
  font-size: 2rem;
  margin-bottom: 10px;
}

.contact-info ul {
  list-style: none;
  padding: 0;
  margin-bottom: 20px;
  font-size: 1.2rem;
}

.contact-info li {
  margin-bottom: 6px;
  font-size: 1.2rem;
}

.contact-info a {
  color: #ffffff;
  text-decoration: none;
  font-size: 1.5rem;
}

.contacts-container {
  margin-bottom: 0;
  padding-bottom: 0;
}
.form-section {
  background: #00abe1;
  border-radius: 40px;
  padding: 60px 40px;
  max-width: 1200px;
  margin: 40px auto;
  color: #ffffff;
  position: relative;
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.form-wrapper {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  align-items: flex-start;
  gap: 40px;
}

.form-text {
  max-width: 700px;
  position: relative;
  font-size: 2rem;
}

.form-text h3 {
  font-size: 3.5rem;
  font-weight: bold;
  margin: 0;
}

.form-text .sub {
  font-size: 2.5rem;
  font-weight: 600;
  margin-top: 5px;
}

.form-text .small-note {
  font-size: 1.5rem;
  margin-top: 20px;
  color: white;
}

.form-text u {
  text-decoration-thickness: 2px;
}

.carpets-img {
  position: absolute;
  top: 125px;
  left: -40px;
  width: 1000px;
  max-width: 800%;
  z-index: 0;
}

.form-block {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 20px;
  flex: 1;
  min-width: 300px;
  max-width: 500px;
  height: auto;
  z-index: 1;
  position: relative;
  margin-right: 50px;
}

.form-block input {
  padding: 18px 24px;
  border-radius: 999px;
  width: 570px;
  height: 30px;
  border: none;
  font-size: 1rem;
  outline: none;
}

.form-block .button {
  padding: 18px 24px;
  background: #0084ac;
  border: none;
  border-radius: 999px;
  font-weight: bold;
  font-size: 1rem;
  cursor: pointer;
  transition: background 0.3s ease;
  color: white;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 30px;
  width: 570px;
}

.form-block .button:hover {
  background:#161f6d;
}

.form-block .agreement {
  font-size: 1.2rem;
  color: #dfffe9;
  margin-top: -10px;
  position: relative;
  right: 50px;
}
.texta{
  display: flex;
  flex-direction: column;
  gap: 0px;
  padding-bottom: 0px; /* уменьшить, если было больше */
  margin-bottom: 0;
}

@media (max-width: 768px) {
 body{
  width: 100%;
 }
  header {
    display: none;
  }
  .bckg{
    position: relative;
    bottom: 60px;
  }

  .logo {
    bottom: 0;
  }
  .underhead,
  .texte,
  .cards,
  .contacts-container{
    left: 0 !important;
    right: 0 !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  #contacts{
    position: relative;
    left: 0px;
  }
  .text{
    font-size: 20px;
    flex-direction: column;
    text-align: center;
    justify-content: center;
    left: 0 !important;
    right: 0 !important;
    display: flex;
     line-height: 0.8;
  }
  .a-text{
    display: flex;
    justify-content: center;
    flex-direction: column;
    left: 0 !important;
    right: 0 !important;
    position: relative;
  }
  .texta{
    display: flex;
    flex-direction: column;
    gap: 0px;
    margin-left: 10px;
  }
  .a-text h3{
    font-size: 2.5rem;
    bottom: 0px !important;
    top: 0px !important;
  }
  .a-text h4{
    font-size: 2.5rem;
  }
  .text h3{
    font-size: 2.5rem;
  }
  .text h4{
    font-size: 2.5rem;
  }




  .p-text{
    left: 0 !important;
    right: 0 !important;
    flex-direction: column;
    text-align: center;
    display: flex;
    line-height: 1.3;
  }
  .p-text p{
    font-size: 20px;
  }
  .profile-photo1{
    width: 200px;
    height: auto;
  }
  .btns {
    position: absolute;
    top: 500px;
    flex-direction: column;
    gap: 10px;
    left: 0 !important;
    right: 0 !important;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
  .but111{
    width: 300px;
  }
  .box7{
    font-size: 2.5rem;
  }
  .box7 h3{
    position: relative;
    right: 70px;
  }
  .but1111{
    width: 300px;
  }
  .features-container {
    grid-template-columns: repeat(2, 1fr); /* 2 в строку */
    justify-content: center;
  }
  .feature-card{
    width: 135px;
    height: 190px;
    align-items: center;
  }
  
  .pp{
    position: relative;
    bottom: 70px;
  }
  .pp1{
    position: relative;
    bottom: 30px;
  }
  .feature-card h3{
    font-size: 15px;
    font-weight: 500;
    position: relative;
    bottom: 20px;
  }
  .feature-card p{
    font-size: 15px;
    position: relative;
    bottom: 30px;
    justify-content: center;
    align-items: center;
  }
  .prices{
    display: flex;
    flex-direction: column;
    gap: 20px;
    position: relative;
    top: 30px
  }
  .prices h4{
    font-size: 2.5rem;
     line-height: 0.5;
  }
  .prices2{
    position: relative;
    bottom: 110px;
  }
  .card,
  .pricing-card,
  .contact-info {
    width: 80% !important;
    max-width: 90% !important;
    margin: 10px auto;
  }
  .gallery-container{
    max-width: 500px;
    min-width: 100px;
    overflow: hidden;
    position: relative
  }
  .gallery-button{
    position:static;
    display: flex;
    flex-direction: row;
  }
  .gbtns{
    display: flex;
    position: relative;
    top: 20px;
    gap: 200px
  }
  .card img{
    position: relative;
    right: 15px;
  }
  .material-selection{
    position: relative;
    left: 5px;
  }
  .cta-button{
    position: relative;
    left: 0px;
    white-space: nowrap;     /* 👈 НЕ ПЕРЕНОСИТЬ ТЕКСТ */
  width: 95%;             /* или auto, если не фулл */
  max-width: 250px;        /* ограничение по ширине */      
  display: flex;
  justify-content: center;
  align-items: center;
  }
  .gallery-images{
      display: flex;
  transition: transform 0.6s ease;
  }
  .gallery-images img {
    width: 200px;
  }

  .photo-track img {
    width: 50%;
    height: auto;
  }

  .slider-btn {
    display: none;
  }
  .form-section{
    width: 285px;
    height: 690px;
  }
  .form-wrapper{
    display: flex;
    flex-direction: column;
  }
  .form-block{
    position: relative;
    right: 120px;
    bottom: 50px;
  }

  .form-text{
    position: relative;
    bottom: 40px;
    right: 30px;
    text-align: left;
  }
  .small-note p{
    font-size: 10px;
  }
  .form-text img{
    display: none;
  }
  .form-block input{
    width: 120px;
    max-width: 270px;
    position: relative;
    left: 85px;
  }
  .form-text h4{
    font-size: 2.2rem;
    position: relative;

  }
  .form-block p{
    position: relative;
    top: 20px;
    left: 100px;
  }
  .form-text .sub {
    font-size: 1.8rem;
  }
  .form-block .button{
    width: 300px;
    position: relative;
    left: 90px;
  }
  p.agreement{
    position: relative;
    right: 50px;
  }

  .form-text .small-note {
    font-size: 1rem;
  }

  .material-item {
    width: 90%;
    font-size: 1.1rem;
    justify-content: center;
  }

  .pricing-section h4,
  .gallery-section h4{
    font-size: 2.2rem;
  }

  .contact-info h4 {
    font-size: 2.2rem;
  }

  .contact-info p,
  .contact-info li,
  .contact-info a {
    font-size: 1rem;
  }

  input[type="text"],
  input[type="tel"] {
    width: 100%;
  }
}
.mobile-header {
  display: none;
}

/* Только на мобилке — показываем и фиксируем */
@media (max-width: 768px) {
  .mobile-header {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: #161f6d;
    color: white;
    z-index: 9999;
    padding: 10px 16px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  }

  .mobile-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }

  .mobile-header img{
    font-size: 18px;
    font-weight: bold;
    width: 50px;
  }

  .mobile-header .phone {
    color: white;
    text-decoration: none;
    font-size: 16px;
    position: relative;
    right: 50px;
  }

  /* Добавим отступ, чтобы контент не прятался под хедером */
  body {
    padding-top: 60px; /* под размер хедера */
  }
}
@media (max-width: 768px) {

}
html, body {
  overflow-x: hidden;
}
.pricing-section {
  display: flex;
  flex-direction: column;
  gap: 30px;
}

/* Каждая пара "заголовок + карточка" */
.pricing-column {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

/* Десктоп: перестраиваем в 3 колонки */
@media (min-width: 768px) {
  .pricing-section {
    flex-direction: row;
    justify-content: space-between;
    gap: 20px;
  }

  .pricing-column {
    flex: 1;
    max-width: 32%;
  }

  .material-item {
    text-align: center;
    font-weight: bold;
    background-color: #0caad9;
    border-radius: 30px;
    padding: 10px;
    color: white;
  }
}

/* Мобильная стилизация (по желанию) */
.material-item {
  font-weight: bold;
  background-color: #0caad9;
  border-radius: 30px;
  padding: 10px;
  color: white;
  text-align: center;
  border: #094e63 solid 3.5px;
}
.whatsapp-button {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 999;
  background-color: transparent;
  border-radius: 50%;
  padding: 12px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.whatsapp-button:hover {
  transform: scale(1.1);
}

.whatsapp-button img {
  width: 32px;
  height: 32px;
  display: block;
}

/* Адаптация под мобильные устройства */
@media (max-width: 480px) {
  .whatsapp-button {
    bottom: 15px;
    right: 15px;
    padding: 10px;
  }

  .whatsapp-button img {
    width: 28px;
    height: 28px;
  }
}
.scroll-top-button {
  position: fixed;
  bottom: 20px;
  left: 20px;
  z-index: 999;
  background-color: #008eba;
  color: white;
  border: none;
  border-radius: 50%;
  width: 48px;
  height: 48px;
  font-size: 24px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease, opacity 0.3s ease;
  opacity: 0;
  visibility: hidden;
}

/* Анимация появления */
.scroll-top-button.show {
  opacity: 1;
  visibility: visible;
}

.scroll-top-button:hover {
  transform: scale(1.1);
}

/* Мобильная адаптация */
@media (max-width: 480px) {
  .scroll-top-button {
    width: 40px;
    height: 40px;
    font-size: 20px;
    bottom: 15px;
    left: 15px;
  }
}
/* Центральное фото */
.photo-cen {
  transform: translateY(-30px);
  z-index: 2;
  position: relative;
  bottom: 50px;
  border-radius: 20px;
  height: 500px;
  width: 375px;
}

/* Левое фото */
.photo-lef {
  transform: rotate(-10deg);
  position: relative;
  left: 100px;
  z-index: 1;
  border-radius: 20px;
  height: 450px;
  width: 320px;
}

/* Правое фото */
.photo-rig {
  transform: rotate(10deg);
  position: relative;
  right: 100px;
  z-index: 1;
  border-radius: 20px;
  height: 450px;
  width: 320px;
}

/* На мобильных: просто масштабируем весь блок */
@media (max-width: 768px) {
  .a-gall{
    transform: scale(0.5); /* можно уменьшить или увеличить */
    transform-origin: center;
  padding-top: 0;
  padding-bottom: 0;
  margin-top: 0;
  margin-bottom: 0;
  position: relative;
  left: 0px;
  }
  .box2{
    height: auto;
  }
  .photo-cen{
    width: 350px;
    position: relative;
    bottom: 20px;
    height: 500px;
  }
  .photo-lef{
    width: 250px;
    height: auto;
  }
  .photo-rig{
    width: 250px;
    height: auto;
  }
}
.steps-section {
  padding: 40px 20px;
  position: relative;
}

.steps-title {
    font-size: 3.3rem;
    font-weight: bolder;
    color: #00abe1;
    position: relative;
    left: 77px
}
.titlee{
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  margin-bottom: 50px;
  right: 75px;
}
.steps-wrapper {
  display: flex;
  align-items: center;
  position: relative;
  width: 100%;
  justify-content: center;
}

.steps-gallery {
  display: flex;
  gap: 16px;
  overflow-x: auto;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  padding-left: 10vw;
  padding-right: 10vw;
  scroll-padding-left: 10vw;
  scroll-padding-right: 10vw;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}

.step-card {
  min-width: 500px;
  max-width: 500px;
  height: 400px;
  flex-shrink: 0;
  background:#00abe1;
  border-radius: 12px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
  text-align: center;
  color: #333;
  transition: transform 0.2s ease;
  scroll-snap-align: center; 
  flex: 0 0 auto;
  text-align: left;
}

.step-card:hover {
  transform: scale(1.03);
}
.steph{
  height: 45px;
}
.step-card h3 {
  font-size: 35px;
  font-weight: bolder;
  position: relative;
  bottom: 30px;
  color: #ffffff;
}
.stepp{
  height: 80px;
}
.textp p{
  font-size: 16px;
}
.step-card p {
  color: white;
}
.stepp p{
  font-size: 18px;
}

.scroll-btn {
  background-color: #0077b6;
  color: white;
  border: none;
  font-size: 24px;
  padding: 10px 15px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  z-index: 2;
  width: 50px;
  border-radius: 50%;
}

.scroll-btn:hover {
  background-color: #005f91;
}

.scroll-btn.left {
  margin-right: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.scroll-btn.right {
  margin-left: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
}

@media (max-width: 768px) {
  .step-card {
    width: 80vw;
    max-width: 80vw;
    min-width: 80vw;
    scroll-snap-align: center;
  }
   .steps-gallery {
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;

    padding-left: 10vw;
    padding-right: 10vw;

    scroll-padding-left: 10vw;
    scroll-padding-right: 10vw;
  }
  .step-card h3 {
    font-size: 1rem;
  }
  .gallery-section h3{
    position: relative;
    left: 0px;
  }

  .step-card p {
    font-size: 15px;
  }
  .scroll-btn {
    display: none !important;
  }
  .steps-title{
    font-size: 2.2rem;
    position: relative;
    left: 0px;
    right: 100px;
  }
  .contact-info li{
    font-size: 22px;
  }
  .contact-info p{
    font-size: 20px;
  }
  .contact-info a{
    font-size: 19px;
  } 
  .steps-wrapper{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .steph{
    height: 80px;
  }
  .titlee{
    position: relative;
    left: 0px;
    display: flex;
    flex-direction: column;
    right: 50px;
    text-align: left;
    justify-content: flex-start;
    margin-bottom: 20px;
  }
  .card-button{
    width: 250px;
  }
}
.overlay {
  display: none;
  position: fixed;
  top: 0; left: 0;
  width: 100vw; height: 100vh;
  background: rgba(0, 0, 0, 0.8);
  justify-content: center;
  align-items: center;
  z-index: 1000;
  padding: 16px;
}

.photo-container {
  position: relative;
  max-width: 95vw;
  max-height: 90vh;
}

.overlay img {
  width: 100%;
  height: auto;
  max-height: 90vh;
  border-radius: 10px;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.8);
}

.close-btn {
  position: absolute;
  top: -10px;
  right: -10px;
  background: white;
  color: black;
  border-radius: 50%;
  padding: 8px 12px;
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 0 5px rgba(0,0,0,0.4);
}

@media (max-width: 600px) {
  .close-btn {
    font-size: 20px;
    padding: 6px 10px;
    position: absolute;
    right: 2px;
  }
  .overlay img{
    width: 330px;
    height: 550px;
    position: relative;
    right: 25px;
  }
}
.responsive-map {
    width: 300%;
    border: none;
    border-radius: 25px;
    /* Стандартная высота для больших экранов */
    height: 600px;
  }

  @media (max-width: 768px) {
    .responsive-map {
      height: 300px; /* планшеты и небольшие экраны */
      width: 350px !important;
    }
  }

  @media (max-width: 480px) {
    .responsive-map {
      height: 300px; /* смартфоны */
      width: 350px !important;
    }
  }