.form-main{
  position: relative;
  z-index: 5;
}

.form-floating-underline {
  position: relative;
  margin-bottom: 1.5rem;
}

.form-floating-underline input,
.form-floating-underline textarea {
  border: none;
  border-bottom: 2px solid #FFF;
  background-color: transparent;
  width: 100%;
  padding: 10px 0;
  font-size: 16px;
  outline: none;
  box-shadow: none;
  border-radius: 0;
  color: #FFF;
  font-weight: 500;
}

.form-para {
  padding-bottom: 1rem;
  /*border-bottom: 1px solid rgb(2 30 64 / 10%);*/
}

.form-floating-underline label {
    position: absolute;
    top: 10px;
    left: 0;
    font-size: 1rem;
    color: #AD49E1;
    font-weight: 600;
    transition: 0.3s ease;
    pointer-events: none;
}

.form-floating-underline input:focus,
.form-floating-underline textarea:focus {
  border-bottom-color: #0071dc;
}

.form-floating-underline input:focus + label,
.form-floating-underline input:not(:placeholder-shown) + label,
.form-floating-underline textarea:focus + label,
.form-floating-underline textarea:not(:placeholder-shown) + label {
  top: -0.5rem;
  font-size: 0.85rem;
  color: #3FA2F6;
}
.form-control:focus {
  color: #FFF;
  background: none;
}

.submit-btn {
  position: relative;
}
.form-btn {
  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
  display: flex;
  /* align-items: center; */
  /* position: absolute; */
  /* left: 50%; */
  /* top: 50%; */
  /* transform: translate(-50%, -50%); */
  overflow: hidden;
  width: 100%;
  text-align: center;
  justify-content: center;
  background: linear-gradient(to right bottom, #AD49E1, #3FA2F6);
  color: #FFF;
  outline: none;
  border: none;
  border-radius: 5px;
  font-weight: 600;
  font-size: 18px;
  cursor: pointer;
  padding: 12px 24px 12px 28px;
  box-shadow: 0px 2px 10px #44515e8a;
}

.form-btn .plane-icon {
  font-size: 18px;
  margin-left: 10px;
  transition: transform 0.4s ease;
}

.form-btn .done {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  white-space: nowrap;
  opacity: 0;
}

.form-btn .send {
  white-space: nowrap;
}

.invalid-feedback {
  font-size: 0.875rem;
  color: #dc3545;
}

.form-control.is-valid,
.form-control.is-invalid {
  border-bottom-width: 2px !important;
  box-shadow: none !important;
}
.form-terms {
  color: #3FA2F6;
  transition-duration: .3s;
}
.form-terms:hover {
  color: #AD49E1;
  transition-duration: .3s;
}
.form-anc {
  color: #021e40;
  text-decoration: underline;
  text-decoration-color: #0071dc;
  transition-duration: 0.3s;
}
.form-anc:hover {
  color: #0071dc;
  text-decoration: underline;
  text-decoration-color: #021e40;
  transition-duration: 0.3s;
}

/* Make select behave like floating input */
.select-wrapper {
  position: relative;
}

.select-wrapper select {
  background-color: transparent;
  color: #fff; /* match your text color */
  border: none;
  border-bottom: 2px solid #fff;
  padding: 1rem 0 .25rem 0;
  font-size: 1rem;
  border-radius: 0;
}

.select-wrapper select:focus {
  outline: none;
  border-color: #3FA2F6; /* active border color */
}

.select-wrapper label {
  position: absolute;
  top: 1rem;
  left: 0;
  /*color: #aaa;*/
  font-size: 1rem;
  transition: 0.2s ease all;
  pointer-events: none;
}

/* Move label up when focused or has value */
.select-wrapper select:focus + label,
.select-wrapper select:not([value=""]):valid + label {
  top: -0.5rem;
  font-size: 0.85rem;
  color: #3FA2F6;
}

/* Hide default arrow, custom arrow optional */
.select-wrapper select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
}

/*edited-css*/
.form-control:focus{
  background: none;
}
label.form-check-label {
    color: #FFF;
}

/* Style dropdown list background & text */
.select-wrapper select option {
  background-color: #050516; /* your custom background */
  color: #fff; /* your custom text color */
}

/* Optional: change hover/focus color in supported browsers */
.select-wrapper select option:checked,
.select-wrapper select option:hover {
  background-color: #AD49E1; /* highlight background */
  color: #FFF; /* highlight text */
}