body {
  background-color: #eff9f1;
}

@media (min-width: 992px) {
  body {
    background-image: url("../image/bg/contact-bg.png");
    background-position: right -15rem top -2rem;
    background-repeat: no-repeat;
  }
}

.container {
  margin: 0 auto;
  width: min(100% - 2rem, 1200px);
}

h1 {
  font-size: 2.875rem;
  color: #051f20;
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  h1 {
    font-size: 3.75rem;
  }
}

p {
  font-size: 1.25rem;
  color: rgba(5, 31, 32, 0.7);
}

@media (min-width: 640px) {
  p {
    font-size: 1.875rem;
  }
}

header {
  margin-bottom: 2.5rem;
}

@media (min-width: 992px) {
  header {
    margin-bottom: 3.25rem;
  }
}

.nav {
  /* margin: 0 auto;
  width: min(100% - 2rem, 1400px); */
  padding: 1.625rem 2rem;
  border-bottom: 1px solid rgba(0, 0, 0, 0.5);
  margin-bottom: 3rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media (min-width: 992px) {
  .nav {
    margin-bottom: 6.875rem;
  }
}

.nav__list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.nav__list li:not(:last-child) {
  margin-left: 1.5rem;
}

@media (min-width: 640px) {
  .nav__list li:not(:last-child) {
    margin-left: 3rem;
  }
}

.nav a {
  position: relative;
  color: #000;
  text-decoration: none;
  text-transform: uppercase;
  font-size: 0.875rem;
  font-weight: 500;
  padding-bottom: 3px;
}

.nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: 0;
  display: inline-block;
  width: 100%;
  height: 2px;
  background-color: #000;
  opacity: 0;
  transition: opacity 0.25s ease;
}

.nav a.active,
.nav a:hover::after {
  opacity: 1;
}

.nav img {
  width: 100px;
}

.wrapper {
  padding: 1.5rem;
  background: #ffffff;
  box-shadow: 0px 0px 60px 30px rgba(0, 0, 0, 0.05);
  border-radius: 20px;
  display: grid;
  gap: 3.5rem;
}

@media (min-width: 992px) {
  .wrapper {
    padding: 1rem;
    padding-right: 5rem;
    gap: 5rem;
    grid-template-columns: 1fr 1.5fr;
  }
}

.contact__wrapper {
  padding: 2rem;
  color: #fff;
  background-color: #051f20;
  border-radius: 14px;
  background-image: url("../image/bg/mail-box.png");
  background-size: 125px auto;
  background-repeat: no-repeat;
  background-position: left bottom;
}

@media (min-width: 992px) {
  .contact__wrapper {
    padding: 2.625rem;
    padding-top: 5rem;
    background-size: 200px auto;
  }
}

.contact__info {
  margin-bottom: 6rem;
}

@media (min-width: 992px) {
  .contact__info {
    margin-bottom: 10rem;
  }
}

.contact__info li:not(:last-child) {
  margin-bottom: 2rem;
}

@media (min-width: 640px) {
  .contact__info li:not(:last-child) {
    margin-bottom: 3.25rem;
  }
}

.contact__info svg {
  margin-right: 1rem;
}

@media (min-width: 640px) {
  .contact__info svg {
    margin-right: 1.625rem;
  }
}

.contact__social {
  display: flex;
  align-items: center;
}

.contact__social li:not(:last-child) {
  margin-right: 1.625rem;
}

.contact__social a {
  width: 30px;
  height: 30px;
  background-color: #daf1de;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  transition: background-color 0.25s ease;
}

.contact__social a:hover {
  background-color: #fff;
}

@media (max-width: 991px) {
  .register {
    padding: 2rem 1.5rem 1.5rem;
  }
}

@media (min-width: 992px) {
  .contact__form {
    padding: 3rem 0;
  }

  .register {
    padding: 3rem;
  }
}

.contact__form h2 {
  color: #051f20;
  font-size: 1.5rem;
  line-height: 1.25;
  font-weight: 500;
  margin: 0 0 1rem 0;
}

@media (min-width: 992px) {
  .contact__form h2 {
    font-size: 2.125rem;
  }
}

.contact__form p {
  font-size: 1rem;
  color: rgba(5, 31, 32, 0.7);
}

@media (min-width: 992px) {
  .contact__form p {
    font-size: 1.25rem;
  }
}

.form__field:not(:last-child) {
  margin-bottom: 1.875rem;
}

.form__input {
  /* appearance: none; */
  outline: none;
  text-align: left;
  box-sizing: border-box;
  display: block;
  width: 100%;
  padding: 1rem 1.275rem;
  border: 1px solid #d3d3d3 !important;
  border-radius: 10px;
  color: #6a6a6a;
}


.input-group {
  flex-direction: column;
  gap: 1.875rem;
}

@media (min-width: 992px) {
  .input-group {
    flex-direction: row;
    gap: 1rem;
  }
}

.form__input:focus {
  outline: none;
  border-color: #051f20 !important;
}

select.form__input {
  background-image: url("../image/icon/arrow-down-sm.svg");
  background-repeat: no-repeat;
  background-position: right 15px center;
  background-size: 20px 20px;
}

.form__btn {
  appearance: none;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  background-color: #051f20;
  border-radius: 10px;
  padding: 1.25rem 3rem;
  outline: none;
  border: none;
  cursor: pointer;
}

.form__btn:hover {
  opacity: 0.75;
}

.form__btn:active {
  opacity: 1;
  color: #051f20;
  background-color: #daf1de;
}

@media (min-width: 992px) {
  .form__btn {
    font-size: 1.325rem;
  }
}

.custom-radio+.custom-radio {
  margin-inline-start: 3rem;
}

.custom-radio .radio-box {
  flex-shrink: 0;
  margin-inline-end: 8px;
  width: 24px;
  height: 26px;
  display: inline-block;
  background-image: url("./../image/icon/radio.png");
  background-size: 99% auto;
  background-repeat: no-repeat;
  background-position: center;
}

.custom-radio input:checked+.radio-box {
  background-image: url("./../image/icon/radio-checked.png");
}

/* download */

.download {
  margin: 5rem 0;
  display: grid;
  gap: 5rem;
}

@media (min-width: 992px) {
  .download {
    margin: 18rem 0 5rem;
    gap: 8.5rem;
    align-items: start;
    grid-template-columns: 1fr 1.5fr;
  }
}

.download__list {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
}

@media (min-width: 640px) {
  .download__list {
    flex-direction: row;
  }
}

.download__list li:not(:last-child) {
  margin-bottom: 1rem;
}

@media (min-width: 640px) {
  .download__list li:not(:last-child) {
    margin-left: 0.875rem;
    margin-bottom: 0;
  }
}

.download__list img {
  margin: auto;
  display: block;
}

.download h2 {
  font-size: 3.125rem;
  line-height: 1.1;
  font-weight: 500;
  text-align: center;
  max-width: 25ch;
  margin: 0 auto 2rem;
}

@media (min-width: 992px) {
  .download h2 {
    margin: 0 0 2rem 0;
    text-align: right;
  }
}

.download-shape {
  display: block;
  margin: auto;
}

@media (min-width: 992px) {
  .download-shape {
    margin: 0 auto 0 0;
  }
}

/* footer */

@media (max-width: 767px) {
  footer ul {
    justify-content: center;
  }

  footer p {
    text-align: center;
  }
}
