/* =============================================
   EUROSTAR INTERNATIONAL EDUCATION
   Global Design System v2.0
   ============================================= */

/* === RESET & BASE === */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: 'Inter', 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f8fafc;
  color: #1e293b;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 120px; /* header + announcement */
}
body.no-announce { padding-top: 80px; }
img { max-width: 100%; height: auto; display: block; }
a { color: inherit; text-decoration: none; }
button { font-family: inherit; cursor: pointer; }
ul, ol { list-style: none; }

/* === TOKENS === */
:root {
  --primary: #6366f1;
  --primary-dark: #4f46e5;
  --primary-light: #e0e7ff;
  --secondary: #8b5cf6;
  --accent: #06b6d4;
  --success: #10b981;
  --warning: #f59e0b;
  --danger: #ef4444;
  --text: #1e293b;
  --text-secondary: #64748b;
  --text-muted: #94a3b8;
  --border: #e2e8f0;
  --border-dark: #cbd5e1;
  --bg-light: #f8fafc;
  --bg-white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 16px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 32px rgba(0,0,0,0.12);
  --radius: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-sm: 8px;
  --transition: 0.2s ease;
}

/* === ANNOUNCEMENT BAR === */
.announcement-bar {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1010;
  background: linear-gradient(90deg, #4f46e5, #7c3aed);
  color: white;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 500;
}
.announcement-badge {
  background: rgba(255,255,255,0.2);
  padding: 2px 10px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
}
.announcement-link {
  background: white;
  color: #4f46e5;
  padding: 2px 12px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 12px;
  white-space: nowrap;
}
.announcement-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 14px;
  cursor: pointer;
  margin-left: auto;
  padding: 4px;
  line-height: 1;
}

/* === HEADER === */
.site-header {
  position: fixed;
  top: 41px; /* announcement height */
  left: 0; right: 0;
  z-index: 1000;
  background: rgba(255,255,255,0.95);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(226,232,240,0.8);
  transition: box-shadow 0.3s ease;
}
.site-header.scrolled { box-shadow: var(--shadow-md); }
.header-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  height: 72px;
  display: flex;
  align-items: center;
  gap: 32px;
}

/* === BRAND LOGO === */
.brand-logo {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-shrink: 0;
}
.brand-icon { display: flex; align-items: center; }
.brand-text { display: flex; flex-direction: column; line-height: 1.1; }
.brand-name {
  font-weight: 800;
  font-size: 1.1rem;
  color: var(--primary);
  letter-spacing: -0.5px;
}
.brand-tagline {
  font-size: 10px;
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* === DESKTOP NAV === */
.desktop-nav { flex: 1; }
.nav-list { display: flex; align-items: center; gap: 4px; }
.nav-item { position: relative; }
.nav-link {
  display: flex;
  align-items: center;
  gap: 5px;
  padding: 8px 14px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 500;
  color: var(--text-secondary);
  transition: all var(--transition);
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active { background: var(--primary-light); color: var(--primary); }
.nav-arrow { font-size: 10px; transition: transform 0.2s; }
.nav-item:hover .nav-arrow { transform: rotate(180deg); }

/* Dropdown */
.nav-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg), 0 0 0 1px rgba(0,0,0,0.05);
  min-width: 200px;
  z-index: 100;
  animation: dropIn 0.15s ease;
}
.nav-item:hover .nav-dropdown { display: block; }
@keyframes dropIn { from { opacity:0; transform:translateY(-6px); } to { opacity:1; transform:translateY(0); } }
.dropdown-grid { display: grid; grid-template-columns: 1fr 1fr auto; padding: 12px; gap: 0; }
.nav-dropdown.nav-dropdown-sm { min-width: 220px; }
.nav-dropdown.nav-dropdown-sm .dropdown-grid { grid-template-columns: 1fr; }
.dropdown-section { padding: 8px; }
.dropdown-section h4 {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 8px 8px;
}
.dropdown-section a {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--transition);
}
.dropdown-section a:hover { background: var(--primary-light); color: var(--primary); }
.dropdown-section a i { width: 14px; color: var(--primary); }
.dropdown-cta { padding: 8px; }
.dropdown-cta-box {
  background: linear-gradient(135deg, #f0f4ff, #f5f3ff);
  border: 1px solid #e0e7ff;
  border-radius: 12px;
  padding: 16px;
  min-width: 180px;
  text-align: center;
}
.dropdown-cta-icon { font-size: 1.8rem; margin-bottom: 8px; }
.dropdown-cta-box h4 { font-size: 13px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.dropdown-cta-box p { font-size: 12px; color: var(--text-muted); margin-bottom: 10px; }
.btn-sm-primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 6px 14px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
  display: inline-block;
}

/* === GUIDES DROPDOWN (2-column grid) === */
.nav-dropdown.nav-dropdown-guides {
  min-width: 320px;
  padding: 10px;
}
.guides-dropdown-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
}
.guides-dd-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 12px;
  border-radius: 9px;
  text-decoration: none;
  transition: background var(--transition), color var(--transition);
  color: var(--text-secondary);
}
.guides-dd-item:hover {
  background: var(--primary-light);
  color: var(--primary);
}
.guides-dd-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--primary-light);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  font-size: 13px;
  color: var(--primary);
  transition: background var(--transition);
}
.guides-dd-item:hover .guides-dd-icon {
  background: var(--primary);
  color: white;
}
.guides-dd-text {
  font-size: 13px;
  font-weight: 500;
  white-space: nowrap;
}

/* === HEADER ACTIONS === */
.header-actions { display: flex; align-items: center; gap: 8px; margin-left: auto; }
.btn-header-ghost {
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
  background: transparent;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
}
.btn-header-ghost:hover { border-color: var(--primary); color: var(--primary); }
.btn-header-primary {
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  color: white;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  display: flex;
  align-items: center;
  gap: 6px;
  transition: all var(--transition);
  box-shadow: 0 2px 8px rgba(99,102,241,0.3);
}
.btn-header-primary:hover { opacity: 0.9; transform: translateY(-1px); }

/* Mobile Menu Button */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  padding: 8px;
  cursor: pointer;
  border-radius: 8px;
  transition: background var(--transition);
}
.mobile-menu-btn:hover { background: var(--primary-light); }
.mobile-menu-btn span { display: block; width: 22px; height: 2px; background: var(--text); border-radius: 2px; transition: all 0.3s; }

/* === MOBILE NAV === */
.mobile-nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.5);
  z-index: 1100;
}
.mobile-nav {
  position: fixed;
  top: 0;
  right: -320px;
  width: 320px;
  height: 100vh;
  background: white;
  z-index: 1200;
  overflow-y: auto;
  transition: right 0.3s ease;
  box-shadow: var(--shadow-lg);
}
.mobile-nav.open { right: 0; }
.mobile-nav-overlay.visible { display: block; }
.mobile-nav-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
}
.mobile-nav-close { background: none; border: none; font-size: 18px; color: var(--text-muted); }
.mobile-nav-body { padding: 16px; }
.mobile-nav-section { margin-bottom: 20px; }
.mobile-nav-label {
  font-size: 11px;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.8px;
  padding: 4px 8px 8px;
}
.mobile-nav-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 12px;
  border-radius: 8px;
  font-size: 14px;
  color: var(--text-secondary);
  font-weight: 500;
  transition: all var(--transition);
  margin-bottom: 2px;
}
.mobile-nav-link:hover { background: var(--primary-light); color: var(--primary); }
.mobile-nav-link i { color: var(--primary); width: 16px; }
.mobile-nav-cta { padding-top: 12px; border-top: 1px solid var(--border); display: flex; flex-direction: column; gap: 8px; }

/* === CONTAINER === */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
@media(max-width:768px){ .container { padding: 0 16px; } }

/* === SECTION PADDING === */
.section-pad { padding: 80px 0; }
@media(max-width:768px){ .section-pad { padding: 48px 0; } }
.bg-white { background: var(--bg-white); }
.bg-slate { background: var(--bg-light); }

/* === SECTION TYPOGRAPHY === */
.section-eyebrow {
  display: inline-block;
  font-size: 12px;
  font-weight: 700;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 1.2px;
  background: var(--primary-light);
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}
.section-h2 { font-size: 2rem; font-weight: 800; color: var(--text); margin-bottom: 12px; line-height: 1.2; letter-spacing: -0.5px; }
.section-p { font-size: 1.05rem; color: var(--text-secondary); max-width: 600px; line-height: 1.7; }
.section-head { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 40px; gap: 20px; }
.section-head.center { flex-direction: column; align-items: center; text-align: center; }
.section-head.center .section-p { margin: 0 auto; }

/* === PAGE BANNER === */
.page-banner {
  background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
  padding: 48px 0;
  color: white;
}
.page-banner h1 { font-size: 2rem; font-weight: 800; margin: 8px 0; }
.page-banner p { color: rgba(255,255,255,0.8); font-size: 1.05rem; }
.breadcrumb-nav { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.7); margin-bottom: 10px; }
.breadcrumb-nav a { color: rgba(255,255,255,0.7); }
.breadcrumb-nav a:hover { color: white; }
.breadcrumb-nav i { font-size: 10px; }

/* =============================================
   HERO SECTION
   ============================================= */
.hero-section {
  background: linear-gradient(160deg, #fafbff 0%, #f0f4ff 50%, #f5f3ff 100%);
  padding-top: 60px;
  overflow: hidden;
  position: relative;
}
.hero-bg-shapes { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.hero-shape-1 { position: absolute; top: -100px; right: -100px; width: 500px; height: 500px; background: radial-gradient(circle, rgba(99,102,241,0.08) 0%, transparent 70%); border-radius: 50%; }
.hero-shape-2 { position: absolute; bottom: -50px; left: -80px; width: 400px; height: 400px; background: radial-gradient(circle, rgba(139,92,246,0.08) 0%, transparent 70%); border-radius: 50%; }
.hero-shape-3 { position: absolute; top: 30%; right: 15%; width: 200px; height: 200px; background: radial-gradient(circle, rgba(236,72,153,0.05) 0%, transparent 70%); border-radius: 50%; }
.hero-container { max-width: 1280px; margin: 0 auto; padding: 60px 24px 40px; display: grid; grid-template-columns: 1fr 1fr; gap: 64px; align-items: center; position: relative; z-index: 1; }
@media(max-width:900px){ .hero-container { grid-template-columns: 1fr; gap: 40px; } }
.hero-trust-badges { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.trust-badge { display: inline-flex; align-items: center; gap: 6px; font-size: 12px; font-weight: 600; color: var(--primary); background: var(--primary-light); padding: 5px 12px; border-radius: 20px; }
.trust-badge i { font-size: 11px; }
.hero-title { font-size: 2.8rem; font-weight: 900; line-height: 1.15; letter-spacing: -1px; color: var(--text); margin-bottom: 16px; }
@media(max-width:768px){ .hero-title { font-size: 2rem; } }
.hero-gradient-text { background: linear-gradient(135deg, var(--primary), var(--secondary)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-subtitle { font-size: 1.1rem; color: var(--text-secondary); line-height: 1.7; margin-bottom: 28px; }
.hero-ctas { display: flex; gap: 12px; flex-wrap: wrap; margin-bottom: 28px; }
.cta-primary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  box-shadow: 0 4px 20px rgba(99,102,241,0.35);
  transition: all var(--transition);
  position: relative;
}
.cta-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(99,102,241,0.4); }
.cta-badge { background: rgba(255,255,255,0.2); font-size: 11px; padding: 2px 8px; border-radius: 10px; font-weight: 600; }
.cta-secondary {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: white;
  color: var(--primary);
  padding: 14px 24px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 700;
  border: 2px solid var(--border);
  transition: all var(--transition);
}
.cta-secondary:hover { border-color: var(--primary); background: var(--primary-light); transform: translateY(-2px); }
.hero-social-proof { display: flex; align-items: center; gap: 12px; font-size: 13px; color: var(--text-secondary); }
.avatar-stack { display: flex; }
.avatar-item { width: 32px; height: 32px; border-radius: 50%; border: 2px solid white; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; color: white; margin-left: -8px; }
.avatar-item:first-child { margin-left: 0; }
.avatar-more { background: var(--primary); font-size: 11px; }

/* Hero Visual */
.hero-visual-col { position: relative; }
.hero-card-stack { position: relative; }
.hero-university-card {
  background: white;
  border-radius: var(--radius-xl);
  padding: 24px;
  box-shadow: var(--shadow-lg);
  display: flex;
  align-items: center;
  gap: 16px;
}
.uni-card-logo {
  width: 56px;
  height: 56px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 16px;
  flex-shrink: 0;
}
.uni-card-name { font-weight: 700; color: var(--text); font-size: 15px; margin-bottom: 4px; }
.uni-card-rank, .uni-card-location { font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; margin-top: 3px; }
.hero-stat-card {
  background: white;
  border-radius: 14px;
  padding: 16px 20px;
  box-shadow: var(--shadow-md);
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 12px;
}
.main-stat-card { display: flex; margin-bottom: 16px; }
.hero-stat-icon { font-size: 2rem; }
.hero-stat-number { font-size: 1.6rem; font-weight: 900; color: var(--primary); }
.hero-stat-label { font-size: 12px; color: var(--text-muted); }
.floating-card-1 { position: absolute; top: -20px; right: -20px; padding: 12px 16px; }
.floating-card-2 { position: absolute; bottom: 40px; right: -30px; padding: 10px 14px; }
@media(max-width:900px){ .floating-card-1, .floating-card-2 { display: none; } }

/* Hero Stats Bar */
.hero-stats-bar {
  background: white;
  border-top: 1px solid var(--border);
  padding: 20px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: nowrap;
  gap: 0;
  max-width: 1280px;
  margin: 0 auto;
  width: 100%;
}
.hero-stats-bar .hero-container { padding: 0; display: flex; align-items: center; justify-content: space-around; gap: 0; width: 100%; }
.hero-stat-item { text-align: center; padding: 0 24px; flex: 1; }
.hsi-number { font-size: 1.6rem; font-weight: 900; color: var(--primary); letter-spacing: -1px; }
.hsi-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.hero-stat-divider { width: 1px; height: 40px; background: var(--border); flex-shrink: 0; }
@media(max-width:768px){
  .hero-stats-bar { flex-wrap: wrap; padding: 16px 24px; gap: 12px; }
  .hero-stat-item { padding: 8px 12px; flex: 0 0 calc(33.33% - 12px); }
  .hero-stat-divider { display: none; }
}
@media(max-width:480px){
  .hero-stat-item { flex: 0 0 calc(50% - 12px); }
}

/* =============================================
   STEPS FLOW
   ============================================= */
.steps-flow {
  display: flex;
  align-items: flex-start;
  gap: 0;
  position: relative;
}
.step-flow-item { flex: 1; text-align: center; padding: 28px 16px; background: white; border-radius: var(--radius-lg); box-shadow: var(--shadow-sm); position: relative; z-index: 1; }
.step-flow-arrow { display: flex; align-items: center; justify-content: center; color: var(--text-muted); font-size: 18px; padding: 0 8px; flex-shrink: 0; margin-top: 40px; }
.step-flow-num { display: inline-flex; align-items: center; justify-content: center; width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; font-size: 13px; font-weight: 800; margin-bottom: 12px; }
.step-flow-icon { font-size: 2rem; margin-bottom: 10px; }
.step-flow-item h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.step-flow-item p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-bottom: 10px; }
.step-link { font-size: 12px; color: var(--primary); font-weight: 600; }
@media(max-width:768px){
  .steps-flow { flex-direction: column; }
  .step-flow-arrow { transform: rotate(90deg); margin: 0 auto; }
}

/* =============================================
   PROGRAM CARDS
   ============================================= */
.prog-cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}
.prog-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid transparent;
  transition: all var(--transition);
  display: flex;
  flex-direction: column;
  height: 100%;
}
.prog-card:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); transform: translateY(-2px); }
.prog-card-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 14px; }
.prog-badges { display: flex; gap: 6px; flex-wrap: wrap; }
.prog-field-icon { font-size: 1.8rem; flex-shrink: 0; }
.prog-name { font-size: 16px; font-weight: 700; color: var(--text); margin-bottom: 6px; line-height: 1.35; }
.prog-institute { font-size: 12px; color: var(--text-muted); display: flex; align-items: center; gap: 5px; margin-bottom: 10px; }
.prog-details { display: flex; gap: 12px; flex-wrap: wrap; font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.prog-details span { display: flex; align-items: center; gap: 4px; }
.prog-tuition { margin: 12px 0; padding: 10px 14px; background: var(--bg-light); border-radius: 8px; }
.tuition-amount { font-size: 1.1rem; font-weight: 800; color: var(--primary); }
.tuition-period { font-size: 12px; color: var(--text-muted); margin-left: 4px; }
.tuition-tbd { font-size: 13px; color: #b45309; font-style: italic; }
.prog-careers { display: flex; flex-wrap: wrap; gap: 5px; margin: 8px 0; }
.career-tag { font-size: 11px; padding: 3px 8px; border-radius: 20px; background: #f1f5f9; color: #475569; font-weight: 500; }
.prog-card-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: auto;
  padding-top: 14px;
  border-top: 1px solid var(--border);
  font-size: 13px;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}
.prog-card-cta i { transition: transform var(--transition); }
.prog-card:hover .prog-card-cta i { transform: translateX(4px); }

/* Badges */
.badge {
  font-size: 11px;
  font-weight: 600;
  padding: 3px 8px;
  border-radius: 20px;
}
.badge-bachelor { background: #dbeafe; color: #1e40af; }
.badge-specialist { background: #fce7f3; color: #be185d; }
.badge-master { background: #dcfce7; color: #15803d; }
.badge-phd { background: #fef3c7; color: #92400e; }
.badge-lang-english { background: #e0f2fe; color: #0369a1; }
.badge-lang-hybrid { background: #fef3c7; color: #92400e; }
.badge-lang-russian { background: #fee2e2; color: #b91c1c; }
.badge-gold { background: #fef3c7; color: #92400e; }

/* =============================================
   AI BANNER
   ============================================= */
.ai-banner-section { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); padding: 48px 0; }
.ai-banner { display: flex; align-items: center; justify-content: space-between; gap: 32px; flex-wrap: wrap; }
.ai-banner-left { display: flex; align-items: flex-start; gap: 20px; }
.ai-banner-icon { font-size: 3rem; flex-shrink: 0; }
.ai-banner-title { font-size: 1.4rem; font-weight: 800; color: white; margin-bottom: 8px; }
.ai-banner-desc { font-size: 14px; color: rgba(255,255,255,0.8); margin-bottom: 12px; line-height: 1.6; }
.ai-features { display: flex; flex-wrap: wrap; gap: 12px; }
.ai-features span { font-size: 12px; color: rgba(255,255,255,0.9); display: flex; align-items: center; gap: 6px; }
.ai-features i { color: #4ade80; }
.ai-banner-cta {
  background: white;
  color: var(--primary);
  padding: 16px 28px;
  border-radius: 12px;
  font-size: 15px;
  font-weight: 800;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--transition);
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.ai-banner-cta:hover { transform: translateY(-2px); box-shadow: 0 8px 28px rgba(0,0,0,0.25); }

/* =============================================
   WHY / FEATURES GRID
   ============================================= */
.why-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media(max-width:900px){ .why-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:500px){ .why-grid { grid-template-columns: 1fr; } }
.why-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  transition: all var(--transition);
}
.why-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.why-icon { width: 52px; height: 52px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 1.6rem; margin-bottom: 16px; }
.why-card h3 { font-size: 1rem; font-weight: 700; color: var(--text); margin-bottom: 8px; }
.why-card p { font-size: 14px; color: var(--text-secondary); line-height: 1.6; }

/* =============================================
   TESTIMONIALS
   ============================================= */
.testimonials-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media(max-width:900px){ .testimonials-grid { grid-template-columns: 1fr; } }
.testimonial-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 28px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--border);
}
.testimonial-stars { font-size: 13px; margin-bottom: 12px; }
.testimonial-text { font-size: 14px; color: var(--text-secondary); line-height: 1.7; margin-bottom: 16px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 10px; }
.testimonial-avatar { width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: 14px; color: var(--text); }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* =============================================
   GUIDE CARDS
   ============================================= */
.guides-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px; }
@media(max-width:900px){ .guides-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:500px){ .guides-grid { grid-template-columns: 1fr; } }
.guide-card {
  background: white;
  border-radius: var(--radius-lg);
  padding: 24px;
  box-shadow: var(--shadow-sm);
  border: 1.5px solid var(--border);
  transition: all var(--transition);
  display: block;
  text-decoration: none;
}
.guide-card:hover {
  border-color: var(--card-color, var(--primary));
  box-shadow: 0 4px 16px rgba(0,0,0,0.1);
  transform: translateY(-2px);
}
.guide-icon { font-size: 2rem; margin-bottom: 12px; }
.guide-card h3 { font-size: 15px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.guide-card p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }

/* =============================================
   FINAL CTA
   ============================================= */
.final-cta-section { background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%); padding: 80px 0; text-align: center; }
.final-cta-content { max-width: 640px; margin: 0 auto; }
.final-cta-title { font-size: 2rem; font-weight: 900; color: white; margin: 12px 0; line-height: 1.2; }
.final-cta-desc { font-size: 1rem; color: rgba(255,255,255,0.75); margin-bottom: 32px; line-height: 1.7; }
.final-cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.cta-btn-white { background: white; color: var(--primary); padding: 14px 28px; border-radius: 12px; font-weight: 700; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; transition: all var(--transition); }
.cta-btn-white:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.2); }
.cta-btn-ghost { background: rgba(255,255,255,0.1); color: white; padding: 14px 28px; border-radius: 12px; font-weight: 600; font-size: 15px; display: inline-flex; align-items: center; gap: 8px; border: 1.5px solid rgba(255,255,255,0.3); transition: all var(--transition); }
.cta-btn-ghost:hover { background: rgba(255,255,255,0.2); }

/* =============================================
   BUTTONS
   ============================================= */
.btn { display: inline-flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: 8px; font-size: 14px; font-weight: 600; border: none; cursor: pointer; transition: all var(--transition); text-decoration: none; }
.btn-primary { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; box-shadow: 0 2px 8px rgba(99,102,241,0.3); }
.btn-primary:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-outline { background: white; color: var(--primary); border: 2px solid var(--primary-light); }
.btn-outline:hover { background: var(--primary-light); }
.btn-outline-sm { display: inline-flex; align-items: center; gap: 6px; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 600; color: var(--primary); border: 1.5px solid var(--primary-light); background: white; text-decoration: none; white-space: nowrap; }
.btn-outline-sm:hover { background: var(--primary-light); }
.btn-lg { padding: 14px 28px; font-size: 15px; }
.btn-sm { padding: 8px 14px; font-size: 13px; }

/* =============================================
   FOOTER
   ============================================= */
.site-footer { background: #0f172a; color: rgba(255,255,255,0.75); }
.footer-top { padding: 60px 0 40px; }
.footer-top .footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 280px repeat(4, 1fr); gap: 40px; }
@media(max-width:1100px){ .footer-top .footer-inner { grid-template-columns: 1fr 1fr 1fr; } }
@media(max-width:700px){ .footer-top .footer-inner { grid-template-columns: 1fr 1fr; } }
@media(max-width:450px){ .footer-top .footer-inner { grid-template-columns: 1fr; } }
.footer-brand-desc { font-size: 13px; color: rgba(255,255,255,0.55); line-height: 1.7; margin-bottom: 16px; }
.footer-contact { display: flex; flex-direction: column; gap: 8px; margin-bottom: 16px; }
.footer-contact-item { display: flex; align-items: center; gap: 8px; font-size: 13px; color: rgba(255,255,255,0.7); }
.footer-contact-item i { color: var(--primary); width: 16px; }
.footer-social { display: flex; gap: 8px; }
.footer-social a { width: 32px; height: 32px; border-radius: 8px; background: rgba(255,255,255,0.08); display: flex; align-items: center; justify-content: center; color: rgba(255,255,255,0.6); font-size: 14px; transition: all var(--transition); }
.footer-social a:hover { background: var(--primary); color: white; }
.footer-links-col h4 { font-size: 13px; font-weight: 700; color: rgba(255,255,255,0.9); margin-bottom: 16px; }
.footer-links-col ul { display: flex; flex-direction: column; gap: 8px; }
.footer-links-col a { font-size: 13px; color: rgba(255,255,255,0.55); transition: color var(--transition); }
.footer-links-col a:hover { color: white; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,0.08); padding: 20px 0; }
.footer-bottom .footer-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; gap: 16px; flex-wrap: wrap; }
.footer-bottom-left p { font-size: 12px; color: rgba(255,255,255,0.4); }
.footer-disclaimer-text { margin-top: 4px; }
.footer-disclaimer-text a { color: rgba(255,255,255,0.5); }
.footer-bottom-right { display: flex; gap: 16px; align-items: center; }
.footer-cert { display: flex; align-items: center; gap: 6px; font-size: 11px; color: rgba(255,255,255,0.45); }
.footer-cert i { color: var(--success); }

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float { position: fixed; bottom: 24px; left: 24px; z-index: 900; }
.whatsapp-btn {
  width: 52px;
  height: 52px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.4rem;
  box-shadow: 0 4px 16px rgba(37,211,102,0.4);
  transition: all var(--transition);
  position: relative;
}
.whatsapp-btn:hover { transform: scale(1.1); }
.whatsapp-tooltip {
  position: absolute;
  left: 60px;
  top: 50%;
  transform: translateY(-50%);
  background: #333;
  color: white;
  font-size: 12px;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: 8px;
  white-space: nowrap;
  opacity: 0;
  transition: opacity 0.2s;
  pointer-events: none;
}
.whatsapp-btn:hover .whatsapp-tooltip { opacity: 1; }

/* =============================================
   CHATBOT
   ============================================= */
.chatbot-widget { position: fixed; bottom: 24px; right: 24px; z-index: 900; }
.chatbot-toggle {
  width: 52px;
  height: 52px;
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.2rem;
  box-shadow: 0 4px 16px rgba(99,102,241,0.4);
  cursor: pointer;
  transition: all var(--transition);
  position: relative;
}
.chatbot-toggle:hover { transform: scale(1.1); }
.chatbot-badge {
  position: absolute;
  top: -4px;
  right: -4px;
  width: 18px;
  height: 18px;
  background: var(--danger);
  color: white;
  font-size: 10px;
  font-weight: 700;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid white;
}
.chatbot-panel {
  position: absolute;
  bottom: 64px;
  right: 0;
  width: 320px;
  background: white;
  border-radius: 16px;
  box-shadow: 0 8px 40px rgba(0,0,0,0.15);
  overflow: hidden;
  animation: slideUpIn 0.3s ease;
}
@keyframes slideUpIn { from { opacity:0; transform:translateY(10px); } to { opacity:1; transform:translateY(0); } }
.chatbot-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 14px 16px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.chatbot-avatar { font-size: 1.5rem; }
.chatbot-name { color: white; font-weight: 700; font-size: 14px; }
.chatbot-status { display: flex; align-items: center; gap: 5px; font-size: 12px; color: rgba(255,255,255,0.8); }
.online-dot { width: 8px; height: 8px; background: #4ade80; border-radius: 50%; animation: pulse 2s infinite; }
@keyframes pulse { 0%,100%{opacity:1;} 50%{opacity:0.5;} }
.chatbot-messages { padding: 12px; max-height: 240px; overflow-y: auto; display: flex; flex-direction: column; gap: 8px; }
.chatbot-msg { display: flex; }
.msg-bubble { padding: 10px 14px; border-radius: 12px; font-size: 13px; line-height: 1.5; max-width: 80%; }
.bot-msg .msg-bubble { background: #f1f5f9; color: var(--text); border-radius: 4px 12px 12px 12px; }
.user-msg { justify-content: flex-end; }
.user-msg .msg-bubble { background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; border-radius: 12px 4px 12px 12px; }
.chatbot-quick { padding: 0 12px 8px; display: flex; flex-wrap: wrap; gap: 6px; }
.quick-btn { background: #f1f5f9; border: none; padding: 5px 10px; border-radius: 20px; font-size: 12px; font-weight: 500; color: #475569; cursor: pointer; transition: all var(--transition); }
.quick-btn:hover { background: var(--primary-light); color: var(--primary); }
.chatbot-input { display: flex; padding: 10px 12px; border-top: 1px solid var(--border); gap: 8px; }
.chatbot-input input { flex: 1; border: 1.5px solid var(--border); border-radius: 8px; padding: 8px 12px; font-size: 13px; outline: none; }
.chatbot-input input:focus { border-color: var(--primary); }
.chatbot-input button { background: var(--primary); color: white; border: none; border-radius: 8px; width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; cursor: pointer; }

/* =============================================
   OLD PAGE COMPATIBILITY
   ============================================= */
.section { padding: 60px 0; }
.section-light { background: var(--bg-light); }
.section-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.section-header { text-align: center; margin-bottom: 40px; }
.section-label { display: inline-block; font-size: 11px; font-weight: 700; color: var(--primary); text-transform: uppercase; letter-spacing: 1.2px; background: var(--primary-light); padding: 3px 10px; border-radius: 20px; margin-bottom: 8px; }
.section-title { font-size: 1.7rem; font-weight: 800; color: var(--text); margin-bottom: 8px; }
.section-desc { font-size: 1rem; color: var(--text-secondary); max-width: 600px; margin: 0 auto; line-height: 1.7; }
.page-hero { background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%); padding: 48px 24px; text-align: center; }
.page-hero-inner { max-width: 700px; margin: 0 auto; }
.page-hero h1 { font-size: 2rem; font-weight: 800; color: white; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 1rem; }
.breadcrumb { background: #f1f5f9; border-bottom: 1px solid var(--border); }
.breadcrumb-inner { max-width: 1280px; margin: 0 auto; padding: 10px 24px; font-size: 13px; color: var(--text-muted); display: flex; align-items: center; gap: 8px; }
.breadcrumb-inner a { color: var(--primary); }
.breadcrumb-sep { color: var(--text-muted); }
.card { background: white; border-radius: var(--radius-lg); padding: 24px; box-shadow: var(--shadow-sm); }
.cards-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 20px; }
.cards-grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }
@media(max-width:700px){ .cards-grid-2 { grid-template-columns: 1fr; } }
.btn-white { background: white; color: var(--primary); }
.btn-secondary { background: rgba(255,255,255,0.15); color: white; border: 1.5px solid rgba(255,255,255,0.3); }
.icon-boxes { display: grid; grid-template-columns: repeat(auto-fill, minmax(180px, 1fr)); gap: 16px; }
.icon-box { background: white; border-radius: var(--radius); padding: 20px; box-shadow: var(--shadow-sm); text-align: center; border: 1.5px solid transparent; transition: all var(--transition); }
.icon-box:hover { border-color: var(--primary-light); transform: translateY(-2px); }
.icon-box-icon { font-size: 2rem; margin-bottom: 10px; display: block; }
.icon-box h3 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 6px; }
.icon-box p { font-size: 12px; color: var(--text-secondary); margin-bottom: 8px; }
.icon-box span { font-size: 12px; color: var(--primary); font-weight: 600; }
.cta-section { background: linear-gradient(135deg, #4f46e5, #7c3aed); padding: 60px 24px; text-align: center; }
.cta-section h2 { color: white; font-size: 1.8rem; margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.8); margin-bottom: 24px; max-width: 600px; margin: 0 auto 24px; }
.cta-actions { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; }
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid var(--border); }
.step-item:last-child { border-bottom: none; }
.step-number { width: 32px; height: 32px; background: linear-gradient(135deg, var(--primary), var(--secondary)); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 800; font-size: 14px; flex-shrink: 0; }
.step-content h4 { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 4px; }
.step-content p { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.faq-list { display: flex; flex-direction: column; gap: 0; }
.faq-item { border-bottom: 1px solid var(--border); }
.faq-q { padding: 16px 0; font-weight: 600; font-size: 15px; cursor: pointer; display: flex; justify-content: space-between; align-items: center; }
.faq-arrow { color: var(--text-muted); font-size: 12px; transition: transform 0.2s; }
.faq-item.open .faq-arrow { transform: rotate(180deg); }
.faq-a { padding: 0 0 16px; font-size: 14px; color: var(--text-secondary); line-height: 1.7; display: none; }
.faq-item.open .faq-a { display: block; }
.source-block { display: flex; align-items: center; gap: 6px; font-size: 12px; color: var(--text-muted); margin-top: 10px; background: var(--bg-light); padding: 6px 10px; border-radius: 6px; }
.source-block a { color: var(--primary); }

/* Checklist Component */
.checklist { display: flex; flex-direction: column; gap: 10px; }
.check-item { display: flex; align-items: flex-start; gap: 12px; padding: 12px 14px; border-radius: 10px; background: #f8fafc; border: 1px solid var(--border); }
.check-icon { width: 24px; height: 24px; border-radius: 50%; background: var(--success); color: white; display: flex; align-items: center; justify-content: center; font-size: 12px; font-weight: 700; flex-shrink: 0; }
.check-content { flex: 1; }
.check-content strong { display: block; font-size: 14px; font-weight: 600; color: var(--text); margin-bottom: 2px; }
.check-content span { font-size: 13px; color: var(--text-secondary); }
.warning-box { display: flex; gap: 10px; padding: 12px 14px; border-radius: 8px; background: #fff7ed; border-left: 3px solid var(--warning); margin: 12px 0; font-size: 13px; }
.warning-icon { font-size: 16px; flex-shrink: 0; }
.warning-content p { color: #92400e; margin: 0; line-height: 1.5; }
.warning-content a { color: var(--primary); }
.program-badge { font-size: 11px; padding: 3px 8px; border-radius: 20px; font-weight: 600; }
.badge-verified { background: #dcfce7; color: #15803d; }
.program-card { transition: all var(--transition); }
.program-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.program-title { font-size: 15px; font-weight: 700; margin-bottom: 6px; }
.program-meta { display: flex; gap: 12px; font-size: 12px; color: var(--text-muted); margin-bottom: 10px; flex-wrap: wrap; }
.meta-item { display: flex; align-items: center; gap: 4px; }
.program-fee { font-size: 1.1rem; font-weight: 800; color: var(--primary); margin: 10px 0; }
.program-fee small { font-size: 12px; color: var(--text-muted); font-weight: 400; margin-left: 4px; }
.fee-warning { font-size: 12px; color: #b45309; background: #fef9c3; padding: 5px 10px; border-radius: 5px; margin: 6px 0; }
.program-link { display: flex; align-items: center; justify-content: space-between; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--border); font-size: 13px; font-weight: 600; color: var(--primary); }
.ranking-badge { font-size: 12px; padding: 3px 8px; border-radius: 20px; font-weight: 600; }
.ranking-qs { background: #e0e7ff; color: #3730a3; }
.ranking-the { background: #fce7f3; color: #be185d; }
.trust-banner { background: #1e293b; padding: 10px 24px; overflow-x: auto; }
.trust-banner-inner { display: flex; align-items: center; gap: 12px; max-width: 1280px; margin: 0 auto; white-space: nowrap; justify-content: center; }
.trust-item { font-size: 12px; color: rgba(255,255,255,0.8); display: flex; align-items: center; gap: 5px; }
.trust-sep { color: rgba(255,255,255,0.3); }

/* =============================================
   RESPONSIVE
   ============================================= */
@media(max-width:1100px){
  .desktop-nav { display: none; }
  .mobile-menu-btn { display: flex; }
  .btn-header-ghost { display: none; }
}
@media(max-width:768px){
  body { padding-top: 105px; }
  .hero-container { padding: 40px 16px 24px; }
  .section-h2 { font-size: 1.5rem; }
  .final-cta-title { font-size: 1.5rem; }
}

/* =============================================
   CALCULATOR PAGE
   ============================================= */

/* Hero */
.calc-page-hero {
  background: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #4c1d95 100%);
  padding: 48px 0 40px;
}
.calc-page-hero-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 0 24px;
  text-align: center;
}
.calc-hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(255,255,255,0.12);
  color: rgba(255,255,255,0.9);
  font-size: 12px;
  font-weight: 600;
  padding: 5px 14px;
  border-radius: 20px;
  border: 1px solid rgba(255,255,255,0.2);
  margin-bottom: 16px;
}
.calc-hero-title {
  font-size: 2rem;
  font-weight: 900;
  color: white;
  margin-bottom: 12px;
  letter-spacing: -0.5px;
}
.calc-hero-desc {
  font-size: 1rem;
  color: rgba(255,255,255,0.7);
  max-width: 560px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.calc-hero-stats {
  display: inline-flex;
  align-items: center;
  gap: 24px;
  background: rgba(255,255,255,0.1);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 14px;
  padding: 12px 28px;
}
.calc-hero-stat { text-align: center; }
.calc-hero-stat-val {
  display: block;
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
}
.calc-hero-stat-label {
  font-size: 11px;
  color: rgba(255,255,255,0.6);
  margin-top: 2px;
}
.calc-hero-stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(255,255,255,0.2);
}

/* Warning Banner */
.calc-warning-banner {
  background: #fffbeb;
  border-bottom: 2px solid #fbbf24;
}
.calc-warning-inner {
  max-width: 1280px;
  margin: 0 auto;
  padding: 16px 24px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
}
.calc-warning-icon {
  width: 36px;
  height: 36px;
  background: #fef3c7;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
  font-size: 16px;
  flex-shrink: 0;
  margin-top: 2px;
}
.calc-warning-texts strong {
  font-size: 14px;
  font-weight: 700;
  color: #92400e;
  display: block;
  margin-bottom: 6px;
}
.calc-warning-texts ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.calc-warning-texts li {
  font-size: 13px;
  color: #78350f;
  line-height: 1.5;
}
.warn-tag { font-size: 12px; }

/* Main section */
.calc-main-section { background: var(--bg-light); padding: 40px 0 60px; }
.calc-main-inner { max-width: 1280px; margin: 0 auto; padding: 0 24px; }
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: start;
}
@media(max-width: 960px) {
  .calc-layout { grid-template-columns: 1fr; }
}

/* Calculator Panel */
.calc-panel {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  overflow: hidden;
  position: sticky;
  top: 100px;
}
.calc-panel-header {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  padding: 20px 24px;
  display: flex;
  align-items: center;
  gap: 14px;
}
.calc-panel-icon {
  width: 44px;
  height: 44px;
  background: rgba(255,255,255,0.2);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 18px;
  flex-shrink: 0;
}
.calc-panel-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: white;
  margin-bottom: 3px;
}
.calc-panel-desc {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
}

.calc-selects-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
  padding: 20px 20px 0;
}
.calc-field { display: flex; flex-direction: column; gap: 6px; }
.calc-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 5px;
}
.calc-label i { color: var(--primary); width: 12px; }
.calc-select-wrap { position: relative; }
.calc-select {
  width: 100%;
  padding: 9px 12px;
  border: 1.5px solid var(--border);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  color: var(--text);
  background: white;
  cursor: pointer;
  transition: border-color var(--transition);
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' fill='none'%3E%3Cpath d='M1 1l4 4 4-4' stroke='%236b7280' stroke-width='1.5' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.calc-select:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(99,102,241,0.12);
}

/* Dorm warning inline */
.calc-dorm-warn {
  margin: 14px 20px 0;
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 10px;
  padding: 12px 14px;
  display: flex;
  gap: 10px;
  font-size: 13px;
  color: #92400e;
  align-items: flex-start;
}
.calc-dorm-warn i { color: #f59e0b; margin-top: 2px; flex-shrink: 0; }
.calc-dorm-warn strong { display: block; font-weight: 700; margin-bottom: 3px; }
.calc-dorm-warn a { color: var(--primary); font-weight: 600; }

/* Results */
.calc-results {
  margin: 16px 20px 20px;
  background: var(--bg-light);
  border-radius: 12px;
  overflow: hidden;
}
.calc-results-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: white;
  border-bottom: 1px solid var(--border);
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}
.calc-results-header i { color: var(--primary); }

.calc-breakdown {
  padding: 8px 16px 4px;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.calc-breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 8px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
}
.calc-breakdown-item:last-child { border-bottom: none; }
.calc-breakdown-label {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.calc-breakdown-label i { color: var(--text-muted); width: 14px; font-size: 12px; }
.calc-breakdown-value { font-weight: 700; color: var(--text); font-size: 13px; }
.calc-breakdown-divider {
  height: 1px;
  background: var(--border);
  margin: 4px 0;
}

.calc-totals {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  padding: 12px 16px;
}
.calc-total-card {
  border-radius: 10px;
  padding: 12px 14px;
  text-align: center;
}
.calc-total-card.primary {
  background: linear-gradient(135deg, var(--primary), var(--secondary));
  color: white;
}
.calc-total-card.secondary {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  color: white;
}
.calc-total-card-label {
  font-size: 11px;
  font-weight: 600;
  opacity: 0.8;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 6px;
}
.calc-total-card-amount {
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: -0.5px;
  margin-bottom: 4px;
}
.calc-total-card-sub {
  font-size: 12px;
  opacity: 0.75;
}

.calc-disclaimer-text {
  margin: 0 16px 16px;
  font-size: 12px;
  color: var(--text-muted);
  line-height: 1.6;
  display: flex;
  gap: 6px;
  align-items: flex-start;
}
.calc-disclaimer-text i { color: var(--primary); margin-top: 2px; flex-shrink: 0; }

/* Tables Column */
.calc-tables-col { display: flex; flex-direction: column; gap: 20px; }
.calc-table-card {
  background: white;
  border-radius: 16px;
  box-shadow: 0 2px 16px rgba(0,0,0,0.07);
  overflow: hidden;
}
.calc-table-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  gap: 12px;
}
.calc-table-card-icon {
  width: 40px;
  height: 40px;
  background: var(--primary-light);
  color: var(--primary);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  flex-shrink: 0;
}
.calc-table-card-title {
  font-size: 15px;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 2px;
}
.calc-table-card-sub {
  font-size: 12px;
  color: var(--text-muted);
}
.calc-table-card-sub.warning-sub { color: #d97706; }

/* Fee Comparison Table */
.fee-comparison-table { padding: 0 20px 4px; }
.fee-table-head {
  display: grid;
  grid-template-columns: 1fr 56px 110px 52px;
  padding: 8px 10px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  margin-bottom: 4px;
}
.fee-table-row {
  display: grid;
  grid-template-columns: 1fr 56px 110px 52px;
  align-items: center;
  padding: 10px 10px;
  border-radius: 8px;
  transition: background var(--transition);
  cursor: default;
}
.fee-table-row:hover { background: var(--bg-light); }
.fee-table-row.active-row {
  background: var(--primary-light);
  border: 1.5px solid var(--primary);
}
.fee-prog-name { display: flex; flex-direction: column; gap: 2px; }
.fee-prog-name strong { font-size: 13px; color: var(--text); }
.fee-prog-lang {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 3px;
}
.fee-duration { font-size: 13px; color: var(--text-secondary); font-weight: 500; }
.fee-amount { font-size: 13px; font-weight: 700; color: var(--text); }
.fee-status {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}
.fee-status.verified { background: #dcfce7; color: #16a34a; }
.fee-status.unverified { background: #fef3c7; color: #d97706; }
.fee-legend {
  display: flex;
  gap: 16px;
  padding: 10px 20px 12px;
  font-size: 12px;
  color: var(--text-muted);
  border-top: 1px solid var(--border);
  margin-top: 4px;
}
.fee-legend-item { display: flex; align-items: center; gap: 5px; }
.calc-source {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 12px;
  color: var(--text-muted);
  padding: 8px 20px 16px;
}
.calc-source i { color: var(--primary); }
.calc-source a { color: var(--primary); font-weight: 600; }

/* Living Cost Grid */
.living-cost-grid { padding: 8px 20px 16px; }
.living-cost-head {
  display: grid;
  grid-template-columns: 1fr 80px 80px 80px;
  padding: 6px 8px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.6px;
  color: var(--text-muted);
  border-bottom: 2px solid var(--border);
  margin-bottom: 4px;
}
.living-cost-row {
  display: grid;
  grid-template-columns: 1fr 80px 80px 80px;
  align-items: center;
  padding: 8px 8px;
  border-radius: 6px;
  font-size: 13px;
  transition: background var(--transition);
}
.living-cost-row:hover { background: var(--bg-light); }
.living-cost-row span:first-child {
  color: var(--text-secondary);
  display: flex;
  align-items: center;
  gap: 6px;
}
.living-cost-row span:first-child i { color: var(--primary); width: 14px; font-size: 12px; }
.living-cost-row span { color: var(--text-secondary); font-weight: 500; }
.living-cost-row span.highlight {
  color: var(--primary);
  font-weight: 700;
  background: var(--primary-light);
  border-radius: 6px;
  padding: 2px 6px;
  text-align: center;
}
.living-cost-row.total-row {
  background: var(--bg-light);
  border-top: 2px solid var(--border);
  margin-top: 4px;
}
.living-cost-row.total-row span { color: var(--text); }
.living-cost-row.total-row span.highlight { color: var(--primary); }

/* One-Time Costs */
.onetime-list { padding: 8px 20px 16px; display: flex; flex-direction: column; gap: 0; }
.onetime-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 0;
  border-bottom: 1px dashed var(--border);
  font-size: 13px;
}
.onetime-item:last-child { border-bottom: none; }
.onetime-label { color: var(--text-secondary); display: flex; align-items: center; gap: 7px; }
.onetime-label i { color: var(--primary); width: 14px; font-size: 12px; }
.onetime-value { font-weight: 700; color: var(--text); }
.onetime-total {
  display: flex;
  justify-content: space-between;
  padding: 12px 0 0;
  margin-top: 8px;
  border-top: 2px solid var(--border);
  font-size: 14px;
  font-weight: 700;
  color: var(--text);
}
.onetime-total span:last-child { color: var(--primary); }

/* Transfer Warning */
.calc-transfer-warn {
  background: #fff7ed;
  border: 1px solid #fed7aa;
  border-radius: 14px;
  padding: 18px 20px;
  display: flex;
  gap: 14px;
  align-items: flex-start;
  margin-top: 28px;
}
.calc-transfer-warn-icon {
  width: 42px;
  height: 42px;
  background: #fef3c7;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #d97706;
  font-size: 18px;
  flex-shrink: 0;
}
.calc-transfer-warn-content strong {
  font-size: 14px;
  font-weight: 700;
  color: #92400e;
  display: block;
  margin-bottom: 6px;
}
.calc-transfer-warn-content p { font-size: 13px; color: #78350f; line-height: 1.6; }
.calc-transfer-warn-content a { color: var(--primary); font-weight: 600; }

@media(max-width: 640px) {
  .calc-hero-stats { flex-wrap: wrap; gap: 16px; padding: 12px 16px; }
  .calc-hero-stat-divider { display: none; }
  .calc-selects-grid { grid-template-columns: 1fr; }
  .calc-totals { grid-template-columns: 1fr; }
  .fee-table-head, .fee-table-row { grid-template-columns: 1fr 50px 90px 40px; }
  .living-cost-head, .living-cost-row { grid-template-columns: 1fr 70px 70px 70px; }
  .calc-hero-title { font-size: 1.5rem; }
}

/* =============================================
   PROGRAM PAGES — FIELD COLOR TOKENS
   ============================================= */
:root {
  --field-medicine-color:    #dc2626;
  --field-medicine-bg:       #fef2f2;
  --field-engineering-color: #6366f1;
  --field-engineering-bg:    #eef2ff;
  --field-business-color:    #0891b2;
  --field-business-bg:       #ecfeff;
  --field-law-color:         #7c3aed;
  --field-law-bg:            #f5f3ff;
  --field-social-color:      #1d4ed8;
  --field-social-bg:         #eff6ff;
  --field-science-color:     #0d9488;
  --field-science-bg:        #f0fdfa;
  --field-humanities-color:  #db2777;
  --field-humanities-bg:     #fdf2f8;
}

/* ── PROGRAMS LISTING — page-banner ── */
.page-banner {
  background: linear-gradient(135deg, #4338ca 0%, #7c3aed 100%);
  padding: 36px 0 28px;
}
.page-banner .breadcrumb-nav {
  display: flex; align-items: center; gap: 6px;
  font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 12px;
}
.page-banner .breadcrumb-nav a { color: rgba(255,255,255,0.75); }
.page-banner h1 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.page-banner p  { color: rgba(255,255,255,0.75); font-size: 15px; }

/* ── Badge variants for programs ── */
.badge-bachelor   { background: #e0f2fe; color: #0369a1; }
.badge-specialist { background: #ede9fe; color: #7c3aed; }
.badge-master     { background: #d1fae5; color: #047857; }
.badge-phd        { background: #fef3c7; color: #92400e; }
.badge-english    { background: #e0f2fe; color: #0369a1; }
.badge-hybrid     { background: #fff7ed; color: #92400e; }
.badge-russian    { background: #f0fdf4; color: #166534; }

/* ── prog-card-wrap (legacy compat) ── */
.prog-cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}
@media(max-width:1100px){ .prog-cards-grid { grid-template-columns: repeat(2,1fr); } }
@media(max-width:640px){  .prog-cards-grid { grid-template-columns: 1fr; } }

/* ── section-pad ── */
.section-pad { padding: 40px 0 64px; }

/* =============================================
   SCROLL TO TOP BUTTON
   ============================================= */
.scroll-top-btn {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 42px;
  height: 42px;
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  box-shadow: 0 2px 12px rgba(0,0,0,0.1);
  color: #475569;
  font-size: 14px;
  z-index: 998;
  opacity: 0;
  transform: translateY(16px);
  transition: opacity 0.3s, transform 0.3s, background 0.2s;
  pointer-events: none;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}
.scroll-top-btn:hover {
  background: #6366f1;
  border-color: #6366f1;
  color: white;
}

/* =============================================
   WHATSAPP FLOAT - IMPROVED
   ============================================= */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}
.whatsapp-btn {
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-size: 1.6rem;
  box-shadow: 0 4px 20px rgba(37,211,102,0.4);
  text-decoration: none;
  position: relative;
  z-index: 2;
  transition: transform 0.2s, box-shadow 0.2s;
}
.whatsapp-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 24px rgba(37,211,102,0.5);
}
.wa-pulse-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2px solid #25d366;
  animation: waPulse 2.5s infinite;
}
@keyframes waPulse {
  0%   { transform: scale(1);   opacity: 0.7; }
  70%  { transform: scale(1.5); opacity: 0; }
  100% { transform: scale(1.5); opacity: 0; }
}
.wa-bubble {
  position: absolute;
  bottom: 68px;
  right: 0;
  background: white;
  border-radius: 12px 12px 4px 12px;
  padding: 10px 14px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.12);
  white-space: nowrap;
  font-size: 13px;
  font-weight: 600;
  color: #1e293b;
  pointer-events: none;
  opacity: 0;
  transform: translateY(8px);
  transition: opacity 0.3s, transform 0.3s;
  min-width: 170px;
  text-align: left;
}
.wa-bubble span { font-size: 11px; color: #64748b; font-weight: 400; display: block; margin-top: 2px; }
.wa-bubble-arrow {
  position: absolute;
  bottom: -8px;
  right: 18px;
  width: 16px;
  height: 8px;
  background: white;
  clip-path: polygon(0 0, 100% 0, 50% 100%);
}
.whatsapp-float:hover .wa-bubble {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   HEADER SCROLL EFFECT
   ============================================= */
.site-header.scrolled {
  box-shadow: 0 2px 20px rgba(0,0,0,0.1);
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(10px);
}

/* =============================================
   COUNTER ANIMATION
   ============================================= */
.count-up { transition: all 0.5s; }

/* =============================================
   ANNOUNCEMENT BAR STICKY
   ============================================= */
.announcement-bar {
  background: linear-gradient(90deg, #4f46e5, #7c3aed, #ec4899);
  background-size: 200% 100%;
  animation: gradShift 8s ease infinite;
}
@keyframes gradShift {
  0%   { background-position: 0% 50%; }
  50%  { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* =============================================
   PAGE TRANSITIONS
   ============================================= */
main { animation: pageIn 0.3s ease; }
@keyframes pageIn { from { opacity:0; transform:translateY(6px); } to { opacity:1; transform:translateY(0); } }

/* =============================================
   IMPROVED CARD HOVER
   ============================================= */
.card:hover { transition: box-shadow 0.2s; }

/* =============================================
   FOCUS VISIBLE ACCESSIBILITY
   ============================================= */
a:focus-visible, button:focus-visible, input:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* =============================================
   MOBILE IMPROVEMENTS v3.0
   ============================================= */

/* Mobile body padding fix */
@media(max-width: 768px) {
  body { padding-top: 100px; }

  /* Announcement bar wrap text */
  .announcement-bar {
    font-size: 12px;
    padding: 8px 12px;
    gap: 6px;
    flex-wrap: wrap;
    justify-content: center;
  }
  .announcement-inner { text-align: center; flex-wrap: wrap; justify-content: center; gap: 6px; }

  /* Header mobile */
  .site-header { top: 36px; }
  .header-inner { padding: 0 16px; height: 56px; }

  /* Hero mobile */
  .hero-section { padding: 32px 0 0; }
  .hero-container { flex-direction: column; gap: 24px; padding: 0 16px; }
  .hero-title { font-size: clamp(1.6rem, 5vw, 2.4rem) !important; }
  .hero-subtitle { font-size: 0.95rem !important; }
  .hero-ctas { flex-direction: column; gap: 12px; }
  .hero-visual-col { display: none; }
  .hero-stats-bar { gap: 12px; padding: 16px; flex-wrap: wrap; justify-content: center; }
  .hero-stat-divider { display: none; }
  .hero-stat-item { min-width: 80px; text-align: center; }

  /* Steps flow mobile */
  .steps-flow { flex-direction: column; gap: 16px; }
  .step-flow-arrow { transform: rotate(90deg); align-self: center; }

  /* Program cards mobile */
  .prog-cards-grid { grid-template-columns: 1fr; }
  .prog-card { margin: 0; }

  /* Why grid mobile */
  .why-grid { grid-template-columns: 1fr; }

  /* Guides grid mobile */
  .guides-grid { grid-template-columns: repeat(2, 1fr); }

  /* Container padding */
  .container { padding: 0 16px; }

  /* Section padding */
  .section-pad { padding: 32px 0 40px; }

  /* Footer mobile */
  .footer-top .footer-inner { flex-direction: column; gap: 32px; padding: 32px 16px; }
  .footer-links-col { min-width: 0; }
  .footer-bottom .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .footer-bottom-right { justify-content: center; }

  /* Section headings mobile */
  .section-h2 { font-size: clamp(1.3rem, 4vw, 1.8rem) !important; }

  /* News grid mobile */
  .news-grid { grid-template-columns: 1fr; }

  /* Testimonials mobile */
  .testimonials-grid { grid-template-columns: 1fr; }

  /* Trust pillars mobile */
  .trust-pillars-grid { grid-template-columns: 1fr; }

  /* Parent section mobile */
  [style*="grid-template-columns:1fr 1fr"][style*="gap:48px"] {
    grid-template-columns: 1fr !important;
  }
}

@media(max-width: 480px) {
  .guides-grid { grid-template-columns: 1fr; }
  .hero-trust-badges { flex-wrap: wrap; gap: 6px; }
  .trust-badge { font-size: 11px; padding: 4px 10px; }
  .final-cta-actions { flex-direction: column; gap: 10px; }
  .cta-btn-white, .cta-btn-ghost { width: 100%; justify-content: center; }
}

/* =============================================
   PROGRAMS PAGE IMPROVEMENTS
   ============================================= */
.prog-filter-bar { gap: 16px; }
@media(max-width: 768px) {
  .prog-filter-bar { flex-direction: column; align-items: stretch; }
  .prog-filter-pills { justify-content: flex-start; }
  .prog-filter-selects { flex-wrap: wrap; gap: 8px; }
  .prog-result-bar { flex-direction: column; align-items: stretch; gap: 10px; }
  .prog-result-bar > div { flex-wrap: wrap; }
  .prog-hero-content { grid-template-columns: 1fr; gap: 20px; }
  .prog-hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* =============================================
   APPLY PAGE IMPROVEMENTS
   ============================================= */
.field-err { animation: fadeIn 0.2s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-4px); } to { opacity: 1; transform: translateY(0); } }

/* Form input success state */
.form-input.valid { border-color: #10b981; }
.form-input.invalid { border-color: #ef4444; }

/* =============================================
   CALCULATOR IMPROVEMENTS
   ============================================= */
@media(max-width: 768px) {
  .calc-layout { flex-direction: column; }
  .calc-panel, .calc-tables-col { width: 100%; }
}

/* =============================================
   IMPROVED DROPDOWN NAV
   ============================================= */
@media(min-width: 1101px) {
  .nav-item.has-dropdown:hover .nav-dropdown { display: block; }
}

/* =============================================
   BREADCRUMB CONSISTENCY
   ============================================= */
.breadcrumb-inner {
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: var(--text-secondary);
}
.breadcrumb-inner a { color: var(--primary); }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { color: var(--text-muted); margin: 0 2px; }
.breadcrumb { background: #f8fafc; border-bottom: 1px solid var(--border); padding: 10px 0; }

/* =============================================
   TEAM CARD STYLES
   ============================================= */
.team-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  text-align: center;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.team-card:hover { box-shadow: 0 8px 24px rgba(99,102,241,0.1); border-color: #c7d2fe; }
.team-avatar {
  width: 64px; height: 64px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.2rem; font-weight: 800; color: white;
  margin: 0 auto 12px;
}
.team-name { font-size: 1rem; font-weight: 800; color: #1e293b; margin-bottom: 4px; }
.team-role { font-size: 12px; color: #6366f1; font-weight: 600; margin-bottom: 10px; }
.team-bio { font-size: 13px; color: #64748b; line-height: 1.6; margin-bottom: 12px; }
.team-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; }
.team-tags span {
  font-size: 11px; background: #eef2ff; color: #4f46e5;
  padding: 2px 10px; border-radius: 20px; font-weight: 600;
}

/* =============================================
   ABOUT PAGE TIMELINE
   ============================================= */
.about-timeline { position: relative; padding-left: 32px; }
.about-timeline::before {
  content: '';
  position: absolute;
  left: 15px; top: 0; bottom: 0;
  width: 2px; background: linear-gradient(180deg, #6366f1, #e0e7ff);
}
.atl-item { position: relative; margin-bottom: 32px; }
.atl-item::before {
  content: '';
  position: absolute;
  left: -24px; top: 6px;
  width: 14px; height: 14px;
  background: #6366f1; border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 3px #e0e7ff;
}
.atl-year {
  font-size: 12px; font-weight: 800; color: #6366f1;
  text-transform: uppercase; letter-spacing: 1px; margin-bottom: 6px;
}
.atl-content h4 { font-size: 1rem; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.atl-content p { font-size: 13px; color: #64748b; line-height: 1.6; }

/* =============================================
   MISSING & IMPROVED STYLES - v2.1
   ============================================= */

/* ── Programs page card footer (compare btn) ── */
.pcard-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 20px 18px;
  border-top: 1px solid #f1f5f9;
}
.pcard-cta {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 700;
  text-decoration: none;
  transition: opacity 0.2s, transform 0.15s;
}
.pcard-cta:hover { opacity: 0.92; transform: translateY(-1px); }

/* ── Section padding utility ── */
.section-pad { padding: 48px 0 64px; }

/* ── Prog cards grid (programs page) ── */
.pcards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
  margin-bottom: 32px;
}
@media(max-width:1100px){ .pcards-grid { grid-template-columns: repeat(2, 1fr); } }
@media(max-width:640px){ .pcards-grid { grid-template-columns: 1fr; } }

/* ── Pcard body/top ── */
.pcard { background: white; border-radius: 16px; border: 1px solid #e2e8f0; display: flex; flex-direction: column; overflow: hidden; transition: box-shadow 0.2s, border-color 0.2s; }
.pcard:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); border-color: #c7d2fe; }
.pcard-top { padding: 16px 20px; border-bottom: 1px solid #f1f5f9; display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pcard-field-icon { width: 40px; height: 40px; flex-shrink: 0; }
.pcard-field-icon svg { width: 100%; height: 100%; }
.pcard-badges { display: flex; flex-wrap: wrap; gap: 5px; flex: 1; }
.pcard-badge { font-size: 11px; font-weight: 600; padding: 3px 9px; border-radius: 20px; }
.pcard-badge-od { background: #fef3c7; color: #92400e; }
.pcard-badge-featured { background: #ede9fe; color: #7c3aed; }
.pcard-body { padding: 14px 20px; flex: 1; display: flex; flex-direction: column; gap: 10px; }
.pcard-institute { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; }
.pcard-name { font-size: 1rem; font-weight: 800; color: #1e293b; line-height: 1.3; margin: 0; }
.pcard-name-en { font-size: 12px; color: #94a3b8; margin: 0; }
.pcard-meta { display: flex; gap: 12px; flex-wrap: wrap; }
.pcard-meta-item { display: flex; align-items: center; gap: 4px; font-size: 12px; color: #64748b; }
.pcard-note { font-size: 11px; color: #0891b2; display: flex; align-items: flex-start; gap: 4px; background: #ecfeff; padding: 5px 8px; border-radius: 6px; }
.pcard-tuition { display: flex; align-items: center; gap: 6px; }
.pcard-tuition-amount { font-size: 1rem; font-weight: 800; color: #1e293b; }
.pcard-tuition-unverified { color: #92400e; }
.pcard-tuition-warn { color: #f59e0b; }
.pcard-tuition-ok { color: #10b981; }
.pcard-denklik { display: flex; align-items: center; gap: 5px; font-size: 11px; font-weight: 600; padding: 4px 10px; border-radius: 6px; width: fit-content; }
.pcard-denklik-low { background: #dcfce7; color: #16a34a; }
.pcard-denklik-medium { background: #fef3c7; color: #92400e; }
.pcard-denklik-high { background: #fee2e2; color: #dc2626; }
.pcard-careers { display: flex; flex-wrap: wrap; gap: 5px; }
.pcard-career-tag { font-size: 11px; background: #f1f5f9; color: #475569; padding: 2px 8px; border-radius: 20px; }

/* ── Programs hero ── */
.prog-hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.prog-hero-content { display: grid; grid-template-columns: 1fr auto; gap: 40px; align-items: center; }
@media(max-width:900px){ .prog-hero-content { grid-template-columns: 1fr; } }
.prog-hero-badge { display: inline-flex; align-items: center; gap: 6px; background: rgba(255,255,255,0.15); color: white; font-size: 12px; font-weight: 600; padding: 5px 12px; border-radius: 20px; border: 1px solid rgba(255,255,255,0.2); margin-bottom: 16px; }
.prog-hero-title { font-size: 2.8rem; font-weight: 900; color: white; margin: 0 0 12px; line-height: 1.15; }
.prog-hero-title span { color: #a5b4fc; }
.prog-hero-desc { color: rgba(255,255,255,0.8); font-size: 15px; line-height: 1.6; margin-bottom: 24px; max-width: 560px; }
.prog-hero-search-wrap { display: flex; align-items: center; gap: 10px; background: white; border-radius: 12px; padding: 10px 16px; max-width: 480px; box-shadow: 0 4px 20px rgba(0,0,0,0.15); color: #6366f1; }
.prog-hero-search-wrap input { border: none; outline: none; font-size: 14px; color: #1e293b; flex: 1; }
.prog-hero-stats { display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px; }
.prog-stat-card { background: rgba(255,255,255,0.1); border: 1px solid rgba(255,255,255,0.15); border-radius: 12px; padding: 16px; text-align: center; }
.prog-stat-card-highlight { background: rgba(165,180,252,0.2); border-color: rgba(165,180,252,0.4); }
.prog-stat-num { display: block; font-size: 1.8rem; font-weight: 900; color: white; }
.prog-stat-label { font-size: 11px; color: rgba(255,255,255,0.7); margin-top: 2px; display: block; }

/* ── Programs filter ── */
.prog-filter-bar { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; padding: 16px 0; border-bottom: 1px solid #f1f5f9; margin-bottom: 20px; }
.prog-filter-pills { display: flex; gap: 6px; flex-wrap: wrap; }
.prog-pill { display: flex; align-items: center; gap: 5px; padding: 7px 14px; border-radius: 20px; border: 1.5px solid #e2e8f0; background: white; font-size: 13px; font-weight: 600; color: #374151; cursor: pointer; transition: all 0.15s; }
.prog-pill:hover { border-color: #6366f1; color: #6366f1; }
.prog-pill-active { background: #6366f1; color: white; border-color: #6366f1; }
.pill-count { background: rgba(255,255,255,0.25); padding: 1px 7px; border-radius: 10px; font-size: 11px; }
.prog-pill:not(.prog-pill-active) .pill-count { background: #f1f5f9; color: #64748b; }
.prog-filter-selects { display: flex; gap: 8px; flex-wrap: wrap; margin-left: auto; }
.prog-filter-selects select { padding: 7px 28px 7px 10px; border-radius: 8px; border: 1.5px solid #e2e8f0; font-size: 13px; color: #374151; background: white; cursor: pointer; outline: none; }
.prog-filter-clear { display: flex; align-items: center; gap: 6px; padding: 7px 14px; border-radius: 8px; border: 1.5px solid #fca5a5; background: #fef2f2; color: #dc2626; font-size: 13px; font-weight: 600; cursor: pointer; }
.prog-result-bar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; flex-wrap: wrap; gap: 10px; }
.prog-result-count { font-size: 14px; color: #64748b; }
.prog-ai-btn { display: flex; align-items: center; gap: 6px; background: linear-gradient(135deg,#8b5cf6,#6366f1); color: white; padding: 8px 16px; border-radius: 8px; font-size: 13px; font-weight: 700; text-decoration: none; }
.prog-ai-btn:hover { opacity: 0.9; }
.prog-data-note { display: flex; gap: 12px; align-items: flex-start; background: #f8fafc; border: 1px solid #e2e8f0; border-radius: 12px; padding: 16px; margin-top: 24px; font-size: 13px; color: #64748b; }
.dn-ok { color: #10b981; font-weight: 700; }
.dn-warn { color: #f59e0b; font-weight: 700; }
.dn-legend { display: inline-flex; align-items: center; gap: 4px; }
.prog-empty { text-align: center; padding: 48px 24px; color: #64748b; }
.prog-empty h3 { font-size: 1.2rem; font-weight: 700; margin: 12px 0 8px; }
.prog-empty svg { color: #c7d2fe; }
.btn-prog-outline { border: 2px solid #6366f1; color: #6366f1; background: white; padding: 10px 24px; border-radius: 10px; font-weight: 700; cursor: pointer; margin-top: 16px; }
.phd-section { margin-top: 24px; }
.phd-toggle { display: flex; align-items: center; gap: 10px; background: #f8fafc; border: 1.5px dashed #c7d2fe; color: #4338ca; border-radius: 12px; padding: 14px 20px; font-size: 14px; font-weight: 700; cursor: pointer; width: 100%; }
.phd-toggle:hover { background: #f0f4ff; }
.phd-count-badge { background: #e0e7ff; color: #4338ca; padding: 2px 10px; border-radius: 20px; font-size: 12px; margin-left: auto; }

/* ── Page banner (breadcrumb based) ── */
.page-banner { background: linear-gradient(135deg, #4338ca 0%, #7c3aed 100%); padding: 36px 0 28px; }
.page-banner .breadcrumb-nav { display: flex; align-items: center; gap: 6px; font-size: 13px; color: rgba(255,255,255,0.65); margin-bottom: 12px; }
.page-banner .breadcrumb-nav a { color: rgba(255,255,255,0.75); }
.page-banner h1 { font-size: 2rem; font-weight: 800; color: #fff; margin-bottom: 8px; }
.page-banner p { color: rgba(255,255,255,0.75); font-size: 15px; }

/* ── Page hero (simple pages) ── */
.page-hero { background: linear-gradient(135deg, #4338ca, #6366f1); padding: 48px 24px; }
.page-hero-inner { max-width: 860px; margin: 0 auto; }
.page-hero h1 { font-size: 2rem; font-weight: 800; color: white; margin-bottom: 10px; }
.page-hero p { color: rgba(255,255,255,0.8); font-size: 15px; }

/* ── Compare Bar animation ── */
@keyframes slideUp {
  from { transform: translateY(100%); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}
#compareBar { animation: slideUp 0.3s ease; }

/* ── AI match result cards improved ── */
.result-program-card {
  background: white;
  border: 1.5px solid #e2e8f0;
  border-radius: 14px;
  overflow: hidden;
  margin-bottom: 16px;
  transition: box-shadow 0.2s, border-color 0.2s;
}
.result-program-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); }
.result-program-card.top-match { border-color: #10b981; }
.result-card-header { display: flex; gap: 12px; align-items: flex-start; padding: 16px 16px 8px; }
.result-prog-name { font-size: 15px; font-weight: 800; color: #1e293b; margin-bottom: 6px; }
.result-prog-meta { display: flex; gap: 12px; font-size: 12px; color: #64748b; }
.match-score { font-size: 1.4rem; font-weight: 900; }
.match-label { font-size: 11px; color: #94a3b8; text-align: center; }
.match-bar { height: 5px; background: #f1f5f9; border-radius: 3px; margin: 0 16px; overflow: hidden; }
.match-bar-fill { height: 100%; border-radius: 3px; transition: width 0.8s ease; }
.result-prog-tags { display: flex; flex-wrap: wrap; gap: 6px; padding: 10px 16px; }
.result-tag { font-size: 11px; font-weight: 600; background: #f1f5f9; color: #475569; padding: 3px 10px; border-radius: 20px; }
.result-top-badge { background: #dcfce7; color: #16a34a; font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.result-card-cta { display: flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; background: linear-gradient(135deg, #6366f1, #8b5cf6); color: white; border-radius: 10px; font-size: 13px; font-weight: 700; text-decoration: none; }
.result-card-cta:hover { opacity: 0.9; }

/* ── Breadcrumb improved ── */
.breadcrumb { background: #f8fafc; border-bottom: 1px solid #f1f5f9; }
.breadcrumb-inner { max-width: 1200px; margin: 0 auto; padding: 12px 24px; display: flex; align-items: center; gap: 8px; font-size: 13px; color: #64748b; }
.breadcrumb-inner a { color: #6366f1; text-decoration: none; font-weight: 600; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #c7d2fe; }

/* ── Card component ── */
.card { background: white; border-radius: 16px; padding: 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); border: 1px solid #f1f5f9; }

/* ── Warning / Info boxes ── */
.warning-box { display: flex; gap: 14px; padding: 16px 20px; border-radius: 12px; align-items: flex-start; }
.warning-box.danger { background: #fef2f2; border: 1px solid #fca5a5; }
.warning-box.info { background: #eff6ff; border: 1px solid #bfdbfe; }
.warning-box.success { background: #f0fdf4; border: 1px solid #bbf7d0; }
.warning-box.warning { background: #fffbeb; border: 1px solid #fcd34d; }
.warning-icon { font-size: 1.5rem; flex-shrink: 0; }
.warning-content h4 { font-size: 14px; font-weight: 700; margin-bottom: 6px; }
.warning-content p { font-size: 13px; line-height: 1.6; color: #4b5563; }

/* ── Table responsive ── */
.table-container { overflow-x: auto; }
.compare-table { width: 100%; border-collapse: collapse; font-size: 13px; }
.compare-table th { background: #f8fafc; padding: 10px 14px; text-align: left; font-size: 12px; font-weight: 700; color: #374151; border-bottom: 2px solid #e2e8f0; white-space: nowrap; }
.compare-table td { padding: 10px 14px; border-bottom: 1px solid #f1f5f9; vertical-align: middle; }
.compare-table .row-label { font-weight: 600; color: #1e293b; white-space: nowrap; }
.compare-table tr:hover td { background: #f8fafc; }

/* ── Steps list ── */
.steps-list { display: flex; flex-direction: column; gap: 0; }
.step-item { display: flex; gap: 16px; padding: 16px 0; border-bottom: 1px solid #f1f5f9; }
.step-item:last-child { border-bottom: none; }
.step-number { width: 32px; height: 32px; border-radius: 50%; background: linear-gradient(135deg,#6366f1,#8b5cf6); color: white; display: flex; align-items: center; justify-content: center; font-size: 14px; font-weight: 800; flex-shrink: 0; margin-top: 2px; }
.step-content h4 { font-size: 14px; font-weight: 700; color: #1e293b; margin-bottom: 4px; }
.step-content p { font-size: 13px; color: #64748b; line-height: 1.6; }

/* ── Section inner (common layout container) ── */
.section-inner { max-width: 960px; margin: 0 auto; padding: 0 24px; }

/* ── Online dot ── */
.online-dot { width: 8px; height: 8px; background: #10b981; border-radius: 50%; display: inline-block; animation: pulse-online 2s infinite; }
@keyframes pulse-online { 0%,100%{opacity:1;} 50%{opacity:0.6;} }

/* ── Section/Container ── */
.section { padding: 48px 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
@media(max-width:640px){ .container { padding: 0 16px; } }

/* ── Prog page body ── */
.prog-page-body { padding: 24px 0 64px; }

/* ── Apply page ── */
.apply-page { background: #f8fafc; min-height: 100vh; }
.apply-header { background: linear-gradient(135deg, #4338ca 0%, #6366f1 60%, #8b5cf6 100%); padding: 48px 0; }
.apply-header-content { text-align: center; max-width: 600px; margin: 0 auto; }
.apply-header-content h1 { color: white; font-size: 2.2rem; font-weight: 900; margin-bottom: 10px; }
.apply-header-content p { color: rgba(255,255,255,0.85); font-size: 15px; }
.apply-trust-row { display: flex; gap: 20px; justify-content: center; flex-wrap: wrap; margin-top: 20px; }
.apply-trust-row span { color: rgba(255,255,255,0.9); font-size: 13px; font-weight: 600; display: flex; align-items: center; gap: 6px; }
.apply-trust-row span i { color: #4ade80; }
.apply-layout { display: grid; grid-template-columns: 1fr 320px; gap: 28px; padding: 32px 0 64px; }
@media(max-width:900px){ .apply-layout { grid-template-columns: 1fr; } }
.apply-form-col { display: flex; flex-direction: column; gap: 20px; }
.form-steps { display: flex; align-items: center; background: white; border-radius: 14px; padding: 20px 24px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.form-step { display: flex; align-items: center; gap: 10px; flex: 1; }
.form-step-num { width: 32px; height: 32px; border-radius: 50%; background: #e2e8f0; color: #94a3b8; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; flex-shrink: 0; }
.form-step.active .form-step-num { background: #6366f1; color: white; }
.form-step.done .form-step-num { background: #10b981; color: white; }
.form-step-label { font-size: 13px; font-weight: 600; color: #94a3b8; }
.form-step.active .form-step-label { color: #1e293b; }
.form-step.done .form-step-label { color: #10b981; }
.form-step-line { flex: 1; height: 2px; background: #e2e8f0; margin: 0 8px; }
.apply-card { background: white; border-radius: 14px; padding: 28px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }
.apply-card-title { font-size: 1.1rem; font-weight: 800; color: #1e293b; margin-bottom: 20px; display: flex; align-items: center; gap: 8px; }
.apply-step { display: none; }
#step1 { display: block; }
.apply-success { display: none; }

/* ── Better mobile for apply ── */
@media(max-width:768px){
  .apply-trust-row { gap: 12px; }
  .form-step-label { display: none; }
  .form-step { flex: 0; }
}

/* ── Dashboard ── */
.dash-header { background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%); padding: 32px 0; }

/* ── Table hover ── */
tr:hover td { background: #fafbff; }
.active-row td { background: #f0f4ff !important; font-weight: 600; }
.active-row { border-left: 3px solid #6366f1; }

/* ── Highlight column ── */
.highlight { background: #f0f4ff; border-radius: 4px; padding: 2px 4px; font-weight: 700; color: #4338ca; }

/* ── Print styles (for PDF downloads) ── */
@media print {
  .site-header, .announcement-bar, .whatsapp-float, .scroll-top-btn, .chatbot-widget, .footer { display: none !important; }
  body { padding-top: 0 !important; }
}

/* ── Better focus styles (accessibility) ── */
:focus-visible { outline: 2px solid #6366f1; outline-offset: 2px; }

/* ── Loading spinner ── */
@keyframes spin { to { transform: rotate(360deg); } }
.fa-spin { animation: spin 0.8s linear infinite; }

/* ── Overlay ── */
.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 1000; display: flex; align-items: center; justify-content: center; padding: 20px; }
.modal-box { background: white; border-radius: 20px; max-height: 80vh; overflow-y: auto; }

/* =============================================
   HOUSING PAGE STYLES
   ============================================= */
/* Already embedded in housing.ts page-level styles */

/* =============================================
   ONBOARDING PAGE STYLES
   ============================================= */
/* Already embedded in onboarding.ts page-level styles */

/* =============================================
   MOBILE IMPROVEMENTS v3.0
   ============================================= */

/* Global mobile text sizing */
@media(max-width:480px) {
  h1 { font-size: 1.6rem !important; }
  h2 { font-size: 1.2rem !important; }
  .section { padding: 32px 0; }
  .card { padding: 16px; }
  .btn { padding: 10px 16px; font-size: 13px; }
}

/* Header mobile */
@media(max-width:768px) {
  .site-header { padding: 0 16px; }
  .header-inner { height: 56px; }
  .brand-logo span { display: none; }
  .brand-sub { display: none; }
  .header-nav, .header-actions { display: none; }
  .mobile-menu-toggle { display: flex; }
}

/* Home page hero mobile */
@media(max-width:640px) {
  .hero-headline { font-size: 1.8rem; }
  .hero-stats { flex-direction: column; gap: 8px; }
  .hero-cta-group { flex-direction: column; }
  .hero-cta-group .btn { width: 100%; justify-content: center; }
  .hero-trust-badges { flex-direction: column; gap: 8px; }
  .hero-social-proof { flex-direction: column; gap: 12px; }
  .news-grid { grid-template-columns: 1fr !important; }
  .testimonials-grid { grid-template-columns: 1fr !important; }
}

/* Programs page mobile */
@media(max-width:640px) {
  .prog-hero-title { font-size: 1.8rem; }
  .prog-filter-pills { flex-wrap: nowrap; overflow-x: auto; padding-bottom: 4px; -webkit-overflow-scrolling: touch; scrollbar-width: none; }
  .prog-filter-pills::-webkit-scrollbar { display: none; }
  .prog-filter-selects { flex-wrap: wrap; margin-left: 0; width: 100%; }
  .prog-filter-selects select { flex: 1; min-width: 140px; }
  .pcards-grid { grid-template-columns: 1fr; }
}

/* Calculator page mobile */
@media(max-width:768px) {
  .calc-layout { grid-template-columns: 1fr !important; }
  .calc-selects-grid { grid-template-columns: 1fr !important; }
  .calc-totals { flex-direction: column; }
}

/* Program detail mobile */
@media(max-width:640px) {
  .pd-grid { grid-template-columns: 1fr !important; }
  .pd-hero-inner { grid-template-columns: 1fr !important; }
  .pd-tabs { overflow-x: auto; flex-wrap: nowrap; white-space: nowrap; }
  .pd-sticky-bar { padding: 10px 16px; }
  .pd-sticky-price { font-size: 1.1rem; }
}

/* Dashboard mobile */
@media(max-width:768px) {
  .dashboard-grid { grid-template-columns: 1fr; padding: 16px 0; }
  .application-progress { flex-direction: column; gap: 0; }
  .app-prog-line { width: 2px; height: 24px; margin: 0 0 0 15px; flex: none; min-width: unset; }
}

/* AI match mobile */
@media(max-width:640px) {
  .quiz-col { padding: 20px 16px; }
  .quiz-options { grid-template-columns: 1fr !important; }
}

/* Apply page mobile */
@media(max-width:640px) {
  .apply-header-content h1 { font-size: 1.6rem; }
  .form-row-2 { grid-template-columns: 1fr !important; }
  .upload-zones { grid-template-columns: repeat(2, 1fr) !important; }
  .btn-row { flex-direction: column; }
  .btn-next, .btn-back { width: 100%; justify-content: center; }
}

/* FAQ page mobile */
@media(max-width:640px) {
  .faq-quick-nav { flex-wrap: wrap; gap: 6px; }
  .faq-quick-btn { flex: 1; min-width: 120px; text-align: center; justify-content: center; }
}

/* Footer mobile */
@media(max-width:640px) {
  .footer-grid { grid-template-columns: 1fr 1fr !important; gap: 24px; }
  .footer-brand-col { grid-column: 1 / -1; }
  .footer-bottom { flex-direction: column; gap: 12px; text-align: center; }
  .footer-certifications { justify-content: center; flex-wrap: wrap; }
}

/* Chatbot mobile */
@media(max-width:480px) {
  .chatbot-window { width: calc(100vw - 32px); right: 16px; }
}

/* WhatsApp button mobile adjustment */
@media(max-width:640px) {
  .whatsapp-float { bottom: 16px; right: 16px; }
  .wa-float-text { display: none; }
}

/* Tooltips & badges mobile */
@media(max-width:480px) {
  .pcard-badge { font-size: 10px; padding: 2px 7px; }
  .pcard-career-tag { font-size: 10px; }
}

/* Admissions page mobile */
@media(max-width:768px) {
  [style*="grid-template-columns:2fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
  .adm-date-card { min-width: 90px; }
  .adm-hero-cards { grid-template-columns: repeat(2, 1fr) !important; }
}

/* Scholarships page mobile */
@media(max-width:640px) {
  .sch-card-header { flex-direction: column; }
  .sch-card-amount { align-self: flex-start; }
  .sch-hero-stats { gap: 12px; }
}

/* Housing & Life in Kazan mobile */
@media(max-width:640px) {
  .housing-hero-inner { grid-template-columns: 1fr; }
  .housing-compare-grid { grid-template-columns: 1fr !important; }
  .neighborhood-grid { grid-template-columns: 1fr !important; }
}

/* Program detail tabs */
@media(max-width:640px) {
  .pd-tab-panels { overflow-x: hidden; }
}

/* Smooth scrollbar global */
html { scroll-behavior: smooth; }

/* Better touch targets */
@media(max-width:768px) {
  button, a, .btn, label { min-height: 44px; }
  input[type="checkbox"], input[type="radio"] { width: 20px; height: 20px; }
}

/* Improved loading skeleton */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: 8px;
}
@keyframes shimmer { from { background-position: 200% 0; } to { background-position: -200% 0; } }

/* Toast notification */
.toast {
  position: fixed;
  bottom: 90px;
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: white;
  padding: 12px 24px;
  border-radius: 10px;
  font-size: 14px;
  font-weight: 600;
  z-index: 9999;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  animation: toastIn 0.3s ease;
}
@keyframes toastIn {
  from { opacity: 0; transform: translateX(-50%) translateY(20px); }
  to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Quick filter tags on programs page */
.quick-filter-tags {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  padding: 12px 0;
  border-bottom: 1px solid #f1f5f9;
  margin-bottom: 8px;
}
.qft-label {
  font-size: 12px;
  font-weight: 700;
  color: #64748b;
  display: flex;
  align-items: center;
  gap: 4px;
  flex-shrink: 0;
}
.qft-tag {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 5px 12px;
  border-radius: 20px;
  border: 1.5px solid #e2e8f0;
  background: white;
  font-size: 12px;
  font-weight: 600;
  color: #374151;
  cursor: pointer;
  transition: all 0.15s;
  text-decoration: none;
}
.qft-tag:hover {
  border-color: #6366f1;
  color: #6366f1;
  background: #f0f4ff;
}


/* ===== GLOBAL IMPROVEMENTS ===== */

/* Smooth page transitions */
.section, .card, .quiz-question { transition: opacity 0.2s ease; }

/* Better focus states for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 3px solid #6366f1;
  outline-offset: 2px;
}

/* Print styles improvement */
@media print {
  .chatbot-fab, .whatsapp-btn, header, footer, .breadcrumb { display: none !important; }
  .section { padding: 16px 0; }
  .card { box-shadow: none; border: 1px solid #ddd; }
}

/* Image optimization */
img { max-width: 100%; height: auto; }

/* Better text selection */
::selection { background: rgba(99,102,241,0.2); color: #1e293b; }

/* Form improvements */
input[type="date"] { color-scheme: light; }
input::placeholder, textarea::placeholder { color: #94a3b8; }
input:required, textarea:required { border-color: #e2e8f0; }
input:valid { border-color: #e2e8f0; }

/* Utility classes */
.visually-hidden { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); white-space: nowrap; border: 0; }
.text-center { text-align: center; }
.text-left { text-align: left; }
.text-muted { color: #64748b; }
.fw-bold { font-weight: 700; }
.fw-900 { font-weight: 900; }
.mt-0 { margin-top: 0; }
.mb-0 { margin-bottom: 0; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }

/* Source block */
.source-block {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: #94a3b8;
  padding: 10px 0;
  border-top: 1px solid #f1f5f9;
  margin-top: 12px;
}
.source-block a { color: #6366f1; }
.source-block i { font-size: 11px; color: #c7d2fe; }

/* Status badges */
.badge-new { background: #dcfce7; color: #16a34a; }
.badge-hot { background: #fee2e2; color: #dc2626; }
.badge-updated { background: #dbeafe; color: #1d4ed8; }

/* Online status dot */
.online-dot {
  display: inline-block;
  width: 8px; height: 8px;
  border-radius: 50%;
  background: #10b981;
  animation: pulse-green 2s infinite;
}
@keyframes pulse-green {
  0%,100% { box-shadow: 0 0 0 0 rgba(16,185,129,0.5); }
  50% { box-shadow: 0 0 0 4px rgba(16,185,129,0); }
}

/* Gradient text */
.gradient-text {
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Better cards on hover */
.card-hover {
  transition: transform 0.2s, box-shadow 0.2s;
}
.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(99,102,241,0.12);
}

/* Loading state */
.skeleton {
  background: linear-gradient(90deg, #f1f5f9 25%, #e2e8f0 50%, #f1f5f9 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 6px;
}
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Improved mobile nav */
@media(max-width:768px) {
  .section-inner {
    padding-left: 16px;
    padding-right: 16px;
  }
  .section {
    padding: 40px 0;
  }
  h1 { font-size: 1.8rem !important; }
  h2.section-h2 { font-size: 1.4rem !important; }
}

/* Improved button sizes on mobile */
@media(max-width:480px) {
  .btn { padding: 10px 18px; font-size: 14px; }
  .btn.btn-primary, .btn.btn-white { padding: 12px 20px; }
}

/* ===== FOOTER NEWSLETTER STRIP ===== */
.footer-newsletter-strip {
  background: linear-gradient(135deg, #1e1b4b, #312e81);
  border-top: 1px solid rgba(255,255,255,0.1);
  padding: 18px 0;
}
.footer-newsletter-strip .footer-inner {
  display: flex;
  align-items: center;
  gap: 20px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.fn-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.85);
  font-size: 14px;
}
.fn-text i { color: #fbbf24; font-size: 16px; }
.fn-form {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.fn-input {
  padding: 9px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  color: white;
  font-size: 14px;
  width: 240px;
  outline: none;
  transition: border-color 0.2s;
}
.fn-input::placeholder { color: rgba(255,255,255,0.5); }
.fn-input:focus { border-color: rgba(99,102,241,0.6); background: rgba(255,255,255,0.15); }
.fn-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 9px 18px;
  background: #6366f1;
  color: white;
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.fn-btn:hover { background: #4f46e5; }
@media(max-width:640px) {
  .footer-newsletter-strip .footer-inner { flex-direction: column; align-items: flex-start; gap: 12px; }
  .fn-input { width: 100%; }
  .fn-form { width: 100%; }
  .fn-btn { width: 100%; justify-content: center; }
}

/* ===== STATS COUNTER ANIMATION ===== */
.stat-counter { display: inline-block; }
.count-animate {
  animation: countUp 0.5s ease-out forwards;
}

/* ===== PAGE LOAD PERFORMANCE ===== */
/* Content visibility for below-fold sections */
.section:not(:first-child) {
  content-visibility: auto;
  contain-intrinsic-size: 0 500px;
}

/* ===== IMPROVED CARD PATTERNS ===== */
.kfu-info-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 24px;
  transition: box-shadow 0.25s, transform 0.25s;
}
.kfu-info-card:hover {
  box-shadow: 0 6px 24px rgba(99,102,241,0.1);
  transform: translateY(-2px);
}
.kfu-fact-row {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 14px;
  color: #374151;
}
.kfu-fact-row:last-child { border-bottom: none; }
.kfu-fact-row i { color: #6366f1; width: 16px; flex-shrink: 0; }
.kfu-fact-row strong { color: #1e293b; }

/* ===== PROGRAM COMPARISON TABLE ===== */
.prog-compare-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 14px;
}
.prog-compare-table th {
  background: #f8fafc;
  padding: 12px 16px;
  text-align: left;
  font-weight: 700;
  color: #475569;
  border-bottom: 2px solid #e2e8f0;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.prog-compare-table td {
  padding: 14px 16px;
  border-bottom: 1px solid #f1f5f9;
  color: #374151;
}
.prog-compare-table tr:hover td { background: #f8faff; }
.prog-compare-table tr:last-child td { border-bottom: none; }

/* ===== STICKY APPLY BAR ===== */
.sticky-apply {
  position: fixed;
  bottom: 0; left: 0; right: 0;
  background: white;
  border-top: 1px solid #e2e8f0;
  padding: 12px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  z-index: 100;
  box-shadow: 0 -4px 16px rgba(0,0,0,0.08);
  transform: translateY(100%);
  transition: transform 0.3s ease;
}
.sticky-apply.visible { transform: translateY(0); }
.sticky-apply-text { flex: 1; }
.sticky-apply-title { font-size: 14px; font-weight: 700; color: #1e293b; }
.sticky-apply-sub { font-size: 12px; color: #64748b; }

/* ===== BREADCRUMB IMPROVEMENTS ===== */
.breadcrumb {
  background: white;
  border-bottom: 1px solid #f1f5f9;
  padding: 0;
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #64748b;
  flex-wrap: wrap;
}
.breadcrumb-inner a {
  color: #6366f1;
  text-decoration: none;
}
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #cbd5e1; font-size: 10px; }

/* ===== IMPROVED SECTION SPACING ===== */
.section-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}
.section { padding: 64px 0; }
.section-sm { padding: 40px 0; }

/* ===== BADGE SYSTEM ===== */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 100px;
  font-size: 12px;
  font-weight: 600;
}
.badge-success { background: #dcfce7; color: #16a34a; }
.badge-info { background: #dbeafe; color: #1d4ed8; }
.badge-warning { background: #fef3c7; color: #d97706; }
.badge-danger { background: #fee2e2; color: #dc2626; }
.badge-primary { background: #e0e7ff; color: #4338ca; }
.badge-neutral { background: #f1f5f9; color: #475569; }

/* ===== SMOOTH SCROLL SECTIONS ===== */
[data-section] { scroll-margin-top: 100px; }

/* ===== BACK TO TOP IMPROVED ===== */
.scroll-top-btn {
  position: fixed;
  bottom: 100px;
  right: 24px;
  width: 44px; height: 44px;
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 12px;
  color: #6366f1;
  font-size: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 12px rgba(0,0,0,0.12);
  cursor: pointer;
  z-index: 99;
  opacity: 0;
  transform: translateY(10px);
  transition: opacity 0.2s, transform 0.2s;
}
.scroll-top-btn.visible {
  opacity: 1;
  transform: translateY(0);
}
.scroll-top-btn:hover {
  background: #6366f1;
  color: white;
  border-color: #6366f1;
}


/* ===== PERFORMANCE: WILL-CHANGE HINTS ===== */
.prog-card, .why-card, .testimonial-card, .trust-pillar, .about-service-card, .team-card {
  will-change: transform;
}

/* ===== ACCESSIBILITY: FOCUS VISIBLE ===== */
:focus-visible {
  outline: 3px solid #6366f1;
  outline-offset: 2px;
  border-radius: 4px;
}

/* ===== ENHANCED MOBILE RESPONSIVENESS ===== */
@media (max-width: 768px) {
  .container { padding: 0 16px; }
  .hero-container { flex-direction: column; }
  .hero-content-col, .hero-visual-col { width: 100%; }
  .hero-visual-col { display: none; }
  .hero-stats-bar { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .hero-stat-divider { display: none; }
  .section-head { flex-direction: column; gap: 12px; align-items: flex-start; }
  .steps-flow { flex-direction: column; gap: 16px; }
  .step-flow-arrow { transform: rotate(90deg); }
  .trust-pillars-grid { grid-template-columns: 1fr; }
  .why-grid { grid-template-columns: 1fr; }
  .guides-grid { grid-template-columns: repeat(2, 1fr); }
  .testimonials-grid { grid-template-columns: 1fr; }
  .parent-trust-visual { grid-template-columns: repeat(2, 1fr); }
  .rating-summary-bar { flex-direction: column; gap: 20px; }
  .rsb-divider { width: 100%; height: 1px; }
  .prog-cards-grid { grid-template-columns: 1fr; }
  .pcards-grid { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 32px; }
  .footer-bottom > .footer-inner { flex-direction: column; gap: 12px; text-align: center; }
  .fn-form { flex-direction: column; }
  .fn-input { width: 100%; border-radius: 8px !important; }
  .fn-btn { width: 100%; justify-content: center; border-radius: 8px !important; }
  .apply-layout { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .upload-zones { grid-template-columns: 1fr; }
  .ai-match-layout { grid-template-columns: 1fr; }
  .ai-sidebar { display: none; }
  .adm-date-cards { grid-template-columns: repeat(2, 1fr) !important; }
  .ct-hero-grid { grid-template-columns: 1fr !important; }
  .ct-offices-grid { grid-template-columns: 1fr !important; }
}

@media (max-width: 480px) {
  body { padding-top: 100px; }
  .hero-title { font-size: 1.8rem; }
  .section-h2 { font-size: 1.4rem; }
  .guides-grid { grid-template-columns: 1fr; }
  .parent-trust-visual { grid-template-columns: 1fr !important; }
  .prog-hero-stats { grid-template-columns: repeat(2, 1fr); }
}

/* ===== SKELETON LOADING FOR LAZY CONTENT ===== */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-wave 1.5s infinite;
  border-radius: 8px;
}
@keyframes skeleton-wave {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== PAGE LOAD TRANSITIONS ===== */
main { animation: fadeInPage 0.3s ease; }
@keyframes fadeInPage {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ===== ENHANCED FORM FEEDBACK ===== */
.form-input.valid { border-color: #10b981; }
.form-input.invalid { border-color: #ef4444; }
.form-input.valid:focus { box-shadow: 0 0 0 3px rgba(16,185,129,0.1); }
.form-input.invalid:focus { box-shadow: 0 0 0 3px rgba(239,68,68,0.1); }

/* ===== BREADCRUMB IMPROVEMENTS ===== */
.breadcrumb {
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
}
.breadcrumb-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 24px;
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  color: #94a3b8;
  flex-wrap: wrap;
}
.breadcrumb-inner a { color: #6366f1; }
.breadcrumb-inner a:hover { text-decoration: underline; }
.breadcrumb-sep { color: #cbd5e1; }

/* ===== IMPROVED CARD HOVER STATES ===== */
.card { transition: box-shadow 0.2s ease, border-color 0.2s ease; }
.card:hover { box-shadow: 0 8px 32px rgba(99,102,241,0.08); }

/* ===== TRUST BADGE PULSE ===== */
.trust-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(99,102,241,0.08);
  border: 1px solid rgba(99,102,241,0.2);
  color: #4338ca;
  padding: 5px 14px;
  border-radius: 20px;
  font-size: 13px;
  font-weight: 600;
}

/* ===== ENHANCED FOOTER NEWSLETTER ===== */
.footer-newsletter-strip {
  background: linear-gradient(90deg, #1e1b4b, #4338ca);
  padding: 20px 0;
}
.footer-newsletter-strip .footer-inner {
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
  justify-content: space-between;
}
.fn-text {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255,255,255,0.9);
  font-size: 14px;
}
.fn-text i { color: #fbbf24; font-size: 16px; flex-shrink: 0; }
.fn-form {
  display: flex;
  gap: 8px;
  align-items: center;
}
.fn-input {
  padding: 10px 16px;
  border-radius: 8px 0 0 8px;
  border: none;
  outline: none;
  font-size: 14px;
  width: 260px;
  min-width: 0;
  background: rgba(255,255,255,0.15);
  color: white;
  border: 1.5px solid rgba(255,255,255,0.2);
  transition: background 0.2s, border-color 0.2s;
}
.fn-input::placeholder { color: rgba(255,255,255,0.5); }
.fn-input:focus { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.4); }
.fn-btn {
  padding: 10px 20px;
  background: #6366f1;
  color: white;
  border: none;
  border-radius: 0 8px 8px 0;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: background 0.2s;
  white-space: nowrap;
}
.fn-btn:hover { background: #4f46e5; }

/* ===== PRINT MEDIA QUERIES ===== */
@media print {
  .site-header, .site-footer, .whatsapp-float, .chatbot-widget,
  .announcement-bar, .scroll-top-btn, #readingProgressBar { display: none !important; }
  body { padding-top: 0; background: white; color: black; font-size: 12pt; }
  a { color: black; text-decoration: underline; }
  .container { max-width: 100%; padding: 0; }
  h1 { font-size: 20pt; }
  h2 { font-size: 16pt; }
  h3 { font-size: 13pt; }
}

/* ===== CONTACT PAGE ENHANCED ===== */
.ct-hero-grid { display: grid; grid-template-columns: 1fr 420px; gap: 48px; align-items: start; }
.ct-offices-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
@media (max-width: 1100px) { .ct-offices-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 768px) { .ct-offices-grid { grid-template-columns: 1fr; } .ct-hero-grid { grid-template-columns: 1fr; } }

/* ===== PROGRAMS COMPARE BUTTON ===== */
.pcard-compare-btn {
  background: none;
  border: 1.5px solid #e2e8f0;
  border-radius: 8px;
  padding: 7px 10px;
  cursor: pointer;
  color: #94a3b8;
  transition: all 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.pcard-compare-btn:hover { border-color: #6366f1; color: #6366f1; background: #f0f4ff; }

/* ===== ENHANCED OFFICE CARDS ===== */
.office-card {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  transition: all 0.2s;
  position: relative;
  overflow: hidden;
}
.office-card:hover {
  box-shadow: 0 8px 32px rgba(0,0,0,0.08);
  border-color: #c7d2fe;
  transform: translateY(-2px);
}
.office-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 3px;
  background: var(--card-accent, #6366f1);
}

/* ===== WHATSAPP FLOAT ENHANCED ===== */
.whatsapp-float {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 999;
}
.whatsapp-btn {
  width: 56px;
  height: 56px;
  background: #25d366;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  color: white;
  box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
  transition: transform 0.2s, box-shadow 0.2s;
  text-decoration: none;
  position: relative;
  z-index: 2;
}
.whatsapp-btn:hover {
  transform: scale(1.1);
  box-shadow: 0 6px 28px rgba(37, 211, 102, 0.5);
}
.wa-pulse-ring {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  width: 56px; height: 56px;
  border-radius: 50%;
  background: rgba(37, 211, 102, 0.3);
  animation: wa-pulse 2s ease infinite;
}
@keyframes wa-pulse {
  0% { transform: translate(-50%,-50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%,-50%) scale(2); opacity: 0; }
}

/* ===== IMPROVED KFU FACT ROWS ===== */
.kfu-fact-row {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 10px 0;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  color: #374151;
  line-height: 1.5;
}
.kfu-fact-row:last-child { border-bottom: none; }
.kfu-fact-row i { color: #6366f1; flex-shrink: 0; margin-top: 2px; width: 16px; }
.kfu-fact-row strong { color: #1e293b; }

/* ===== PROGRAMS COMPARISON TABLE ===== */
.prog-compare-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
}
.prog-compare-table th {
  background: #1e1b4b;
  color: white;
  padding: 10px 14px;
  text-align: left;
  font-weight: 700;
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.prog-compare-table th:first-child { border-radius: 8px 0 0 0; }
.prog-compare-table th:last-child { border-radius: 0 8px 0 0; }
.prog-compare-table td {
  padding: 9px 14px;
  border-bottom: 1px solid #f1f5f9;
  color: #374151;
}
.prog-compare-table tr:hover td { background: #f8faff; }
.prog-compare-table tr:last-child td { border-bottom: none; }

/* ===== TIMELINE STYLES ===== */
.adm-steps { display: flex; flex-direction: column; gap: 0; position: relative; }
.adm-step {
  display: flex;
  gap: 16px;
  padding: 0 0 28px;
  position: relative;
}
.adm-step::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 40px;
  bottom: 0;
  width: 2px;
  background: #e2e8f0;
}
.adm-step:last-child::before { display: none; }
.adm-step-num {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #6366f1, #8b5cf6);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 800;
  font-size: 15px;
  flex-shrink: 0;
  position: relative;
  z-index: 1;
  box-shadow: 0 0 0 4px rgba(99,102,241,0.15);
}
.adm-step-body { flex: 1; }
.adm-step-body h3 { font-size: 15px; font-weight: 700; color: #1e293b; margin-bottom: 8px; }
.adm-step-body p { font-size: 14px; color: #475569; line-height: 1.7; }

/* ===== ABOUT TIMELINE IMPROVEMENTS ===== */
.about-timeline {
  position: relative;
  padding-left: 48px;
}
.about-timeline::before {
  content: '';
  position: absolute;
  left: 20px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #6366f1 0%, rgba(99,102,241,0.1) 100%);
}

/* =============================================
   FINAL UX IMPROVEMENTS v3.0 - 2026
   ============================================= */

/* ── Print styles ── */
@media print {
  .site-header, .whatsapp-btn, .chatbot-widget, .announcement-bar,
  .final-cta-section, .footer { display: none !important; }
  body { padding-top: 0 !important; background: white; color: black; }
  .hero-section { background: #f8fafc; color: #1e293b; padding: 20px 0; }
  .hero-title, .hero-subtitle { color: #1e293b !important; }
  a { color: #4f46e5; text-decoration: underline; }
  .card, .pcard, .prog-card { box-shadow: none; border: 1px solid #ccc; }
}

/* ── Focus visible improvements ── */
a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 2px solid #6366f1;
  outline-offset: 2px;
}

/* ── Skip to content link ── */
.skip-link {
  position: absolute;
  left: -9999px;
  z-index: 999;
  padding: 8px 16px;
  background: #6366f1;
  color: white;
  text-decoration: none;
  border-radius: 0 0 8px 8px;
}
.skip-link:focus { left: 0; }

/* ── Smooth image loading ── */
img {
  transition: opacity 0.3s ease;
}
img.lazy { opacity: 0; }
img.lazy.loaded { opacity: 1; }

/* ── Better overflow handling for mobile ── */
@media(max-width: 768px) {
  .prog-compare-table { font-size: 12px; }
  .prog-compare-table th, .prog-compare-table td { padding: 8px 10px; }
  .adm-hero-inner { grid-template-columns: 1fr !important; }
  .adm-hero-cards { grid-template-columns: repeat(2, 1fr); }
}

/* ── Loading placeholder animation ── */
.content-skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 37%, #f0f0f0 63%);
  background-size: 400% 100%;
  animation: shimmer 1.5s ease infinite;
  border-radius: 8px;
}
@keyframes shimmer {
  0% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

/* ── Smooth page transitions ── */
.page-transition {
  animation: pageFadeIn 0.3s ease;
}
@keyframes pageFadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Card hover effects consistency ── */
.card-hover-lift {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.card-hover-lift:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.1);
}

/* ── Tooltip improvements ── */
.tooltip {
  position: relative;
  cursor: help;
}
.tooltip::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: calc(100% + 8px);
  left: 50%;
  transform: translateX(-50%);
  background: #1e293b;
  color: white;
  font-size: 12px;
  padding: 6px 12px;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 100;
}
.tooltip:hover::after { opacity: 1; }

/* ── Better mobile form controls ── */
@media(max-width: 480px) {
  .form-row-2 { grid-template-columns: 1fr; }
  .apply-layout { grid-template-columns: 1fr; }
  .btn-row { flex-direction: column; }
  .btn-next, .btn-back, .btn-submit { width: 100%; justify-content: center; }
}

/* ── Programs page mobile filter improvements ── */
@media(max-width: 640px) {
  .prog-hero { padding: 32px 0 40px; }
  .prog-filter-bar { border-radius: 12px; background: white; padding: 14px; box-shadow: 0 1px 4px rgba(0,0,0,0.06); }
  .prog-filter-selects { margin-left: 0; }
  [style*="gap:8px; flex-wrap:wrap; margin-bottom:16px"] { gap: 6px !important; }
}

/* ── Dashboard improvements ── */
@media(max-width: 640px) {
  .application-progress { flex-direction: column; }
  .app-prog-line { width: 2px; height: 24px; margin: 0 0 0 15px; min-width: 2px; flex: 0; }
  .app-prog-step { min-width: 0; }
}

/* ── Admissions page improvements ── */
.adm-docs-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin: 12px 0;
}
@media(min-width: 600px) {
  .adm-docs-grid { grid-template-columns: 1fr 1fr; }
}

/* ── Contact page office cards mobile ── */
@media(max-width: 640px) {
  .ct-offices-grid { grid-template-columns: 1fr !important; }
}

/* ── Improved quiz mobile layout ── */
@media(max-width: 640px) {
  .ai-match-layout { grid-template-columns: 1fr; }
  .quiz-options-grid { grid-template-columns: 1fr; }
  .ai-match-hero .container { flex-direction: column; }
  .ai-hero-stats { width: 100%; justify-content: space-between; }
  .ahs-item { flex: 1; text-align: center; }
}

/* ── Result cards mobile ── */
@media(max-width: 640px) {
  .result-card-header { flex-direction: column; }
  .match-score-circle { align-self: flex-start; }
}

/* ── Announcement bar responsive ── */
@media(max-width: 360px) {
  .announcement-bar { display: none; }
  body { padding-top: 64px; }
  .site-header { top: 0; }
}
