@import url('https://fonts.googleapis.com/css2?family=Mona+Sans:wght@400;500;600;700&display=swap');

html {
  font-size: 1rem;
  -webkit-text-size-adjust: 100%;
  -moz-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
}

body {
  margin: 0 auto;
  font-family: 'Mona Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI';
  font-size: 1rem;
}

header {
  text-align: -webkit-center;
  padding: 20px 20px 100px 20px;
}

.logo img {
  width: 10rem;
  margin-right: 8px;

}

.header-top {
  max-width: 70rem;
}


form {

  padding: 0px 30px 30px 30px;
  place-self: center;
  border-radius: 10px;
  width: 100%;
  margin: 0 auto;
  max-width: 50rem;

  position: relative;
}

.step {
  display: none;
  flex-direction: column;
  gap: 15px;
  animation: fade 0.4s ease-in-out;
}

.step.active {
  display: flex;
}

input {
  padding: 12px;
  font-size: 16px;
  width: 23rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}

h2 {
  text-align: center;
  font-size: 2.2rem;
}

.form-button {
  padding: 15px;
  font-size: 1.2rem;
  background-color: #f37019;
  border: none;
  color: white;
  border-radius: 5px;
  cursor: pointer;
  align-self: flex-end;
  width: 100%;
}

@keyframes fade {
  from {
    opacity: 0;
    transform: translateX(20px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

.progress-bar {
  margin: 0 auto;
  display: flex;
  gap: 6px;
  width: 25rem;
  justify-content: center;
  margin-bottom: 0px;
  place-self: center;
}

.progress-bar .bar {
  flex: 1;
  height: 6px;
  background: #ccc;
  border-radius: 1px;
  transition: background 0.3s ease;
}

.thank-you {
  margin: 0 auto;
  text-align: center;
  padding: 50px;
  background: white;
  border-radius: 10px;
  max-width: 500px;
  margin: 0 auto;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

.progress-bar .bar.active {
  background: #f37019;
}

.form-section {}

.form-note {
  display: flex;
  flex-direction: row;
  gap: 1.2rem;
}

.floating-input input {
  border: 1px solid #beb8b8;
  border-radius: 5px;
  padding: 24px 10px 6px;
  font-size: 1.2rem;
  width: 23rem;
  background-color: white;
  font-family: sans-serif;
}

.floating-input {
  position: relative;
}

.floating-input label {
  position: absolute;
  left: 10px;
  top: 0.9rem;
  color: #999;
  font-size: 1rem;
  pointer-events: none;
  transition: 0.2s ease all;
}

.floating-input input:focus+label,
.floating-input input:not(:placeholder-shown)+label {
  top: 5px;
  font-size: 12px;
  color: #555;
}

.floating-input input:focus {
  outline: none;
  border-color: #ff6b00;
}

.floating-input2 input {
  border: 1px solid #beb8b8;
  border-radius: 5px;
  padding: 24px 10px 6px;
  font-size: 1.2rem;
  width: 23rem;
  background-color: white;
  font-family: sans-serif;
}

.floating-input2 {
  position: relative;
}

.floating-input2 label {
  position: absolute;
  left: 10px;
  top: 0.9rem;
  color: #999;
  font-size: 1rem;
  pointer-events: none;
  transition: 0.2s ease all;
}

.floating-input2 input:focus+label,
.floating-input2 input:not(:placeholder-shown)+label {
  top: 5px;
  font-size: 12px;
  color: #555;
}

.floating-input2 input:focus {
  outline: none;
  border-color: #ff6b00;
}


.security-text {
  display: flex;
  text-align: center;
  font-size: 0.9rem;
  gap: 5px;
  place-self: center;
  font-weight: 500;
  margin-top: 20px;
}

.floating-input input.error {
  color: red;
  border: 2px solid red;
}





.floating-input-one input {
  border: 1px solid #beb8b8;
  border-radius: 5px;
  padding: 24px 10px 6px;
  font-size: 1.2rem;
  width: 48.6rem;
  background-color: white;
  font-family: sans-serif;
}

.floating-input-one {
  position: relative;
}

.floating-input-one label {
  position: absolute;
  left: 10px;
  top: 0.9rem;
  color: #999;
  font-size: 1rem;
  pointer-events: none;
  transition: 0.2s ease all;
}

.floating-input-one input:focus+label,
.floating-input-one input:not(:placeholder-shown)+label {
  top: 5px;
  font-size: 12px;
  color: #555;
}

.floating-input-one input:focus {
  outline: none;
  border-color: #ff6b00;
}






.floating-input-phone input {
  border: 1px solid #beb8b8;
  border-radius: 5px;
  padding: 24px 10px 6px;
  font-size: 12px;
  width: 44.3rem;
  background-color: white;
  font-family: sans-serif;
}

.floating-input-phone {
  position: relative;
}

.floating-input-phone label {
  position: absolute;
  left: 3.5rem;
  top: 5px;
  color: #999;
  font-size: 12px;
  pointer-events: none;
  transition: 0.2s ease all;
}

.floating-input-phone input:focus+label,
.floating-input-phone input:not(:placeholder-shown)+label {
  top: 5px;
  font-size: 12px;
  color: #555;
}

.floating-input-phone input:focus {
  outline: none;
  border-color: #ff6b00;
}


.email-suggestions {
  list-style: none;
  margin: 0px;
  padding: 0;
  border: 1px solid #ccc;
  max-height: 150px;
  overflow-y: auto;
  background-color: white;
  position: absolute;
  z-index: 1000;
  overflow-y: scroll;
  width: 49.9rem;
  border-radius: 5px;
  font-size: 1.1rem;
  border: 1px solid #beb8b8;
}

.email-suggestions li {
  padding: 10px;
  cursor: pointer;
}

.email-suggestions li:hover {
  background-color: #f0f0f0;
}

.hidden {
  display: none;
}


.error-msg {
  color: red;
  display: flex;
  font-size: 1.1rem;
  gap: 5px;
  padding-top: 10px;
}

input.error {
  border-color: red !important;
}


.phone-wrapper {
  position: relative;
}

.phone-prefix {
  position: absolute;
  top: 1.6rem;
  left: 10px;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  pointer-events: none;
}

.phone-prefix img {
  border-radius: 2px;
  width: 2rem;
}

.phone-prefix .prefix {
  font-size: 1.2rem;
  padding-top: 1.1rem;
  padding-left: 0.9rem;
  color: #000;
}

#phoneNumber {
  padding-left: 5rem !important;
  font-size: 1.2rem;
}



.thank-you-message {
  text-align: center;
  padding: 3rem 1rem;
  border-radius: 12px;
  background-color: #f6f6f6;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
}

.thank-you-message h2 {
  font-size: 28px;
  margin-bottom: 10px;
  color: #333;
}

.thank-you-message p {
  font-size: 18px;
  color: #666;
}

.thank-you-icon {
  width: 120px;
  height: 120px;
  margin-bottom: 20px;
}

@media screen and (max-width: 768px) {
  .form-note {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
  }

  .form-section {
    padding: 5%;
    width: 90%;
  }

  .progress-bar {
    width: 100%;
  }

  form {
    width: 90%;
    padding: 0px;
  }

  .floating-input input,
  .floating-input2 input,
  .floating-input-one input {
    width: 97%;
    padding: 7% 0% 2% 3%;
  }

  .email-suggestions {
    width: 100%;
  }

  .floating-input-phone input {
    width: 72%;
  }
  .security-text{
    display: block;
  }

  .phone-prefix img {
    width: 100%;
  }

  .phone-prefix .prefix {
    padding-top: 45%;
    padding-left: 49%;
  }

   .phone-prefix {
    top: 26px;
    font-family: 'Mona Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI';
    left: 8px;
  }

  #phoneNumber {
    padding-left: 77px !important;
  }
}