@font-face {
  font-family: 'barlow-bold';
  src: url('../css/fonts/barlow-bold.ttf') format('truetype');
  font-weight: bold;
  font-style: normal;
}

@font-face {
  font-family: 'barlow-italic-bold';
  src: url('../css/fonts/barlow-bolditalic.ttf') format('truetype');
  font-weight: bold;
  font-style: italic;
}

@font-face {
  font-family: 'barlow-italic';
  src: url('../css/fonts/barlow-italic.ttf') format('truetype');
  font-weight: normal;
  font-style: italic;
}

@font-face {
  font-family: 'barlow-black';
  src: url('../css/fonts/barlow-black.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

@font-face {
  font-family: 'barlow-regular';
  src: url('../css/fonts/barlow-regular.ttf') format('truetype');
  font-weight: normal;
  font-style: normal;
}

:root {
  --yellow: #fee795 --menu-bg: linear-gradient(to right, var(--red), var(--red-dark));
  --burger: #FFF;
  --menu-bg: #FFF;
  --header: #FFF;
  --vang: #c3b02e;
  --color-main: #1F6ED4;
  --sub-title: 0.9em;
  --title-mobile: 2em;
  --title-table: 2.5em;
  --title-pc: 3em;
  --padding-section-mobile: 30px 0;
  --padding-section-pc: 60px 0;
}

html,
body {
  font-family: 'barlow-regular' !important;
  font-size: 16px;
  line-height: 1.3em;
  scroll-behavior: smooth;
  height: auto;
  box-sizing: border-box;
  background-color: #fff;

}

body.no-sroll {
  overflow: hidden;
}

body.no-scroll {
  overflow: hidden;
  height: 100vh;
}

#menu_content .submenu {
  display: none;
}

.container.topbar {
  padding: 0px 0 !important;
}

.container.bottom-ft {
  padding: 0px 0 !important;
}

.container {
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  box-sizing: border-box;
  overflow: hidden;
  padding: 10px;
}

.container.menu {
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  padding-bottom: 0 !important;
  margin-left: auto;
  margin-right: auto;
  text-align: left;
  overflow: visible !important;
}

.blog-item-img.baiviet {
  width: auto;
  height: 200px;
  border-radius: unset !important;
}

.main-menu {
  position: relative;
  top: auto;
  left: 0;
  right: 0;

  background: var(--menu-bg);
  color: #FFF;
  font-family: "barlow-bold";
  font-size: 1.4em;
  padding: 8px 0;
  z-index: 9999;
  overflow: visible;
  pointer-events: unset;

  box-shadow: 0 8px 12px rgba(0, 0, 0, 0.2);

  will-change: transform, opacity, background;
  transform: translate3d(0, 0, 0);
  backface-visibility: hidden;

  transition:
    background 220ms ease,
    box-shadow 220ms ease;
}

.button-search {
  border: none;
  background-color: transparent;
  cursor: pointer;
}

.button-search .bi {
  font-size: 20px;
}

.main-menu.is-scrolled {
  position: fixed;
  top: 0;
  left: 0;
  height: fit-content;
  right: 0;
  background: #fff;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.12);
  animation: menuSlideDown 500ms ease both;
}

#header_menu .logo-layer {
  max-width: 100%;
  padding-left: 10px;
  width: fit-content;
}

@keyframes menuSlideDown {
  from {
    transform: translate3d(0, -100%, 0);
    opacity: 0.6;
  }

  to {
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }
}

@media (prefers-reduced-motion: reduce) {
  .main-menu.is-scrolled {
    animation: none;
  }
}

.ap-header {
  background: #fff;
}

.ap-header-inner {
  display: flex;
  align-items: center;
}

.ap-logo {
  width: 50%;
  text-align: left;
}

.app-right {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 0;
  width: 50%;
}

.ap-logo img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 300px;
}

.ap-btn-toggle {
  display: block;
  margin-left: auto;
  font-size: 28px;
  background: none;
  border: none;
}

.ap-btn-toggle.bars {
  margin: 0;
  padding: 0;
}

.ap-header-inner .gtranslate_wrapper {
  display: flex;
  align-items: center;
  gap: 5px;
}

.ap-header-inner .gtranslate_wrapper a.glink img {
  width: 20px;
}

.ap-nav {
  width: 100%;
  display: flex;
  position: fixed;
  top: 0;
  left: 0;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  transition: transform 0.3s ease, opacity 0.9s ease;
  transform: translateX(-105%);
  opacity: 1;
  z-index: 10;
}

.ap-nav.show {
  transform: translateX(0);
  opacity: 1;
}

.ap-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  width: 280px;
  background-color: #fff;
  margin: 0;
  padding: 50px 15px 30px 15px;
  overflow-y: auto;
}

.ap-menu-item {
  border-bottom: 1px solid #ccc;
}

.ap-menu .ap-menu-item:last-child {
  border-bottom: none;
}

.button-close {
  position: absolute;
  left: 260px;
  top: 15px;
  background-color: transparent;
  border: none;
}

.button-close .bi {
  font-size: 22px;
}

.ap-menu-item>a {
  display: flex;
  justify-content: space-between;
  padding: 16px 0;
  text-decoration: none;
  text-transform: uppercase;
  color: #333;
  font-weight: 500;
  font-size: 0.8em;
  transition: all 0.3s;
}

.ap-menu-item>a.item-a.active {
  color: var(--color-main);
}

/* SUBMENU MOBILE */
.ap-submenu,
.ap-submenu-level-3 {
  display: none;
  will-change: height;
}

.ap-submenu-level-3 {
  padding: 20px 0 20px 16px;
}

.ap-submenu-level-3 li {
  margin-bottom: 15px;
}

.ap-menu-item.open .ap-submenu .ap-sub-item .ap-submenu-level-3 li a {
  font-weight: 400;
  font-size: 0.8em;
}

.ap-submenu-level-4 {
  display: none;
  padding: 20px 0 10px 16px;
  /* thụt sâu hơn level 3 */
}

.ap-submenu-level-4 li {
  margin-bottom: 12px;
}

.ap-submenu-level-4 li a {
  font-size: 0.75em;
  font-weight: 400;
  color: #555;
  display: block;
  width: 100%;
}


.ap-menu-item.open .ap-submenu {
  padding-bottom: 20px;
  padding-left: 16px;
}

.ap-menu-item.open .ap-submenu .ap-sub-item {
  text-align: left;
  margin-bottom: 15px;
  list-style: none;
}

.ap-menu-item:not(.open) .ap-sub-item .ap-toggle {
  opacity: 0;
}


.ap-menu-item .ap-toggle.level-1,
.ap-sub-item .ap-toggle.level-2,
.ap-sub-item .ap-toggle.level-3 {
  display: inline-block;
  transition: transform 0.25s ease;
  color: #5f5c5c;
  font-size: 0.9em;
}

.ap-toggle {
  transform: rotate(0deg);
  transition: transform 0.25s ease;
}

.ap-menu-item.open>a>.ap-toggle.level-1 {
  transform: rotate(180deg);
}

.ap-sub-item.open>a>.ap-toggle.level-2 {
  transform: rotate(180deg);
}

.ap-sub-item.open>a>.ap-toggle.level-3 {
  transform: rotate(180deg);
}


.ap-menu-item.open .ap-submenu .ap-sub-item a {
  color: #333;
  font-weight: 400;
  font-family: 'barlow-regular';
  font-size: 0.8em;
  width: 100%;
  display: flex;
  justify-content: space-between;
  font-weight: 600;
}

.ap-sub-col a {
  display: block;
  margin-bottom: 6px;
  color: #555;
  text-decoration: none;
  font-size: 14px;
}

.ap-search {
  position: relative;
  margin: 0;
}

.ap-search-box {
  position: absolute;
  top: 100%;
  right: 0;
  margin-top: 8px;
  display: flex;
  gap: 6px;
  background: #fff;
  padding: 16px;
  border-radius: 6px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, .15);
  opacity: 0;
  transform: translateY(-10px);
  pointer-events: none;
  z-index: 10;
  transition: opacity .25s ease, transform .25s ease;
}

.ap-search-box.show {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.ap-search-box input {
  border: 1px solid #ddd;
  padding: 6px 10px;
  border-radius: 4px;
  height: 24px;
}

#form-search {
  display: flex;
  gap: 6px;
}

.ap-search-box button {
  padding: 6px 12px;
  border: none;
  background: #333;
  color: #fff;
  border-radius: 4px;
  cursor: pointer;
}

.thuonghieu {
  padding: 30px 0 0;
}

.box-thuonghieu {
  overflow: hidden;
}

#brand-slider {
  opacity: 1 !important;
  visibility: visible !important;
  transform: none !important;
}

#brand-slider .brand-items {
  width: 100%;
  height: auto;
  box-sizing: border-box;
  border-radius: 6px;
  transition: 0.3s ease;
}

#brand-slider .brand-items a {
  display: block;
  width: 100%;
  text-decoration: none;
}

#brand-slider .brand-items img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 6px;
  display: block;
}

#brand-slider .brand-items p {
  margin: 10px 0 0;
  padding: 0 6px;
  font-size: 0.9em;
  font-weight: 600;
  color: #111;
  line-height: 1.4;
  text-align: left;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
}

#brand-slider .owl-nav {
  display: none !important;
}


/* footer */
.container.footer {
  margin-top: 40px;
  background-color: #6e0410;
  padding: 20px 0;
  overflow: hidden;
}

.container.footer .footer-social {
  padding: 0 10px 10px 10px;
  text-align: center;
}

.container.footer .footer-social .logo-footer {
  width: 200px;
  margin: 0 auto;

}

.about-footer {
  font-size: 1em;
  text-align: left;
  color: #fff;
  line-height: 1.4;
}

.container.footer .footer-social .logo-footer img {
  width: 100%;
}

.container.footer .footer-social span {
  color: #fff;
  font-family: 'utm-helve-bold';
  font-size: .9em;
}

.kenh-social {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin: 10px auto;
}

.kenh-social .social-item {
  width: 45px;
  height: 45px;
  background-color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.kenh-social .social-item i,
.kenh-social .social-item .icon-shopee {
  color: #921a27;
  font-size: 20px;
}

.kenh-social .social-item:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
}

.container.footer .menu-footer {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  gap: 40px;
  justify-content: center;
  text-align: left;
  width: 100%;
  padding: 30px 30px 0 30px;
  box-sizing: border-box;
}

.container.footer .menu-footer .danhmuc-footer {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 10px;
}

.container.footer .menu-footer .danhmuc-footer .footer-title {
  margin: 0;
  color: #fff;
  font-size: 1.8em;
  margin-bottom: 10px;
}

.container.footer .menu-footer .danhmuc-footer a {
  color: #fff;
  text-decoration: none;
  font-size: 1em;
  font-family: 'barlow-regular';
  transition: color 0.3s ease;
}

.container.footer .menu-footer .danhmuc-footer .diachi {
  background-color: transparent;
  border-radius: 2px;
  padding: 0;
  margin: 0;
}

.container.footer .menu-footer .danhmuc-footer .diachi iframe {
  width: 100%;
  height: 200px;
}

.container.footer .menu-footer .danhmuc-footer .diachi a {
  display: flex;
  font-family: 'utm-avo-blod' !important;
  align-items: center;
  gap: 8px;
  font-size: .9em;
  color: #000;
  text-decoration: none;
  line-height: 1.4em;
}

.container.footer .menu-footer .danhmuc-footer .diachi a i {
  font-size: 1.1em;
  color: #000;
}

.footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  color: #ccc;
  background-color: #58585a;
  padding: 10px;
  font-size: .7em;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.ap-footer {
  position: relative;
  background: url('../images/bg-footer.png') center/cover no-repeat;
  background-position: right;
  color: #fff;
  font-size: 1em;
  text-align: left;
  overflow: hidden;
}

.ap-footer::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.3);
  z-index: 1;
}

.ap-footer>* {
  position: relative;
  z-index: 2;
}

.ap-footer-container {
  position: relative;
  margin: auto;
  padding: 40px 15px 20px;
}

.ap-footer-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.logo-footer {
  background-color: rgba(255, 255, 255, 0.26);
  text-align: center;
  padding: 5px 0;
  border-radius: 30px 30px 0 0;
  width: 100%;
  margin: auto;
}

.logo-footer img {
  width: 100%;
  height: auto;
  object-fit: cover;
  max-width: 200px;
}

.ap-footer-title {
  font-weight: 700;
  margin-bottom: 12px;
  font-size: 1.2em;
}

.ap-footer-col.colum-2 {
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: left;
}

.ap-footer-col ul {
  list-style: unset;
  padding: 0;
  margin: 0;
}

.ap-footer-col li {
  margin-bottom: 6px;
  list-style: unset;
}

.ap-footer-col .bi {
  margin-right: 5px;
}

.ap-footer-social a {
  display: inline-block;
  margin-right: 8px;
  color: #fff;
  text-decoration: none;
}


.ap-footer-disclaimer {
  opacity: 0.8;
  margin: 30px 0;
  text-align: center;
}

.ap-footer-bottom {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
  padding: 15px 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  background-color: rgba(255, 255, 255, .26);
  border-radius: 20px 20px 0 0;
}

.ap-footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px;
  font-weight: 700;
}

.app-copyright {
  display: flex;
  flex-direction: column-reverse;
  gap: 15px;
}

.app-copyright span {
  text-align: center;
  display: flex;
  align-items: center;
}

.ap-footer-links a {
  color: #fff;
  text-decoration: none;
}

.ap-hero {
  position: relative;
  width: 100%;
  height: 65vh;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-hero #banner-slider.owl-carousel .owl-item img {
  height: 65vh;
  object-fit: cover;
  opacity: 1;
}

.ap-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 1;
}

.ap-hero-content {
  position: relative;
  z-index: 2;
  text-align: left;
  width: 100%;
  margin-right: auto;
}

.ap-hero-subtitle {
  display: block;
  font-size: 0.8em;
  text-align: left;
  letter-spacing: 2px;
  color: var(--color-main);
  font-weight: 600;
}

.ap-hero-title {
  font-size: var(--title-mobile);
  line-height: 1.2;
  font-weight: 700;
  color: #fff;
  margin-top: 0;
  margin-bottom: 24px;
}

.ap-hero-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 35px;
  background: var(--color-main);
  color: #fff;
  text-decoration: none;
  font-size: 0.8em;
  border-radius: 4px;
  transition: all 0.3s;
}

.ap-hero-btn:hover {
  background: var(--vang);
}

.ap-topbar {
  display: none;
}

.ap-about {
  padding: var(--padding-section-mobile);
  background: #fff;
  text-align: left;
}

.ap-about-container {
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 40px;
  align-items: center;
}

.ap-about-subtitle {
  color: var(--color-main);
  font-size: var(--sub-title);
  letter-spacing: 2px;
  font-weight: 700;
  display: inline-block;
  margin-bottom: 10px;
  font-family: 'barlow-bold'
}

.ap-about-title {
  font-size: var(--title-mobile);
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 0;
  color: #111;
  font-family: 'barlow-bold'
}

.ap-about-desc {
  font-size: 1em;
  line-height: 1.7;
  color: #444;
}

.ap-about-btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 35px;
  background: var(--color-main);
  color: #fff;
  text-decoration: none;
  border-radius: 6px;
  font-size: 1em;
  transition: 0.3s;
}

.ap-about-btn:hover {
  background: var(--vang);
}

.ap-about-visual {
  position: relative;
  display: flex;
  justify-content: center;
}

.ap-about-circle {
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-about-circle img {
  width: 90%;
  height: auto;
}

.ap-about-exp {
  position: absolute;
  bottom: -40px;
  left: 20px;
  width: 120px;
  height: 120px;
  background: linear-gradient(rgb(73, 73, 73) 0px, rgb(115, 115, 115) 100%);
  color: #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.ap-about-exp strong {
  font-size: 2em;
  line-height: 1;
}

.ap-about-exp span {
  font-size: 0.8em;
}

.ap-services {
  padding: var(--padding-section-mobile);
  background: #fff;
  text-align: left;
}

.ap-services-container {
  margin: auto;
}

.ap-services-header {
  text-align: center;
  margin-bottom: 48px;
}

.ap-services-subtitle {
  color: var(--color-main);
  font-size: var(--sub-title);
  letter-spacing: 2px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 8px;
}

.ap-services-title {
  font-size: var(--title-mobile);
  line-height: 1.35;
  font-weight: 700;
  margin-bottom: 20px;
  margin-top: 0;
  color: #111;
  font-family: 'barlow-bold';
}

:root {
  --ap-main: #1f6ed4;
  --ap-bg: #3f3f45;
}

.ap-services-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.ap-service-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  color: #fff;
  background: transparent;
  padding: 0;
  overflow: visible;
}

.ap-service-icon {
  position: absolute;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 5;
  width: 92px;
  height: 92px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(31, 110, 212, 1);
  border: 3px solid rgba(210, 230, 255, 0.85);
  box-shadow: 0 0 0 6px rgba(255, 255, 255, 0.18);
}

.ap-service-icon i {
  font-size: 34px;
  color: #fff;
}

.ap-service-card h3 {
  margin: 60px 0 0;
  width: 80%;
  background: rgba(31, 110, 212, 0.15);
  border: 3px solid rgba(31, 110, 212, 0.2);
  padding: 10px;
  text-align: center;
  font-size: 15px;
  border-radius: 15px;
  font-weight: 700;
  line-height: 1.35;
  min-height: 100px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow:
    0 10px 22px rgba(0, 0, 0, 0.22),
    0 0 0 3px rgba(255, 255, 255, 0.25) inset;
  color: #111;
}

.ap-service-card:hover h3 {
  transform: translateY(-4px) scale(1.02);
  border-color: rgba(31, 110, 212, 0.6);
  box-shadow:
    0 16px 34px rgba(0, 0, 0, 0.28),
    0 0 0 3px rgba(255, 255, 255, 0.35) inset;
}

.ap-service-icon {
  font-size: 32px;
  color: var(--color-main);
  margin-bottom: 8px;
}

.ap-service-card h3 {
  font-size: 1.2em;
  font-weight: 600;
  line-height: 1.4;
}

.ap-newsletter {
  padding: var(--padding-section-mobile);
}

.ap-newsletter-inner {
  margin: auto;
  background-image: url(../images/nguoi-cam-can.jpg);
  background-position: 65% center;
  background-size: cover;
  display: grid;
  grid-template-columns: 1fr;
  align-items: center;
  overflow: hidden;
  border-radius: 20px;
}

.ap-newsletter-visual {
  display: none;
}

.ap-newsletter-visual img {
  width: 100%;
  height: auto;
  max-width: 300px;
}

.ap-newsletter-content {
  padding: 40px 24px;
  text-align: center;
  color: #fff;
}

.ap-newsletter-content h3 {
  font-size: 22px;
  font-weight: 700;
  line-height: 1.5;
  margin-bottom: 24px;
  margin-top: 0;
}

.ap-newsletter-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 30px;
  background: #fff;
  color: var(--color-main);
  border-radius: 6px;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: all 0.3s;
}

.ap-newsletter-btn:hover {
  background-color: var(--vang);
  color: #fff;
}

/* ================= MODAL ================= */
.ap-modal {
  position: fixed;
  inset: 0;
  display: none;
  z-index: 9999;
}

.ap-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
}

.ap-modal-box {
  position: relative;
  max-width: 920px;
  width: 92%;
  background: #fff;
  border-radius: 14px;
  margin: 5vh auto;
  overflow: hidden;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.ap-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border: none;
  border-radius: 50%;
  background: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 10;
}

.ap-modal-content {
  display: grid;
  grid-template-columns: 1fr;
  padding: 20px;
}

.ap-modal-image {
  display: none;
}

.ap-modal-image img {
  width: 100%;
  height: 100%;
  object-fit: fill;
}

.ap-modal-form {
  padding: 36px;
}

.ap-modal-form h3 {
  color: var(--color-main);
  font-size: 22px;
  margin-bottom: 10px;
}

.ap-modal-form p {
  font-size: 14px;
  margin-bottom: 20px;
  color: #444;
}

.ap-modal-form input,
.ap-modal-form select,
.ap-modal-form textarea {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 14px;
  box-sizing: border-box;
}

.ap-modal-submit {
  background: var(--color-main);
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s;
}

.ap-modal-submit:hover {
  background-color: var(--vang);
}

.ap-contact {
  padding: var(--padding-section-mobile);
  background: #fff;
  text-align: left;
}

.ap-contact-container {
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 48px;
}

.ap-contact-info {
  display: flex;
  flex-direction: column;
  gap: 32px;
}

.ap-contact-item {
  display: flex;
  align-items: center;
  gap: 16px;
  color: #111;
}

.ap-contact-icon .bi {
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
  color: var(--color-main);
}

.ap-contact-item div {
  line-height: 1.6;
}

.ap-contact-title {
  color: var(--color-main);
  font-size: var(--title-mobile);
  font-weight: 700;
  margin-bottom: 30px;
  margin-top: 0;
}

.ap-contact-form-wrap {
  background: #fff;
}

.ap-contact-form {
  max-width: 600px;
}

.ap-form-group {
  margin-bottom: 16px;
}

.ap-form-row {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.ap-form-group label {
  display: block;
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 6px;
}

.ap-form-group input,
.ap-form-group select,
.ap-form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1em;
  box-sizing: border-box;
}

.ap-form-group input:focus,
.ap-form-group select:focus,
.ap-form-group textarea:focus {
  outline: none;
  border-color: var(--color-main);
}

.ap-contact-submit {
  margin-top: 12px;
  background: var(--color-main);
  color: #fff;
  border: none;
  padding: 12px 32px;
  border-radius: 8px;
  font-size: 14px;
  cursor: pointer;
  float: right;
  transition: all 0.3s;
}

.ap-contact-submit:hover {
  background-color: var(--vang);
}

.ap-awards {
  padding: var(--padding-section-mobile);
  background: #fff;
}

.ap-awards-header {
  text-align: center;
  margin-bottom: 32px;
}

.ap-awards-subtitle {
  color: #c61d2c;
  font-size: 12px;
  letter-spacing: 2px;
  font-weight: 600;
  display: inline-block;
  margin-bottom: 8px;
}

.ap-awards-title {
  font-size: 22px;
  font-weight: 700;
}

.ap-hidden {
  opacity: 0;
  visibility: hidden;
  height: 0;
  overflow: hidden;
}

.ap-awards-slider {
  transition: opacity 0.3s ease;
}

.ap-award-item {
  background: rgba(255, 255, 255, 0.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.35);
  border-radius: 18px;
  padding: 16px 16px 18px;
  box-shadow: 0 10px 26px rgba(0, 0, 0, 0.1);
  transition: 0.25s ease;
  height: 100%;
}

.ap-award-item img {
  width: 100%;
  height: auto;
}

.ap-award-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.2);
}

.ap-awards-slider .slick-track {
  display: flex !important;
}

.ap-awards-slider .slick-slide {
  height: auto;
  margin-bottom: 5px;
}

.ap-award-item.danhgia img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  display: block;
  margin-bottom: 10px;
  border: 2px solid rgba(31, 110, 212, 0.25);
}

.ap-award-item h4 {
  margin: 0 0 6px;
  font-size: 14px;
  font-weight: 800;
  line-height: 1.2;
  color: #111;
}

.ap-award-item .ap-stars {
  color: #f5b301;
  font-size: 14px;
  letter-spacing: 1px;
  display: inline-block;
  margin-bottom: 6px;
}

.in4-kh {
  display: flex;
  gap: 10px;
}

.ap-award-item .ap-review-time {
  display: block;
  font-size: 12px;
  color: #333;
  margin-bottom: 6px;
}

.ap-award-item p {
  margin: 0;
  font-size: 13px;
  line-height: 1.5;
  color: #111;
}

.ap-award-item p br {
  content: "";
}

.ap-awards .slick-prev,
.ap-awards .slick-next {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.15);
  z-index: 10;
}

.ap-awards .slick-prev:before,
.ap-awards .slick-next:before {
  color: #c61d2c;
  font-size: 16px;
}

.ap-awards-nav {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 24px;
}

.ap-awards-prev .bi,
.ap-awards-next .bi {
  font-size: 35px;
  color: gray;
}

.ap-press-prev .bi,
.ap-press-next .bi {
  font-size: 35px;
  color: #fff;
}

.ap-article-prev .bi,
.ap-article-next .bi {
  font-size: 35px;
  color: gray;
}

.slick-arrow .bi {
  font-size: 35px;
  color: gray;
}

.ap-article-prev,
.ap-article-next,
.ap-awards-prev,
.ap-awards-next,
.ap-press-prev,
.ap-press-next,
.slick-arrow {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: none;
  background-color: transparent;
}

.box-award {
  position: relative;
  background-image: url(../images/bg-can.jpg);
  background-size: cover;
  padding: 50px;
  background-position: center;
  box-sizing: border-box;
}

.box-press {
  position: relative;
}

.box-award .ap-awards-nav,
.box-press .ap-awards-nav {
  position: absolute;
  width: 110%;
  left: -5%;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  top: 50%;
  transform: translateY(-50%);
  transition: all 0.3s;
}

.ap-award-item {
  margin: 10px;
}

.ap-awards-slider .slick-list {
  margin: 0 -12px;
}

.ap-awards-slider .slick-track {
  display: flex !important;
}

.ap-awards-slider .slick-slide {
  height: auto;
}

.ap-press {
  position: relative;
  padding: var(--padding-section-mobile);
  background: url("/images/banner-news.jpg") center/cover no-repeat;
  color: #fff;
}

.ap-press-overlay {
  position: absolute;
  inset: 0;
  background: rgb(32 121 255 / 68%);
}

.ap-press-container {
  position: relative;
  margin: auto;
  z-index: 2;
}


.ap-press-header span {
  color: #fff;
}

.ap-press-header h2 {
  color: #fff;
}

.ap-press-slider {
  margin-top: 24px;
}

.ap-press-item {
  background: #fff;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin: 0 40px;
}

.ap-press-item img {
  width: 100%;
  object-fit: cover;
  height: 100%;
}

.ap-press-slider .slick-list {
  margin: 0 -12px;
}

.ap-press-slider .slick-track {
  display: flex !important;
}

.ap-press-slider .slick-slide {
  height: auto;
}

.ap-press .slick-prev,
.ap-press .slick-next {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  z-index: 5;
}

.ap-deals {
  padding: var(--padding-section-mobile);
  background: #fff;
  text-align: left;
}

.ap-deals-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;
}

.ap-deal-feature img {
  width: 100%;
  height: 300px;
  object-fit: cover;
  border-radius: 12px;
  margin-bottom: 16px;
}

.ap-deal-feature h3 {
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 8px;
  margin-top: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ap-deal-feature p {
  font-size: 0.9em;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #444;
}

.ap-deal-item {
  display: flex;
  gap: 16px;
  margin-bottom: 24px;
  flex-direction: column;
}

.ap-deal-item img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  flex-shrink: 0;
}

.ap-deal-item h4 {
  font-size: 1em;
  font-weight: 700;
  margin-bottom: 4px;
  margin-top: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ap-deal-item p {
  font-size: 0.9em;
  color: #555;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ap-deals-pagination {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
  flex-wrap: wrap;
}

.ap-deals-pagination button,
.ap-deals-pagination span {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid #ddd;
  background: #fff;
  cursor: pointer;
  font-size: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ap-deals-pagination .active {
  background: var(--color-main);
  color: #fff;
  border-color: var(--color-main);
}

.apolat-tabs {
  margin: 0 auto;
}

.apolat-tabs-header {
  display: flex;
  gap: 12px;
  justify-content: center;
  margin: 20px 0 30px 0;
  flex-wrap: wrap;
}

.apolat-tab-btn {
  padding: 10px 18px;
  border: 2px solid transparent;
  border-radius: 8px;
  cursor: pointer;
  background: #fff;
  font-weight: 700;
  transition: 0.3s;
  text-transform: uppercase;
  font-family: 'barlow-bold' !important;
}

.apolat-tab-btn.active {
  border: 2px solid var(--color-main);
  color: var(--color-main);
  font-weight: 700;
}

.apolat-tab-content {
  display: none;
  font-size: 1em;
  line-height: 1.5;
}

.apolat-tab-content.active {
  display: block;
}

.apolat-post-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.apolat-post-item {
  position: relative;
  overflow: hidden;
}

.apolat-post-item .square-image {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.apolat-post-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.apolat-post-item:hover img {
  transform: scale(1.08);
}

.apolat-post-item .square-image::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgb(0 0 0 / 89%), rgba(0, 0, 0, 0.15), rgba(0, 0, 0, 0));
  z-index: 1;
}

.apolat-post-item h2 {
  position: absolute;
  left: 12px;
  right: 12px;
  bottom: 12px;
  margin: 0;
  z-index: 2;
  font-weight: 700;
  line-height: 1.4;
}

.apolat-post-item h2 a {
  color: #fff;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-size: 18px;
  text-transform: uppercase;
}

.header-ma span {
  font-weight: 700;
  color: var(--color-main);
  font-size: 1.2em;
  font-family: 'barlow-bold' !important;
}

.header-ma h1 {
  font-weight: 700;
  line-height: 1.5;
  font-size: var(--title-mobile);
  font-family: 'barlow-bold' !important;

}

.main-content {
  padding: 0 10px 50px;
}

.article-page .ap-award-item h4 {
  font-size: 1em;
  text-transform: unset;
  display: -webkit-box;
  -webkit-line-clamp: 1;
  -webkit-box-orient: vertical;
  overflow: hidden;
  padding: 10px 15px 0;
}

.article-page .ap-award-item {
  padding: 0 0 20px 0;
  overflow: hidden;
}

.article-page .ap-award-item img {
  height: 200px;
}

.ap-blog {
  background: #fff;
  margin-top: 30px;
}

.ap-blog-container {
  margin: auto;
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;

}

.ap-hero-video {
  opacity: 1 !important;
}

#banner-slider .banner-video-item,
#banner-slider .banner-video {
  width: 100% !important;
  height: 65vh !important;
  opacity: 1 !important;
  filter: none !important;
  object-fit: cover !important;
  display: block !important;
}

/* BLOG LIST */
.ap-blog-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}

.ap-blog-list .ap-blog-item {
  height: fit-content;
}

.blog-item-img {
  width: 180px;
  height: 180px;
  margin: 0 auto;
  overflow: hidden;
  border-radius: 50%;
}

.ap-blog-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.1);
  transform-origin: center center;
}

.ap-blog-item h3 {
  font-size: 1.2em;
  font-weight: 700;
  margin-top: 0;
  text-align: center;
  line-height: 1.2;
  margin-top: 10px;
  margin-bottom: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ap-blog-item div.ap-line-2 {
  font-size: 1.1em;
  color: #111;
  text-align: center;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.ap-blog-item .chucvu {
  display: inline-block;
  font-size: 1em;
  color: #222;
  text-align: center;
  margin: 5px 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  font-weight: bold;
}

.ap-blog-item .chinhanh {
  display: inline-block;
  font-size: .9em;
  color: #444;
  text-align: center;
  margin: 0;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* SIDEBAR */
.ap-blog-sidebar {
  position: sticky;
  top: 100px;
}

.ap-sidebar-box {
  border: 1px solid #e0e0e0;
  border-radius: 12px;
  padding: 16px;
  text-align: left;
  box-shadow: 0 2px 12px rgba(20, 20, 43, .08);
}

.ap-sidebar-title {
  font-size: 1.2em;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--color-main);
  margin-top: 0;
}

/* service item */
.ap-sidebar-item {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 16px;
}

.ap-sidebar-item img {
  width: 100%;
  object-fit: cover;
  border-radius: 8px;
  aspect-ratio: 5 / 3;
}

.ap-sidebar-item h4 {
  font-size: 1em;
  font-weight: 700;
  margin: 16px 0;
  transition: all 0.3s;
}

.page-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 6px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.page-nav a {
  min-width: 32px;
  height: 32px;
  padding: 0 8px;

  display: flex;
  align-items: center;
  justify-content: center;

  border: 1px solid #ddd;
  border-radius: 4px;

  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  color: #333;
  background: #fff;

  transition: all .2s ease;
}

.page-nav a:hover {
  background: #f2f2f2;
}

.page-nav a.active {
  background: #e9ecef;
  border-color: #ccc;
  color: #000;
  font-weight: 600;
}

.help-section {
  background: url("/images/bg-world.png") center / cover no-repeat;
  padding: var(--padding-section-mobile);
  margin-bottom: 30px;
}

.help-title {
  text-align: center;
  color: #fff;
  font-size: 1.2em;
  font-weight: 700;
  margin: 0 auto 30px auto;
  max-width: 500px;
  line-height: 1.4;
}

.help-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

.help-card {
  background: #fff;
  border-radius: 14px;
  padding: 24px 16px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .08);
}

.help-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #1F6ED4;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 24px;
}

.help-card h3 {
  font-size: 16px;
  font-weight: 600;
  color: #222;
}

.toc-content {
  text-align: left;
}

.main-content .toc ul li a {
  font-size: 1em;
  color: #444 !important;
}

.main-content .toc .toc-title {
  margin-bottom: 10px !important;
}

#toc_container {
  background-color: #f9f9f9;
}

.title-blog {
  font-size: var(--title-mobile);
  color: var(--color-main);
  font-weight: 700;
  line-height: 1.5;
}

.time-blog {
  font-size: 1em;
  color: #444;
  display: flex;
  align-items: center;
  gap: 5px;
  margin-bottom: 20px;
}

.box-content {
  font-size: 15px;
  line-height: 1.7;
  color: #222;
}

.box-content p {
  margin: 0 0 1em;
}

.box-content h1 {
  font-size: 22px;
  margin: 0.8em 0 .2em;
  color: var(--color-main);
}

.box-content h2 {
  font-size: 20px;
  margin: 0.8em 0 .2em;
  color: var(--color-main);
}

.box-content h3 {
  font-size: 18px;
  margin: 0.8em 0 .2em;
  color: var(--color-main);
}

.box-content h4 {
  font-size: 16px;
  margin: 1em 0 .4em;

}

.box-content ul,
.box-content ol {
  padding-left: 18px;
  margin: 0 0 1em;
}

.box-content li {
  margin-bottom: 6px;
}

.box-content a {
  color: #1F6ED4;
  text-decoration: underline;
}

.box-content img {
  max-width: 100%;
  height: auto;
  margin: 12px 0;
  border-radius: 6px;
}

.box-content blockquote {
  border-left: 4px solid #1F6ED4;
  padding: 10px 14px;
  background: #f4f7fb;
  margin: 14px 0;
  font-style: italic;
}

.box-content table {
  width: 100%;
  border-collapse: collapse;
  margin: 14px 0;
  display: block;
  overflow-x: auto;
}

.box-content th,
.box-content td {
  border: 1px solid #ddd;
  padding: 8px;
  font-size: 14px;
}

.box-content pre {
  background: #0f172a;
  color: #f8fafc;
  padding: 12px;
  overflow-x: auto;
  border-radius: 6px;
}

.box-content code {
  background: #f1f5f9;
  padding: 2px 5px;
  border-radius: 4px;
  font-size: 13px;
}

.single-page .ap-articles-slider,
.single-page .ap-legal-slider {
  height: fit-content !important;
}

.single-page .ap-award-item h4 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-transform: unset;
  text-align: left;
  line-height: 1.4;
  padding: 0 20px;
  margin-top: 15px;
}

.single-page .ap-services-title {
  font-size: var(--title-mobile) !important;
}

.single-page .ap-award-item {
  padding: 0 0 20px 0;
  overflow: hidden;
  margin-bottom: 3px;
  transition: all 0.3s;
}

.single-page.legal .ap-award-item h4 {
  padding: 0 10px;

}

.single-page.legal .ap-award-item {
  border: none;
  border-radius: 0;
}

.ap-blog-sidebar .ap-contact-info {
  display: none;
}

.ap-blog-sidebar .ap-contact-container {
  gap: 0;
  display: block;
}

.ap-blog-sidebar .ap-contact-container .ap-form-row {
  display: flex;
  flex-direction: column;
  gap: 0;

}

.ap-blog-sidebar .ap-contact {
  padding: 16px;
  box-shadow: 0 2px 12px rgba(20, 20, 43, .08);
  border-radius: 8px;
  margin-top: 20px;
  border: 1px solid #e6e6e6;
}

.ap-blog-sidebar .ap-contact .ap-contact-submit {
  float: unset;
  width: 100%;
}

.ap-blog-sidebar .container {
  max-width: unset !important;
  padding: 0 !important;
}

.ap-blog-sidebar .ap-contact-title {
  font-size: 1.2em;
  text-transform: unset;
}

.ap-blog.ap-list .ap-contact {
  display: none;
}

.contact .img-bg {
  width: 100%;
  height: 100%;
  max-height: 350px;
  object-fit: cover;
  object-position: top;
}

.main-contact .ap-contact-title {
  font-size: 1.5em;
}

.ap-office {
  padding: var(--padding-section-mobile);
  background: #f8f8fa;
}

.ap-office-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 32px;

}

.ap-office-item {
  display: flex;
  flex-direction: column;
}

.ap-office-title {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1.5em;
  font-weight: 700;
  margin-bottom: 16px;
  margin-top: 0;
  color: #111;
}

.ap-office-icon {
  font-size: 20px;
  color: var(--color-main);
}

.ap-office-map {
  width: 100%;
  border-radius: 2px;
  overflow: hidden;
  background: #eee;
}

.ap-office-map iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.ap-contact-bar {
  padding: var(--padding-section-mobile);
  background: #fff;
}

.ap-bar-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 24px;

}

.ap-bar-item {
  background: linear-gradient(180deg, #555, #777);
  border-radius: 12px;
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 16px;
  color: #fff;
}

.ap-bar-icon {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--color-main);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ap-contact-icon i {
  font-size: 24px;
  color: #fff;
}

.ap-contact-text strong {
  display: block;
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
}

.ap-contact-text span {
  font-size: 14px;
  opacity: 0.9;
}

.ap-blog.lawyer {
  padding: var(--padding-section-mobile);
  padding-top: 0;
}

.lx-lawyer-profile {
  background: #fff;
}

.lx-lawyer-wrap {
  display: grid;
  grid-template-columns: 1fr;
  border-radius: 16px;
  overflow: hidden;
  gap: 20px;
}

.lx-lawyer-photo {
  width: 300px;
  height: 100%;
  border-radius: 50%;
  overflow: hidden;
  margin: 0 auto;
}

.lx-lawyer-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transform: scale(1.1);
}

.lx-lawyer-content {
  background: linear-gradient(90deg, #1F6ED4 0%, #1a5fc0 55%, #154a9a 100%);
  padding: 32px;
  color: #fff;
}

.lx-lawyer-name {
  font-size: var(--title-mobile);
  font-weight: 800;
  margin-bottom: 4px;
  line-height: 1.5;
  margin-top: 0;
}

.lx-lawyer-role {
  display: block;
  font-size: 1em;
  font-weight: 600;
  margin-bottom: 16px;
  opacity: 0.9;
}

.lx-lawyer-desc p {
  font-size: 1em;
  line-height: 1.6;
  margin-bottom: 12px;
}

.location-main {
  font-size: .9em !important;
  font-weight: bold;
}

/* nút liên lạc */
.float-contact {
  position: fixed;
  left: 25px;
  bottom: 40px;
  z-index: 99999;
  display: flex;
  flex-direction: column;
  gap: 55px;
}

.fc-btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  text-decoration: none;
  position: relative;
  overflow: visible;
  box-shadow: 0 8px 20px rgba(0, 0, 0, .18);
  transform: translateZ(0);
}

/* nền nút */
.fc-whatsapp {
  background: transparent;
}

.fc-whatsapp img {
  width: 120%;
}

.fc-phone {
  background: transparent;
}

/* ICON ẢNH */
.fc-icon {
  width: 100%;
  height: auto;
  object-fit: contain;
  z-index: 5;
  position: relative;
  animation: fc-shake 1s infinite;

}

@keyframes fc-shake {
  0% {
    transform: rotate(0deg) translate(0, 0);
  }

  10% {
    transform: rotate(-6deg) translate(-1px, 0);
  }

  20% {
    transform: rotate(6deg) translate(1px, 0);
  }

  30% {
    transform: rotate(-6deg) translate(-1px, 0);
  }

  40% {
    transform: rotate(6deg) translate(1px, 0);
  }

  50% {
    transform: rotate(0deg) translate(0, 0);
  }

  100% {
    transform: rotate(0deg) translate(0, 0);
  }
}

/* hiệu ứng vòng tròn lan rộng */
.fc-btn::before,
.fc-btn::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 50%;
  opacity: 0;
  animation: fc-ping 1.6s infinite;
}

/* vòng 1 */
.fc-whatsapp::before,
.fc-whatsapp::after {
  border: 2px solid rgba(0, 104, 255, 0.55);
}

.fc-phone::before,
.fc-phone::after {
  border: 2px solid rgba(255, 0, 0, 0.55);
}

/* vòng 2 trễ */
.fc-btn::after {
  animation-delay: .6s;
}

@keyframes fc-ping {
  0% {
    transform: scale(0.9);
    opacity: 0.9;
  }

  60% {
    opacity: 0.25;
  }

  100% {
    transform: scale(1.9);
    opacity: 0;
  }
}

.fc-btn:hover {
  transform: scale(1.06);
  transition: .2s ease;
}

small.error {
  width: 100%;
  display: block;
  color: red;
  text-align: left;
  margin-bottom: 14px;
}

#newsletterForm .ap-form-group input,
#newsletterForm .ap-form-group select,
#newsletterForm.ap-form-group textarea {
  margin-bottom: 5px;
}

@media (min-width: 576px) {

  .apolat-post-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .container {
    max-width: 540px;
  }

  .ap-about-exp {
    position: absolute;
    bottom: 0px;
    left: 60px;
  }
}

#wechatOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 16px;
  /* mobile safe */
}

/* popup box */
#wechatOverlay .wechat-popup {
  background: #fff;
  width: 100%;
  max-width: 300px;
  border-radius: 14px;
  padding: 18px 16px 20px;
  text-align: center;
  position: relative;
  animation: wechatFadeUp 0.25s ease-out;
  box-sizing: border-box;
}

/* QR image */
#wechatOverlay .wechat-popup img {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  border-radius: 10px;
}

/* text */
#wechatOverlay .wechat-popup p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #333;
}

/* close button */
#wechatOverlay .wechat-close {
  position: absolute;
  top: 6px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #666;
}

#whatsappOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  padding: 16px;
  /* mobile safe */
}

/* popup box */
#whatsappOverlay .wechat-popup {
  background: #1ea761;
  width: 100%;
  max-width: 300px;
  border-radius: 14px;
  padding: 18px 16px 20px;
  text-align: center;
  position: relative;
  animation: wechatFadeUp 0.25s ease-out;
  box-sizing: border-box;
}

/* QR image */
#whatsappOverlay .wechat-popup img {
  display: block;
  width: 100%;
  max-width: 220px;
  margin: 0 auto;
  border-radius: 10px;
}

/* text */
#whatsappOverlay .wechat-popup p {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.45;
  color: #FFF;
}

/* close button */
#whatsappOverlay .wechat-close {
  position: absolute;
  top: 6px;
  right: 10px;
  border: none;
  background: transparent;
  font-size: 22px;
  line-height: 1;
  cursor: pointer;
  color: #FFF;
}

@keyframes wechatFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px) scale(0.96);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

.lawyer-info__icon {
  font-size: 14px;
  margin-right: 6px;
  color: #666;
  vertical-align: middle;
}

.lawyer-info i {
  font-size: 25px;
}

.lawyer-info__col.lawyer-info__col--left,
.lawyer-info__col.lawyer-info__col--right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.lawyer-info__name,
.lawyer-info__office,
.lawyer-info__phone,
.lawyer-info__email {
  display: flex;
  align-items: center;
  gap: 8px;
}


@media (min-width: 768px) {
  #wechatOverlay .wechat-popup {
    max-width: 340px;
    padding: 22px 20px 24px;
  }

  #wechatOverlay .wechat-popup p {
    font-size: 15px;
  }

  #whatsappOverlay .wechat-popup {
    max-width: 340px;
    padding: 22px 20px 24px;
  }

  #whatsappOverlay .wechat-popup p {
    font-size: 15px;
  }

  .lawyer .ap-blog-container .ap-blog-list {
    grid-template-columns: 1fr 1fr;
  }

  .box-content {
    font-size: 16px;
  }

  .box-content h1 {
    font-size: 28px;
    color: var(--color-main);
  }

  .box-content h2 {
    font-size: 26px;
    color: var(--color-main);
  }

  .box-content h3 {
    font-size: 22px;
    color: var(--color-main);
  }

  .box-content table th,
  .box-content table td {
    font-size: 15px;
  }

  .help-title {
    font-size: 1.8em;
  }

  .help-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .apolat-post-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .app-right {
    gap: 10px;
  }

  .ap-press-item {
    margin: 0 15px;
  }

  .ap-awards-header {
    margin-bottom: 40px;
  }

  .ap-awards-title {
    font-size: 28px;
  }

  .ap-award-item {
    padding: 20px;
  }

  .ap-newsletter-inner {
    grid-template-columns: 1fr 1.2fr;
    padding: 20px;
  }

  .ap-newsletter-visual {
    display: block;
    padding-left: 24px;
    text-align: left;
  }

  .ap-newsletter-content {
    text-align: center;
    padding: 40px 30px;
  }

  .ap-modal-content {
    grid-template-columns: 1fr 1fr;
  }

  .ap-modal-image {
    display: block;
  }

  .ap-services-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .ap-about-exp span {
    font-size: 1.2em;
  }

  .ap-about-exp {
    width: 200px;
    height: 200px;
    left: 100px;
  }

  .ap-about-title {
    font-size: var(--title-table);
  }

  .ap-hero {
    height: 45vh;
  }

  .ap-hero #banner-slider.owl-carousel .owl-item img {
    height: 45vh;
  }

  #banner-slider .banner-video {
    height: 45vh !important;
  }

  .ap-footer-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ap-hero-title {
    font-size: var(--title-table);
  }

  .ap-hero-btn {
    font-size: 15px;
    padding: 10px 45px;
  }

  .container {
    max-width: 720px;
  }

  .ap-about-exp strong {
    font-size: 4em;
  }

  .ap-services-title {
    font-size: var(--title-table);
  }

  .article-page .ap-services-title {
    font-size: var(--title-mobile);
  }

  .ap-bar-container {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 996px) {
  .lx-lawyer-wrap {
    grid-template-columns: 1fr 1.2fr;
    gap: 20px;
  }

  .lx-lawyer-content {
    padding: 48px;
    display: flex;
    flex-direction: column;
  }

  .lx-lawyer-name {
    margin-top: 0;
  }

  .lawyer-info {
    margin-top: auto;
    display: flex;
    justify-content: space-between;
  }

  .ap-blog.lawyer {
    padding: var(--padding-section-pc);
    padding-top: 0;
  }

  .lawyer .ap-blog-container {
    grid-template-columns: 1fr;
  }

  .lawyer .ap-blog-container .ap-blog-list {
    grid-template-columns: repeat(3, 1fr);
  }

  .ap-bar-container {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
  }

  .ap-bar-item {
    padding: 24px 32px;
  }

  .ap-contact-bar {
    padding: var(--padding-section-pc);
  }

  .ap-office-icon {
    font-size: 26px;
  }

  .ap-office-map {
    height: 420px;
  }

  .ap-office {
    padding: var(--padding-section-pc);
  }

  .ap-sidebar-item h4:hover,
  .single-page .ap-award-item h4:hover {
    color: var(--color-main);
  }

  .ap-footer-col ul li a,
  .ap-footer-links a {
    transition: all 0.3s;
  }

  .ap-footer-col ul li a:hover,
  .ap-footer-links a:hover {
    color: var(--color-main);
  }

  .ap-menu-item:hover a.item-a,
  .ap-menu-item:hover a.item-a i.level-1 {
    color: var(--color-main) !important;
  }

  .help-section {
    padding: 60px 30px;
  }

  .help-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }

  .help-card:hover h3 {
    color: var(--color-main);
  }

  .help-card {
    padding: 32px 20px;
    transition: all 0.3s;
  }

  .help-card h3 {
    font-size: 18px;
    transition: all 0.3s;
  }

  .ap-blog-container {
    grid-template-columns: 3fr 1fr;
    gap: 48px;
  }

  .ap-blog-list {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    align-items: start;
    grid-auto-rows: min-content;
  }

  .ap-contact {
    padding: var(--padding-section-pc);
  }

  .apolat-post-grid {
    grid-template-columns: repeat(4, 1fr);
  }

  .ap-deals {
    padding: var(--padding-section-pc);
  }

  .ap-deals-grid {
    grid-template-columns: 1fr 1fr;
  }

  .ap-deal-feature img {
    height: 380px;
  }

  .ap-press {
    padding: var(--padding-section-pc);
  }

  .box-award:hover .ap-awards-nav,
  .box-press:hover .ap-awards-nav {
    opacity: 1;
  }

  .box-award .ap-awards-nav,
  .box-press .ap-awards-nav {
    opacity: 0;
  }

  .ap-awards {
    padding: var(--padding-section-pc);
  }

  .ap-awards-title {
    font-size: 32px;
  }

  .ap-awards .slick-prev {
    left: -48px;
  }

  .ap-awards .slick-next {
    right: -48px;
  }

  .ap-contact-container {
    grid-template-columns: 1fr 1.3fr;
  }

  .ap-form-row {
    grid-template-columns: 1fr 1fr;
  }

  .ap-contact-form {
    max-width: 100%;
  }

  .ap-newsletter-content h3 {
    font-size: 26px;
  }

  .ap-newsletter,
  .thuonghieu {
    padding: var(--padding-section-pc);
  }

  .ap-services {
    padding: var(--padding-section-pc);
  }

  .ap-services-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .ap-services-title {
    font-size: var(--title-pc);
  }

  .article-page .ap-services-title {
    font-size: var(--title-mobile);
  }

  .ap-about-container {
    grid-template-columns: 1.1fr 0.9fr;
  }

  .ap-about {
    padding: var(--padding-section-pc);
  }

  .ap-about-title {
    font-size: var(--title-pc);
  }

  .ap-about-exp {
    width: 160px;
    height: 160px;
    left: 75px;
    bottom: -30px;
  }

  .ap-about-exp strong {
    font-size: 2em;
  }

  .ap-about-exp span {
    font-size: 1em;
  }

  .ap-hero-title {
    font-size: var(--title-pc);
  }

  .container {
    max-width: 960px;
  }

  .ap-btn-toggle.bars {
    display: none;
  }

  .ap-menu-item {
    border: none;
  }

  .ap-logo {
    width: 200px;
  }

  .main-menu {
    height: fit-content;
  }

  .ap-menu-item>a {
    font-size: 0.7em;
    display: flex;
    align-items: center;
    gap: 8px;
  }

  #brand-slider .brand-items img {
    height: 200px;
  }

  #brand-slider .brand-items:hover {
    transform: translateY(-4px);
  }

  .ap-nav {
    position: unset;
    height: auto;
    transform: unset;
    background-color: transparent;
    margin-right: 10px;
  }

  .app-right {
    width: 100%;

  }

  .ap-menu {
    flex-direction: row;
    width: 100%;
    gap: 10px;
    padding: 0;
    justify-content: flex-end;
    overflow-y: unset;
  }

  .button-close {
    display: none;
  }

  .ap-menu-item.has-sub,
  .ap-menu .ap-sub-item.has-sub {
    position: relative;
    list-style: none;
  }

  .ap-menu .ap-menu-item.has-sub:hover .ap-submenu {
    display: flex;
  }

  .ap-menu .ap-menu-item.has-sub .ap-submenu .ap-sub-item.has-sub:hover .ap-submenu-level-3,
  .ap-menu .ap-menu-item.has-sub .ap-submenu .ap-sub-item.has-sub.has-sub-3:hover .ap-submenu-level-4 {
    display: flex;
  }

  .ap-menu-item:not(.open) .ap-sub-item .ap-toggle {
    opacity: 1;
  }

  .ap-menu .ap-menu-item.has-sub .ap-submenu .ap-sub-item.has-sub .ap-submenu-level-3,
  .ap-menu .ap-menu-item.has-sub .ap-submenu .ap-sub-item.has-sub .ap-submenu-level-4 {
    position: absolute;
    flex-direction: column;
    top: 0;
    left: 100%;
    background: #fff;
    padding: 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
    width: fit-content;
    min-width: 200px;
    gap: 0;
  }

  .ap-sub-item.has-sub:nth-last-child(-n+3) .ap-submenu-level-3 {
    top: unset !important;
    bottom: -50px !important;
  }


  .ap-submenu {
    position: absolute;
    top: 100%;
    flex-direction: column;
    left: 0;
    width: fit-content;
    background: #fff;
    box-shadow: 0 4px 20px rgba(0, 0, 0, .1);
    padding: 0;
    display: none;
    z-index: 10;
    gap: 0;
    min-width: 200px;
    border-top: 2px solid var(--color-main);
  }

  .ap-submenu .ap-sub-item {
    text-align: left;
    padding: 10px 20px;
    list-style: none;
    transition: all 0.3s;
  }

  .ap-submenu .ap-sub-item .ap-submenu-level-3 li {
    text-align: left;
    padding: 10px 20px;
    list-style: none;
    transition: all 0.3s;
    margin: 0;
  }

  .ap-submenu .ap-sub-item .ap-submenu-level-3 li:hover {
    background-color: #e6e3e3;
  }

  .ap-submenu .ap-sub-item a {
    color: #444;
    font-weight: 500;
    text-align: left;
    white-space: nowrap;
    font-family: "barlow-regular";
    transition: all 0.2s;
    font-size: 0.9em;
  }

  .ap-submenu .ap-sub-item:hover {
    background-color: #e6e3e3;
  }

  .ap-menu .bi-chevron-down {
    font-size: 10px;
  }

  .ap-topbar {
    background: var(--color-main);
    color: #fff;
    font-size: 0.9em;
    width: 100%;
    display: block;
  }

  .ap-topbar-inner {
    margin: 0 auto;
    display: flex;
    justify-content: flex-start;
    align-items: center;
  }

  .ap-topbar-item {
    display: flex;
    align-items: center;
    gap: 6px;
    white-space: nowrap;
    padding: 7px 14px;
    border-right: 1px solid rgba(255, 255, 255, 0.1);
  }

  .ap-topbar-inner .ap-topbar-item:last-child {
    border: none;
  }

  .ap-icon {
    display: inline-block;
    width: 14px;
    height: 14px;
    position: relative;
  }

  .footer-col-bottom {
    display: flex;
  }

  .ap-footer-grid {
    grid-template-columns: 1.3fr 3fr;
    gap: 50px;
  }

  .ap-footer-col.colum-2 {
    flex: 1;
  }

  .ap-footer-col {
    flex: 1;
  }

  .ap-footer-bottom {
    flex-direction: row;
    justify-content: space-between;
  }

  .ap-footer-links {
    gap: 0;
  }

  .footer-bootom {
    display: flex;
  }

  .ap-footer-links a {
    display: block;
    padding: 5px 6px;
    border-left: 1px solid #bfbfbf;
  }

  .ap-footer-links a:first-child {
    border-left: none;
  }

  .ap-footer-col.colum-1 h4 {
    font-size: 2em;
    line-height: 1.3;
    margin: 20px 0;
  }
}

@media (min-width: 1200px) {
  .ap-blog {
    margin-top: 50px;
  }

  .ap-blog-item h3 {
    margin-top: 15px;
  }

  .blog-item-img {
    width: 250px;
    height: 250px;
    margin: 0 auto;
    border-radius: 50%;
    overflow: hidden;
  }


  .ap-footer-grid {
    gap: 50px;
  }

  .lx-lawyer-wrap {
    grid-template-columns: 1fr 1.8fr;
  }

  .lawyer .ap-blog-container .ap-blog-list {
    grid-template-columns: repeat(4, 1fr);
  }

  .ap-bar-icon {
    width: 75px;
    height: 75px;
  }

  .ap-bar-icon .bi {
    font-size: 30px;
  }

  .ap-contact-text strong {
    font-size: 18px;
  }

  .ap-footer-col.colum-1 {
    text-align: left;
  }

  .ap-hero {
    height: 75vh;
  }

  .ap-hero #banner-slider.owl-carousel .owl-item img {
    height: 75vh;
  }

  #banner-slider .banner-video-item,
  #banner-slider .banner-video {
    height: 100% !important;
  }

  .box-deal {
    display: flex;
    align-items: flex-start;
    gap: 16px;
  }

  .ap-about-exp {
    bottom: 0;
  }

  .app-copyright {
    flex-direction: row;
    justify-content: space-between;
  }

  .ap-footer {
    font-size: 0.8em;
  }

  .container {
    max-width: 1140px;
    padding-bottom: 30px;
  }

  #header_menu .logo-layer {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    width: 100%;
    overflow: hidden;
    pointer-events: auto;
    opacity: 1;

    will-change: max-height, opacity;
    contain: layout paint;

    transition:
      max-height 360ms cubic-bezier(0.22, 1, 0.36, 1),
      opacity 200ms ease-out;
  }

  #header_menu {
    font-size: 1em;
  }


  .ap-logo {
    width: 220px;
  }

  .ap-btn-toggle {
    display: none;
  }

  .ap-nav {
    display: block;
    margin-right: 30px;
  }

  .ap-menu {
    flex-direction: row;
    gap: 30px;
  }

  .ap-menu-item {
    border: none;
  }

  .ap-menu-item>a {
    font-size: 0.9em;
  }

  .app-right {
    gap: 15px;
  }

  .location-main {
    font-size: 1.15em !important;
    font-weight: bold;
  }
}

@media (min-width: 1400px) {
  #brand-slider .brand-items img {
    height: 250px;
  }

  .container {
    max-width: 1320px;
    padding-bottom: 40px;
  }

  .ap-menu {
    gap: 45px;
  }

  .ap-logo {
    width: 250px;
  }
}