.main-blog .form-newsletter {
  position: relative;
  margin-top: 126px;
}
.main-blog .form-newsletter img.bg-1 {
  width: 612px;
  height: 612px;
  position: absolute;
  top: -35%;
  left: 0;
  z-index: 0;
}
.main-blog .form-newsletter .container {
  position: relative;
}
.main-blog .form-newsletter .form-wrapper {
  padding: 3rem 3.5rem;
  background: #ffffff;
  box-shadow: 0px 8px 16px 0px #0000001a;
  border-radius: 1.5rem 7rem 1.5rem 1.5rem;
  position: relative;
}
.main-blog .form-newsletter img.bg-2 {
  position: absolute;
  top: -40px;
  right: -20px;
  width: 162.83px;
  height: 162.83px;
  z-index: -1;
}
.main-blog .form-newsletter .title-default {
  color: #0860DB;
  font-family: 'Montserrat', sans-serif;
  font-size: 1.875rem;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
}
.main-blog .form-newsletter .sub-title {
  color: #000;
  font-family: 'Montserrat', sans-serif;
  font-size: 2.5rem;
  font-style: normal;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -0.025rem;;
}
.main-blog .form-newsletter .description-section {
  color: #656565;
  text-align: center;
  font-family: 'Montserrat',  sans-serif;
  font-size: 1.5rem;
  font-style: normal;
  font-weight: 500;
  line-height: 2rem;
  letter-spacing: -0.015rem;
  margin: 0;
}
.main-blog .form-newsletter .fields {
  margin-top: 24px;
}
.main-blog .form-newsletter .fields input:not(.wpcf7-submit) {
  background: #f9f9f9;
  padding: 1rem;
  border-radius: 8px;
  border: 0;
  width: 100%;
}
.main-blog .form-newsletter .fields .wpcf7-submit {
  float: right;
  padding: 1rem;
  width: 281px;
  border-radius: 89px;
  background: #31d785;
  border: 0;
  font-size: 0.75rem;
}
.main-blog .form-newsletter .fields label {
  width: 100%;
  font-size: 0.75rem;
  margin-bottom: 1rem;
  text-align: left;
}



@media (max-width: 767px) {
  .main-blog .form-newsletter .form-wrapper {
    padding: 24px 16px;
  }
  .main-blog .form-newsletter {
    margin-top: 0;
  }
  .main-blog .form-newsletter .bg-1 {
    display: none !important;
  }
  .main-blog .form-newsletter .newsletter .bg-2 {
    transform: rotate(-90deg);
  }
  .main-blog .form-newsletter .title-default {
    font-size: 16px;
    line-height: 19.5px;
  }
  .main-blog .form-newsletter .sub-title {
    font-size: 1.5rem;
    line-height: 32px;
  }
  .main-blog .form-newsletter .description-section {
    font-size: 16px;
    line-height: 24px;
    font-weight: 500;
  }
  .main-blog .form-newsletter .fields {
    margin-top: 56px;
  }
  .main-blog .form-newsletter .fields .wpcf7-submit {
    float: none;
    width: 100%;
  }
}
.form-newsletter button {
  width: 100%;
}

.form-newsletter .fields input[type="radio"] {
  width: 20px !important;
  height: 20px;
}
.form-newsletter .fields .person {
  width: 200px !important;
  display: flex;
  margin: 0 1rem;
  font-size: 1rem;
  gap: 1rem;
  cursor: pointer;
}

.person input[type="radio"] {
  display: none;
}

.person .checkmark {
  display: inline-block;
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  border: 2px solid #31d785;
  transition: border 0.1s ease;
}

.person input[type="radio"]:checked + .checkmark {
  border-width: 5px;
}

.checkboxes {
  margin-bottom: 20px;
}

.checkboxes label {
  display: block;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #021e46 !important;
  font-weight: 600;
}

.checkboxes input[type="checkbox"] {
  margin-right: 10px;
  width: 1rem !important;
  height: 1rem I !important;
}

.invalid-ul {
  list-style-type: none;
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin: 0;
  padding: 0;
  justify-content: flex-start;
}

.invalid-ul li {
  flex: 1 1 calc(50% - 0.5rem);
  display: flex;
  align-items: center;
  font-size: 0.9rem;
}

.invalid-ul li:nth-child(2n) {
  margin-left: 0;
}

.invalid-check {
  display: flex;
  background: #F5F5F5;
  border-radius: 100%;
  padding: 0.3rem;
  align-items: center;
  margin-right: 0.5rem;
  fill: #959595;
}

.valid-check {
  display: flex;
  background: #1A9154;
  border-radius: 100%;
  padding: 0.3rem;
  align-items: center;
  margin-right: 0.5rem;
  fill: #fff;
}

.valid {
  font-size: 14px;
  font-family: Montserrat;
  font-weight: bold;
  color: #1A9154;
  display: flex;
  align-items: center;
}

.invalid {
  display: flex;
  align-items: center;
  font-size: 14px;
  font-family: Montserrat;
  color: #959595;
}

@media screen and (min-width: 991px) {
  .main-blog .form-newsletter .form-wrapper::before{
    content: url(../../images/image-form-newsletter.png);
    position: absolute;
    right: 100%;
    bottom: 100%;
    z-index: -1;
    transform: translate(50%, 50%);
  }
}

.main-blog .form-newsletter .form-wrapper::before {
  content: url(../../images/image-form-newsletter.png);
  position: absolute;
  right: 80%;
  bottom: 95%;
  z-index: -1;
  transform: translate(50%, 50%);
}

@media screen and (min-width: 1441px) {
  .main-blog .form-newsletter .form-wrapper::before {
    right: 90%;
    bottom: 95%;
  }
  
}

@media screen and (min-width: 2000px) {
  .main-blog .form-newsletter .form-wrapper::before {
    right: 93%;
    bottom: 95%;
  }
  
}