html,
body {
  overflow-x: unset;
}

body {
  background-color: #FFFFFF;
}

/* Seo Hero */

#seo_hero {
  padding: 40px 100px 80px;
  position: relative;
  z-index: 10;
}

#seo_hero_inner {
  background-color: #F6FAFF;
  border-radius: 60px;
  padding-left: 90px;
  overflow: hidden;
}

.seo_hero_wrapper {
  display: grid;
  grid-template-columns: 620px minmax(0, 770px);
  justify-content: space-between;
  gap: 20px 40px;
  overflow: hidden;
}

.seo_hero_anim {
  grid-row: 1 / 4;
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 660px;
}

.seo_hero_anim video {
  max-height: 660px;
  height: 100%;
}

.seo_hero_title {
  grid-row: 1;
  grid-column: 1;
  margin-top: 90px;
  font-size: 82px;
  line-height: 1.1em;
  color: var(--say9-default-text-blue);
  max-width: 620px;
}

.seo_hero_txt {
  grid-row: 2;
  grid-column: 1;
  max-width: 620px;
  font-size: 22px;
  line-height: 1.4em;
  color: #646E8C;
  margin-bottom: 80px;
}

.seo_hero_btns {
  grid-row: 3;
  grid-column: 1;
  display: flex;
  gap: 14px;
  margin-bottom: 90px;
}

.seo_hero_btns .icon_btn_wrapper {
  width: 222px;
}

/* Trusted Partners */

#trusted_partners {
  margin-bottom: 130px;
}

/* Packages */

#packages {
  background-color: var(--say9-primary-blue);
  padding: 150px 100px 110px;
  border-radius: 60px;
  position: relative;
  background-image: url("../assets/images/full_seo/package_bg1.webp");
  background-size: 786px 1136px;
  background-position: left top;
}

.packages_bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: url("../assets/images/full_seo/package_bg2.webp");
  background-size: 960px 297px;
  background-position: right top;
}

#packages_inner {
  position: relative;
  z-index: 1;
}

.packages_subtitle {
  background-color: #10335F;
  padding: 6px 14px 4px;
  border-radius: 200px;
  margin: 0 auto 14px;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 18px;
  line-height: 1.1em;
  width: fit-content;
}

.packages_title {
  color: #FFFFFF;
  font-size: 82px;
  line-height: 1.1em;
  font-weight: 700;
  text-align: center;
  margin-bottom: 110px;
}

.packages_wrapper {
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  padding-bottom: 160px;
}

.packages_wrapper .package+.package {
  margin-top: 40px;
}

.package {
  background-color: #10335F;
  box-shadow: 4px 4px 8.6px rgba(0, 15, 40, 0.2), -4px -4px 8.6px rgba(0, 15, 40, 0.2);
  border-radius: 32px;
  padding-left: 140px;
  overflow: hidden;
  position: sticky;
  top: 120px;
  --offset: 40px;
}

.packages_wrapper .package:nth-of-type(1) {
  transform: translateY(calc((1 - 1) * var(--offset)));
}

.packages_wrapper .package:nth-of-type(2) {
  transform: translateY(calc((2 - 1) * var(--offset)));
}

.packages_wrapper .package:nth-of-type(3) {
  transform: translateY(calc((3 - 1) * var(--offset)));
}

.packages_wrapper .package:nth-of-type(4) {
  transform: translateY(calc((4 - 1) * var(--offset)));
}

.packages_wrapper .package:nth-of-type(5) {
  transform: translateY(calc((5 - 1) * var(--offset)));
}

.package_inner {
  display: grid;
  grid-template-columns: 575px minmax(0, 810px);
  justify-content: space-between;
  gap: 24px 40px;
}

.package_anim {
  grid-row: 1;
  grid-column: 2;
  display: flex;
  justify-content: center;
  align-items: center;
}

.package_anim video {
  max-height: 605px;
  height: 100%;
  margin-top: -3px;
  margin-right: -8px;
}

.package_content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 24px;
  grid-row: 1;
  grid-column: 1;
  padding: 110px 0;
  max-width: 575px;
}

.package_title {
  font-size: 72px;
  font-weight: 700;
  line-height: 1.1em;
  color: #FFFFFF;
}

.package_txt {
  color: #EFF1F5;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.6em;
}

/* Case Studies */

#work {
  padding-top: 180px;
}

@media screen and (max-width: 1440px) {
  #work {
    padding-bottom: 160px;
  }
}

@media screen and (max-width: 1200px) {
  #work {
    padding-top: 160px;
    padding-bottom: 140px;
  }
}

@media screen and (max-width: 768px) {
  #work {
    padding: 110px 16px 120px;
  }
}

.work_title {
  color: var(--say9-default-text-blue);
}

.work_txt {
  color: #4A5578;
}

/* Clients Feedback */

#clients_feedback {
  margin-top: 0;
  padding-top: 120px;
  border-radius: 60px;
}

@media screen and (max-width: 768px) {
  #clients_feedback {
    border-radius: 24px;
    padding-top: 100px;
  }
}

/* Team */

@media screen and (max-width: 768px) {
  #team {
    padding-top: 84px;
  }
}

/* Form button loading */

/* #exit_offer_popup .loader-wrapper {
  max-width: 250px;
} */

#purchase_popup_seo .loader-wrapper {
  max-width: 264px;
}

/* Team */

.team_title {
  color: var(--say9-default-text-blue);
}

.team_stat_desc {
  color: #646E8C;
}

/* FAQ */

.faq_title {
  color: var(--say9-default-text-blue);
}

.faq_entry {
  background-color: #F6F7FC;
}

.faq_question .content {
  color: var(--say9-default-text-blue);
}

.faq_answer_inner {
  color: #4A5578;
}

/* Media */

@media screen and (max-width: 1620px) {
  /* Seo Hero */

  .seo_hero_title {
    font-size: 68px;
    margin-top: 60px;
  }

  .seo_hero_btns {
    margin-bottom: 60px;
  }

  .seo_hero_anim {
    height: 560px;
  }

  .seo_hero_anim video {
    height: 560px;
  }

  /* Packages */

  .package {
    padding-left: 60px;
  }

  .package_inner {
    grid-template-columns: 560px minmax(0, 810px);
  }

  .packages_title {
    font-size: 66px;
  }

  .package_anim video {
    max-height: 520px;
  }

  .package_content {
    padding: 70px 0;
  }
}

@media screen and (max-width: 1440px) {
  /* Seo Hero */

  #seo_hero_inner {
    border-radius: 36px;
  }

  .seo_hero_wrapper {
    grid-template-columns: 490px minmax(0, 800px);
  }

  .seo_hero_title {
    font-size: 60px;
    margin-top: 40px;
  }

  .seo_hero_txt,
  .seo_hero_btns {
    margin-bottom: 40px;
  }

  .seo_hero_anim {
    height: 490px;
  }

  .seo_hero_anim video {
    height: 490px;
  }

  /* Packages */

  .package_inner {
    grid-template-columns: 470px minmax(0, 810px);
  }

  .package_content {
    max-width: 470px;
  }

  .package_title {
    font-size: 60px;
  }

  .package_txt {
    font-size: 21px;
  }
}

@media screen and (max-width: 1350px) {
  /* Packages */

  .package_content {
    padding: 40px 0;
  }

  .package_anim video {
    max-height: 470px;
  }
}

@media screen and (max-width: 1280px) {
  /* Packages */

  .package_inner {
    grid-template-columns: 420px minmax(0, 810px);
  }

  .package_content {
    max-width: 420px;
  }

  .packages_title {
    font-size: 60px;
  }

  .package_title {
    font-size: 54px;
  }

  .package_txt {
    font-size: 18px;
  }

  .package_anim video {
    max-height: 430px;
  }
}

@media screen and (max-width: 1200px) {
  /* Seo Hero */

  #seo_hero {
    padding: 40px 70px 80px;
  }

  #seo_hero_inner {
    padding-left: 60px;
  }

  .seo_hero_wrapper {
    grid-template-columns: 490px minmax(0, 480px);
  }

  .seo_hero_title {
    font-size: 54px;
  }

  .seo_hero_anim {
    height: 450px;
  }

  .seo_hero_anim video {
    max-height: 450px;
  }

  /* Packages */

  #packages {
    padding: 150px 70px 120px;
  }

  .packages_title {
    margin-bottom: 90px;
  }

  .package {
    padding-left: 40px;
  }
}

@media screen and (max-width: 1100px) {
  /* Packages */

  .package_inner {
    grid-template-columns: 380px minmax(0, 810px);
  }

  .package_content {
    max-width: 380px;
  }

  .package_title {
    font-size: 48px;
  }

  .package_anim video {
    max-height: 380px;
  }
}

@media screen and (max-width: 1024px) {
  /* Seo Hero */

  #seo_hero {
    padding: 24px 70px 80px;
  }

  #seo_hero_inner {
    padding: 0;
    border-radius: 60px;
  }

  .seo_hero_wrapper {
    display: flex;
    flex-direction: column;
    gap: 0;
  }

  .seo_hero_anim {
    padding: 32px 32px 0;
    max-height: 600px;
    overflow: hidden;
    height: unset;
    aspect-ratio: 342 / 255;
  }

  .seo_hero_anim video {
    max-height: 630px;
    width: 100%;
  }

  .seo_hero_title {
    font-size: 82px;
    margin-bottom: 20px;
    margin-top: 24px;
  }

  .seo_hero_btns {
    margin-bottom: 60px;
  }

  .seo_hero_btns .icon_btn_wrapper {
    width: 214px;
  }

  .seo_hero_title,
  .seo_hero_txt,
  .seo_hero_btns {
    padding: 0 46px 0 55px;
    max-width: 100%;
  }

  /* Trusted Partners */

  #trusted_partners {
    margin-bottom: 80px;
  }

  /* Packages */

  .packages_wrapper {
    gap: 40px;
    padding-bottom: 0;
  }

  .package {
    padding: 40px;
    position: static;
    transform: none !important;
  }

  .packages_wrapper .package+.package {
    margin-top: 0;
  }

  .package_inner {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .packages_title {
    font-size: 48px;
  }

  .package_anim {
    overflow: hidden;
  }

  .package_anim video {
    max-height: 100%;
    margin-top: -2px;
    margin-right: -3px;
    max-width: 100%;
  }

  .package_content {
    padding: 0;
    max-width: 100%;
  }

  .package_title {
    font-size: 72px;
  }

  .package_txt {
    font-size: 24px;
  }
}

@media screen and (max-width: 950px) {
  /* Seo Hero */

  .seo_hero_title {
    font-size: 72px;
  }

  /* Packages */

  .package_title {
    font-size: 60px;
  }
}

@media screen and (max-width: 768px) {
  /* Seo Hero */

  #seo_hero {
    padding: 30px 16px 54px;
  }

  #seo_hero_inner {
    border-radius: 24px;
  }

  .seo_hero_anim {
    padding: 18px 5px 0;
    max-height: 520px;
    aspect-ratio: 333 / 248
  }

  .seo_hero_anim video {
    max-height: 560px
  }

  .seo_hero_title {
    font-size: 60px;
    margin: 20px 0;
  }

  .seo_hero_btns {
    margin-bottom: 30px;
  }

  .seo_hero_title,
  .seo_hero_txt,
  .seo_hero_btns {
    padding: 0 21px 0;
  }

  /* Packages */

  #packages {
    padding: 80px 16px 40px;
    border-radius: 24px;
  }

  .packages_title {
    font-size: 48px;
    margin-bottom: 60px;
  }

  .package_title {
    font-size: 48px;
  }

  .package_txt {
    font-size: 21px;
  }
}

@media screen and (max-width: 600px) {
  /* Packages */

  .packages_title {
    font-size: 34px;
  }

  .package {
    padding: 20px;
  }

  .package_title {
    font-size: 36px;
  }

  .package_txt {
    font-size: 18px;
    line-height: 1.4em;
  }
}

@media screen and (max-width: 480px) {
  /* Seo Hero */

  #seo_hero {
    padding-bottom: 30px;
  }

  ;

  .seo_hero_anim video {
    margin-top: -20px;
  }

  .seo_hero_title {
    font-size: 48px;
  }

  .seo_hero_btns {
    flex-direction: column;
    gap: 24px;
  }

  .seo_hero_btns .icon_btn_wrapper {
    width: unset;
  }

  /* Trusted Partners */

  #trusted_partners {
    margin-bottom: 30px;
  }

  /* Packages */

  #packages {
    padding-bottom: 45px;
  }

  .packages_title {
    margin-bottom: 40px;
  }

  .packages_wrapper {
    gap: 30px;
  }

  .package {
    border-radius: 12px;
  }

  .package_content {
    gap: 14px;
  }

  .package_title {
    font-size: 26px;
    line-height: 1.4em;
  }

  .package_txt {
    font-size: 16px;
  }
}

@media screen and (max-width: 390px) {
  /* #offer_right {
    padding: 60px 15px 20px;
  }

  #offer_popup_close {
    top: 15px;
    right: 15px;
  }

  #offer_form .offer_form_input.ff-el-is-error {
    margin-bottom: 5px;
  }

  #offer_form .ff_submit_btn_wrapper {
    margin-bottom: 0;
  }

  #offer_form button[type="submit"] {
    margin-top: 0;
  } */
}

/*  */

.book_a_call {
  border-color: var(--say9-secondary-blue);
}

.book_a_call:hover {
  background-color: var(--say9-secondary-blue);
}

.book_a_call span {
  color: var(--say9-secondary-blue);
  transition: color 0.3s ease-in-out;
}

html.os-ios .book_a_call span {
  transition: none;
}

.book_a_call:hover {
  background-color: var(--say9-secondary-blue);
}

.book_a_call:hover span {
  color: #F6FAFF;
}

#exit_offer_popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 10999999999999000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 40px;
  pointer-events: none;
}

#exit_offer_popup.show_offer_popup {
  pointer-events: all;
}

#exit_offer_popup.show_offer_popup #offer_blur {
  opacity: 1;
}

#exit_offer_popup.show_offer_popup #offer_popup_wrapper {
  transform: translateX(0%);
  opacity: 1;
}

#offer_blur {
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  backdrop-filter: blur(46.6px);
  background-color: #50A2C81A;
  z-index: 0;
  opacity: 0;
  transition: opacity .3s ease;
  cursor: pointer;
}

#offer_popup_wrapper {
  z-index: 2;
  height: 100%;
  max-height: 735px;
  width: 100%;
  max-width: 800px;
  background: #E5F1FF;
  display: flex;
  align-items: center;
  border-radius: 20px;
  position: relative;
  transform: translateY(20%);
  opacity: 0;
  background-image: url("../assets/images/offer-bg.webp");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: bottom center;
  transition: opacity .5s ease, transform .6s ease, background-color 0.5s ease-in-out;
}

#offer_left {
  margin-left: -100px;
  margin-top: 68px;
  margin-bottom: 61px;
}

#offer_left img {
  max-height: 606px;
  height: 100%;
  max-width: 387px;
}

#offer_right {
  padding: 90px 60px 30px 20px;
  height: 100%;
  display: flex;
  justify-content: center;
  width: 100%;
}

#offer_demo {
  display: flex;
  flex-direction: column;
  padding: 0 10px;
}

.offer_title {
  font-size: 48px;
  line-height: 1.2em;
  font-weight: 700;
  margin-bottom: 12px;
  color: var(--say9-default-text-blue);
}

.offer_content {
  font-size: 24px;
  line-height: 1.6em;
  color: #4A5578;
  margin-bottom: 60px;
}

#offer_btn {
  background-color: var(--say9-secondary-blue);
  padding: 17px 14px 13px;
  font-size: 22px;
  line-height: 1em;
  border-radius: 200px;
  font-weight: 600;
  color: #fff;
  width: 100%;
  border: none;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, padding 0.3s ease-in-out;
}

#offer_btn:hover {
  background-color: #63AEFF;
}

#offer_btn:active {
  padding: 15px 14px 11px;
}

#offer_popup_close {
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
  display: flex;
  z-index: 10;
}

#offer_popup_close svg path:last-child {
  fill: rgba(252, 252, 252, 1);
}

#offer_popup_close svg path:first-child {
  fill: transparent;
  transition: fill 0.3s ease-in-out;
}

#offer_popup_close svg:hover path:first-child {
  fill: var(--say9-main-blue);
}

.hide {
  display: none !important;
}

/* Offer Form */

#offer_form {
  width: 100%;
}


#offer_form form label {
  color: #7F88A2;
  font-size: 16px;
  line-height: 1.2em;
  font-weight: 600;
  transition: color 0.3s ease-in-out;
}

#offer_form form label:after {
  content: none;
}

#offer_form form input {
  position: relative;
  color: #4A5578;
  border-radius: 12px;
  border: 2px solid transparent;
  /* padding: 11px 12px 8px 40px; */
  padding: 2px 12px 0 40px;
  font-size: 19px;
  background-color: #F6FAFF;
  /* line-height: 1.4em; */
  line-height: 44px;
  transition: border-color 0.3s ease-in-out;
}

#offer_form form input:active,
#offer_form form input:focus {
  border-color: #99CAFF;
}

#offer_form form input:-webkit-autofill {
  -webkit-text-fill-color: #4A5578 !important;
  color: #4A5578 !important;
  background-color: #F6FAFF !important;
  background-clip: content-box !important;
  box-shadow: 0 0 0 1000px #F6FAFF inset !important;
  border: none !important;
  appearance: none;
  -webkit-appearance: none;
}

#offer_form form input::placeholder {
  color: #B9C0D4;
  transition: color 0.3s ease-in-out;
}

#offer_form form .ff-el-input--content {
  position: relative;
}

#offer_form form svg {
  width: 20px;
  height: 20px;
  display: inline-block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 12px;
  z-index: 1;
  pointer-events: none;
}

#offer_form form svg path {
  transition: stroke-opacity 0.15s ease-in-out;
}

#offer_form form svg.active path {
  stroke-opacity: 1;
}

#offer_form form button[type="submit"] {
  background-color: var(--say9-secondary-blue);
  color: #FFFFFF;
  font-size: 22px;
  font-weight: 600;
  line-height: 1em;
  border-radius: 200px;
  text-align: center;
  padding: 17px 20px 13px;
  width: 100%;
  transition: background-color 0.3s ease-in-out, padding 0.3s ease-in-out;
}

#offer_form form button[type="submit"]:hover,
#offer_form form button[type="submit"]:focus {
  opacity: 1;
  background-color: #63AEFF;
}

#offer_form form button[type="submit"]:active {
  padding: 15px 20px 11px;
}

#offer_form form button[type="submit"]:active+.loader-wrapper {
  top: -2px;
}

#offer_form .ff_submit_btn_wrapper {
  margin: 35px 0 0;
  height: 52px;
}

#offer_form:has(.ff-el-is-error) .ff_submit_btn_wrapper button[type="submit"]:active,
#offer_form:has(.ff-el-is-error) .ff_submit_btn_wrapper button[type="submit"]:focus {
  padding: 17px 20px 13px;
}

#offer_form .offer_form_input {
  margin-bottom: 12px;
  height: 101px;
}

#offer_form .offer_form_input :not(.ff-el-is-error) .text-danger.error {
  display: none;
}

#offer_form .ff-el-group.ff-el-is-error input:active,
#offer_form .ff-el-group.ff-el-is-error input:focus {
  border-color: #F22B1D !important;
}

.offer_form_website.ff-el-is-error .ff-el-input--content::before {
  transition: border-color 0.3s ease-in-out;
}

.offer_form_website.ff-el-is-error .ff-el-input--content:focus-within::before {
  border-color: #F22B1D !important;
}

#offer_form .ff-el-group.ff-el-is-error label {
  color: #D92D20;
}

#offer_form .ff-el-group.ff-el-is-error .text-danger {
  margin: 6px 0 0;
  color: #D92D20;
  font-size: 14px;
  font-weight: 500;
  display: inline-block;
  line-height: 1.1em;
}

#offer_form.thank_you {
  padding: 60px 60px 40px;
}

#offer_form .ff-message-success {
  border: none;
  box-shadow: none;
  margin: 0 auto;
  text-align: center;
  width: 100%;
  padding: 0;
}

#offer_form .ff-message-success .thank_you {
  text-transform: none;
  margin-bottom: 12px;
  color: var(--say9-default-text-blue);
  font-weight: 700;
  font-size: 48px;
  line-height: 1.2em;
}

#offer_form .ff-message-success p {
  margin-bottom: 60px;
  color: #4A5578;
  font-weight: 400;
  font-size: 24px;
  line-height: 1.6em;
}

#offer_form .ff-message-success .thank_you_btn {
  height: 52px;
}

#offer_form .ff-message-success button {
  width: 100%;
  text-align: center;
  border: none;
  outline: none;
  border-radius: 200px;
  margin: auto;
  padding: 17px 20px 13px;
  background-color: var(--say9-secondary-blue);
  color: #fff;
  font-weight: 600;
  font-size: 22px;
  line-height: 1em;
  cursor: pointer;
  transition: background-color 0.3s ease-in-out, padding 0.3s ease-in-out;
}

#offer_form .ff-message-success button:hover {
  background-color: #63AEFF;
}

#offer_form .ff-message-success button:active {
  padding: 15px 20px 11px;
}

#offer_form .ff-message-success .thank_you_bottom,
#offer_form .ff-message-success .thank_you_bottom span {
  color: var(--say9-default-text-blue);
  font-size: 14px;
  font-weight: 500;
  line-height: 1.1em;
}

#offer_form .ff-message-success .thank_you_links {
  margin-top: 10px;
  display: flex;
  column-gap: 10px;
  align-items: center;
  justify-content: center;
}

#offer_form .thank_you_icon {
  width: 30px;
  height: 30px;
  background-image: none;
  border-radius: 50%;
  transition: background-color 0.3s ease-in-out;
}

#offer_form .thank_you_icon:hover {
  background-color: #FFFFFF;
}

#offer_form .thank_you_icon img {
  display: block;
}

.offer_form_website .ff-el-input--content::before {
  content: "http://";
  position: absolute;
  height: 100%;
  font-size: 19px;
  font-weight: 400;
  line-height: 1.4em;
  padding: 12px 12px 8px;
  color: #7F88A2;
  z-index: 1;
  border-right: 1px solid #D0D5DD;
}

#offer_form .offer_form_input .ff-el-input--content::after {
  content: "";
  width: 16px;
  height: 16px;
  position: absolute;
  top: 50%;
  right: 12px;
  transform: translateY(-50%);
  background-image: url('../assets/images/input-alert-icon.svg');
  display: none;
}

#offer_form .offer_form_input .ff-el-is-error .ff-el-input--content::after {
  display: block;
}

#offer_form .offer_form_website input {
  padding-left: 90px;
}

/* Form button loading */

#exit_offer_popup .loader-wrapper {
  max-width: 250px;
}


@media screen and (max-width: 1024px) {
  #offer_popup_wrapper {
    background-size: 105%;
    max-height: 560px;
  }

  #offer_right {
    padding: 70px 30px 30px 20px;
  }

  .offer_title {
    font-size: 32px;
    line-height: 1.5em;
  }

  .offer_content {
    font-size: 16px;
  }

  #offer_left {
    margin: 30px 0 30px -50px;
  }

  #offer_left img {
    max-height: 501px;
    max-width: 320px;
  }

  #offer_form {
    margin: 0 auto;
  }

  #offer_form .ff-message-success .thank_you_btn {
    height: 44px;
  }

  #offer_form .ff-message-success button {
    padding: 13px 20px 9px;
  }

  #offer_btn {
    padding: 13px 14px 9px;
  }

  #offer_form form button[type="submit"]:active,
  #offer_form:has(.ff-el-is-error) .ff_submit_btn_wrapper button[type="submit"]:active,
  #offer_form .ff-message-success button:active,
  #offer_btn:active {
    padding: 11px 20px 7px;
    background-color: #63AEFF;
  }

  #offer_form .ff_submit_btn_wrapper {
    height: 44px;
  }
}

@media screen and (max-width: 768px) {
  #offer_popup_wrapper {
    flex-direction: column-reverse;
    height: unset;
    max-height: unset;
    overflow: hidden;
  }

  #offer_popup_close svg {
    height: 28px;
  }

  #offer_right {
    display: block;
    padding: 60px 20px 20px;
  }

  #offer_demo {
    max-width: 380px;
    margin: 0 auto;
  }

  #offer_left {
    margin: 0;
  }

  #offer_left img {
    margin-bottom: -180px;
  }

  #offer_form {
    padding: 0;
  }

  #offer_form.thank_you {
    padding: 95px 60px 90px;
  }

  #offer_form .offer_form_input {
    margin-bottom: 12px;
  }

  #offer_form button[type="submit"] {
    max-width: 320px;
  }

  #offer_form .ff-el-form-check div {
    font-size: 10px;
  }

  #offer_form .ff-message-success .title.thank_you {
    font-size: 34px;
    line-height: 1.2em;
  }

  #offer_form .ff-message-success p {
    margin-bottom: 20px;
    font-size: 16px;
  }

  #offer_form .ff-message-success button {
    max-width: 320px;
  }

  #offer_form .ff-message-success .thank_you_bottom {
    margin-top: 20px;
    font-size: 14px;
  }
}

@media screen and (max-width: 600px) {
  #offer_popup_wrapper {
    max-width: 370px;
    background-size: 110%;
  }

  #exit_offer_popup {
    padding: 20px;
  }

  #offer_right {
    padding-top: 40px;
  }

  .offer_title {
    font-size: 26px;
    line-height: 1em;
    margin-bottom: 10px;
    text-align: center;
  }

  .offer_content {
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 22px;
    text-align: center;
  }

  #offer_left img {
    max-width: 150px;
    max-height: 235px;
    margin-bottom: -80px;
  }

  #offer_form .ff_submit_btn_wrapper {
    margin-top: 20px;
    height: 47px;
  }

  #offer_form form button[type="submit"],
  #offer_form .ff-message-success button,
  #offer_btn {
    font-size: 18px;
    padding: 13px 20px 9px;
  }

  #offer_form .ff-message-success .thank_you_btn {
    height: 40px;
  }

  #offer_form form button[type="submit"]:hover,
  #offer_form form button[type="submit"]:focus,
  #offer_form:has(.ff-el-is-error) .ff_submit_btn_wrapper button[type="submit"]:focus,
  #offer_form .ff-message-success button:hover,
  #offer_btn:hover {
    background-color: var(--say9-secondary-blue);
    padding: 11px 20px 7px;
  }

  #offer_form form input,
  .offer_form_website .ff-el-input--content::before {
    font-size: 16px;
  }

  #offer_form form input {
    line-height: 40px;
  }

  #offer_form form svg {
    width: 18px;
    height: 18px;
  }

  #offer_form.thank_you {
    padding: 90px 20px 85px;
  }

  #offer_form .ff_submit_btn_wrapper {
    height: 40px;
  }
}

@media screen and (max-width: 390px) {
  #offer_right {
    padding: 40px 15px 10px;
  }

  #offer_popup_close {
    top: 15px;
    right: 15px;
  }

  #offer_form .offer_form_input {
    margin-bottom: 5px;
  }

  #offer_form .offer_form_input.ff-el-is-error {
    margin-bottom: 5px;
  }

  #offer_form .ff_submit_btn_wrapper {
    margin-bottom: 0;
  }

  #offer_form button[type="submit"] {
    margin-top: 0;
  }

  #offer_form .offer_form_website input {
    padding-left: 80px;
  }

  #offer_left img {
    margin-bottom: -110px;
  }

  #offer_form form input {
    line-height: 34px;
  }

  #offer_form.thank_you {
    padding: 75px 20px 85px;
  }
}