.justco_form_mv,
.landing_page {
  position: relative;
  padding: 0 12px;

  .form_heading {
    margin-bottom: 30px;

    @media (max-width: 991.98px) {
      margin-bottom: 20px;
    }

    h4 {
      color: var(--darkgrey);
      font-size: 20px;
      font-weight: 700;

      @media (max-width: 991.98px) {
        font-size: 18px;
      }
    }
  }

  .form_wrap {
    form {
      .form_inner {
        .form_body {
          .field_wrap {
            margin-bottom: 20px;

            label {
              display: block;
              font-size: 16px;
              font-weight: 600;
              color: var(--darkgrey);
              margin-bottom: 8px;
            }

            input,
            select,
            textarea {
              width: 100%;
              padding: 12px 15px;
              font-size: 16px;
              border: 1px solid transparent;
              border-radius: 8px;
              background-color: var(--lightblue);
              color: #003a5c;
              outline: none;
              transition: background-color 0.3s, border-color 0.3s,
                box-shadow 0.3s;

              &:focus {
                background-color: var(--white);
                border-color: var(--secondary);
                box-shadow: var(--fieldActive) 0px 0px 0px 4px;
              }

              @media (max-width: 991.98px) {
                font-size: 14px;
              }

              &::placeholder {
                color: var(--lightgrey2);
              }
            }

            select {
              appearance: non;
              -webkit-appearance: none;
              -moz-appearance: none;
            }

            textarea {
              min-height: 100px;
              resize: vertical;
            }

            .select2-container {
              width: 100% !important;

              .select2-selection {
                height: auto;
                border: none !important;
                padding: 0px;
                line-height: unset;
              }

              .select2-selection__rendered {
                padding: 8px 15px;
                font-size: 16px;
                border: 1px solid transparent;
                border-radius: 8px;
                background-color: var(--lightblue);
                color: #003a5c !important;
                line-height: unset !important;

                @media (max-width: 991.98px) {
                  font-size: 14px;
                }
              }

              .select2-selection__arrow {
                top: 6px !important;

                b {
                  background-image: unset;
                  border: none;
                  left: 0 !important;
                  width: 10px;
                  height: 10px;
                  border: unset;
                  border-bottom: 2px solid var(--darkgrey) !important;
                  border-right: 2px solid var(--darkgrey);
                  transform: rotate(45deg);
                }
              }

              &.select2-container--default {
                .select2-selection__rendered {
                  color: var(--lightgrey2);
                }
              }

              &.select2-container--default {
                &.select2-container--below {
                  .select2-selection__rendered {
                    color: #003a5c;
                  }
                }
              }
            }

            .select2-dropdown {
              box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
              border: none !important;
              border-radius: 7px;
              overflow: hidden;
            }
          }

          .steps-wrap {
            .step {
              display: none;

              &.active {
                display: block;
              }
            }
          }
        }

        .form_footer {
          .form-check {
            input:checked {
              background-color: var(--success);
              border-color: var(--success);
              box-shadow: unset;
            }

            label {
              font-size: 14px;
              color: var(--darkgrey);
              cursor: pointer;
            }

            a {
              color: var(--neublue);
              text-decoration: underline;
            }

            input[type="checkbox"] {
              padding: 0;
            }
          }
        }
      }
    }
  }

  .form_btn {
    background-color: var(--neublue);
    padding: 10px 40px;
    border-radius: 40px;
    font-size: 16px;
    color: var(--white);
    text-transform: uppercase;
    font-weight: 700;
    border: none;
    outline: none;
    letter-spacing: 1px;
    margin-left: auto;
    display: block;

    &:hover {
      opacity: 0.9;
    }

    @media (max-width: 991.98px) {
      padding: 8px 25px;
      border-radius: 40px;
      font-size: 14px;
      margin-left: unset;
      margin-top: 15px;
      width: 100%;
    }
  }

  .jc__field_error {

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    select,
    textarea,
    .select2-selection__rendered {
      border-color: var(--crimson) !important;
      box-shadow: var(--fieldError) 0px 0px 0px 4px;
      background-color: var(--white) !important;
      padding-right: 40px !important;
      background: url("https://www.justcoglobal.com/wp-content/themes/janusjustco/assets/justco-2026/icons/error.svg") no-repeat center right 12px !important;
    }

    .select2-selection__arrow {
      right: 30px !important;
    }
  }

  .jc__field_success {

    input[type="text"],
    input[type="email"],
    input[type="password"],
    input[type="tel"],
    select,
    textarea,
    .select2-selection__rendered {
      border-color: var(--success) !important;
      box-shadow: var(--fieldValid) 0px 0px 0px 4px;
      background-color: var(--white) !important;
      padding-right: 40px !important;
      background: url("https://www.justcoglobal.com/wp-content/themes/janusjustco/assets/justco-2026/icons/success.svg") no-repeat calc(100% - 10px) center / 15px !important;
    }

    .select2-selection__arrow {
      right: 30px !important;
    }
  }

  .errorBox {
    background: var(--fieldError);
    font-size: 14px;
    padding: 5px 10px;
    display: block;
    border-radius: 5px;
    color: var(--fieldErrorDark);
    border: 1px solid var(--crimson);
    margin-top: 10px;
  }
}

.single_post_form {
  position: relative;
  padding: 25px 10px;
  border-radius: 10px;
  box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
  background: var(--white);
  margin: 50px 0;
}

.select2-search__field {
  padding: 7px !important;
  padding-right: 30px !important;
  background: url("https://www.justcoglobal.com/wp-content/themes/janusjustco/assets/justco-2026/icons/search_icon.svg") no-repeat calc(100% - 10px) center / 14px !important;
}

/* Forms style by ganesh gaytondey start */
* {
  padding: 0px;
  margin: 0px;
  box-sizing: border-box;
}

/* .container {
    padding: 100px 0px;
} */

.gn-form-sec {
  position: relative;
  background-color: #fff;
  border: 1px solid #cfcfcf;
  border-radius: 16px;
  padding: 60px;
  box-shadow: rgba(100, 100, 111, 0.2) 0px 10px 20px 0px;
}

.loader_wrap {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: rgba(255, 255, 255, 0.7);
  z-index: 9999;
  display: none;
}

.loader_wrap.active {
  display: flex;
}

.loader_wrap .loader {
  border: 4px solid #f3f3f3;
  border-top: 4px solid #003a5c;
  border-bottom: 4px solid #003a5c;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.gn-form-sec .step-cound-hdng {
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50px;
  border: 1px solid #cfcfcf;
  margin-bottom: 10px;
  background-color: #fff;
}

.gn-form-sec .step-cound-hdng .hdng {
  margin: 0px;
  font-size: 12px;
  color: #cfcfcf;
}

.gn-form-sec .step-count {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.gn-form-sec .gn-steps-visual {
  position: relative;
}

.gn-form-sec .step-list-count {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-bottom: 40px;
}

.gn-form-sec .m-hdng {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7;
  color: #003a5c;
  margin-bottom: 27px;
  display: none;
}

.gn-form-sec .gn-steps-visual::before {
  content: "";
  position: absolute;
  width: 100%;
  height: 2px;
  background-color: #cfcfcf;
}

.gn-form-sec .gn-steps-visual::before {
  content: "";
  position: absolute;
  width: 87%;
  height: 1px;
  background-color: #cfcfcf;
  top: 20px;
  margin: 0 auto;
  right: 0px;
  left: 0px;
}

.gn-form-sec .step-count p {
  margin: 0px;
  color: #cfcfcf;
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.7;
}

.gn-form-sec .step-count.active .step-cound-hdng {
  background-color: #003a5c;
  border: 1px solid #003a5c;
}

.gn-form-sec .step-count.active .step-cound-hdng.hdng {
  color: #fff;
}

.gn-form-sec .step-count.active p {
  color: #003a5c;
}

/* 
.gn-form-sec .form-select,
.gn-form-sec .form-group input,
.gn-form-sec .form-group textarea {
  background-color: #e2f5ff;
  border-radius: 8px;
  font-size: 16px;
  color: #939393;
  font-weight: 400;
  padding: 12px 14px;
  border: 1px solid #dee2e6 !important;
}

.gn-form-sec .form-group input::placeholder {
  color: #939393;
}

.gn-form-sec .form-select {
  background-image: url(../icons/select-icon.svg);
  background-position: right 1.75rem center;
}

.gn-form-sec .form-select option {
  background-color: #fff;
}

.gn-form-sec .form-select:focus,
.gn-form-sec .form-group input:focus,
.gn-form-sec .form-group textarea:focus {
  box-shadow: inherit;
  border-color: #e2f5ff;
}

.gn-form-sec .form-group {
  margin-bottom: 20px;
} */

.gn-form-sec .gn-action-btns {
  display: flex;
  justify-content: space-between;
  margin-top: 80px;
}






.gn-form-sec .gn-action-btns .btn {
  font-size: 16px;
  font-weight: 600;
  text-transform: uppercase;
  max-width: 100%;
  padding: 7px 25px;
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: center;
  background-color: #21b5ff;
  border-radius: 50px;
  color: #fff;
}

.gn-form-sec .gn-action-btns .btn-back:active {
  border: 1px solid #fff;
}

.gn-form-sec .gn-action-btns .btn-next,
.gn-form-sec .gn-action-btns a {
  margin-left: auto;
}

.gn-form-sec .gn-action-btns .btn-back {
  background-color: #fff;
  color: #939393;
  padding-left: 0 !important;
}

.gn-form-sec .field_wrap label,
.gn-form-sec .form-group label,
.gn-form-sec .form-check label {
  font-size: 16px;
  font-weight: 400;
  color: #474747;
  line-height: 1.5;
  margin-bottom: 12px;
}

.gn-form-sec .form-check label a {
  color: #21b5ff;
  text-decoration: underline;
}

.gn-form-sec .form-check-input:checked {
  background-color: #31d0aa !important;
  border: 1px solid #31d0aa !important;
}

.gn-form-sec .thankyou-wrap {
  display: none;
}

.gn-form-sec .thankyou-wrap.active {
  display: block;
}

.gn-form-sec .thankyou-wrap .sub-hdng {
  font-size: 24px;
  font-weight: 700;
  color: #003a5c;
  line-height: 1.3;
  margin-bottom: 18px;
}

.gn-form-sec .thankyou-wrap p {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.5;
  color: #474747;
}

.gn-form-sec .range-desc {
  display: flex;
  justify-content: space-between;
  margin: 25px 0px;
}

.gn-form-sec .range-desc label {
  font-size: 16px;
  color: #474747;
  font-weight: 400;
  line-height: 1.5;
  margin: 0px;
  display: block;
  width: 100%;
}

.gn-form-sec .range-desc input {
  font-size: 16px;
  color: #003a5c;
  font-weight: 700;
  border: none;
  text-align: end;
  width: 100%;
}

.gn-form-sec .range-desc p {
  font-size: 16px;
  color: #474747;
  font-weight: 400;
  line-height: 1.5;
  margin: 0px;
}

.gn-form-sec .range-hdng {
  font-size: 16px;
  color: #003a5c;
  font-weight: 700;
}

.gn-form-sec .ui-slider-range-min {
  background-color: #21b5ff;
}

.gn-form-sec .ui-widget.ui-widget-content {
  background-color: #f5f5f5;
  border-radius: 16px;
}

.gn-form-sec .ui-state-default {
  border-radius: 50px;
  border: 1px solid #21b5ff !important;
  background-color: #ffff !important;
  width: 28px !important;
  height: 28px !important;
  top: -8px !important;
}

/* *************** modal-contact-form-page-start * ****************/
.get_quote_form_popup,
.contact_form_popup {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  padding: 100px 15px;
  background-color: rgba(0, 0, 0, 0.5);
  overflow-y: auto;
  z-index: 9999;
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transition: 0.5s;

  &.active {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
  }

  .wrapping {
    background-color: #fff;
    border-radius: 16px;
    padding: 30px 30px 50px;
    box-shadow: rgba(100, 100, 111, 0.2) 0px 10px 20px 0px;
    width: 870px;
    max-width: 100%;
    margin: 0 auto;
    min-height: 600px;
    display: flex;
    flex-direction: column;
  }

  .modal-cross {
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-bottom: 1px solid #cfcfcf;
    padding-bottom: 30px;
    margin-bottom: 12px;
  }

  .modal-cross .popup-close {
    width: 30px;
    height: 30px;
    background: transparent;
    border: none;
    cursor: pointer;
  }

  .modal-cross .popup-close img {
    width: 15px;
  }

  .modal-cross .hdng {
    font-size: 12px;
    color: #003a5c;
    font-weight: 700;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.8;
  }

  p {
    font-size: 16px;
    color: #474747;
    font-weight: 400;
    line-height: 1.5;
    margin-bottom: 40px;
  }

  .form-group input,
  .form-select {
    background-color: #e2f5ff;
    border-radius: 8px;
    font-size: 16px;
    color: #939393;
    font-weight: 400;
    padding: 12px 14px;
    border: 1px solid #dee2e6 !important;
  }

  .form-group input:focus,
  .form-group select:focus,
  .form-group textarea:focus {
    box-shadow: inherit;
    border-color: #e2f5ff;
  }

  .form-group input::placeholder {
    color: #939393;
  }

  .form-check label {
    font-size: 12px;
    font-weight: 400;
    color: #474747;
    line-height: 1.5;
  }

  .form-check label a {
    color: #21b5ff;
  }

  .form-select {
    background-image: url("https://www.justcoglobal.com/wp-content/themes/janusjustco/assets/justco-2026/icons/select-icon.svg");
    background-position: right 1.75rem center;
  }

  .form-group {
    margin-bottom: 20px;
  }

  .form-check-input:checked {
    background-color: #31d0aa !important;
    border: 1px solid #31d0aa !important;
  }

  .form_box form {
    width: 620px;
    max-width: 100%;
    margin: 0 auto;
  }

  .form-btn {
    text-align: end;
    margin-top: 20px;
  }

  .form-btn .btn {
    font-size: 16px;
    letter-spacing: 0.8;
    color: #ffffff;
    font-weight: 700;
    background-color: #21b5ff;
    text-transform: uppercase;
    border-radius: 50px;
    padding: 11px;
    width: 160px;
    max-width: 100%;
  }

  .form_footer {
    margin-top: 80px;
  }

  .thankyou_box {
    padding: 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1;
  }

  .thankyou_box .ty-hdng {
    font-size: 24px;
    font-weight: 700;
    color: #003a5c;
    line-height: 1.3;
    margin-bottom: 16px;
    text-align: center;
  }

  .thankyou_box p {
    font-size: 16px;
    color: #474747;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
    width: 587px;
    margin: 0 auto;
    max-width: 100%;
  }

  &.subscribe_now_popup {
    p {
      margin-bottom: 80px;

      @media only screen and (max-width: 1199.98px) {
        margin-bottom: 60px;
      }

      @media only screen and (max-width: 991.98px) {
        margin-bottom: 40px;
      }

      @media only screen and (max-width: 767.98px) {
        margin-bottom: 30px;
      }
    }

    .form_btn {
      margin: auto !important;
    }

    .form_footer {
      margin-top: 80px;

      @media only screen and (max-width: 1199.98px) {
        margin-top: 60px;
      }

      @media only screen and (max-width: 991.98px) {
        margin-top: 40px;
      }

      @media only screen and (max-width: 767.98px) {
        margin-top: 30px;
      }
    }
  }
}

/* *************** modal-contact-form-page-end * ****************/

@media (max-width: 1199.98px) {
  .gn-form-sec .gn-steps-visual::before {
    width: 90%;
  }
}

@media (max-width: 991.98px) {
  .gn-form-sec .gn-steps-visual::before {
    width: 85%;
  }
}

@media (max-width: 767.98px) {
  .gn-form-sec {
    padding: 35px;
  }

  .gn-form-sec .form-select {
    background-position: right 0.75rem center;
  }

  .gn-form-sec .gn-steps-visual::before {
    width: 85%;
  }

  .gn-form-sec .gn-action-btns {
    margin-top: 100px;
  }

  .gn-form-sec .steps-wrap .step:nth-child(2) .gn-action-btns,
  .gn-form-sec .steps-wrap .step:nth-child(3) .gn-action-btns {
    margin-top: 40px;
  }

  .gn-form-sec .m-hdng {
    display: block;
  }

  .gn-form-sec .step-count p {
    display: none;
  }

  .gn-form-sec .gn-action-btns .btn {
    font-size: 15px;
    padding: 8px 20px;
  }

  .contact_form_popup,
  .get_quote_form_popup {
    .form_footer {
      margin-top: 70px;
    }

    .form-btn {
      text-align: start;
    }

    .form-btn .btn {
      width: 100%;
    }

    .modal-cross {
      padding: 25px;
      box-shadow: rgba(100, 100, 111, 0.2) 0px 10px 20px 0px;
      border: none;
    }

    .wrapping {
      padding: 0px;
    }

    .form_box {
      padding: 30px;
    }

    p {
      margin-bottom: 30px;
    }

    .form-btn .btn {
      font-size: 14px;
    }
  }
}

@media (max-width: 575.98px) {
  .gn-form-sec .gn-steps-visual::before {
    width: 92%;
    top: 15px;
  }

  .gn-form-sec {
    padding: 40px 20px;
  }

  .gn-form-sec .step-cound-hdng {
    width: 30px;
    height: 30px;
  }
}

.form-filed-wrap .select2-selection__clear {
  position: absolute;
  right: 16px;
  bottom: 0px;
  display: none !important;
}

/* Forms style by ganesh gaytondey end */

.faq_search_form {
  position: relative;
  max-width: 550px !important;
  margin: 0 auto;
  width: 100%;
}

.faq_search_form [type="text"] {
  font-size: 14px !important;
  color: var(--darkgrey);
  padding: 15px;
  padding-left: 60px;
  width: 100%;
  border-radius: 40px;
  border: none;
}

.faq_search_form [type="submit"] {
  position: absolute;
  width: 40px;
  height: 40px;
  top: 50%;
  left: 15px;
  padding: 0 !important;
  margin: 0 !important;
  transform: translateY(-50%);
  font-size: 0;
  border: none;
  background: transparent url("https://www.justcoglobal.com/wp-content/themes/janusjustco/assets/justco-2026/icons/search__icon.svg") no-repeat center / 20px;
}

.select2-container--open {
  z-index: 9999;
}

.landing_page {
  form {

    input,
    select,
    textarea {
      margin-bottom: 0px !important;
    }

    .jfield_main {
      margin-bottom: 20px;
    }
  }
}