* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Arial, Helvetica, sans-serif;
}
.header {
  position: fixed;
  width: 100%;
  height: 100px;
  display: grid;
  grid-template-columns: 20% 50% 30%;
  border-bottom: 2px solid #2e5c1e;
  border-color: rgb(163, 163, 163);
  background-color: #ffffff;
  z-index: 999;
}

.box-header1 {
  height: 100%;
  width: 100%;
  position: relative;
}
.logo {
  position: absolute;
  width: 100%;
  height: 75%;
  object-fit: contain;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.box-header2 {
  height: 100%;
  display: flex;
  align-items: center;
}
.item-herder {
  margin-right: auto;
  font-size: 1em;
  font-weight: 700;
  cursor: pointer;
}
.item-herder a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.item-herder a:hover {
  text-decoration: none;
  color: #149b33;
  cursor: pointer;
}
.sub-item-herder {
  border-bottom: 1px rgb(218, 218, 218) solid;
  font-size: 20px;
  color: #585858;
  margin-bottom: 10px;
  display: flex;
  align-items: center;
}
.sub-item-herder a {
  text-decoration: none;
  color: inherit;
  cursor: pointer;
}
.sub-item-herder a:hover {
  text-decoration: none;
  color: #149b33;
  cursor: pointer;
}
.box-header3 {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: right;
}
.box-header4 {
  display: none;
}
.btn-header-registry {
  margin-left: auto;
  border: 1px #a6dc94 solid;
  width: 150px;
  height: 60px;
  border-radius: 10px;
  color: #3a7326;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 15%;
}
.btn-header-registry:hover {
  background-color: #3a7326;
  color: #ffffff;
}
/* Định nghĩa cơ bản cho side menu */
.side-menu {
  position: fixed;
  top: 0;
  right: -300px; /* Ẩn menu bên ngoài màn hình */
  width: 300px;
  height: 100%;
  background-color: #ffffff;
  color: white;
  transition: right 0.3s ease; /* Tạo hiệu ứng trượt mượt */
  z-index: 1000;
  padding: 20px;
}

/* Khi menu được hiển thị */
.side-menu.open {
  right: 0; /* Hiển thị menu từ bên phải */
}

.close-btn {
  font-size: 50px;
  cursor: pointer;
  color: #197919;
  margin-right: 20px;
}
.banner1 {
  position: relative; /* Để lớp phủ nằm dưới nội dung */
  width: 100%;
  height: 1000px;
  background-image: url("./assets/banner1.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: 5% 10% 10% 10%;
  z-index: 2; /* Đảm bảo nội dung nằm phía trên lớp phủ */
}

.banner1::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(11, 143, 70, 0.753); /* Lớp phủ màu xanh */
  z-index: 1; /* Đảm bảo lớp phủ nằm dưới nội dung */
  pointer-events: none;
}

.banner1 h1,
.banner1 .sub-title-banner,
.banner1 .btn-more-banner {
  position: relative;
  z-index: 3; /* Nội dung có chỉ số z-index cao hơn lớp phủ */
  color: #ffffff; /* Màu trắng để nổi bật trên nền xanh */
}
.title-banner-1 {
  font-size: 5em;
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: 10%;
  z-index: 2;
}
.title-banner-2 {
  width: 40%;
  font-size: 3em;
  color: #ffffff;
  font-weight: bold;
  margin-bottom: 50px;
  z-index: 2;
}
.sub-title-banner {
  display: flex;
  font-size: 27px;
  align-items: center;
  margin-bottom: 20px;
}
.btn-more-banner {
  margin-top: 50px;
  width: 300px;
  height: 70px;
  position: relative;
  border: 1px white solid;
  border-radius: 50px;
  color: #ffffff;
  font-size: 20px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}
.btn-more-banner:hover {
  background-color: #17b95a;
}

.content {
  padding-top: 10%;
  background-color: #85aaa833;
}
.category-company {
  display: flex;
  justify-content: space-evenly;
  margin-top: 10%;
  background-color: #ffffff;
  padding: 20px;
}
.img-company {
  width: 20%;
  height: 60px;
}
.benefit {
  text-align: center;
  background-image: url("./assets/banner_benefit.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding-bottom: 5%;
}

.title-benefit {
  font-size: 4em;
  color: #2e5c1e;
}

.sub-title-benefit {
  font-size: 1em;
  margin-bottom: 50px;
}
.box-benefit-category {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  justify-content: space-around;
}
.box-benefit {
  width: 250px;
  border-top: 1px rgb(209, 209, 209) solid;
  padding-top: 50px;
}
.title-item-benefit {
  color: #353535;
  text-align: left;
  margin-top: 50px;
  font-size: 1.5em;
  font-weight: 600;
}
.sub-title-item-benefit {
  text-align: left;
  margin-top: 20px;
  font-size: 1em;
}
.feature {
  text-align: center;
  margin-top: 15%;
}
.title-feature {
  font-size: 4em;
  color: #2e5c1e;
  border-bottom: 2px solid #2e5c1e;
}
.box-feature-category {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}
.img-feature {
  width: 100%;
}
.box-feature {
  width: 250px;
  padding-top: 5%;
}
.title-item-feature {
  color: #6d6d6d;
  text-align: left;
  margin-top: 30px;
  font-size: 1.2rem;
  font-weight: 600;
}
.sub-title-item-feature {
  text-align: left;
  margin-top: 20px;
  font-size: 1em;
}

.carousel-indicators .active {
  background-color: #28a745;
}
.carousel {
  margin-top: 10%;
}
.design-app {
  text-align: center;
  margin-top: 15%;
}
.about-us {
  margin-top: 15%;
  background-image: url("./assets/banner_hire_about_us.svg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
.about-us-title {
  font-size: 3em;
  color: #2e5c1e;
  font-weight: 600;
}
.sub-about-us-title {
  font-size: 1.5em;
  font-weight: 600;
}
.title-content {
  margin-top: 20px;
}
.content-about-us {
  display: grid;
  grid-template-columns: 1fr 1fr;
  margin-top: 50px;
}
.assurance-us {
  text-align: center;
  margin-top: 10%;
  margin-bottom: 10%;
}
.title-assurance {
  font-size: 4em;
  color: #2e5c1e;
}
.content-assurance-us {
  padding: 0 10%;
}
.footer {
  background-color: #3a3a3a;
  padding-top: 5%;
}
.footer-content-one {
  display: grid;
  grid-template-columns: 25% 20% 35% 20%;
  flex-wrap: wrap;
  margin-bottom: 50px;
}
.logo-banner {
  margin-bottom: 30px;
  padding: 5% 15% 0 5%;
}
.text-footer {
  color: #ffffff;
  margin-bottom: 30px;
}
.box-content-footer1 {
  margin-bottom: 20px;
}
.box-content-footer2 {
  color: #ffffff;
}
.box-content-footer3 {
  color: #ffffff;
}
.box-content-footer4 {
  padding-left: 50px;
}
.image-ios {
  margin-top: 20px;
  width: 100%;
}
.image-android {
  margin-top: 20px;
  width: 100%;
}
.footer-content-two {
  display: flex;
  height: 100px;
  border-top: 1px rgb(219, 219, 219) solid;
  align-items: center;
}
.footer-content-policy {
  margin-left: auto;
}
.footer-content-company {
  color: #ffffff;
}
.footer-content-policy {
  display: flex;
  color: #ffffff;
}
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  display: none; /* Ẩn modal mặc định */
  align-items: center;
  justify-content: center;
  z-index: 9999;
}
.modal-body-content {
  display: flex;
}
.modal-content {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  max-width: 1000px;
  width: 100%;
  position: relative;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid #ddd;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.modal-header .close {
  cursor: pointer;
  font-size: 20px;
}

.modal-footer {
  text-align: right;
}
.box-form-registry {
  flex: 1;
  padding: 0 30px;
  position: relative;
}
.loading-modal {
  position: absolute;
  border-radius: 5px;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, 0.938); /* Làm mờ form */
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 18px;
  color: #333;
  z-index: 10; /* Hiển thị trên form */
}
.input-name {
  width: 100%;
  height: 40px;
  padding-left: 10px;
  border: 1px solid green;
  font-size: 14px;
  border-radius: 5px;
}

.required-label {
  font-size: 15px;
}

.required-label .required-star {
  color: red;
}

.btn-registry {
  margin-top: 30px;
  background-color: #2e5c1e;
  width: 100%;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 5px;
  color: #ffffff;
  cursor: pointer;
  border-color: #2e5c1e;
}
.btn-registry:hover {
  background-color: #4c9c31;
  border-color: #4c9c31;
}
.scroll-to-top {
  position: fixed;
  bottom: 5%;
  right: 20px;
  background-color: #197919;
  border-radius: 5px;
  color: white;
  border: none;
  padding: 8px 15px;
  font-size: 16px;
  cursor: pointer;
  display: none;
  z-index: 100;
}

@media (max-width: 768px) {
  .btn-more-banner {
    width: 70%;
  }
  .logo {
    width: 150px;
    height: 60px;
  }
}

/* Màn hình máy tính bảng */
@media (max-width: 768px) {
  .content-about-us {
    display: inline;
  }
  .btn-more-banner {
    width: 70%;
  }
  .banner1 {
    padding: 25% 10% 10% 10%;
  }
  .footer-content-policy {
    display: none;
  }
  .box-header4 {
    display: none;
  }
  .btn-header-registry {
    width: 130px;
    height: 35px;
    margin-right: 20px;
    font-size: 15px;
  }
}
@media (max-width: 481px) {
  .banner1 {
    padding: 25% 10% 10% 10%;
  }
  .btn-more-banner {
    width: 90%;
  }
  .logo {
    width: 130px;
    height: 40px;
  }
  .btn-header-registry {
    width: 100px;
    height: 30px;
    font-size: 11px;
  }
}
/* Màn hình máy tính để bàn */
@media (min-width: 768px) and (max-width: 1024px) {
  .btn-more-banner {
    width: 50%;
  }
  .banner1 {
    padding: 20% 10% 10% 10%;
  }
  .btn-header-registry {
    width: 150px;
    height: 40px;
    margin-right: 20px;
  }
}
@media (max-width: 1024px) {
  .content-about-us {
    display: inline;
  }
  .footer-content-one {
    display: inline;
  }
  .box-header2 {
    display: none;
  }
  .header {
    grid-template-columns: 40% 60%;
  }
  .box-header4 {
    display: inline;
  }
  .title-banner-2 {
    width: 100%;
  }

  .title-banner-1 {
    font-size: 3em;
  }
  .title-banner-2 {
    font-size: 1.5em;
  }
  .sub-title-banner {
    font-size: 20px;
  }
  .banner1 {
    height: 800px;
  }
  .box-content-footer4 {
    padding-left: 0;
  }
  .image-ios {
    margin-top: 20px;
    width: 200px;
  }
  .image-android {
    margin-top: 20px;
    width: 200px;
  }
  .box-image-platform {
    margin-left: 20px;
    width: 40%;
    padding-bottom: 20px;
  }
  .box-banner-registry {
    display: none;
  }
  .modal-content {
    max-width: 500px;
  }
  .box-form-registry {
    padding: 0 10px;
  }

  .header {
    padding-right: 5%;
  }
}
