*,
*::after,
*::before {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

.letter-spacing--1 {
  letter-spacing: -0.01em;
}

.letter-spacing-1 {
  letter-spacing: 0.01em;
}

.letter-spacing--2 {
  letter-spacing: -0.02em;
}

.letter-spacing-2 {
  letter-spacing: 0.02em;
}

.letter-spacing--3 {
  letter-spacing: -0.03em;
}

.letter-spacing-3 {
  letter-spacing: 0.03em;
}

.letter-spacing--4 {
  letter-spacing: -0.04em;
}

.letter-spacing-4 {
  letter-spacing: 0.04em;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: #fefff4;
  position: relative;
  width: 100%;
  overflow-x: hidden !important;
  letter-spacing: -0.03em;
  box-sizing: border-box;
}

html {
  margin-top: 0 !important;
}

.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 50px;
  width: 100vw;
  position: sticky;
  top: 0;
  left: 0;
  z-index: 999;
  background-color: #fefff4;
  height: 120px;
}

.navigation {
  display: none;
  justify-content: center;
  align-items: center;
  padding: 10px 20px;
  gap: 40px;
}

.navigation div {
  text-align: center;
}

.socials {
  display: flex;
  align-items: center;
  gap: 10px;
}

.apply-btn {
  border-radius: 10px;
  background-color: #122620 !important;
  color: #ffeff4;
  padding: 10px 20px;
  cursor: pointer;
  font-size: 16px;
  display: none;
}

.main {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.introduction {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  justify-content: center;
  margin: 0 auto;
  padding: 0 20px 40px 0;
  max-width: 750px;
}

.introduction h3 {
  font-family: 'Bree Serif', serif;
  font-size: 64px;
  font-weight: bold;
  margin-top: 0;
  margin-bottom: 0;
  line-height: 1;
  color: #122720;
  stroke: 1px;
  -webkit-text-stroke: 1px #122720;
  letter-spacing: -0.01em;
}

.introduction p {
  font-size: 20px;
  width: 100%;
  margin: 40px 0;
  padding-top: 20px;
  max-width: 650px;
  line-height: 1.6;
  color: #122720;
  letter-spacing: 0.01em;
}

.introduction span {
  color: #237747;
  letter-spacing: 0.01em;
}

.introduction .apply-now-btn,
.apply-now-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  font-size: 16px;
  background-color: #237747 !important;
  color: #fefff4;
  border: none;
  padding: 10px 30px;
  text-decoration: none;
  margin-top: 40px;
  height: 40px;
  width: 168px;
  font-weight: 900;
  letter-spacing: -0.01px;
}

.apply-now-container {
  display: flex;
  justify-content: center;
  align-items: center;
}

.about-us {
  display: flex;
  background-color: #d0f1de;
  justify-content: center;
  align-items: center;
  padding: 40px 0;
  gap: 20px;
}

.about-us .item {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 40px;
  gap: 10px;
}
.about-us .item p {
  letter-spacing: 0;
  line-height: 24px;
}

.about-us .item img {
  max-width: 100%;
  height: auto;
  margin-bottom: 5px;
}

.about-us .item h4 {
  color: #237747;
  font-size: 36px;
  margin: 5px 0;
  font-weight: 700;
  line-height: 100%;
  letter-spacing: -0.04em;
}

.about-us .item p {
  text-align: center;
  margin: 5px 0;
  max-width: 90%;
  color: #122720;
  max-width: 360px;
  line-height: 1.5;
}

.forms {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  background-color: #fefff4;
  /* height: calc(100vh - 120px); */
  padding: 120px 0;
}

.application-form input,
select {
  height: 32px;
}
.custom-select {
  padding: 0 12px !important;
}

.forms .how-it-works-form {
  width: 456px;
}

.forms .how-it-works-apply {
  width: 552px;
}

.forms .form {
  border-radius: 20px;
  background-color: #122720;
  padding: 30px;
  display: flex;
  flex-direction: column;
  height: auto;
  /* justify-content: space-between; */
  /* min-height: 400px; */
}

.how-it-works {
  display: flex;
  flex-direction: column;
  gap: 56px;
  flex-grow: 1;
  justify-content: center;
}
.application-form {
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

.how-it-works-item {
  display: flex;
  align-items: center;
  gap: 26px;
}

.how-it-works-item .index {
  width: 24px;
  height: 24px;
  background-color: #237747;
  color: #fefff4;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 20px;
  border-radius: 4px;
}

.how-it-works-item .info {
  font-size: 20px;
  font-weight: 400;
  color: #fefff4;
}

.form-group {
  display: flex;
  flex-direction: column;
  margin-bottom: 16px;
}

.form-group label {
  color: #fefff4;
  font-size: 16px;
  margin-bottom: 4px;
  font-weight: 500;
  position: relative;
}

.form-group label::after {
  content: '';
  color: #237747;
}

/* Thêm dấu * chỉ cho các trường bắt buộc */
.form-group label[for='fullname']::after,
.form-group label[for='mobile']::after {
  content: ' *';
  color: #237747;
}

.form-group input,
.form-group select,
.form-group textarea {
  background-color: rgba(255, 255, 255, 0.1);
  border: none;
  border-radius: 4px;
  padding: 12px 15px;
  color: #fefff4;
  font-size: 16px;
}

.form-group input::placeholder,
.form-group select::placeholder,
.form-group textarea::placeholder {
  color: rgba(255, 255, 255, 0.5);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  box-shadow: 0 0 0 2px rgba(35, 119, 71, 0.5);
}

.btn-submit {
  display: flex;
  justify-content: center;
  align-items: center;
}

.btn-submit .submit-btn {
  border-radius: 5px;
  font-size: 20px;
  background-color: #237747 !important;
  color: #fefff4;
  border: none;
  padding: 10px 30px;
  margin-top: 12px;
}

.form-title {
  font-size: 44px;
  color: #fefff4;
  text-align: center;
  font-weight: 900;
  letter-spacing: -0.04em;
  line-height: auto;
  margin-top: 12px;
}

/* .forms .form:nth-child(1) {
  width: 35%;
}

.forms .form:nth-child(2) {
  width: 30%;
} */

.faq-section {
  background-color: #d0f1de;
  padding: 60px 0;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0;
}

.faq-heading {
  font-size: 44px;
  font-weight: 900;
  letter-spacing: -0.04em;
  font-family: 'Inter', sans-serif;
  text-align: center;
  margin-bottom: 40px;
  color: #122620;
}

.faq-container {
  max-width: 800px;
  margin: 0 auto;
}

.faq-item {
  margin-bottom: 15px;
  border-bottom: 1px solid #237747;
  background-color: transparent;
}

.faq-question {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 0;
  cursor: pointer;
  background-color: transparent;
  transition: all 0.3s ease;
}

.faq-question h3 {
  margin: 0;
  font-size: 20px;
  font-weight: 700;
  color: #000000;
}

.faq-icon {
  font-size: 20px;
  color: #122720;
  transition: transform 0.3s ease;
  pointer-events: none;
}

.faq-answer {
  padding: 0;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
  color: #122720;
  line-height: 1.6;
}

.faq-answer p {
  margin: 0;
  padding-bottom: 16px;
  color: #000000;
  line-height: 1.6;
  font-weight: 400;
}

.faq-item.active .faq-icon {
  transform: rotate(180deg);
}

.faq-item.active .faq-answer {
  max-height: 500px;
  padding: 10px 0 20px 0;
}

.navigation {
  padding-right: 96px;
}

.navigation div a {
  color: #122720;
  text-decoration: none;
  font-size: 16px;
}

.navigation div a:hover {
  color: #237747;
}

button {
  cursor: pointer;
}

.apply-btn {
  color: white;
  text-decoration: none;
  font-size: 16px;
  font-weight: 400;
}

.apply-link,
a {
  color: white;
  text-decoration: none;
  font-weight: bold;
  font-size: 16px;
  display: inline-block;
  font-weight: 400;
}

.introduction p {
  font-size: 20px;
  text-align: center;
  width: 100%;
  margin: 0 auto;
  display: block;
  line-height: 1.5;
  color: #122720;
  letter-spacing: 0.01em;
}

/* Mobile Menu Styles */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  width: 30px;
  height: 21px;
  cursor: pointer;
  z-index: 1000;
}

.mobile-menu-toggle span {
  display: block;
  height: 3px;
  width: 100%;
  background-color: #122620;
  border-radius: 3px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
  transform: translateY(9px) rotate(45deg);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: translateY(-9px) rotate(-45deg);
}

.mobile-footer-socials {
  display: flex;
  max-width: 1200px;
  background-color: #fefff4;
  padding: 10px 0;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 auto;
}

.mobile-footer-social-links {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

@media screen and (max-width: 2634px) {
  .main {
    min-height: calc(50vh);
  }
}

@media screen and (max-width: 1024px) {
  .forms {
    box-sizing: border-box;
    display: flex;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 30px;
    height: auto;
    padding: 50px 32px;
  }

  .forms .how-it-works-form {
    width: 620px;
  }

  .forms .how-it-works-apply {
    width: 620px;
  }
}

@media screen and (max-width: 768px) {
  body {
    overflow-x: hidden;
  }
  .site-header {
    position: relative;
    justify-content: center;
    align-items: center;
  }
  .introduction p,
  span {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.01em;
  }

  .mobile-menu-toggle {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
  }

  .navigation,
  .socials {
    display: none;
    position: absolute;
    left: 0;
    width: 100%;
    background-color: #fefff4;
    flex-direction: column;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    z-index: 998;
  }

  .navigation.active,
  .socials.active {
    display: flex;
  }

  .navigation {
    top: 100%;
    border-bottom: 1px solid #eee;
  }

  .socials {
    bottom: 0;
    top: auto;
    position: fixed;
    border-top: 1px solid #eee;
  }

  .navigation div {
    width: 100%;
    padding: 10px 0;
    border-bottom: 1px solid #eee;
  }

  .socials button {
    margin-bottom: 10px;
  }

  .apply-btn {
    width: 100%;
    text-align: center;
    margin-top: 20px;
    display: block;
  }

  .forms {
    box-sizing: border-box;
    display: flex;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 30px;
    height: auto;
    padding: 50px 32px;
  }

  .forms .form {
    /* width: 90% !important;
    padding: 30px 20px; */
    min-height: 350px;
  }

  /* .forms .form:nth-child(1),
  .forms .form:nth-child(2) {
    width: 90% !important;
  } */

  .forms .form:nth-child(1) {
    padding: 30px;
  }

  .form-title {
    font-size: 32px;
    padding-bottom: 20px;
  }
  .how-it-works {
    gap: 30px;
  }

  .how-it-works-item .info {
    font-size: 16px;
    font-weight: 400;
  }

  .about-us {
    display: flex;
    flex-direction: column !important;
    width: 100%;
    gap: 0;
  }

  .about-us .item {
    padding: 10px;
    gap: 0;
  }

  .about-us .item:nth-child(0) {
    padding-top: 30px;
  }

  .about-us .item:nth-child(2) {
    padding-bottom: 30px;
  }

  .about-us .item h4 {
    font-size: 32px;
  }
  .about-us .item p {
    font-size: 14px;
  }

  .introduction {
    padding: 0 40px;
  }

  .introduction h3 {
    font-size: 40px;
    letter-spacing: -0.01em;
  }

  .introduction p {
    font-size: 16px;
  }
  main {
    padding: 0;
  }

  .mobile-footer-socials {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
  }
  .mobile-footer-social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
  }
  .faq-section {
    padding: 64px 32px;
  }
  .faq-question {
    font-size: 16px;
  }
  .faq-heading {
    font-size: 32px;
  }
  .apply-now-container {
    display: none;
  }
}

@media screen and (max-width: 480px) {
  .main {
    min-height: 0;
    padding: 40px 0 40px 0;
  }

  .logo img {
    width: 135px;
    height: 48px;
  }

  .introduction {
    padding: 0 30px;
  }

  .introduction p,
  span {
    font-size: 16px;
    line-height: 24px;
    letter-spacing: 0.01em;
  }

  .introduction h3 {
    font-size: 40px;
  }
  .how-it-works {
    gap: 30px;
  }

  .how-it-works-item .info {
    font-size: 16px;
    font-weight: 400;
  }

  .about-us {
    display: flex;
    flex-direction: column !important;
    width: 100%;
    align-items: center;
    gap: 0;
  }
  .introduction {
    padding: 32px;
  }
  .about-us .item {
    /* padding: 30px; */
    max-width: 90%;
    text-align: center;
    gap: 0;
  }

  .about-us .item h4 {
    font-size: 32px;
    text-align: center;
  }
  .about-us .item p {
    font-size: 14px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
  }
  .forms {
    box-sizing: border-box;
    display: flex;
    flex-direction: column !important;
    align-items: center;
    justify-content: center;
    gap: 30px;
    height: auto;
    padding: 50px 32px;
  }

  .forms .form {
    width: 85% !important;
    padding: 30px 20px;
    min-height: 350px;
    margin-left: auto;
    margin-right: auto;
  }

  .forms .form:nth-child(1),
  .forms .form:nth-child(2) {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
  }
  .forms .form:nth-child(1) {
    padding: 30px;
  }

  .introduction .apply-now-btn {
    width: 70%;
  }

  .site-header {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 32px;
  }

  .logo {
    position: relative;
    left: 0;
    display: flex;
    align-items: center;
  }

  .logo img {
    max-height: 50px;
    width: auto;
    display: block;
  }

  @media screen and (max-width: 768px) {
    .logo {
      margin: 0 auto 0 0;
    }

    .logo img {
      max-height: 40px;
    }
  }

  @media screen and (max-width: 425px) {
    .logo {
      margin: 0 auto 0 0;
    }

    .logo img {
      max-height: 35px;
    }
  }

  .mobile-menu-toggle {
    display: flex;
    /* position: absolute; */
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
  }

  .faq-section {
    padding: 65.5px 32px;
  }
  .faq-item {
    font-size: 14px;
    margin: 0;
  }
  .faq-heading {
    text-align: center;
    font-size: 32px;
    letter-spacing: -0.04em;
    line-height: 40px;
    margin-bottom: 16px;
  }
  .faq-question h3 {
    font-size: 16px !important;
    font-weight: 700;
    letter-spacing: 0em;
  }
  .faq-question {
    padding: 16px 0;
  }
  .faq-icon {
    font-size: 16px;
  }
  .apply-btn {
    font-size: 16px !important;
    line-height: 16px;
    border-radius: 8px;
    width: 88px !important;
    font-weight: 400;
    letter-spacing: 0em;
    padding: 12px 8px !important;
    display: block;
  }
}

.mobile-footer-socials {
  padding: 8px 32px;
}

.mobile-footer-socials button {
  background-color: transparent;
  border: none;
  margin: 0 5px;
}
.mobile-footer-socials .apply-btn {
  margin: 0;
}

.form-group label {
  display: block;
  margin-bottom: 8px;
  font-size: 16px;
  letter-spacing: 0;
}

.select-wrapper {
  position: relative;
}

.custom-select {
  width: 100%;
  background-color: #374151; /* gray-700 */
  color: white;
  border: 1px solid #4b5563; /* gray-600 */
  border-radius: 8px;
  padding: 12px 40px 12px 16px;
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  font-size: 16px;
  outline: none;
}

.custom-select:focus {
  outline: none;
  box-shadow: 0 0 0 2px #14b8a6; /* teal-500 */
}

.select-icon {
  position: absolute;
  right: 16px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  color: #9ca3af; /* gray-400 */
}

.custom-select option {
  background-color: #374151;
  color: white;
}

.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

/* Modal Box */
.modal {
  background-color: #d0f1de;
  border-radius: 8px;
  padding: 48px;
  max-width: 400px;
  text-align: center;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  color: #fefff4;
}

.modal h2 {
  margin-bottom: 16px;
  font-size: 20px;
  color: #fefff4;
}

.modal p {
  color: #122620;
  font-size: 16px;
  letter-spacing: 0;
  font-weight: 400;
}

.modal h3 {
  color: #122620;
  font-size: 36px;
  font-weight: bold;
  letter-spacing: -0.04em;
}

.modal button {
  background-color: #237747;
  color: white;
  padding: 10px 20px;
  border: none;
  border-radius: 6px;
  cursor: pointer;
  font-size: 16px;
}

.modal button:hover {
  background-color: #0d9488;
}

.content {
  text-align: center;
  padding: 2rem 0;
}

.icon-wrapper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 64px;
  height: 64px;
  background-color: #237747;
  border-radius: 9999px;
  margin-bottom: 1.5rem;
  animation: scaleIn 0.4s ease-in-out;
}

.icon-wrapper svg {
  width: 32px;
  height: 32px;
  color: white;
}

.content h3 {
  font-size: 36px;
  font-weight: 600;
  color: #122620;
  margin-bottom: 16px;
}

.content p {
  color: #122620;
  font-size: 16px;
}

@keyframes scaleIn {
  0% {
    transform: scale(0.5);
    opacity: 0;
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.logo {
  position: relative;
  left: 0;
  display: flex;
  align-items: center;
}

.logo img {
  max-height: 100px;
  width: auto;
  display: block;
}

.socials a i.bi,
.mobile-footer-socials a i.bi {
  font-size: 20px;
  transition: all 0.3s ease;
  color: #122720;
}

.socials a:hover i.bi,
.mobile-footer-socials a:hover i.bi {
  transform: scale(1.2);
}

/* Đảm bảo nút có kích thước phù hợp */
.socials button {
  background-color: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

/* Responsive cho màn hình nhỏ */
@media screen and (max-width: 768px) {
  .socials button i.bi {
    font-size: 28px; /* Phóng to hơn trên mobile */
  }
}

.about-us .item i {
  font-size: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-bottom: 4px;
  color: #122720;
}
