* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html,
body {
  display: flex;
  justify-content: center;
  height: 100%;
  width: 100%;
}

body {
  font-family: "Inter", sans-serif;
}

h1,
h2,
h3,
h4,
h5,
h6,
p {
  font-family: "Inter", sans-serif;
}

.content-wrapper{ 
  max-width: 1436px; 
  width: 100%; 
}

.title { 
  font-size: 84px;
  font-weight: 900;
  color: #fff;
}

.text-spacing { 
  font-size: 24px;
  line-height: 150%;
  letter-spacing: 0.5em;
  color: #fff;
}

.subtitle { 
  color: #000000;
  font-size: 48px;
  font-weight: 600;
}

.text-heading { 
  color: #000000;
  font-size: 24px;
  font-weight: 600;
}

.text-subtitle-white { 
  color: white;
  font-size: 48px;
  font-weight: bold;
}

.logo-sub{ 
  color: #fefee3;
  font-size: 14px;
}


.text-black { 
  color: #1E1E1E;
}

.text-base-sb{ 
  font-weight: 600;
}


.text-s-b { 
  color: #000000;
  font-size: 20px;
  font-weight: 600;
}

.text-sub { 
  color: #757575;
  line-height: 140%;
}

.logo {
  color: #fff;
  font-size: 20px;
  text-decoration: none;
}

.navs-wrapper {
  display: flex;
  gap: 48px;
}

.header-link {
  font-size: 20px;
  color: #fff;
  text-decoration: none;
  padding: 14px 24px;
}



.site-header {
  position: absolute;
  display: flex;
  max-width: 1438px;
  width: 100%;
  justify-content: space-between;
  align-items: center;
  padding: 55px 80px;
  z-index: 10;
  background: transparent;
}


.site-footer {
    display: flex;
    justify-content: space-between;
    padding: 20px 120px 20px 60px;
}

.footer-contacts{
    display: flex;
    flex-direction: column;
    max-width: 397px;
    gap: 24px;
}

.footer-title{
    color: #000000;
}

.footer-logo{ 
  width: 200px;
}

.footer-text{
    color: #454545;
}

.footer-icon-wrapper{
    position: relative;
   

}

.footer-icon{
 position: absolute;
 left: -50px;

}



  .modal {
    display: none;  
    position: fixed;
    justify-content: center;
    align-items: center;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999;
    animation: slideDown 0.2s ease-out; 
}



@keyframes slideDown {
    0% {
        transform: translateY(-100%);  
    }
    100% {
        transform: translateY(0);  
    }
}

.hidden-file-input {
  display: none;
}

.file-item {
  display: flex;
  justify-content: space-between;
  margin: 5px 0;
}

.remove-file {
  cursor: pointer;
  color: red;
}

.message-box {
  margin-bottom: 20px;
  padding: 10px;
  border-radius: 5px;
  display: none; 
}

.message-box.success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

.message-box.error {
  font-size: 12px;
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

.message-box.warning {
  background-color: #fff3cd;
  color: #856404;
  border: 1px solid #ffeeba;
}
  
  .modal-content {
    max-width: 902px;
    width: 100%;
    display: flex;
  }

  .modal-title-wrapper{ 
    display: flex;
    flex-direction: column;
  }

  .modal-subTitle{ 
    text-align: right;
    font-size: 10px;
    color: #757575;
  }
  
  .modal-title {
    font-size: 24px;
    font-weight: 600;
  }
  
  .close {
    font-size: 25px;
    color: #fff;
    cursor: pointer;
  }
  
  .modal-form {
   max-width: 451px;
   width: 100%;
   padding: 20px 47px 30px 47px ;
   background: #fff;
  }
  
  .modal-contact-title-wrapper{
    width: 100%;
    padding: 0px 34px 26px 34px ;
    border-bottom:  1px solid #fff;
  }

  .modal-contact-title{ 
    font-size: 24px;
    font-weight: bold;
    color: #fff;
    line-height: 150%;
  }

  .modal-info-icon{ 
    cursor: pointer;
  }

  .modal-info-text{ 
    display: none;
    background: #fff;
    color: #000000;
    font-size: 12px;
    width: 253px;
    padding: 10px;
    position: absolute;
    right: -145px;
    top: -70px ;
    box-shadow: -5px 5px 15px rgba(0, 0, 0, 0.3); 
  }

  .modal-info-textWrapper{
    position: relative;
  }

  .modal-info-textWrapper:hover .modal-info-text {
    display: block;
  }
 
  
  .about-banner-button:hover {
    background-color: #144C55;
  }
  
  .form-control {
    padding: 8px;
    margin: 10px 0;
    border-radius: 4px;
    border: 1px solid #ccc;
  
  }

  .form-input{
    width: 100%;
    border: unset;
    padding: 6px 0;
    font-size: 12px;
    border-bottom: 1px solid #D9D9D9;
    padding: 14px 0;
  }

  .form-input:focus{ outline: none;}

  .modal-imputs-wrapper{
    padding: 10px 0 20px 0;
  }

  .hidden-file-input{
    display: none;
  }

  .form-file-button{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    max-width: 125px;
    width: 100%;
    font-size: 16px;
    color: #F5F5F5;
    background: #144C55;
    border-radius: 8px;
    border: unset;
    padding: 10px 0 ;
    cursor: pointer;
    height: 40px;
  }

  .modal-file-button-wrapper{
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
  }

  .form-check{
    display: flex;
    align-items: center;
    gap: 6px;
margin-bottom: 24px;
  }


  .form-check-label{ 
    font-size: 12px ;
  }

  .file-item{
    color: #757575;
   font-size: 10px;
  }

  .file-limit-text{
  color: #757575;
   font-size: 10px;
  }

  .remove-file{ 
    cursor: pointer;
  }

  /* Стили для кнопки */
.modal-button-succes {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px; /* Расстояние между текстом и индикатором */
}

/* Анимация индикатора загрузки */
@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.loading-indicator {
  display: inline-block;
  animation: spin 1s linear infinite; /* Анимация вращения */
}
  
  .modal-button-succes {
max-width: 125px;
width: 100%;
    background: #ff634a;
    display: flex;
    align-items: center;
    justify-content: center;
    padding:  12px;
    color: #fff;
    border: unset;
    font-size: 16px;
    border-radius: 8px;
    cursor: pointer;
  }
  
  .btn:hover {
    background-color: #218838;
  }

  .modal-contact{ 
    max-width: 451px;
    width: 100%;
    background: #144C55;
  }

  .modal-contact-content{ 
    padding: 0 47px;
  }

  .modal-close-wrapper{
    display: flex;
    width: 100%;
    justify-content: end;
    padding: 24px 20px 0 0 ;
  }

  .modal-contact-text{
    display: flex;
    flex-direction: column;
    gap: 20px;
    gap: 18px;
    padding-top: 20px;
    padding-left: 30%;
  }

.modal-contact-title{
    color: #fff;
    font-weight: bold;
}

.modal-text{
    color: #fff;
    text-decoration: none;
}

.modal-icon-wrapper{
    position: relative;

}

.modal-icon{
 position: absolute;
 left: -50px;
 
}

/* Стили для бургер-кнопки */
.burger-menu {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  cursor: pointer;
}

.burger-menu span {
  width: 30px;
  height: 3px;
  background: white;
  transition: 0.3s;
}

/* Анимация бургера при активации */
.burger-menu.active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}

.burger-menu.active span:nth-child(2) {
  opacity: 0;
}

.burger-menu.active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}


.mobile-nav {
  display: none;
  flex-direction: column;
  gap: 16px;
  position: absolute;
  left: 0;
  width: 100%;
  background: #144C55;
  padding: 20px;
  text-align: center;
}

.mobile-nav a {
  color: white;
  font-size: 20px;
  text-decoration: none;
  padding: 10px;
}


.mobile-nav.active {
  display: none ;
}

.modal-contact-us{ 
  font-weight: 600;
  font-size: 16px;
  color: white;
}


@media screen and (max-width: 768px) {
  .burger-menu {
      display: flex;
  }

  .navs-wrapper {
      display: none;
  }

  .mobile-nav.active {
    display: flex;
  }
  
  .site-header{ 
    padding: 10px 
  }

  .site-footer {
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .site-footer img {
    max-width: 150px;
  
  }

  .footer-contacts {
    max-width: 100%;
    align-items: center;
  }

  .footer-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .footer-icon {
    position: static;
    margin-right: 10px;
  }

  .footer-text {
    font-size: 14px;
  }

  .modal-content {
    flex-direction: column-reverse; 
    max-width: 90%;
    width: 100%;
  }

  .modal-form {
    max-width: 100%;
    padding: 20px;
  }

  .modal-contact {
    max-width: 100%;
    padding: 20px;
    text-align: center;
  }

  .modal-contact-title-wrapper {
    padding: 0 10px 20px 10px;
  }

  .modal-contact-title {
    font-size: 20px;
    line-height: 140%;
  }

  .modal-contact-text {
    padding-left: 0;
  }

  .modal-icon-wrapper {
    justify-content: center;
    display: flex;
    align-items: center;
    gap: 10px;
  }

  .modal-icon {
    position: static;
  }

  .modal-text {
    font-size: 14px;
  }

  .modal-file-button-wrapper {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .modal-button-succes {
    max-width: unset;
    width: 100%;
  }

  .modal-close-wrapper {
    padding: 10px;
  }

  .modal-info-text {
    width: 100%;
    right: 0;
    top: -80px;
  }

  .modal-imputs-wrapper {
    padding: 10px 0;
  }

  .form-input {
    font-size: 14px;
    padding: 10px 0;
  }

  .file-limit-text {
    text-align: center;
  }

  .modal-contact-title-mobile{ 
    display: none;
  }


}


  

/* formModal override */
.form-modal-overlay {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0,0,0,0.7);
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.form-modal-content {
  display: flex;
  background: white;
  max-width: 900px;
  width: 90%;
  border-radius: 12px;
  padding: 20px;
  position: relative;
  box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.form-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
}

.form-sidebar {
  width: 40%;
  background-color: #fff;
 
  border-right: 1px solid #ccc;
}

.form-sidebar h1 {
  font-size: 18px;
  margin-bottom: 10px;
}

.form-fact {
  margin-top: 20px;
  font-size: 14px;
  color: #666;
}

form {
  flex: 1;
  padding: 20px;
}

.form-step {
  display: none;
  flex-direction: column;
  gap: 15px;
}

.form-step.active {
  display: flex;
}

form label {
  display: flex;
  flex-direction: column;
  font-weight: bold;
}

form input,
form select,
form textarea {
  padding: 8px;
  margin-top: 5px;
  border-radius: 5px;
  border: 1px solid #ccc;
}

form button {
  margin-top: 10px;
  padding: 10px;
  background-color: #228B22;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

form button:hover {
  background-color: #1e7e1e;
}