/* ============================================
   StudyinGBA — Main Stylesheet
   Design: Clean, trustworthy, UCAS-inspired
   Colors: Navy #1a365d + Gold #d4a843 + White
   ============================================ */

/* ---------- Reset & Base ---------- */
:root {
  --color-primary: #1a365d;
  --color-accent: #d4a843;
  --color-accent-dark: #b8932f;
  --color-white: #ffffff;
  --color-gray-50: #f9fafb;
  --color-gray-100: #f3f4f6;
  --color-gray-200: #e5e7eb;
  --color-gray-300: #d1d5db;
  --color-gray-400: #9ca3af;
  --color-gray-500: #6b7280;
  --color-gray-600: #4b5563;
  --color-gray-700: #374151;
  --color-gray-900: #111827;
  --header-height: 64px;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 20px;
  --radius-full: 999px;
  --shadow-sm: 0 1px 3px rgba(0,0,0,0.08);
  --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
  --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
}

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

html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; font-size: 16px; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  color: #374151; line-height: 1.7;
  background: #fff; overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; height: auto; display: block; }
a { color: #1a365d; text-decoration: none; transition: color 0.15s; }
a:hover { color: #b8912e; }
ul, ol { list-style: none; }
button { cursor: pointer; border: none; background: none; font: inherit; }

/* ---------- Layout ---------- */
.container { max-width: 1120px; margin: 0 auto; padding: 0 1.5rem; }

/* ---------- Accessibility ---------- */
.skip-link {
  position: absolute; top: -100%; left: 50%; transform: translateX(-50%);
  background: #1a365d; color: #fff; padding: 0.75rem 1.5rem;
  border-radius: 0 0 0.5rem 0.5rem; z-index: 10000; font-weight: 500;
}
.skip-link:focus { top: 0; }

:focus-visible { outline: 2px solid #d4a843; outline-offset: 2px; }

/* ============================================
   HEADER
   ============================================ */
.header {
  position: fixed; top: 0; left: 0; right: 0;
  height: 64px; background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid #e5e7eb; z-index: 1000;
  transition: box-shadow 0.2s;
}
.header.scrolled { box-shadow: 0 2px 8px rgba(0,0,0,0.08); }

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  height: 100%;
}

/* Logo */
.logo { display: flex; align-items: center; gap: 0.5rem; flex-shrink: 0; }
.logo-img { height: 40px; width: auto; object-fit: contain; flex-shrink: 0; }
.logo-text { font-size: 1.25rem; font-weight: 700; color: #1a365d; letter-spacing: -0.02em; }
.logo-highlight { color: #d4a843; }

/* Nav */
.nav-list { display: flex; align-items: center; gap: 0.25rem; }
.nav-link {
  display: block; padding: 0.5rem 1rem; font-size: 0.95rem; font-weight: 500;
  color: #374151; border-radius: 0.5rem; transition: background 0.15s;
}
.nav-link:hover, .nav-link.active { background: #f3f4f6; color: #1a365d; }

/* Header Actions */
.header-actions { display: flex; align-items: center; gap: 0.75rem; flex-shrink: 0; }
.lang-toggle {
  padding: 0.4rem 0.8rem; border: 1.5px solid #d1d5db; border-radius: 0.5rem;
  font-size: 0.85rem; font-weight: 500; color: #374151; background: #fff;
  transition: border-color 0.15s;
}
.lang-toggle:hover { border-color: #1a365d; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.5rem;
  padding: 0.625rem 1.25rem; font-size: 0.95rem; font-weight: 500;
  border-radius: 0.5rem; transition: all 0.15s; white-space: nowrap;
}
.btn-primary { background: #1a365d; color: #fff !important; }
.btn-primary:hover { background: #2a4a7f; box-shadow: 0 4px 12px rgba(26,54,93,0.25); }
.btn-outline { border: 1.5px solid #d1d5db; color: #374151 !important; background: #fff; }
.btn-outline:hover { border-color: #1a365d; background: #f9fafb; }
.btn-outline-white { border: 1.5px solid rgba(255,255,255,0.5); color: #fff !important; background: rgba(255,255,255,0.1); }
.btn-outline-white:hover { background: rgba(255,255,255,0.2); border-color: #fff; }
.btn-white { background: #fff; color: #1a365d !important; font-weight: 600; }
.btn-white:hover { background: #f3f4f6; }
.btn-sm { padding: 0.5rem 1rem; font-size: 0.9rem; }
.btn-lg { padding: 0.875rem 2rem; font-size: 1.05rem; border-radius: 0.75rem; }

/* Mobile Menu Toggle */
.mobile-menu-toggle { display: none; flex-direction: column; gap: 5px; padding: 0.5rem; z-index: 1001; }
.mobile-menu-toggle span { display: block; width: 24px; height: 2px; background: #374151; border-radius: 2px; transition: all 0.2s; }
.mobile-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.mobile-menu-toggle.active span:nth-child(2) { opacity: 0; }
.mobile-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.mobile-nav {
  display: none; position: fixed; top: 64px; left: 0; right: 0; bottom: 0;
  background: #fff; z-index: 999; padding: 2rem 1.5rem;
}
.mobile-nav.open { display: block; }
.mobile-nav-list li { border-bottom: 1px solid #f3f4f6; }
.mobile-nav-list a { display: block; padding: 1rem 0; font-size: 1.1rem; font-weight: 500; color: #1f2937; }

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
  position: relative; min-height: 520px; display: flex; align-items: center;
  padding-top: 64px; overflow: hidden; background: #0f2440;
}
.hero-bg {
  position: absolute; inset: 0;
  background: url('/images/hero-bg.jpg') center/cover no-repeat;
}
.hero-bg::after {
  content: '';
  position: absolute; inset: 0;
  background: linear-gradient(135deg, rgba(15,36,64,0.6) 0%, rgba(26,54,93,0.5) 50%, rgba(30,64,128,0.45) 100%);
}
.hero-inner {
  position: relative; z-index: 1; padding: 4rem 0; width: 100%;
}
.hero-eyebrow {
  font-size: 0.8rem; font-weight: 600; letter-spacing: 0.12em; color: #d4a843;
  margin-bottom: 1rem;
}
.hero-title {
  font-family: 'Playfair Display', Georgia, serif; font-size: clamp(2.2rem, 5vw, 3.5rem);
  font-weight: 700; color: #fff; line-height: 1.15; margin-bottom: 1rem; letter-spacing: -0.02em;
}
.hero-highlight { color: #d4a843; }
.hero-subtitle {
  font-size: 1.1rem; color: rgba(255,255,255,0.8); line-height: 1.7;
  max-width: 600px; margin-bottom: 2rem;
}

/* Hero CTA */
.hero-cta { margin-bottom: 2.5rem; }
.btn-xl { padding: 1rem 2.5rem !important; font-size: 1.15rem !important; font-weight: 700 !important; background: #D4A017 !important; border-color: #D4A017 !important; color: #fff !important; }
.btn-xl:hover { background: #C4920F !important; border-color: #C4920F !important; }

/* Hero Reasons */
.hero-reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem 2rem;
  max-width: 900px;
}
.hero-reason {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  color: rgba(255,255,255,0.85);
  font-size: 0.9rem;
  line-height: 1.5;
}
.hero-reason-icon { font-size: 1.2rem; flex-shrink: 0; margin-top: 1px; }

/* Remove old search + stats (replaced by reasons + CTA) */
.search-box, .hero-stats { display: none; }

/* Hero Stats */
.hero-stats { display: flex; gap: 2.5rem; flex-wrap: wrap; }
.hero-stat { text-align: center; }
.hero-stat-num { display: block; font-size: 2rem; font-weight: 700; color: #d4a843; line-height: 1; }
.hero-stat-label { font-size: 0.85rem; color: rgba(255,255,255,0.7); }

/* ============================================
   SECTIONS
   ============================================ */
.section { padding: 4rem 0; }
.section-alt { background: #f9fafb; }

.section-header { text-align: center; max-width: 600px; margin: 0 auto 3rem; }
.section-title {
  font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem, 3.5vw, 2.2rem);
  font-weight: 700; color: #111827; margin-bottom: 0.75rem; letter-spacing: -0.01em;
}
.section-desc { font-size: 1.05rem; color: #6b7280; line-height: 1.7; }

/* ============================================
   QUICK ACTIONS (UCAS-inspired cards)
   ============================================ */
.quick-grid {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.25rem;
}
.quick-card {
  background: #fff; border-radius: 0.75rem; padding: 1.75rem 1.5rem;
  border: 1px solid #e5e7eb; transition: box-shadow 0.2s, transform 0.2s;
  display: block;
}
.quick-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-3px); color: #1a365d; }
.quick-icon { font-size: 2rem; margin-bottom: 0.75rem; }
.quick-card h3 { font-size: 1.05rem; font-weight: 600; color: #111827; margin-bottom: 0.4rem; }
.quick-card p { font-size: 0.9rem; color: #6b7280; line-height: 1.6; }

/* ============================================
   PROGRAM CARDS (Home page)
   ============================================ */
.program-cards {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 1.5rem;
}
.program-card {
  background: #fff; border-radius: 0.75rem; padding: 1.5rem;
  border: 1px solid #e5e7eb; transition: box-shadow 0.2s, transform 0.2s;
}
.program-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.08); transform: translateY(-3px); }
.program-card .degree-badge {
  display: inline-block; padding: 0.2rem 0.7rem; border-radius: 9999px;
  font-size: 0.75rem; font-weight: 600; background: rgba(26,54,93,0.08); color: #1a365d;
  margin-bottom: 0.75rem;
}
.program-card h3 { font-size: 1.05rem; font-weight: 600; color: #111827; margin-bottom: 0.3rem; }
.program-card .school { font-size: 0.9rem; color: #6b7280; margin-bottom: 0.75rem; }
.program-card .meta { display: flex; flex-wrap: wrap; gap: 0.75rem; font-size: 0.85rem; color: #4b5563; }

/* ============================================
   FEATURED PROGRAMS (6精选项目 — Home page)
   ============================================ */
.featured-programs-section {
  padding: 4rem 0;
  background: linear-gradient(180deg, #f8fafc 0%, #f1f5f9 100%);
}
.featured-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.75rem;
  margin-bottom: 2.5rem;
}
.featured-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  border: 1px solid var(--color-gray-200);
  box-shadow: 0 2px 8px rgba(0,0,0,0.06);
  transition: box-shadow 0.25s, transform 0.25s, border-color 0.25s;
  display: flex;
  flex-direction: column;
}
.featured-card:hover {
  box-shadow: 0 12px 32px rgba(0,0,0,0.12);
  transform: translateY(-4px);
  border-color: color-mix(in srgb, var(--card-color) 30%, var(--color-gray-200));
}
.featured-image {
  position: relative;
  height: 180px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}
.featured-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s;
}
.featured-card:hover .featured-image img { transform: scale(1.05); }
.featured-image-placeholder {
  color: rgba(255,255,255,0.9);
  font-size: 2.5rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  display: flex;
}
.featured-rank {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  background: rgba(255,255,255,0.95);
  color: var(--card-color, #1a365d);
  padding: 0.3rem 0.8rem;
  border-radius: var(--radius-full);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.02em;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
  z-index: 1;
  max-width: calc(100% - 130px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.featured-type-badge {
  position: absolute;
  top: 0.75rem;
  left: 0.75rem;
  padding: 0.25rem 0.6rem;
  border-radius: var(--radius-full);
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  backdrop-filter: blur(4px);
  text-transform: uppercase;
  z-index: 2;
  max-width: calc(100% - 130px);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.featured-type-badge.degree {
  background: rgba(34,197,94,0.92);
  color: #fff;
}
.featured-type-badge.language {
  background: rgba(59,130,246,0.9);
  color: #fff;
}
.featured-meta {
  display: flex;
  gap: 1rem;
  margin: 0.75rem 0;
}
.featured-meta-item {
  flex: 1;
  display: flex;
  flex-direction: column;
}
.featured-meta-item .meta-label {
  font-size: 0.68rem;
  color: var(--color-gray-500);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}
.featured-meta-item .meta-value {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--color-gray-800);
  margin-top: 2px;
}
.featured-body {
  padding: 1.5rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}
.featured-icon {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-md);
  background: color-mix(in srgb, var(--card-color) 12%, white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-bottom: 0.75rem;
}
.featured-card h3 {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--color-gray-900);
  margin-bottom: 0.3rem;
  line-height: 1.3;
}
.featured-school {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  margin-bottom: 0.9rem;
  font-weight: 500;
}
.featured-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 1rem;
}
.featured-tag {
  background: color-mix(in srgb, var(--card-color) 10%, white);
  color: var(--card-color, #1a365d);
  padding: 0.25rem 0.65rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
}
.featured-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem 1rem;
  padding: 0.8rem 0;
  border-top: 1px solid var(--color-gray-100);
  border-bottom: 1px solid var(--color-gray-100);
  margin-bottom: 0.9rem;
}
.featured-meta-item { display: flex; flex-direction: column; gap: 0.1rem; }
.featured-meta-item .meta-label { font-size: 0.7rem; color: var(--color-gray-400); text-transform: uppercase; letter-spacing: 0.04em; }
.featured-meta-item .meta-value { font-size: 0.82rem; color: var(--color-gray-900); font-weight: 600; }
.featured-desc {
  font-size: 0.82rem;
  color: var(--color-gray-600);
  line-height: 1.5;
  margin-bottom: 1rem;
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.featured-link {
  display: inline-block;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--card-color, #1a365d);
  text-decoration: none;
  transition: opacity 0.2s;
}
.featured-link:hover { opacity: 0.75; text-decoration: underline; }

/* Expandable detail section */
.featured-expand-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 0.6rem 0.85rem;
  margin-top: 0.5rem;
  background: color-mix(in srgb, var(--card-color) 8%, white);
  border: 1px solid color-mix(in srgb, var(--card-color) 20%, white);
  border-radius: var(--radius-md);
  color: var(--card-color, #1a365d);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s;
  white-space: nowrap;
}
.featured-expand-btn:hover {
  background: color-mix(in srgb, var(--card-color) 15%, white);
}
.expand-arrow { font-size: 0.7rem; transition: transform 0.2s; }

.featured-detail {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
  padding: 0 0;
}
.featured-detail.open {
  max-height: 800px;
  padding: 1rem 0 0;
}
.featured-card.expanded { box-shadow: 0 12px 32px rgba(0,0,0,0.15); }

.featured-qa {
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--color-gray-100);
}
.featured-qa:last-of-type { border-bottom: none; }
.qa-icon {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: var(--radius-sm);
  background: color-mix(in srgb, var(--card-color) 10%, white);
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
}
.qa-content { flex: 1; }
.qa-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--card-color, #1a365d);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.25rem;
}
.qa-text {
  font-size: 0.85rem;
  color: var(--color-gray-700);
  line-height: 1.55;
}
.qa-cost-breakdown {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-top: 0.5rem;
}
.cost-chip {
  background: var(--color-gray-100);
  padding: 0.2rem 0.6rem;
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--color-gray-700);
}
.featured-apply-btn {
  display: block;
  text-align: center;
  padding: 0.8rem;
  background: var(--card-color, #1a365d);
  color: #fff !important;
  border-radius: var(--radius-md);
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none !important;
  transition: opacity 0.2s;
}
.featured-apply-btn:hover { opacity: 0.88; }

@media (max-width: 900px) {
  .featured-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .featured-grid { grid-template-columns: 1fr; }
  .featured-image { height: 160px; }
}

/* ============================================
   SCHOOL CARDS (Home page — gradient banner style)
   ============================================ */
.school-cards {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 1.5rem;
}
.school-card {
  background: #fff; border-radius: 0.75rem; overflow: hidden;
  border: 1px solid #e5e7eb; transition: box-shadow 0.2s, transform 0.2s;
  display: flex; flex-direction: column;
}
.school-card:hover { box-shadow: 0 8px 24px rgba(0,0,0,0.12); transform: translateY(-3px); }
.school-card-banner {
  height: 100px; display: flex; align-items: center; justify-content: center;
  position: relative; overflow: hidden;
}
.school-card-banner::before {
  content: ''; position: absolute; inset: 0; opacity: 0.15;
  background-image: repeating-linear-gradient(45deg, transparent, transparent 20px, rgba(255,255,255,0.1) 20px, rgba(255,255,255,0.1) 40px);
}
.school-card-abbrev {
  font-size: 1.8rem; font-weight: 800; color: white; letter-spacing: 1px;
  text-shadow: 0 2px 8px rgba(0,0,0,0.2); z-index: 1;
}
.school-card-region {
  position: absolute; top: 0.5rem; right: 0.5rem; z-index: 1;
  background: rgba(255,255,255,0.25); backdrop-filter: blur(8px); color: white;
  font-size: 0.65rem; font-weight: 600; padding: 0.1rem 0.4rem; border-radius: 999px;
}
.school-card-body { padding: 1rem 1.25rem 1.25rem; flex: 1; display: flex; flex-direction: column; }
.school-card .rank { font-size: 0.8rem; color: #b8912e; font-weight: 600; margin-bottom: 0.3rem; }
.school-card h3 { font-size: 1rem; font-weight: 700; color: #111827; margin-bottom: 0.25rem; line-height: 1.3; }
.school-card .city { font-size: 0.8rem; color: #6b7280; margin-bottom: 0.5rem; }
.school-card .strength { font-size: 0.78rem; color: #6b7280; margin-bottom: 0.75rem; line-height: 1.4; flex: 1; }
.school-card .view-link { font-size: 0.85rem; font-weight: 500; color: #1a365d; }

/* ============================================
   TIMELINE (How it works)
   ============================================ */
.timeline {
  display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 2rem;
}
.timeline-item { text-align: center; position: relative; }
.timeline-num {
  display: inline-flex; align-items: center; justify-content: center;
  width: 2.5rem; height: 2.5rem; background: #1a365d; color: #fff;
  border-radius: 50%; font-weight: 700; font-size: 1.1rem; margin-bottom: 1rem;
}
.timeline-item h3 { font-size: 1.05rem; font-weight: 600; color: #111827; margin-bottom: 0.5rem; }
.timeline-item p { font-size: 0.95rem; color: #6b7280; line-height: 1.7; }

/* ============================================
   CTA SECTION
   ============================================ */
.cta-section {
  background: linear-gradient(135deg, #0f2440 0%, #1a365d 100%); color: #fff; text-align: center;
}
.cta-inner { padding: 4rem 1.5rem; }
.cta-inner h2 { font-family: 'Playfair Display', Georgia, serif; font-size: clamp(1.6rem, 3.5vw, 2.2rem); font-weight: 700; margin-bottom: 1rem; }
.cta-inner p { font-size: 1.1rem; color: rgba(255,255,255,0.85); max-width: 540px; margin: 0 auto 2rem; line-height: 1.7; }
.cta-actions { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }

/* ============================================
   FOOTER
   ============================================ */
.footer { background: #111827; color: #9ca3af; padding: 3rem 0 1.5rem; }
.footer-grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr 1.5fr 1fr; gap: 2rem; margin-bottom: 2rem;
}
.footer-logo { display: flex; align-items: center; gap: 0.5rem; }
.footer-logo .logo-text { color: #fff; font-size: 1.15rem; font-weight: 700; }
.footer-logo-img { height: 36px; width: auto; object-fit: contain; filter: brightness(0) invert(1); opacity: 0.9; }
.footer-desc { font-size: 0.95rem; line-height: 1.7; margin-top: 0.75rem; }
.footer h3 { color: #fff; font-size: 0.95rem; font-weight: 600; margin-bottom: 1rem; }
.footer-links ul li { margin-bottom: 0.5rem; }
.footer-links a { color: #9ca3af; font-size: 0.9rem; }
.footer-links a:hover { color: #d4a843; }
.footer-contact ul li { display: flex; align-items: flex-start; gap: 0.5rem; font-size: 0.9rem; margin-bottom: 0.6rem; }
.footer-contact a { color: #9ca3af; }
.footer-contact a:hover { color: #d4a843; }
.footer-social .social-links { display: flex; gap: 0.75rem; margin-top: 0.25rem; }
.footer-social .social-link {
  display: flex; align-items: center; justify-content: center;
  width: 36px; height: 36px; border-radius: 50%;
  background: rgba(255,255,255,0.1); font-size: 1rem;
  transition: all 0.2s; text-decoration: none;
}
.footer-social .social-link:hover { background: #d4a843; transform: translateY(-2px); }
.footer-bottom {
  border-top: 1px solid rgba(255,255,255,0.1); padding-top: 1.5rem;
  display: flex; justify-content: space-between; font-size: 0.85rem; flex-wrap: wrap; gap: 0.5rem;
}

/* ============================================
   BACK TO TOP
   ============================================ */
.back-to-top {
  position: fixed; bottom: 2rem; right: 2rem; width: 44px; height: 44px;
  border-radius: 50%; background: #1a365d; color: #fff;
  display: flex; align-items: center; justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.2); opacity: 0; visibility: hidden;
  transform: translateY(10px); transition: all 0.2s; z-index: 999; font-size: 1.2rem;
}
.back-to-top.visible { opacity: 1; visibility: visible; transform: translateY(0); }
.back-to-top:hover { background: #2a4a7f; transform: translateY(-2px); }

/* ============================================
   SECTIONS CTA
   ============================================ */
.section-cta { text-align: center; margin-top: 3rem; }

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
  .nav, .header-actions .btn, .header-actions .lang-toggle { display: none; }
  .mobile-menu-toggle { display: flex; }
  .hero { min-height: auto; padding-bottom: 3rem; }
  .hero-inner { padding: 3rem 0; }
  .hero-reasons { grid-template-columns: 1fr; }
  .hero-stats { gap: 1.5rem; }
  .hero-stat-num { font-size: 1.5rem; }
  .section { padding: 3rem 0; }
  .footer-grid { grid-template-columns: 1fr; gap: 1.5rem; }
  .footer-bottom { flex-direction: column; text-align: center; }
}

@media (max-width: 480px) {
  .cta-actions { flex-direction: column; }
  .cta-actions .btn { width: 100%; }
}

/* ---------- Resume Application Banner (Home & Apply) ---------- */
.resume-banner {
  background: #eff6ff;
  border-bottom: 2px solid #3b82f6;
  padding: 0.8rem 0;
}
.resume-banner-home {
  margin-top: -1px; /* sits right below hero */
}
.resume-banner-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  font-size: 0.95rem;
  color: #1e40af;
}
.resume-banner-inner strong {
  color: #1a365d;
}
.resume-banner-actions {
  display: flex;
  gap: 0.5rem;
}

/* ---------- Trust Badge ---------- */
.trust-section {
  padding: 3rem 0;
  background: linear-gradient(135deg, #0f2440 0%, #1a365d 100%);
  color: white;
}
.trust-badge {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.5rem;
}
.trust-stat {
  text-align: center;
}
.trust-number {
  display: block;
  font-size: 2.5rem;
  font-weight: 800;
  font-family: 'Playfair Display', serif;
  color: #d4a843;
  line-height: 1.1;
}
.trust-label {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.8);
}
.trust-divider {
  width: 1px;
  height: 60px;
  background: rgba(255,255,255,0.2);
}
.trust-desc {
  text-align: center;
  font-size: 1.05rem;
  color: rgba(255,255,255,0.75);
  max-width: 700px;
  margin: 0 auto;
}

/* ---------- City Cost Comparison ---------- */
.city-cost-section {
  padding: 4rem 0;
  background: var(--color-gray-50);
}
.city-cost-tabs {
  display: flex;
  justify-content: center;
  gap: 0.5rem;
  margin-bottom: 2rem;
  flex-wrap: wrap;
}
.city-cost-tab {
  padding: 0.6rem 1.4rem;
  border: 2px solid var(--color-gray-300);
  border-radius: 2rem;
  background: white;
  cursor: pointer;
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--color-gray-600);
  transition: all 0.2s;
  white-space: nowrap;
}
.city-cost-tab:hover {
  border-color: var(--city-color, var(--color-primary));
  color: var(--city-color, var(--color-primary));
}
.city-cost-tab.active {
  background: var(--city-color, var(--color-primary));
  border-color: var(--city-color, var(--color-primary));
  color: white;
}
.city-cost-card {
  background: white;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-md);
  overflow: hidden;
  max-width: 800px;
  margin: 0 auto;
  transition: opacity 0.3s;
}
.city-cost-header {
  padding: 2rem 2.5rem 1.5rem;
  display: flex;
  align-items: center;
  gap: 1.5rem;
  border-bottom: 1px solid var(--color-gray-100);
}
.city-cost-icon {
  width: 56px;
  height: 56px;
  border-radius: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: white;
  flex-shrink: 0;
}
.city-cost-name {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--color-gray-900);
}
.city-cost-tagline {
  font-size: 0.9rem;
  color: var(--color-gray-500);
  margin-top: 0.25rem;
}
.city-cost-body {
  padding: 2rem 2.5rem;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
}
.city-cost-item {
  text-align: center;
}
.city-cost-item-label {
  font-size: 0.85rem;
  color: var(--color-gray-500);
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.city-cost-item-local {
  font-size: 0.85rem;
  color: var(--color-gray-400);
  margin-bottom: 0.25rem;
}
.city-cost-item-usd {
  font-size: 2rem;
  font-weight: 800;
  color: var(--color-gray-900);
  font-family: 'Playfair Display', serif;
}
.city-cost-item-usd span {
  font-size: 1rem;
  color: var(--color-gray-400);
  font-weight: 400;
}
.city-cost-divider {
  border-top: 1px solid var(--color-gray-100);
  margin: 0 2.5rem;
}
.city-cost-footer {
  padding: 1.5rem 2.5rem;
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  align-items: flex-start;
}
.city-cost-highlight {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.9rem;
  color: var(--color-gray-600);
  flex: 1 1 100%;
  line-height: 1.5;
}
.city-cost-highlight::before {
  content: '✦';
  color: var(--color-primary);
  flex-shrink: 0;
}
.city-cost-total {
  text-align: center;
  padding: 1.5rem 2.5rem;
  background: var(--city-color, var(--color-primary));
  color: white;
  font-size: 1.1rem;
  font-weight: 600;
}
.city-cost-total strong {
  font-size: 1.5rem;
  font-family: 'Playfair Display', serif;
}
.city-cost-compare {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 2rem;
  flex-wrap: wrap;
}
.city-cost-compare-item {
  background: white;
  border-radius: var(--radius-md);
  padding: 1.2rem 2rem;
  text-align: center;
  box-shadow: var(--shadow-sm);
  min-width: 160px;
  border-top: 3px solid var(--color-gray-300);
}
.city-cost-compare-item.gba {
  border-top-color: var(--color-primary);
  background: linear-gradient(135deg, #f0f7ff 0%, #fff 100%);
}
.city-cost-compare-flag {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}
.city-cost-compare-name {
  font-size: 0.85rem;
  color: var(--color-gray-500);
  margin-bottom: 0.25rem;
}
.city-cost-compare-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--color-gray-900);
}
.city-cost-compare-price.gba-price {
  color: var(--color-primary);
}

@media (max-width: 640px) {
  .city-cost-body { grid-template-columns: 1fr; gap: 1.5rem; }
  .city-cost-header { flex-direction: column; text-align: center; }
  .city-cost-card { margin: 0 1rem; }
  .city-cost-header, .city-cost-body, .city-cost-footer, .city-cost-total { padding-left: 1.5rem; padding-right: 1.5rem; }
  .city-cost-divider { margin: 0 1.5rem; }
  .city-cost-tab { font-size: 0.8rem; padding: 0.5rem 1rem; }
}

/* ---------- Logo Wall ---------- */
.logo-wall-section {
  padding: 4rem 0;
}
.logo-wall {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
  margin-top: 2rem;
}
.logo-wall-item {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 1.5rem;
  background: white;
  border: 1px solid var(--color-gray-200);
  border-radius: var(--radius-md);
  min-width: 180px;
  text-align: center;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--color-gray-700);
  transition: box-shadow 0.2s, transform 0.2s;
}
.logo-wall-item:hover {
  box-shadow: var(--shadow-md);
  transform: translateY(-2px);
}
.logo-wall-item .logo-wall-abbrev {
  font-size: 0.75rem;
  color: var(--color-gray-400);
  display: block;
  margin-top: 0.25rem;
}

/* ---------- How It Works ---------- */
.how-section {
  padding: 4rem 0;
}
.how-steps {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
  margin-top: 2.5rem;
}
.how-step {
  text-align: center;
  padding: 2rem 1.5rem;
  background: white;
  border-radius: var(--radius-lg);
  border: 1px solid var(--color-gray-200);
  position: relative;
}
.how-step-num {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: var(--color-primary);
  color: white;
  font-size: 1.25rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1rem;
}
.how-step h3 {
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  color: var(--color-gray-900);
}
.how-step p {
  font-size: 0.95rem;
  color: var(--color-gray-500);
  line-height: 1.6;
}

/* ---------- Responsive ---------- */
@media (max-width: 768px) {
  .trust-divider {
    width: 60px;
    height: 1px;
  }
  .trust-badge {
    flex-direction: column;
    gap: 1rem;
  }
  .logo-wall-item {
    min-width: 140px;
    padding: 0.75rem 1rem;
    font-size: 0.8rem;
  }
}
