:root {
  --heading: #068744;
  --light-background: #f2f2f2;
  --dark-background: #002914;
  --text: #2c3e50;
  --button-background: #d9a42d;
  --button-text: #fff;
}

body {
  font-family: "Raleway";
  font-weight: 400;
  font-size: 16px;
  color: var(--text);
  background-color: #fff;
}

.container {
  max-width: 1440px;
}

img {
  max-width: 100%;
  height: auto;
  border: none;
}

.btn {
  width: 15.75rem;
  padding: 1rem 2rem;
  border-radius: 6.25rem;
  font-weight: 500;
  font-size: 1rem;
  border: none;
  transition: 0.3s ease-in-out;
  box-shadow: none;
  outline: none;
}

.btn-primary {
  background-color: var(--button-background);
  color: var(--button-text);
}

.btn-primary:hover,
.btn-primary:focus,
.btn.btn-primary:active,
.btn.btn-primary:focus-visible {
  background-color: var(--dark-background);
  color: var(--button-text);
  border: none;
  box-shadow: none;
}

.block-title-line {
  height: 1px;
  width: 15.625rem;
  background-color: var(--text);
  margin: 0 auto 2rem;
}

.block .field-image {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%; /* 16:9 aspect ratio (9 / 16 * 100) */
}

.block .field-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover; /* Đảm bảo ảnh không bị căn chỉnh ra khỏi container */
}

/* Header */
#header {
  background-color: var(--dark-background);
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 99;
}

.sf-menu li {
  background: none;
  /* transition: none; */
}

.sf-menu a,
.sf-menu span {
  border: none;
  padding: 2.25rem 1.5rem;
  color: #fff;
  text-transform: uppercase;
  font-weight: 500;
  font-size: 1rem;
  display: inline-block;
}

.sf-menu li:hover,
.sf-menu li.sfHover {
  background: none;
}

.sf-menu li:hover a,
.sf-menu li.sfHover a,
.sf-menu li:hover span,
.sf-menu li.sfHover span {
  color: #ecd196;
}

.sf-menu ul {
  background-color: var(--dark-background);
  box-shadow: none;
  min-width: 5rem;
  width: auto;
}

.sf-menu ul li {
  background: none;
  border-bottom: 1px solid #fff;
}

.sf-menu ul li:last-child {
  border-bottom: none;
}

.sf-menu li li a {
  padding: 1rem;
}

.sf-menu li.sfHover li a {
  color: #fff;
}

.sf-menu ul li:hover a {
  color: #ecd196;
}
/* End Header */

/* Main Content */
#main {
  margin: 0;
  padding-top: 15rem;
  padding-bottom: 7.5rem;
}

.block {
  margin-bottom: 0;
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}

.block-title {
  font-family: "Noto Serif Display";
  font-weight: 400;
  font-style: italic;
  font-size: 2rem;
  color: var(--heading);
  margin-bottom: 2rem;
  text-align: center;
  text-transform: uppercase;
}

.block-subtitle {
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--button-background);
  text-align: center;
  margin-bottom: 0;
  text-transform: uppercase;
}

.swiper-btn .swiper-btn-wrapper {
  display: flex;
  gap: 2rem;
}

.swiper-btn i {
  display: inline-flex;
  background-color: #fff;
  border-radius: 50%;
  width: 2.5rem;
  height: 2.5rem;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--text);
  transition: 0.3s ease-in-out;
}

.swiper-btn i:hover {
  background-color: var(--button-background);
  color: #fff;
  cursor: pointer;
}
/* End Main Content */

/* Block Why Choose Us */
.block-why-choose-us {
  background-color: var(--dark-background);
}

/* .block-why-choose-us .block-subtitle {
  color: #fff;
} */

.block-why-choose-us .block-title {
  color: #fff;
  margin-bottom: 2rem;
}

.block-why-choose-us .block-title-line {
  background-color: var(--button-text);
}

.block-why-choose-us .flex-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  list-style: none;
  padding: 0;
  margin: 0;
}

.block-why-choose-us .flex-item {
  width: calc(33.33% - 2rem);
  margin-bottom: 3.75rem;
  box-sizing: border-box;
  text-align: center;
  padding-left: 1rem;
  padding-right: 1rem;
}

.block-why-choose-us .flex-item:nth-child(4),
.block-why-choose-us .flex-item:nth-child(5),
.block-why-choose-us .flex-item:nth-child(6) {
  margin-bottom: 0;
}

.block-why-choose-us .field-sub-title {
  font-weight: 400;
  font-style: italic;
  font-family: "Noto Serif Display";
  font-size: 1.125rem;
  color: #fff;
  margin-top: 2rem;
  text-transform: uppercase;
}

.block-why-choose-us .field-image {
  height: auto;
  padding-top: 0;
}

.block-why-choose-us .field-image img {
  position: unset;
  object-fit: unset;
  width: unset;
  height: auto;
}

.block-why-choose-us .field-title {
  font-weight: 400;
  font-family: "Noto Serif Display";
  font-size: 2rem;
  color: #fff;
  margin-bottom: 1rem;
  text-transform: uppercase;
}

.block-why-choose-us .field-desc {
  font-weight: 400;
  font-size: 1.125rem;
  color: #fff;
}
/* End Block Why Choose Us */

/* Block Highlight */
.block-highlight {
  background-color: var(--dark-background);
}

.block-highlight .field-desc {
  font-weight: 400;
  color: #fff;
  font-style: italic;
  font-size: 2rem;
  font-family: "Noto Serif Display";
  text-align: center;
  margin-bottom: 3.75rem;
  position: relative;
}

.block-highlight .field-desc .field-desc--icon {
  background: url("../images/frontpage/icon-quote.svg") no-repeat scroll 0 0
    transparent;
  width: 8.375rem;
  height: 6.75rem;
  position: absolute;
  top: -3rem;
  left: -3rem;
  background-size: cover;
  z-index: 1;
}

.block-highlight .field-desc .field-desc--content {
  position: inherit;
  z-index: 2;
}

.block-highlight .field-number {
  font-weight: 400;
  font-size: 3rem;
  color: var(--button-background);
  font-family: "Noto Serif Display";
}

.block-highlight .field-title {
  font-weight: 400;
  font-size: 2rem;
  color: #fff;
  font-family: "Noto Serif Display";
  text-transform: uppercase;
}
/* End Block Highlight */

/* Block Projects */
.block-projects .swiper .swiper-slide {
  opacity: 0.5;
  transition: opacity 0.5s ease-in-out;
}

.block-projects .swiper .swiper-slide.swiper-slide-active {
  opacity: 1;
}

.block-projects .nav {
  display: flex;
  justify-content: center;
  margin-bottom: 2rem;
  border: none;
  gap: 2rem;
}

.block-projects .nav-link {
  width: 15.75rem;
  text-align: center;
  padding: 0.75rem 1rem;
  border: 1px solid var(--text);
  border-radius: 100px;
  margin: 0;
  background: none;
  color: var(--text);
}

.block-projects .nav-link:hover,
.block-projects .nav-link.active {
  color: var(--button-text);
  background: var(--button-background);
  border: 1px solid var(--text);
}

.block-projects .tab-pane {
  position: relative;
}

.block-projects .field-info {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: rgba(44, 62, 80, 0.7);
  padding: 2rem;
}

.block-projects .field-title {
  font-size: 1.125rem;
  color: var(--button-text);
  margin-bottom: 0.75rem;
  font-style: italic;
  font-family: "Noto Serif Display";
}

.block-projects .field-info-content {
  display: flex;
  align-items: end;
  gap: 2rem;
  justify-content: space-between;
}

.block-projects .field-desc {
  color: var(--button-text);
}

.block-projects .swiper-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  left: 0;
  right: 0;
  z-index: 1;
}

.block-projects .swiper-btn-wrapper {
  justify-content: space-between;
}
/* End Block Projects */

/* Block Lead Form */
.block-lead-form {
  background: url("../images/frontpage/bg-lead-form.jpg") no-repeat scroll
    center center transparent;
  background-size: cover;
  position: relative;
  padding-top: 7.5rem;
  padding-bottom: 7.5rem;
}

.overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
}

.block-lead-form .block-content {
  position: relative;
  z-index: 1;
}

.block-lead-form .lead-form-wrapper {
  background-color: #fff;
  padding: 2rem;
  box-shadow: rgba(0, 0, 0, 0.5) 0px 3px 8px;
}

.block-lead-form .block-desc {
  margin-bottom: 2rem;
}

.block-lead-form .form-label {
  font-weight: 500;
}

.block-lead-form .form-text {
  border-radius: unset;
  border: none;
  border-bottom: 1px solid #000;
  padding-left: 0;
  padding-right: 0;
  outline: none;
  box-shadow: none;
  background-color: transparent;
}

.block-lead-form .checkbox-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: start;
  gap: 16px;
}

.block-lead-form .checkbox-group .form-check {
  display: flex;
  align-items: center;
  padding-left: 0;
  margin-bottom: 0;
  height: auto;
}

.block-lead-form .checkbox-group .form-check-input {
  display: none;
}

.block-lead-form .checkbox-group .form-check-label {
  border: 1px solid #ccc;
  border-radius: 20px;
  padding: 12px 16px;
  cursor: pointer;
  font-size: 1rem;
}

.block-lead-form .checkbox-group .form-check-input:checked + .form-check-label {
  background-color: var(--dark-background);
  color: #fff;
  border-color: var(--dark-background);
}

.block-lead-form .form-submit {
  margin: 0 auto;
  display: block;
}
/* End Block Lead Form */

/* Block Video */
.block-video .field-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%; /* 16:9 aspect ratio (9 / 16 * 100) */
  box-shadow: rgba(0, 0, 0, 0.5) 0px 3px 8px;
}

.block-video .field-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}
/* End Block Video */

/* Block Articles */
.block-articles {
  background-color: #f2f2f2;
}

.block-articles .block-subtitle {
  text-align: left;
}

.block-articles .block-title {
  text-align: left;
}

.block-articles .block-title-line {
  margin: 0 0 2rem 0;
}

.block-articles .block-title-wrapper .col-xl-6:last-child {
  display: flex;
  justify-content: end;
  align-items: end;
  margin-bottom: 3.75rem;
}

.block-articles .block-title-wrapper a.btn-view-more {
  color: var(--button-background);
  text-decoration: none;
  display: flex;
  align-items: center;
}

.block-articles .block-title-wrapper a.btn-view-more i {
  margin-left: 0.5rem;
  font-size: 1.125rem;
}

.block-articles .block-title-wrapper a.btn-view-more:hover {
  color: var(--dark-background);
}

.block-articles .field-info {
  margin-top: 1rem;
}

.block-articles .field-image {
  overflow: hidden;
}

.block-articles .field-image img {
  transition: ease-in-out 0.3s;
}

.block-articles .field-image:hover img {
  transform: scale(1.1);
}

.block-articles .field-title {
  font-weight: 500;
  font-size: 1.125rem;
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 2; /* Số dòng cố định */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; /* Hiển thị dấu ba chấm khi văn bản bị cắt */
}

.block-articles .field-desc {
  margin-bottom: 1rem;
  display: -webkit-box;
  -webkit-line-clamp: 3; /* Số dòng cố định */
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis; /* Hiển thị dấu ba chấm khi văn bản bị cắt */
}

.block-articles .field-view-more a {
  color: #000;
  text-decoration: none;
  font-weight: 500;
}

.block-articles .field-view-more a:hover {
  color: var(--button-background);
}
/* End Block Articles */

/* Footer */
#footer {
  background: var(--dark-background);
  padding-top: 4rem;
  padding-bottom: 4rem;
}

.footer-info .field-image {
  margin-bottom: 2rem;
}

.footer-info .field-desc {
  font-size: 1.125rem;
  color: var(--button-text);
  margin-bottom: 2rem;
}

.footer-info .field-social {
  list-style: none;
  display: flex;
  gap: 1rem;
  margin: 0;
  padding: 0;
}

.footer-info .field-social a {
  color: var(--button-background);
  font-size: 1.125rem;
}

.footer-info .field-social a:hover {
  color: var(--button-text);
}

.footer-nav h2 {
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 2rem;
  font-family: "Noto Serif Display";
}

.footer-nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-nav ul li {
  margin-bottom: 1rem;
}

.footer-nav ul li a {
  color: var(--button-text);
  font-size: 1.125rem;
  text-decoration: none;
}

.footer-nav ul li a:hover {
  color: var(--button-background);
}

.footer-address {
  padding-top: 2rem;
  padding-bottom: 2rem;
  border-top: 1px solid #fff;
  border-bottom: 1px solid #fff;
  margin-top: 2rem;
  margin-bottom: 2rem;
}

.footer-address .field-title {
  font-weight: 700;
  font-size: 1.125rem;
  color: #fff;
  margin-bottom: 0.5rem;
}

.footer-address .field-desc {
  color: #fff;
}

.footer-copyright {
  color: #fff;
}
/* End Footer */

/* Hamburger Menu */
mm-burger {
  --mb-bar-height: 2px;
  padding: 5px;
  border: 1px solid;
  border-radius: 5px;
}
/* End Hamburger Menu */

/* Block Product Intro */

.block-product-intro .block-title {
  font-style: italic;
  font-size: 2.5rem;
  color: var(--heading);
  text-align: left;
}

.block-product-intro ul.item-list {
  margin: 0;
  padding: 0 0 0 2rem;
  list-style: none;
  border-left: 4px solid var(--heading);
}

.block-product-intro ul.item-list li {
  margin-bottom: 1rem;
  font-size: 1.125rem;
  font-weight: 500;
}

.block-product-intro ul.item-list li:last-child {
  margin-bottom: 0;
}
/* End Block Product Intro */

/* Block Testimonial */
.block-testimonial .block-content {
  position: relative;
}

.block-testimonial .field-video {
  position: relative;
  width: 100%;
  height: 0;
  padding-top: 56.25%; /* 16:9 aspect ratio (9 / 16 * 100) */
}

.block-testimonial .field-video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.block-testimonial .swiper-btn {
  position: absolute;
  top: 50%;
  left: 0;
  width: 100%;
  transform: translateY(-50%);
}

.block-testimonial .swiper-btn .swiper-btn-wrapper {
  display: flex;
  justify-content: space-between;
}

.block .swiper-pagination {
  position: unset;
  margin-top: 1rem;
}

.block .swiper-pagination .swiper-pagination-bullet-active {
  background-color: var(--heading);
}
/* End Block Testimonial */

/* Block Problem */
.block-problem .block-title,
.block-problem .block-subtitle {
  text-align: left;
}

.block-problem {
  background-color: #fff;
}

.block-problem .field-image {
  height: auto;
  padding-top: 0;
}

.block-problem .field-image img {
  position: unset;
  height: auto;
  object-fit: unset;
  width: auto;
}

.block-problem .block-content .row {
  align-items: center;
}

.block-problem .field-items ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.block-problem .field-items ul li {
  font-weight: 400;
  font-size: 1.125rem;
  padding-top: 1.5rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid var(--text);
}

.block-problem .field-items ul li:first-child {
  border-top: 1px solid var(--text);
}
/* End Block Problem */

@media (max-width: 1399.98px) {
}

@media (max-width: 1199.98px) {
}

@media (max-width: 991.98px) {
  #main {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .block {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .block-subtitle {
    font-size: 1.25rem;
  }

  .block-title {
    font-size: 3rem;
    margin-bottom: 2rem;
  }

  #main-navigation {
    display: none;
  }

  #header {
    padding: 1rem 0;
    display: none;
  }

  #header #logo img {
    width: 5.625rem;
  }

  .swiper-btn i {
    width: 2rem;
    height: 2rem;
  }

  /* Block Why Choose Us */
  .block-why-choose-us {
    padding: 3.75rem 0;
  }

  .block-why-choose-us .block-title {
    margin-bottom: 1rem;
  }

  .block-why-choose-us .flex-container {
    justify-content: unset;
  }

  .block-why-choose-us .flex-item {
    width: 100%;
    margin-bottom: 2rem;
  }

  .block-why-choose-us .field-sub-title {
    font-size: 1.25rem;
  }

  .block-why-choose-us .field-title {
    font-size: 2rem;
  }

  .block-why-choose-us .field-desc {
    font-size: 1rem;
  }

  .block-why-choose-us .flex-item:nth-child(4),
  .block-why-choose-us .flex-item:nth-child(5) {
    margin-bottom: 2rem;
  }

  .block-why-choose-us .flex-item:nth-child(6) {
    margin-bottom: 0;
  }
  /* End Block Why Choose Us */

  /* Block Highlight */
  .block-highlight .block-content {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .block-highlight .col-xl-4 {
    margin-bottom: 2rem;
  }

  .block-highlight .col-xl-4:last-child {
    margin-bottom: 0;
  }

  .block-highlight .field-desc {
    font-size: 2rem;
  }

  .block-highlight .field-desc .field-desc--icon {
    top: -2rem;
    left: 0;
    width: 4rem;
    height: 3rem;
  }

  .block-highlight .field-number {
    font-size: 3.5rem;
  }

  .block-highlight .field-title {
    font-size: 2rem;
  }
  /* End Block Highlight */

  /* Block Project */
  .block-projects {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .block-projects .block-title {
    margin-bottom: 1rem;
  }

  .block-projects .nav {
    justify-content: unset;
    flex-wrap: nowrap;
    overflow-x: scroll;
    gap: 1rem;
  }

  .block-projects .nav-link {
    width: max-content;
  }

  .block-projects .field-info {
    padding: 1rem;
    position: unset;
  }

  .block-projects .field-info-content {
    align-items: unset;
    justify-content: start;
    flex-wrap: wrap;
    gap: 1rem;
  }

  .block-projects .field-title {
    font-size: 1.25rem;
  }

  .block-projects .field-desc {
    font-size: 1rem;
  }

  .block-projects .field-view-more {
    display: block;
    width: 100%;
  }

  .block-projects .field-view-more .btn {
    width: 100%;
  }

  .block-projects .swiper-btn {
    transform: unset;
    top: 17%;
  }
  /* End Block Project */

  /* Block Lead Form */
  .block-lead-form .block-title {
    margin-bottom: 1rem;
  }

  .block-lead-form .block-content {
    display: block;
  }

  .block-lead-form .lead-form-wrapper {
    padding: 1rem;
  }
  /* End Block Lead Form */

  /* Block Articles */
  .block-articles {
    padding-top: 0;
    padding-bottom: 0;
  }

  .block-articles .block-title {
    margin-bottom: 1rem;
  }

  .block-articles .block-title-line {
    width: 100%;
  }

  .block-articles .block-title-wrapper .col-xl-6:last-child {
    justify-content: center;
    align-items: unset;
    margin-bottom: 2rem;
  }

  .block-articles .block-content .col-xl-6 {
    margin-bottom: 1rem;
  }

  .block-articles .block-content .col-xl-6:last-child {
    margin-bottom: 0;
  }

  .block-articles .field-info {
    padding: 1rem;
  }
  /* End Block Articles */

  /* Footer */
  #footer {
    padding-top: 3.75rem;
    padding-bottom: 3.75rem;
  }

  .footer-info .field-desc {
    font-size: 0.875rem;
  }

  .footer-navigation .col-xl-3 {
    margin-bottom: 2rem;
  }

  .footer-navigation .col-xl-3:last-child {
    margin-bottom: 0;
  }

  .footer-nav h2 {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }

  .footer-nav ul li:last-child {
    margin-bottom: 0;
  }

  .footer-nav ul li a {
    font-size: 1rem;
  }

  .footer-address .col-xl-4 {
    margin-bottom: 2rem;
  }

  .footer-address .col-xl-4:last-child {
    margin-bottom: 0;
  }
  /* End Footer */

  /* Block Product Intro */
  .block-product-intro .block-title {
    font-size: 3rem;
  }

  .block-product-intro ul.item-list {
    padding: 0 0 0 1rem;
  }

  .block-product-intro ul.item-list li {
    font-size: 1rem;
  }
  /* End Block Product Intro */

  /* Block Testimonial */
  .block-testimonial .block-title {
    margin-bottom: 1rem;
  }

  .block-testimonial .swiper-btn {
    position: unset;
    transform: unset;
    margin-top: 2rem;
  }

  .block-testimonial .swiper-btn .swiper-btn-wrapper {
    justify-content: center;
  }
  /* End Block Testimonial */

  /* Block Problem */
  .block-problem .field-items ul li {
    font-size: 1.25rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
  }
  /* End Block Problem */

  /* Block Video */
  .block-video .field-video {
    border: 1rem solid #ecd196;
  }
  /* End Block Video */
}

@media (max-width: 767.98px) {
}

@media (max-width: 575.98px) {
}
