.section {
  background-color: #85714D;
  padding: 20px 20px 40px;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: "Montserrat", sans-serif;
}

.container {
  max-width: 1440px;
  width: 100%;
  text-align: center;
  color: white;
}

.title {
  font-size: 50px;
  font-weight: 400;
  line-height: 57px;
  letter-spacing: 0.05em;
  text-transform: capitalize;
  margin-bottom: 15px;
  text-align: center;
}

.subtitle {
  font-size: 25px;
  font-weight: 300;
  margin-bottom: 24px;
  opacity: 0.9;
}

@media (max-width: 1024px) {
  .title {
    font-size: 40px;
    line-height: 1.2;
  }

  .subtitle {
    font-size: 20px;
    margin-bottom: 22px;
  }
}

@media (max-width: 768px) {
  .title {
    font-size: 30px;
    line-height: 1.2;
  }

  .subtitle {
    font-size: 16px;
    margin-bottom: 20px;
  }
}

.form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  max-width: 964px;
  margin: 0 auto;
}

.row {
  display: flex;
  flex-direction: row;
  justify-content: center;
  gap: 16px;
  width: 100%;
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
    align-items: center;
  }
}

.fieldGroup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  flex: 1;
  max-width: 474px;
  width: 100%;
}

@media (max-width: 768px) {
  .fieldGroup {
    max-width: 100%;
  }
}

.inputWrapper {
  position: relative;
  width: 100%;
  display: flex;
  align-items: center;
}

.icon {
  position: absolute;
  left: 25px;
  color: #85714D;
  font-size: 20px;
  pointer-events: none;
}

.input {
  width: 100%;
  height: 50px;
  border-radius: 100px;
  border: none;
  padding: 10px 25px;
  font-size: 15px;
  color: #333;
  outline: none;
  transition: all 0.3s ease;
  background-color: white;
}

.inputWithIcon {
  padding-left: 60px;
}

.input::placeholder {
  color: #999;
}

.inputError {
  border: 2px solid #ff4d4d;
}

.errorText {
  color: #ffcccc;
  font-size: 12px;
  margin-top: 5px;
  margin-left: 20px;
}

.checkboxGroup {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  margin-top: 10px;
  width: 100%;
}

.checkboxLabel {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
  font-size: 15px;
}

.checkbox {
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.checkboxText {
  opacity: 0.9;
}

.buttonWrapper {
  display: flex;
  justify-content: center;
  margin-top: 10px;
  width: 100%;
}

.button {
  position: relative;
  overflow: hidden;
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.6);
  border-radius: 100px;
  padding: 10px 25px;
  height: 50px;
  width: 350px;
  max-width: 100%;
  font-size: 16px;
  font-weight: 600;
  letter-spacing: 1.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.button::after {
  content: "";
  position: absolute;
  top: -50%;
  left: -150%;
  width: 100%;
  height: 200%;
  background: linear-gradient(to right,
      transparent,
      rgba(255, 255, 255, 0.2),
      rgba(255, 255, 255, 0.4),
      rgba(255, 255, 255, 0.2),
      transparent);
  transform: rotate(30deg);
  transition: all 2.5s ease;
}

.button:hover::after {
  left: 150%;
}

.button:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
  box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
}

.buttonIcon {
  font-size: 20px;
}

.button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.thankyouContainer {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  z-index: 50;
}

.thankyouBackground {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.thankyouBackground::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
}

.thankyouContent {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
  height: 100%;
  padding: 20px;
}

.thankyouText {
  font-size: 22.63px;
  font-weight: 400;
  color: white;
  margin-top: 0px;
  line-height: 1;
  letter-spacing: 0%;
  text-align: center;
}

.backButton {
  background-color: transparent;
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.4);
  border-radius: 50px;
  padding: 0 30px;
  height: 45px;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
}

.backButton:hover {
  background-color: rgba(255, 255, 255, 0.1);
  border-color: white;
}