/*
Theme Name: NIE Blue House English Center Theme
Theme URI: https://bluehouse.nie.vn
Author: NIE.VN & Blue House English
Author URI: https://nie.vn
Description: Giao diện Trung Tâm Tiếng Anh Blue House - Ms. Ngọc Anh (Buôn Ma Thuột, Đắk Lắk). Thiết kế hiện đại, ấm áp, chuẩn hóa chương trình Tiếng Anh Trẻ Em (từ 4-5 tuổi), Tiểu học Cambridge, Trải nghiệm thực tế "Đi chợ tiếng Anh" và Luyện thi B1 VSTEP cho sinh viên Tây Nguyên.
Version: 1.0.0
Text Domain: nie-bluehouse-theme
*/

:root {
  --bh-blue-deep: #0B192C;
  --bh-blue-dark: #1E3A8A;
  --bh-blue: #2563EB;
  --bh-blue-light: #3B82F6;
  --bh-blue-soft: #EFF6FF;
  --bh-sky: #0284C7;
  --bh-sky-soft: #E0F2FE;
  --bh-amber: #F59E0B;
  --bh-amber-light: #FEF3C7;
  --bh-coral: #E11D48;
  --bh-coral-soft: #FFE4E6;
  --bh-emerald: #10B981;
  --bh-emerald-soft: #D1FAE5;
  --bh-slate-50: #F8FAFC;
  --bh-slate-100: #F1F5F9;
  --bh-slate-200: #E2E8F0;
  --bh-slate-300: #CBD5E1;
  --bh-slate-400: #94A3B8;
  --bh-slate-600: #475569;
  --bh-slate-700: #334155;
  --bh-slate-800: #1E293B;
  --bh-slate-900: #0F172A;
  --bh-white: #FFFFFF;
  --bh-shadow-xs: 0 1px 2px rgba(15, 23, 42, 0.05);
  --bh-shadow-sm: 0 2px 6px rgba(15, 23, 42, 0.06);
  --bh-shadow-md: 0 6px 18px rgba(15, 23, 42, 0.08);
  --bh-shadow-lg: 0 12px 32px rgba(15, 23, 42, 0.12);
  --bh-shadow-xl: 0 20px 45px rgba(15, 23, 42, 0.16);
  --bh-radius-sm: 8px;
  --bh-radius-md: 14px;
  --bh-radius-lg: 20px;
  --bh-radius-full: 9999px;
  --bh-font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  font-family: var(--bh-font);
  color: var(--bh-slate-900);
  background-color: var(--bh-slate-50);
  line-height: 1.6;
  scroll-behavior: smooth;
  -webkit-font-smoothing: antialiased;
}

body {
  overflow-x: hidden;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

a {
  color: var(--bh-blue);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--bh-coral);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.bh-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  width: 100%;
}

/* Button System */
.bh-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 700;
  font-size: 15px;
  padding: 12px 24px;
  border-radius: var(--bh-radius-md);
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.25s ease;
  white-space: nowrap;
  text-align: center;
}

.bh-btn-lg {
  padding: 14px 28px;
  font-size: 16px;
}

.bh-btn-blue {
  background: linear-gradient(135deg, var(--bh-blue) 0%, var(--bh-blue-dark) 100%);
  color: var(--bh-white) !important;
  box-shadow: 0 4px 14px rgba(37, 99, 235, 0.35);
}

.bh-btn-blue:hover {
  background: linear-gradient(135deg, var(--bh-blue-light) 0%, var(--bh-blue) 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(37, 99, 235, 0.45);
}

.bh-btn-coral {
  background: linear-gradient(135deg, #F43F5E 0%, var(--bh-coral) 100%);
  color: var(--bh-white) !important;
  box-shadow: 0 4px 14px rgba(225, 29, 72, 0.35);
}

.bh-btn-coral:hover {
  background: linear-gradient(135deg, #FB7185 0%, #BE123C 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(225, 29, 72, 0.45);
}

.bh-btn-amber {
  background: var(--bh-amber);
  color: var(--bh-blue-deep) !important;
}

.bh-btn-amber:hover {
  background: #D97706;
  transform: translateY(-2px);
}

.bh-btn-outline {
  background: #FFFFFF;
  border-color: var(--bh-slate-200);
  color: var(--bh-slate-700);
}

.bh-btn-outline:hover {
  border-color: var(--bh-blue);
  color: var(--bh-blue);
  background: var(--bh-blue-soft);
}

.bh-w-100 {
  width: 100%;
}

/* Badges */
.bh-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 14px;
  border-radius: var(--bh-radius-full);
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.bh-badge-blue {
  background: var(--bh-blue-soft);
  color: var(--bh-blue);
  border: 1px solid #BFDBFE;
}

.bh-badge-amber {
  background: var(--bh-amber-light);
  color: #B45309;
  border: 1px solid #FDE68A;
}

.bh-badge-coral {
  background: var(--bh-coral-soft);
  color: #BE123C;
  border: 1px solid #FECDD3;
}

.bh-badge-emerald {
  background: var(--bh-emerald-soft);
  color: #047857;
  border: 1px solid #A7F3D0;
}

/* Form inputs */
.bh-input, .bh-select {
  width: 100%;
  padding: 12px 16px;
  border-radius: var(--bh-radius-sm);
  border: 1px solid var(--bh-slate-300);
  font-family: var(--bh-font);
  font-size: 15px;
  color: var(--bh-slate-900);
  background: #FFFFFF;
  transition: all 0.2s ease;
  outline: none;
}

.bh-input:focus, .bh-select:focus {
  border-color: var(--bh-blue);
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
}

.bh-label {
  display: block;
  font-size: 13px;
  font-weight: 700;
  color: var(--bh-slate-700);
  margin-bottom: 6px;
}

.bh-form-group {
  margin-bottom: 16px;
}

.bh-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

/* TOPBAR */
.bh-topbar {
  background: var(--bh-blue-deep);
  color: #E2E8F0;
  font-size: 12px;
  padding: 7px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.bh-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}

.bh-topbar-left, .bh-topbar-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bh-topbar-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.bh-topbar-divider {
  color: rgba(255, 255, 255, 0.2);
}

.bh-topbar-tagline {
  color: #FDE047;
  font-weight: 600;
}

.bh-topbar-contact {
  color: #FFFFFF;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.bh-topbar-contact:hover {
  color: #FDE047;
}

/* STICKY HEADER */
.bh-header {
  position: sticky;
  top: 0;
  z-index: 990;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--bh-slate-200);
  transition: all 0.25s ease;
}

.bh-header-scrolled {
  box-shadow: 0 4px 20px rgba(15, 23, 42, 0.08);
}

.bh-header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 20px;
}

.bh-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bh-logo-icon {
  display: flex;
  align-items: center;
  justify-content: center;
}

.bh-logo-title {
  font-size: 20px;
  font-weight: 800;
  color: var(--bh-blue-deep);
  letter-spacing: -0.5px;
  line-height: 1.1;
}

.bh-logo-sub {
  font-size: 11px;
  font-weight: 700;
  color: var(--bh-blue);
  letter-spacing: 1px;
}

/* Desktop Nav */
.bh-nav {
  display: flex;
  align-items: center;
  gap: 22px;
}

.bh-nav-link {
  font-size: 14px;
  font-weight: 600;
  color: var(--bh-slate-700);
  padding: 6px 0;
  position: relative;
}

.bh-nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--bh-blue);
  transition: width 0.2s ease;
}

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

.bh-nav-link:hover::after {
  width: 100%;
}

.bh-header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.bh-menu-toggle {
  display: none;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 6px;
  flex-direction: column;
  gap: 5px;
}

.bh-hamburger-bar {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--bh-blue-deep);
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* DRAWER */
.bh-drawer-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(15, 23, 42, 0.5);
  backdrop-filter: blur(4px);
  z-index: 1000;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s ease;
}

.bh-backdrop-active {
  opacity: 1;
  visibility: visible;
}

.bh-drawer {
  position: fixed;
  top: 0;
  right: -320px;
  width: 300px;
  height: 100vh;
  background: #FFFFFF;
  z-index: 1001;
  box-shadow: -4px 0 25px rgba(0, 0, 0, 0.15);
  transition: right 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  flex-direction: column;
}

.bh-drawer-active {
  right: 0;
}

.bh-drawer-header {
  padding: 16px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 1px solid var(--bh-slate-200);
}

.bh-drawer-close {
  background: transparent;
  border: none;
  font-size: 28px;
  color: var(--bh-slate-600);
  cursor: pointer;
  line-height: 1;
}

.bh-drawer-body {
  padding: 20px;
  flex: 1;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bh-drawer-nav {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bh-drawer-link {
  display: block;
  padding: 12px 14px;
  border-radius: var(--bh-radius-sm);
  font-size: 15px;
  font-weight: 600;
  color: var(--bh-slate-800);
  background: var(--bh-slate-50);
}

.bh-drawer-link:hover {
  background: var(--bh-blue-soft);
  color: var(--bh-blue);
}

.bh-drawer-footer {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid var(--bh-slate-200);
}

/* HERO SECTION */
.bh-hero {
  padding: 50px 0 0;
  background: radial-gradient(circle at 85% 15%, #DBEAFE 0%, rgba(248, 250, 252, 0) 50%),
              radial-gradient(circle at 10% 80%, #FEF3C7 0%, rgba(248, 250, 252, 0) 40%),
              var(--bh-slate-50);
  position: relative;
  overflow: hidden;
}

.bh-hero-inner {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 40px;
  align-items: center;
  padding-bottom: 40px;
}

.bh-hero-title {
  font-size: 42px;
  font-weight: 800;
  line-height: 1.2;
  color: var(--bh-blue-deep);
  margin: 16px 0;
  letter-spacing: -0.5px;
}

.bh-highlight {
  background: linear-gradient(135deg, var(--bh-blue) 0%, var(--bh-sky) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.bh-hero-subtitle {
  font-size: 17px;
  color: var(--bh-slate-600);
  line-height: 1.65;
  margin-bottom: 28px;
}

.bh-hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 26px;
}

.bh-hero-highlights {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

.bh-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--bh-slate-700);
  background: #FFFFFF;
  padding: 6px 14px;
  border-radius: var(--bh-radius-full);
  box-shadow: var(--bh-shadow-xs);
  border: 1px solid var(--bh-slate-200);
}

/* Hero Visual Card */
.bh-hero-visual {
  display: flex;
  justify-content: center;
}

.bh-hero-card {
  background: #FFFFFF;
  border-radius: var(--bh-radius-lg);
  padding: 24px;
  box-shadow: var(--bh-shadow-xl);
  border: 1px solid rgba(147, 197, 253, 0.4);
  max-width: 380px;
  width: 100%;
  text-align: center;
  position: relative;
}

.bh-hero-avatar-wrapper {
  position: relative;
  display: inline-block;
  margin-bottom: 16px;
}

.bh-hero-avatar {
  width: 200px;
  height: 200px;
  border-radius: 50%;
  margin: 0 auto;
}

.bh-avatar-tag {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: linear-gradient(135deg, var(--bh-blue) 0%, var(--bh-blue-dark) 100%);
  color: #FFFFFF;
  font-size: 13px;
  font-weight: 700;
  padding: 5px 14px;
  border-radius: var(--bh-radius-full);
  box-shadow: 0 4px 10px rgba(37, 99, 235, 0.4);
  white-space: nowrap;
}

.bh-hero-card-slogan {
  font-size: 18px;
  font-weight: 800;
  color: var(--bh-coral);
  margin-bottom: 4px;
}

.bh-hero-card-desc {
  font-size: 13px;
  color: var(--bh-slate-600);
  margin-bottom: 12px;
}

.bh-hero-card-chips {
  display: flex;
  justify-content: center;
  gap: 6px;
  flex-wrap: wrap;
}

.bh-chip {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: var(--bh-radius-full);
  background: var(--bh-blue-soft);
  color: var(--bh-blue);
  border: 1px solid #BFDBFE;
}

/* STATS STRIP */
.bh-stats-strip {
  background: #FFFFFF;
  border-top: 1px solid var(--bh-slate-200);
  border-bottom: 1px solid var(--bh-slate-200);
  padding: 24px 0;
}

.bh-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

.bh-stat-box {
  text-align: center;
  padding: 0 10px;
  border-right: 1px solid var(--bh-slate-200);
}

.bh-stat-box:last-child {
  border-right: none;
}

.bh-stat-number {
  font-size: 32px;
  font-weight: 800;
  color: var(--bh-blue);
  line-height: 1.1;
  margin-bottom: 4px;
}

.bh-stat-label {
  font-size: 13px;
  color: var(--bh-slate-600);
  line-height: 1.4;
}

/* SECTION STYLES */
.bh-section {
  padding: 70px 0;
}

.bh-section-header {
  text-align: center;
  max-width: 760px;
  margin: 0 auto 45px;
}

.bh-section-title {
  font-size: 34px;
  font-weight: 800;
  color: var(--bh-blue-deep);
  margin: 12px 0;
  letter-spacing: -0.5px;
}

.bh-section-subtitle, .bh-section-desc {
  font-size: 16px;
  color: var(--bh-slate-600);
  line-height: 1.6;
}

/* GRIDS */
.bh-grid-4 {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.bh-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

/* COURSES CARDS */
.bh-course-card {
  padding: 28px 24px;
  display: flex;
  flex-direction: column;
  position: relative;
}

.bh-course-card-featured {
  border: 2px solid var(--bh-coral);
  box-shadow: 0 8px 28px rgba(225, 29, 72, 0.15);
}

.bh-featured-banner {
  position: absolute;
  top: 0;
  right: 0;
  background: var(--bh-coral);
  color: #FFFFFF;
  font-size: 10px;
  font-weight: 800;
  padding: 4px 12px;
  border-bottom-left-radius: 10px;
  letter-spacing: 0.5px;
}

.bh-course-badge {
  align-self: flex-start;
  margin-bottom: 14px;
}

.bh-course-icon {
  font-size: 36px;
  margin-bottom: 12px;
}

.bh-course-title {
  font-size: 19px;
  font-weight: 800;
  color: var(--bh-blue-deep);
  margin-bottom: 10px;
  line-height: 1.3;
}

.bh-course-desc {
  font-size: 14px;
  color: var(--bh-slate-600);
  margin-bottom: 18px;
  flex: 1;
}

.bh-course-features {
  list-style: none;
  margin-bottom: 20px;
  font-size: 13px;
  color: var(--bh-slate-700);
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.bh-course-features li {
  position: relative;
  padding-left: 20px;
}

.bh-course-features li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--bh-emerald);
  font-weight: 800;
}

.bh-course-footer {
  margin-top: auto;
}

/* ACTIVITY SECTION (ĐI CHỢ TIẾNG ANH) */
.bh-activity-section {
  background: #FFFFFF;
}

.bh-activity-grid {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  gap: 40px;
  align-items: center;
}

.bh-market-card {
  background: linear-gradient(135deg, #FEF2F2 0%, #FFF1F2 100%);
  border-radius: var(--bh-radius-lg);
  border: 2px dashed #FECDD3;
  padding: 32px 28px;
  box-shadow: var(--bh-shadow-md);
}

.bh-market-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.bh-market-date {
  font-size: 13px;
  font-weight: 600;
  color: var(--bh-coral);
}

.bh-market-illustration {
  font-size: 40px;
  margin-bottom: 12px;
  letter-spacing: 4px;
}

.bh-market-title {
  font-size: 22px;
  font-weight: 800;
  color: #9F1239;
  margin-bottom: 12px;
  line-height: 1.3;
}

.bh-market-text {
  font-size: 15px;
  color: var(--bh-slate-700);
  margin-bottom: 18px;
  line-height: 1.6;
}

.bh-market-quote {
  background: #FFFFFF;
  border-left: 4px solid var(--bh-coral);
  padding: 14px 18px;
  border-radius: var(--bh-radius-sm);
  font-size: 13px;
  font-style: italic;
  color: var(--bh-slate-700);
  box-shadow: var(--bh-shadow-xs);
}

.bh-quote-author {
  margin-top: 6px;
  font-style: normal;
  font-weight: 700;
  color: var(--bh-coral);
  font-size: 12px;
}

.bh-feature-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  margin-top: 24px;
}

.bh-feature-item {
  display: flex;
  gap: 16px;
}

.bh-feature-icon {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--bh-blue-soft);
  color: var(--bh-blue);
  font-weight: 800;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.bh-feature-text h4 {
  font-size: 16px;
  font-weight: 700;
  color: var(--bh-blue-deep);
  margin-bottom: 4px;
}

.bh-feature-text p {
  font-size: 14px;
  color: var(--bh-slate-600);
  line-height: 1.5;
}

.bh-mt-4 {
  margin-top: 24px;
}

/* VSTEP SECTION */
.bh-vstep-box {
  background: linear-gradient(135deg, #0F2A4A 0%, #1E3A8A 100%);
  border-radius: var(--bh-radius-lg);
  padding: 45px 40px;
  color: #FFFFFF;
  box-shadow: var(--bh-shadow-xl);
  position: relative;
  overflow: hidden;
}

.bh-vstep-title {
  font-size: 32px;
  font-weight: 800;
  color: #FFFFFF;
  margin: 14px 0 10px;
}

.bh-vstep-subtitle {
  font-size: 16px;
  color: #BFDBFE;
  max-width: 800px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.bh-vstep-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.bh-vstep-card {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--bh-radius-md);
  padding: 20px;
}

.bh-vstep-card-num {
  font-size: 26px;
  font-weight: 800;
  color: #FBBF24;
  margin-bottom: 6px;
}

.bh-vstep-card h4 {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 8px;
}

.bh-vstep-card p {
  font-size: 13px;
  color: #E2E8F0;
  line-height: 1.5;
}

.bh-vstep-action {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
}

/* QUIZ / PLACEMENT TEST SECTION */
.bh-quiz-wrapper {
  max-width: 760px;
  margin: 0 auto;
  background: #FFFFFF;
  border-radius: var(--bh-radius-lg);
  box-shadow: var(--bh-shadow-lg);
  border: 1px solid var(--bh-slate-200);
  overflow: hidden;
}

.bh-quiz-intro-box, .bh-result-box {
  padding: 36px 30px;
}

.bh-quiz-progress-bar {
  height: 6px;
  background: var(--bh-slate-100);
  width: 100%;
}

.bh-progress-inner {
  height: 100%;
  background: linear-gradient(90deg, var(--bh-blue) 0%, var(--bh-coral) 100%);
  transition: width 0.3s ease;
}

.bh-quiz-header-status {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  border-bottom: 1px solid var(--bh-slate-200);
}

.bh-question-card {
  padding: 24px;
}

.bh-question-text {
  font-size: 18px;
  font-weight: 700;
  color: var(--bh-blue-deep);
  margin-bottom: 20px;
  line-height: 1.4;
}

.bh-options-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bh-option-btn {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 18px;
  border-radius: var(--bh-radius-md);
  border: 1.5px solid var(--bh-slate-200);
  background: #FFFFFF;
  cursor: pointer;
  text-align: left;
  transition: all 0.2s ease;
  font-family: var(--bh-font);
}

.bh-option-btn:hover {
  border-color: var(--bh-blue);
  background: var(--bh-blue-soft);
}

.bh-option-selected {
  border-color: var(--bh-blue) !important;
  background: #DBEAFE !important;
  box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.2);
}

.bh-opt-badge {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--bh-slate-100);
  color: var(--bh-slate-800);
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 14px;
}

.bh-option-selected .bh-opt-badge {
  background: var(--bh-blue);
  color: #FFFFFF;
}

.bh-opt-text {
  font-size: 15px;
  color: var(--bh-slate-800);
  font-weight: 500;
}

.bh-quiz-controls {
  padding: 16px 24px 24px;
  display: flex;
  justify-content: space-between;
  gap: 12px;
}

/* Result Box */
.bh-result-box {
  text-align: center;
}

.bh-result-badge {
  display: inline-block;
  padding: 6px 16px;
  background: var(--bh-amber-light);
  color: #B45309;
  border-radius: var(--bh-radius-full);
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}

.bh-result-score {
  font-size: 32px;
  font-weight: 800;
  color: var(--bh-blue);
  margin-bottom: 6px;
}

.bh-result-level {
  font-size: 20px;
  font-weight: 700;
  color: var(--bh-blue-deep);
  margin-bottom: 12px;
}

.bh-result-advice {
  font-size: 15px;
  color: var(--bh-slate-700);
  margin-bottom: 16px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
  line-height: 1.5;
}

.bh-result-course {
  background: var(--bh-blue-soft);
  padding: 14px 20px;
  border-radius: var(--bh-radius-md);
  border: 1px solid #BFDBFE;
  font-size: 15px;
  color: var(--bh-blue-dark);
  margin-bottom: 20px;
}

.bh-result-contact-note {
  font-size: 14px;
  color: #047857;
  background: var(--bh-emerald-soft);
  padding: 12px 16px;
  border-radius: var(--bh-radius-sm);
  max-width: 580px;
  margin: 0 auto;
}

/* AI AGENT STUDIO SECTION (AGENTS.MD RULE 5) */
.bh-ai-banner {
  background: linear-gradient(135deg, #1E1B4B 0%, #312E81 50%, #1E3A8A 100%);
  border-radius: var(--bh-radius-lg);
  padding: 45px 40px;
  color: #FFFFFF;
  box-shadow: var(--bh-shadow-xl);
}

.bh-ai-title {
  font-size: 32px;
  font-weight: 800;
  margin: 14px 0 10px;
  color: #FFFFFF;
}

.bh-ai-desc {
  font-size: 16px;
  color: #C7D2FE;
  max-width: 800px;
  margin-bottom: 30px;
  line-height: 1.6;
}

.bh-ai-pillars {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 30px;
}

.bh-ai-pillar {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--bh-radius-md);
  padding: 20px;
}

.bh-pillar-icon {
  font-size: 28px;
  margin-bottom: 8px;
}

.bh-ai-pillar h4 {
  font-size: 16px;
  font-weight: 700;
  color: #FDE047;
  margin-bottom: 6px;
}

.bh-ai-pillar p {
  font-size: 13px;
  color: #E2E8F0;
  line-height: 1.5;
}

.bh-ai-interactive-card {
  background: rgba(255, 255, 255, 0.95);
  color: var(--bh-slate-900);
  border-radius: var(--bh-radius-md);
  padding: 20px;
  box-shadow: var(--bh-shadow-lg);
}

.bh-ai-card-header {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 15px;
  color: var(--bh-blue-dark);
}

.bh-ai-status-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--bh-emerald);
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
  70% { transform: scale(1); box-shadow: 0 0 0 6px rgba(16, 185, 129, 0); }
  100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}

/* TEACHER BIO SECTION */
.bh-teacher-grid {
  display: grid;
  grid-template-columns: 0.85fr 1.15fr;
  gap: 45px;
  align-items: center;
}

.bh-teacher-avatar-frame {
  position: relative;
  text-align: center;
}

.bh-teacher-img {
  width: 280px;
  height: 280px;
  border-radius: 50%;
  margin: 0 auto;
  box-shadow: var(--bh-shadow-xl);
  border: 4px solid #FFFFFF;
}

.bh-teacher-quote-pill {
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  background: #FFFFFF;
  border: 1px solid var(--bh-slate-200);
  padding: 8px 18px;
  border-radius: var(--bh-radius-full);
  font-size: 13px;
  font-weight: 700;
  color: var(--bh-coral);
  box-shadow: var(--bh-shadow-md);
  white-space: nowrap;
}

.bh-teacher-subtitle {
  font-size: 16px;
  font-weight: 700;
  color: var(--bh-blue);
  margin-bottom: 16px;
}

.bh-bio-p {
  font-size: 15px;
  color: var(--bh-slate-600);
  line-height: 1.6;
  margin-bottom: 18px;
}

.bh-bio-highlights {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.bh-bio-item {
  display: flex;
  gap: 10px;
  font-size: 14px;
  color: var(--bh-slate-700);
}

.bh-bio-check {
  color: var(--bh-emerald);
  font-weight: 800;
  font-size: 16px;
}

/* REVIEWS GRID */
.bh-review-card {
  padding: 26px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.bh-review-stars {
  color: #F59E0B;
  font-size: 18px;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.bh-review-text {
  font-size: 14px;
  color: var(--bh-slate-700);
  line-height: 1.6;
  margin-bottom: 18px;
  font-style: italic;
  flex: 1;
}

.bh-reviewer {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 14px;
  border-top: 1px solid var(--bh-slate-100);
}

.bh-reviewer-avatar {
  font-size: 26px;
}

.bh-reviewer-name {
  font-size: 14px;
  font-weight: 700;
  color: var(--bh-blue-deep);
}

.bh-reviewer-role {
  font-size: 12px;
  color: var(--bh-slate-400);
}

/* CONTACT & LOCATION SECTION */
.bh-contact-box {
  background: linear-gradient(135deg, var(--bh-blue-deep) 0%, #172554 100%);
  border-radius: var(--bh-radius-lg);
  padding: 45px 40px;
  box-shadow: var(--bh-shadow-xl);
}

.bh-contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}

.bh-contact-form-wrap {
  background: #FFFFFF;
  border-radius: var(--bh-radius-md);
  padding: 30px;
  box-shadow: var(--bh-shadow-md);
}

.bh-contact-title {
  font-size: 24px;
  font-weight: 800;
  color: var(--bh-blue-deep);
  margin: 10px 0 6px;
}

.bh-contact-subtitle {
  font-size: 14px;
  color: var(--bh-slate-600);
  margin-bottom: 20px;
}

.bh-contact-info-wrap {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.bh-info-card {
  display: flex;
  gap: 14px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--bh-radius-md);
  padding: 16px;
  color: #FFFFFF;
}

.bh-info-icon {
  font-size: 24px;
}

.bh-info-card strong {
  display: block;
  font-size: 14px;
  color: #FDE047;
  margin-bottom: 2px;
}

.bh-info-card p {
  font-size: 13px;
  color: #E2E8F0;
  line-height: 1.4;
  margin: 0;
}

.bh-map-box {
  background: #FFFFFF;
  border-radius: var(--bh-radius-md);
  overflow: hidden;
  margin-top: 6px;
}

.bh-map-header {
  background: var(--bh-slate-100);
  padding: 8px 14px;
  font-size: 12px;
  font-weight: 700;
  color: var(--bh-slate-700);
  border-bottom: 1px solid var(--bh-slate-200);
}

.bh-map-body {
  padding: 24px 20px;
  text-align: center;
}

/* FOOTER */
.bh-footer {
  background: var(--bh-blue-deep);
  color: #94A3B8;
  padding: 60px 0 85px; /* safe bottom padding for floating bar on mobile */
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  font-size: 14px;
}

.bh-footer-grid {
  display: grid;
  grid-template-columns: 1.3fr 1fr 1fr 1.2fr;
  gap: 35px;
  margin-bottom: 45px;
}

.bh-footer-desc {
  font-size: 13px;
  line-height: 1.6;
  color: #94A3B8;
  margin-bottom: 16px;
}

.bh-footer-legal {
  font-size: 12px;
  color: #CBD5E1;
  line-height: 1.6;
}

.bh-footer-legal code {
  color: #FDE047;
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
}

.bh-footer-title {
  font-size: 16px;
  font-weight: 700;
  color: #FFFFFF;
  margin-bottom: 18px;
}

.bh-footer-links, .bh-footer-contact {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.bh-footer-links a {
  color: #CBD5E1;
  font-size: 13px;
}

.bh-footer-links a:hover {
  color: #FFFFFF;
  padding-left: 4px;
}

.bh-footer-contact li {
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: #CBD5E1;
  line-height: 1.4;
}

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

.bh-footer-copy {
  color: #94A3B8;
}

.bh-footer-copy strong {
  color: #E2E8F0;
}

.bh-footer-credit a {
  color: #60A5FA;
  font-weight: 700;
}

/* MOBILE FLOATING BAR */
.bh-mobile-floating-bar {
  display: none;
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100vw;
  background: rgba(255, 255, 255, 0.98);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-top: 1px solid var(--bh-slate-200);
  box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.08);
  z-index: 998;
  padding: 8px 12px calc(8px + env(safe-area-inset-bottom, 0px));
  justify-content: space-around;
  align-items: center;
}

.bh-mobile-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  font-size: 11px;
  font-weight: 700;
  color: var(--bh-slate-700);
  padding: 4px 8px;
  border-radius: var(--bh-radius-sm);
  transition: all 0.2s ease;
}

.bh-mobile-btn-phone {
  color: var(--bh-emerald);
}

.bh-mobile-btn-zalo {
  color: var(--bh-blue);
}

.bh-mobile-btn-test {
  color: var(--bh-amber);
}

.bh-mobile-btn-primary {
  color: var(--bh-coral);
}

/* SINGLE COURSE PAGE */
.bh-py-5 {
  padding: 40px 0;
}

.bh-breadcrumb {
  font-size: 13px;
  color: var(--bh-slate-600);
  margin-bottom: 24px;
}

.bh-single-grid {
  display: grid;
  grid-template-columns: 1.35fr 0.65fr;
  gap: 35px;
}

.bh-single-title {
  font-size: 32px;
  font-weight: 800;
  color: var(--bh-blue-deep);
  margin: 12px 0 14px;
}

.bh-single-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  font-size: 13px;
  color: var(--bh-slate-600);
  padding-bottom: 18px;
  margin-bottom: 24px;
  border-bottom: 1px solid var(--bh-slate-200);
}

.bh-single-content {
  font-size: 16px;
  line-height: 1.7;
  color: var(--bh-slate-800);
}

.bh-single-content p {
  margin-bottom: 16px;
}

.bh-single-content h3 {
  font-size: 20px;
  color: var(--bh-blue-dark);
  margin: 24px 0 12px;
}

.bh-single-content ul {
  padding-left: 20px;
  margin-bottom: 20px;
}

.bh-sidebar-card {
  padding: 24px;
  position: sticky;
  top: 90px;
}

/* RESPONSIVE BREAKPOINTS */
@media (max-width: 992px) {
  .bh-nav {
    display: none;
  }
  .bh-menu-toggle {
    display: flex;
  }
  .bh-hero-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .bh-hero-cta, .bh-hero-highlights {
    justify-content: center;
  }
  .bh-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px 16px;
  }
  .bh-stat-box:nth-child(2) {
    border-right: none;
  }
  .bh-grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .bh-grid-3 {
    grid-template-columns: 1fr;
  }
  .bh-activity-grid {
    grid-template-columns: 1fr;
  }
  .bh-vstep-grid {
    grid-template-columns: 1fr;
  }
  .bh-ai-pillars {
    grid-template-columns: 1fr;
  }
  .bh-teacher-grid {
    grid-template-columns: 1fr;
    text-align: center;
  }
  .bh-bio-item {
    justify-content: center;
    text-align: left;
  }
  .bh-contact-grid {
    grid-template-columns: 1fr;
  }
  .bh-footer-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .bh-single-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .bh-hide-sm {
    display: none !important;
  }
  .bh-mobile-floating-bar {
    display: flex;
  }
  .bh-hero-title {
    font-size: 30px;
  }
  .bh-section-title {
    font-size: 26px;
  }
  .bh-form-grid {
    grid-template-columns: 1fr;
  }
  .bh-grid-4 {
    grid-template-columns: 1fr;
  }
  .bh-vstep-box, .bh-ai-banner, .bh-contact-box {
    padding: 30px 20px;
  }
  .bh-quiz-intro-box, .bh-result-box {
    padding: 24px 16px;
  }
  .bh-footer-grid {
    grid-template-columns: 1fr;
  }
  .bh-footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .bh-hide-md {
    display: none !important;
  }
  .bh-stats-grid {
    grid-template-columns: 1fr;
  }
  .bh-stat-box {
    border-right: none;
    border-bottom: 1px solid var(--bh-slate-200);
    padding-bottom: 16px;
  }
  .bh-stat-box:last-child {
    border-bottom: none;
  }
  .bh-hero-avatar {
    width: 170px;
    height: 170px;
  }
  .bh-hero-card {
    padding: 16px;
  }
}
