.newsletter-section,
.newsletter-section.newsletter-three {
  position: relative;
  background-size: cover;
  background-position: top;
  z-index: 1;
}

.newsletter-section::after,
.newsletter-section.newsletter-three::after {
  position: absolute;
  content: "";
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: rgba(26, 26, 26, 0.5);
  z-index: -1;
}

.newsletter-section::before,
.newsletter-section.newsletter-three::before {
  position: absolute;
  content: "";
  right: 0;
  top: 0;
  width: 50%;
  height: 100%;
  background: rgba(26, 26, 26, 0.9);
  z-index: -1;
}

.newsletter-section .newsletter-content {
  padding-left: 30px;
}

.newsletter-section .newsletter-content h2 {
  color: #ffffff;
  line-height: 1.3;
  margin-top: -10px;
  margin-bottom: 15px;
  font-size:30px;
}

.newsletter-section .newsletter-content p {
  color: #d2d2d2;
  margin-bottom: 30px;
}

.newsletter-section .newsletter-content .newsletter-form .form-control {
  color: #d2d2d2;
  height: auto;
  background: transparent;
  border-radius: 0;
  border: 1px solid var(--primary-color);
}

.newsletter-section .crmFormVali-error {
  top: auto;
  right: auto;
  bottom: -25px;
}
.newsletter-section .primary-btn {
  position: relative;
  overflow: hidden;
  text-align: center;
  display: inline-block;
  -webkit-transition: 0.5s;
  transition: 0.5s;
  border-radius: 0;
  border: none;
  padding: 10px 30px;
  z-index: 1;
  color: var(--color-second);
  background-color: var(--color-primary);
  font-size: 16px;
  font-weight: 600;
  font-family: var(--title-font-family);
  line-height: 1.8;
  text-transform: capitalize;
}
.newsletter-section .primary-btn::before,
.newsletter-section .primary-btn::after {
  content: "";
  position: absolute;
  width: calc(50% + 4px);
  height: 0;
  background-color: var(--color-second);
  z-index: -1;
  -webkit-transition: 0.5s;
  transition: 0.5s;
}

.newsletter-section .primary-btn::before {
  bottom: 0;
  left: 0;
}

.newsletter-section .primary-btn::after {
  top: 0;
  right: 0;
}

.newsletter-section .primary-btn:hover {
  color: var(--color-primary);
}

.newsletter-section .primary-btn:hover::before,
.newsletter-section .primary-btn:hover::after {
  height: 120%;
}

.newsletter-section .cta-btn {
  line-height: 0.8;
}
@media only screen and (min-width: 768px) and(max-width: 991px) {
  .newsletter-section .newsletter-content,
  .newsletter-three .newsletter-content {
    max-width: 610px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    padding-left: 0;
  }
  .newsletter-section .newsletter-content h2,
  .newsletter-three .newsletter-content h2 {
    margin-top: -8px;
  }
  .newsletter-section .newsletter-content p,
  .newsletter-three .newsletter-content p {
    max-width: 545px;
    margin-left: auto;
    margin-right: auto;
  }
  .newsletter-section::before {
    width: 100%;
    background: rgba(26, 26, 26, 0.5);
  }
}
@media only screen and (max-width: 767px) {
  .newsletter-section .newsletter-content,
  .newsletter-three .newsletter-content {
    text-align: center;
    padding-left: 0;
  }
  .newsletter-section::before {
    width: 100%;
    background: rgba(26, 26, 26, 0.5);
  }
  .owl-carousel .owl-nav {
    text-align: center;
    position: unset !important;
  }
  .video-btn {
    width: 70px !important;
    height: 70px !important;
    line-height: 70px !important;
  }
  .newsletter-section.newsletter-two .newsletter-content h2 {
    margin-top: -7px;
  }
  .newsletter-section.newsletter-two .newsletter-content {
    padding-left: 15px;
    padding-right: 15px;
  }
  .newsletter-section .newsletter-content h2 {
    margin-top: -7px;
  }
}


@media screen and (max-width: 1440px) {
  .newsletter-section .newsletter-content h2 {font-size: 50px;}
}
@media screen and (max-width: 1367px) {
  .newsletter-section .newsletter-content h2 {font-size: 40px;}
}
@media screen and (max-width: 1281px) {
  .newsletter-section .newsletter-content h2 {font-size: 36px;}
}
@media screen and (max-width: 1171px) {
  .newsletter-section .newsletter-content h2 {font-size: 30px;}
}
@media screen and (max-width: 992px) {
  .newsletter-section .newsletter-content h2 {font-size: 26px;}
}
@media screen and (max-width: 768px) {
  .newsletter-section .newsletter-content h2 {font-size: 24px;}
}
@media screen and (max-width: 480px) {
  .newsletter-section .newsletter-content h2 {font-size: 22px;}
}

