/* ❌ Ẩn badge */
.grecaptcha-badge {
  visibility: hidden !important;
}

/* disclosure */
.recaptcha-disclosure {
  font-size: 12px;
  color: #999;
  margin-top: 8px;
  line-height: 1.4;
}

.recaptcha-disclosure a {
  color: inherit;
  text-decoration: underline;
}

/* tooltip */
.recaptcha-info {
  cursor: pointer;
  margin-left: 4px;
  appearance: none;
  border: 0;
  background: transparent;
  padding: 0;
  color: inherit;
  font: inherit;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  vertical-align: top;
}

.recaptcha-tooltip {
  display: block;
  max-height: 0;
  opacity: 0;
  overflow: hidden;
  margin-top: 0;
  width: 240px;
  background: #333;
  color: #fff;
  font-size: 12px;
  padding: 6px 8px;
  border-radius: 4px;
  text-align: left;
  line-height: 1.45;
  transform: translateY(-4px);
  transition: max-height 0.22s ease, opacity 0.18s ease, margin-top 0.22s ease,
    transform 0.22s ease, padding 0.22s ease;
}

.recaptcha-info:hover .recaptcha-tooltip,
.recaptcha-info:focus .recaptcha-tooltip,
.recaptcha-info:focus-visible .recaptcha-tooltip,
.recaptcha-info:active .recaptcha-tooltip {
  max-height: 120px;
  opacity: 1;
  margin-top: 6px;
  transform: translateY(0);
}

.recaptcha-info:focus-visible {
  outline: 1px solid #999;
  outline-offset: 2px;
}

@media (max-width: 767px) {
  .recaptcha-tooltip {
    width: min(240px, calc(100vw - 4rem));
  }
}

.tab-content.active {
  display: block;
}

.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);
}

.bg_w_home::after {
  content: 'w';
  position: absolute;
  top: 36%;
  left: 32%;
  transform: translate(-50%, -50%);
  font-size: 288px;
  font-family: 'MonteCarlo';
  color: #0000000D;
  text-transform: uppercase;
  z-index: 1;
}

.bg_w_home_::after {
  content: 'w';
  position: absolute;
  top: 90px;
  left: 32%;
  transform: translate(-50%, -50%);
  font-size: 288px;
  font-family: 'MonteCarlo';
  color: #0000000D;
  text-transform: uppercase;
  z-index: 1;
}

.menu_copyright ul {
  display: flex;
  justify-content: center;
  align-items: center;
}

.menu_copyright ul li {
  display: block;
  padding: 0 22px;
  font-size: 14px;
}

.menu_copyright ul li:not(:last-child) {
  border-right: 0.5px solid #9D9D9D;
}

.button_plus_minus {
  transition: all 0.3s;
}

.button_plus_minus.active {
  transform: rotate(180deg);
}

.last\:border-b-0:last-child {
  border-bottom-width: 0px !important;
}

.select_cs::after {
  content: '\f107';
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 14px;
  color: #000;
  pointer-events: none;
}

.icon_procedure img {
  width: auto !important;
  height: 100% !important;
}

.breadcrumbs .breadcrumb {
  display: flex;
  align-items: center;
}

.breadcrumbs .breadcrumb .breadcrumb-item a {
  font-weight: 600;
}

.breadcrumbs .breadcrumb .breadcrumb-item:not(:last-child) a {
  margin-right: 8px;
  display: flex;
  align-items: center;
}

.breadcrumbs .breadcrumb .breadcrumb-item:not(:last-child) a::after {
  content: '\f105';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  font-size: 12px;
  color: #000;
  margin-left: 8px;
}

.short_content_service::before {
  content: '';
  position: absolute;
  top: -12px;
  left: 6px;
  width: 36px;
  height: 36px;
  background: url('../images/bxs_quote-alt-left.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.short_content_service::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 36px;
  height: 36px;
  background: url('../images/bxs_quote-alt-right.png');
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

.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);

}

.toc-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.toc-header .icon {
  display: flex;
  gap: 4px;
  align-items: center
}

.toc_list {
  margin-top: 8px;
  list-style: none !important;
}


.toc_list li a {
  margin-bottom: 8px;
  display: block;
  text-decoration: none !important;
}

.toc_list li a br {
  display: none;
}

.toc_list li:last-child a {
  margin-bottom: 0;
}

.toc_list li a strong br {
  display: none;
}

.toggle-content-toc {
  cursor: pointer;
}

.procedure-timeline {
  max-width: 100%;
}

.step-item {
  width: 100%;
}

.step-item .icon_procedure {
  margin-top: 0;
}

.step-title {
  min-height: 4.25rem;
  display: flex;
  align-items: center;
}

.step-title.hidden,
.step-content.hidden {
  display: none !important;
}

.step-content {
  flex: 1 1 auto;
  margin-left: -1rem;
  min-width: 0;
  transition: height 0.3s ease, opacity 0.3s ease;
}

.step-item.active .icon_procedure {
  background: #333333;
  border-color: #333333;
}

.step-item.active .icon_procedure img {
  filter: brightness(0) invert(1);
}

.tab-content.active {
  display: block;
}

.tab_interview.active:before {
  opacity: 1 !important;
  width: 2px;
}

/* .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-modal {
  visibility: hidden;
  opacity: 0;
  background: rgba(0, 0, 0, 0);
  transition: opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    visibility 0.35s,
    background 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.module-modal.active {
  visibility: visible;
  opacity: 1;
  background: rgba(0, 0, 0, 0.3);
}

.module-modal .modal-content {
  transform: translateY(-3rem) scale(0.95);
  opacity: 0;
  transition: transform 0.45s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    opacity 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.module-modal.active .modal-content {
  transform: translateY(0) scale(1);
  opacity: 1;
}

/* Globe button animation - Same as hamburger menu */
#globe-btn {
  transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  position: relative;
  width: 24px;
  height: 24px;
  overflow: hidden;
  display: block;
}

/* Create X icon when active */
#globe-btn {
  width: 24px;
  height: 24px;
  position: relative;
  display: inline-block;
  cursor: pointer;
}

/* SVG gốc */
#globe-btn svg {
  position: relative;
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* X icon overlay */
#globe-btn::before,
#globe-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

#globe-btn::before {
  transform: translate(-50%, -50%) rotate(45deg) scale(0.8);
}

#globe-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg) scale(0.8);
}

/* Active state - Fade globe out, X in */
#globe-btn.is-active svg {
  opacity: 0;
  transform: scale(0.8);
}

#globe-btn.is-active::before {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

#globe-btn.is-active::after {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-45deg) scale(1);
}

/* Language Menu Styles */
.language-menu {
  position: fixed;
  top: 80px;
  left: 0;
  width: 100%;
  height: 100%;
  background: #ffffff;
  z-index: 999;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  border-bottom: 1px solid #e5e5e5;
  transition: 0.3s;
}

.language-menu.is-active {
  max-height: calc(100vh - 60px);
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: height 0.4s cubic-bezier(0.4, 0.0, 0.2, 1),
    opacity 0.3s ease 0.1s,
    visibility 0.4s ease;
}

/* Closing animation */
.language-menu.is-closing {
  opacity: 0;
  visibility: visible;
  transition: height 0.4s cubic-bezier(0.4, 0.0, 0.2, 1),
    opacity 0.3s ease 0.1s,
    visibility 0.4s ease;
}

.language-overlay {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  /* background: rgba(0, 0, 0, 0.3); */
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
  pointer-events: none;
}

.language-overlay.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;

}

/* Language menu content */
.language-menu-content {
  background: #ffffff;
  /*  transform: translateY(-100%);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);*/
}

/*
.language-menu.is-active .language-menu-content {
  transform: translateY(0);
  transition: transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}
*/
/*.language-menu.is-closing .language-menu-content {
  transform: translateY(-50%);
  transition: transform 0.3s cubic-bezier(0.4, 0.0, 0.2, 1);
}*/

/* Language list */
.language-list {
  /* display: flex;
  flex-direction: column;
  gap: 16px; */
}

.language-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 12px 24px;
  background: #222222;
  color: #A1A1A1;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 18px;
  font-weight: 500;
}

.language-item:hover {
  color: #ffffff;
}

.language-item.active {
  color: #ffffff;
}

/* Mobile Menu Button Animation - Universal approach */
#mobile-menu-btn {
  width: 32px;
  height: 32px;
  position: relative;
  /* display: inline-block; */
  cursor: pointer;
  background: transparent;
  border: none;
  padding: 0;
}

/* SVG gốc */
#mobile-menu-btn svg {
  position: relative;
  z-index: 1;
  opacity: 1;
  transform: scale(1);
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

/* X icon overlay */
#mobile-menu-btn::before,
#mobile-menu-btn::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 2px;
  background: #333;
  border-radius: 2px;
  opacity: 0;
  transform: translate(-50%, -50%) scale(0.8);
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
    transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 2;
}

#mobile-menu-btn::before {
  transform: translate(-50%, -50%) rotate(45deg) scale(0.8);
}

#mobile-menu-btn::after {
  transform: translate(-50%, -50%) rotate(-45deg) scale(0.8);
}

/* Active state - Fade hamburger out, X in */
#mobile-menu-btn.is-active svg {
  opacity: 0;
  transform: scale(0.8);
}

#mobile-menu-btn.is-active::before {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(45deg) scale(1);
}

#mobile-menu-btn.is-active::after {
  opacity: 1;
  transform: translate(-50%, -50%) rotate(-45deg) scale(1);
}

/* Mobile Menu Styles */
.menu-mobile {
  position: fixed;
  top: 0;
  left: 0;
  padding-top: 60px;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 50.1%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(10px);

  z-index: 999;
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.6s;
  overflow: hidden;
  opacity: 0;
  visibility: hidden;
  will-change: opacity;
  backface-visibility: hidden;
}

.menu-mobile.is-active {
  opacity: 1;
  visibility: visible;
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0s ease;
}

/* Closing animation */
.menu-mobile.is-closing {
  opacity: 0;
  visibility: visible;
  transition: opacity 0.4s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.4s ease;
}

.over-mobile {
  position: fixed;
  top: 60px;
  left: 0;
  width: 100%;
  height: calc(100vh - 60px);
  background: rgba(0, 0, 0, 0.4);
  z-index: 998;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s cubic-bezier(0.2, 0.8, 0.2, 1),
    visibility 0.6s;
  pointer-events: none;
}

.over-mobile.is-active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

/* Mobile menu content */
.menu-mobile-content {
  height: 100%;
  overflow-y: auto;
  opacity: 0;
  transform: translateY(-12px);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform, opacity;
  backface-visibility: hidden;
}

.menu-mobile.is-active .menu-mobile-content {
  opacity: 1;
  transform: translateY(0);
  transition: transform 0.42s cubic-bezier(0.22, 1, 0.36, 1),
    opacity 0.42s cubic-bezier(0.22, 1, 0.36, 1);
}

.menu-mobile.is-closing .menu-mobile-content {
  opacity: 0;
  transform: translateY(-8px);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
    opacity 0.3s ease;
}

/* Mobile menu ul styles */
.menu-mobile-content ul {
  list-style: none;
  margin: 0;
  padding: 4px 0 0 0;
  /* background: linear-gradient(180deg, #FFFFFF 0%, rgba(255, 255, 255, 0.8) 50.1%, rgba(255, 255, 255, 0) 100%);
  backdrop-filter: blur(10px); */
}

/* .menu-mobile-content * {
  background: transparent !important;
} */
.menu-mobile-content ul li {
  position: relative;
  transform: none;
  opacity: 1;
  transition: none;
}

.menu-mobile-content>ul>li>ul>li:not(:first-child) {
  margin-top: 12px;
}

.menu-mobile-content ul li a {
  display: block;
  padding: 12px 0;
  color: #333;
  text-decoration: none;
  font-weight: 500;
  font-size: 20px;
  font-weight: 400;
  transition: all 0.3s ease;
}


/* Submenu styles */
.menu-mobile-content>ul>li>ul {
  display: none;
  padding: 0;
  padding-top: 10px;
  transform: none;
  opacity: 1;
  animation: none;
  overflow: hidden;
  will-change: height, opacity;
  /* backdrop-filter: blur(5px); */
}

.menu-mobile-content ul li ul li {
  padding-left: 0;
  transform: none;
  opacity: 1;
  animation: none;
}

.menu-mobile-content ul li ul li a {
  padding: 0px 12px 12px 28px;
  font-size: 20px;
  background: transparent;
  font-weight: 400;
}

.menu-mobile-content ul li ul li ul li a {
  padding: 0px 12px 12px 28px;
  font-size: 20px;
  background: transparent;
  font-weight: 400;
}

/* .menu-mobile-content ul li ul li:first-child a{
  padding-top: 0px;
} */
/* Submenu toggle button */
.menu-mobile-content>ul>li>.btn-menu-sub {
  position: absolute;
  right: 0;
  top: 22px;
  transform: translateY(-50%);
  width: 30px;
  height: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: transform 0.3s ease;
}

.menu-mobile-content>ul>li>.btn-menu-sub.active {
  transform: translateY(-50%) rotate(180deg);
}

.menu-mobile-content>ul>li>.btn-menu-sub svg {
  width: 30px;
  height: 30px;
}

/* Search box in mobile menu */
.menu-mobile-search {
  padding: 20px;
  margin-top: 20px;
  transform: translateY(0);
  opacity: 1;
  transition: none;
}


.service-item {
  opacity: 1;
  transition: opacity 180ms ease;
  will-change: opacity;
  transform: none !important;
}

.service-item.is-fading {
  opacity: 0;
}

#service-categories {
  transition: none !important;
  overflow-anchor: none;
}

/* Tắt animation cũ để khỏi chồng hiệu ứng */
.service-item.fade-in,
.service-item.fade-out {
  animation: none !important;
}

.service-item.hidden {
  display: none !important;
}

.scrollbar-hide {
  -ms-overflow-style: none;
  /* Internet Explorer 10+ */
  scrollbar-width: none;
  /* Firefox */
}

.scrollbar-hide::-webkit-scrollbar {
  display: none;
  /* Safari and Chrome */
}

.table_zigzag table {
  border: none !important;
}

.table_zigzag table td {
  border: none !important;
  text-align: left !important;
}

.breadcrumbs .breadcrumb {
  white-space: nowrap;
}

.breadcrumbs .breadcrumb .breadcrumb-item:last-child {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  white-space: normal;
}

.box_highlight .text-base.my-auto.mx-auto.pb-10 {
  padding-bottom: 0 !important;
}

/* .content-about a {
  text-decoration: underline;
} */

/* .content-about a:hover {
  font-weight: 600;
  transition: all 0.3s ease;
} */
.content-about a {
  display: inline;
  padding-bottom: 0;
  color: inherit;
  text-decoration-line: underline;
  text-decoration-color: currentColor;
  text-decoration-skip-ink: auto;
  text-underline-offset: 3px;
  text-decoration-thickness: 1px;
  transition: text-decoration-thickness 0.2s ease,
    text-underline-offset 0.2s ease, color 0.2s ease;
}

.content-about a:hover {
  text-decoration-thickness: 2px;
  text-underline-offset: 2px;
}

.content-container {
  position: relative;
}

.content-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 6;
  line-height: 1.5;
}

.content-text.expanded {
  display: block;
  -webkit-line-clamp: unset;
}

.toggle-btn-outside {
  position: absolute;
  bottom: 0;
  right: 0;
  background: white;
  /* padding-left: 0.5rem; */
  display: none;
}

.toggle-btn-outside.show {
  display: inline;
}

.toggle-btn-inside {
  display: none;
}

.content-text.expanded .toggle-btn-inside {
  display: inline;
}

.content-container.expanded .toggle-btn-outside {
  display: none;
}



/* excerpt.css */
.excerpt-content {
  transition: max-height 0.4s ease-in-out;
  /* Thêm transition cho max-height */
  overflow: hidden;
}

.excerpt-hidden {
  max-height: var(--max-height, 3.5rem);
  position: relative;
}

/* .excerpt-hidden::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 64px;
  background: linear-gradient(transparent, white);
} */

.excerpt-visible {
  /* max-height sẽ được set qua JS */
}

.excerpt-toggle {
  transition: all 0.3s;
}

.excerpt-toggle i {
  transition: transform 0.4s ease-in-out;
  /* Mượt hơn cho icon */
}

.excerpt-toggle .rotate {
  transform: rotate(180deg);
}

.breadcrumb-item:last-child a {
  pointer-events: none;
  cursor: default;
  text-decoration: none;
  color: inherit;
}

/* .table_cs tr td,
.table_cs tr th {
  word-wrap: break-word;
  overflow-wrap: break-word;
} */
.fancybox__container .plyr__controls {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

/* Khi hover vào video thì hiện controls */
.fancybox__container .plyr:hover .plyr__controls {
  opacity: 1;
  pointer-events: auto;
}

.social-link {
  position: relative;
  overflow: hidden;
}

.social-link::before {
  content: '';
  position: absolute;
  top: 200%;
  right: 200%;
  width: 100%;
  height: 100%;
  background: white;
  transform: translate(-50%, -50%);
  transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
  border-radius: 999px;
  z-index: 0;
}

.social-link:hover::before {
  top: 0;
  right: 0;
  transform: translate(0, 0);
}

.social-link i {
  position: relative;
  z-index: 1;
}

/* Step item hover effect */
.step-item {
  transition: opacity 0.3s ease;
}

.step-item:hover .icon_procedure {
  opacity: 0.8;
  transform: scale(1.05);
  transition: all 0.3s ease;
}

.step-item .icon_procedure {
  transition: all 0.3s ease;
}

.step-item:hover .step-title {
  opacity: 0.7;
  transition: opacity 0.3s ease;
}

.step-item .step-title {
  transition: opacity 0.3s ease;
}

.step-item:hover .step-content {
  opacity: 0.9;
  transition: opacity 0.3s ease;
}

.step-item .step-content {
  transition: height 0.3s ease, opacity 0.3s ease;
}

/* .pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 24px;
  margin-top: 24px;
}

.pagination a,
.pagination strong {
  font-size: 18px;
  width: 36px;
  height: 36px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.pagination strong {
  background-color: #EFEFEF;
  border-radius: 50%;
} */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 22px;
  margin-top: 24px;
}

.pagination-link,
.pagination-current {
  font-size: 24px;
  min-width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0 8px;
  text-decoration: none;
  border-radius: 6px;
  transition: background-color 0.2s;
  border: 1px solid #E0E0E0;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.pagination-link {
  color: #333;
}

.pagination-link:hover {
  background-color: #F5F5F5;
}

.pagination-current {
  background-color: #EFEFEF;
  font-weight: 600;
}

.pagination-ellipsis {
  font-size: 24px;
  min-width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 8px;
  /* Đẩy dấu … lên cao hơn */
  color: #999;
  pointer-events: none;
  user-select: none;
}

.card {
  position: relative;
  overflow: hidden;
}

.card:hover::after {
  opacity: 1;
}

.card::after {
  content: "";
  position: absolute;
  inset: 0;
  /* background: rgba(0, 0, 0, 0.09); */
  background: rgba(0, 0, 0, 0.15);
  /* tối hơn 5% */
  opacity: 0;
  transition: opacity 0.25s ease;
}

.look-thumb {
  position: relative;
  overflow: hidden;
}

.look-thumb::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(6px);
  opacity: 0;
  transition: opacity 0.25s ease;
}

.look-thumb:hover::after {
  opacity: 1;
}

header {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transition: opacity 0.42s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    visibility 0s linear 0s;
  will-change: opacity;
}

header.header-hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.38s cubic-bezier(0.25, 0.46, 0.45, 0.94),
    visibility 0s linear 0.38s;
}

header.header-visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}


.welcome-content-wrapper {
  position: relative;
}

.welcome-content-inner {
  position: relative;
}

.welcome-content-text {
  max-height: 250px;
  overflow: hidden;
  transition: max-height 0.4s ease-in-out;
  position: relative;
  pointer-events: none;
}

.welcome-content-text * {
  pointer-events: auto;
  /* Cho phép click vào link và nội dung bên trong */
}

.welcome-content-text.expanded {
  max-height: none;
}

.welcome-content-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 80px;
  background: linear-gradient(to bottom, rgba(255, 255, 255, 0) 0%, rgba(255, 255, 255, 0.8) 50%, rgba(255, 255, 255, 1) 100%);
  cursor: pointer;
  transition: opacity 0.25s ease;
  pointer-events: auto;
  z-index: 99;
}

.welcome-content-text.expanded+.welcome-content-overlay {
  opacity: 0;
  pointer-events: none;
}

.welcome-content-overlay:hover {
  opacity: 1;
  background: linear-gradient(to bottom,
      rgba(255, 255, 255, 0) 0%,
      rgba(255, 255, 255, 0.02) 42%,
      rgba(255, 255, 255, 0.12) 62%,
      rgba(255, 255, 255, 0.42) 80%,
      rgba(255, 255, 255, 1) 100%);
}

.has-html5video .fancybox__content {
  height: 100vh !important;
  height: 100dvh !important;
  width: 100vw !important;
  background: #000 !important;
}

.fancybox__slide.has-html5video {
  padding: 0 !important;
}

.has-html5video .fancybox__html5video,
.has-html5video .fancybox__content video {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain;
  background: #000;
}

.video-custom-controls {
  position: absolute;
  inset: 0;
  z-index: 99;
  pointer-events: none;
}

.video-control-overlay {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.video-center-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 30px;
  pointer-events: auto;
}

.video-bottom-bar,
.video-center-controls button,
.video-btn-volume,
.video-btn-fullscreen {
  pointer-events: auto;
}

.video-btn-fullscreen-floating {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  left: max(12px, env(safe-area-inset-left));
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 0;
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.46);
  cursor: pointer;
  touch-action: manipulation;
}

.fancybox-lazy-video-shell {
  width: 100%;
  height: 100%;
  min-height: 1px;
  background: #000;
}

.fancybox-lazy-video-content {
  width: 100vw !important;
  height: 100vh !important;
  height: 100dvh !important;
  max-width: 100vw !important;
  max-height: 100dvh !important;
  padding: 0 !important;
  background: #000 !important;
}

.fancybox-lazy-video-shell video {
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #000;
}

/* Light mode */
.logo img {
  width: 100%;
  height: auto;
  max-width: 100%;
}

.logo-light {
  display: block !important;
  filter: invert(1);
  mix-blend-mode: difference;
}

.logo-dark {
  display: none !important;
}

.form-toggle-area {
  min-height: 0;
}

.js-toggle-other,
.js-toggle-contact-form {
  display: block;
  width: 100%;
  background: transparent;
  border: 0;
  padding: 0;
  cursor: pointer;
}

.contact-form textarea {
  resize: none;
}

#contact-sheet-toggle {
  background-color: #919090;
  border-color: rgba(255, 255, 255, 0.3);
  z-index: 120;
  bottom: 2rem !important;
  transition: background-color 0.25s ease, border-color 0.25s ease,
    box-shadow 0.25s ease, transform 0.25s ease, bottom 0.25s ease;
}

#contact-sheet-toggle:hover,
#contact-sheet-toggle.is-open {
  background-color: #767676;
  border-color: rgba(255, 255, 255, 0.55);
  box-shadow: 0 6px 22px rgba(255, 255, 255, 0.35);
}

#contact-sheet-toggle:active {
  transform: scale(0.96);
}

#contact-sheet-toggle .contact-sheet-toggle__icon {
  transition: filter 0.25s ease, transform 0.25s ease;
}

#contact-sheet-toggle:hover .contact-sheet-toggle__icon,
#contact-sheet-toggle.is-open .contact-sheet-toggle__icon {
  filter: brightness(0) invert(1) contrast(1.15);
  transform: scale(1.04);
}

/* header.header-hidden ~ .menu-mobile,
body.header-hidden .menu-mobile {
    top: 0;
} */

@media (min-width: 1280px) {

  .menu-mobile,
  .over-mobile {
    display: none !important;
  }

  .language-menu {
    top: 80px;
    padding-top: 7%;
  }

  .language-overlay {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    height: calc(100vh - 60px);
    /* background: rgba(0, 0, 0, 0.3); */
    z-index: 998;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    pointer-events: none;
  }

  /* .cs_w_table {
    overflow: hidden;
  } */

  /* .cs_w_table table {
     table-layout: fixed; 
  } */
  #globe-btn.is-active::before,
  #globe-btn.is-active::after {
    width: 24px;
  }
}

@media (max-width: 768px) {
  .bg_w_home::after {
    content: 'w';
    position: absolute;
    top: 17%;
    left: 40%;
    transform: translate(-50%, -50%);
    font-size: 216px;
    font-family: 'MonteCarlo';
    color: #0000000D;
    text-transform: uppercase;
    z-index: 1;
  }

  .table_zigzag table tr {
    display: flex !important;
    flex-wrap: wrap !important;
    width: 100% !important;
  }

  .table_zigzag table tr td {
    width: 100% !important;
    text-align: left !important;
  }

  #globe-btn {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    width: 40px;
    height: 40px;
    overflow: hidden;
    display: block;
  }

  #mobile-menu-btn {
    width: 40px;
    height: 40px;
  }

  .tab_interview.active {
    background: #EFEFEF;
  }

  /* .breadcrumbs .breadcrumb .breadcrumb-item:nth-last-child(-n + 2) a {
    color: red;
  } */

  /* .breadcrumbs .breadcrumb .breadcrumb-item {
    display: none;
  } */

  /* .breadcrumbs .breadcrumb .breadcrumb-item:nth-last-child(-n + 2) {
    display: flex !important;
  } */
  /* .breadcrumbs .breadcrumb .breadcrumb-item:last-child {
    display: none;
  } */
  /* .breadcrumbs .breadcrumb .breadcrumb-item:nth-last-child(2) a {
    text-indent: -9999px;
    overflow: hidden;
    display: inline-block;
    position: relative;
    width: 22px;
    height: 22px;
  } */

  /* .breadcrumbs .breadcrumb .breadcrumb-item:nth-last-child(2) a::after {
    content: '\f104';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    color: #000;
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    text-indent: 0;
  } */
  .breadcrumbs .breadcrumb .breadcrumb-item:nth-last-child(2) {
    display: list-item;
  }

  .breadcrumbs .breadcrumb .breadcrumb-item:nth-last-child(2) a::after {
    display: none;
  }

  .breadcrumbs .breadcrumb .breadcrumb-item:nth-last-child(2) a::before {
    content: '\f104';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 20px;
    color: #000;
    margin-right: 8px;
  }

  .breadcrumbs .breadcrumb .breadcrumb-item,
  .breadcrumbs .breadcrumb .breadcrumb-item:last-child {
    display: none;
  }

  .language-menu {
    padding-top: 15%;
  }

  .menu_copyright ul {
    display: block;
    text-align: center;
  }

  .menu_copyright ul li:not(:last-child) {
    border-right: none !important;
  }

  .menu_copyright ul li {
    display: block;
    padding: 14px;
    font-size: 18px;
    /* pointer-events: none; */
  }

  .pagination {
    gap: 8px;
  }

  .pagination-link,
  .pagination-current {
    font-size: 16px;
    min-width: 45px;
    height: 45px;
  }

  .pagination-ellipsis {
    font-size: 16px;
    min-width: 30px;
    height: 30px;
  }

  .content-container:has(.toggle-btn-outside.show) .content-text {
    margin-bottom: 20px !important;
  }
}

@media (max-width: 576px) {

  /* Video không có pointer */
  .fancybox__content video {
    pointer-events: none !important;
  }

  /* Custom controls container */
  .video-custom-controls {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 99;
    pointer-events: none;
  }

  /* Overlay - phủ toàn bộ video */
  .video-control-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
  }

  /* Center controls - 3 nút ở giữa */
  .video-center-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    transition: opacity 0.3s;
    pointer-events: auto;
  }

  .video-center-controls.hidden {
    opacity: 0;
    pointer-events: none;
  }

  .video-center-controls button {
    background: none;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
    pointer-events: auto;
  }

  .video-center-controls button:active {
    transform: scale(0.9);
  }

  /* Bottom bar - thanh thời gian ở dưới */
  .video-bottom-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.6) 70%, transparent 100%);
    padding: 10px 20px 15px;
    pointer-events: auto;
    transition: opacity 0.3s, transform 0.3s;
  }

  .video-control-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
  }

  .video-btn-volume,
  .video-btn-fullscreen {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 40px;
    width: 40px;
    height: 40px;
    padding: 8px;
    border: 0;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.28);
    cursor: pointer;
    touch-action: manipulation;
  }

  .video-bottom-bar.hidden {
    opacity: 0;
    transform: translateY(100%);
    pointer-events: none;
  }

  /* Progress bar */
  .video-progress-container {
    width: 100%;
    padding: 5px 0 8px;
  }

  .video-progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
  }

  .video-progress-filled {
    height: 100%;
    background: #fff;
    border-radius: 2px;
    width: 0%;
    transition: width 0.1s linear;
  }

  /* Time display */
  .video-time {
    color: white;
    font-size: 13px;
    white-space: nowrap;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    text-align: center;
  }

  .fancybox__content>.f-button.is-close-btn {
    z-index: 999;
  }

  .has-html5video .fancybox__content {
    height: 100dvh !important;
    width: 100vw !important;
    max-height: 100dvh !important;
    max-width: 100vw !important;
  }

  .look_2_compare .label_compare {
    opacity: 0;
  }

  .look_2_compare .look_2 {
    position: relative;
    padding-bottom: 18px;
    overflow: visible;
  }

  .look_2_compare .look_2:not(:last-child)::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    margin-left: calc(-74.5vw + 16px);
    width: calc(100vw - 32px);
    height: 0.5px;
    background: #d3d1d1;
  }

  header {
    z-index: 9999 !important;
  }
}

.gallery-card {
  position: relative;
  overflow: hidden;
}

.gallery-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.42);
}

.gallery-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 58%;
  z-index: 2;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.78) 42%,
      rgba(0, 0, 0, 0.96) 76%,
      rgba(0, 0, 0, 1) 100%);
}

.gallery-card__content {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  width: 100%;
  max-width: 351px;
  padding: 3rem 1rem 1rem;
  text-align: center;
  transform: translateX(-50%);
}

.gallery-card__title {
  margin-bottom: 0.5rem;
  color: #dedede;
  font-size: 1.5rem;
  font-weight: 700;
  line-height: 1.15;
}

.gallery-card__description {
  color: #c7c7c7;
  font-size: 0.875rem;
  line-height: 1.75;
}

@media (min-width: 640px) {
  .gallery-card__content {
    padding: 3.5rem 1.25rem 1.25rem;
  }

  .gallery-card__title {
    margin-bottom: 1rem;
    font-size: 2rem;
  }

  .gallery-card__description {
    font-size: 1rem;
  }
}

.gallery-page-card {
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.gallery-page-card::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background: rgba(0, 0, 0, 0.08);
  transition: background 0.3s ease;
}

.gallery-page-card::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 22%;
  z-index: 2;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0) 0%,
      rgba(0, 0, 0, 0.16) 52%,
      rgba(0, 0, 0, 0.38) 78%,
      rgba(0, 0, 0, 0.62) 100%);
  transition: height 0.3s ease, background 0.3s ease;
}

.gallery-page-card:hover::before {
  background: rgba(0, 0, 0, 0.27);
}

.gallery-page-card:hover::after {
  height: 56%;
  background: linear-gradient(180deg,
      rgba(0, 0, 0, 0.02) 0%,
      rgba(0, 0, 0, 0.4) 38%,
      rgba(0, 0, 0, 0.66) 70%,
      rgba(0, 0, 0, 0.84) 100%);
}

.gallery-page-card__content {
  position: absolute;
  left: 50%;
  bottom: 0;
  z-index: 3;
  width: 100%;
  padding: 3.25rem 1.25rem 1.25rem;
  text-align: center;
  transform: translate(-50%, 100%);
  opacity: 0;
  transition: transform 0.3s ease-out, opacity 0.3s ease-out;
}

.gallery-page-card:hover .gallery-page-card__content {
  transform: translate(-50%, 0);
  opacity: 1;
}

.gallery-page-card__title {
  margin-bottom: 0.75rem;
  color: #dedede;
  font-size: 2rem;
  line-height: 1.15;
  font-weight: 400;
}

.gallery-page-card__description {
  color: #c8c8c8;
  font-size: 1.125rem;
  line-height: 1.55;
  font-weight: 300;
}

@media (max-width: 767.98px) {
  .gallery-page-card::before {
    background: rgba(0, 0, 0, 0.14);
  }

  .gallery-page-card::after {
    height: 28%;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0) 0%,
        rgba(0, 0, 0, 0.22) 44%,
        rgba(0, 0, 0, 0.46) 76%,
        rgba(0, 0, 0, 0.68) 100%);
  }

  .gallery-page-card__content {
    padding: 3rem 1rem 1rem;
  }

  .gallery-page-card__title {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
  }

  .gallery-page-card__description {
    font-size: 0.875rem;
    line-height: 1.7;
    color: #c2c2c2;
  }

  .gallery-page-card:hover::before,
  .gallery-page-card:focus-visible::before {
    background: rgba(0, 0, 0, 0.24);
  }

  .gallery-page-card:hover::after,
  .gallery-page-card:focus-visible::after {
    height: 54%;
    background: linear-gradient(180deg,
        rgba(0, 0, 0, 0.02) 0%,
        rgba(0, 0, 0, 0.38) 36%,
        rgba(0, 0, 0, 0.62) 68%,
        rgba(0, 0, 0, 0.8) 100%);
  }

  .menu_copyright ul li a {
    display: block;
    width: 100%;
  }
}