.homepageform-wrapper {
  margin: 50px 0px 0px 0px;
  position: relative;
}

.homepageform-wrapper-inner {
  background-color: #000000;
  padding: 100px 0px 0px 0px;

  .display-desktop {
    display: block;
  }

  .display-mobile {
    display: none;
  }

  .homepageform-upper-wrapper {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;

    .form-title {
      color: white;
      font-size: 26px;
      font-family: "Playfair Display", serif;
      font-weight: 400;
      margin-bottom: 20px;
      text-align: left;
      line-height: 1.4;
    }

    .gettouch,
    .center {
      color: #bda371;
      font-size: 24px;
      font-family: "Figtree", sans-serif;
      font-weight: 500;
      margin-top: 10px;
      opacity: 1;
      line-height: 20px;

      p {
        color: #bda371;
        font-size: 24px;
        font-family: "Figtree", sans-serif;
        font-weight: 500 !important;
        margin-bottom: 0px;
        opacity: 1 !important;
        line-height: 20px;
      }

      .innerText {
        font-family: "Figtree", sans-serif;
        color: #ffffff;
        margin-left: 10px;
        animation: moveUp 10s infinite;
        position: relative;
        overflow: hidden;
        box-sizing: border-box;
        font-size: 24px;
        font-weight: 400;
        font-family: "Figtree", sans-serif;
      }
    }

    .gettouch {
      line-height: 38px;
    }

    .center {
      display: flex;
      align-items: center;
      margin-bottom: 20px;
      overflow: hidden;
      height: 22px;
    }

    .form-wrapper,
    .tab-container {
      display: flex;
      gap: 20px;
      margin-bottom: 10px;
      flex-wrap: wrap;

      .form-field {
        width: fit-content;
      }
    }

    .type {
      display: flex;
      align-items: center;
      gap: 5px;
    }
  }

  .homepage-steps {
    width: calc(50% - 20px);

    .form-sub-text {
      font-size: 16px;
      white-space: nowrap;
      color: white;
      font-family: "Figtree", sans-serif;
    }

    .back-button {
      color: white;
      font-size: 14px;
      font-family: "Figtree", sans-serif !important;
      font-weight: 400;
      margin-bottom: 20px;
      display: block;
    }

    .form-text {
      color: #bda371;
      font-size: 20px;
      font-family: "Figtree", sans-serif !important;
      font-weight: 400;
      text-align: left;
    }
  }

  .categoryForms {
    .CategoryForms-inner,
    .inner-townshipformBox,
    .form-wrapper-inputs {
      padding: 20px 0px;

      .label-bkp {
        display: flex;
        gap: 15px;
        margin-bottom: 20px;
        align-items: center;

        .inputGroupField {
          flex: 1;
        }
        .inputField,
        .country-dropdown,
        .city-dropdown,
        .form-select {
          border: none;
          border-bottom: 1px solid white;
          background-color: transparent;
          color: white;
          padding: 6px 6px 0px 6px;
          transition: border-color 0.3s ease;
          font-size: 16px;
          width: 100%;
          border-radius: 0px;
          transition: 0.4s ease;

          &:focus {
            box-shadow: unset;
            border-bottom: 1px solid #bda371;
          }

          option {
            border: 1px solid #161616ff;
            background: #161616ff;
            color: #ffffff;
            padding: 6px 0;
            font-size: 16px;
          }
        }

        .country-dropdown {
          width: auto;
        }

        .col-wht {
          font-family: "Playfair Display", serif;
          color: #fff;
          font-size: clamp(
            18px,
            calc(1.125rem + (24 - 18) * ((100vw - 768px) / (1920 - 768))),
            24px
          );
          font-weight: 400;
          white-space: nowrap;
          text-wrap: nowrap;
        }
      }

      .agreesubmit {
        display: flex;
        justify-content: space-between;
        margin-top: 50px;
        flex-wrap: wrap;
        gap: 20px;

        .form-field-inputs {
          display: flex;
          align-items: center;

          .form-field-inputs-inner {
            width: 100%;
            align-items: center;
          }
        }

        .pp-col-wht {
          color: #fff;
          opacity: 0.8;
          text-decoration: underline;
          text-underline-position: under;

          &:hover {
            opacity: 1;
          }
        }
      }

      .submitbtn {
        color: #fff;
        font-family: "Playfair Display", serif;
        background-image: url(/wp-content/themes/dellastore/newhome/images/gold-arrow.png);
        background-repeat: no-repeat;
        background-position: 93% center;
        background-size: 15px;
        transition: 0.2s ease;
        background-color: transparent;
        border: 0;
        font-size: 16px;
        border: 1px solid #bda371;
        padding: 12px;
        cursor: pointer;
        width: 250px;
        letter-spacing: 1px;
        text-transform: uppercase;

        &:hover {
          background-color: #ffffff;
          color: #000000;
        }
      }

      .select-wrapper {
        position: relative;
      }

      .select-wrapper .dropdown.on .dropdown-list .dropdown-option {
        color: #000;
      }

      .select-wrapper .dropdown .dropdown-option {
        display: flex;
        align-items: center;
        gap: 6px;
        padding: 4px 8px;
      }

      .select-wrapper .dropdown .dropdown-label {
        display: block;
      }

      .select-wrapper .dropdown .dropdown-list {
        padding: 12px;
        background: #fff;
        position: absolute;
        top: 42px;
        left: 2px;
        right: 2px;
        box-shadow: 0 1px 2px 1px #00000026;
        transform-origin: 50% 0;
        transform: scale(1, 0);
        transition: transform 0.15s ease-in-out 0.15s;
        max-height: 66vh;
        overflow-y: scroll;
        z-index: 100;
      }

      .select-wrapper .dropdown.on .dropdown-list {
        transform: scale(1, 1);
        transition-delay: 0s;
      }

      .select-wrapper .dropdown [type="checkbox"] {
        position: static;
        margin: 0;
        width: auto;
        height: auto;
      }
    }
  }

  .selectone {
    color: #ffffff;
  }

  .contact-block-main {
    border: 1px solid #bda371;
    padding: 25px;
    width: calc(50% - 20px);

    .contact-block-inner {
      .contact-block-inner1,
      .contact-block-inner2 {
        margin-bottom: 40px;

        .contact-details {
          display: flex;
          gap: 10px;
          justify-content: flex-start;
          align-items: center;
          margin-bottom: 20px;

          .fa-whatsapp,
          .title {
            color: #ffffff;
            font-size: 20px;
          }
        }

        .text-num {
          font-size: 16px;
          color: #ffffff;
          font-family: "Figtree", sans-serif !important;
          font-weight: 100;
          opacity: 0.5;
          display: inline-block;
          margin-right: 40px;
          transition: 0.4s ease;

          &:hover {
            text-decoration: underline;
            text-underline-position: under;
          }
        }
      }

      .contact-block-inner2 {
        margin-bottom: 0px;
      }
    }
  }

  form {
    margin-block-end: 0px;
  }
}

.form-field-projectsagree input[type="checkbox"] + label {
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 16px;
  gap: 8px;
  color: white;
}

.form-field-projectsagree input[type="checkbox"] {
  display: none;
}

.form-field-projectsagree input[type="checkbox"] + label::before {
  content: "";
  width: 20px;
  height: 20px;
  border: 2px solid #333;
  display: inline-block;
  border-radius: 4px;
  transition: 0.2s;
  margin-right: 10px;
}

.form-field-projectsagree input[type="checkbox"]:checked + label::before {
  content: "✔";
  color: white;
  background-color: transparent;
  text-align: center;
  line-height: 15px;
  font-size: 14px;
  font-weight: bold;
}

.form-field-projectsagree input[type="checkbox"] + label {
  cursor: pointer;
  display: flex;
  align-items: center;
  font-size: 16px;
  gap: 8px;
  color: white;
}

.inputField::placeholder {
  color: rgba(255, 255, 255, 0.6);
}

.inputField:focus {
  outline: none;
  border-bottom: 1px solid #bda371;
}

span.err {
  margin-top: 10px;
  display: block;
  color: red;
  font-size: 14px;
  font-family: "Figtree", sans-serif;
}

[type="radio"]:checked,
[type="radio"]:not(:checked) {
  position: absolute;
  left: -9999px;
}

[type="radio"]:checked + label {
  border: 1px solid #bda371;
  background: #bda371;
  color: #000000;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 100;
  position: relative;
  padding: 15px 20px;
  cursor: pointer;
  line-height: 20px;
  display: inline-block;
}

[type="radio"]:not(:checked) + label {
  color: white;
  border: 1px solid #bda371;
  padding: 10px 20px;
  font-size: 14px;
  font-weight: 100;
  position: relative;
  padding: 15px 20px;
  cursor: pointer;
  line-height: 20px;
  display: inline-block;
  color: #838383;
  background-color: transparent;
  border: 1px solid #838383;
  font-family: "Figtree", sans-serif;
  transition: all 0.2s ease;
}

.radio-label:hover {
  background-color: #bda371 !important;
  color: #000000 !important;
  opacity: 1 !important;
}

@keyframes moveUp {
  0% {
    margin-bottom: -120px;
  }
  5% {
    margin-bottom: -40px;
  }
  30% {
    margin-bottom: -40px;
  }
  35% {
    margin-bottom: 0px;
  }
  65% {
    margin-bottom: 0px;
  }
  70% {
    margin-bottom: 40px;
  }
  100% {
    margin-bottom: 40px;
  }
}

#homepageprivateproduct-step3,
#homepagedesignproduct-step3,
#homepageproject-step2,
#homepageproject-step3,
#homepageproduct-step2,
#homepage-projectsprivateBlock,
#homepage-projectsdesignBlock,
#homepage-productprivateBlock,
#homepage-productdesignBlock,
#homepage-step3,
.projectprivatecategories-none,
.projectsquare-none,
.form-field-projectbudget,
.form-field-projectwork,
.form-field-projectrooms {
  display: none;
  padding: 20px 0px;
}

#overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 9999;
}

.loader {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 50px;
  height: 50px;
  border: 5px solid #f3f3f3;
  border-top: 5px solid #3498db;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.homepageform-wrapper::before {
  content: "";
  width: 30%;
  height: 100%;
  position: absolute;
  top: 0%;
  left: 0px;
  background-image: url(/wp-content/themes/dellastore/newhome/images/della-home-tower.webp);
  background-repeat: no-repeat;
  background-size: 43%;
  z-index: 0;
  background-position: bottom;
  transform: translate(-132px, 0px);
}

#formpopupOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

#formpopupOverlay .formpopup {
  width: 40%;
  border: 3px solid #bda371;
  background: black;
  padding: 50px 20px;
  border-radius: 5px;
  text-align: center;
  box-shadow: 0px 4px 6px rgba(0, 0, 0, 0.2);
  animation: popupScale 0.3s ease;
}

#formpopupOverlay .formpopup h2 {
  font-family: "bon_vivant_family_scriptRg";
  color: #bda371;
  font-size: 70px;
  line-height: 80px;
}

#formpopupOverlay .formpopup p {
  font-size: 18px;
  font-weight: 400;
  color: #fff;
}

#formpopupOverlay .formpopup button {
  margin-top: 10px;
  padding: 8px 16px;
  border: none;
  background: transparent;
  border: 1px solid #bda371;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  font-family: "Playfair Display", serif;
}

@media (width <= 1440px) {
  .homepageform-wrapper-inner,
  #DellaAllLogos {
    padding: 30px 0px 30px 0px;

    .common-container {
      width: 1000px;
      position: relative;
      padding: 0 15px;
    }
  }

  .homepageform-wrapper::before {
    transform: translate(-119px, 0px);
  }
}

@media (width <= 1365px) {
  .homepageform-wrapper-inner,
  #DellaAllLogos {
    .common-container {
      width: 900px;
      position: relative;
      padding: 0 15px;
    }
  }
  .homepageform-wrapper::before {
    transform: translate(-114px, 0px);
    width: 34%;
  }
}

@media (width <= 1120px) {
  .homepageform-wrapper::before {
    content: none;
  }

  .homepageform-wrapper-inner,
  #DellaAllLogos {
    .common-container {
      width: 100%;
      position: relative;
      padding: 0 15px;
    }
  }
}

@media (width <= 1024px) {
  .homepageform-wrapper-inner {
    .homepage-steps {
      width: calc(100% - 0px);
    }

    .contact-block-main {
      width: calc(100% - 0px);
      margin-top: 20px;
    }

    .display-desktop {
      display: none;
    }

    .display-mobile {
      display: block;
    }

    .categoryForms {
      .CategoryForms-inner,
      .inner-townshipformBox,
      .form-wrapper-inputs {
        .label-bkp {
          flex-wrap: wrap;
        }
      }
    }
  }
}

@media (width <= 768px) {
  .homepageform-wrapper-inner {
    padding: 30px 0px 0px 0px;

    .categoryForms {
      .CategoryForms-inner,
      .inner-townshipformBox,
      .form-wrapper-inputs {
        .submitbtn {
          width: 160px;
        }
      }
    }

    .homepage-steps {
      margin-bottom: 20px;
    }

    .contact-block-main {
      .contact-block-inner {
        .contact-block-inner1,
        .contact-block-inner2 {
          .text-num {
            font-size: 16px;
            color: #ffffff;
            font-family: "Figtree", sans-serif !important;
            font-weight: 100;
            opacity: 0.5;
            display: inline-block;
            margin-right: 15px;
            transition: 0.4s ease;
          }
        }
      }
    }
  }

  #homepageprivateproduct-step3,
  #homepagedesignproduct-step3,
  #homepageproject-step2,
  #homepageproject-step3,
  #homepageproduct-step2,
  #homepage-projectsprivateBlock,
  #homepage-projectsdesignBlock,
  #homepage-productprivateBlock,
  #homepage-productdesignBlock,
  #homepage-step3,
  .projectprivatecategories-none,
  .projectsquare-none,
  .form-field-projectbudget,
  .form-field-projectwork,
  .form-field-projectrooms {
    padding: 00px 0px 0px 0px;
  }
}

@media (width <= 468px) {
  .homepageform-wrapper-inner {
    padding: 30px 0px 0px 0px;

    .categoryForms {
      .CategoryForms-inner,
      .inner-townshipformBox,
      .form-wrapper-inputs {
        .label-bkp {
          .inputGroupField {
            flex: auto;
          }
        }
      }
    }
  }
}
