/* ==========================================================================
   KVN.EDU.VN - DESIGN SYSTEM & BRAND TYPOGRAPHY
   Brand Colors: 
   - KVN Cyan Blue: #0091FF (Electric Cyan Blue from Logo)
   - KVN Navy Dark:  #0B2545 (Deep Royal Navy)
   - KVN Ice Light:  #F0F7FF (Soft Background Blue)
   - KVN Accent Amber: #FF9F1C (High-converting CTA Gold)
   ========================================================================== */

:root {
  --kvn-primary: #0091FF;
  --kvn-primary-dark: #0072D1;
  --kvn-primary-light: #4DB3FF;
  --kvn-navy: #0B2545;
  --kvn-navy-dark: #06172E;
  --kvn-navy-light: #163B66;
  --kvn-accent: #FF9F1C;
  --kvn-accent-hover: #E88B0E;
  --kvn-ice: #F0F7FF;
  --kvn-ice-border: #D0E5FF;
  --kvn-slate: #1E293B;
  --kvn-slate-muted: #64748B;
  --kvn-slate-light: #F8FAFC;
  --kvn-white: #FFFFFF;

  --font-main: 'Inter', system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --shadow-sm: 0 2px 8px rgba(0, 145, 255, 0.08);
  --shadow-md: 0 4px 20px rgba(11, 37, 69, 0.08);
  --shadow-lg: 0 12px 32px rgba(0, 145, 255, 0.15);
  --shadow-hover: 0 16px 40px rgba(0, 145, 255, 0.22);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

body, input, select, textarea, button {
  font-family: var(--font-main);
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  background-color: var(--kvn-slate-light);
  color: var(--kvn-slate);
  line-height: 1.6;
  overflow-x: hidden;
}

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

ul {
  list-style: none;
}

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

/* SVG ICON UTILITIES */
.svg-icon {
  width: 1.15em;
  height: 1.15em;
  display: inline-block;
  vertical-align: -0.15em;
  flex-shrink: 0;
}

/* CONTAINERS */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 1.25rem;
}

/* TYPOGRAPHY */
h1, h2, h3, h4, h5, h6 {
  font-weight: 700;
  color: var(--kvn-navy);
  line-height: 1.3;
}

.section-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 1rem;
  background: rgba(0, 145, 255, 0.1);
  color: var(--kvn-primary-dark);
  font-size: 0.875rem;
  font-weight: 600;
  border-radius: var(--radius-full);
  margin-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.section-title {
  font-size: 2.25rem;
  margin-bottom: 1rem;
}

.section-title span {
  color: var(--kvn-primary);
  background: linear-gradient(135deg, var(--kvn-primary) 0%, var(--kvn-navy-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--kvn-slate-muted);
  max-width: 680px;
  margin: 0 auto 2.5rem auto;
}

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

/* BUTTONS */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.75rem;
  font-size: 1rem;
  font-weight: 600;
  border-radius: var(--radius-md);
  border: none;
  cursor: pointer;
  transition: var(--transition);
  box-shadow: var(--shadow-sm);
  white-space: nowrap;
}

.btn-primary {
  background: linear-gradient(135deg, var(--kvn-primary) 0%, var(--kvn-primary-dark) 100%);
  color: var(--kvn-white);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: linear-gradient(135deg, var(--kvn-primary-light) 0%, var(--kvn-primary) 100%);
}

.btn-accent {
  background: linear-gradient(135deg, var(--kvn-accent) 0%, var(--kvn-accent-hover) 100%);
  color: var(--kvn-white);
  box-shadow: 0 4px 15px rgba(255, 159, 28, 0.35);
}

.btn-accent:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 159, 28, 0.45);
}

.btn-outline {
  background: transparent;
  border: 2px solid var(--kvn-primary);
  color: var(--kvn-primary);
}

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

.btn-white {
  background: var(--kvn-white);
  color: var(--kvn-navy);
}

.btn-white:hover {
  background: var(--kvn-ice);
  color: var(--kvn-primary);
}

.btn-sm {
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
}

.btn-lg {
  padding: 1.1rem 2.25rem;
  font-size: 1.125rem;
}

/* TOP BAR */
.top-bar {
  background-color: var(--kvn-navy-dark);
  color: #94A3B8;
  font-size: 0.85rem;
  padding: 0.55rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

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

.top-bar-contact {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.top-bar-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  color: #CBD5E1;
}

.top-bar-item .svg-icon {
  color: var(--kvn-primary);
}

.top-bar-item a:hover {
  color: var(--kvn-primary);
}

.top-bar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.top-bar-socials {
  display: flex;
  gap: 0.5rem;
}

.top-bar-socials a {
  color: #CBD5E1;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
}

.top-bar-socials a .svg-icon {
  width: 14px;
  height: 14px;
}

.top-bar-socials a:hover {
  background: var(--kvn-primary);
  color: var(--kvn-white);
}

/* MAIN HEADER */
.main-header {
  position: sticky;
  top: 0;
  z-index: 1000;
  background: rgba(255, 255, 255, 0.96);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--kvn-ice-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.main-header.scrolled {
  box-shadow: var(--shadow-md);
  background: rgba(255, 255, 255, 0.98);
}

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

/* OFFICIAL LOGO STYLING */
.logo-link {
  display: flex;
  align-items: center;
  text-decoration: none;
  flex-shrink: 0;
  margin-right: 1.5rem;
}

.logo-official-img {
  height: 48px;
  width: auto;
  max-width: 170px;
  object-fit: contain;
  display: block;
}

/* NAVIGATION MENU */
.nav-menu {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  flex-wrap: nowrap;
}

.nav-link {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--kvn-navy);
  padding: 0.75rem 0;
  position: relative;
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 0%;
  height: 3px;
  background: var(--kvn-primary);
  border-radius: 2px;
  transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
  color: var(--kvn-primary);
}

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

/* DROPDOWN MEGA MENU */
.nav-item {
  position: relative;
}

.dropdown-menu {
  position: absolute;
  top: 100%;
  left: -20px;
  width: 260px;
  background: var(--kvn-white);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--kvn-ice-border);
  padding: 0.75rem 0;
  opacity: 0;
  visibility: hidden;
  transform: translateY(10px);
  transition: var(--transition);
  z-index: 1100;
}

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

.dropdown-item {
  padding: 0.65rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--kvn-slate);
}

.dropdown-item .svg-icon {
  color: var(--kvn-primary);
  width: 18px;
  height: 18px;
}

.dropdown-item:hover {
  background: var(--kvn-ice);
  color: var(--kvn-primary-dark);
  padding-left: 1.5rem;
}

/* MOBILE TOGGLE */
.mobile-toggle {
  display: none;
  font-size: 1.5rem;
  color: var(--kvn-navy);
  background: none;
  border: none;
  cursor: pointer;
}

/* HERO SECTION */
.hero-section {
  position: relative;
  background: linear-gradient(135deg, #0B2545 0%, #06172E 100%);
  color: var(--kvn-white);
  padding: 5rem 0 7rem 0;
  overflow: hidden;
}

.hero-bg-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 70% 30%, rgba(0, 145, 255, 0.25) 0%, transparent 60%);
  pointer-events: none;
}

.hero-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.4rem 1.2rem;
  background: rgba(0, 145, 255, 0.2);
  border: 1px solid rgba(0, 145, 255, 0.4);
  border-radius: var(--radius-full);
  color: #70C2FF;
  font-size: 0.875rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
}

.hero-title {
  font-size: 3rem;
  font-weight: 800;
  color: var(--kvn-white);
  line-height: 1.2;
  margin-bottom: 1.25rem;
}

.hero-title span {
  color: var(--kvn-primary);
  background: linear-gradient(135deg, #38B6FF 0%, #0091FF 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-desc {
  font-size: 1.15rem;
  color: #CBD5E1;
  margin-bottom: 2rem;
  line-height: 1.6;
}

.hero-actions {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.hero-media {
  position: relative;
  z-index: 2;
}

.hero-image-wrapper {
  position: relative;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.4);
  border: 3px solid rgba(255, 255, 255, 0.15);
}

.hero-image-wrapper img {
  width: 100%;
  height: 440px;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.hero-image-wrapper:hover img {
  transform: scale(1.03);
}

.hero-floating-card {
  position: absolute;
  bottom: -20px;
  left: -20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  padding: 1.25rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 1rem;
  color: var(--kvn-navy);
  border-left: 4px solid var(--kvn-primary);
}

.hero-floating-card .svg-icon {
  width: 2.2rem;
  height: 2.2rem;
  color: var(--kvn-primary);
}

.hero-floating-card strong {
  font-size: 1.2rem;
  display: block;
}

.hero-floating-card span {
  font-size: 0.85rem;
  color: var(--kvn-slate-muted);
}

/* QUICK SEARCH WIDGET */
.search-widget-wrapper {
  margin-top: -3.5rem;
  position: relative;
  z-index: 10;
  padding-bottom: 4rem;
}

.search-widget {
  background: var(--kvn-white);
  border-radius: var(--radius-lg);
  padding: 1.75rem 2rem;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--kvn-ice-border);
}

.search-widget-title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--kvn-navy);
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.search-widget-title .svg-icon {
  color: var(--kvn-primary);
}

.search-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  align-items: end;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--kvn-slate-muted);
}

.form-select, .form-input {
  padding: 0.75rem 1rem;
  border: 1.5px solid #E2E8F0;
  border-radius: var(--radius-sm);
  font-size: 0.95rem;
  color: var(--kvn-slate);
  background: var(--kvn-white);
  outline: none;
  transition: var(--transition);
}

.form-select:focus, .form-input:focus {
  border-color: var(--kvn-primary);
  box-shadow: 0 0 0 3px rgba(0, 145, 255, 0.15);
}

/* STATS SECTION */
.stats-section {
  padding: 3rem 0;
  background: var(--kvn-white);
  border-bottom: 1px solid var(--kvn-ice-border);
}

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 2rem;
}

.stat-card {
  text-align: center;
  padding: 1.5rem;
  background: var(--kvn-ice);
  border-radius: var(--radius-md);
  border: 1px solid var(--kvn-ice-border);
  transition: var(--transition);
}

.stat-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--kvn-primary-light);
}

.stat-number {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--kvn-primary);
  line-height: 1;
  margin-bottom: 0.5rem;
}

.stat-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--kvn-navy);
}

/* CORE STRENGTHS (WHY CHOOSE KVN) */
.strengths-section {
  padding: 5rem 0;
  background: var(--kvn-slate-light);
}

.strengths-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.75rem;
}

.strength-card {
  background: var(--kvn-white);
  padding: 2rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--kvn-ice-border);
  transition: var(--transition);
  text-align: center;
}

.strength-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--kvn-primary);
}

.strength-icon {
  width: 64px;
  height: 64px;
  background: linear-gradient(135deg, var(--kvn-ice) 0%, #D8ECFF 100%);
  color: var(--kvn-primary);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.25rem auto;
  transition: var(--transition);
}

.strength-icon .svg-icon {
  width: 2rem;
  height: 2rem;
}

.strength-card:hover .strength-icon {
  background: var(--kvn-primary);
  color: var(--kvn-white);
  transform: scale(1.1) rotate(5deg);
}

.strength-title {
  font-size: 1.15rem;
  margin-bottom: 0.75rem;
}

.strength-desc {
  font-size: 0.9rem;
  color: var(--kvn-slate-muted);
}

/* PROGRAMS SECTION */
.programs-section {
  padding: 5rem 0;
  background: var(--kvn-white);
}

.programs-tabs {
  display: flex;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 3rem;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 0.65rem 1.5rem;
  border-radius: var(--radius-full);
  border: 1.5px solid var(--kvn-ice-border);
  background: var(--kvn-ice);
  color: var(--kvn-navy);
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  transition: var(--transition);
}

.tab-btn:hover, .tab-btn.active {
  background: var(--kvn-primary);
  color: var(--kvn-white);
  border-color: var(--kvn-primary);
  box-shadow: 0 4px 15px rgba(0, 145, 255, 0.25);
}

.programs-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.program-card {
  background: var(--kvn-white);
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--kvn-ice-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

.program-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-lg);
  border-color: var(--kvn-primary);
}

.program-image {
  position: relative;
  height: 200px;
  overflow: hidden;
}

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

.program-card:hover .program-image img {
  transform: scale(1.08);
}

.program-tag {
  position: absolute;
  top: 15px;
  right: 15px;
  background: var(--kvn-accent);
  color: var(--kvn-white);
  font-size: 0.75rem;
  font-weight: 700;
  padding: 0.25rem 0.75rem;
  border-radius: var(--radius-full);
  text-transform: uppercase;
}

.program-body {
  padding: 1.5rem;
}

.program-title {
  font-size: 1.25rem;
  margin-bottom: 0.75rem;
}

.program-features {
  margin-bottom: 1.25rem;
}

.program-feature-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--kvn-slate-muted);
  margin-bottom: 0.4rem;
}

.program-feature-item .svg-icon {
  color: var(--kvn-primary);
}

.program-footer {
  padding-top: 1rem;
  border-top: 1px solid #F1F5F9;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.program-price {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--kvn-primary-dark);
}

/* UNIVERSITIES SECTION */
.unis-section {
  padding: 5rem 0;
  background: var(--kvn-ice);
}

.unis-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.uni-card {
  background: var(--kvn-white);
  border-radius: var(--radius-md);
  padding: 1.25rem;
  border: 1px solid var(--kvn-ice-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.uni-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
  border-color: var(--kvn-primary);
}

.uni-badge {
  width: 70px;
  height: 70px;
  background: var(--kvn-ice);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1rem;
  color: var(--kvn-primary);
  border: 2px solid var(--kvn-ice-border);
}

.uni-badge .svg-icon {
  width: 2rem;
  height: 2rem;
}

.uni-name {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
}

.uni-location {
  font-size: 0.85rem;
  color: var(--kvn-slate-muted);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.uni-rank {
  display: inline-block;
  padding: 0.2rem 0.6rem;
  background: #FEF3C7;
  color: #92400E;
  font-size: 0.75rem;
  font-weight: 700;
  border-radius: var(--radius-full);
}

/* COST CALCULATOR SECTION */
.calc-section {
  padding: 5rem 0;
  background: var(--kvn-white);
}

.calc-box {
  background: linear-gradient(135deg, var(--kvn-navy) 0%, var(--kvn-navy-dark) 100%);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--kvn-white);
  box-shadow: var(--shadow-lg);
}

.calc-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 3rem;
  align-items: center;
}

.calc-form .form-group {
  margin-bottom: 1.25rem;
}

.calc-form label {
  color: #CBD5E1;
}

.calc-form .form-select {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  color: var(--kvn-white);
}

.calc-form .form-select option {
  background: var(--kvn-navy-dark);
  color: var(--kvn-white);
}

.calc-result-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-md);
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(10px);
}

.calc-total {
  font-size: 2.75rem;
  font-weight: 800;
  color: var(--kvn-accent);
  margin: 0.75rem 0;
}

.calc-breakdown {
  text-align: left;
  margin-top: 1.5rem;
  padding-top: 1.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.calc-item {
  display: flex;
  justify-content: space-between;
  font-size: 0.95rem;
  margin-bottom: 0.6rem;
  color: #E2E8F0;
}

/* TESTIMONIALS & VISA PROOFS */
.testimonials-section {
  padding: 5rem 0;
  background: var(--kvn-slate-light);
}

.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.testimonial-card {
  background: var(--kvn-white);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--kvn-ice-border);
  position: relative;
}

.testimonial-card::before {
  content: '“';
  position: absolute;
  top: 10px;
  right: 20px;
  font-size: 4rem;
  color: var(--kvn-ice-border);
  font-family: Georgia, serif;
  line-height: 1;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.author-avatar {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--kvn-primary);
}

.author-info h4 {
  font-size: 1rem;
  margin-bottom: 0.1rem;
}

.author-info span {
  font-size: 0.8rem;
  color: var(--kvn-primary);
  font-weight: 600;
}

.testimonial-text {
  font-size: 0.95rem;
  color: var(--kvn-slate);
  font-style: italic;
}

/* LEAD CAPTURE FORM SECTION */
.consultation-section {
  padding: 5rem 0;
  background: linear-gradient(135deg, var(--kvn-primary) 0%, var(--kvn-primary-dark) 100%);
  color: var(--kvn-white);
}

.consultation-box {
  background: var(--kvn-white);
  border-radius: var(--radius-lg);
  padding: 3rem;
  color: var(--kvn-navy);
  box-shadow: var(--shadow-lg);
  max-width: 900px;
  margin: 0 auto;
}

.consultation-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

.full-width {
  grid-column: span 2;
}

/* ARTICLES / NEWS SECTION */
.news-section {
  padding: 5rem 0;
  background: var(--kvn-white);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
}

.news-card {
  background: var(--kvn-white);
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--kvn-ice-border);
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
}

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

.news-image {
  height: 180px;
  overflow: hidden;
}

.news-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-body {
  padding: 1.25rem;
}

.news-meta {
  font-size: 0.8rem;
  color: var(--kvn-slate-muted);
  margin-bottom: 0.5rem;
  display: flex;
  gap: 1rem;
}

.news-meta .svg-icon {
  color: var(--kvn-primary);
}

.news-title {
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  line-height: 1.4;
}

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

/* FOOTER */
.site-footer {
  background: var(--kvn-navy-dark);
  color: #94A3B8;
  padding: 4rem 0 2rem 0;
  font-size: 0.9rem;
}

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

.footer-col h3 {
  color: var(--kvn-white);
  font-size: 1.15rem;
  margin-bottom: 1.25rem;
  position: relative;
  padding-bottom: 0.5rem;
}

.footer-col h3::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 35px;
  height: 2px;
  background: var(--kvn-primary);
}

.footer-links li {
  margin-bottom: 0.6rem;
}

.footer-links a:hover {
  color: var(--kvn-primary);
  padding-left: 0.3rem;
}

.footer-contact-item {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
  color: #CBD5E1;
}

.footer-contact-item .svg-icon {
  color: var(--kvn-primary);
  margin-top: 0.2rem;
}

.footer-bottom {
  padding-top: 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.85rem;
}

/* FLOATING WIDGETS */
.floating-widgets {
  position: fixed;
  bottom: 30px;
  right: 30px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 999;
}

.float-btn {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--kvn-white);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.25);
  transition: var(--transition);
  position: relative;
}

.float-btn .svg-icon {
  width: 1.5rem;
  height: 1.5rem;
}

.float-btn:hover {
  transform: scale(1.1);
}

.float-zalo {
  background: #0068FF;
}

.float-phone {
  background: #22C55E;
  animation: pulse 2s infinite;
}

.float-top {
  background: var(--kvn-navy);
  opacity: 0;
  visibility: hidden;
}

.float-top.show {
  opacity: 1;
  visibility: visible;
}

@keyframes pulse {
  0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.6); }
  70% { box-shadow: 0 0 0 15px rgba(34, 197, 94, 0); }
  100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

/* TOAST NOTIFICATION */
.toast-notification {
  position: fixed;
  top: 20px;
  right: 20px;
  background: var(--kvn-navy-dark);
  color: var(--kvn-white);
  padding: 1rem 1.5rem;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--kvn-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
  z-index: 2000;
  transform: translateX(120%);
  transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast-notification.active {
  transform: translateX(0);
}

/* RESPONSIVE MEDIA QUERIES */
@media (max-width: 1024px) {
  .hero-grid, .calc-grid {
    grid-template-columns: 1fr;
  }
  .search-grid, .stats-grid, .strengths-grid, .unis-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .programs-grid, .testimonials-grid, .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer-grid {
    grid-template-columns: 1fr 1fr;
  }
}

@media (max-width: 768px) {
  .top-bar {
    display: none;
  }
  .nav-menu {
    position: fixed;
    top: 80px;
    left: 0;
    width: 100%;
    background: var(--kvn-white);
    flex-direction: column;
    padding: 2rem;
    box-shadow: var(--shadow-lg);
    display: none;
  }
  .nav-menu.active {
    display: flex;
  }
  .mobile-toggle {
    display: block;
  }
  .hero-title {
    font-size: 2.2rem;
  }
  .search-grid, .stats-grid, .strengths-grid, .programs-grid, .unis-grid, .testimonials-grid, .news-grid {
    grid-template-columns: 1fr;
  }
  .consultation-form-grid {
    grid-template-columns: 1fr;
  }
  .full-width {
    grid-column: span 1;
  }
  .footer-grid {
    grid-template-columns: 1fr;
  }
}

/* PRODUCT DETAIL TABS & ENRICHED DESCRIPTION STYLES */
.pdetail-section { margin-top: 3rem; background: #FFFFFF; border-radius: 16px; border: 1px solid var(--kvn-slate-light); box-shadow: var(--kvn-shadow-md); padding: 2.5rem; }
.pdetail-nav-tabs { display: flex; gap: 1rem; border-bottom: 2px solid var(--kvn-slate-light); margin-bottom: 2rem; overflow-x: auto; padding-bottom: 0.5rem; }
.pdetail-tab-btn { background: none; border: none; font-size: 1.05rem; font-weight: 700; color: var(--kvn-slate-muted); padding: 0.75rem 1.25rem; cursor: pointer; border-bottom: 3px solid transparent; transition: all 0.3s ease; white-space: nowrap; }
.pdetail-tab-btn.active { color: var(--kvn-primary); border-bottom-color: var(--kvn-primary); }
.pdetail-tab-content { display: none; line-height: 1.7; color: var(--kvn-slate-dark); }
.pdetail-tab-content.active { display: block; }
.pdetail-tab-content h3 { font-size: 1.4rem; color: var(--kvn-navy); margin-bottom: 1rem; margin-top: 1.5rem; }
.pdetail-tab-content p { font-size: 0.975rem; margin-bottom: 1rem; color: var(--kvn-slate-muted); }

/* ROADMAP TIMELINE */
.roadmap-steps { display: flex; flex-direction: column; gap: 1.5rem; margin: 1.5rem 0; }
.roadmap-step-card { display: flex; gap: 1.25rem; background: #F8FAFC; padding: 1.25rem 1.5rem; border-radius: 12px; border-left: 4px solid var(--kvn-primary); }
.roadmap-step-num { width: 42px; height: 42px; background: var(--kvn-primary); color: #FFF; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 1.1rem; flex-shrink: 0; }
.roadmap-step-body h4 { font-size: 1.1rem; color: var(--kvn-navy); margin-bottom: 0.35rem; }
.roadmap-step-body p { font-size: 0.9rem; margin-bottom: 0; }

/* FEE BREAKDOWN TABLE */
.fee-table { width: 100%; border-collapse: collapse; margin: 1.5rem 0; }
.fee-table th, .fee-table td { padding: 0.85rem 1.25rem; border: 1px solid var(--kvn-slate-light); text-align: left; font-size: 0.95rem; }
.fee-table th { background: var(--kvn-navy); color: #FFF; font-weight: 700; }
.fee-table tr:nth-child(even) { background: #F8FAFC; }
.fee-table td.price-col { font-weight: 700; color: #DC2626; text-align: right; }

/* FAQ ACCORDION */
.faq-list { display: flex; flex-direction: column; gap: 1rem; margin-top: 1.5rem; }
.faq-item { border: 1px solid var(--kvn-slate-light); border-radius: 12px; overflow: hidden; }
.faq-question { background: #F8FAFC; padding: 1.25rem; font-weight: 700; font-size: 1.05rem; color: var(--kvn-navy); cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-answer { padding: 1.25rem; font-size: 0.95rem; color: var(--kvn-slate-muted); display: none; border-top: 1px solid var(--kvn-slate-light); background: #FFF; }
.faq-item.active .faq-answer { display: block; }

/* FOOTER MAPS GRID */
.footer-maps-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.75rem;
}
@media (max-width: 768px) {
  .footer-maps-grid {
    grid-template-columns: 1fr;
  }
}

/* FACEBOOK GALLERY GRID */
.fb-gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
}
.fb-gallery-item {
  position: relative;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1);
  border: 1px solid #E2E8F0;
  background: #000;
  aspect-ratio: 4 / 3;
}
.fb-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}
.fb-gallery-item:hover img {
  transform: scale(1.06);
}
.fb-gallery-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  background: rgba(15, 23, 42, 0.85);
  backdrop-filter: blur(4px);
  color: #FFFFFF;
  padding: 0.35rem 0.85rem;
  border-radius: 20px;
  font-size: 0.82rem;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, 0.2);
}
@media (max-width: 768px) {
  .fb-gallery-grid {
    grid-template-columns: 1fr;
  }
}

/* GLOBAL MOBILE ANTI-OVERFLOW RULES (320px - 390px Viewports) */
html, body {
  overflow-x: hidden !important;
  max-width: 100vw !important;
}

*, *::before, *::after {
  box-sizing: border-box !important;
}

img, video, iframe, embed {
  max-width: 100% !important;
}

@media (max-width: 480px) {
  .container {
    padding-left: 12px !important;
    padding-right: 12px !important;
    max-width: 100% !important;
  }
  .hero-title {
    font-size: 1.65rem !important;
    line-height: 1.3 !important;
  }
  .product-title {
    font-size: 1.45rem !important;
  }
  .main-price {
    font-size: 1.75rem !important;
  }
  .product-detail-grid, .pdetail-section, .checkout-modal, .consultation-box, .calc-card {
    padding: 1.25rem 0.85rem !important;
    border-radius: 12px !important;
  }
  .fee-table-wrapper {
    overflow-x: auto !important;
    -webkit-overflow-scrolling: touch;
    width: 100% !important;
  }
  .fee-table {
    min-width: 460px;
  }
  .calc-total {
    font-size: 1.65rem !important;
  }
  .top-bar-contact {
    flex-direction: column !important;
    gap: 0.25rem !important;
  }
  .pdetail-nav-tabs {
    flex-direction: column !important;
    gap: 0.5rem !important;
  }
  .pdetail-tab-btn {
    width: 100% !important;
  }
}




