.subCentainner > .subSection1 {
  position: relative;
  width: 80%;
  max-width: 1200px;
  margin: auto;
  text-align: center;
  padding: 100px 0;
}

.subCentainner > .subSection1 > .textBox {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
}

.subCentainner > .subSection1 > .textBox > div {
  width: 25px;
  height: 1px;
  border-bottom: 2px solid;
  border-image: linear-gradient(
    to bottom right,
    var(--main-color3),
    var(--main-color)
  );
  border-image-slice: 1;
}

.subCentainner > .subSection1 > form {
  width: 100%;
  margin-top: 100px;
}

.subCentainner > .subSection1 > form > div {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-areas: "a b" "c c";
  gap: 30px;
}

.subCentainner > .subSection1 > form > div > div {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 25px;
  text-align: left;
}

.subCentainner > .subSection1 > form > div > div:nth-child(1) {
  grid-area: a;
}
.subCentainner > .subSection1 > form > div > div:nth-child(2) {
  grid-area: b;
}
.subCentainner > .subSection1 > form > div > div:nth-child(3) {
  grid-area: c;
}

.subCentainner > .subSection1 > form > div > div > div > label {
  font-size: 1.3rem;
  font-weight: bold;
}

.subCentainner > .subSection1 > form > div > div > div > div > input {
  margin-top: 10px;
}

.subCentainner > .subSection1 > form > div > div > div > .checkInputBox {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 10px;
}

.subCentainner > .subSection1 > form > div > div:last-child {
  width: 100%;
  box-sizing: border-box;
}

.subCentainner > .subSection1 > form > div > .agreementBox {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 5px;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 15px;
  background-color: #f8f9fa;
}

.subCentainner
  > .subSection1
  > form
  > div
  > .agreementBox
  > .checkboxDiv
  > input {
  width: 18px;
  height: 18px;
  margin: 0;
  margin-right: 10px;
}

.subCentainner > .subSection1 > form > div > .agreementBox > .checkboxDiv {
  display: flex;
  align-items: center;
}

.subCentainner
  > .subSection1
  > form
  > div
  > .agreementBox
  > .checkboxDiv
  > label {
  font-size: 1.2rem;
}

.subCentainner > .subSection1 > form > div > .agreementBox > .textBox > p {
  font-size: 1.2rem;
  color: var(--main-color);
}

.agreement_info {
  height: 0px;
  overflow: hidden;
}

.agreementBtnArrow {
  display: inline-block;
  transition: all 0.3s ease;
}
.agreementBtnArrow.rotate {
  transform: rotate(180deg);
}

select,
input {
  width: 100%;
  height: 40px;
  font-size: 1.2rem;
  line-height: 40px;
  padding: 0 15px;
  box-sizing: border-box;
  vertical-align: middle;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f8f9fa;
  transition: background-color 0.3s ease;
}

input[type="text"]:focus {
  background-color: #fff;
  border-color: #333;
}

input[type="text"]:not(:placeholder-shown) {
  background-color: #fff;
}

textarea {
  width: 100%;
  height: 112px;
  font-size: 1.2rem;
  box-sizing: border-box;
  vertical-align: middle;
  border: 1px solid #ddd;
  border-radius: 5px;
  background-color: #f8f9fa;
  transition: background-color 0.3s ease;
  resize: none;
  margin-top: 10px;
  padding: 10px;
}

textarea:focus {
  background-color: #fff;
  border-color: #333;
}

textarea:not(:placeholder-shown) {
  background-color: #fff;
}

.checkbox-group {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  max-width: 600px;
}

.custom-card {
  display: flex;
  align-items: center;
  padding: 10px;
  background-color: #f8f9fa;
  border: 1px solid #e9ecef;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.custom-card:hover {
  background-color: #f1f3f5;
}

.custom-card input[type="checkbox"] {
  display: none;
}

.checkmark {
  width: 20px;
  height: 20px;
  background-color: #f8f9fa;
  border: 1px solid #adb5bd;
  border-radius: 4px;
  margin-right: 12px;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.text {
  font-size: 1.2rem;
  color: #333;
  font-weight: 500;
}

.custom-card:has(input:checked) {
  border-color: #333;
  background-color: #fff;
}

.custom-card input:checked + .checkmark {
  background-color: var(--main-color);
  border-color: #333;
}

.checkmark::after {
  content: "";
  position: absolute;
  display: none;
  left: 6px;
  top: 2px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

.custom-card input:checked + .checkmark::after {
  display: block;
}

.btn_submit {
  margin-top: 50px;
  background: linear-gradient(to right, var(--main-color), var(--main-color3));
  border: none;
  color: #fff;
  border-radius: 5px;
  padding: 10px 50px;
  font-size: 1.2rem;
  cursor: pointer;
}

.btn_submit:hover {
  box-shadow: inset 0 0 0 100px rgba(0, 0, 0, 0.2);
}

@media screen and (max-width: 1025px) {
  .subCentainner > .subSection1 {
    width: 90%;
  }
}

@media screen and (max-width: 640px) {
  .subCentainner > .subSection1 {
    padding: 50px 0;
  }
  .subCentainner > .subSection1 > form > div {
    grid-template-columns: 1fr;
    grid-template-areas: "a" "b" "c";
  }

  .subCentainner > .subSection1 > form {
    margin-top: 50px;
  }

  .subCentainner > .subSection1 > form > div > div > div > label {
    font-size: 1.1rem;
  }

  .subCentainner
    > .subSection1
    > form
    > div
    > .agreementBox
    > .checkboxDiv
    > label {
    font-size: 1rem;
  }

  .subCentainner > .subSection1 > form > div > .agreementBox > .textBox > p {
    font-size: 0.9rem;
  }

  .agreement_info {
    font-size: 0.9rem;
  }

  .text {
    font-size: 1rem;
  }

  select,
  input,
  textarea {
    font-size: 1rem;
  }
}
