@charset "UTF-8";

/* ========================================================================
   PTNK HUB · PARENT-FIRST DESIGN SYSTEM
   Cổng tra cứu & ghi danh cho phụ huynh/học viên theo DESIGN.md (quyết định 14/09/2026).
   Giữ trọn vẹn hệ màu nhận diện PTNK (#1A4A92, #3F87C7, #174790).
   Token chuẩn là --mau-* trong emis.css; các biến --main-* và --neutral-* bên dưới
   là alias tương thích trỏ về đúng giá trị chuẩn, chỉ giữ thêm dải tint mở rộng.
   ======================================================================== */

:root {
  /* HSL triplets cho tiện ích hsl(var(--main)), cùng giá trị palette chuẩn */
  --main-h: 217;
  --main-s: 70%;
  --main-l: 34%;
  --main: var(--main-h) var(--main-s) var(--main-l); /* = --mau-thuong-hieu #1A4A92 */
  --main-two-h: 208;
  --main-two-s: 53%;
  --main-two-l: 51%;
  --main-two: var(--main-two-h) var(--main-two-s) var(--main-two-l); /* = --mau-xanh-sang #3F87C7 */
  --main-three-h: 157;
  --main-three-s: 65%;
  --main-three-l: 26%;
  --main-three: var(--main-three-h) var(--main-three-s) var(--main-three-l); /* = --mau-thanh-cong #176B4A */

  /* Alias về token chuẩn --mau-* (nguồn giá trị duy nhất) */
  --main-25: #F4F8FC;                 /* tint mở rộng, nhạt hơn nen-nhat */
  --main-50: var(--mau-nen-nhat);
  --main-100: #C7E6FA;                /* tint mở rộng giữa nen-nhat và main-200 */
  --main-200: #9DD0F5;                /* tint mở rộng */
  --main-500: var(--mau-xanh-phu);
  --main-600: var(--mau-thuong-hieu);
  --main-700: var(--mau-thuong-hieu-hover);
  --main-800: var(--mau-thuong-hieu-nhan);
  --main-900: var(--mau-nen-toi);

  --main-two-25: #F0F7FD;             /* tint mở rộng */
  --main-two-50: var(--mau-nen-nhat);
  --main-two-600: var(--mau-xanh-sang);
  --main-two-700: var(--mau-xanh-phu);

  --neutral-10: var(--mau-nen-trang);
  --neutral-20: #F5F6F7;              /* tint mở rộng */
  --neutral-30: #EBECEF;              /* tint mở rộng */
  --neutral-40: #DFE0E4;              /* tint mở rộng */
  --neutral-50: var(--mau-vien-nhe);
  --neutral-100: #798090;             /* tint mở rộng */
  --neutral-500: #404A60;             /* tint mở rộng */
  --neutral-600: #343E56;             /* tint mở rộng */
  --neutral-700: var(--mau-chu-chinh);
  --neutral-800: #0D1E36;             /* tint mở rộng */
}

/* EduAll Utility Helpers & Tokens ------------------------------------ */
.text-main-600 { color: var(--main-600) !important; }
.text-main-500 { color: var(--main-500) !important; }
.text-main-two-600 { color: var(--main-two-600) !important; }
.text-neutral-500 { color: var(--neutral-500) !important; }
.text-neutral-700 { color: var(--neutral-700) !important; }
.text-accent-highlight { color: var(--main-two-600) !important; }
.text-primary-highlight { color: var(--main-600) !important; }

.bg-main-25 { background-color: var(--main-25) !important; }
.bg-main-50 { background-color: var(--main-50) !important; }
.bg-main-600 { background-color: var(--main-600) !important; }
.bg-main-two-50 { background-color: var(--main-two-50) !important; }
.bg-blue-soft { background-color: var(--main-50) !important; }
.bg-green-soft { background-color: #ECF8F1 !important; }
.bg-neutral-700 { background-color: var(--neutral-700) !important; }
.bg-online { background: linear-gradient(135deg, #1A4A92, #3F87C7) !important; }
.bg-campus { background: var(--mau-thanh-cong) !important; }

.border-neutral-30 { border-color: var(--neutral-30) !important; }
.border-neutral-50 { border-color: var(--neutral-50) !important; }
.border-dashed { border-style: dashed !important; }

.rounded-pill { border-radius: 9999px !important; }
.rounded-12 { border-radius: 12px !important; }
.rounded-16 { border-radius: 16px !important; }
.rounded-20 { border-radius: 16px !important; }
.rounded-24 { border-radius: 24px !important; }

.box-shadow-sm { box-shadow: 0 2px 8px rgba(8, 36, 77, 0.05) !important; }
.box-shadow-md { box-shadow: 0 6px 20px rgba(8, 36, 77, 0.07) !important; }
.box-shadow-lg { box-shadow: 0 12px 36px rgba(8, 36, 77, 0.11) !important; }

.flex-align { display: flex; align-items: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-center { display: flex; align-items: center; justify-content: center; }

.transition-1 { transition: all 200ms cubic-bezier(0.16, 1, 0.3, 1); }
.transition-2 { transition: all 260ms cubic-bezier(0.16, 1, 0.3, 1); }

/* EduAll Button Components ------------------------------------------- */
.btn-main {
  background-color: var(--main-600) !important;
  border: 1px solid var(--main-600) !important;
  color: #FFFFFF !important;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-main:hover {
  background-color: var(--main-800) !important;
  border-color: var(--main-800) !important;
  color: #FFFFFF !important;
  transform: translateY(-1px);
}
.btn-outline-main {
  background-color: transparent !important;
  border: 1px solid var(--main-600) !important;
  color: var(--main-600) !important;
  font-weight: 600;
  transition: all 0.2s ease;
}
.btn-outline-main:hover {
  background-color: var(--main-50) !important;
  border-color: var(--main-600) !important;
  color: var(--main-600) !important;
}

/* EduAll Dimensions & Sizing ----------------------------------------- */
.w-8 { width: 8px !important; }
.h-8 { height: 8px !important; }
.w-32 { width: 32px !important; }
.h-32 { height: 32px !important; }
.w-40 { width: 40px !important; }
.h-40 { height: 40px !important; }
.w-48 { width: 48px !important; }
.h-48 { height: 48px !important; }
.w-80 { width: 80px !important; }
.h-80 { height: 80px !important; }
.w-110 { width: 100px !important; height: 100px !important; }
.w-50-percent { width: 50% !important; }
.text-32 { font-size: 32px !important; }
.text-40 { font-size: 32px !important; }
.display2 { font-size: clamp(2rem, 3.5vw, 3rem) !important; font-weight: 700 !important; line-height: 1.2 !important; }
.display-four { font-size: 32px !important; font-weight: 700 !important; line-height: 1.2 !important; }

/* EduAll Banner & Floating Boxes ------------------------------------- */
.banner-thumb position-relative { position: relative; }
.banner-thumb__img {
  width: 100%;
  max-width: 540px;
  height: auto;
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(8, 36, 77, 0.12);
}
.banner-box { position: absolute; }
.banner-box.one {
  inset-inline-start: -16px;
  inset-block-start: 36px;
  animation: 4s linear 0s infinite normal none running upDown;
  z-index: 2;
}
.banner-box.three {
  inset-inline-end: -16px;
  inset-block-end: 24px;
  animation: 6s linear 1.5s infinite normal none running upDown;
  z-index: 2;
  min-width: max-content;
}
@keyframes upDown {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-8px); }
}

/* EduAll Features Component (.features-item) ------------------------- */
.features-item {
  padding: 36px 20px;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.features-item.item-hover:hover {
  background-color: var(--main-600) !important;
  border-color: var(--main-600) !important;
  transform: translateY(-8px);
  box-shadow: 0 16px 36px rgba(26, 74, 146, 0.22);
}
.features-item.item-hover:hover .item-hover__text {
  color: #FFFFFF !important;
}
.features-item.item-hover:hover .item-hover__badge {
  background-color: rgba(255, 255, 255, 0.22) !important;
  color: #FFFFFF !important;
}
.features-item.item-hover:hover .w-110 {
  background-color: #FFFFFF !important;
  color: var(--main-600) !important;
  transform: scale(1.06);
}

/* EduAll Explore Course & Course Item -------------------------------- */
.explore-course {
  background-color: var(--main-25);
  padding-top: 80px;
  padding-bottom: 80px;
}
.section-heading.style-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  flex-wrap: wrap;
}
.nav-tab-wrapper {
  background-color: #ffffff;
  padding: 14px 18px;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(8, 36, 77, 0.04);
}
.common-tab, #subject-pills-container {
  scrollbar-width: none !important;
  -ms-overflow-style: none !important;
}
.common-tab::-webkit-scrollbar, #subject-pills-container::-webkit-scrollbar {
  display: none !important;
  width: 0 !important;
  height: 0 !important;
}
.common-tab .nav-link {
  border-radius: 9999px;
  background-color: var(--main-25);
  color: var(--neutral-500);
  border: 1px solid transparent;
  padding: 8px 18px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: all 0.2s ease;
  text-decoration: none;
}
.common-tab .nav-link:hover {
  background-color: var(--main-50);
  color: var(--main-600);
}
.common-tab .nav-link.active {
  background-color: var(--main-600) !important;
  color: #ffffff !important;
  box-shadow: 0 4px 12px rgba(26, 74, 146, 0.2);
}
.common-tab .nav-link.active .pill-count {
  background-color: rgba(255, 255, 255, 0.25) !important;
  color: #ffffff !important;
}
.common-tab .pill-count {
  background-color: #ffffff;
  color: var(--main-600);
  border-radius: 9999px;
  padding: 2px 8px;
  font-size: 12px;
  font-weight: 700;
}
.course-item {
  background-color: #ffffff;
  border-radius: 16px;
  padding: 14px;
  box-shadow: 0 4px 20px rgba(8, 36, 77, 0.06);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}
.course-item:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 32px rgba(8, 36, 77, 0.12);
}
.course-item__thumb {
  border-radius: 12px;
  overflow: hidden;
  position: relative;
  max-height: 220px;
}
.course-item__img {
  width: 100%;
  height: 190px;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.course-item:hover .course-item__img {
  transform: scale(1.06);
}
.course-item__content {
  padding: 18px 8px 6px 8px;
  display: flex;
  flex-direction: column;
  flex-grow: 1;
}

/* EduAll About & Counter Components ---------------------------------- */
.about {
  padding-top: 80px;
  padding-bottom: 80px;
}
.offer-message {
  position: absolute;
  inset-inline-start: -24px;
  inset-block-start: 40px;
  z-index: 2;
  box-shadow: 0 12px 32px rgba(8, 36, 77, 0.12);
}
.counter {
  padding-top: 80px;
  padding-bottom: 80px;
}
.counter-item {
  background-color: var(--main-25);
  border: 1px solid var(--neutral-30);
  border-radius: 12px;
  padding: 32px 16px;
  transition: all 0.3s ease;
}
.counter-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(8, 36, 77, 0.08);
}


.line-clamp-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* EduAll Spacing & Dimension Utilities */
.gap-4 { gap: 4px !important; }
.gap-6 { gap: 6px !important; }
.gap-8 { gap: 8px !important; }
.gap-12 { gap: 12px !important; }
.gap-16 { gap: 16px !important; }
.gap-20 { gap: 20px !important; }
.gap-24 { gap: 24px !important; }
.gap-32 { gap: 32px !important; }
.gap-40 { gap: 40px !important; }

.py-80 { padding-top: 80px !important; padding-bottom: 80px !important; }
.pt-64 { padding-top: 64px !important; }
.pb-24 { padding-bottom: 24px !important; }
.pt-24 { padding-top: 24px !important; }
.pt-16 { padding-top: 16px !important; }
.pb-16 { padding-bottom: 16px !important; }
.p-16 { padding: 16px !important; }
.p-20 { padding: 20px !important; }
.px-16 { padding-left: 16px !important; padding-right: 16px !important; }
.px-20 { padding-left: 20px !important; padding-right: 20px !important; }
.py-6 { padding-top: 6px !important; padding-bottom: 6px !important; }
.py-8 { padding-top: 8px !important; padding-bottom: 8px !important; }
.py-12 { padding-top: 12px !important; padding-bottom: 12px !important; }
.ps-48 { padding-left: 48px !important; }
.pe-90 { padding-right: 90px !important; }
.ms-16 { margin-left: 16px !important; }
.me-8 { margin-right: 8px !important; }
.me-48 { margin-right: 48px !important; }
.m-12 { margin: 12px !important; }
.mt-8 { margin-top: 8px !important; }
.mt-16 { margin-top: 16px !important; }
.mt-20 { margin-top: 20px !important; }
.mt-24 { margin-top: 24px !important; }
.mt-32 { margin-top: 32px !important; }
.mt-40 { margin-top: 40px !important; }
.mt-56 { margin-top: 56px !important; }
.mb-2 { margin-bottom: 2px !important; }
.mb-4 { margin-bottom: 4px !important; }
.mb-12 { margin-bottom: 12px !important; }
.mb-16 { margin-bottom: 16px !important; }
.mb-20 { margin-bottom: 20px !important; }
.mb-24 { margin-bottom: 24px !important; }
.mb-32 { margin-bottom: 32px !important; }
.mb-40 { margin-bottom: 40px !important; }
.mb-56 { margin-bottom: 56px !important; }

.w-40 { width: 40px !important; }
.h-40 { height: 40px !important; }
.w-44 { width: 44px !important; }
.h-44 { height: 44px !important; }
.w-60 { width: 60px !important; }
.h-60 { height: 60px !important; }

.fs-4 { font-size: 24px !important; }
.fs-5 { font-size: 20px !important; }
.fs-6 { font-size: 16px !important; }
.fs-7 { font-size: 14px !important; }
.fs-8 { font-size: 12px !important; }
.text-xs { font-size: 12px !important; }
.text-sm { font-size: 14px !important; }
.text-base { font-size: 16px !important; }
.text-lg { font-size: 18px !important; }
.text-xl { font-size: 20px !important; }


/* Mesh Background Gradient phong cách EduAll */
.mash-bg-main {
  background: 
    radial-gradient(circle at 12% 18%, rgba(63, 135, 199, 0.12) 0%, rgba(248, 250, 252, 0) 45%),
    radial-gradient(circle at 88% 78%, rgba(26, 74, 146, 0.09) 0%, rgba(248, 250, 252, 0) 45%),
    radial-gradient(circle at 50% 50%, rgba(227, 244, 253, 0.35) 0%, rgba(248, 250, 252, 0) 60%),
    #F8FAFC;
}

/* Họa tiết chấm bi trang trí đặc trưng của EduAll */
.banner-dot-pattern {
  position: absolute;
  top: 40px;
  left: 24px;
  width: 140px;
  height: 140px;
  background-image: radial-gradient(var(--mau-xanh-sang, #3F87C7) 1.5px, transparent 1.5px);
  background-size: 14px 14px;
  opacity: 0.28;
  pointer-events: none;
}

/* Buttons kiểu viên thuốc hiện đại EduAll */
.btn-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  min-height: 48px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: #ffffff !important;
  background-color: var(--mau-thuong-hieu, #1A4A92);
  border: 1.5px solid var(--mau-thuong-hieu, #1A4A92);
  box-shadow: 0 4px 14px rgba(26, 74, 146, 0.22);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-main:hover {
  background-color: var(--mau-thuong-hieu-hover, #174790);
  border-color: var(--mau-thuong-hieu-hover, #174790);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(26, 74, 146, 0.32);
}

.btn-outline-main {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 26px;
  min-height: 48px;
  font-family: inherit;
  font-size: 16px;
  font-weight: 600;
  color: var(--mau-thuong-hieu, #1A4A92) !important;
  background-color: #ffffff;
  border: 1.5px solid var(--mau-thuong-hieu, #1A4A92);
  box-shadow: 0 2px 8px rgba(8, 36, 77, 0.05);
  transition: all 0.2s ease;
  cursor: pointer;
  text-decoration: none;
}

.btn-outline-main:hover {
  background-color: var(--mau-nen-nhat, #E3F4FD);
  color: var(--mau-thuong-hieu, #1A4A92) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(8, 36, 77, 0.1);
}

/* ========================================================================
   1. UTILITY BAR & HEADER (EduAll Style)
   ======================================================================== */
.utility-bar {
  background: #ffffff;
  border-bottom: 1px solid var(--mau-vien-nhe, #D8E4F0);
  font-size: 12px;
  color: var(--mau-chu-phu, #52647A);
}

.utility-bar .container {
  min-height: 38px;
}

.utility-brand-text {
  display: flex;
  align-items: center;
  gap: 8px;
  font-weight: 500;
}

.utility-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background-color: var(--mau-xanh-sang, #3F87C7);
  display: inline-block;
}

.utility-year-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--mau-thuong-hieu, #1A4A92);
  background: var(--mau-nen-nhat, #E3F4FD);
  padding: 2px 8px;
  border-radius: 9999px;
  margin-left: 6px;
}

.utility-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.utility-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--mau-chu-phu, #52647A);
  text-decoration: none;
  font-weight: 500;
  transition: color 0.15s ease;
}

.utility-links a:hover {
  color: var(--mau-thuong-hieu, #1A4A92);
}

/* Site Header */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--mau-vien-nhe, #D8E4F0);
  box-shadow: 0 4px 16px rgba(8, 36, 77, 0.04);
}

.site-header .container {
  min-height: 72px;
  gap: 20px;
}

.brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
}

.brand-lockup img {
  height: 38px;
  width: auto;
}

.brand-hub-tag {
  display: inline-flex;
  align-items: center;
  padding: 3px 8px;
  background: var(--mau-nen-nhat, #E3F4FD);
  color: var(--mau-thuong-hieu, #1A4A92);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  border-radius: var(--bo-nho);
}

/* Categories Pill Button (EduAll feature) */
.categories-dropdown {
  flex-shrink: 0;
}

.btn-category {
  display: inline-flex !important;
  align-items: center !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  height: 40px !important;
  min-height: 40px !important;
  max-height: 40px !important;
  gap: 8px;
  padding: 0 16px !important;
  background: var(--mau-nen-nhat, #E3F4FD);
  color: var(--mau-thuong-hieu, #1A4A92) !important;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(26, 74, 146, 0.15);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-category:hover {
  background: var(--mau-thuong-hieu, #1A4A92);
  color: #ffffff !important;
}

/* Site Navigation */
.site-nav {
  display: flex;
  align-items: center;
  gap: 6px;
  flex-shrink: 0;
}

.site-nav .nav-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  border-radius: 9999px;
  color: var(--mau-chu-phu, #52647A);
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.18s ease;
  position: relative;
}

.site-nav .nav-link::after {
  display: none !important;
}

.site-nav .nav-link i {
  font-size: 16px;
  opacity: 0.85;
}

.site-nav .nav-link:hover {
  color: var(--mau-thuong-hieu, #1A4A92);
  background: var(--mau-nen-nhat, #E3F4FD);
}

.site-nav .nav-link.active {
  color: var(--mau-thuong-hieu, #1A4A92);
  background: var(--mau-nen-nhat, #E3F4FD);
  font-weight: 700;
}

/* Header Quick Search Pill */
/* Header Quick Search Form (EduAll Pill with Round Action Button) */
.header-search-form {
  position: relative;
  width: 230px;
}

.header-search-input {
  width: 100%;
  height: 40px;
  background: #F8FAFC;
  border: 1px solid var(--mau-vien-nhe, #D8E4F0);
  border-radius: 9999px;
  padding: 0 42px 0 16px;
  font-size: 14px;
  color: var(--mau-chu-chinh);
  transition: all 0.2s ease;
  outline: none;
}

.header-search-input:focus {
  background: #ffffff;
  border-color: var(--mau-thuong-hieu, #1A4A92);
  box-shadow: 0 0 0 3px rgba(26, 74, 146, 0.12);
}

.header-search-btn {
  position: absolute;
  top: 50%;
  right: 4px;
  transform: translateY(-50%);
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--mau-thuong-hieu, #1A4A92);
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
  font-size: 14px;
}

.header-search-btn:hover {
  background: var(--mau-thuong-hieu-hover, #174790);
  transform: translateY(-50%) scale(1.06);
}

.header-user-btn {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--mau-nen-nhat, #E3F4FD);
  color: var(--mau-thuong-hieu, #1A4A92);
  border: 1.5px solid rgba(26, 74, 146, 0.2);
  text-decoration: none;
  transition: all 0.2s ease;
  font-size: 18px;
}

.header-user-btn:hover {
  background: var(--mau-thuong-hieu, #1A4A92);
  color: #ffffff;
  border-color: var(--mau-thuong-hieu, #1A4A92);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(26, 74, 146, 0.2);
}

.account-chip {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 4px 14px 4px 6px;
  background: var(--mau-nen-nhat, #E3F4FD);
  border: 1px solid rgba(26, 74, 146, 0.15);
  font-size: 14px;
  font-weight: 600;
  color: var(--mau-thuong-hieu, #1A4A92);
}

.account-chip .avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--mau-thuong-hieu, #1A4A92);
  color: #ffffff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
}

/* ========================================================================
   2. HERO BANNER SECTION (EduAll Vue Clone with PTNK Colors)
   ======================================================================== */
.banner {
  padding: 72px 0 64px;
}

/* Floating Vector Doodles (EduAll Signature Banner Shapes) */
.hero-doodle {
  position: absolute;
  pointer-events: none;
  z-index: 0;
}

.hero-doodle-planet {
  top: 12%;
  left: 4%;
  animation: floatPlanet 7s ease-in-out infinite;
}

.hero-doodle-arrow {
  top: 46%;
  left: 48%;
  transform: rotate(-8deg);
  animation: floatArrow 5s ease-in-out infinite alternate;
}

.hero-doodle-dots-left {
  bottom: 14%;
  left: 3%;
  opacity: 0.7;
}

.hero-doodle-dots-right {
  top: 16%;
  right: 5%;
  opacity: 0.6;
}

.hero-doodle-ring {
  bottom: 24%;
  right: 48%;
  animation: pulseRing 5s ease-in-out infinite;
}

@keyframes floatPlanet {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-14px) rotate(8deg); }
}

@keyframes floatArrow {
  0% { transform: translateY(0) rotate(-8deg); }
  100% { transform: translateY(-8px) rotate(-3deg); }
}

@keyframes pulseRing {
  0%, 100% { transform: scale(1); opacity: 0.5; }
  50% { transform: scale(1.18); opacity: 0.8; }
}

@media (max-width: 991px) {
  .hero-doodle {
    display: none !important;
  }
}



.banner-tagline {
  display: inline-flex;
  align-items: center;
  background: #ffffff;
  padding: 6px 16px;
  border-radius: 9999px;
  border: 1px solid var(--mau-vien-nhe, #D8E4F0);
  box-shadow: 0 2px 8px rgba(8, 36, 77, 0.04);
}

.tagline-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: var(--mau-xanh-sang, #3F87C7);
  box-shadow: 0 0 0 3px rgba(63, 135, 199, 0.25);
  animation: pulseDot 2s infinite;
}

@keyframes pulseDot {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(63, 135, 199, 0.6); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(63, 135, 199, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(63, 135, 199, 0); }
}

.tagline-text {
  font-size: 14px;
  font-weight: 700;
  color: var(--mau-thuong-hieu, #1A4A92);
}

.tagline-badge {
  font-size: 12px;
  font-weight: 700;
  color: var(--mau-chu-phu, #52647A);
  background: var(--mau-nen-nhat, #E3F4FD);
  padding: 2px 8px;
  border-radius: 9999px;
}

/* Banner Title (Bold Two-Tone Typography) */
.banner-title {
  font-size: 48px;
  font-weight: 800;
  line-height: 1.18;
  color: var(--mau-chu-chinh, #142B47);
  letter-spacing: -0.02em;
}

.banner-desc {
  font-size: 16px;
  line-height: 1.65;
  color: var(--mau-chu-phu, #52647A);
  max-width: 540px;
}

.banner-stats-strip {
  border-top: 1px solid var(--mau-vien-nhe, #D8E4F0) !important;
}

.stat-mini-item {
  display: flex;
  flex-direction: column;
}

.stat-mini-number {
  font-size: 24px;
  font-weight: 800;
  color: var(--mau-thuong-hieu, #1A4A92);
  line-height: 1.1;
}

.stat-number-accent {
  color: var(--mau-xanh-sang, #3F87C7);
}

.stat-mini-label {
  font-size: 12px;
  font-weight: 500;
  color: var(--mau-chu-phu, #52647A);
  margin-top: 4px;
}

.stat-mini-divider {
  width: 1px;
  height: 32px;
  background-color: var(--mau-vien-nhe, #D8E4F0);
}

/* Banner Thumb & Floating Widgets (EduAll Signature Look) */
.banner-thumb-wrapper {
  max-width: 100%;
}

.banner-thumb__img {
  max-width: 100%;
  height: auto;
  border: 4px solid #ffffff;
  box-shadow: 0 16px 40px rgba(8, 36, 77, 0.12);
  display: block;
}

/* Floating Widgets Animations */
.banner-box {
  position: absolute;
  border: 1px solid rgba(216, 228, 240, 0.9);
  z-index: 5;
  animation: eduallFloat 4s ease-in-out infinite;
}

@keyframes eduallFloat {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-7px); }
}

.banner-box.one {
  top: -18px;
  left: -20px;
  animation-delay: 0s;
}

.banner-box.three {
  bottom: 12px;
  right: -20px;
  animation-delay: 1.6s;
}

/* Avatar Stack in Widget 1 */
.enrolled-avatars-row {
  display: flex;
  align-items: center;
}

.avatar-circle {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 2px solid #ffffff;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-left: -8px;
}

.avatar-circle:first-child { margin-left: 0; }
.avatar-circle.av-1 { background-color: #1A4A92; }
.avatar-circle.av-2 { background-color: #3F87C7; }
.avatar-circle.av-3 { background-color: #176B4A; }
.avatar-circle.av-4 { background-color: #2268A6; }
.avatar-circle.av-more { background-color: #52647A; font-size: 12px; }

/* Banner Trust Bar */
.banner-trust-bar {
  border-top: 1px solid rgba(216, 228, 240, 0.6);
}

.trust-pill-container {
  max-width: 100%;
  box-sizing: border-box;
}

.trust-item {
  background: #ffffff;
  padding: 8px 18px;
  border-radius: 9999px;
  border: 1px solid var(--mau-vien-nhe, #D8E4F0);
  box-shadow: 0 2px 8px rgba(8, 36, 77, 0.03);
  font-size: 14px;
  white-space: nowrap;
}

/* ========================================================================
   3. EXPLORE COURSES, SEARCH & PILLS (EduAll Filter Style)
   ======================================================================== */
.bg-courses-section {
  background-color: #F4F8FC !important;
  border-top: 1px solid var(--mau-vien-nhe, #D8E4F0);
  border-bottom: 1px solid var(--mau-vien-nhe, #D8E4F0);
}

.explore-courses-header {
  scroll-margin-top: 80px;
}

.display-heading {
  font-size: 32px;
  font-weight: 800;
  color: var(--mau-chu-chinh, #142B47);
  letter-spacing: -0.015em;
}

.section-badge-pill {
  background: var(--mau-nen-nhat, #E3F4FD);
  border: 1px solid rgba(26, 74, 146, 0.15);
}

.explore-filter-wrapper {
  border: 1px solid var(--mau-vien-nhe, #D8E4F0);
}

/* EduAll Subject Filter Tabs (Capsule Pills) */
.explore-pills-wrapper {
  gap: 10px;
}

.filter-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  padding: 10px 22px !important;
  border-radius: 9999px !important;
  background: #ffffff !important;
  border: 1px solid var(--mau-vien-nhe, #D8E4F0) !important;
  color: var(--mau-chu-phu, #52647A) !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  box-shadow: 0 2px 6px rgba(8, 36, 77, 0.03) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  cursor: pointer !important;
}

.filter-pill:hover {
  background: #ffffff !important;
  border-color: var(--mau-xanh-sang, #3F87C7) !important;
  color: var(--mau-thuong-hieu, #1A4A92) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 16px rgba(8, 36, 77, 0.08) !important;
}

.filter-pill.active {
  background: var(--mau-thuong-hieu, #1A4A92) !important;
  border-color: var(--mau-thuong-hieu, #1A4A92) !important;
  color: #ffffff !important;
  box-shadow: 0 6px 18px rgba(26, 74, 146, 0.28) !important;
}

.filter-pill .pill-count {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-width: 24px !important;
  height: 24px !important;
  padding: 0 6px !important;
  border-radius: 9999px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  background: var(--mau-nen-nhat, #E3F4FD) !important;
  color: var(--mau-thuong-hieu, #1A4A92) !important;
}

.filter-pill.active .pill-count {
  background: rgba(255, 255, 255, 0.22) !important;
  color: #ffffff !important;
}

/* EduAll Rounded Search Box & Toolbar */
.filter-toolbar {
  margin-bottom: 36px;
}

.eduall-search-box {
  flex: 1 1 360px;
  max-width: 480px;
  position: relative;
}

.eduall-search-box .form-control {
  border: 1px solid var(--mau-vien-nhe, #D8E4F0);
  background-color: #ffffff;
  height: 48px;
  padding-left: 46px !important;
  padding-right: 96px !important;
  font-size: 14px;
  color: var(--mau-chu-chinh, #142B47);
  box-shadow: 0 2px 8px rgba(8, 36, 77, 0.04);
  transition: all 0.2s ease;
}

.eduall-search-box .search-box-icon {
  left: 16px !important;
  pointer-events: none;
  z-index: 2;
}

.eduall-search-box .search-kbd-hint {
  right: 70px !important;
  z-index: 2;
}

.eduall-search-box .form-control:focus {
  background-color: #ffffff;
  border-color: var(--mau-thuong-hieu, #1A4A92);
  box-shadow: 0 0 0 3px rgba(26, 74, 146, 0.12);
  outline: none;
}

.eduall-search-box .btn-main {
  min-height: 44px;
  height: 44px;
  padding: 0 16px;
  font-size: 14px;
  right: 6px;
  z-index: 3;
}

.live-counter-badge {
  background: #ffffff !important;
  border: 1px solid var(--mau-vien-nhe, #D8E4F0) !important;
  box-shadow: 0 2px 6px rgba(8, 36, 77, 0.03) !important;
}

.search-kbd-hint {
  font-family: inherit;
  font-size: 12px;
  background: #E2E8F0;
  color: #52647A;
  border-radius: var(--bo-nho);
  padding: 2px 6px;
  border: 1px solid var(--mau-vien-nhe);
}

/* ========================================================================
   4. COURSE CARDS GRID (Signature EduAll LMS Card Layout)
   ======================================================================== */
.subject-catalog {
  padding-bottom: 72px;
}

.course-cards-grid {
  row-gap: 32px !important;
}

.course-item {
  display: flex !important;
  flex-direction: column !important;
  height: 100% !important;
  padding: 16px 16px 20px 16px !important;
  background: #ffffff !important;
  border-radius: 16px !important;
  border: 1px solid rgba(216, 228, 240, 0.9) !important;
  box-shadow: 0 4px 20px rgba(8, 36, 77, 0.05) !important;
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1) !important;
  box-sizing: border-box !important;
  position: relative !important;
  overflow: hidden !important;
}

.course-item:hover {
  transform: translateY(-6px) !important;
  box-shadow: 0 16px 36px rgba(8, 36, 77, 0.12) !important;
  border-color: rgba(63, 135, 199, 0.6) !important;
}

.course-item__thumb {
  position: relative !important;
  height: 220px !important;
  border-radius: 12px !important;
  overflow: hidden !important;
  background-color: #E2E8F0 !important;
  margin-bottom: 18px !important;
  flex-shrink: 0 !important;
}

.course-item__thumb .course-item__img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  transition: transform 0.4s ease !important;
}

.course-item:hover .course-item__thumb .course-item__img {
  transform: scale(1.06) !important;
}

.course-badge-left {
  position: absolute !important;
  top: 12px !important;
  left: 12px !important;
  z-index: 2 !important;
}

.course-badge-right {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  z-index: 2 !important;
}

.badge-status-enroll {
  display: inline-flex !important;
  align-items: center !important;
  padding: 4px 10px !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  color: var(--mau-thuong-hieu, #1A4A92) !important;
  background-color: rgba(255, 255, 255, 0.95) !important;
  backdrop-filter: blur(4px) !important;
  -webkit-backdrop-filter: blur(4px) !important;
  border: 1px solid rgba(26, 74, 146, 0.15) !important;
  letter-spacing: 0.02em !important;
  line-height: 1.2 !important;
  white-space: nowrap !important;
}

.course-item__content {
  display: flex !important;
  flex-direction: column !important;
  flex-grow: 1 !important;
  padding: 0 4px !important;
}

.course-meta-top {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  margin-bottom: 12px !important;
  font-size: 14px !important;
  color: var(--mau-chu-phu, #52647A) !important;
  min-width: 0 !important;
}

.course-meta-top .meta-item {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  min-width: 0 !important;
  font-weight: 500 !important;
  flex: 1 1 auto !important;
}

.badge-code {
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 700 !important;
  letter-spacing: 0.03em !important;
  padding: 4px 10px !important;
  min-height: 22px !important;
  max-height: 26px !important;
  border-radius: 9999px !important;
  background-color: var(--mau-nen-nhat, #E3F4FD) !important;
  color: var(--mau-thuong-hieu, #1A4A92) !important;
  border: 1px solid rgba(26, 74, 146, 0.12) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  line-height: 1 !important;
}

.course-title {
  font-size: 18px !important;
  font-weight: 700 !important;
  line-height: 1.42 !important;
  margin-bottom: 14px !important;
  min-height: 52px !important;
}

.course-title a {
  text-decoration: none !important;
  line-height: 1.42 !important;
  color: var(--mau-chu-chinh, #142B47) !important;
  transition: color 0.15s ease !important;
}

.course-title a:hover {
  color: var(--mau-thuong-hieu, #1A4A92) !important;
}

.course-meta-mid {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding-bottom: 16px !important;
  margin-bottom: 16px !important;
  font-size: 14px !important;
  color: var(--mau-chu-phu, #52647A) !important;
  min-height: 32px !important;
}

.course-instructor {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  min-width: 0 !important;
}

.instructor-icon-box {
  width: 28px !important;
  height: 28px !important;
  border-radius: 50% !important;
  background: var(--mau-nen-nhat, #E3F4FD) !important;
  color: var(--mau-thuong-hieu, #1A4A92) !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 14px !important;
  flex-shrink: 0 !important;
}

.instructor-name {
  font-size: 14px !important;
  font-weight: 600 !important;
  color: var(--mau-chu-chinh, #142B47) !important;
}

.course-start-meta {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 12px !important;
  color: var(--mau-chu-phu, #52647A) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* EduAll Dashed Course Footer */
.course-footer {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
  padding-top: 18px !important;
  padding-bottom: 4px !important;
  margin-top: auto !important;
  border-top: 1px dashed var(--mau-vien-nhe, #D8E4F0) !important;
}

.course-price-wrap {
  display: flex !important;
  flex-direction: column !important;
  justify-content: center !important;
  line-height: 1.2 !important;
}

.course-price-wrap .price-figure {
  font-size: 20px !important;
  font-weight: 800 !important;
  color: var(--mau-thuong-hieu, #1A4A92) !important;
  line-height: 1.2 !important;
  letter-spacing: -0.02em !important;
}

.course-price-wrap .price-cycle {
  font-size: 12px !important;
  font-weight: 500 !important;
  color: var(--mau-chu-phu, #52647A) !important;
  line-height: 1.3 !important;
  margin-top: 4px !important;
  display: block !important;
}

.course-actions {
  display: inline-flex !important;
  align-items: center !important;
  gap: 8px !important;
  flex-shrink: 0 !important;
}

/* Nút Chi tiết viên thuốc chuẩn EduAll */
.btn-detail {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 18px !important;
  border-radius: 9999px !important;
  font-family: inherit !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  background-color: var(--mau-thuong-hieu, #1A4A92) !important;
  color: #ffffff !important;
  border: 1.5px solid var(--mau-thuong-hieu, #1A4A92) !important;
  text-decoration: none !important;
  cursor: pointer !important;
  box-shadow: 0 2px 8px rgba(26, 74, 146, 0.2) !important;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1) !important;
  white-space: nowrap !important;
}

.btn-detail:hover {
  background-color: var(--mau-thuong-hieu-hover, #174790) !important;
  border-color: var(--mau-thuong-hieu-hover, #174790) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 14px rgba(26, 74, 146, 0.3) !important;
  color: #ffffff !important;
}

/* Nút Đề cương */
.btn-syllabus-trigger {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 4px !important;
  height: 44px !important;
  min-height: 44px !important;
  max-height: 44px !important;
  padding: 0 12px !important;
  border-radius: 9999px !important;
  font-family: inherit !important;
  font-size: 12px !important;
  font-weight: 600 !important;
  background-color: #ffffff !important;
  color: var(--mau-chu-phu, #52647A) !important;
  border: 1px solid var(--mau-vien-nhe, #D8E4F0) !important;
  cursor: pointer !important;
  transition: all 0.2s ease !important;
  white-space: nowrap !important;
}

.btn-syllabus-trigger:hover {
  background-color: var(--mau-nen-nhat, #E3F4FD) !important;
  color: var(--mau-thuong-hieu, #1A4A92) !important;
  border-color: var(--mau-xanh-sang, #3F87C7) !important;
}

/* ========================================================================
   5. 4 STEPS PATHWAY (EduAll Process Section)
   ======================================================================== */
.process-section {
  border-top: 1px solid var(--mau-vien-nhe, #D8E4F0);
  border-bottom: 1px solid var(--mau-vien-nhe, #D8E4F0);
}

.process-step-card {
  border: 1px solid var(--mau-vien-nhe, #D8E4F0);
  transition: all 0.25s ease;
}

.process-step-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 36px rgba(8, 36, 77, 0.1) !important;
  border-color: var(--mau-xanh-sang, #3F87C7);
}

.step-badge-number {
  width: 44px;
  height: 44px;
  background: var(--mau-nen-nhat, #E3F4FD);
  color: var(--mau-thuong-hieu, #1A4A92);
  border: 2px solid #ffffff;
  box-shadow: 0 2px 8px rgba(8, 36, 77, 0.08);
}

.step-icon-wrap {
  border: 1px solid rgba(26, 74, 146, 0.15);
}

/* ========================================================================
   6. COUNTER STRIP & ABOUT SECTION (EduAll Look)
   ======================================================================== */
.counter-strip {
  background: linear-gradient(135deg, #1A4A92 0%, #174790 100%) !important;
  box-shadow: inset 0 2px 10px rgb(8 36 77 / 15%);
}

.counter-icon-circle {
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border: 1px solid rgba(255, 255, 255, 0.25);
}

.about-collage-container {
  position: relative;
}

.about-badge-floating {
  border: 1px solid var(--mau-vien-nhe, #D8E4F0);
  transition: transform 0.25s ease;
}

.about-badge-floating:hover {
  transform: translateY(-4px) !important;
}

.about-features-list .about-feature-item {
  border: 1px solid var(--mau-vien-nhe, #D8E4F0);
}

.about-features-list .about-feature-item:hover {
  border-color: var(--mau-xanh-sang, #3F87C7);
  transform: translateX(4px);
  box-shadow: 0 8px 24px rgba(8, 36, 77, 0.08);
}

/* ========================================================================
   7. SUPPORT / CONSULTATION CARD (EduAll Look)
   ======================================================================== */
.support-cta-card {
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-white {
  background-color: #ffffff !important;
  color: var(--mau-thuong-hieu, #1A4A92) !important;
  border: 1.5px solid #ffffff !important;
  box-shadow: 0 4px 14px rgb(8 36 77 / 10%);
  text-decoration: none;
  transition: all 0.2s ease;
}

.btn-white:hover {
  background-color: var(--mau-nen-nhat, #E3F4FD) !important;
  color: var(--mau-thuong-hieu, #1A4A92) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgb(8 36 77 / 15%);
}

.support-info-card {
  border: 1px solid rgba(26, 74, 146, 0.1);
  transition: transform 0.2s ease;
}

.support-info-card:hover {
  transform: translateX(-4px);
  border-color: var(--mau-xanh-sang, #3F87C7);
}

/* ========================================================================
   8. FOOTER (Multi-Column Modern PTNK Navy Style)
   ======================================================================== */
.site-footer {
  background: var(--mau-nen-toi, #08244D);
  color: #ffffff;
  padding: 64px 0 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-logo-badge {
  display: inline-block;
  background: #ffffff;
  padding: 8px 14px;
  border-radius: 12px;
  margin-bottom: 20px;
}

.footer-desc {
  font-size: 14px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 20px;
}

.footer-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1.3fr 1.3fr 1.6fr;
  gap: 36px;
  margin-bottom: 48px;
}

.footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 20px;
  letter-spacing: -0.01em;
}

.footer-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links-list a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  font-size: 14px;
  transition: color 0.15s ease, transform 0.15s ease;
}

.footer-links-list a:hover {
  color: #ffffff;
  transform: translateX(4px);
}

.campus-card {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 14px;
  font-size: 14px;
}

.campus-name {
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 4px;
}

.campus-address {
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 4px;
}

.campus-contact {
  color: var(--mau-xanh-sang, #3F87C7);
  font-weight: 600;
}

.footer-bottom-bar {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
}

/* ========================================================================
   9. MODAL & VIEW TRANSITIONS (Preserved for full JS compatibility)
   ======================================================================== */
.modal-de-cuong {
  padding: 0;
  border: none;
  border-radius: var(--bo-noi-bat);
  background: transparent;
  max-width: 760px;
  width: calc(100% - 32px);
  margin: auto;
  box-shadow: 0 25px 50px -12px rgba(8, 36, 77, 0.35);
  transform-origin: var(--modal-origin-x, center) var(--modal-origin-y, center);
  opacity: 0;
  transform: translateY(16px) scale(0.96);
  transition: opacity 200ms cubic-bezier(0.22, 1, 0.36, 1),
              transform 200ms cubic-bezier(0.22, 1, 0.36, 1),
              overlay 200ms allow-discrete,
              display 200ms allow-discrete;
}

.modal-de-cuong[open] {
  opacity: 1;
  transform: translateY(0) scale(1);
}

@starting-style {
  .modal-de-cuong[open] {
    opacity: 0;
    transform: translateY(16px) scale(0.96);
  }
}

.modal-de-cuong::backdrop {
  background: rgba(8, 36, 77, 0.65);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  opacity: 0;
  transition: opacity 200ms cubic-bezier(0.22, 1, 0.36, 1),
              overlay 200ms allow-discrete,
              display 200ms allow-discrete;
}

.modal-de-cuong[open]::backdrop {
  opacity: 1;
}

@starting-style {
  .modal-de-cuong[open]::backdrop {
    opacity: 0;
  }
}

.modal-de-cuong-card {
  background: #ffffff;
  border-radius: var(--bo-noi-bat);
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
  overflow: hidden;
  border: 1px solid var(--mau-vien-nhe, #D8E4F0);
}

.modal-de-cuong-header {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: flex-start !important;
  padding: 24px 72px 18px 28px !important;
  background: linear-gradient(180deg, #f8fafd 0%, #ffffff 100%) !important;
  border-bottom: 1px solid var(--mau-vien-nhe, #D8E4F0) !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.modal-badge-group {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.badge-modal-dept {
  font-size: 12px;
  font-weight: 700;
  color: var(--mau-thuong-hieu, #1A4A92);
  background: var(--mau-nen-nhat, #E3F4FD);
  padding: 3px 8px;
  border-radius: var(--bo-nho);
  border: 1px solid rgba(8, 36, 77, 0.1);
}

.badge-modal-code {
  font-size: 12px;
  font-weight: 700;
  color: var(--mau-chu-phu, #52647A);
  background: var(--mau-vo-hieu, #E8EDF3);
  padding: 3px 8px;
  border-radius: var(--bo-nho);
}

.modal-de-cuong .modal-title {
  font-size: 20px !important;
  font-weight: 700 !important;
  color: var(--mau-chu-chinh, #142B47) !important;
  margin: 0 0 6px 0 !important;
  line-height: 1.35 !important;
  width: 100% !important;
}

.modal-de-cuong .modal-subtitle {
  font-size: 14px !important;
  color: var(--mau-chu-phu, #52647A) !important;
  margin: 0 !important;
  line-height: 1.5 !important;
  width: 100% !important;
}

.modal-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--mau-vien-nhe, #D8E4F0);
  background: #ffffff;
  color: var(--mau-chu-phu, #52647A);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-close-btn:hover {
  background: var(--mau-nen-nhat, #E3F4FD);
  color: var(--mau-thuong-hieu, #1A4A92);
}

.modal-de-cuong-body {
  padding: 24px 28px;
  overflow-y: auto;
  flex: 1;
}

.modal-metrics-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.metric-box {
  padding: 12px;
  background: #F8FAFC;
  border: 1px solid var(--mau-vien-nhe, #D8E4F0);
  border-radius: 12px;
  text-align: center;
}

.metric-box .metric-label {
  display: block;
  font-size: 12px;
  color: var(--mau-chu-phu, #52647A);
  margin-bottom: 4px;
}

.metric-box .metric-value {
  font-size: 14px;
  font-weight: 700;
  color: var(--mau-thuong-hieu, #1A4A92);
}

.syllabus-timeline {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.timeline-step-item {
  display: flex;
  gap: 16px;
}

.step-indicator {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.step-indicator .step-num {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mau-nen-nhat, #E3F4FD);
  color: var(--mau-thuong-hieu, #1A4A92);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-indicator .step-line {
  flex: 1;
  width: 2px;
  background: var(--mau-vien-nhe, #D8E4F0);
  margin: 6px 0;
}

.timeline-step-item:last-child .step-line {
  display: none;
}

.step-content {
  flex: 1;
  padding-bottom: 12px;
}

.step-heading {
  font-size: 14px;
  font-weight: 700;
  color: var(--mau-chu-chinh, #142B47);
  margin-bottom: 4px;
}

.step-desc {
  font-size: 14px;
  color: var(--mau-chu-phu, #52647A);
  line-height: 1.5;
  margin-bottom: 8px;
}

.step-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.syllabus-tag {
  font-size: 12px;
  background: #F1F5F9;
  color: var(--mau-chu-phu);
  padding: 2px 8px;
  border-radius: var(--bo-nho);
}

.modal-de-cuong-footer {
  padding: 16px 28px;
  border-top: 1px solid var(--mau-vien-nhe, #D8E4F0);
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #F8FAFC;
}

/* Count Pulse Animation */
.count-num-pulse {
  display: inline-block;
  animation: countPulse 240ms cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes countPulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.18); color: var(--mau-xanh-sang, #3F87C7); }
  100% { transform: scale(1); }
}

/* FLIP Morphing & View Transitions ---------------------------------- */
.subject-section {
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.parent-course-row[data-class-row] {
  transition: opacity 180ms ease, transform 220ms cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
}

.client-empty-state {
  animation: emptyFadeIn 220ms cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

@keyframes emptyFadeIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

button.suggestion-chip {
  cursor: pointer;
  font-family: inherit;
  font-size: 14px;
  line-height: inherit;
}

/* Responsive Breakpoints ---------------------------------------------- */
@media (max-width: 1024px) {
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 991px) {
  .banner-thumb position-relative {
    margin-top: 40px;
  }
  .banner-box.one { left: 0; }
  .banner-box.two { left: 0; }
  .banner-box.three { right: 0; }
  .categories-dropdown { display: none; }
}

@media (max-width: 768px) {
  .banner { padding: 40px 0; }
  .banner-title { font-size: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .modal-metrics-grid { grid-template-columns: repeat(2, 1fr); }
}


/* ========================================================================
   HOME PARENT-FIRST OVERRIDES · 14/09/2026
   Ưu tiên tìm lớp, lịch học và học phí; giảm motif marketplace EduAll.
   ======================================================================== */
.site-header {
  background: #ffffff;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  box-shadow: none;
}

.site-header .container {
  min-height: 68px;
  gap: 20px;
}

.site-nav .nav-link {
  min-height: 44px;
  padding: 10px 12px;
  border-radius: 8px;
}

.site-nav .nav-link.active {
  background: transparent;
  box-shadow: inset 0 -2px 0 var(--mau-thuong-hieu, #1A4A92);
}

.parent-first-hero {
  padding: 34px 0 30px;
  background: var(--mau-nen-trang-phu, #F7FAFD);
  border-bottom: 1px solid var(--mau-vien-nhe, #D8E4F0);
}

.parent-first-hero .banner-title {
  max-width: 600px;
  font-size: clamp(32px, 3.2vw, 48px);
  font-weight: 700;
  line-height: 1.14;
  color: var(--mau-chu-chinh, #142B47);
  letter-spacing: -0.025em;
  text-wrap: balance;
}

.parent-first-hero .banner-desc {
  max-width: 560px;
  font-size: 16px;
  line-height: 1.6;
  color: var(--mau-chu-phu, #52647A);
}

.parent-hero-context {
  color: var(--mau-thuong-hieu, #1A4A92);
  font-size: 14px;
  font-weight: 700;
}

.parent-first-hero .btn-main {
  min-height: 48px;
  padding: 12px 24px;
  border-radius: var(--bo-dieu-khien) !important;
  transform: none !important;
  box-shadow: none !important;
}

.parent-hero-link {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  padding: 0 8px;
  color: var(--mau-thuong-hieu, #1A4A92);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.parent-hero-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 20px;
  margin-top: 20px;
  color: var(--mau-chu-phu, #52647A);
  font-size: 14px;
}

.parent-hero-meta strong {
  color: var(--mau-chu-chinh, #142B47);
}

.parent-hero-figure {
  max-width: 400px;
  margin-left: auto;
}

.parent-first-hero .banner-thumb__img {
  width: 100%;
  max-width: 400px;
  height: auto;
  border: 0;
  border-radius: var(--bo-the);
  box-shadow: none;
}

.parent-hero-figure figcaption {
  margin-top: 8px;
  color: var(--mau-chu-phu, #52647A);
  font-size: 12px;
  text-align: right;
}

.parent-first-catalog {
  padding: 36px 0 56px !important;
  background: #ffffff !important;
}

.parent-first-catalog .section-heading {
  max-width: 760px;
}

.parent-first-catalog .catalog-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  max-width: none;
}

.parent-first-catalog .display-heading {
  font-size: 32px;
  font-weight: 700;
  line-height: 1.25;
  color: var(--mau-chu-chinh, #142B47);
  text-wrap: balance;
}

.parent-first-catalog .nav-tab-wrapper {
  padding: 14px 16px !important;
  margin-bottom: 20px !important;
  border: 1px solid var(--mau-vien-nhe, #D8E4F0);
  border-radius: var(--bo-the);
  box-shadow: none;
  background: var(--mau-nen-trang-phu, #F7FAFD) !important;
}

.parent-first-catalog #subject-pills-container,
.parent-first-catalog .subject-filter-list {
  justify-content: flex-start !important;
  flex-wrap: wrap !important;
  overflow: visible !important;
  margin-bottom: 12px !important;
}

.parent-first-catalog .filter-pill {
  min-height: 44px;
  padding: 9px 14px !important;
  border-radius: var(--bo-dieu-khien) !important;
  box-shadow: none !important;
  transform: none !important;
}

.parent-first-catalog .filter-pill:hover {
  transform: none !important;
  box-shadow: none !important;
}

.catalog-search-label {
  display: block;
  margin-bottom: 6px;
  color: var(--mau-chu-chinh, #142B47);
  font-size: 14px;
  font-weight: 700;
}

.parent-first-catalog .eduall-search-box .form-control {
  min-height: 46px;
  border-radius: var(--bo-dieu-khien) !important;
  padding-left: 44px !important;
  padding-right: 100px !important;
}

.parent-first-catalog .parent-search-form {
  flex: 1 1 420px;
  max-width: 560px;
}

.parent-first-catalog .parent-search-field {
  position: relative;
}

.parent-first-catalog .catalog-search-icon {
  position: absolute;
  top: 50%;
  left: 15px;
  z-index: 2;
  color: var(--mau-thuong-hieu, #1A4A92);
  font-size: 18px;
  line-height: 1;
  pointer-events: none;
  transform: translateY(-50%);
}

.parent-first-catalog .eduall-search-box .btn {
  min-height: 36px;
  border-radius: 8px !important;
}

.parent-first-catalog .live-counter-badge {
  padding: 0 !important;
  background: transparent !important;
  color: var(--mau-chu-phu, #52647A) !important;
  border-radius: 0 !important;
}

.parent-first-catalog .subject-groups {
  display: grid;
  gap: 20px;
}

.subject-group {
  background: #ffffff;
  border: 1px solid var(--mau-vien-nhe, #D8E4F0);
  border-radius: var(--bo-the, 16px);
  overflow: hidden;
}

.subject-group-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 20px;
  background: var(--mau-nen-trang-phu, #F7FAFD);
  border-bottom: 1px solid var(--mau-vien-nhe, #D8E4F0);
}

.subject-group-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  border-radius: 10px;
  background: #ffffff;
  border: 1px solid var(--mau-vien-nhe, #D8E4F0);
  color: var(--mau-thuong-hieu, #1A4A92);
  font-size: 20px;
}

.subject-group-title {
  margin: 0;
  color: var(--mau-chu-chinh, #142B47);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.3;
}

.subject-class-count {
  margin-left: auto;
  flex: 0 0 auto;
  color: var(--mau-chu-phu, #52647A);
  font-size: 13px;
  font-weight: 600;
}

.parent-first-catalog .parent-course-row {
  width: 100%;
  min-width: 0;
}

.subject-group-rows > .parent-course-row + .parent-course-row {
  border-top: 1px solid var(--mau-vien-nhe, #D8E4F0);
}

.parent-first-catalog .parent-course-item {
  display: grid;
  grid-template-columns: minmax(160px, 1.1fr) minmax(200px, 1.4fr) 112px minmax(140px, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 14px 20px;
  background: transparent;
  box-sizing: border-box;
  transition: background-color 160ms ease;
}

.parent-first-catalog .parent-course-item:hover {
  background: var(--mau-nen-trang-phu, #F7FAFD);
}

.parent-first-catalog .course-cell {
  display: flex;
  flex-direction: column;
  gap: 3px;
  min-width: 0;
}

.course-cell-label {
  color: var(--mau-chu-phu, #52647A);
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
}

.course-cell-value {
  color: var(--mau-chu-chinh, #142B47);
  font-size: 14px;
  font-weight: 550;
  line-height: 1.4;
}

.course-cell-identity {
  gap: 4px;
}

.course-row-title > a {
  color: var(--mau-chu-chinh, #142B47) !important;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.35;
}

.course-row-title > a:hover {
  color: var(--mau-thuong-hieu, #1A4A92) !important;
}

.parent-first-catalog .parent-course-mode {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  min-width: 0;
  color: var(--mau-thuong-hieu, #1A4A92);
  font-size: 13px;
  font-weight: 650;
}

.parent-first-catalog .parent-course-status {
  flex: 0 0 auto;
  color: var(--mau-thanh-cong, #176B4A);
  font-size: 12px;
  font-weight: 600;
}

.parent-first-catalog .course-cell-action {
  flex-direction: row;
  align-items: center;
  justify-content: flex-end;
  gap: 20px;
}

.course-price-block {
  display: flex;
  flex-direction: column;
  gap: 1px;
  min-width: 0;
  text-align: right;
  white-space: nowrap;
}

.course-price {
  color: var(--mau-thuong-hieu, #1A4A92);
  font-size: 17px;
  font-weight: 700;
  line-height: 1.25;
}

.course-price-note {
  color: var(--mau-chu-phu, #52647A);
  font-size: 12px;
}

.course-row-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex: 0 0 auto;
}

.course-row-actions .btn-main {
  min-height: 44px;
  border-radius: 8px !important;
}

.course-row-actions .btn-syllabus-trigger {
  min-height: 44px;
  border-radius: 8px !important;
}

.parent-process {
  padding: 52px 0 60px !important;
  border-top: 1px solid var(--mau-vien-nhe, #D8E4F0);
  background: var(--mau-nen-trang-phu, #F7FAFD);
}

.parent-process-heading {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 24px;
}

.parent-process-heading .display-heading {
  font-size: 32px;
  font-weight: 700;
  color: var(--mau-chu-chinh, #142B47);
}

.parent-process-back {
  display: inline-flex;
  align-items: center;
  min-height: 44px;
  color: var(--mau-thuong-hieu, #1A4A92);
  font-weight: 650;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

.parent-process-list {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid var(--mau-vien-nhe, #D8E4F0);
  border-bottom: 1px solid var(--mau-vien-nhe, #D8E4F0);
}

.parent-process-step {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  gap: 12px;
  padding: 20px 20px 20px 0;
}

.parent-process-step + .parent-process-step {
  padding-left: 20px;
  border-left: 1px solid var(--mau-vien-nhe, #D8E4F0);
}

.parent-process-number {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--mau-thuong-hieu, #1A4A92);
  color: #ffffff;
  font-size: 14px;
  font-weight: 700;
}

.parent-process-step h3 {
  margin: 2px 0 6px;
  color: var(--mau-chu-chinh, #142B47);
  font-size: 16px;
  font-weight: 700;
  line-height: 1.35;
}

.parent-process-step p {
  margin: 0;
  color: var(--mau-chu-phu, #52647A);
  font-size: 14px;
  line-height: 1.55;
}

@media (max-width: 991px) {
  .parent-first-hero {
    padding: 28px 0 26px;
  }

  .parent-first-hero .row {
    display: grid;
    grid-template-columns: minmax(0, 1.4fr) minmax(230px, 0.8fr);
    align-items: center;
  }

  .parent-first-hero .col-lg-7,
  .parent-first-hero .col-lg-5 {
    width: auto;
    max-width: none;
    flex: none;
  }

  .parent-hero-figure {
    margin: 4px auto 0;
    max-width: 300px;
  }

  .parent-first-hero .banner-thumb__img {
    max-width: 300px;
  }

  .parent-first-catalog {
    padding-top: 32px !important;
  }

  .parent-first-catalog .parent-course-item {
    grid-template-columns: minmax(160px, 1.1fr) minmax(190px, 1.3fr) minmax(120px, 0.9fr);
    gap: 14px 18px;
  }

  .parent-first-catalog .course-cell-action {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .parent-first-catalog .course-cell-action .course-price-block {
    text-align: left;
  }

  .parent-process-list {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .parent-process-step:nth-child(3) {
    border-left: 0;
    border-top: 1px solid var(--mau-vien-nhe, #D8E4F0);
    padding-left: 0;
  }

  .parent-process-step:nth-child(4) {
    border-top: 1px solid var(--mau-vien-nhe, #D8E4F0);
  }
}

@media (max-width: 767px) {
  .parent-first-hero {
    padding: 24px 0 22px;
  }

  .parent-first-hero .banner-title {
    font-size: 32px;
  }

  .parent-first-hero .col-lg-7,
  .parent-first-hero .col-lg-5 {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .parent-first-hero .row {
    display: flex;
  }

  .parent-first-hero .banner-desc {
    font-size: 16px;
  }

  .parent-hero-figure {
    display: none;
  }

  .parent-first-catalog {
    padding: 32px 0 48px !important;
  }

  .parent-first-catalog .display-heading {
    font-size: 32px;
  }

  .parent-first-catalog .catalog-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .parent-first-catalog .nav-tab-wrapper {
    padding: 12px !important;
  }

  .parent-first-catalog #subject-pills-container,
  .parent-first-catalog .subject-filter-list {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;
    overflow-x: auto;
    overflow-y: hidden !important;
  }

  .subject-group-header {
    padding: 12px 16px;
  }

  .subject-group-title {
    font-size: 16px;
  }

  .parent-first-catalog .parent-course-item {
    grid-template-columns: 1fr 1fr;
    gap: 12px 16px;
    padding: 14px 16px;
  }

  .parent-first-catalog .course-cell-identity,
  .parent-first-catalog .course-cell-action {
    grid-column: 1 / -1;
  }

  .parent-first-catalog .course-cell-action {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .parent-first-catalog .course-cell-action .course-price-block {
    text-align: left;
  }

  .parent-first-catalog .course-row-actions {
    justify-content: flex-end;
  }

  .parent-first-catalog .parent-course-status {
    white-space: nowrap;
  }

  .parent-first-catalog .filter-results-status {
    width: 100%;
    justify-content: space-between;
  }

  .parent-process {
    padding: 44px 0 48px !important;
  }

  .parent-process-heading {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .parent-process-heading .display-heading {
    font-size: 24px;
  }

  .parent-process-list {
    grid-template-columns: 1fr;
  }

  .parent-process-step,
  .parent-process-step + .parent-process-step,
  .parent-process-step:nth-child(3),
  .parent-process-step:nth-child(4) {
    padding: 16px 0;
    border-left: 0;
    border-top: 1px solid var(--mau-vien-nhe, #D8E4F0);
  }

  .parent-process-step:first-child {
    border-top: 0;
  }
}

.parent-first-catalog .course-badge-right {
  display: none;
}

@media (max-width: 880px) {
  .site-header .header-left {
    width: auto;
    margin-bottom: 0;
  }

  .site-header .header-actions {
    margin-left: auto;
  }

  .site-header .site-nav {
    margin-top: 4px;
  }
}
