/* 
html {
  scroll-behavior: smooth;
} */
.phone_number {
  color: #fff;
}

body {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
    background-color: #313131;
    background-image: url(../img/bg.jpg);
    /* background-repeat: no-repeat;
    background-attachment: fixed; */
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;

    
}

* {
    box-sizing: border-box;
}

h1,h2,h3,h4,h5,h6 {
    margin: 0;
    padding: 0;
}

.logo_box {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.logo {
  width: 200px;
  height: 200px;
  
}

.header_tel {
  color: #fff;
  font-weight: bold;
  font-size: 25px;
  margin-right: 60px;
  display: flex;
  flex-direction: column;
  margin-top: 40px;
  margin-bottom: 20px;  
}


.messager_link {
  font-size: 35px;
  text-decoration: none;
  color: #fff;
  margin-bottom: 10px;
  margin-top: 10px;
  transition: all 700ms;
}

.messager_link:hover {
  color: #34a9d8;
}

@media (max-device-width: 500px) {
  .logo_box {
    display: flex;
    flex-direction: column;
  }
  .header_tel {
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 0px;
  }
}


/* BOX 1 */

@media (max-device-width: 370px) {

  #box5 {
    font-size: 20px;
  }

} 




.container_price {
  
  border-radius: 15px;
 
}

.modern-table {
  
    /* background-color: #fff; */
    color: #333;
    /* border-radius: 15px; */
   
    
}

.table-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center; 
    
    
    
    
}
.zxc {
    text-align: center;
    font-size: 20px;
    /* display: flex;
    justify-content: center; */
}




.margin_bottom {
  border-bottom: 0px;
  
}



.container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

.nav_box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background-color: #fff;
    min-height: 60px;
    margin-top: 45px;
    border-radius: 15px;
    border: 9px solid #f0eeee;


}

.nav_link {
    font-weight: bold;
    text-decoration: none;
    color: #686666;
    margin-left: 35px;
    margin-right: 35px;
    transition: all 600ms;
    border: 2px solid transparent;
    padding: 10px;
    border-radius: 5px;
}


.nav_link:hover {
    border: 2px solid #34a9d8;
    background-color: #e3f7ff;
    
    
}

/* MEDIA QUERIES */
@media (max-device-width: 650px) {
        .nav_box {
            display: flex;
            flex-direction: column;
            align-items: center;
            line-height: 70px;
        }
        .nav_link {
            height: 50px;
            display: flex;
            align-items: center;
        }
        .nav_link:last-child {
            margin-bottom: 15px;
        }
       
}


/* BOX 2 */

.main_box {
    background-color: #fff;
    margin-top: 45px;
    border-radius: 15px;
    border: 9px solid #f0eeee;
}


.main_text {
    text-align: center;
    font-size: 50px;
    margin-top: 50px;
    /* color: #424242; */
    color: #8a0404;
    font-weight: bold;
    
}
.main_text_2 {
  text-align: center;
  color: #37595f;
  font-weight: bold;
  font-size: 20px;
  padding: 40px 100px;
  
}


/* ПОПЫТКА ВЫРОВНЯТЬ */

.second_big_box {
  display: grid;
  grid-template-columns: 1fr 1fr  1fr;
  text-align: center;
}


.second_box {
  border: 2px solid transparent;
  transition: all 600ms;
  border-radius: 5px;
  padding: 40px;
  position: relative;
  top: 5px;
  
}
.second_box:hover {
  border: 2px solid #34a9d8;
  background-color: #e3f7ff;
 
  top: -5px;

}

.main_img {
  width: 200px;
  height: 150px;
}

@media (max-device-width: 800px) {
    .second_big_box {
      display: grid;
      grid-template-columns: 1fr;
    }
}
@media (max-device-width: 400px) {
  .main_text_2 {
    padding: 0px;
    padding-top: 25px;
  }
}

/* ПОПЫТКА ВЫРОВНЯТЬ */


.second_text {
    font-size: 25px;
    text-align: center;
    padding: 70px 100px;
    color: #686666;
}

@media (max-device-width: 550px) {
    .second_text {
        font-size: 18px;
        padding: 10px 10px;
    }
}

/* BOX 3 */


.container_3 {
    margin-bottom: 60px;
    border-radius: 15px;
    border: 9px solid #f0eeee;
    margin-top: 50px;
}

.link_big_box {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px 20px;
  background-color: #fff;
}


#box3_link {
  text-decoration: none;
  transition: all 900ms;
  width: 25%;
}
.example {
  display: grid;
  align-items: center;
  justify-content: center;
  color: #8a0404;
  font-weight: bold;
  font-size: 30px;
  text-align: center;
  background-color: #fff;
  padding-top: 20px;
  padding-bottom: 20px;
  transition: all 700ms;
  border: 2px solid transparent;
  border-radius: 7px;
  
  

  
}
.example:hover {
  border: 2px solid #34a9d8;
  background-color: #e3f7ff;
  
  
}

.carousel {
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    overflow: hidden;
    /* border-radius: 10px; */
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
  }
  
  .slides {
    display: flex;
    transition: transform 0.5s ease-in-out;
    width: 100%;
  }
  
  .slide {
    position: relative;
    min-width: 100%;
    height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #eee;
    font-size: 24px;
    color: #333;
    /* overflow-x: hidden; */
    border: 0px solid #fff;
  }

  .slides_img {
    width: 100%; /* Это зарешало в настройке картинок!!!*/
    border: 0px solid #fff;
  }
  
  /* Кнопки навигации */
  .carousel button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    font-size: 20px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 10;
  }
  
  .prev { left: 10px; }
  .next { right: 10px; }
  
  /* Индикаторы */
  .dots {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
  }
  
  .dot {
    width: 15px;
    height: 15px;
    border-radius: 50%;
    background: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: background 0.3s;
  }
  
  .dot.active {
    background: white;
  }
  
  /* Адаптивность */
  @media (max-width: 600px) {
    .slide {
      height: 200px;
      font-size: 18px;
    }
  
    .carousel button {
      width: 30px;
      height: 30px;
      font-size: 16px;
    }
  
    .dot {
      width: 10px;
      height: 10px;
    }
  }


  /* BOX 4 */
.price_box {
  background-color: #fff;
  border: 9px solid #f0eeee;
  border-radius: 15px;
  margin-bottom: 50px;
}
  .price {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
  }

  .main_price {
    margin-top: 30px;
    margin-bottom: 35px;
}

.price_text {
  color: #686666;
  padding: 60px;
  font-size: 25px;
}
.price_link {
  text-decoration: none;
  color: #8a0404;
  font-size: 25px;
  transition: all 700ms;
  border: 2px solid transparent;
  border-radius: 7px;
  width: 25%;
  padding: 17px 40px;
  margin-top: 25px;
  margin-bottom: 45px;
}

.master {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}
.arrow {
  font-size: 50px;
  text-decoration: none;
  color: #667eea;
}


/*  ТАБЛИЦА !!!!! */

.main_table_box {
  width: 100%;
}

.table_box {
  display: table;
  width: 100%;
  border-collapse: collapse;
}

.table-cell {
  width: 33.3%;
  display: table-cell;
  padding: 10px;
  border: 1px solid #ccc;

}

.zxc {
  border: 5px solid #34a9d8;
}




/*  ТАБЛИЦА !!!!! */
.price_link:hover {
  border: 2px solid #34a9d8;
  background-color: #e3f7ff;
  
}
.download_box {
  margin: 0;
  padding: 0;
  min-height: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  font-family: Arial, sans-serif;
}
.download {
  text-decoration: none;
  color: #860000;
  text-align: center;
  transition: all 700ms;
  justify-content: center;
  transition: transform 0.3s ease;
  transform: rotate(0deg);
  padding: 44px 35px;
  
}

.wave-container {
  position: relative;
  width: 200px;
  height: 200px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.wave-block {
  width: 120px;
  height: 120px;
  background: white;
  border-radius: 16px;
  display: flex;
  justify-content: center;
  align-items: center;
  color: #333;
  font-weight: bold;
  font-size: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
  position: relative;
  z-index: 2;
  transition: transform 0.2s ease;
}

.wave-block:hover {
  transform: scale(1.05);
}

.wave {
  position: absolute;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  width: 120px;
  height: 120px;
  opacity: 0;
  animation: wave-animation 1.5s infinite;
  z-index: 1;
}

.wave:nth-child(2) {
  animation-delay: 0.2s;
}

.wave:nth-child(3) {
  animation-delay: 0.4s;
}

.wave-container:hover .wave {
  animation-play-state: running;
}

@keyframes wave-animation {
  0% {
      transform: scale(1);
      opacity: 0.7;
  }
  100% {
      transform: scale(2.5);
      opacity: 0;
  }
}





/* BOX 5 */

.place_box {
  border-radius: 15px;
  /* border: 9px solid #f0eeee; */
}

.place {
  background-color: #fff;
  border: 9px solid #f0eeee;
  border-radius: 15px;
 
}
.footer_text_box {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}
.footer_text {
  margin: 10px;
  padding: 40px;
}

.footer_link:hover {
  border: 2px solid #34a9d8;
  background-color: #e3f7ff;
  
}
  .footer_link {
    text-decoration: none;
    text-align: center;
    background-color: #fff;
    color: #8a0404;
    font-size: 20px;
    transition: all 700ms;
    border: 2px solid transparent;
    width: 30%;
    padding: 17px 40px;
    margin-top: 25px;
    margin-bottom: 25px;
    border-radius: 7px;
  }

.geografy {
  margin-bottom: 40px;
  color: #37595f;
  font-weight: bold;
  font-size: 25px;
}



.send_mail_box {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #fff;
    min-height: 60px;
    margin-top: 45px;
    border-radius: 15px;
    border: 9px solid #f0eeee;
    background-image: url(../img/bg008.jpg);
    background-size: cover;
    
   
}

.send_mail_mini_box {
    text-align: center;
    padding: 50px;
}

.label {
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
    flex: 1;
    font-weight: bold;
    color: #34a9d8;
    
    
}
.form_box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-top: 30px;
}

.footer_button {
    all: unset;
    background-color: #667eea;
    color: #fff;
    padding: 15px;
    transition: all 700ms;
}
.footer_button:hover {
    border-radius: 15px;
    
}

.footer_input {
    display: flex;
    flex: 1;
}

.footer_input:focus {
    outline: none;
    
}
   

.textarea_style {
    resize: none;
    border-radius: 7px;
    border: 5px solid #ccc;
}

.textarea_style:focus {
  border-color: #34a9d8; 
}

.label_checkbox {
  color: #34a9d8;
  font-weight: 700;
  display: flex;
  align-items: center;
}

.checkbox {
  width: 25px;
  height: 25px;
  color: #34a9d8;
}


/* Общий стиль для всех input'ов */
input[type="text"],
input[type="email"],
input[type="tel"] {
  width: 300px;              /* Ширина поля */
  padding: 12px 16px;        /* Внутренний отступ: сверху/снизу — 12px, слева/справа — 16px */
  font-size: 16px;           /* Размер текста — удобно на мобильных */
  border: 5px solid #ccc;    /* Светло-серая рамка */
  border-radius: 8px;        /* Скруглённые углы */
  background-color: #fff;    /* Белый фон */
  transition: border-color 0.3s; /* Плавное изменение цвета рамки */
}

/* Когда поле активно (в него кликнули или печатают) */
input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:focus {
  border-color: #34a9d8;     /*  рамка при фокусе */
}



@media (max-device-width: 500px) {
  .textarea_style {
    width: 270px;
  }   
  .checkbox {
    margin-left: 25px;
  }
}




@media (max-device-width: 411px) {
      .main_text {
        font-size: 35px;
      }
}


.container_7 {
  background-color: #fff;
  border-radius: 15px;
  border: 9px solid #f0eeee;
  margin-top: 50px;
}

.download_box {
  
  background-color: #fff;
  border-radius: 15px;
  border: 9px solid #f0eeee;
}

/* TEST */

.footer_link:hover {
  border: 2px solid #34a9d8;
  background-color: #e3f7ff;
  
}
  .footer_link {
    text-decoration: none;
    text-align: center;
    background-color: #fff;
    color: #8a0404;
    font-size: 30px;
    transition: all 700ms;
    border: 2px solid transparent;
    width: 30%;
    padding: 17px 40px;
    margin-top: 25px;
    margin-bottom: 25px;
    border-radius: 7px;
  }


  .application {
    text-decoration: none;
    color: #860000;
    margin-bottom: 55px;
    font-size: 25px;
    border-radius: 7px;
    border: 2px solid transparent;
    transition: all 700ms;
    padding: 17px 40px;
    
}

.application:hover {
  border: 2px solid #34a9d8;
  background-color: #e3f7ff;
}