@import url(https://fonts.googleapis.com/css?family=Roboto:400,300,100,500,700,900);
.contact-form {
  margin-top: 30px;
}
.input_wrapper{
  margin-bottom: 20px;
}
.contact-form .input-block {
  background-color: rgba(0, 0, 0, 0.07);
  /* border: solid 1px #FF512F; */
  width: 100%;
  height: 60px;
  padding: 25px;
  position: relative;
  /* margin-bottom: 20px; */
  -moz-transition: all 0.3s ease-out;
  -o-transition: all 0.3s ease-out;
  -webkit-transition: all 0.3s ease-out;
  transition: all 0.3s ease-out;
}
.contact-form .input-block.focus {
  background-color: rgba(0, 0, 0, 0.07);
  /* border: solid 1px #fb2900; */
}
.contact-form .input-block.textarea {
  background-color: #fff;
  padding: 5px;
  height: auto;
  border: solid 1px rgba(0, 0, 0, 0.07);
}
.contact-form .input-block.textarea .form-control {
  height: auto;
  resize: none;
}

.contact-form .input-block label {
  position: absolute;
  left: 25px;
  top: 25px;
  display: block;
  margin: 0;
  font-weight: 300;
  z-index: 1;
  color: #333;
  font-size: 18px;
  line-height: 10px;
}
.contact-form .input-block .form-control {
  background-color: transparent;
  padding: 0;
  border: none;
  -moz-border-radius: 0;
  -webkit-border-radius: 0;
  border-radius: 0;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
  box-shadow: none;
  height: auto;
  position: relative;
  z-index: 2;
  font-size: 18px;
  color: #333;
}
.contact-form .input-block .form-control:focus label {
  top: 0;
}
.contact-form .square-button {
  background-color: rgba(0, 0, 0, 0.07);
  color: #000;
  font-size: 18px; 
  font-weight: 500;
  text-align: center;
  -moz-border-radius: 2px;
  -webkit-border-radius: 2px;
  border-radius: 5px;
  -moz-transition: all 0.3s ease;
  -o-transition: all 0.3s ease;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  padding: 0 60px;
  height: 60px;
  border: none;
  width: 100%;
}
.contact-form .square-button:hover, .contact-form .square-button:focus {
  background-color: rgba(0, 87, 177, 0.89)!important;
  color: #fff;
}

#clearFormIndividual, #clearFormOrganization {
  width:auto; 
  float: right; 
  margin-right: 15px;
  border-radius: 5px;
  background-color: rgba(0, 0, 0, 0.07);
  color: #000;
  font-size: 16px; 
}

#clearFormIndividual:hover, #clearFormOrganization:hover {
  background-color: rgba(252, 16, 16, 0.72);
  color: #fff;
}
@media (min-width: 768px) {
  .contact-wrap {
    width: 60%;
    margin: auto;
  }
}
/*----page styles---*/
/* body {
  background-image: url('data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4gPHN2ZyB2ZXJzaW9uPSIxLjEiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IGlkPSJncmFkIiBncmFkaWVudFVuaXRzPSJvYmplY3RCb3VuZGluZ0JveCIgeDE9IjAuMCIgeTE9IjAuNSIgeDI9IjEuMCIgeTI9IjAuNSI+PHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2ZmNTEyZiIvPjxzdG9wIG9mZnNldD0iMTAwJSIgc3RvcC1jb2xvcj0iI2RkMjQ3NiIvPjwvbGluZWFyR3JhZGllbnQ+PC9kZWZzPjxyZWN0IHg9IjAiIHk9IjAiIHdpZHRoPSIxMDAlIiBoZWlnaHQ9IjEwMCUiIGZpbGw9InVybCgjZ3JhZCkiIC8+PC9zdmc+IA==');
  background-size: 100%;
  background-image: -webkit-gradient(linear, 0% 50%, 100% 50%, color-stop(0%, #ff512f), color-stop(100%, #dd2476));
  background-image: -moz-linear-gradient(left, #ff512f, #dd2476);
  background-image: -webkit-linear-gradient(left, #ff512f, #dd2476);
  background-image: linear-gradient(to right, #ff512f, #dd2476);
  font-family: 'Roboto', sans-serif;
} */

.contact-wrap {
  padding: 15px;
}

h1 {
  background-color: white;
  color: #ff7c62;
  padding: 40px;
  margin: 0 0 50px;
  font-size: 30px;
  text-transform: uppercase;
  font-weight: 700;
  text-align: center;
}
h1 small {
  font-size: 18px;
  display: block;
  text-transform: none;
  font-weight: 300;
  margin-top: 10px;
  color: #ff7c62;
}

.made-with-love {
  margin-top: 40px;
  padding: 10px;
  clear: left;
  text-align: center;
  font-size: 10px;
  font-family: arial;
  color: #fff;
}
.made-with-love i {
  font-style: normal;
  color: #F50057;
  font-size: 14px;
  position: relative;
  top: 2px;
}
.made-with-love a {
  color: #fff;
  text-decoration: none;
}
.made-with-love a:hover {
  text-decoration: underline;
}


/* Использование Bootstrap классов с Flexbox и адаптивностью */
.contact-wrap {
  /* max-width: 600px; */
  margin: 50px auto;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

.contact-form {
  display: flex;
  flex-wrap: wrap;
  /* gap: 15px; */
}

/* Стили для колонок с использованием Flexbox и адаптивностью */
.col-sm-6,
.col-sm-12 {
  display: flex;
  flex-direction: column;
  padding: 0 15px;
  width: 100%;
}

@media (min-width: 576px) {
  .col-sm-6 {
    width: 50%;
  }
}

/* Стили для полей ввода */
.input-block {
  display: flex;
  flex-direction: column;
  /* margin-bottom: 15px; */
}

label {
  font-weight: bold;
  margin-bottom: 5px;
}

.form-control {
  padding: 10px;
  border-radius: 5px;
  font-size: 16px;
  transition: all 0.3s;
}

.form-control:focus {
  border-color: #007bff;
  outline: none;
  box-shadow: 0 0 5px rgba(0, 123, 255, 0.5);
}

/* Стили для textarea */
.textarea .form-control {
  resize: none;
  height: 100px;
}

/* Кнопка отправки с Bootstrap классами */
.square-button {
  width: 100%;
  padding: 10px;
  font-size: 18px;
}

.square-button.btn-primary:hover {
  background: #0056b3;
}



/* tab */

/* Стили вкладок */
.tabs {
  display: flex;
  padding: 20px;
}

.tab {
  background-color: rgba(0, 0, 0, 0.07);;
  padding: 10px 20px;
  margin-right: 10px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 5px;
  border-bottom: 3px solid transparent;
  transition: all 0.3s;
}

.tab:hover {
  background-color: rgba(0, 0, 0, 0.1);
}

.tab.active {
  /* border-bottom: 3px solid #007bff; */
  background-color: #007bff;
  font-weight: 500;
  color: #fff;
}

/* Контент вкладок */
.tab-content {
  display: none; 
  animation: fadeIn 0.3s ease-in-out;
}

.tab-content.active {
  display: block;
}

/* Анимация */
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* Адаптивность */
@media (max-width: 600px) {
  .tabs {
      flex-direction: column;
      align-items: center;
  }

  .tab {
      width: 100%;
      text-align: center;
      margin-right: 0;
      margin-top: 10px;
  }

  .department_input{
    margin-top: 10px;
    width: 100%;
  }


}


/* file upload */

.file-upload-wrapper{
  display: flex;
  /* justify-content: center; */
  align-items: center;
}

.file-upload {
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #ccc;
  padding: 8px 15px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  transition: 0.3s;
  width: fit-content;
  margin-right: 15px;
  font-weight: 500;
}

.file-upload:hover {
  background: #f0f0f0;
}

.file-upload i {
  font-size: 18px;
}

/* Скрываем стандартный input */
#file-individual, #file-organization {
  display: none;
}

.file-info-individual, .file-info-organization {
  font-size: 14px;
  color: #555;
}


.input_wrapper.error .input-block{
  border: 1px solid red !important;
  border-radius: 5px;
  /* padding: 5px; */
}

.input_wrapper.error select{
  border: 1px solid red !important;
  border-radius: 5px;
  color: red;
}

.error-message {
  color: red;
  font-size: 14px;
  margin-top: 5px;
}

.department_input{
  min-width: 300px;
}

.ml-auto{
  margin-left: auto;
}

.mb-0{
  margin-bottom: 0;
}

.form-select {
  display: block;
  width: 100%;
  padding: .375rem 2.25rem .375rem .75rem;
  -moz-padding-start: calc(0.75rem - 3px);
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath fill-rule='evenodd' clip-rule='evenodd' d='M12.7071 14.7071C12.3166 15.0976 11.6834 15.0976 11.2929 14.7071L6.29289 9.70711C5.90237 9.31658 5.90237 8.68342 6.29289 8.29289C6.68342 7.90237 7.31658 7.90237 7.70711 8.29289L12 12.5858L16.2929 8.29289C16.6834 7.90237 17.3166 7.90237 17.7071 8.29289C18.0976 8.68342 18.0976 9.31658 17.7071 9.70711L12.7071 14.7071Z' fill='%23000'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right .75rem center;
  background-size: 16px 12px;
  border: 1px solid #ced4da;
  border-radius: .25rem;
  transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.option {
  font-weight: normal;
  white-space-collapse: collapse;
  text-wrap-mode: nowrap;
}
