.select-wrapper::after {
  content: '\f0d7';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
}

.tab-content.active {
  display: block;
}

.module-tabs .tab_pro_detail .tab-link {
  position: relative;
  transition: color 0.3s ease;
}

.module-tabs .tab_pro_detail .tab-link::after {
  content: "";
  display: block;
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 5px;
  background: var(--cl-s1);
  border-top-left-radius: 999px;
  border-top-right-radius: 999px;
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.module-tabs .tab_pro_detail .tab-link:hover::after,
.module-tabs .tab_pro_detail .tab-link.active::after {
  transform: scaleX(1);
}

.module-tabs .tab_pro_detail .tab-link:hover,
.module-tabs .tab_pro_detail .tab-link.active {
  color: var(--cl-s1);
}

.swiper-slide-img-tab-pro .swiper-slide {
  position: relative;
}

.swiper-slide-img-tab-pro .swiper-slide::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(177, 17, 23, 0) 0%, rgba(177, 17, 23, 0.0666667) 35.58%, #B11117 100%);
}

.swiper-slide-img-tab-pro .swiper-slide-thumb-active.swiper-slide::after {
  background: none;
}

.video_youtube iframe {
  z-index: 99;
}

.module-modal {

  visibility: hidden;

  opacity: 0;

  transition: all 0.3s;

}



.module-modal.active {

  visibility: visible;

  opacity: 1;

}



.module-modal .modal-content {

  transform: translateY(-5rem);

  transition: all 0.3s;

}



.module-modal.active .modal-content {

  transform: translateY(0);

}

.module-tabs .tab_advise.tab-link.tab-link.active .dot_advise {
  background: var(--cl-s1);
  border: 1px solid var(--cl-s1);
  color: var(--cl-main);
}

.module-tabs .tab_advise.tab-link.tab-link.active {
  color: var(--cl-main);
}


/* form */
.form-individual {
  max-width: 100%;
}

.form-group {
  margin-bottom: 1rem;
}

.form-label {
  display: block;
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-label .required {
  color: #ef4444;
}

.form-label .note {
  color: #9ca3af;
  font-weight: 400;
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 5px;
  background-color: #F3E6E6;
  border: none;
  outline: none;
  font-size: 1rem;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  ring: 2px solid #ef4444;
}

.form-select {
  appearance: none;
  cursor: pointer;
  background-image: url('../images/dot.png');
  background-repeat: no-repeat;
  background-position: right 1rem center;
  background-size: 0.65rem;
  padding-right: 3rem;
}

.form-textarea {
  resize: none;
}

/* Custom Multi-Select Styles */
.multi-select-wrapper {
  position: relative;
}

.multi-select-container {
  background-color: #F3E6E6;
  border-radius: 0.5rem;
  padding: 0.75rem 1rem;
  min-height: 48px;
  cursor: pointer;
  position: relative;
}

.multi-select-container::after {
  content: '';
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  background-image: url('../images/dot.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 0.75rem;
  pointer-events: none;
}

.multi-select-container:focus-within {
  outline: 2px solid #ef4444;
}

.multi-select-placeholder {
  color: #9ca3af;
  font-size: 0.875rem;
}

.multi-select-placeholder.hidden {
  display: none;
}

.selected-items {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.selected-items:empty {
  margin-bottom: 0;
}

.selected-item {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 0.75rem;
  background-color: #e5e7eb;
  border-radius: 9999px;
  font-size: 0.875rem;
  color: #4b5563;
}

.remove-item {
  background: none;
  border: none;
  color: #9ca3af;
  cursor: pointer;
  font-size: 1.25rem;
  line-height: 1;
  padding: 0;
  margin-left: 0.25rem;
}

.remove-item:hover {
  color: #4b5563;
}

.search-box {
  margin-top: 0.5rem;
  display: none;
}

.search-box.active {
  display: block;
}

.search-input-wrapper {
  position: relative;
  margin-bottom: 0.75rem;
}

/* .multi-select-search {
  width: 100%;
  padding: 0.75rem 1rem;
  padding-right: 2.5rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.5rem;
  outline: none;
  font-size: 0.875rem;
} */

.multi-select-search:focus {
  border-color: #ef4444;
}

.search-icon {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  width: 1.25rem;
  height: 1.25rem;
  color: #9ca3af;
  pointer-events: none;
}

.dropdown-list {
  max-height: 200px;
  overflow-y: auto;
}

.dropdown-item {
  padding: 0.75rem 1rem;
  cursor: pointer;
  font-size: 0.875rem;
  border-radius: 0.25rem;
}

.dropdown-item:hover {
  background-color: #f5f5f5;
}

.dropdown-item.selected {
  background-color: #fee2e2;
  color: var(--cl-s1);
}

.dropdown-item.hidden {
  display: none;
}

.radio-group {
  display: flex;
  gap: 1.5rem;
}

.radio-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  cursor: pointer;
}

.radio-input {
  width: 1rem;
  height: 1rem;
  accent-color: var(--cl-s1);
}

.btn-submit {
  width: fit-content;
  margin: 0 auto;
  padding: 0.5rem 2rem;
  background: linear-gradient(180deg, #CD1313 0%, #BD2020 100%);
  color: white;
  font-weight: 600;
  border-radius: 9999px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  transition: background-color 0.2s;
}

.btn-submit:hover {
  background-color: #b91c1c;
}

.form-individual br {
  display: none;
}

.form-individual .wpcf7-list-item.first {
  margin-left: 0 !important;
}

.menu_footer ul li a {
  transition: color 0.3s ease;
  color: white;
  font-weight: 500;
  display: block;
}

.menu_footer ul li:not(:last-child) {
  margin-bottom: 1rem;
}

.menu_footer ul li a:hover {
  text-decoration: underline;
  transition: all 0.3s ease;
}

.modal-search {
  visibility: hidden;
  opacity: 0;
  transition: all 0.3s;
}

.modal-search.active {
  visibility: visible;
  opacity: 1;
}

.modal-search form {
  transform: translateY(-3rem);
  transition: all 0.3s;
}

.modal-search.active form {
  transform: translateY(0);
}

.header_bottom.sticky {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 999;
  background: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.header_bottom.sticky .logo-wrapper {
  width: 120px !important;
  height: 70px !important;
  top: 0 !important;
  border-radius: 0 0 6px 6px;
}

.header_bottom.sticky .logo-wrapper img {
  max-width: 70px !important;
}

.slide-pro-hot-home .swiper-slide {
  opacity: 0.5;
  transition: opacity 0.3s ease;
  scale: calc(0.8);
}

.slide-pro-hot-home .swiper-slide.swiper-slide-thumb-active {
  opacity: 1;
  scale: calc(1);
  background: url('../images/bg_active_imgv2.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
  height: 233px !important;
}

/* Form Page Contact */
.form_page_contact {
  background: white;
  border-radius: 0.625rem;
  padding: 1.5rem;
  box-shadow: 0px 0px 10px 0px #00000026;

}

.form_page_contact .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.form_page_contact .form-group {
  display: flex;
  flex-direction: column;
}

.form_page_contact .form-group label {
  font-size: 0.875rem;
  color: #484848;
  margin-bottom: 6px;
}

.form_page_contact .form-group label span {
  color: #FF0000;
}

.form_page_contact .form-group input,
.form_page_contact .form-group select,
.form_page_contact .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border-radius: 0.375rem;
  background: #F4F4F4;
  transition: border-color 0.3s;
  color: #8C8C8C;
}

.form_page_contact .form-group input:focus,
.form_page_contact .form-group select:focus,
.form_page_contact .form-group textarea:focus {
  outline: none;
  border-color: #B11117;
}

.form_page_contact .form-group select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' width='12' height='7' viewBox='0 0 12 7'%3e%3cpath fill='%23333' d='M1 1l5 5 5-5'/%3e%3c/svg%3e");
  background-repeat: no-repeat;
  background-position: center right 1rem;
  padding-right: 2.5rem;
}

.form_page_contact .form-group textarea {
  resize: none;
}

.form_page_contact .form-checkbox {
  margin-top: 1.5rem;
  margin-bottom: 2rem;
}

.form_page_contact .form-checkbox label {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  cursor: pointer;
}

.form_page_contact .form-checkbox input[type="checkbox"] {
  margin-top: 0.25rem;
  width: 1rem;
  height: 1rem;
  accent-color: var(--cl-s1);
  cursor: pointer;
  flex-shrink: 0;
  background: #D9D9D9;
}

.form_page_contact .form-checkbox span {
  font-size: 0.875rem;
  color: #666;
  line-height: 1.6;
}

.form_page_contact .form-submit {
  text-align: center;
}

.form_page_contact .form-submit button {
  background: var(--cl-s1);
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 3rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s;
  border: 1px solid var(--cl-s1);
}

.form_page_contact .form-submit button:hover {
  background: white;
  color: var(--cl-s1);
  transition: all 0.3s;
}

/* Form Recruitment */
.form-recruitment .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  /* margin-bottom: 1rem; */
}

/* .form-recruitment .form-group {
  margin-bottom: 1rem;
} */

.form-recruitment .form-group input,
.form-recruitment .form-group textarea {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #939393;
  border-radius: 0.375rem;
  transition: border-color 0.3s;
}

.form-recruitment .form-group input::placeholder,
.form-recruitment .form-group textarea::placeholder {
  color: #939393;
}

.form-recruitment .form-group input:focus,
.form-recruitment .form-group textarea:focus {
  outline: none;
  border-color: var(--cl-s1);
}

.form-recruitment .form-group textarea {
  resize: none;
}

/* File Upload */
.form-recruitment .file-upload {
  display: block;
  border: 1px dashed var(--cl-s1);
  border-radius: 0.375rem;
  background: #FFF0EA;
  padding: 2.5rem;
  text-align: center;
  cursor: pointer;
  transition: border-color 0.3s;
  position: relative;
}

.form-recruitment .file-upload:hover {
  border-color: var(--cl-s1);
}

.form-recruitment .file-upload input[type="file"] {
  display: none;
}

.form-recruitment .file-upload span {
  color: var(--cl-s1);
  font-weight: 500;
}

/* Ripple Effect */
.form-recruitment .file-upload::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  border-radius: 50%;
  background: rgba(177, 17, 23, 0.1);
  transform: translate(-50%, -50%);
  transition: width 0.4s, height 0.4s;
}

/* .form-recruitment .file-upload:hover::before {
  width: 100%;
  height: 100%;
} */

/* Submit Button */
.form-recruitment .form-submit {
  text-align: center;
  margin-top: 2rem;
}

.form-recruitment .form-submit input {
  background: var(--cl-s1);
  color: #fff;
  font-weight: 500;
  font-size: 1rem;
  padding: 0.75rem 3rem;
  border: none;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.3s;
  box-shadow: 0 4px 6px rgba(177, 17, 23, 0.3);
}

.form-recruitment .form-submit input:hover {
  background: #8B0D11;
  box-shadow: 0 6px 12px rgba(177, 17, 23, 0.4);
  transform: translateY(-2px);
}

.form-recruitment .form-submit input:active {
  transform: translateY(0);
}

.form-recruitment .form-group br {
  display: none;
}


.btn-submit:active {
  transform: translateY(0);
}

/* Content & Spinner */
.btn-content {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: opacity 0.3s ease;
}

.btn-spinner {
  display: none;
  width: 20px;
  height: 20px;
}

/* Khi đang loading */
.btn-submit.is-loading {
  pointer-events: none;
}

.btn-submit.is-loading .btn-content {
  opacity: 1;
}

.btn-submit.is-loading .btn-spinner {
  display: block;
}

/* Spinner animation */
.spinner {
  animation: rotate 2s linear infinite;
  width: 100%;
  height: 100%;
}

.spinner .path {
  stroke: white;
  stroke-linecap: round;
  animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
  100% {
    transform: rotate(360deg);
  }
}

@keyframes dash {
  0% {
    stroke-dasharray: 1, 150;
    stroke-dashoffset: 0;
  }

  50% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -35;
  }

  100% {
    stroke-dasharray: 90, 150;
    stroke-dashoffset: -124;
  }
}

.txt_1 {
  background: linear-gradient(180deg, #910202 0%, #CD1313 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  font-style: italic;
  font-weight: 800;
  text-transform: uppercase;
}

.section_service_caption svg {
  max-width: 100%;
}

.item_service_wrapper {
  position: relative;
}

.item_service {
  position: relative;
  clip-path: polygon(95.448% 2.143%, 95.448% 2.143%, 96.15% 2.323%, 96.798% 2.836%, 97.383% 3.645%, 97.894% 4.711%, 98.32% 5.995%, 98.651% 7.46%, 98.876% 9.067%, 98.984% 10.778%, 98.965% 12.553%, 98.809% 14.356%, 89.034% 91.499%, 89.034% 91.499%, 88.864% 92.6%, 88.646% 93.618%, 88.384% 94.546%, 88.082% 95.377%, 87.745% 96.102%, 87.376% 96.712%, 86.98% 97.201%, 86.561% 97.56%, 86.124% 97.782%, 85.672% 97.857%, 4.363% 97.857%, 4.363% 97.857%, 3.661% 97.677%, 3.012% 97.164%, 2.427% 96.355%, 1.916% 95.289%, 1.49% 94.005%, 1.16% 92.54%, 0.935% 90.933%, 0.826% 89.222%, 0.845% 87.446%, 1.001% 85.644%, 10.777% 8.501%, 10.777% 8.501%, 10.947% 7.4%, 11.165% 6.382%, 11.427% 5.454%, 11.729% 4.623%, 12.066% 3.898%, 12.435% 3.288%, 12.83% 2.799%, 13.249% 2.44%, 13.687% 2.218%, 14.139% 2.143%, 95.448% 2.143%);
}

.item_service_wrapper::before {
  content: '';
  position: absolute;
  inset: -6px;
  background: white;
  clip-path: polygon(95.448% 2.143%, 95.448% 2.143%, 96.15% 2.323%, 96.798% 2.836%, 97.383% 3.645%, 97.894% 4.711%, 98.32% 5.995%, 98.651% 7.46%, 98.876% 9.067%, 98.984% 10.778%, 98.965% 12.553%, 98.809% 14.356%, 89.034% 91.499%, 89.034% 91.499%, 88.864% 92.6%, 88.646% 93.618%, 88.384% 94.546%, 88.082% 95.377%, 87.745% 96.102%, 87.376% 96.712%, 86.98% 97.201%, 86.561% 97.56%, 86.124% 97.782%, 85.672% 97.857%, 4.363% 97.857%, 4.363% 97.857%, 3.661% 97.677%, 3.012% 97.164%, 2.427% 96.355%, 1.916% 95.289%, 1.49% 94.005%, 1.16% 92.54%, 0.935% 90.933%, 0.826% 89.222%, 0.845% 87.446%, 1.001% 85.644%, 10.777% 8.501%, 10.777% 8.501%, 10.947% 7.4%, 11.165% 6.382%, 11.427% 5.454%, 11.729% 4.623%, 12.066% 3.898%, 12.435% 3.288%, 12.83% 2.799%, 13.249% 2.44%, 13.687% 2.218%, 14.139% 2.143%, 95.448% 2.143%);
  z-index: 0;
  opacity: 1;
  transition: opacity 0.3s ease;
}

.paginations .pagination ul {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.paginations .pagination ul li a.pagelink {
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 2rem;
  height: 2rem;
}

.paginations .pagination ul li a.pagelink:hover {
  border: 1px solid var(--cl-s1);
  color: var(--cl-s1);
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.paginations .pagination ul li .pagecur {
  border: 1px solid var(--cl-s1);
  color: var(--cl-s1);
  border-radius: 999px;
  width: 2rem;
  height: 2rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.s-content .ez-toc-counter nav ul li a::before {
  color: var(--cl-main) !important;
}
.bg_text{
  background: url('../images/khung_text.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}
/* Menu Mobile - dưới 1200px */
@media (max-width: 1199px) {
  .menu {
    position: fixed;
    top: 0;
    left: 0;
    width: min(85%, 360px);
    height: 100vh;
    background: #fff;
    z-index: 999;
    transform: translateX(-100%);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0.35s,
      opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding-left: 0 !important;
    overflow-y: auto;
    box-shadow: 2px 0 10px rgba(0, 0, 0, 0.1);
    display: block !important;
    visibility: hidden;
    opacity: 0;
  }

  .menu.is-active {
    transform: translateX(0);
    visibility: visible;
    opacity: 1;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0s,
      opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .menu>ul {
    display: block;
    padding: 0;
  }

  .menu ul li {
    position: relative;
    border-bottom: 1px solid #f3f4f6;
  }

  .menu ul li a {
    display: block;
    padding: 0.875rem 1rem;
    font-size: 16px;
    color: var(--cl-main);
    font-weight: 500;
    transition: all 0.2s ease;
  }

  .menu ul li a:hover {
    background-color: #f9fafb;
    color: var(--cl-s1);
    padding-left: 1.25rem;
  }

  .menu ul li:has(ul)>a {
    padding-right: 3rem;
  }

  .menu ul li>.btn-menu-sub {
    position: absolute;
    height: 3rem;
    width: 3rem;
    right: 0;
    top: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  }

  .menu ul li>.btn-menu-sub.active {
    transform: rotate(180deg);
  }

  .menu ul ul {
    display: none;
    background-color: #f9fafb;
  }

  .menu ul ul li {
    border-bottom: 1px solid #e5e7eb;
  }

  .menu ul ul li:last-child {
    border-bottom: none;
  }

  .menu ul ul li a {
    padding-left: 2rem;
    font-size: 14px;
  }

  .menu ul ul li a:hover {
    padding-left: 2.25rem;
  }

  /* Overlay */
  .over-moblie {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0.35s,
      backdrop-filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(0px);
  }

  .over-moblie.is-active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    backdrop-filter: blur(2px);
    transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
      visibility 0s linear 0s,
      backdrop-filter 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  }
}
@media (max-width: 767px) {
 .bg_text{
  background: url('../images/khung_text_mobile.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: 100% 100%;
}
}
@media (min-width: 768px) {
  .btn-submit {
    width: auto;
  }
}

@media (min-width: 1200px) {
  .btn-menu-sub {
    display: none;
  }
}