/* =============================================
   KIDZONE WEBSITE - MAIN STYLESHEET
   =============================================
   
   🎨 THAY ĐỔI FONT:
   Tìm dòng @import Google Fonts bên dưới
   và thay tên font theo ý muốn.
   Sau đó cập nhật biến --font-heading và --font-body.
   Gợi ý font đẹp cho trẻ em: 
   - Nunito (hiện tại dùng)
   - Baloo 2
   - Poppins
   - Quicksand
   - Comfortaa
   
   ============================================= */

/* ─── GOOGLE FONTS IMPORT ─────────────────────
   👉 ĐỔI FONT TẠI ĐÂY (dòng @import bên dưới)
   Vào: https://fonts.google.com → chọn font → copy link
   ─────────────────────────────────────────── */
@import url('https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400&family=Baloo+2:wght@400;500;600;700;800&display=swap');

/* ─── BIẾN MÀU SẮC & FONT ─────────────────── */
:root {
  /* MÀU CHÍNH */
  --blue-primary:   #1565C0;   /* Xanh dương chính */
  --blue-light:     #1E88E5;   /* Xanh dương sáng hơn */
  --blue-dark:      #0D47A1;   /* Xanh dương đậm */
  --blue-pale:      #E3F2FD;   /* Xanh dương nhạt (background) */
  --yellow-primary: #FFC107;   /* Vàng chính */
  --yellow-light:   #FFD54F;   /* Vàng sáng */
  --yellow-dark:    #FF8F00;   /* Vàng đậm / cam vàng */
  --yellow-pale:    #FFF8E1;   /* Vàng nhạt (background) */

  /* MÀU PHỤ */
  --white:          #FFFFFF;
  --gray-light:     #F5F7FA;
  --gray-mid:       #E0E6EF;
  --gray-text:      #5A6A7A;
  --text-dark:      #1A2A3A;
  --text-body:      #3A4A5A;

  /* ─── ĐỔI FONT TẠI ĐÂY ───────────────────── */
  --font-heading: 'Baloo 2', cursive;      /* Font tiêu đề */
  --font-body:    'Nunito', sans-serif;    /* Font nội dung */
  /* ─────────────────────────────────────────── */

  /* LAYOUT */
  --container-max: 1200px;
  --radius-sm:  8px;
  --radius-md:  16px;
  --radius-lg:  24px;
  --radius-xl:  40px;

  /* SHADOW */
  --shadow-sm:  0 2px 8px rgba(21,101,192,0.10);
  --shadow-md:  0 6px 24px rgba(21,101,192,0.14);
  --shadow-lg:  0 16px 48px rgba(21,101,192,0.18);
  --shadow-yellow: 0 6px 24px rgba(255,193,7,0.30);

  /* TRANSITION */
  --transition: all 0.3s cubic-bezier(.4,0,.2,1);
}

/* ─── RESET & BASE ──────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

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

body {
  font-family: var(--font-body);
  color: var(--text-body);
  background: var(--white);
  line-height: 1.7;
  overflow-x: hidden;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: var(--font-body); }

/* ─── TYPOGRAPHY ────────────────────────────── */
h1, h2, h3, h4, h5 {
  font-family: var(--font-heading);
  color: var(--text-dark);
  line-height: 1.25;
}

h1 { font-size: clamp(2rem, 4vw, 3rem); font-weight: 800; }
h2 { font-size: clamp(1.5rem, 3vw, 2.25rem); font-weight: 700; }
h3 { font-size: clamp(1.15rem, 2vw, 1.5rem); font-weight: 700; }
h4 { font-size: 1.1rem; font-weight: 600; }

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

/* ─── LAYOUT HELPERS ────────────────────────── */
.container {
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 24px;
}

.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }

.section-tag {
  display: inline-block;
  background: var(--yellow-pale);
  color: var(--yellow-dark);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: .08em;
  text-transform: uppercase;
  padding: 6px 16px;
  border-radius: 99px;
  margin-bottom: 12px;
  border: 1.5px solid var(--yellow-primary);
}

.section-header {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 56px;
}
.section-header p { color: var(--gray-text); font-size: 1.05rem; }

/* ─── BUTTONS ───────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 14px 28px;
  border-radius: 99px;
  font-family: var(--font-body);
  font-weight: 700;
  font-size: 0.95rem;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
}

.btn-primary {
  background: var(--yellow-primary);
  color: var(--blue-dark);
  box-shadow: var(--shadow-yellow);
}
.btn-primary:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
  box-shadow: 0 10px 32px rgba(255,193,7,.40);
}

.btn-secondary {
  background: var(--blue-primary);
  color: var(--white);
  box-shadow: var(--shadow-md);
}
.btn-secondary:hover {
  background: var(--blue-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
}

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

.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: rgba(255,255,255,.6);
}
.btn-outline-white:hover {
  background: rgba(255,255,255,.15);
  border-color: var(--white);
}

.btn-sm { padding: 10px 20px; font-size: 0.875rem; }
.btn-lg { padding: 18px 40px; font-size: 1.05rem; }

/* ─── NAVBAR ────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,.96);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1.5px solid var(--gray-mid);
  transition: var(--transition);
}

.navbar.scrolled {
  box-shadow: var(--shadow-md);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 72px;
  gap: 24px;
}

.nav-logo img {
  height: 48px;
  width: auto;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
}

.nav-item { position: relative; }

.nav-link {
  display: flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--text-dark);
  transition: var(--transition);
}
.nav-link:hover, .nav-link.active {
  color: var(--blue-primary);
  background: var(--blue-pale);
}

.nav-link svg { width: 14px; height: 14px; transition: var(--transition); }
.nav-item:hover .nav-link svg { transform: rotate(180deg); }

/* Dropdown */
.dropdown {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--gray-mid);
  min-width: 220px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-8px);
  transition: var(--transition);
  z-index: 100;
}

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

.dropdown a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
}
.dropdown a:hover {
  background: var(--blue-pale);
  color: var(--blue-primary);
  padding-left: 22px;
}

.nav-cta { margin-left: 8px; }

/* Dropdown item with nested submenu (Hệ thống cơ sở) */
.dropdown-item.has-submenu { position: relative; }
.dropdown-item.has-submenu > a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.submenu-caret { width: 12px; height: 12px; flex-shrink: 0; transform: rotate(-90deg); transition: var(--transition); }

.submenu {
  position: absolute;
  top: -8px;
  left: calc(100% + 8px);
  background: var(--white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1.5px solid var(--gray-mid);
  min-width: 240px;
  padding: 8px;
  opacity: 0;
  visibility: hidden;
  transform: translateX(-8px);
  transition: var(--transition);
  z-index: 100;
}
.dropdown-item.has-submenu:hover .submenu {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
.submenu a {
  display: block;
  padding: 10px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-body);
  transition: var(--transition);
}
.submenu a:hover {
  background: var(--blue-pale);
  color: var(--blue-primary);
  padding-left: 22px;
}

/* Hamburger (mobile) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  border-radius: var(--radius-sm);
  cursor: pointer;
}
.nav-hamburger span {
  display: block;
  width: 24px; height: 2.5px;
  background: var(--blue-primary);
  border-radius: 99px;
  transition: var(--transition);
}

/* ─── HERO ──────────────────────────────────── */
.hero {
  min-height: 92vh;
  padding-top: 72px;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 50%, var(--blue-light) 100%);
  position: relative;
  display: flex;
  align-items: flex-end;
  overflow: hidden;
}

/* 
  ─────────────────────────────────────────────────────────
  🖼️ ẢNH HERO BACKGROUND:
  Thay đường dẫn bên dưới bằng ảnh thực tế của trường.
  Khuyến nghị: ảnh ngang, kích thước tối thiểu 1920x1080px.
  ─────────────────────────────────────────────────────────
*/
.hero-bg {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  background: #04142d; /* màu nền tạm trong lúc video đang tải */
  z-index: 0;
}

/* Đoạn mô tả đã dời từ Hero xuống, hiển thị phía trên khối "Tìm lộ trình phù hợp cho bé" */
.hero-intro-text {
  max-width: 720px;
  margin: 0 auto 32px;
  text-align: center;
  color: var(--text-body);
  font-size: 1.05rem;
  line-height: 1.8;
}

/* Lớp phủ tối dần từ dưới lên để chữ luôn dễ đọc trên mọi ảnh nền */
/* Đã bỏ lớp phủ tối .hero-overlay theo yêu cầu - video hiển thị sáng, không bị tối phía dưới */

/* Đã bỏ đường cong trắng ở cuối Hero theo yêu cầu - để video hiển thị trọn vẹn, không bị che */

.hero-content-bottom {
  position: relative;
  z-index: 2;
  width: 100%;
  padding: 80px 0 96px;
}

.hero-text { max-width: 720px; }

.hero-text .eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.12);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--yellow-light);
  padding: 6px 16px;
  border-radius: 99px;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 20px;
  backdrop-filter: blur(6px);
}

.hero-text h1 {
  color: var(--white);
  margin-bottom: 20px;
}
.hero-text h1 span { color: var(--yellow-primary); }

.hero-text .sapo {
  color: rgba(255,255,255,.85);
  font-size: 1.05rem;
  margin-bottom: 36px;
  line-height: 1.8;
}

.hero-actions {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

/* ─── SECTION 1B: TÌM LỘ TRÌNH (tách khỏi Hero) ─ */
.lookup-section {
  background: var(--gray-light);
}

/* Smart Filter Card */
.hero-filter-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  margin: 0 auto;
}

.hero-filter-card h3 {
  color: var(--blue-primary);
  margin-bottom: 6px;
  font-size: 1.15rem;
  text-align: center;
}
.hero-filter-card p {
  color: var(--gray-text);
  font-size: 0.875rem;
  margin-bottom: 24px;
  text-align: center;
}

.filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.filter-group { margin-bottom: 16px; }
.filter-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.filter-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%231565C0' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: var(--transition);
}
.filter-group select:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(21,101,192,.12);
}

/* ─── SECTION: OUR DNA (HighScope) ─────────── */
.dna-section { background: var(--white); }

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

.dna-card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  border: 2px solid transparent;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.dna-card::before {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--blue-primary), var(--yellow-primary));
  transform: scaleX(0);
  transition: var(--transition);
}
.dna-card:hover {
  border-color: var(--blue-pale);
  box-shadow: var(--shadow-md);
  transform: translateY(-4px);
}
.dna-card:hover::before { transform: scaleX(1); }

.dna-img-wrap {
  width: 100%; height: 200px;
  border-radius: 16px;
  overflow: hidden;
  margin: 0 auto 20px;
  background: var(--blue-pale);
}
.dna-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: center center; /* ✏️ ĐIỀU CHỈNH VÙNG HIỂN THỊ ẢNH:
    - Giá trị: "top", "center", "bottom" (dọc) + "left", "center", "right" (ngang)
    - Hoặc dùng %, vd: "50% 20%" = giữ ngang, lệch lên trên 20%
    - Ví dụ chỉ muốn thấy phần đầu trẻ: đổi thành "center top"
    - Chỉ muốn thấy phần dưới: đổi thành "center bottom" */
  display: block;
}

.dna-card h3 { color: var(--blue-primary); margin-bottom: 12px; }
.dna-card p { color: var(--gray-text); font-size: 0.9rem; line-height: 1.7; }

/* ─── SECTION: BILINGUAL ────────────────────── */
.bilingual-section {
  background: linear-gradient(180deg, var(--blue-pale) 0%, var(--white) 100%);
}

.bilingual-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* 
  ─────────────────────────────────────────────────────────
  🖼️ SLIDER BILINGUAL SECTION:
  Thêm 2 ảnh từ image/bilingual-1.jpg và image/bilingual-2.jpg
  Khuyến nghị: ảnh 4:3 hoặc vuông, 800×600px, trẻ em học tiếng Anh.
  ─────────────────────────────────────────────────────────
*/
.bilingual-visual {
  position: relative;
}

/* Slider Container */
.bilingual-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  background: var(--gray-mid);
}

/* Slides */
.bilingual-slide {
  position: absolute;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 0.6s ease-in-out;
}

.bilingual-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.bilingual-slide.active {
  opacity: 1;
  position: relative;
}

/* Slider Controls */
.bilingual-controls {
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  transform: translateY(-50%);
  display: flex;
  justify-content: space-between;
  padding: 0 16px;
  pointer-events: none;
  z-index: 10;
}

.bilingual-prev,
.bilingual-next {
  pointer-events: all;
  background: rgba(255, 255, 255, 0.8);
  border: none;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  color: var(--blue-dark);
}

.bilingual-prev svg,
.bilingual-next svg {
  width: 24px;
  height: 24px;
}

.bilingual-prev:hover,
.bilingual-next:hover {
  background: var(--white);
  box-shadow: var(--shadow-md);
  transform: scale(1.1);
}

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

.bilingual-dots .dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.5);
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.bilingual-dots .dot:hover {
  background: rgba(255, 255, 255, 0.8);
}

.bilingual-dots .dot.active {
  background: var(--white);
  border-color: var(--yellow-primary);
  box-shadow: 0 0 8px rgba(255, 193, 7, 0.6);
}

/* Badge - vẫn giữ nguyên */
.bilingual-badge {
  position: absolute;
  bottom: -16px; right: -16px;
  background: var(--yellow-primary);
  color: var(--blue-dark);
  border-radius: var(--radius-md);
  padding: 16px 20px;
  font-weight: 800;
  font-family: var(--font-heading);
  box-shadow: var(--shadow-yellow);
  text-align: center;
  line-height: 1.2;
}
.bilingual-badge .num { font-size: 2rem; display: block; }
.bilingual-badge .label { font-size: 0.75rem; text-transform: uppercase; letter-spacing: .05em; }

.pillar-list { display: flex; flex-direction: column; gap: 20px; margin-top: 28px; }

.pillar-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--white);
  border-radius: var(--radius-md);
  border: 1.5px solid var(--gray-mid);
  transition: var(--transition);
}
.pillar-item:hover { border-color: var(--blue-primary); box-shadow: var(--shadow-sm); }

.pillar-icon {
  width: 44px; height: 44px;
  background: var(--blue-pale);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  flex-shrink: 0;
}

.pillar-item h4 { color: var(--blue-primary); margin-bottom: 4px; }
.pillar-item p { color: var(--gray-text); font-size: 0.875rem; margin: 0; }

/* ─── SECTION: CAMPUS ───────────────────────── */
.campus-section { background: var(--white); }

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

.campus-card {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-mid);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
}
.campus-card:hover { box-shadow: var(--shadow-md); transform: translateY(-6px); }

/* 
  ─────────────────────────────────────────────────────────
  🖼️ ẢNH CAMPUS:
  Thay đường dẫn src trong HTML tương ứng:
  - campus-thaodien.jpg  → Cơ sở Thảo Điền
  - campus-ndtrinh.jpg   → Cơ sở Nguyễn Duy Trinh
  - campus-vinhomes.jpg  → Cơ sở Vinhomes Grand Park
  Kích thước khuyến nghị: 600x400px, tỷ lệ 3:2.
  ─────────────────────────────────────────────────────────
*/
.campus-img {
  width: 100%;
  aspect-ratio: 3/2;
  object-fit: cover;
  background: var(--gray-mid); /* placeholder */
}

.campus-flag {
  display: inline-block;
  background: var(--yellow-primary);
  color: var(--blue-dark);
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 12px;
  border-radius: 99px;
  text-transform: uppercase;
  letter-spacing: .06em;
  margin-bottom: 10px;
}

.campus-body {
  padding: 24px;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.campus-body h3 { color: var(--blue-dark); margin-bottom: 6px; font-size: 1.1rem; }
.campus-address {
  display: flex;
  gap: 6px;
  align-items: flex-start;
  color: var(--gray-text);
  font-size: 0.85rem;
  margin-bottom: 12px;
}
.campus-address svg { width: 14px; height: 14px; flex-shrink: 0; margin-top: 3px; color: var(--blue-primary); }
.campus-desc { color: var(--text-body); font-size: 0.875rem; line-height: 1.65; flex: 1; margin-bottom: 20px; }

.campus-actions {
  display: flex;
  flex-direction: column;
  gap: 10px;
}
.campus-actions .btn {
  width: 100%;
  justify-content: center;
  text-align: center;
}

/* ─── SECTION: REVIEWS ──────────────────────── */
.reviews-section { background: var(--blue-dark); position: relative; overflow: hidden; }
.reviews-section::before {
  content: '"';
  position: absolute;
  top: -40px; left: 40px;
  font-size: 300px;
  font-family: var(--font-heading);
  color: rgba(255,255,255,.04);
  line-height: 1;
  z-index: 0;
}
.reviews-section .section-header h2 { color: var(--white); }
.reviews-section .section-header p { color: rgba(255,255,255,.7); }

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  position: relative;
  z-index: 1;
}

.review-bubble {
  background: rgba(255,255,255,.08);
  border: 1.5px solid rgba(255,255,255,.12);
  border-radius: var(--radius-lg);
  padding: 28px;
  backdrop-filter: blur(8px);
  transition: var(--transition);
}
.review-bubble:hover {
  background: rgba(255,255,255,.12);
  border-color: var(--yellow-primary);
  transform: translateY(-4px);
}

.review-stars { display: flex; gap: 4px; margin-bottom: 12px; }
.review-stars span { color: var(--yellow-primary); font-size: 1.1rem; }

.review-text {
  color: rgba(255,255,255,.90);
  font-size: 0.95rem;
  font-style: italic;
  line-height: 1.75;
  margin-bottom: 16px;
}

.review-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

/* 
  ─────────────────────────────────────────────────────────
  🖼️ ẢNH AVATAR PHỤ HUYNH:
  Thay đường dẫn src trong HTML:
  - avatar-1.jpg, avatar-2.jpg
  Kích thước: 48x48px, vuông.
  ─────────────────────────────────────────────────────────
*/
.review-avatar {
  width: 48px; height: 48px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gray-mid);
  border: 2px solid var(--yellow-primary);
}
.review-avatar--default {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.review-avatar--default svg { width: 100%; height: 100%; display: block; }
.review-name { color: var(--yellow-light); font-weight: 700; font-size: 0.9rem; }
.review-info { color: rgba(255,255,255,.55); font-size: 0.8rem; }

/* ─── SECTION: TIMELINE (MỘT NGÀY CỦA CON) ─── */
.timeline-section { background: var(--gray-light); }

.timeline {
  position: relative;
  max-width: 700px;
  margin: 0 auto;
}
.timeline::before {
  content: '';
  position: absolute;
  left: 24px;
  top: 0; bottom: 0;
  width: 3px;
  background: linear-gradient(180deg, var(--blue-primary), var(--yellow-primary));
}

.timeline-item {
  display: grid;
  grid-template-columns: 48px 1fr;
  column-gap: 20px;
  margin-bottom: 32px;
  align-items: start;
}

.timeline-dot {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px; height: 48px;
  background: var(--blue-primary);
  border-radius: 50%;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-sm);
  font-size: 1.1rem;
  z-index: 1;
  position: relative;
  grid-column: 1;
}

.timeline-content {
  background: var(--white);
  border-radius: var(--radius-md);
  padding: 20px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--gray-mid);
  grid-column: 2;
}

.timeline-time {
  font-size: 0.75rem;
  font-weight: 800;
  color: var(--blue-primary);
  text-transform: uppercase;
  letter-spacing: .07em;
  margin-bottom: 4px;
}
.timeline-content h4 { color: var(--text-dark); margin-bottom: 6px; }
.timeline-content p { color: var(--gray-text); font-size: 0.875rem; margin: 0; }

/* ─── SECTION: TUITION CALCULATOR ──────────── */
.tuition-section { background: var(--yellow-pale); }

.calculator-wrapper {
  background: var(--white);
  border-radius: var(--radius-xl);
  padding: 48px;
  box-shadow: var(--shadow-lg);
  max-width: 720px;
  margin: 0 auto;
}

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

.calc-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.calc-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  background: var(--white);
  color: var(--text-dark);
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%231565C0' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
  transition: var(--transition);
}
.calc-group select:focus {
  outline: none;
  border-color: var(--blue-primary);
}

.calc-result {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
  border-radius: var(--radius-lg);
  padding: 28px;
  text-align: center;
  color: var(--white);
  display: none;
}
.calc-result.visible { display: block; }

.calc-result .result-label { font-size: 0.85rem; opacity: .8; margin-bottom: 8px; }
.calc-result .result-amount {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--yellow-primary);
  margin-bottom: 4px;
}
.calc-result .result-note { font-size: 0.8rem; opacity: .7; }

.discount-tags {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 20px;
}
.discount-tag {
  background: rgba(255,255,255,.15);
  border: 1px solid rgba(255,255,255,.25);
  color: var(--white);
  padding: 6px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
}
.discount-tag strong { color: var(--yellow-primary); }

/* Discount radio/checkbox labels */
.discount-checkbox-label {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: 8px;
  padding: 7px 14px;
  font-size: 0.875rem;
  cursor: pointer;
  transition: border-color .2s, background .2s;
  user-select: none;
}
.discount-checkbox-label:has(input:checked) {
  border-color: var(--blue-primary);
  background: var(--blue-pale);
}
.discount-checkbox-label input { accent-color: var(--blue-primary); }

/* btn-outline for detail page link */
.btn-outline {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: var(--radius-md);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.95rem;
  border: 2px solid var(--blue-primary);
  color: var(--blue-primary);
  background: transparent;
  cursor: pointer;
  text-decoration: none;
  transition: background .2s, color .2s;
}
.btn-outline:hover { background: var(--blue-primary); color: var(--white); }

/* ─── SECTION: LEAD FORM ────────────────────── */
.lead-section {
  background: linear-gradient(135deg, var(--blue-dark), var(--blue-primary));
  position: relative;
  overflow: hidden;
}
.lead-section::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 300px; height: 300px;
  background: var(--yellow-primary);
  border-radius: 50%;
  opacity: .08;
}
.lead-section::after {
  content: '';
  position: absolute;
  bottom: -80px; left: -80px;
  width: 400px; height: 400px;
  background: var(--yellow-primary);
  border-radius: 50%;
  opacity: .05;
}

.lead-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
  position: relative;
  z-index: 1;
}

.lead-text h2 { color: var(--white); margin-bottom: 16px; }
.lead-text p { color: rgba(255,255,255,.8); font-size: 1rem; margin-bottom: 28px; }

.trust-badges { display: flex; flex-wrap: wrap; gap: 12px; }
.trust-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,.1);
  border: 1px solid rgba(255,255,255,.2);
  color: rgba(255,255,255,.9);
  padding: 8px 14px;
  border-radius: 99px;
  font-size: 0.8rem;
  font-weight: 600;
}
.trust-badge svg { width: 16px; height: 16px; color: var(--yellow-primary); }

.lead-form-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px;
  box-shadow: var(--shadow-lg);
}
.lead-form-card h3 { color: var(--blue-dark); margin-bottom: 20px; font-size: 1.2rem; }

.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-dark);
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius-sm);
  font-family: var(--font-body);
  font-size: 0.9rem;
  color: var(--text-dark);
  background: var(--white);
  transition: var(--transition);
  appearance: none;
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue-primary);
  box-shadow: 0 0 0 3px rgba(21,101,192,.1);
}

.form-group select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24'%3E%3Cpath fill='%231565C0' d='M7 10l5 5 5-5z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  cursor: pointer;
}

.form-submit {
  width: 100%;
  padding: 16px;
  font-size: 1rem;
  border-radius: var(--radius-sm);
  margin-top: 8px;
}

.form-privacy {
  text-align: center;
  color: var(--gray-text);
  font-size: 0.78rem;
  margin-top: 10px;
}

/* ─── STICKY CTA (Landing Pages Cơ sở) ──────── */
.sticky-visit-btn {
  position: fixed;
  top: 88px;
  right: 24px;
  z-index: 900;
  box-shadow: var(--shadow-yellow);
  animation: stickyPulse 2.4s ease-in-out infinite;
}
@keyframes stickyPulse {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}
@media (max-width: 768px) {
  .sticky-visit-btn { display: none; } /* mobile-cta-bar đã đảm nhiệm vai trò này */
}

/* ─── CONTACT INFO CARD (Landing page cơ sở) ── */
.contact-info-card {
  background: var(--gray-light);
  border-radius: var(--radius-lg);
  padding: 32px;
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 40px;
}
.contact-info-list { display: flex; flex-direction: column; gap: 14px; }
.contact-info-list .info-row { display: flex; gap: 12px; align-items: flex-start; font-size: 0.95rem; color: var(--text-body); }
.contact-info-list .info-row svg { width: 20px; height: 20px; color: var(--blue-primary); flex-shrink: 0; margin-top: 2px; }
.contact-info-list .info-row strong { color: var(--text-dark); }
.contact-info-actions { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 16px; }

.ratio-table { width: 100%; border-collapse: collapse; margin-top: 6px; }
.ratio-table td { padding: 8px 0; font-size: 0.9rem; color: var(--text-body); border-bottom: 1px dashed var(--gray-mid); }
.ratio-table td:last-child { text-align: right; font-weight: 800; color: var(--blue-primary); }
.ratio-table tr:last-child td { border-bottom: none; }

/* ─── FOUNDER QUOTE BLOCK ────────────────────── */
.founder-block {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 40px;
  align-items: center;
  background: var(--blue-pale);
  border-radius: var(--radius-lg);
  padding: 40px;
}
.founder-photo {
  width: 100%;
  aspect-ratio: 1/1;
  border-radius: 50%;
  object-fit: cover;
  box-shadow: var(--shadow-md);
  border: 4px solid var(--white);
}
.founder-quote {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-style: italic;
  color: var(--blue-dark);
  line-height: 1.6;
  margin-bottom: 16px;
  position: relative;
}
.founder-name { font-weight: 800; color: var(--text-dark); font-size: 0.95rem; }
.founder-role { color: var(--gray-text); font-size: 0.85rem; }

/* ─── FAQ ACCORDION ──────────────────────────── */
.faq-list { max-width: 800px; margin: 0 auto; display: flex; flex-direction: column; gap: 12px; }
.faq-item {
  background: var(--white);
  border: 1.5px solid var(--gray-mid);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: var(--transition);
}
.faq-item.open { border-color: var(--blue-primary); box-shadow: var(--shadow-sm); }

.faq-question {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  text-align: left;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.98rem;
  color: var(--text-dark);
  background: none;
}
.faq-item.open .faq-question { color: var(--blue-primary); }

.faq-icon {
  flex-shrink: 0;
  width: 28px; height: 28px;
  border-radius: 50%;
  background: var(--blue-pale);
  color: var(--blue-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 1.1rem;
  transition: var(--transition);
}
.faq-item.open .faq-icon { background: var(--blue-primary); color: var(--white); transform: rotate(45deg); }

.faq-answer {
  max-height: 0;
  overflow: hidden;
  transition: max-height .35s ease;
}
.faq-answer-inner { padding: 0 24px 20px; color: var(--gray-text); font-size: 0.92rem; line-height: 1.75; }
.faq-answer-inner ul { margin: 8px 0; padding-left: 4px; list-style: none; }
.faq-answer-inner li { padding-left: 18px; position: relative; margin-bottom: 6px; }
.faq-answer-inner li::before { content: '•'; position: absolute; left: 0; color: var(--blue-primary); font-weight: 800; }
.faq-answer-inner a { color: var(--blue-primary); font-weight: 700; }
.faq-answer-inner a:hover { text-decoration: underline; }

/* ─── GALLERY GRID (Khối không gian) ─────────── */
.campus-gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 160px; gap: 12px; }
.campus-gallery-grid img { width: 100%; height: 100%; object-fit: cover; border-radius: var(--radius-md); transition: var(--transition); }
.campus-gallery-grid img:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }
.campus-gallery-grid .gallery-wide { grid-column: span 2; }
.campus-gallery-grid .gallery-tall { grid-row: span 2; }

/* ─── AUTO-SLIDESHOW (ảnh to bên trái tự chuyển động) ───
   Cách dùng: bọc các ảnh muốn cho chạy trong 1 thẻ có class "autoslide".
   Muốn thêm ảnh mới trong tương lai: chỉ cần copy thêm 1 dòng <img> mới
   vào bên trong khối .autoslide đó trong file HTML - KHÔNG cần sửa CSS/JS này.
   main.js sẽ tự động nhận diện và cho chạy tuần tự tất cả ảnh có trong khối. */
.autoslide { position: relative !important; overflow: hidden; }
.autoslide img {
  position: absolute !important;
  inset: 0 !important;
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  opacity: 0 !important;
  transition: opacity 1.2s ease-in-out, transform .3s ease;
}
.autoslide img.active { opacity: 1 !important; z-index: 1; }
.autoslide img.active:hover { transform: scale(1.03); box-shadow: var(--shadow-md); }

/* ─── PROGRAM SYSTEM CARDS (Hệ đào tạo tại cơ sở) ─ */
.system-mini-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.system-mini-card {
  background: var(--white);
  border: 2px solid var(--gray-mid);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
}
.system-mini-card:hover { border-color: var(--blue-primary); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.system-mini-card h3 { color: var(--blue-dark); margin-bottom: 10px; }
.system-mini-card p { color: var(--gray-text); font-size: 0.9rem; margin-bottom: 16px; }

/* ─── FOOTER ────────────────────────────────── */
.footer {
  background: var(--text-dark);
  color: rgba(255,255,255,.75);
  padding: 60px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr 1.5fr;
  gap: 48px;
  margin-bottom: 48px;
}

.footer-brand img { height: 44px; margin-bottom: 16px; filter: brightness(0) invert(1); }
.footer-brand p { font-size: 0.875rem; line-height: 1.7; margin-bottom: 20px; }

.social-links { display: flex; gap: 10px; }
.social-link {
  width: 36px; height: 36px;
  background: rgba(255,255,255,.1);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  color: rgba(255,255,255,.7);
}
.social-link:hover { background: var(--yellow-primary); color: var(--blue-dark); }
.social-link svg { width: 18px; height: 18px; }

.footer-col h4 {
  color: var(--white);
  font-family: var(--font-body);
  font-size: 0.9rem;
  font-weight: 700;
  margin-bottom: 16px;
  text-transform: uppercase;
  letter-spacing: .05em;
}

.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a {
  font-size: 0.875rem;
  transition: var(--transition);
  color: rgba(255,255,255,.65);
}
.footer-links a:hover { color: var(--yellow-primary); padding-left: 6px; }

.contact-items { display: flex; flex-direction: column; gap: 12px; }
.contact-item {
  display: flex;
  gap: 10px;
  align-items: flex-start;
  font-size: 0.875rem;
}
.contact-item svg { width: 16px; height: 16px; color: var(--yellow-primary); flex-shrink: 0; margin-top: 2px; }

.footer-bottom {
  border-top: 1px solid rgba(255,255,255,.08);
  padding: 20px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  color: rgba(255,255,255,.4);
}

/* ─── MOBILE CTA BAR ────────────────────────── */
.mobile-cta-bar {
  display: none;
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: var(--white);
  padding: 12px 16px;
  box-shadow: 0 -4px 16px rgba(0,0,0,.12);
  z-index: 999;
}
.mobile-cta-bar .btn { width: 100%; justify-content: center; }

/* ─── UTILITY ───────────────────────────────── */
.text-center { text-align: center; }
.text-blue { color: var(--blue-primary); }
.text-yellow { color: var(--yellow-dark); }
.bg-blue-pale { background: var(--blue-pale); }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-32 { margin-top: 32px; }
.mb-0 { margin-bottom: 0; }

/* Fade in animation */
.fade-in {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .6s ease, transform .6s ease;
}
.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── RESPONSIVE ────────────────────────────── */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
  .campus-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
}

@media (max-width: 768px) {
  .section { padding: 56px 0; }

  /* Navbar mobile */
  .nav-menu, .nav-cta { display: none; }
  .nav-menu.open { 
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 72px; left: 0; right: 0;
    background: var(--white);
    padding: 16px;
    border-bottom: 1.5px solid var(--gray-mid);
    box-shadow: var(--shadow-md);
    gap: 4px;
  }
  .nav-hamburger { display: flex; }
  .nav-link { font-size: 1rem; padding: 12px 16px; }
  .dropdown { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 24px; display: none; }
  .nav-item.open .dropdown { display: block; }

  /* Nested submenu on mobile: expands like an accordion under its parent */
  .submenu { position: static; opacity: 1; visibility: visible; transform: none; box-shadow: none; border: none; padding-left: 16px; display: none; min-width: 0; }
  .dropdown-item.has-submenu.open .submenu { display: block; }
  .dropdown-item.has-submenu.open .submenu-caret { transform: rotate(90deg); }

  /* Hero */
  .hero-content-bottom { padding: 40px 0 104px; }
  .hero-filter-card { padding: 24px; }
  .filter-row { grid-template-columns: 1fr; gap: 0; }
  .hero { min-height: 78vh; }

  /* Layouts */
  .dna-grid { grid-template-columns: 1fr; max-width: 480px; margin: 0 auto; }
  .bilingual-grid { grid-template-columns: 1fr; gap: 32px; }
  .bilingual-badge { bottom: -12px; right: 12px; }
  .reviews-grid { grid-template-columns: 1fr; }
  .lead-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-grid { grid-template-columns: 1fr; }
  .calc-grid { grid-template-columns: 1fr; }
  .calculator-wrapper { padding: 28px 20px; }

  /* Mobile CTA bar */
  .mobile-cta-bar { display: block; }
  body { padding-bottom: 72px; }

  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

  /* New campus landing-page components */
  .contact-info-card { grid-template-columns: 1fr; gap: 24px; padding: 24px; }
  .founder-block { grid-template-columns: 1fr; text-align: center; padding: 28px; gap: 20px; }
  .founder-photo { max-width: 160px; margin: 0 auto; }
  .campus-gallery-grid { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 130px; }
  .campus-gallery-grid .gallery-wide { grid-column: span 2; }
}

@media (max-width: 480px) {
  .container { padding: 0 16px; }
  h1 { font-size: 1.75rem; }
  .hero-actions { flex-direction: column; }
  .hero-actions .btn { width: 100%; justify-content: center; }
  .campus-actions { flex-direction: column; }
  .campus-actions .btn { width: 100%; justify-content: center; }
}
