.contact.contact__wrapper {
  /*padding-bottom: 0;*/
  height: auto;
}
section.contact.wrapper{
    
  padding-top: 0;
}
.contact{
  margin-left: 1.5625rem;
  margin-right: 1.5625rem;
  width: auto;
}
.contact .contact__content{
  object-fit: cover;
  background-repeat: no-repeat;
  border-radius: 0.625rem;
}
.contact .contact__data {
  width: 100%;
}
.title_contact_form{
  color: var(--dark-blue);
  margin-bottom: 2.1875rem;
}
.contact .contact__right .title{
  font-size: 5.3125rem;
}
.contact .contact__right .text-descriprion{
  font-size: 1.5rem;
  font-family: "Mariupol";
  font-weight: 400;
}
.contact .contact__right {
  width: 100%;
  justify-content: space-between;
  padding: 3.4375rem 4.0625rem;
  color: var(--white-2);
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: center;
}
.text_contact{
  gap: 2.8125rem;
}
.contact .contact__form{
  width: 100%;
}
.contact .contact__form form{
  width: 100%;
  background-color: #F7FBFF;
  padding: 2.125rem 0.9375rem;
  border-radius: 0.3125rem;
}

.contact__form form {
   position: relative; 
}

.form__submit {
  margin-top: auto; 
}
.contact .form__submit .btn{
  width: 100%;
  border: none;
  margin-top: 6.0625rem;
  font-size: 1.5rem;
}
.contact .contact__form  .form__fields{
  gap: 2.1875rem;
}

.select_custom_container {
    position: relative;
    width: 100%;
}

.contact__right .form__social_networks{
  gap: 0.625rem;
}
.contact__right .form__social_networks a{
  width: 4.6875rem;
  height: 4.6875rem;
}
.contact__right .form__social_networks .social-link{
  display: inline-block;
  background-size: contain;
  background-repeat: no-repeat;
  transition: background-image 0.3s ease;
}
.tel {
  background-image: url('../../../assets/images/tel.png');
}
.telegram{
  background-image: url('../../../assets/images/telegram.png');
}
.viber {
  background-image: url('../../../assets/images/viber.png');
}

.contact__right .form__social_networks .social-link {
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
    transition: all 0.3s ease;
    border-radius: 50%; 
}

.telegram:hover {
    background-color: #0066CC;
    box-shadow: 0 0 15px rgba(0, 102, 204, 0.5);
    transform: translateY(-3px); 
    border: none;
}

.viber:hover {
    background-color: #7360F2;
    box-shadow: 0 0 15px rgba(115, 96, 242, 0.5);
    transform: translateY(-3px);
    border: none;
}

.tel:hover {
    background-color: var(--dark-blue);
    box-shadow: 0 0 15px rgba(2, 29, 72, 0.5);
    transform: translateY(-3px);
    border: none;
}

.contact__right .form__social_networks .social-link:hover {
    filter: brightness(1.2);
}
.form__row{
	width: 100%;
}
@media screen and (min-width: 960px) {
    .contact .contact__content{
      border-radius: 0.625rem;
    }
    .contact .contact__data {
      width: 32.25rem;
    }
    .contact .contact__right {
      width: 55.75rem;
      gap: 3.125rem;
      color: white;
    }
    .contact .contact__form{
      width: 54.1875rem;
    }
    .contact .contact__form form{
      width: 100%;
      padding: 2.75rem ;
      border-radius: 0.3125rem;
    }
    
    .form__submit {
      margin-top: auto; 
    }
}

@media screen and (max-width: 960px) {
  .contact .contact__right .title{
    font-size: 2.375rem;
  }
  .contact .contact__right {
    padding: 2.5rem 0.9375rem;
    justify-content: flex-start;
    gap: 1.5625rem;
    height: auto;
  }
  .contact .contact__content {
    background-size: cover; 
    background-position: center center;
    background-repeat: no-repeat;
    
    height: auto; 
    min-height: 100%;
    display: flex;
    flex-direction: column;
  }
  .text_contact{
    gap: 1.5625rem;
  }
	.title_contact_form{
	  font-size: 2.2rem;
	}
  .contact{
    margin-left: 0.9375rem;
    margin-right: 0.9375rem;
    width: auto;
  }
  .contact .contact__form form{
    margin-left: 0.9375rem;
    margin-right: 0.9375rem;
    margin-bottom: 2.5rem;
	padding-bottom: 0.9375rem;
    width: auto;
  }
	.contact .contact__form form input{
		padding: 1rem 1.5625rem !important;
	}
	.contact .contact__form form select{
		padding: 1rem 1.5625rem !important;
	}
	form select + .select_arrow {
		right: 1.1875rem;
		height: 0.5375rem;
	}
  .contact .form__submit .btn{
    margin-top: 0;
    padding: 0;
  }
  .contact .contact__form  .form__fields{
    gap: 1.5625rem;
  }
  .contact.contact__wrapper {
    height: auto; 
  }
  .contact__right .form__social_networks a{
    width: 3.875rem;
    height: 3.875rem;
  }
  .contact .contact__right .text-descriprion {
    font-size: 1.125rem;
	  width: 15.375rem;
  }
}
