/* ==========================================================================
   TIẾNG ANH NGHE NÓI - BỘ GIAO DIỆN CHUẨN (CSS DÙNG CHUNG CHO TẤT CẢ CÁC TRANG)
   Màu sắc chủ đạo: Cam (#ff7e00 / #fd7e23), Xanh đậm (#2d4162), Xanh cổ vịt (#00617c)
   Font chữ: 'Be Vietnam Pro', sans-serif
   ========================================================================== */

:root {
  --color-primary: #ff7e00;
  --color-primary-hover: #e56d00;
  --color-link: #fd7e23;
  --color-navy: #2d4162;
  --color-navy-dark: #1e2f69;
  --color-teal: #00617c;
  --color-teal-dark: #00495e;
  --color-gold-bg: rgba(244, 208, 112, 0.35);
  --color-gold: #f4d070;
  --color-text: #374151;
  --color-text-light: #6b7280;
  --color-bg-light: #f2f5f8;
  --color-bg-warm: #fff7ed;
  --color-white: #ffffff;
  --color-border: #e5e7eb;
  --color-success: #10b981;
  --color-danger: #ef4444;
  --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.05);
  --shadow-md: 0 10px 30px rgba(45, 65, 98, 0.08);
  --shadow-lg: 0 15px 45px rgba(45, 65, 98, 0.14);
  --shadow-orange: 0 10px 25px rgba(255, 126, 0, 0.28);
  --radius-sm: 8px;
  --radius-md: 15px;
  --radius-lg: 20px;
  --radius-pill: 9999px;
  --transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: 'Be Vietnam Pro', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Arial, sans-serif;
  font-weight: 400;
  line-height: 1.75;
  color: var(--color-text);
  background-color: var(--color-white);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

a {
  color: inherit;
  text-decoration: none;
  transition: var(--transition);
}

ul, ol {
  list-style: none;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Be Vietnam Pro', sans-serif;
  font-weight: 700;
  line-height: 1.35;
  color: var(--color-navy);
}

h1 { font-size: clamp(1.75rem, 3vw, 2.25rem); }
h2 { font-size: clamp(1.45rem, 2.4vw, 1.85rem); }
h3 { font-size: clamp(1.2rem, 1.8vw, 1.45rem); }
h4 { font-size: 1.15rem; }

p {
  margin-bottom: 1rem;
}
p:last-child {
  margin-bottom: 0;
}

/* ==========================================================================
   LAYOUT CONTAINERS & GRID
   ========================================================================== */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}

.container-fluid {
  width: 100%;
  padding: 0 20px;
}

.section {
  padding: 65px 0;
  position: relative;
}

.section-sm {
  padding: 40px 0;
  position: relative;
}

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

.section-bg-teal {
  background-color: var(--color-teal);
  color: var(--color-white);
}

.section-bg-warm {
  background: linear-gradient(135deg, #fff7ed 0%, #ffffff 100%);
}

.grid-2 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 36px;
  align-items: center;
}

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

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

.text-center { text-align: center; }
.text-white { color: var(--color-white) !important; }
.text-orange { color: var(--color-primary) !important; }
.text-teal { color: var(--color-teal) !important; }
.text-navy { color: var(--color-navy) !important; }

/* ==========================================================================
   BADGES, EYEBROWS & BRUSH HIGHLIGHTS (ĐẶC TRƯNG TIẾNG ANH NGHE NÓI)
   ========================================================================== */
.badge-pill {
  display: inline-block;
  padding: 5px 16px;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-teal);
  background: var(--color-gold-bg);
  border-radius: var(--radius-pill);
  margin-bottom: 12px;
}

.badge-pill-dark {
  color: var(--color-white);
  background: rgba(0, 0, 0, 0.2);
}

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

.section-header h2 {
  margin-bottom: 12px;
}

.section-header p {
  font-size: 1.05rem;
  color: var(--color-text);
}

.brush-highlight {
  position: relative;
  display: inline-block;
  z-index: 1;
}

.brush-highlight::after {
  content: "";
  position: absolute;
  left: -2%;
  bottom: 2px;
  width: 104%;
  height: 11px;
  background: rgba(255, 126, 0, 0.25);
  border-radius: 6px;
  z-index: -1;
  transform: skewX(-8deg);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 24px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.94rem;
  font-weight: 700;
  line-height: 1.4;
  border-radius: var(--radius-sm);
  border: 2px solid transparent;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
}

.btn:active {
  transform: translateY(1px) scale(0.99);
}

.btn-primary {
  background-color: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(255, 126, 0, 0.25);
}

.btn-primary:hover {
  background-color: var(--color-primary-hover);
  color: var(--color-white);
  transform: translateY(-2px);
  box-shadow: var(--shadow-orange);
}

.btn-pill {
  border-radius: var(--radius-pill);
}

.btn-outline-navy {
  background: transparent;
  color: var(--color-navy);
  border-color: rgba(45, 65, 98, 0.25);
}

.btn-outline-navy:hover {
  background: var(--color-navy);
  color: var(--color-white);
  border-color: var(--color-navy);
}

.btn-dark-translucent {
  background: rgba(0, 0, 0, 0.28);
  color: var(--color-white);
  border-radius: var(--radius-pill);
  padding: 12px 28px;
}

.btn-dark-translucent:hover {
  background: var(--color-white);
  color: #000000;
}

.btn-underlined {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-weight: 700;
  font-size: 1rem;
  color: #002352;
  padding: 6px 0;
  border-bottom: 2px solid rgba(0, 35, 82, 0.25);
}

.btn-underlined:hover {
  color: var(--color-primary);
  border-bottom-color: var(--color-primary);
}

/* ==========================================================================
   HEADER & NAVIGATION (DESKTOP + MOBILE)
   ========================================================================== */
.site-header {
  position: sticky;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid rgba(0, 0, 0, 0.06);
  transition: var(--transition);
}

.site-header.is-stuck {
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
  gap: 16px;
}

.navbar-brand {
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.navbar-brand img {
  max-height: 54px;
  width: auto;
}

.main-nav {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-item {
  position: relative;
}

.nav-link {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 14px 12px;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  color: #111827;
  text-transform: uppercase;
}

.nav-link:hover,
.nav-item.active > .nav-link {
  color: var(--color-link);
}

.nav-link i {
  font-size: 0.72rem;
  transition: transform 0.25s ease;
}

.nav-item:hover > .nav-link i {
  transform: rotate(180deg);
}

/* Dropdown Submenu */
.submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 290px;
  background: var(--color-white);
  border-radius: var(--radius-sm);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(0, 0, 0, 0.06);
  padding: 8px 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: all 0.22s ease;
  z-index: 1100;
}

.nav-item:hover > .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.submenu li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.92rem;
  font-weight: 600;
  color: #1f2937;
  border-bottom: 1px solid rgba(0, 0, 0, 0.04);
}

.submenu li:last-child a {
  border-bottom: none;
}

.submenu li a:hover,
.submenu li a.active {
  color: var(--color-link);
  background: var(--color-bg-warm);
  padding-left: 22px;
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
}

.btn-test-free {
  background: linear-gradient(135deg, #0284c7 0%, #1e40af 100%);
  color: var(--color-white);
  font-size: 0.88rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 10px 18px;
  border-radius: 6px;
  border: none;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.35);
  transition: all 0.2s ease;
}

.btn-test-free:hover {
  background: linear-gradient(135deg, #0369a1 0%, #1e3a8a 100%);
  color: var(--color-white);
  transform: translateY(-1px);
  box-shadow: 0 6px 16px rgba(2, 132, 199, 0.45);
}

/* Mobile Toggle Button */
.mobile-toggle {
  display: none;
  background: none;
  border: none;
  width: 42px;
  height: 42px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-navy);
  font-size: 1.4rem;
}

/* Mobile Nav Drawer */
.mobile-nav-drawer {
  display: none;
  background: var(--color-white);
  border-top: 1px solid var(--color-border);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
  max-height: calc(100dvh - 76px);
  overflow-y: auto;
}

.mobile-nav-drawer.open {
  display: block;
}

.mobile-nav-list {
  padding: 12px 20px 24px;
}

.mobile-nav-item {
  border-bottom: 1px solid #f3f4f6;
}

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

.mobile-nav-link {
  display: block;
  padding: 12px 0;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--color-navy);
  text-transform: uppercase;
  flex: 1;
}

.mobile-submenu-toggle {
  background: #f3f4f6;
  border: none;
  width: 34px;
  height: 34px;
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: var(--color-navy);
}

.mobile-submenu {
  display: none;
  padding: 4px 0 12px 16px;
  background: #fafafa;
  border-radius: 6px;
}

.mobile-submenu.open {
  display: block;
}

.mobile-submenu li a {
  display: block;
  padding: 8px 10px;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--color-text);
}

.mobile-submenu li a:hover {
  color: var(--color-primary);
}

/* ==========================================================================
   PAGE TITLEBAR & BREADCRUMB (CHO CÁC TRANG CON)
   ========================================================================== */
.page-titlebar {
  background: linear-gradient(135deg, #0284c7 0%, #1e40af 100%);
  color: var(--color-white);
  padding: 38px 0;
  position: relative;
  overflow: hidden;
}

.page-titlebar::before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 20%, rgba(255, 255, 255, 0.18), transparent 55%);
  pointer-events: none;
}

.page-titlebar h1 {
  color: var(--color-white);
  font-size: clamp(1.6rem, 2.8vw, 2.2rem);
  margin-bottom: 8px;
}

.breadcrumb {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.92);
}

.breadcrumb a {
  color: var(--color-white);
  font-weight: 600;
}

.breadcrumb a:hover {
  text-decoration: underline;
}

.breadcrumb .sep {
  opacity: 0.75;
}

/* ==========================================================================
   HERO SLIDER (TRANG CHỦ)
   ========================================================================== */
.hero-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: #1e2f69;
}

.slider-track {
  display: flex;
  transition: transform 0.65s cubic-bezier(0.16, 1, 0.3, 1);
}

.slide {
  min-width: 100%;
  position: relative;
}

.slide a {
  display: block;
  width: 100%;
}

.slide img {
  width: 100%;
  height: auto;
  max-height: 620px;
  object-fit: cover;
  display: block;
}

.slider-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.35);
  color: var(--color-white);
  border: 1px solid rgba(255, 255, 255, 0.35);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 10;
  transition: var(--transition);
}

.slider-arrow:hover {
  background: var(--color-primary);
  border-color: var(--color-primary);
}

.slider-arrow.prev { left: 20px; }
.slider-arrow.next { right: 20px; }

.slider-dots {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
  z-index: 10;
}

.slider-dot {
  width: 11px;
  height: 11px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.55);
  border: none;
  cursor: pointer;
  transition: var(--transition);
}

.slider-dot.active {
  width: 28px;
  border-radius: 10px;
  background: var(--color-primary);
}

/* ==========================================================================
   ABOUT INTRO SECTION & STATS ("TẠI SAO CHỌN")
   ========================================================================== */
.about-circle-img {
  position: relative;
  max-width: 430px;
  margin: 0 auto;
}

.about-circle-img img {
  width: 100%;
  aspect-ratio: 1 / 1;
  object-fit: cover;
  border-radius: 50%;
  box-shadow: 0 20px 50px rgba(45, 65, 98, 0.16);
  border: 8px solid var(--color-white);
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 26px;
  padding: 20px 16px;
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.stat-box {
  text-align: center;
}

.stat-number {
  font-size: clamp(1.5rem, 2.5vw, 1.9rem);
  font-weight: 800;
  color: var(--color-navy-dark);
  line-height: 1.15;
  margin-bottom: 4px;
  display: inline-block;
  position: relative;
}

.stat-number::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 2px;
  width: 100%;
  height: 10px;
  background: rgba(255, 126, 106, 0.22);
  z-index: -1;
}

.stat-label {
  font-size: 0.76rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: var(--color-navy-dark);
}

/* 4 Reason Cards */
.reasons-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 22px;
}

.reason-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(255, 126, 0, 0.1);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.reason-card::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: 110px;
  height: 110px;
  background: radial-gradient(circle, rgba(255, 126, 0, 0.1) 0%, transparent 70%);
  pointer-events: none;
}

.reason-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.reason-num {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--color-primary);
  color: var(--color-white);
  font-weight: 800;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 6px 15px rgba(255, 126, 0, 0.3);
}

.reason-card h3 {
  font-size: 1.18rem;
  margin-bottom: 10px;
  color: var(--color-navy);
}

.reason-card p {
  font-size: 0.96rem;
  color: var(--color-text);
}

/* ==========================================================================
   FEATURED COURSES (4 THẺ KHÓA HỌC NỔI BẬT)
   ========================================================================== */
.course-card {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  aspect-ratio: 4 / 5;
  box-shadow: var(--shadow-md);
  display: block;
}

.course-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.course-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(17, 24, 39, 0.88) 0%, rgba(17, 24, 39, 0.25) 55%, transparent 100%);
  z-index: 1;
  transition: var(--transition);
}

.course-card:hover img {
  transform: scale(1.07);
}

.course-card:hover::before {
  background: linear-gradient(to top, rgba(255, 126, 0, 0.88) 0%, rgba(45, 65, 98, 0.45) 65%, rgba(255, 126, 0, 0.2) 100%);
}

.course-card-content {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 24px 20px;
  z-index: 2;
  color: var(--color-white);
}

.course-card-content h3 {
  color: var(--color-white);
  font-size: 1.15rem;
  text-transform: uppercase;
  margin-bottom: 6px;
}

.course-card-content .course-more {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.86rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   ROADMAP & ACCORDION (7 CẤP ĐỘ LỘ TRÌNH HỌC)
   ========================================================================== */
.roadmap-banner {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 40px;
}

.roadmap-photo {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.accordion {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.accordion-item {
  border-bottom: 1px solid #d1d5db;
  background: var(--color-white);
}

.accordion-header {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 15px 4px;
  background: none;
  border: none;
  text-align: left;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--color-teal);
  cursor: pointer;
  transition: var(--transition);
}

.accordion-item.active .accordion-header,
.accordion-header:hover {
  color: #111827;
}

.accordion-icon {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(0, 97, 124, 0.08);
  color: var(--color-teal);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: var(--transition);
}

.accordion-item.active .accordion-icon {
  background: var(--color-primary);
  color: var(--color-white);
  transform: rotate(45deg);
}

.accordion-body {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.35s ease;
}

.accordion-content {
  padding: 4px 4px 18px;
  font-size: 0.97rem;
  color: var(--color-text);
}

/* ==========================================================================
   TEACHERS BANNER & CAROUSEL
   ========================================================================== */
.teacher-showcase-banner {
  background: linear-gradient(135deg, #00617c 0%, #1e2f69 100%);
  padding: 60px 0 70px;
  color: var(--color-white);
  text-align: center;
  position: relative;
  overflow: hidden;
}

.teacher-showcase-banner .banner-images {
  max-width: 860px;
  margin: 0 auto 24px;
}

.teacher-showcase-banner .banner-images img {
  margin: 0 auto;
}

.teacher-showcase-banner p {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.06rem;
  color: rgba(255, 255, 255, 0.95);
}

.carousel-wrapper {
  position: relative;
}

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

.teacher-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  text-align: center;
  transition: var(--transition);
  border: 1px solid #f3f4f6;
}

.teacher-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.teacher-img-wrap {
  position: relative;
  overflow: hidden;
  aspect-ratio: 1 / 1;
  background: #f8fafc;
}

.teacher-img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.teacher-card:hover .teacher-img-wrap img {
  transform: scale(1.05);
}

.teacher-info {
  padding: 16px 14px;
}

.teacher-info h4 {
  font-size: 1.12rem;
  color: var(--color-navy);
  margin-bottom: 4px;
}

.teacher-info span {
  font-size: 0.85rem;
  color: var(--color-text-light);
}

/* ==========================================================================
   PHƯƠNG CHÂM & CEO MS. JOY QUOTE CARD
   ========================================================================== */
.motto-section {
  background-color: var(--color-bg-light);
  padding: 80px 0;
  position: relative;
}

.counters-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 32px;
}

.counter-item {
  text-align: center;
  background: var(--color-white);
  padding: 20px 12px;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
}

.counter-value {
  font-size: clamp(1.8rem, 3vw, 2.6rem);
  font-weight: 800;
  color: var(--color-navy);
  line-height: 1.1;
  margin-bottom: 6px;
}

.counter-label {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--color-teal);
}

.ceo-card {
  background: var(--color-primary);
  color: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 48px 38px;
  text-align: center;
  box-shadow: var(--shadow-orange);
  position: relative;
}

.ceo-avatar {
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
  border-radius: 50%;
  border: 9px solid var(--color-white);
  overflow: hidden;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.ceo-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ceo-card blockquote {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.5;
  color: var(--color-white);
  margin-bottom: 24px;
  padding-bottom: 24px;
  border-bottom: 1px dashed rgba(255, 255, 255, 0.35);
}

.ceo-card h4 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.ceo-card p {
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.9);
}

/* ==========================================================================
   GALLERY MASONRY ("PHÒNG HỌC ĐẸP - GIÁO VIÊN DẠY HAY")
   ========================================================================== */
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.gallery-item {
  position: relative;
  border-radius: var(--radius-md);
  overflow: hidden;
  aspect-ratio: 3 / 2;
  cursor: pointer;
  box-shadow: var(--shadow-sm);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(26, 55, 96, 0.68);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
  opacity: 0;
  transition: var(--transition);
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

.gallery-overlay h3 {
  color: var(--color-white);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.gallery-overlay i {
  color: var(--color-primary);
  font-size: 1.5rem;
}

/* ==========================================================================
   YOUTUBE SHORTS / VIDEO CARDS (9:16 & 16:9)
   ========================================================================== */
.video-shorts-card {
  text-align: center;
}

.video-frame-916 {
  position: relative;
  width: 100%;
  aspect-ratio: 9 / 16;
  max-height: 520px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 16px;
  background: #000;
}

.video-frame-169 {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-bottom: 14px;
  background: #000;
}

.video-frame-916 iframe,
.video-frame-169 iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

.video-shorts-card h5 {
  font-size: 1.05rem;
  line-height: 1.5;
}

/* ==========================================================================
   STUDENT TESTIMONIALS ("HỌC VIÊN NÓI GÌ VỀ TIẾNG ANH NGHE NÓI")
   ========================================================================== */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 26px;
}

.testimonial-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 28px 26px;
  box-shadow: var(--shadow-md);
  border: 1px solid #f1f5f9;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: var(--transition);
}

.testimonial-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.testimonial-quote {
  font-size: 0.96rem;
  color: var(--color-text);
  margin-bottom: 20px;
  position: relative;
}

.star-rating {
  display: flex;
  gap: 4px;
  color: #f59e0b;
  margin-bottom: 16px;
  font-size: 0.9rem;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 14px;
}

.testimonial-author img {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--color-primary);
}

.testimonial-author h4 {
  font-size: 1.02rem;
  margin-bottom: 2px;
}

.testimonial-author span {
  font-size: 0.82rem;
  color: var(--color-text-light);
}

/* ==========================================================================
   REGISTRATION FORM CARD (ĐĂNG KÝ TƯ VẤN & TEST MIỄN PHÍ)
   ========================================================================== */
.reg-banner-img {
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-md);
}

.reg-form-card {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  padding: 36px 32px;
  box-shadow: 0 12px 50px rgba(0, 0, 0, 0.09);
  border: 1px solid rgba(255, 126, 0, 0.18);
  position: relative;
}

.reg-form-card h3 {
  font-size: 1.35rem;
  color: var(--color-navy);
  margin-bottom: 6px;
  text-align: center;
}

.reg-form-card .form-subtitle {
  text-align: center;
  font-size: 0.92rem;
  color: var(--color-text-light);
  margin-bottom: 22px;
}

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

.form-label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--color-navy);
  margin-bottom: 6px;
}

.form-label .req {
  color: var(--color-danger);
}

.form-control {
  width: 100%;
  padding: 11px 14px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.95rem;
  color: #111827;
  background: #f9fafb;
  border: 1.5px solid #d1d5db;
  border-radius: var(--radius-sm);
  transition: var(--transition);
}

.form-control:focus {
  outline: none;
  background: var(--color-white);
  border-color: var(--color-primary);
  box-shadow: 0 0 0 3px rgba(255, 126, 0, 0.15);
}

.form-control.is-invalid {
  border-color: var(--color-danger);
  background: #fef2f2;
}

.form-error {
  display: none;
  font-size: 0.8rem;
  color: var(--color-danger);
  margin-top: 4px;
  font-weight: 500;
}

.form-group.has-error .form-error {
  display: block;
}

.form-success-msg {
  display: none;
  padding: 14px 16px;
  background: #ecfdf5;
  border: 1px solid #10b981;
  color: #065f46;
  border-radius: var(--radius-sm);
  font-size: 0.92rem;
  font-weight: 600;
  margin-top: 14px;
  text-align: center;
}

.form-success-msg.show {
  display: block;
}

/* ==========================================================================
   BLOG / NEWS CARDS ("TIN TỨC VÀ SỰ KIỆN")
   ========================================================================== */
.blog-card {
  background: var(--color-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid #f1f5f9;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}

.blog-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
}

.blog-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  overflow: hidden;
}

.blog-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.blog-card:hover .blog-thumb img {
  transform: scale(1.06);
}

.blog-cat-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--color-primary);
  color: var(--color-white);
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 4px;
}

.blog-body {
  padding: 20px;
  display: flex;
  flex-direction: column;
  flex: 1;
}

.blog-meta {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--color-text-light);
  margin-bottom: 8px;
}

.blog-meta .dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: var(--color-primary);
}

.blog-title {
  font-size: 1.08rem;
  margin-bottom: 10px;
  line-height: 1.45;
}

.blog-title a:hover {
  color: var(--color-primary);
}

.blog-excerpt {
  font-size: 0.92rem;
  color: var(--color-text);
  margin-bottom: 14px;
  flex: 1;
}

/* ==========================================================================
   ZALO OA SUPPORT SECTION (#00617c)
   ========================================================================== */
.zalo-support-section {
  background-color: var(--color-teal);
  color: var(--color-white);
  padding: 60px 0 0;
  position: relative;
  overflow: hidden;
}

.zalo-support-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr 1fr;
  gap: 30px;
  align-items: center;
}

.zalo-support-left {
  padding-bottom: 50px;
}

.zalo-support-left h2 {
  color: var(--color-white);
  margin-bottom: 14px;
}

.zalo-support-left p {
  color: rgba(255, 255, 255, 0.9);
  font-size: 1.05rem;
  margin-bottom: 24px;
}

.zalo-mockup-center img {
  max-height: 440px;
  margin: 0 auto;
}

.zalo-qr-right {
  text-align: center;
  padding-bottom: 50px;
}

.zalo-qr-right img {
  width: 165px;
  margin: 0 auto 16px;
  background: var(--color-white);
  padding: 10px;
  border-radius: var(--radius-sm);
}

.zalo-qr-right p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.95rem;
}

/* ==========================================================================
   SCHEDULE TABLE & FILTER TABS (TRANG LỊCH HỌC - HỌC PHÍ & THƯ VIỆN)
   ========================================================================== */
.filter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 32px;
}

.filter-tab {
  padding: 10px 22px;
  font-family: 'Be Vietnam Pro', sans-serif;
  font-size: 0.92rem;
  font-weight: 700;
  color: var(--color-navy);
  background: #f3f4f6;
  border: 1px solid transparent;
  border-radius: var(--radius-pill);
  cursor: pointer;
  transition: var(--transition);
}

.filter-tab:hover,
.filter-tab.active {
  background: var(--color-primary);
  color: var(--color-white);
  box-shadow: 0 4px 14px rgba(255, 126, 0, 0.3);
}

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

.campus-schedule-col {
  background: var(--color-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  border: 1px solid #fed7aa;
}

.campus-col-header {
  background: var(--color-primary);
  color: var(--color-white);
  padding: 16px 20px;
  text-align: center;
}

.campus-col-header h3 {
  color: var(--color-white);
  font-size: 1.2rem;
  margin-bottom: 2px;
}

.campus-col-header p {
  font-size: 0.82rem;
  opacity: 0.92;
}

.schedule-item {
  padding: 16px 18px;
  border-bottom: 1px solid #fde7d3;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  transition: background 0.2s ease;
}

.schedule-item:hover {
  background: #fff7ed;
}

.schedule-item:last-child {
  border-bottom: none;
}

.schedule-info h4 {
  font-size: 0.96rem;
  color: var(--color-navy);
  margin-bottom: 3px;
}

.schedule-info p {
  font-size: 0.84rem;
  color: var(--color-text-light);
  margin-bottom: 2px;
}

.schedule-slots {
  display: inline-block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #dc2626;
  background: #fef2f2;
  padding: 2px 8px;
  border-radius: 4px;
}

/* ==========================================================================
   FOOTER (#ff7e00)
   ========================================================================== */
.site-footer {
  background-color: var(--color-primary);
  color: var(--color-white);
  padding: 65px 0 24px;
}

.footer-top {
  display: grid;
  grid-template-columns: 1.2fr 1fr 1fr 1fr 1.1fr;
  gap: 28px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

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

.footer-brand-logo img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.footer-brand-logo span {
  font-size: 1.08rem;
  font-weight: 800;
  line-height: 1.3;
}

.footer-hours {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  font-size: 0.92rem;
}

.footer-hours i {
  font-size: 1.35rem;
  margin-top: 4px;
}

.footer-col h3 {
  color: var(--color-white);
  font-size: 1.08rem;
  margin-bottom: 18px;
}

.footer-links li {
  margin-bottom: 11px;
}

.footer-links a {
  color: var(--color-white);
  font-size: 0.92rem;
}

.footer-links a:hover {
  color: var(--color-gold);
  padding-left: 4px;
}

.social-list {
  display: flex;
  gap: 12px;
}

.social-list a {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.25);
  color: var(--color-white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.social-list a:hover {
  background: var(--color-navy);
  color: var(--color-white);
  transform: translateY(-3px);
}

.footer-campuses {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  padding: 32px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.campus-box {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.campus-box i {
  font-size: 1.4rem;
  margin-top: 4px;
  flex-shrink: 0;
}

.campus-box p {
  font-size: 0.92rem;
  line-height: 1.55;
  margin-bottom: 4px;
}

.campus-box a {
  font-weight: 700;
  text-decoration: underline;
}

.footer-bottom {
  padding-top: 20px;
  text-align: center;
  font-size: 0.88rem;
  font-weight: 600;
}

/* ==========================================================================
   FLOATING ZALO & CHAT WIDGETS + MODAL POPUP
   ========================================================================== */
.floating-zalo {
  position: fixed;
  bottom: 28px;
  left: 24px;
  z-index: 990;
}

.floating-zalo a {
  position: relative;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: #0068ff;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 6px 20px rgba(0, 104, 255, 0.4);
}

.floating-zalo a::before {
  content: "";
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(0, 104, 255, 0.5);
  animation: pulseZalo 1.8s infinite;
}

.floating-zalo img {
  width: 34px;
  height: 34px;
}

@keyframes pulseZalo {
  0% { transform: scale(0.9); opacity: 1; }
  100% { transform: scale(1.35); opacity: 0; }
}

.floating-chaty {
  position: fixed;
  bottom: 28px;
  right: 24px;
  z-index: 990;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 10px;
}

.chaty-channels {
  display: none;
  flex-direction: column;
  gap: 10px;
}

.chaty-channels.open {
  display: flex;
}

.chaty-item {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--color-white);
  padding: 8px 14px;
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  font-size: 0.86rem;
  font-weight: 700;
  color: var(--color-navy);
}

.chaty-item i {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white);
}

.chaty-toggle {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #ff6060;
  color: var(--color-white);
  border: none;
  font-size: 1.4rem;
  cursor: pointer;
  box-shadow: 0 6px 20px rgba(255, 96, 96, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.chaty-badge {
  position: absolute;
  top: -2px;
  right: -2px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #dd0000;
  color: var(--color-white);
  font-size: 0.7rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Modal Popup ("Test Miễn Phí") */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(17, 24, 39, 0.72);
  backdrop-filter: blur(4px);
  z-index: 2000;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: var(--color-white);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 32px 28px;
  position: relative;
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
  max-height: 92dvh;
  overflow-y: auto;
}

.modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #f3f4f6;
  border: none;
  font-size: 1.1rem;
  color: #374151;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: var(--color-danger);
  color: var(--color-white);
}

/* Lightbox Modal */
.lightbox-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  z-index: 2100;
  display: none;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.lightbox-backdrop.open {
  display: flex;
}

.lightbox-content {
  position: relative;
  max-width: 960px;
  width: 100%;
  text-align: center;
}

.lightbox-content img {
  max-height: 82dvh;
  margin: 0 auto;
  border-radius: var(--radius-sm);
}

.lightbox-caption {
  color: var(--color-white);
  margin-top: 12px;
  font-size: 1rem;
  font-weight: 600;
}

/* ==========================================================================
   FEATURE / BENEFIT CARDS FOR SUBPAGES
   ========================================================================== */
.feature-box {
  background: var(--color-white);
  border-radius: var(--radius-md);
  padding: 28px 24px;
  box-shadow: var(--shadow-md);
  border-top: 4px solid var(--color-primary);
  transition: var(--transition);
}

[data-tnn-section-id="lien-he-02"] .feature-box {
  border-top-color: #2563eb;
}

.feature-box:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.feature-box-icon {
  width: 52px;
  height: 52px;
  border-radius: 12px;
  background: var(--color-bg-warm);
  color: var(--color-primary);
  font-size: 1.4rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
}

.check-list li {
  position: relative;
  padding-left: 28px;
  margin-bottom: 12px;
  font-size: 0.98rem;
}

.check-list li::before {
  content: "\f058";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  position: absolute;
  left: 0;
  top: 2px;
  color: var(--color-primary);
}

/* ==========================================================================
   RESPONSIVE BREAKPOINTS
   ========================================================================== */
@media (max-width: 1199px) {
  .main-nav {
    display: none;
  }
  .mobile-toggle {
    display: inline-flex;
  }
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 991px) {
  .grid-2,
  .grid-3,
  .grid-4,
  .teacher-grid,
  .testimonials-grid,
  .gallery-grid,
  .schedule-campus-grid,
  .zalo-support-grid,
  .footer-campuses {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 767px) {
  .section {
    padding: 46px 0;
  }
  .grid-2,
  .grid-3,
  .grid-4,
  .reasons-grid,
  .teacher-grid,
  .testimonials-grid,
  .gallery-grid,
  .schedule-campus-grid,
  .zalo-support-grid,
  .footer-top,
  .footer-campuses {
    grid-template-columns: 1fr;
  }
  .stats-row,
  .counters-row {
    grid-template-columns: 1fr;
  }
  .header-inner {
    height: 66px;
  }
  .navbar-brand img {
    max-height: 44px;
  }
  .btn-test-free span {
    display: inline;
  }
}

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
