.saas_two_footer_section {
  z-index: 1;
  margin-top: 140px;
  padding: 0px 0px 65px;
}

.saas_two_footer_section .row {
  margin-right: auto;
  margin-left: auto;
  justify-content: center;
}

.saas_two_footer_section:before {
  top: 0;
  left: 0;
  width: 100%;
  content: "";
  height: 100%;
  position: absolute;
  background-size: cover;
  background-repeat: no-repeat;
  background-image: url(../img/fobg.png);
}

.saas_two_footer_section .s2-newslatter_section {
  top: -90px;
  margin: 0 auto;
  max-width: 1200px;
  position: relative;
  border-radius: 20px;
  padding: 45px 0px 60px;
  background-color: #01b399;
  box-shadow: 0px 0px 16px 0px rgba(27, 2, 52, 0.34);
}

.saas_two_footer_section .s2-newslatter_section .s2-newslatter_title h2 {
  color: #fff;
  font-size: var(--font-size-section-title);
  font-weight: 700;
  padding-bottom: 10px;
}

.saas_two_footer_section .s2-newslatter_section .s2-newslatter_title p {
  font-family: "Montserrat";
  color: #fff;
  max-width: 60%;
  margin-left: auto;
  margin-right: auto;
}

.saas_two_footer_section .s2-newslatter_section .s2-newslatter-form {
  max-width: 660px;
  margin: 30px auto 0;
  position: relative;
}

.saas_two_footer_section .s2-newslatter_section .s2-newslatter_button {
  margin-top: 30px;
  position: relative;
  z-index: 2;
}

.saas_two_footer_section .s2-newslatter_section .s2-newslatter_btn {
  border: none;
  height: 62px;
  padding: 0 2em;
  color: #fff;
  border-radius: 5px;
  background-color: #ff7609;
  transition: 0.3s;
  cursor: pointer;
  font-weight: bold;
}

.saas_two_footer_section .s2-newslatter_section .s2-newslatter_btn:hover {
  background-color: rgb(255 118 9 / 90%);
}

.medicalsoft-popup {
  background: #fff;
  padding: 25px 30px;
  border-radius: 10px;
  max-width: 760px;
  margin: 40px auto;
  position: relative;
}

.medicalsoft-popup__inner {
  position: relative;
}

.medicalsoft-popup__success {
  display: none;
  text-align: center;
  padding: 30px 10px 10px;
}

.medicalsoft-popup__success-icon {
  width: 84px;
  height: 84px;
  border-radius: 50%;
  background: #22c55e;
  margin: 0 auto 18px;
  position: relative;
  box-shadow: 0 10px 25px rgba(34, 197, 94, 0.25);
}

.medicalsoft-popup__success-icon:before {
  content: "";
  position: absolute;
  width: 22px;
  height: 40px;
  border: solid #fff;
  border-width: 0 8px 8px 0;
  transform: rotate(45deg);
  left: 30px;
  top: 18px;
}

.medicalsoft-popup__success-title {
  font-family: "Montserrat";
  font-weight: 700;
  font-size: 24px;
  margin-bottom: 10px;
  color: #0f172a;
}

.medicalsoft-popup__success-text {
  font-family: "Montserrat";
  font-size: 16px;
  line-height: 1.4;
  color: rgba(15, 23, 42, 0.85);
}

.medicalsoft-popup--success .medicalsoft-popup__form {
  display: none;
}

.medicalsoft-popup--success .medicalsoft-popup__success {
  display: block;
}

.medicalsoft-popup .wpcf7 form {
  margin: 0;
}

.medicalsoft-popup .wpcf7-form label {
  display: block;
  font-family: "Montserrat";
  font-size: 14px;
  font-weight: 600;
  color: rgba(15, 23, 42, 0.9);
  margin-bottom: 14px;
}

.medicalsoft-popup .wpcf7-form-control-wrap {
  margin-top: 8px;
}

.medicalsoft-popup .wpcf7-form-control {
  width: 100%;
  height: 48px;
  border-radius: 10px;
  border: 1px solid rgba(15, 23, 42, 0.2);
  padding: 0 14px;
  background: #fff;
  color: rgba(15, 23, 42, 0.95);
  outline: none;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.medicalsoft-popup .wpcf7-form-control:focus {
  border-color: rgba(1, 179, 153, 0.7);
  box-shadow: 0 0 0 4px rgba(1, 179, 153, 0.15);
}

.medicalsoft-popup textarea.wpcf7-form-control {
  height: 120px;
  padding: 12px 14px;
  resize: vertical;
}

.medicalsoft-popup .wpcf7-submit {
  height: 54px;
  border: none;
  border-radius: 10px;
  background: #ff7609;
  color: #fff;
  font-family: "Montserrat";
  font-weight: 700;
  cursor: pointer;
  transition: 0.3s;
}

.medicalsoft-popup .wpcf7-submit:hover {
  background-color: rgb(255 118 9 / 90%);
}

.medicalsoft-popup .wpcf7-spinner {
  position: static;
  margin-left: 10px;
  vertical-align: middle;
}

.medicalsoft-popup .wpcf7 form.submitting {
  position: relative;
  pointer-events: none;
}

.medicalsoft-popup .wpcf7 form.submitting > * {
  opacity: 0.45;
}

.medicalsoft-popup .wpcf7 form.submitting:before {
  content: "";
  position: absolute;
  left: 50%;
  top: 0;
  transform: translateX(-50%);
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.65);
  border-radius: 12px;
  z-index: 2;
}

.medicalsoft-popup .wpcf7 form.submitting .wpcf7-spinner {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%) scale(1.2);
  margin: 0;
  z-index: 3;
  opacity: 1;
  background-color: #01b399;
}

.medicalsoft-popup .wpcf7-not-valid-tip {
  position: static;
  margin: 6px 0 0;
  font-size: 12px;
  line-height: 1.2;
}

.medicalsoft-popup .wpcf7 form.invalid .wpcf7-response-output,
.medicalsoft-popup .wpcf7 form.unaccepted .wpcf7-response-output,
.medicalsoft-popup .wpcf7 form.payment-required .wpcf7-response-output,
.medicalsoft-popup .wpcf7 form.sent .wpcf7-response-output,
.medicalsoft-popup .wpcf7 form.failed .wpcf7-response-output {
  position: static;
  display: block;
  margin: 14px 0 0;
  padding: 12px 14px;
  border-radius: 10px;
  font-size: 13px;
  line-height: 1.3;
  border: 1px solid rgba(15, 23, 42, 0.12);
}

.medicalsoft-popup .wpcf7 form.sent .wpcf7-response-output {
  border-color: rgba(34, 197, 94, 0.35);
  background: rgba(34, 197, 94, 0.08);
}

.medicalsoft-popup .wpcf7 form.invalid .wpcf7-response-output,
.medicalsoft-popup .wpcf7 form.failed .wpcf7-response-output {
  border-color: rgba(239, 68, 68, 0.35);
  background: rgba(239, 68, 68, 0.08);
}

.saas_two_footer_section .s2-newslatter_section .s2-newslatter-form .nws-button {
  top: 0;
  right: 0;
}

.saas_two_footer_section .s2-newslatter_section .s2-newslatter-form input {
  height: 62px;
  width: 100%;
  border: none;
  max-width: 490px;
  padding-left: 30px;
  border-radius: 5px;
}

.saas_two_footer_section .s2-newslatter_section .s2-newslatter-form button {
  border: none;
  height: 62px;
  width: 155px;
  color: #fff;
  border-radius: 5px;
  background-color: #ff7609;
  position: absolute;
  top: 0;
  right: 0;
}

.saas_two_footer_section .s2-newslatter_section .s2-newslatter-form input[type=submit] {
  padding: 0 2em;
  background-color: #ff7609;
  transition: 0.3s;
  cursor: pointer;
  color: #fff;
  font-weight: bold;
}

.saas_two_footer_section .s2-newslatter_section .s2-newslatter-form input[type=submit]:hover {
  background-color: rgb(255 118 9 / 90%);
}

.saas_two_footer_section .s2-newslatter_section .s2-newslatter-form .wpcf7-form .nws-button {
  top: auto;
  bottom: 0;
}

.wpcf7 form.invalid .wpcf7-response-output,
.wpcf7 form.unaccepted .wpcf7-response-output,
.wpcf7 form.payment-required .wpcf7-response-output {
  position: absolute;
  top: calc(100% + 0px);
  margin: 0em;
  font-size: var(--font-size-xs);
  line-height: 1;
  display: none;
}

.wpcf7-not-valid-tip {
  font-size: var(--font-size-sm);
  line-height: 1;
  margin: 0 1em;
  position: absolute;
  bottom: calc(0% + 0px);
}

.wpcf7-spinner {
  position: absolute;
  right: -35px;
  bottom: -10px;
  background-color: #ff7609;
}

.wpcf7-form-control-wrap {
  display: block;
}

.wpcf7-form-control-wrap + .wpcf7-form-control-wrap {
  margin-top: 1em;
}

body .newsletter_pattern_5 {
  top: auto;
  bottom: 0;
}

.saas_two_footer_section .s2-newslatter_section .newsletter_pattern_1 {
  top: 75px;
  left: 40px;
  z-index: 1;
  position: absolute;
  max-width: 150px;
}

.saas_two_footer_section .s2_footer_widget {
  font-family: "Montserrat";
  font-size: var(--font-size-sm);
}

.saas_two_footer_section .s2_footer_widget .s2-footer_logo {
  margin-bottom: 25px;
}

.saas_two_footer_section .s2_footer_widget .footer_about {
  color: #fff;
  max-width: 235px;
  margin-bottom: 20px;
  line-height: 1.714;
}

.saas_two_footer_section .s2_footer_widget p {
  color: #fff;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_about p {
  /* width: 165px; */
  margin-top: 8px;
  line-height: 1.714;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_about span.color {
  color: #ff7609;
  font-weight: 700;
  margin-bottom: 8px;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_about p+ span {
  margin-top: 1em;
  display: inline-block;
  margin-bottom: 0;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_menu {
  max-width: 340px;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_menu li {
  width: 50%;
  float: left;
  max-width: 320px;
  margin-bottom: 18px;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_menu li a {
  color: #fff;
  margin-left: 15px;
  position: relative;
  transition: 0.3s all ease-in-out;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_menu li a:before {
  top: 0;
  left: -15px;
  color: #fff;
  font-size: var(--font-size-xs);
  content: "\f061";
  font-weight: 900;
  position: absolute;
  transition: 0.3s all ease-in-out;
  font-family: "Font Awesome 5 Free";
}

.saas_two_footer_section .s2_footer_widget .s2_footer_menu li a:after {
  content: "";
  position: absolute;
  height: 1px;
  width: 0%;
  left: 0px;
  bottom: 0;
  transition: 0.3s all ease-in-out;
  background-color: #ff7609;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_menu li a:hover {
  margin-left: 25px;
  color: #ff7609;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_menu li a:hover:before {
  color: #ff7609;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_menu li a:hover:after {
  width: 100%;
}

.saas_two_footer_section .s2_footer_widget .s2_widget_title {
  color: #fff;
  font-size: var(--font-size-card-title);
  font-weight: 600;
  display: flex;
  flex-wrap: nowrap;
  align-items: center;
  padding-bottom: 35px;
}

.saas_two_footer_section .s2_footer_widget .s2_widget_title span {
  display: inline-block;
  margin-right: 20px;
}

.saas_two_footer_section .s2_footer_widget .s2_widget_title i {
  width: 100%;
  height: 1.1px;
  position: relative;
  display: inline-block;
  background-color: rgba(255, 255, 255, 0.2);
}

.saas_two_footer_section .s2_footer_widget .s2_footer_social a {
  height: 30px;
  width: 30px;
  border-radius: 100%;
  background-color: #fff;
  line-height: 30px;
  text-align: center;
  margin-right: 5px;
  display: inline-block;
  transition: 0.3s all ease-in-out;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_social a:hover {
  transform: scale(1.1);
}

.saas_two_footer_section .s2_footer_widget .s2_footer_social form {
  margin: 18px 0px 30px;
  position: relative;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_social form input {
  height: 45px;
  background-color: #E1EFEA;
  border: none;
  width: 100%;
  padding-left: 30px;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_social form button {
  color: #fff;
  width: 62px;
  border: none;
  text-align: center;
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  background-color: #01b399;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_social .fb-bg {
  color: #16599b;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_social .tw-bg {
  color: #03a9f4;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_social .dr-bg {
  color: #ea4c89;
}

.saas_two_footer_section .s2_footer_widget .s2_footer_social .bh-bg {
  color: #0067ff;
}

.s2-copyright {
  color: #fff;
  padding: 18px 0px;
  font-size: var(--font-size-sm);
  font-family: "Montserrat";
  background-color: #000000;
}

.s2-copyright a {
  color: #d772fe;
}

.saas_two_footer_section .s2-newslatter_section .s2-newslatter_content {
  position: relative;
}

@keyframes slide {
  from {
    background-position: 0 0;
  }

  to {
    background-position: 1920px 0;
  }
}

.newsletter_pattern_2 {
  width: 100%;
  height: 46px;
  background-repeat: no-repeat;
  left: 0px;
  top: 50px;
  animation: slide 60s linear infinite;
  -webkit-animation: slide 60s linear infinite;
}

.newsletter_pattern_3 {
  width: 100%;
  height: 46px;
  background-repeat: no-repeat;
  left: 100px;
  top: 70px;
  animation: slide 50s linear infinite;
  -webkit-animation: slide 50s linear infinite;
}

.newsletter_pattern_4 {
  position: absolute;
  left: 0;
  bottom: 0;
  height: 150px;
  width: 150px;
  background-size: cover;
  transform: rotate(90deg);
  background-repeat: no-repeat;
}

.newsletter_pattern_5 {
  position: absolute;
  right: 0;
  height: 90%;
  width: 200px;
  top: 28px;
}

@media screen and (max-width: 1140px) {
  .saas_two_footer_section .s2-newslatter_section {
    top: 0;
    max-width: inherit;
    margin-bottom: 50px;
  }

  .saas_two_footer_section {
    overflow: hidden;
    margin-top: 0;
    padding: 25px 0px 65px;
  }

  .saas_two_footer_section:before {
    height: 75%;
    top: auto;
    bottom: 0;
  }
}

@media screen and (max-width: 991px) {
  .saas_two_footer_section .s2-newslatter_section .newsletter_pattern_1 {
    display: none;
  }

  .saas_two_footer_section:before {
    background-size: cover;
    background-repeat: no-repeat;
  }

  .newsletter_pattern_4 {
    display: none;
  }

  .newsletter_pattern_5 {
    display: none;
  }

  .saas_two_footer_section {
    background-color: #1b0234;
  }

  .saas_two_footer_section .s2_footer_widget {
    margin-bottom: 30px;
  }

  .saas_two_footer_section .s2_footer_widget .s2_widget_title {
    padding-bottom: 20px;
  }

  .saas_two_footer_section {
    padding-top: 0;
  }
}

@media (max-width: 450px) {
  .saas_two_footer_section {
    padding: 16px;
  }

  .saas_two_footer_section .s2-newslatter_section .s2-newslatter_title p {
    max-width: 90%;
    line-height: 1.2;
    font-size: var(--font-size-xs);
    margin-bottom: -10px;
  }

  .saas_two_footer_section .s2-newslatter_section .s2-newslatter_title h2 {
    font-size: var(--font-size-h5);
  }

  .saas_two_footer_section .s2-newslatter_section {
    padding-bottom: 40px;
  }

  .saas_two_footer_section .s2-newslatter_section .s2-newslatter-form input {
    height: 42px;
  }

  .saas_two_footer_section .s2-newslatter_section .s2-newslatter-form input[type=submit] {
    padding: 0 1em;
    font-size: var(--font-size-sm);
  }

  .saas_two_footer_section,
  .saas_two_footer_section {
    padding: 16px !important;
  }
}
