@import url("https://fonts.googleapis.com/css2?family=Be+Vietnam+Pro:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");
@import url("https://fonts.googleapis.com/css2?family=Alumni+Sans:wght@700&display=swap");

body {
  --var-icon-gradient: brightness(0) saturate(100%) invert(31%) sepia(98%)
    saturate(1233%) hue-rotate(199deg) brightness(97%) contrast(101%);
  --var-icon-white: brightness(0) saturate(100%) invert(100%) sepia(0%)
    saturate(0%) hue-rotate(0deg) brightness(100%) contrast(100%);
  --var-color-gradient: linear-gradient(to bottom, #00a0df 0%, #0251ab 100%);
  --var-bg-gradient: linear-gradient(
    169deg,
    #0c66a7 6.56%,
    #0672a7 23.93%,
    #027ea6 41.31%,
    #0089a6 58.69%,
    #0095a4 76.07%,
    #00a0a3 93.44%
  );
  --var-color-boldblue: #113264;
  --var-color-lightblue: #0d74ce;
  --var-color-skyblue: #f3f9fb;
  --var--color--blue: #0251ab;
  --var--color--soft-blue: #55a0be;
  --var--color--blue-new: #06b5fa;
  --var-boxshadow-primary: 0px 4px 10px 0px #0000001a;
  --var-boxshadow-secondary: 0px 0px 20px 0px #0000001a;
  --var-boxshadow-thirdary: 0px 0px 15px 0px #00000033;
  --var-color-orange: #f76b15;
  --var-color-red-orange: #fe431b;
  --var-color-yellow: #ffc137;
  --var-color-yellow-soft: #fff25e;
  --var-color-midnight: #020612;
  --var-color-black: #22252b;
  --var-color-text-muted: rgba(34, 37, 43, 0.4);
  --text-sm: 10px;
  --text-smx: 12px;
  --text-md: 14px;
  --text-lg: 16px;
  --text-lgx: 18px;
  --text-x: 20px;
  --text-xl: 24px;
  --text-2xl: 30px;
  --text-2xxl: 35px;
  --text-3xl: 39px;
  --text-3xxl: 60px;
  --text-4xl: 80px;
  font-family: "Be Vietnam Pro", sans-serif;
  background-image: none;
}
html,
body {
  max-width: 100vw;
  overflow-x: hidden;
}
.myatnlayout-bg-v2 {
  font-family: "Lato", sans-serif;
}

a {
  text-decoration: none;
  color: inherit;
}

h2 {
  font-size: var(--text-2xl);
}

header {
  font-size: var(--text-md);
}

.bg-boldblue.large-screen {
  transition: transform 0.3s ease, opacity 0.3s ease;
}

.bg-boldblue.large-screen.hidden {
  transform: translateY(-100%);
  opacity: 0;
  visibility: hidden;
}

.border-thin {
  border: 1px solid;
}

.border-grey {
  border-color: #d9d9e0;
}

.border-orange {
  border-color: var(--var-color-orange);
}

.border-l-1 {
  border-left: 1px solid;
}

.border-r-1 {
  border-right: 1px solid #e8e8ec;
}

.border-b-1 {
  border-bottom: 1px solid #e8e8ec;
}

.border-b-3 {
  border-bottom: 3px solid;
}

.bg-gradient-custom {
  background: linear-gradient(217.56deg, #00a0df 0%, #0251ab 80.94%);
}

.bg-skyblue {
  background-color: var(--var-color-skyblue);
}

.bg-lightblue {
  background-color: var(--var-color-lightblue);
}

.bg-blue {
  background-color: var(--var--color--blue);
}

.bg-boldblue {
  background-color: var(--var-color-boldblue);
}

.bg-red-orange {
  background-color: var(--var-color-red-orange);
}

.bg-orange {
  background-color: var(--var-color-orange);
}

.bg-gray {
  background-color: #f0f0f3;
}
.bg-gray-black {
  background-color: #f3f3f3;
}
.bg-slide {
  background-color: #0251ab80;
}

.bg-midnight {
  background-color: var(--var-color-midnight);
}

.top-radius-32 {
  border-top-left-radius: 32px !important;
  border-top-right-radius: 32px !important;
}

.radius-full {
  border-radius: 100%;
}

.radius-100 {
  border-radius: 100px;
}

.radius-24 {
  border-radius: 24px;
}

.radius-12 {
  border-radius: 12px;
}

.radius-4 {
  border-radius: 4px;
}

.list-none {
  list-style: none;
}

.vertical-middle {
  vertical-align: middle;
}

.icon-gradient {
  filter: var(--var-icon-gradient);
}

.icon-white {
  filter: var(--var-icon-white);
}

.shadow-primary {
  box-shadow: var(--var-boxshadow-primary);
}

.shadow-secondary {
  box-shadow: var(--var-boxshadow-secondary);
}

.shadow-thirdary {
  box-shadow: var(--var-boxshadow-thirdary);
}

.blue-hover:hover {
  color: var(--var--color--blue);
}

.bg-gradient-hover:hover {
  background: var(--var-color-gradient);
}

.bg-blue-hover:hover {
  background-color: var(--var-color-boldblue);
}

.shadow-hover:hover {
  box-shadow: 0px 10px 20px 0px #00000040;
}

.group-hover:hover .group-text {
  color: var(--var--color--blue);
}

.group-hover:hover .group-img {
  transform: scale(1.05);
}
.gap-32px {
  gap: 32px;
}
.gap-20px {
  gap: 20px;
}
.gap-24px {
  gap: 24px;
}

.gap-55px {
  gap: 55px;
}
.text-yellow {
  color: var(--var-color-yellow);
}

.text-orange {
  color: var(--var-color-orange);
}

.text-muted {
  color: var(--var-color-text-muted);
}
.text-red-orange {
  color: var(--var-color-red-orange);
}
.text-gray-10 {
  color: rgba(34, 37, 43, 0.1);
}
.text-blackk {
  color: var(--var-color-black);
}

.color-black {
  color: black;
}

.color-tertiary {
  color: #55a0be;
}

.text-blue {
  color: var(--var--color--blue);
}

.text-lightblue {
  color: var(--var-color-lightblue);
}

.color-text-gradient {
  color: var(--var-color-gradient);
}
.input-white-border {
  border: 1px solid #ffffff;
}
.text-gradient {
  background: var(--var-color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  width: fit-content;
}

.text-color-gradient {
  background: var(--var-color-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bg-yel-red {
  background: linear-gradient(
    to bottom,
    var(--var-color-yellow) 0%,
    var(--var-color-orange) 80%
  );
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.text-grey {
  color: #dbdbdb;
}

.text-sm {
  font-size: var(--text-sm);
}
.text-smx {
  font-size: var(--text-smx);
}
.text-md {
  font-size: var(--text-md);
}

.text-lg {
  font-size: var(--text-lg);
}
.text-lgx {
  font-size: var(--text-lgx);
}
.text-x {
  font-size: var(--text-x);
}

.text-xl {
  font-size: var(--text-xl);
}

.text-2xl {
  font-size: var(--text-2xl);
}

.text-2xxl {
  font-size: var(--text-2xxl);
}

.text-3xl {
  font-size: var(--text-3xl);
}

.text-3xxl {
  font-size: var(--text-3xxl);
}
.text-70 {
  font-size: 70px;
}
.font-alumni-bold {
  font-family: "Alumni Sans", sans-serif;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0;
  line-height: 1;
}
.step-number {
  display: inline-block;
  line-height: 0.9;
  transform: translateY(-8px);
}

.text-4xl {
  font-size: var(--text-4xl);
}

.text-20 {
  font-size: 20px;
}

.text-26 {
  font-size: 26px;
}

.text-40 {
  font-size: 40px;
}

.text-12 {
  font-size: 12px;
}

.text-24 {
  font-size: 24px;
}

.text-normal {
  text-transform: none;
}

.ms-3px {
  margin-left: 3px;
}

.object-contain {
  object-fit: contain;
}

.object-cover {
  object-fit: cover;
}

.w-half {
  width: 50%;
}

.w-20 {
  width: 20%;
}

.w-14 {
  width: 14px;
}
.w-80 {
  width: 80px;
}
.w-250 {
  width: 250px;
}

.w-186 {
  width: 186px;
}

.w-270 {
  width: 270px;
}

.w-400 {
  width: 400px;
}

.w-46 {
  width: 46px;
}

.w-60 {
  width: 60px;
}

.w-80 {
  width: 90%;
}
.h-fit {
  height: fit-content;
}

.vh-100 {
  height: 100vh;
}

.h-60 {
  height: 50px;
}

.h-72 {
  height: 72px;
}

.h-120 {
  height: 120px;
}

.h-46 {
  height: 46px;
}

.h-60 {
  height: 60px;
}

.h-150 {
  height: 150px;
}

.h-200 {
  height: 200px;
}

.h-220 {
  height: 220px;
}

.h-260 {
  height: 260px;
}

.h-262 {
  height: 262px;
}

.h-300 {
  height: 300px;
}

.h-1000 {
  height: 1000px;
}

.min-h-50 {
  min-height: 50vh;
}
.min-h-50 {
  min-height: 50px;
}
.min-h-70 {
  min-height: 70vh;
}
.min-h-120 {
  min-height: 120px;
}

.height-50 {
  height: 50px;
}

.min-h-400 {
  min-height: 400px;
}

.max-h-400 {
  max-height: 400px;
}

.max-h-1000 {
  max-height: 1000px;
}

.max-w-223 {
  max-width: 223px;
}
.max-w-245 {
  max-width: 245px;
}
.max-w-250 {
  max-width: 250px;
}
.max-w-358 {
  max-width: 358px;
}

.max-w-400 {
  max-width: 400px;
}
.max-w-443 {
  max-width: 443px;
}
.max-w-495 {
  max-width: 495px;
}
.max-w-499 {
  max-width: 499px;
}
.max-w-536 {
  max-width: 536px;
}
.max-w-566 {
  max-width: 566px;
}

.max-w-585 {
  max-width: 585px;
}

.min-h-328 {
  min-height: 328px;
}

.max-w-575 {
  max-width: 575px;
}
.max-w-578 {
  max-width: 578px;
}
.max-w-644 {
  max-width: 644px;
}

.max-w-807 {
  max-width: 807px;
}
.max-w-850 {
  max-width: 850px;
}
.max-w-890 {
  max-width: 890px;
}
.max-w-1180 {
  max-width: 1180px;
}
.max-w-1280 {
  max-width: 1280px;
}

.max-w-1290 {
  max-width: 1290px;
}

.max-w-378 {
  max-width: 378px;
}
.max-w-950 {
  max-width: 950px;
}

.max-w-1200 {
  max-width: 1200px;
}

.w-587 {
  width: 587px;
}

.h-656 {
  height: 656px;
}

.max-w-370 {
  max-width: 400px;
}

.max-w-266 {
  max-width: 296px;
}

.max-w-192 {
  max-width: 222px;
}

.max-w-196 {
  max-width: 226px;
}

.max-w-241 {
  max-width: 271px;
}

.max-w-410 {
  max-width: 410px;
}

.max-w-420 {
  max-width: 450px;
}

.min-h-118 {
  min-height: 118px;
}

.min-h-635 {
  min-height: 635px;
}

.min-h-1145 {
  min-height: 1145px;
}

.py-6rem {
  padding-top: 6rem !important;
  padding-bottom: 6rem !important;
}
.px-100 {
  padding-left: 100px;
}
.px-120 {
  padding-left: 103px;
}
.px-200 {
  padding-left: 200px;
}
.px-146px {
  padding-left: 120px;
  padding-right: 0px;
}
.ps-30 {
  padding-block-start: 30px;
}
.line-1 {
  line-height: 1.1;
}

.text-indent-8 {
  text-indent: 8em;
}

.break-label {
  max-width: 150px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.break-title {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.break-word {
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: normal;
}

.transition-300 {
  transition: all 0.3s ease-in-out;
}

.flex-auto {
  flex: auto;
}

.z-2 {
  z-index: 2;
}

.z-99 {
  z-index: 99;
}

.z-negative {
  z-index: -10;
}

.pointer {
  cursor: pointer;
}

.overflow-x-auto {
  overflow-x: auto;
}
.mt--50 {
  margin-top: -50px;
}
.mt-32 {
  margin-top: 32px;
}
.mt-50 {
  margin-top: 50px;
}
.mt-64 {
  margin-top: 64px;
}
.mt-70 {
  margin-top: 70px;
}
.mt-78px {
  margin-top: 78px;
}

.mb-70 {
  margin-bottom: 70px;
}
.mb-130 {
  margin-bottom: 130px;
}
.mb-140 {
  margin-bottom: 140px;
}
.mb-100 {
  margin-bottom: 100px;
}
.mt-80 {
  margin-top: 80px;
}
.mt-100 {
  margin-top: 100px;
}
.mt-143 {
  margin-top: 143px;
}
.mt-150 {
  margin-top: 150px;
}

.mb-7px {
  margin-bottom: 7px;
}

.mt-72px {
  margin-top: 72px;
}

/*Styling*/
.container {
  max-width: 1280px;
}

.logo {
  height: 50px;
  width: auto;
  display: block;
  position: relative;
  z-index: 1;
  object-fit: contain;
}

.line-title {
  height: 65px;
  width: 2px;
  background-color: var(--var-color-orange);
}

.gradient-line {
  height: 2px;
  background: linear-gradient(90deg, #fe431b 0%, #ffc137 100%);
  max-width: 150px;
}

.translate-pc .dropdown-toggle::after {
  display: none;
}

.translate-pc .dropdown-menu {
  padding: 5px;
  max-width: 150px;
}

.header-menu {
  position: fixed;
  top: 40px;
  left: 0;
  z-index: 1000;
  width: 100%;
  background-color: transparent;
  transition: top 0.3s ease;
}

.header-menu.scrolled {
  top: 0;
  background-color: white !important;
}

.header-menu.scrolled nav,
.header-menu.scrolled nav.bg-transparent {
  background-color: white !important;
  box-shadow: var(--var-boxshadow-primary);
}

/* Đổi màu text và icon từ trắng sang đen khi scroll qua banner */
.header-menu.scrolled .nav-link,
.header-menu.scrolled .nav-link.text-white {
  color: var(--var-color-black) !important;
}

.header-menu.scrolled .dropdown-toggle.text-white,
.header-menu.scrolled button.text-white,
.header-menu.scrolled .text-white {
  color: var(--var-color-black) !important;
}

.header-menu.scrolled .fa-search,
.header-menu.scrolled .fa-chevron-down,
.header-menu.scrolled i,
.header-menu.scrolled .fas,
.header-menu.scrolled .fa {
  color: var(--var-color-black) !important;
}

.header-menu.scrolled .lang-text {
  color: var(--var-color-black) !important;
}

/* Đảm bảo search input cũng đổi màu */
.header-menu.scrolled .search-input {
  color: var(--var-color-black) !important;
  background-color: rgba(0, 0, 0, 0.05) !important;
  border-color: rgba(0, 0, 0, 0.2) !important;
}

.header-menu.scrolled .search-input::placeholder {
  color: rgba(0, 0, 0, 0.5) !important;
}

/* Giữ nguyên màu trắng cho nút Contact khi scroll */
.header-menu.scrolled .nav-item.bg-orange .nav-link,
.header-menu.scrolled .nav-item.bg-orange .nav-link.text-white,
.header-menu.scrolled .nav-item.bg-orange {
  color: white !important;
}

.header-menu nav {
  overflow: visible;
}

.header-menu .container {
  overflow: visible !important;
}

.header-menu .d-flex.justify-content-between {
  overflow: visible !important;
}

.header-menu .logo {
  position: relative;
  z-index: 1001;
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
  flex-shrink: 0;
  width: auto !important;
  height: 50px !important;
}

/* Đảm bảo thẻ a chứa logo hiển thị */
.header-menu .d-flex.justify-content-between > a:first-child {
  display: block !important;
  flex-shrink: 0;
  line-height: 0;
  position: relative;
  z-index: 1001;
  width: auto !important;
  height: auto !important;
}

/* Đảm bảo logo hiển thị trên tất cả màn hình lớn hơn 768px */
@media (min-width: 769px) {
  .header-menu.large-screen {
    z-index: 1000 !important;
  }
  
  .header-menu.large-screen .logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-shrink: 0 !important;
    width: auto !important;
    height: 50px !important;
    z-index: 1001 !important;
    position: relative !important;
  }
  
  .header-menu.large-screen .d-flex.justify-content-between > a:first-child {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
    flex-shrink: 0 !important;
    width: auto !important;
    height: auto !important;
    line-height: 0 !important;
    z-index: 1001 !important;
    position: relative !important;
  }
}

/* Thêm padding-top cho main để tránh nội dung bị che khuất bởi header cố định */
body > main {
  padding-top: 120px;
  transition: padding-top 0.3s ease;
}

body > main.menu-scrolled {
  padding-top: 80px;
}

/* Mobile Menu Toggle Button */
.mobile-menu-toggle {
  cursor: pointer;
  padding: 8px;
  transition: all 0.3s ease;
}

.mobile-menu-toggle:hover {
  opacity: 0.7;
}

.mobile-menu-toggle.active i::before {
  content: "\f00d"; /* fa-times icon */
}

/* Mobile Menu Overlay */
.menu-mobile-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  z-index: 999;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

.menu-mobile-overlay.active {
  opacity: 1;
  visibility: visible;
}

/* Mobile Menu Styles - Sidebar bên phải */
.menu-mobile {
  position: fixed;
  top: 0;
  right: -65%;
  width: 65%;
  height: 100vh;
  max-height: 100vh;
  min-height: 100vh;
  background-color: white;
  z-index: 1001;
  overflow-y: auto;
  overflow-x: hidden;
  transition: right 0.3s ease-out;
  box-shadow: -2px 0 10px rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
}

.menu-mobile.expanded {
  right: 0;
}

.mobile-menu-close {
  cursor: pointer;
  padding: 4px 8px;
  transition: all 0.3s ease;
}

.mobile-menu-close:hover {
  opacity: 0.7;
  transform: rotate(90deg);
}

.menu-mobile > .container {
  padding: 1.5rem;
  flex: 1;
  overflow-y: auto;
}

.menu-mobile .d-flex.justify-content-between {
  flex-shrink: 0;
}

.menu-mobile .nav-link-mobile {
  color: var(--var-color-black);
  text-decoration: none;
  transition: all 0.3s ease;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.menu-mobile .nav-link-mobile:hover,
.menu-mobile .nav-link-mobile:active {
  background-color: var(--var-color-skyblue);
  color: var(--var--color--blue);
}

.menu-mobile .nav-link-mobile i {
  transition: transform 0.3s ease;
}

.menu-mobile .submenu.expanded ~ .nav-link-mobile i,
.menu-mobile .nav-link-mobile.active i {
  transform: rotate(180deg);
}

.menu-mobile .submenu {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease-out;
}

.menu-mobile .submenu.expanded {
  max-height: 500px;
}

.menu-mobile .submenu .nav-link-mobile {
  font-size: var(--text-md);
  font-weight: 400;
}

/* ATN TECH submenu - hiển thị dọc */
#mobileAtnTechSubmenu {
  display: block;
  padding-left: 0 !important;
  padding-top: 0.5rem;
}

#mobileAtnTechSubmenu li {
  margin-bottom: 0.25rem !important;
  width: 100%;
}

/* Style cho ATN TECH toggle với icon */
#mobileAtnTechToggle {
  background-color: rgba(0, 160, 223, 0.1);
  border-radius: 4px;
}

#mobileAtnTechToggle:hover {
  background-color: rgba(0, 160, 223, 0.15);
}

/* Responsive cho màn hình từ 769px đến 1024px */
@media (min-width: 769px) and (max-width: 1024px) {
  .header-menu {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background-color: white;
  }
  
  body > main {
    padding-top: 80px;
  }
  
  /* Đảm bảo logo hiển thị */
  .header-menu.large-screen .logo {
    display: block !important;
    visibility: visible !important;
    opacity: 1 !important;
  }
  
  /* Điều chỉnh menu items để vừa màn hình */
  .header-menu .nav-item {
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
  
  .header-menu .nav-link {
    font-size: 13px !important;
  }
}

/* Header mobile chỉ áp dụng cho màn hình dưới 768px */
@media (max-width: 768px) {
  /* Header mobile cố định khi cuộn */
  .header.small-screen {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    width: 100%;
    background-color: white;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }
  
  /* Thêm padding-top cho main trên mobile */
  body > main {
    padding-top: 70px;
  }
  
  /* Header menu desktop ẩn trên mobile */
  .header-menu.large-screen {
    display: none !important;
  }
}

@media (max-width: 768px) {
  body > main {
    padding-top: 65px;
  }
  
  .header.small-screen {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
  
  .header.small-screen .logo {
    height: 40px;
  }
  
  /* Menu mobile sidebar */
  .menu-mobile {
    width: 65%;
    right: -65%;
    height: 100vh;
    max-height: 100vh;
    min-height: 100vh;
  }
  
  .menu-mobile.expanded {
    right: 0;
  }
}

@media (max-width: 480px) {
  body > main {
    padding-top: 60px;
  }
  
  .header.small-screen .logo {
    height: 35px;
  }
  
  /* Menu mobile sidebar trên màn hình nhỏ */
  .menu-mobile {
    width: 75%;
    right: -75%;
    height: 100vh;
    max-height: 100vh;
    min-height: 100vh;
  }
  
  .menu-mobile.expanded {
    right: 0;
  }
}

.link-custom:after {
  display: none;
}

.link-custom.active {
  color: var(--var--color--blue);
}

.mega-menu {
  position: absolute;
  background-color: transparent;
  top: 65px;
  left: 50%;
  transform: translateX(-50%);
  display: none;
  z-index: 1000;
  width: 50%;
  max-width: 960px; /* Chuẩn cho màn hình 1920px (50% của 1920px) */
  height: auto;
  min-height: fit-content;
}

.mega-menu-link .dropdown-item.active {
  background-color: #d5efff;
  color: black;
}

.mega-menu-link .dropdown-item:hover {
  background-color: #d5efff;
}

.mega-menu-link .dropdown-item:hover span {
  text-decoration: underline;
}

/* Active cho các mục trong submenu bên phải (ATN WD, ATN CAD, etc.) - màu xám */
#atn-tech-submenu .mega-sub-menu-link .dropdown-item.active,
#atn-admin-submenu .mega-sub-menu-link .dropdown-item.active,
.mega-sub-menu-parent .mega-sub-menu-link .dropdown-item.active {
  background-color: #f0f0f3 !important;
  color: black !important;
  border-radius: 5px;
}

/* Active cho menu bên trái (ATN TECH, ATN ADMIN) - màu xanh */
.mega-menu-parent .mega-sub-menu-link .dropdown-item.active {
  background-color: #d5efff !important;
  color: black;
  border-radius: 5px;
}

.mega-menu-parent .mega-sub-menu-link .dropdown-item.active span {
  text-decoration: underline;
}

/* Hover cho menu bên trái (ATN TECH, ATN ADMIN) - màu xanh */
.mega-menu-parent .mega-sub-menu-link .dropdown-item:hover {
  background-color: #d5efff;
  color: black;
  border-radius: 5px;
}

/* Hover cho các mục trong submenu bên phải (ATN WD, ATN CAD, etc.) - màu xám */
#atn-tech-submenu .mega-sub-menu-link .dropdown-item:hover,
#atn-admin-submenu .mega-sub-menu-link .dropdown-item:hover,
.mega-sub-menu-parent .mega-sub-menu-link .dropdown-item:hover {
  background-color: #f0f0f3;
  color: black;
  border-radius: 5px;
}

.mega-sub-menu-link {
  width: 100%;
  min-width: 200px;
}

.mega-menu-parent {
  width: 300px;
  align-self: flex-start;
  height: fit-content;
}

#mega-menu-case-studies .container .d-flex {
  align-items: flex-start;
  align-content: flex-start;
  position: relative;
}

#mega-menu-case-studies .mega-menu-parent {
  position: relative;
  flex-shrink: 0;
  padding-right: 1rem;
  margin-right: 1rem;
  align-self: stretch;
}

#mega-menu-case-studies .mega-menu-parent:not(:last-child)::after {
  content: '';
  position: absolute;
  right: -20px;
  top: 0;
  bottom: -40px;
  width: 1px;
  background-color: rgba(0, 0, 0, 0.1);
}

#mega-menu-case-studies .container {
  height: auto;
  overflow: visible;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 0;
}

.mega-sub-menu-parent {
  display: none;
  width: auto;
  min-width: 300px;
  padding-left: 1rem;
  border-right: none;
  align-self: flex-start;
  height: fit-content;
}

.mega-sub-menu-parent ul {
  width: auto;
  min-width: 130px;
}

.mega-sub-menu-parent .d-flex {
  gap: 5rem !important;
}

#mega-menu-case-studies .mega-sub-menu-parent {
  display: none;
}

.mega-menu-parent h4,
.mega-sub-menu-link .dropdown-item {
  font-family: "Be Vietnam Pro", sans-serif;
}

.mega-menu-icon {
  width: 32px;
  height: 32px;
  object-fit: contain;
  display: block;
  flex-shrink: 0;
  padding: 4px;
  background-color: white;
  border-radius: 50%;
}

.case-studies-title {
  font-size: 12px;
  color: #60646c;
}

.mega-sub-menu {
  min-width: 350px;
  width: auto;
}

.video-home .banner {
  width: 100%;
  margin-top: -66px;
  height: calc(100vh - 30px);
  object-fit: cover;
}

.warning {
  display: none;
}

.menu-mobile,
.submenu {
  max-height: 0;
  overflow: hidden;
}

.menu-mobile.expanded {
  max-height: 700px;
  /* tăng tùy theo độ dài menu */
  overflow: auto;
}

.submenu.expanded {
  max-height: 400px;
  /* tăng tùy theo độ dài menu */
  overflow: auto;
}

body.no-scroll {
  overflow: hidden;
}

.small-screen {
  display: none;
}

.atn-bg-1 {
  background:  url("/assets/front/images-atn/atn-bg.png") no-repeat;
  background-size: cover;
  background-position: center;
}

.atn-bg-2 {
  background: url("/assets/front/images-atn/bg-test.png") no-repeat;
  background-size: cover;
  background-position: center;
}

/* .tab-video{
    max-height: 500px;
    object-fit: cover;
} */
.play-video {
  background: transparent;
  display: none !important;
}

.play-video:hover {
  background-color: var(--var-color-yellow);
  color: white;
  border-color: transparent;
}

.video-tab.active {
  border: 0;
  background-color: white;
}

.video-tab.active h4 {
  color: var(--var-color-yellow);
}

.video-tab.active .play-video {
  display: block !important;
}

.myatnlayout-bg {
  background-image: url("/assets/front/images-atn/Frame 31.png");
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
}

.bg-gradient-hover:hover .text-grey {
  color: white;
}

.long-image {
  height: 700px;
}

.small-screen-tab {
  display: none;
}

.cursor-pointer {
  cursor: pointer;
}

.hover-img-scale {
  background-repeat: no-repeat;
  background-size: cover;
}

.hover-img-scale:hover {
  transform: translateY(-30px);
}

.image-curtain {
  opacity: 0.8;
  padding: 80px 0;
  height: 100%;
}

.hover-img-scale:hover .image-curtain {
  opacity: 0.9;
}

.image-curtain .content {
  max-width: 515px;
}

.image-curtain .content-left {
  margin-right: 110px;
}

.image-curtain .content-right {
  margin-left: 110px;
}

.content-btn {
  width: 45px;
  height: 10px;
  background-color: #4b4b4b;
  border: 1px solid transparent;
}

.content-left .content-btn.active {
  background-color: var(--var-color-yellow);
}

.content-right .content-btn.active {
  background-color: var(--var-color-lightblue);
}

.hide-block {
  display: none;
}

.brown-card:hover {
  background-color: #492617;
}

.brown-card:hover .brown-card-text {
  color: var(--var-color-yellow);
}

.brown-card:hover p,
.blue-card:hover p {
  color: white;
}

.blue-new-card:hover p {
  color: var(--var--color--blue-new);
}

.blue-new-card:hover {
  background-color: #061b35;
}

.blue-new-card:hover .blue-new-card-text {
  color: var(--var-color-lightblue);
}

.blue-new-card:hover .blue-card-icon {
  filter: brightness(0) saturate(100%) invert(52%) sepia(49%) saturate(3923%)
    hue-rotate(165deg) brightness(200%) contrast(101%);
}

.brown-card:hover .brown-card-icon {
  filter: brightness(0) saturate(100%) invert(71%) sepia(71%) saturate(439%)
    hue-rotate(351deg) brightness(98%) contrast(106%);
}

.blue-card:hover {
  background-color: #061b35;
}

.blue-card:hover .blue-card-text {
  color: var(--var-color-lightblue);
}

.blue-card:hover .blue-card-icon {
  filter: brightness(0) saturate(100%) invert(52%) sepia(49%) saturate(3923%)
    hue-rotate(165deg) brightness(200%) contrast(101%);
}

.accordion-custom .accordion-btn {
  background-color: transparent;
  padding: 16px 20px;
  text-align: start;
}

.accordion-custom .accordion-collapse {
  box-shadow: 0px 10px 10px 0px #0000001a;
}

.accordion-btn:hover {
  background-color: white;
  color: var(--var--color--blue);
  font-weight: 700;
}

.accordion-btn:hover i {
  color: var(--var--color--blue);
  box-shadow: 0px 4px 4px 0px #00000040;
}

.accordion-btn:not(.collapsed) {
  background-color: white;
  color: var(--var--color--blue);
  font-weight: 700;
}

.accordion-btn:not(.collapsed) i {
  color: var(--var--color--blue);
  box-shadow: 0px 4px 4px 0px #00000040;
}

.bg-footer {
  padding-bottom: 30px;
  padding-top: 50px;
}

.bg-footer ul {
  line-height: 2;
}

.bg-footer .social-footer {
  font-size: 30px;
  gap: 20px;
  display: flex;
  justify-content: flex-end;
}

.toggle-chabot {
  position: fixed;
  z-index: 1;
  right: 10px;
  bottom: 15px;
  font-size: 30px;
  color: white;
  padding: 7px 15px;
  border-radius: 50%;
  background: var(--var--color--blue);
  cursor: pointer;
}

.chatbot-html {
  position: fixed;
  z-index: 1;
  right: 80px;
  bottom: 10px;
  display: none;
  box-shadow: 0 0 20px 0 rgba(0, 0, 0, 0.1);
}

.close-chatbot {
  position: absolute;
  right: 10px;
  top: 7px;
  z-index: 3;
  color: var(--var--color--red);
  cursor: pointer;
}

.card-bar:hover {
  color: white;
}

.card-bar:hover .card-bar-expand {
  height: 100%;
}

.card-bar-expand {
  height: 5px;
}

.overflow-x {
  overflow-x: hidden; /* desktop default */
}
.team-scroll-mobile {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none; /* Firefox */
}

.team-scroll-mobile::-webkit-scrollbar {
  display: none; /* Chrome, Safari */
}

.max-w-299 {
  max-width: 299px;
}

.max-w-340 {
  max-width: 340px;
}

.w-300 {
  width: 300px;
}

.w-340 {
  width: 340px;
}

.w-700 {
  width: 700px;
}

.w-556 {
  width: 556px;
}

.w-600 {
  width: 100%;
  max-width: 600px;
}

.w-816 {
  width: 816px;
}

.w-358 {
  width: 358px;
}
