



header {
/*  padding: 20px;*/
  background: rgba(255, 255, 255, 1);
}

.slide-form {
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: 760px;
  background-color: white;
  box-shadow: -2px 0 8px rgba(0, 0, 0, 0.1);
  overflow-y: auto;
  z-index: 9999;
  transform: translateX(100%);
  opacity: 0;
  pointer-events: none;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide-form.active {
  transform: translateX(0%);
  opacity: 1;
  pointer-events: auto;
}

.form-header {
  display: flex;
  margin-bottom: 27.5px;
  justify-content: space-between;
  align-items: flex-start;
}

.form-header h2 {
  font-size: 30px;
  margin: 0;
  color: rgba(99, 81, 71, 1);
  flex-grow: 1;
  margin-top: 40px;
  line-height: 1.4;
  max-width: 600px;
  padding: 0 40px;
}

.form-header span {
  margin-top: 30px;
  margin-right: 43px;
}

#closeForm {
  color: rgba(99, 81, 71, 1);
  font-size: 45px;
  font-weight: 100;
  cursor: pointer;
}

.form-banner{
  padding: 40px;
  padding-top: 0;
}
.form-banner img {
  width: 100%;
  border-radius: 8px;
  overflow: hidden;
}

.form-intro {
  margin-top: 5px;
  font-size: 14px;
  color: rgba(125, 125, 125, 1);
  line-height: 1.5;
  margin-bottom: 37px;
  padding: 0 40px;
}

.styled-form {
  width: 100%;
  margin: 0 auto;
  padding: 0 40px;
}

.form-row {
  display: flex;
  gap: 30px;
  margin-bottom: 20px;
}

.form-group {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding-top: 13px;
}

.form-group label {
  font-size: 20px;
  margin-bottom: 6px;
  font-weight: 100;
  color: rgba(99, 81, 71, 1);
}

input,
select {
  padding: 12px;
  margin-top: 3.6px;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  background-color: rgba(233, 229, 226, 1);
  color: rgba(125, 125, 125, 1);
  outline: none;
}

::placeholder {
  color: #777;
}

.full-width-row {
  flex-direction: column;
}

.full-width {
  width: 100%;
}

.submit-btn {
  background-color: rgba(99, 81, 71, 1);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 10px;
  width: 165px;
  line-height: 20px;
  padding-bottom: 16px;
  transition: 0.3s ease;
  margin-top: 40px;
  margin-bottom: 45px;
}

.submit-btn:hover {
  border: 1px solid rgba(99, 81, 71, 1);
  color: rgba(99, 81, 71, 1);
  background-color: transparent;
}

/* form background overlay */
.overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  transition: transform 0.8s ease-in-out;
  bottom: 0;
  background: rgba(0, 0, 0, 0.747);
  z-index: 1008;
}

/* mobile responsive */
@media (min-width: 600px) {
  .form-group {
    flex: 1 1 45%;
  }
}

.form-group label {
  font-size: 18px;
  margin-bottom: 6px;
  font-weight: 100;
  color: rgba(99, 81, 71, 1);
}

input,
select {
  padding: 12px;
  margin-top: 3.6px;
  font-weight: 500;
  border: none;
  border-radius: 10px;
  font-size: 14px;
  background-color: rgba(233, 229, 226, 1);
  color: rgba(125, 125, 125, 1);
  outline: none;
  width: 100%;
}

::placeholder {
  color: #777;
}

.full-width-row {
  flex-direction: column;
}

.full-width {
  width: 100%;
}

.submit-btn {
  background-color: rgba(99, 81, 71, 1);
  color: white;
  border: none;
  border-radius: 30px;
  padding: 12px 24px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 30px;
  margin-bottom: 30px;
  width: 100%;
  max-width: 165px;
  line-height: 20px;
  transition: 0.3s ease;
}

.submit-btn:hover {
  border: 1px solid rgba(99, 81, 71, 1);
  color: rgba(99, 81, 71, 1);
  background-color: transparent;
}

/* Tablets (768px and down) */
@media (max-width: 768px) {
  .slide-form {
    width: 90%;
    padding: 20px 15px;
  }

  .form-header {
    flex-direction: row;
    align-items: flex-start;
    margin-bottom: 20px;
  }

  .form-header h2 {
    font-size: 20px;
    margin-top: 25px;
    padding: 0;
  }
  .form-banner{
    padding: 0;
  }

  .form-header span {
    margin-top: 10px;
    font-size: 30px !important;
        align-self: flex-end;
        position: absolute;
        top: -5px;
        left: 5px;
        line-height: 20px;
        width: 30px;
        height: 30px;
        border: 1px solid #000;
        border-radius: 50%;
        margin-right: 0;
        text-align: center;
  }
  .form-group label {
    text-align: left;
  }
  .form-banner img {
    width: 100%;
    margin-left: 0;
    margin-bottom: 15px;
  }

  .form-intro {
    font-size: 12px;
    margin-left: 0;
    margin-bottom: 30px;
    padding: 0;
  }
  .styled-form{
    padding: 0;
  }

  .form-row {
    flex-direction: column;
    gap: 15px;
  }

  .submit-btn {
    width: 100%;
  }
}

/* Mobile (480px and down) */
@media (max-width: 480px) {
  .slide-form {
    padding: 15px 10px;
  }

  .form-header h2 {
    font-size: 20px;
    margin-bottom: 10px;
  }

  #closeForm {
    font-size: 36px;
    margin-top: 10px;
  }

  .form-intro {
    font-size: 12px;
  }

  .form-group {
    align-items: flex-start !important;
  }

  .form-group label {
    text-align: left !important;
    width: 100%;
  }

  input,
  select {
    font-size: 13px;
  }

  .submit-btn {
    font-size: 14px;
    padding: 10px 20px;
  }
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}
