/* ================================================
   Ms Tiên Cambridge – English Planet
   Stylesheet
   ================================================ */

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

/* ---------- ROOT VARIABLES ---------- */
:root {
  --brand-red: #b8352a;
  --brand-red-dark: #93271e;
  --blue: #0a9ee0;
  --blue-dark: #0679ab;
  --blue-light: #e6f6fd;
  --yellow: #ffd23f;
  --yellow-dark: #e8b900;
  --orange: #ff7a45;
  --orange-light: #ffe8dd;
  --green: #36c174;
  --pink: #ff6a9c;
  --purple: #8b5cf6;
  --navy: #0b2545;
  --text: #2b3a4a;
  --text-light: #6b7a8a;
  --bg: #ffffff;
  --bg-soft: #f6fafd;
  --border: #e5edf3;
  --shadow-sm: 0 4px 12px rgba(10, 158, 224, 0.08);
  --shadow-md: 0 10px 30px rgba(10, 158, 224, 0.12);
  --shadow-lg: 0 20px 50px rgba(10, 69, 107, 0.15);
  --radius: 14px;
  --radius-lg: 24px;
  --radius-full: 999px;
  --font: 'Be Vietnam Pro', 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --font-display: 'Poppins', 'Be Vietnam Pro', sans-serif;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --header-height: 78px;
}

/* ---------- BASE ---------- */
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}

body {
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

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

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

ul { list-style: none; }

h1, h2, h3, h4, h5 {
  font-family: var(--font-display);
  color: var(--navy);
  line-height: 1.25;
  font-weight: 700;
}

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

/* ---------- UTILS ---------- */
.text-accent { color: var(--orange); }
.text-yellow { color: var(--yellow); }

.section-tag {
  display: inline-block;
  padding: 6px 16px;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: var(--radius-full);
  font-size: 0.85rem;
  font-weight: 600;
  margin-bottom: 16px;
}
.section-tag.light {
  background: rgba(255,255,255,0.18);
  color: #fff;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.5rem);
  margin-bottom: 14px;
  font-weight: 700;
}
.section-title.light { color: #fff; }

.section-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  max-width: 720px;
  margin: 0 auto;
}

.section-head {
  text-align: center;
  margin-bottom: 50px;
}

/* ---------- BUTTONS ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 26px;
  border-radius: var(--radius-full);
  font-family: var(--font);
  font-weight: 600;
  font-size: 0.95rem;
  border: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
  white-space: nowrap;
  text-align: center;
}
.btn-sm { padding: 9px 18px; font-size: 0.85rem; }
.btn-lg { padding: 15px 32px; font-size: 1rem; }

.btn-primary {
  background: var(--orange);
  color: #fff;
  box-shadow: 0 8px 20px rgba(255,122,69,0.35);
}
.btn-primary:hover {
  background: #ff6a30;
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(255,122,69,0.45);
}

.btn-yellow {
  background: var(--yellow);
  color: var(--navy);
  box-shadow: 0 8px 20px rgba(255,210,63,0.4);
}
.btn-yellow:hover {
  background: var(--yellow-dark);
  transform: translateY(-2px);
}

.btn-outline {
  background: transparent;
  color: var(--blue-dark);
  border-color: var(--blue);
}
.btn-outline:hover {
  background: var(--blue);
  color: #fff;
}

/* ---------- TOP BAR ---------- */
.topbar {
  background: var(--navy);
  color: #dbe5f0;
  font-size: 0.85rem;
  padding: 8px 0;
}
.topbar-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}
.topbar-right { display: flex; gap: 20px; }
.topbar a:hover { color: var(--yellow); }

/* ---------- HEADER ---------- */
.header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: box-shadow var(--transition);
}
.header.scrolled { box-shadow: var(--shadow-md); }

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  min-height: var(--header-height);
  flex-wrap: nowrap;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.logo-img {
  width: 54px;
  height: 54px;
  object-fit: cover;
  border-radius: 12px;
  box-shadow: var(--shadow-sm);
  background: #fff;
  padding: 2px;
  flex-shrink: 0;
}
.logo-img-light {
  background: #fff;
}
.logo-text { display: flex; flex-direction: column; line-height: 1.2; }
.logo-title { font-weight: 800; color: var(--brand-red); font-size: 1.05rem; font-family: var(--font-display); letter-spacing: 0.3px; }
.logo-sub { font-size: 0.72rem; color: var(--text-light); font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; }

.nav ul {
  display: flex;
  gap: 2px;
  white-space: nowrap;
  flex-wrap: nowrap;
}
.nav a {
  display: block;
  padding: 10px 10px;
  font-weight: 500;
  color: var(--text);
  font-size: 0.88rem;
  border-radius: 8px;
  position: relative;
  white-space: nowrap;
}
.nav a:hover {
  color: var(--blue-dark);
  background: var(--blue-light);
}

.header-cta {
  display: flex;
  align-items: center;
  gap: 12px;
}
.btn-hotline {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 6px 14px;
  border-radius: var(--radius-full);
  background: var(--blue-light);
  transition: all var(--transition);
}
.btn-hotline:hover { background: var(--blue); color: #fff; }
.hotline-icon { font-size: 18px; }
.hotline-info { display: flex; flex-direction: column; line-height: 1.15; }
.hotline-info small { font-size: 0.7rem; opacity: 0.75; }
.hotline-info strong { font-size: 0.9rem; font-weight: 700; }

.menu-toggle {
  display: none;
  width: 42px;
  height: 42px;
  border: none;
  background: var(--blue-light);
  border-radius: 10px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 4px;
}
.menu-toggle span {
  display: block;
  width: 22px;
  height: 2.5px;
  background: var(--navy);
  border-radius: 2px;
  transition: all var(--transition);
}
.menu-toggle.active span:nth-child(1) { transform: translateY(6px) rotate(45deg); }
.menu-toggle.active span:nth-child(2) { opacity: 0; }
.menu-toggle.active span:nth-child(3) { transform: translateY(-6px) rotate(-45deg); }

/* ---------- HERO ---------- */
.hero {
  position: relative;
  padding: 70px 0 90px;
  background: linear-gradient(135deg, #eaf7fd 0%, #fff5ec 100%);
  overflow: hidden;
}
.hero-bg-shapes .shape {
  position: absolute;
  border-radius: 50%;
  opacity: 0.4;
  animation: float 8s ease-in-out infinite;
}
.shape-1 { width: 220px; height: 220px; background: #ffd23f55; top: -60px; right: -60px; }
.shape-2 { width: 160px; height: 160px; background: #0a9ee055; bottom: 10%; left: -40px; animation-delay: 2s; }
.shape-3 { width: 100px; height: 100px; background: #ff7a4555; top: 40%; right: 10%; animation-delay: 4s; }
.shape-4 { width: 80px; height: 80px; background: #36c17455; bottom: 15%; right: 30%; animation-delay: 1s; }

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

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

.pill {
  display: inline-block;
  padding: 8px 18px;
  background: #fff;
  color: var(--blue-dark);
  border-radius: var(--radius-full);
  font-weight: 600;
  font-size: 0.85rem;
  margin-bottom: 20px;
  box-shadow: var(--shadow-sm);
}
.hero-text h1 {
  font-size: clamp(2rem, 4.8vw, 3.4rem);
  margin-bottom: 20px;
  font-weight: 800;
}
.hero-desc {
  font-size: 1.05rem;
  color: var(--text-light);
  margin-bottom: 32px;
  max-width: 560px;
}
.hero-cta {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 40px;
}

.hero-stats {
  display: flex;
  gap: 30px;
  flex-wrap: wrap;
  padding-top: 28px;
  border-top: 1px dashed var(--border);
}
.stat {
  display: flex;
  flex-direction: column;
}
.stat strong {
  font-size: 1.8rem;
  color: var(--orange);
  font-family: var(--font-display);
  font-weight: 800;
}
.stat span { font-size: 0.85rem; color: var(--text-light); }

.hero-image-wrap {
  position: relative;
  border-radius: var(--radius-lg);
}
.hero-image-wrap img {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  aspect-ratio: 5 / 4;
  object-fit: cover;
}
.hero-badge {
  position: absolute;
  background: #fff;
  padding: 12px 18px;
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  gap: 12px;
  box-shadow: var(--shadow-md);
  animation: float 6s ease-in-out infinite;
}
.hero-badge strong { display: block; color: var(--navy); font-size: 0.95rem; }
.hero-badge small { color: var(--text-light); font-size: 0.78rem; }
.badge-icon { font-size: 24px; }
.badge-1 { top: 20px; left: -30px; }
.badge-2 { bottom: 30px; right: -20px; animation-delay: 2s; }

/* ---------- FEATURES STRIP ---------- */
.features-strip {
  padding: 50px 0;
  background: #fff;
}
.features-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.feature-item {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 22px;
  border-radius: var(--radius);
  background: var(--bg-soft);
  transition: all var(--transition);
}
.feature-item:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  background: #fff;
}
.feature-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 26px;
  flex-shrink: 0;
}
.bg-blue { background: #d9f0fb; }
.bg-yellow { background: #fff4c8; }
.bg-orange { background: #ffe0d0; }
.bg-green { background: #d3f2e0; }
.feature-item h4 { font-size: 1rem; margin-bottom: 4px; }
.feature-item p { font-size: 0.88rem; color: var(--text-light); margin: 0; }

/* ---------- ABOUT ---------- */
.about {
  padding: 90px 0;
  background: var(--bg-soft);
}
.about-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
}
.about-image-grid {
  position: relative;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.about-image-grid img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  border-radius: var(--radius);
  box-shadow: var(--shadow-md);
}
.ai-1 { grid-row: span 2; aspect-ratio: 0.8 !important; }
.ai-3 { transform: translateY(20px); }
.ai-badge {
  position: absolute;
  bottom: -10px;
  left: -10px;
  background: var(--orange);
  color: #fff;
  padding: 16px 20px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-lg);
  min-width: 170px;
}
.ai-badge strong { font-size: 1.8rem; display: block; font-family: var(--font-display); }
.ai-badge span { font-size: 0.82rem; opacity: 0.95; }

.about-text .section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}
.about-text p.section-desc {
  text-align: left;
  margin: 0 0 30px;
}
.about-list {
  margin-bottom: 32px;
  display: grid;
  gap: 18px;
}
.about-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.check {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-weight: 700;
  font-size: 0.85rem;
}
.about-list strong { color: var(--navy); display: block; margin-bottom: 4px; }
.about-list p { color: var(--text-light); font-size: 0.92rem; margin: 0; }

/* ---------- COURSES ---------- */
.courses {
  padding: 90px 0;
  background: #fff;
}
.course-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.course-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  position: relative;
  overflow: hidden;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.course-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 5px;
  background: var(--blue);
  transition: height var(--transition);
}
.course-card[data-color="blue"]::before { background: var(--blue); }
.course-card[data-color="yellow"]::before { background: var(--yellow); }
.course-card[data-color="orange"]::before { background: var(--orange); }
.course-card[data-color="green"]::before { background: var(--green); }
.course-card[data-color="pink"]::before { background: var(--pink); }
.course-card[data-color="purple"]::before { background: var(--purple); }

.course-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-lg);
  border-color: transparent;
}
.course-card:hover::before { height: 8px; }

.course-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}
.course-emoji {
  width: 60px;
  height: 60px;
  border-radius: 16px;
  background: var(--bg-soft);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 30px;
}
.course-level {
  padding: 4px 12px;
  background: var(--blue-light);
  color: var(--blue-dark);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
}
.course-card h3 {
  font-size: 1.5rem;
  margin-bottom: 4px;
}
.course-age {
  color: var(--orange);
  font-weight: 600;
  font-size: 0.95rem;
  margin-bottom: 18px;
}
.course-body {
  display: grid;
  gap: 10px;
  margin-bottom: 24px;
  flex-grow: 1;
}
.course-body p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin: 0;
}
.course-body strong { color: var(--navy); }
.course-btn {
  display: inline-block;
  color: var(--blue-dark);
  font-weight: 600;
  font-size: 0.92rem;
  padding-top: 16px;
  border-top: 1px dashed var(--border);
  transition: all var(--transition);
}
.course-btn:hover { color: var(--orange); transform: translateX(4px); }

/* ---------- CTA BANNER ---------- */
.cta-banner {
  padding: 60px 0;
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  position: relative;
  overflow: hidden;
}
.cta-banner::before,
.cta-banner::after {
  content: '';
  position: absolute;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
}
.cta-banner::before { width: 300px; height: 300px; top: -100px; right: -100px; }
.cta-banner::after { width: 200px; height: 200px; bottom: -80px; left: 10%; }

.cta-inner {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 30px;
  flex-wrap: wrap;
  position: relative;
  z-index: 1;
}
.cta-text h2 {
  color: #fff;
  font-size: clamp(1.4rem, 2.8vw, 2rem);
  margin-bottom: 6px;
}
.cta-text p {
  color: rgba(255,255,255,0.9);
  margin: 0;
}

/* ---------- PATHWAY ---------- */
.pathway {
  padding: 90px 0;
  background: var(--bg-soft);
  position: relative;
}
.pathway-timeline {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 20px;
  position: relative;
}
.pathway-timeline::before {
  content: '';
  position: absolute;
  top: 28px;
  left: 6%;
  right: 6%;
  height: 3px;
  background: repeating-linear-gradient(90deg, var(--blue) 0 10px, transparent 10px 20px);
  z-index: 0;
}
.pathway-step {
  text-align: center;
  position: relative;
  z-index: 1;
}
.step-num {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid var(--blue);
  color: var(--blue);
  font-weight: 800;
  font-size: 1.2rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
  transition: all var(--transition);
  font-family: var(--font-display);
}
.pathway-step:hover .step-num {
  background: var(--blue);
  color: #fff;
  transform: scale(1.1);
}
.step-card {
  background: #fff;
  padding: 18px 12px;
  border-radius: var(--radius);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.step-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.step-card.highlight {
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: #fff;
}
.step-card.highlight h4 { color: #fff; }
.step-card.highlight p,
.step-card.highlight .step-age { color: rgba(255,255,255,0.92); }
.step-age {
  display: block;
  font-size: 0.78rem;
  color: var(--orange);
  font-weight: 600;
  margin-bottom: 4px;
}
.step-card h4 { font-size: 1.05rem; margin-bottom: 6px; }
.step-card p { font-size: 0.82rem; color: var(--text-light); margin: 0; }

/* ---------- AWARDS / CAMBRIDGE KHIÊN ---------- */
.awards {
  padding: 90px 0;
  background: linear-gradient(180deg, #fff 0%, #fff7e8 100%);
  position: relative;
  overflow: hidden;
}
.awards-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  margin-bottom: 40px;
}
.award-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  border: 2px solid transparent;
  position: relative;
}
.award-card::before {
  content: '🏆';
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 22px;
  z-index: 2;
  filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}
.award-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--yellow);
}
.award-img {
  aspect-ratio: 4 / 3;
  background: linear-gradient(135deg, #fff4c8 0%, #ffe8dd 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}
.award-img::after {
  content: '🎓';
  position: absolute;
  font-size: 60px;
  opacity: 0.35;
}
.award-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: relative;
  z-index: 1;
}
.award-info {
  padding: 16px 18px 20px;
  text-align: center;
}
.award-info h5 {
  font-size: 1rem;
  margin-bottom: 4px;
  color: var(--navy);
}
.award-info p {
  font-size: 0.82rem;
  color: var(--text-light);
  margin: 0 0 10px;
}
.shield-count {
  display: inline-block;
  padding: 5px 14px;
  background: linear-gradient(135deg, var(--orange), var(--yellow));
  color: #fff;
  border-radius: var(--radius-full);
  font-size: 0.78rem;
  font-weight: 700;
  box-shadow: 0 4px 10px rgba(255,122,69,0.3);
}
.awards-cta {
  text-align: center;
}

/* ---------- STUDENT CORNER ---------- */
.student-corner {
  padding: 90px 0;
  background: #fff;
}
.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.gallery-item {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  aspect-ratio: 4 / 3;
}
.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}
.gallery-item:hover { box-shadow: var(--shadow-lg); }
.gallery-item:hover img { transform: scale(1.08); }
.gallery-item figcaption {
  position: absolute;
  left: 0; right: 0; bottom: 0;
  padding: 40px 20px 20px;
  background: linear-gradient(transparent, rgba(11,37,69,0.92));
  color: #fff;
}
.gallery-item figcaption h5 {
  color: #fff;
  font-size: 1rem;
  margin-bottom: 4px;
}
.gallery-item figcaption p {
  font-size: 0.85rem;
  opacity: 0.9;
  margin: 0;
}

/* ---------- TESTIMONIALS ---------- */
.testimonials {
  padding: 90px 0;
  background: var(--bg-soft);
}
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.testimonial-card {
  background: #fff;
  padding: 30px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
  position: relative;
}
.testimonial-card::before {
  content: '"';
  position: absolute;
  top: 10px;
  right: 24px;
  font-size: 80px;
  font-family: Georgia, serif;
  color: var(--blue-light);
  line-height: 1;
}
.testimonial-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-md); }
.t-stars { color: var(--yellow); font-size: 1.1rem; margin-bottom: 14px; }
.testimonial-card > p {
  color: var(--text);
  font-style: italic;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
}
.t-author {
  display: flex;
  align-items: center;
  gap: 12px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
}
.t-avatar {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background-size: cover;
  background-position: center;
  background-color: var(--blue-light);
  flex-shrink: 0;
}
.t-author strong { display: block; color: var(--navy); font-size: 0.95rem; }
.t-author small { color: var(--text-light); font-size: 0.82rem; }

/* ---------- NEWS ---------- */
.news { padding: 90px 0; background: #fff; }
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}
.news-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
  border-color: transparent;
}
.news-img {
  width: 100%;
  aspect-ratio: 16 / 10;
  background-size: cover;
  background-position: center;
  transition: transform 0.5s;
}
.news-card:hover .news-img { transform: scale(1.05); }
.news-body { padding: 22px; flex-grow: 1; display: flex; flex-direction: column; }
.news-tag {
  display: inline-block;
  padding: 4px 12px;
  background: var(--orange-light);
  color: var(--orange);
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 12px;
  align-self: flex-start;
}
.news-card h4 {
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.4;
}
.news-card > .news-body > p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin-bottom: 18px;
  flex-grow: 1;
}
.news-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
  padding-top: 14px;
  border-top: 1px solid var(--border);
}
.news-meta span { color: var(--text-light); }
.news-link {
  color: var(--blue-dark);
  font-weight: 600;
  transition: all var(--transition);
}
.news-link:hover { color: var(--orange); }

/* ---------- REGISTER ---------- */
.register {
  padding: 90px 0;
  background: linear-gradient(135deg, var(--blue-dark) 0%, var(--navy) 100%);
  position: relative;
  overflow: hidden;
}
.register::before {
  content: '';
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(255,210,63,0.08);
  top: -200px;
  right: -200px;
}
.register-inner {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.register-info { color: #fff; }
.register-info .section-title {
  font-size: clamp(1.8rem, 3.5vw, 2.4rem);
}
.register-info > p {
  color: rgba(255,255,255,0.85);
  margin: 16px 0 26px;
}
.register-benefits {
  display: grid;
  gap: 12px;
  margin-bottom: 32px;
}
.register-benefits li {
  color: rgba(255,255,255,0.95);
  font-size: 0.98rem;
}
.register-contact {
  display: flex;
  gap: 24px;
  flex-wrap: wrap;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.15);
}
.register-contact div {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
}
.register-contact span { font-size: 1.3rem; }

/* Form */
.register-form {
  background: #fff;
  padding: 36px;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  position: relative;
}
.register-form h3 {
  font-size: 1.5rem;
  margin-bottom: 22px;
  text-align: center;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.form-group {
  margin-bottom: 16px;
}
.form-group label {
  display: block;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--navy);
  margin-bottom: 6px;
}
.form-group input,
.form-group select {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid var(--border);
  border-radius: 10px;
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text);
  background: #fff;
  transition: all var(--transition);
}
.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: var(--blue);
  box-shadow: 0 0 0 4px rgba(10,158,224,0.12);
}
.form-group input.error,
.form-group select.error {
  border-color: #e74c3c;
}
.form-submit {
  width: 100%;
  margin-top: 6px;
}
.form-note {
  text-align: center;
  font-size: 0.82rem;
  color: var(--text-light);
  margin-top: 12px;
}

.form-success {
  position: absolute;
  inset: 0;
  background: #fff;
  border-radius: var(--radius-lg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 30px;
  text-align: center;
  animation: fadeIn 0.5s;
}
.success-icon {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  background: var(--green);
  color: #fff;
  font-size: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 20px;
  animation: bounceIn 0.6s;
}
.form-success h4 {
  font-size: 1.5rem;
  color: var(--green);
  margin-bottom: 10px;
}
.form-success p {
  color: var(--text-light);
  max-width: 340px;
}

@keyframes fadeIn { from{opacity:0;} to{opacity:1;} }
@keyframes bounceIn {
  0% { transform: scale(0); }
  60% { transform: scale(1.15); }
  100% { transform: scale(1); }
}

/* ---------- FAQ ---------- */
.faq { padding: 90px 0; background: var(--bg-soft); }
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 14px;
}
.faq-item {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  transition: all var(--transition);
  overflow: hidden;
}
.faq-item[open] { box-shadow: var(--shadow-sm); border-color: var(--blue-light); }
.faq-item summary {
  padding: 18px 24px;
  cursor: pointer;
  font-weight: 600;
  color: var(--navy);
  list-style: none;
  position: relative;
  padding-right: 54px;
  transition: color var(--transition);
}
.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after {
  content: '+';
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--blue-light);
  color: var(--blue-dark);
  font-weight: 700;
  font-size: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
}
.faq-item[open] summary::after {
  content: '–';
  background: var(--orange);
  color: #fff;
  transform: translateY(-50%) rotate(180deg);
}
.faq-item summary:hover { color: var(--orange); }
.faq-item p {
  padding: 0 24px 20px;
  color: var(--text-light);
  margin: 0;
}

/* ---------- CONTACT ---------- */
.contact { padding: 90px 0; background: #fff; }
.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 40px;
  align-items: stretch;
}
.contact-info {
  display: grid;
  gap: 16px;
  align-content: start;
}
.info-card {
  display: flex;
  gap: 16px;
  align-items: flex-start;
  padding: 20px;
  background: var(--bg-soft);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.info-card:hover { background: var(--blue-light); transform: translateX(4px); }
.info-icon {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #fff;
  color: var(--blue);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
  box-shadow: var(--shadow-sm);
}
.info-card h5 {
  font-size: 0.95rem;
  color: var(--navy);
  margin-bottom: 4px;
}
.info-card p {
  color: var(--text-light);
  font-size: 0.92rem;
  margin: 0;
}
.info-card a { color: var(--blue-dark); }
.info-card a:hover { color: var(--orange); }

.contact-map {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  min-height: 420px;
}
.contact-map iframe {
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}

/* ---------- FOOTER ---------- */
.footer {
  background: var(--navy);
  color: #b9c6d7;
  padding-top: 70px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 50px;
}
.logo-footer .logo-title,
.logo-footer .logo-sub { color: #fff; }
.footer-col > p {
  font-size: 0.92rem;
  line-height: 1.7;
  margin-top: 16px;
  margin-bottom: 20px;
  color: #b9c6d7;
}
.footer-col h5 {
  color: #fff;
  font-size: 1.05rem;
  margin-bottom: 18px;
  font-weight: 700;
}
.footer-col ul { display: grid; gap: 10px; }
.footer-col a {
  font-size: 0.92rem;
  color: #b9c6d7;
  transition: all var(--transition);
}
.footer-col a:hover { color: var(--yellow); padding-left: 4px; }
.footer-col p {
  font-size: 0.9rem;
  margin-bottom: 10px;
}
.socials {
  display: flex;
  gap: 10px;
}
.socials a {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: rgba(255,255,255,0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  transition: all var(--transition);
}
.socials a:hover {
  background: var(--orange);
  transform: translateY(-3px);
  padding-left: 0;
}
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 22px 0;
  text-align: center;
  font-size: 0.85rem;
}

/* ---------- FLOATING BUTTONS ---------- */
.float-btn {
  position: fixed;
  right: 20px;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  cursor: pointer;
  border: none;
  box-shadow: var(--shadow-md);
  z-index: 90;
  transition: all var(--transition);
}
.float-chat {
  bottom: 20px;
  background: var(--blue);
  color: #fff;
  width: auto;
  padding: 0 20px;
  border-radius: var(--radius-full);
  gap: 8px;
  animation: pulse 2s infinite;
}
.float-chat .float-label { font-size: 0.88rem; font-weight: 600; }
.float-chat:hover { background: var(--blue-dark); transform: translateY(-3px); }

.float-phone {
  bottom: 90px;
  background: var(--green);
  color: #fff;
}
.float-phone:hover { transform: translateY(-3px) scale(1.05); }

.float-top {
  bottom: 150px;
  background: var(--orange);
  color: #fff;
  font-size: 20px;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
}
.float-top.show {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}
.float-top:hover { background: #ff6a30; transform: translateY(-3px); }

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(10,158,224,0.5); }
  50% { box-shadow: 0 0 0 14px rgba(10,158,224,0); }
}

/* ---------- REVEAL ANIMATION ---------- */
.reveal {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 1100px) {
  .nav ul { gap: 0; }
  .nav a { padding: 10px 10px; font-size: 0.9rem; }
  .btn-hotline .hotline-info { display: none; }
}

@media (max-width: 960px) {
  .hero-inner,
  .about-inner,
  .register-inner,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
  .features-grid,
  .course-grid,
  .testimonial-grid,
  .news-grid,
  .gallery { grid-template-columns: repeat(2, 1fr); }
  .awards-grid { grid-template-columns: repeat(3, 1fr); }
  .pathway-timeline {
    grid-template-columns: repeat(3, 1fr);
    gap: 26px;
  }
  .pathway-timeline::before { display: none; }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .menu-toggle { display: flex; }
  .nav {
    position: fixed;
    top: var(--header-height);
    left: 0;
    right: 0;
    background: #fff;
    padding: 10px 20px 24px;
    box-shadow: var(--shadow-md);
    transform: translateY(-140%);
    transition: transform 0.4s ease;
    max-height: calc(100vh - var(--header-height));
    overflow-y: auto;
  }
  .nav.open { transform: translateY(0); }
  .nav ul { flex-direction: column; gap: 4px; }
  .nav a { padding: 12px 14px; font-size: 1rem; border-radius: 10px; }
  .topbar { display: none; }
  .hero-badge { display: none; }
  .ai-3 { transform: none; }
}

@media (max-width: 640px) {
  .hero { padding: 40px 0 60px; }
  .features-grid,
  .course-grid,
  .testimonial-grid,
  .news-grid,
  .gallery,
  .pathway-timeline,
  .footer-grid,
  .form-row { grid-template-columns: 1fr; }
  .about, .courses, .pathway, .student-corner, .testimonials, .news, .faq, .contact { padding: 60px 0; }
  .register { padding: 60px 0; }
  .section-head { margin-bottom: 36px; }
  .hero-cta { flex-direction: column; align-items: stretch; }
  .hero-cta .btn { width: 100%; }
  .hero-stats { gap: 20px; justify-content: space-between; }
  .stat strong { font-size: 1.4rem; }
  .register-form { padding: 24px; }
  .about-image-grid { grid-template-columns: repeat(2, 1fr); }
  .ai-1 { grid-row: auto; aspect-ratio: 1 !important; }
  .logo-title { font-size: 0.92rem; }
  .logo-sub { font-size: 0.68rem; }
  .logo-mark { width: 40px; height: 40px; font-size: 20px; }
  .header-cta .btn-primary { display: none; }
  .btn-hotline { padding: 6px 10px; }
  .cta-inner { flex-direction: column; text-align: center; }
  .float-chat .float-label { display: none; }
  .float-chat { width: 54px; padding: 0; }
}

/* ---------- ACCESSIBILITY ---------- */
:focus-visible {
  outline: 3px solid var(--orange);
  outline-offset: 2px;
  border-radius: 6px;
}
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  .reveal { opacity: 1; transform: none; }
}
