/* ========================================
   STAFF WELFARE SCHEME - MAIN STYLESHEET
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* ---- CSS VARIABLES ---- */
:root {
  --primary: #003087;
  --primary-dark: #001f5c;
  --primary-light: #0057B8;
  --accent: #F5A623;
  --accent-dark: #D4891A;
  --bg-light: #E8F1FB;
  --bg-lighter: #F4F8FE;
  --text-dark: #1A1A2E;
  --text-medium: #4A5568;
  --text-light: #718096;
  --white: #FFFFFF;
  --success: #38A169;
  --success-bg: #F0FFF4;
  --error: #E53E3E;
  --error-bg: #FFF5F5;
  --warning: #D69E2E;
  --warning-bg: #FFFBEB;
  --info: #3182CE;
  --info-bg: #EBF8FF;
  --border: #E2E8F0;
  --border-focus: #0057B8;
  --shadow-sm: 0 1px 3px rgba(0,48,135,0.1);
  --shadow-md: 0 4px 16px rgba(0,48,135,0.12);
  --shadow-lg: 0 8px 32px rgba(0,48,135,0.16);
  --shadow-xl: 0 20px 60px rgba(0,48,135,0.2);
  --radius: 12px;
  --radius-sm: 8px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  --transition: 0.3s ease;
  --transition-fast: 0.15s ease;
  --font: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  --max-width: 1200px;
  --nav-height: 72px;
}

/* ---- RESET & BASE ---- */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
  font-family: var(--font);
  color: var(--text-dark);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; height: auto; display: block; }
a { color: var(--primary-light); text-decoration: none; transition: color var(--transition-fast); }
a:hover { color: var(--primary); }
ul { list-style: none; }
button { font-family: var(--font); cursor: pointer; border: none; outline: none; }
input, select, textarea { font-family: var(--font); }
h1,h2,h3,h4,h5,h6 { font-weight: 700; line-height: 1.2; color: var(--text-dark); }
p { color: var(--text-medium); line-height: 1.7; }

/* ---- UTILITY ---- */
.container { max-width: var(--max-width); margin: 0 auto; padding: 0 24px; }
.section { padding: 80px 0; }
.section-sm { padding: 48px 0; }
.text-center { text-align: center; }
.text-white { color: var(--white) !important; }
.text-primary { color: var(--primary) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--text-light) !important; }
.bg-light { background: var(--bg-light); }
.bg-lighter { background: var(--bg-lighter); }
.bg-primary { background: var(--primary); }
.bg-white { background: var(--white); }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.d-flex { display: flex; }
.align-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-8 { gap: 8px; }
.gap-12 { gap: 12px; }
.gap-16 { gap: 16px; }
.gap-24 { gap: 24px; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.mb-40 { margin-bottom: 40px; }
.hidden { display: none !important; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

/* ---- SECTION HEADERS ---- */
.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--accent);
  background: rgba(245,166,35,0.12);
  padding: 4px 12px;
  border-radius: var(--radius-full);
  margin-bottom: 12px;
}
.section-title {
  font-size: clamp(1.75rem, 3vw, 2.5rem);
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--text-dark);
}
.section-subtitle {
  font-size: 1.0625rem;
  color: var(--text-medium);
  max-width: 640px;
  margin: 0 auto 48px;
}
.section-header { text-align: center; margin-bottom: 48px; }

/* ---- BUTTONS ---- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  font-weight: 600;
  transition: all var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  text-decoration: none;
}
.btn-primary {
  background: var(--primary);
  color: var(--white);
  border-color: var(--primary);
}
.btn-primary:hover {
  background: var(--primary-dark);
  border-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}
.btn-secondary {
  background: var(--primary-light);
  color: var(--white);
  border-color: var(--primary-light);
}
.btn-secondary:hover {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline {
  background: transparent;
  color: var(--primary);
  border-color: var(--primary);
}
.btn-outline:hover {
  background: var(--primary);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-outline-white {
  background: transparent;
  color: var(--white);
  border-color: var(--white);
}
.btn-outline-white:hover {
  background: var(--white);
  color: var(--primary);
}
.btn-accent {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
}
.btn-accent:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  color: var(--white);
  transform: translateY(-1px);
}
.btn-white {
  background: var(--white);
  color: var(--primary);
  border-color: var(--white);
}
.btn-white:hover {
  background: var(--bg-light);
  transform: translateY(-1px);
}
.btn-sm { padding: 8px 18px; font-size: 0.875rem; }
.btn-lg { padding: 16px 36px; font-size: 1.0625rem; }
.btn-icon { width: 40px; height: 40px; padding: 0; justify-content: center; }

/* ---- NAVIGATION ---- */
.navbar {
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--nav-height);
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1000;
  transition: box-shadow var(--transition);
}
.navbar.scrolled { box-shadow: var(--shadow-md); }
.navbar .container {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  flex-shrink: 0;
}
.nav-logo-icon {
  width: 44px;
  height: 44px;
  background: var(--white);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.nav-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.nav-logo-text { display: flex; flex-direction: column; line-height: 1.15; }
.nav-logo-title { font-size: 0.9375rem; font-weight: 700; color: var(--primary); }
.nav-logo-sub { font-size: 0.6875rem; font-weight: 400; color: var(--text-light); letter-spacing: 0.02em; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: center;
}
.nav-links a {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-medium);
  transition: all var(--transition-fast);
  position: relative;
}
.nav-links a:hover { color: var(--primary); background: var(--bg-lighter); }
.nav-links a.active { color: var(--primary); font-weight: 600; }
.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: 2px; left: 14px; right: 14px;
  height: 2px;
  background: var(--primary);
  border-radius: 2px;
}
.nav-actions { display: flex; align-items: center; gap: 10px; flex-shrink: 0; }
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 8px;
  cursor: pointer;
  background: none;
  border: none;
}
.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--text-dark);
  border-radius: 2px;
  transition: all var(--transition);
}
.hamburger.open span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }
.nav-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 999;
}
.nav-overlay.open { display: block; }
body.nav-open { overflow: hidden; }

/* ---- HERO ---- */
.hero {
  padding-top: calc(var(--nav-height) + 80px);
  padding-bottom: 80px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 50%, var(--primary-light) 100%);
  position: relative;
  overflow: hidden;
}

/* Hero Slideshow */
.hero-slideshow {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slide {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

.hero-slide::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.3);
}

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(circle at 20% 50%, rgba(255,255,255,0.05) 0%, transparent 50%),
    radial-gradient(circle at 80% 20%, rgba(245,166,35,0.1) 0%, transparent 40%);
  pointer-events: none;
  z-index: 1;
}
.hero-pattern {
  position: absolute;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 60px 60px;
  pointer-events: none;
  z-index: 1;
}
.hero-content { position: relative; z-index: 1; text-align: center; max-width: 780px; margin: 0 auto; }
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(255,255,255,0.15);
  border: 1px solid rgba(255,255,255,0.25);
  color: var(--white);
  padding: 6px 16px;
  border-radius: var(--radius-full);
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 24px;
  backdrop-filter: blur(4px);
}
.hero h1 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  line-height: 1.15;
}
.hero h1 span { color: var(--accent); }
.hero p {
  font-size: 1.125rem;
  color: rgba(255,255,255,0.85);
  margin-bottom: 36px;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}
.hero-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 0;
  margin-top: 64px;
  background: rgba(255,255,255,0.1);
  backdrop-filter: blur(8px);
  border: 1px solid rgba(255,255,255,0.2);
  border-radius: var(--radius);
  overflow: hidden;
}
.hero-stat {
  flex: 1;
  padding: 24px 20px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.15);
}
.hero-stat:last-child { border-right: none; }
.hero-stat-value { font-size: clamp(1.25rem, 2.5vw, 1.75rem); font-weight: 700; color: var(--white); display: block; }
.hero-stat-label { font-size: 0.8125rem; color: rgba(255,255,255,0.7); margin-top: 4px; display: block; }

/* ---- PAGE HERO (inner pages) ---- */
.page-hero {
  padding-top: calc(var(--nav-height) + 48px);
  padding-bottom: 48px;
  background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}
.page-hero-content { position: relative; z-index: 1; }
.page-hero h1 { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 12px; }
.page-hero p { color: rgba(255,255,255,0.8); max-width: 560px; }
.breadcrumb {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 16px;
  font-size: 0.875rem;
  color: rgba(255,255,255,0.65);
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb span { color: var(--accent); font-weight: 500; }

/* ---- CARDS ---- */
.card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 28px;
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0,87,184,0.2); }
.card-icon {
  width: 56px;
  height: 56px;
  background: var(--bg-light);
  border-radius: var(--radius);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  margin-bottom: 20px;
  color: var(--primary);
}
.card-icon.accent { background: rgba(245,166,35,0.12); color: var(--accent); }
.card-icon.success { background: var(--success-bg); color: var(--success); }
.card-icon.lg { width: 72px; height: 72px; font-size: 2rem; }
.card h3 { font-size: 1.125rem; margin-bottom: 10px; color: var(--text-dark); }
.card p { font-size: 0.9375rem; color: var(--text-medium); margin-bottom: 0; }
.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--primary-light);
  margin-top: 16px;
}
.card-link:hover { gap: 10px; color: var(--primary); }

/* Grid layouts */
.grid { display: grid; gap: 24px; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); }

/* ---- ANNOUNCEMENT BANNER ---- */
.announcement-banner {
  background: var(--bg-light);
  border: 1px solid rgba(0,87,184,0.2);
  border-left: 4px solid var(--primary-light);
  border-radius: var(--radius-sm);
  padding: 14px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.announcement-banner .icon { color: var(--primary-light); font-size: 1.125rem; flex-shrink: 0; }
.announcement-banner p { margin: 0; font-size: 0.9375rem; color: var(--text-dark); }
.announcement-banner a { font-weight: 600; color: var(--primary-light); margin-left: 8px; }
.announcement-banner a:hover { text-decoration: underline; }

/* ---- HOW IT WORKS ---- */
.steps-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 0; position: relative; }
.steps-grid::before {
  content: '';
  position: absolute;
  top: 40px;
  left: 12.5%;
  right: 12.5%;
  height: 2px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  z-index: 0;
}
.step-item { text-align: center; padding: 0 16px; position: relative; z-index: 1; }
.step-number {
  width: 80px;
  height: 80px;
  background: var(--primary);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 auto 20px;
  border: 4px solid var(--white);
  box-shadow: var(--shadow-md);
}
.step-item h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.step-item p { font-size: 0.9rem; }

/* ---- STATS SECTION ---- */
.stats-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary));
  padding: 80px 0;
  text-align: center;
}
.stats-section .section-title { color: var(--white); }
.stats-section .section-subtitle { color: rgba(255,255,255,0.75); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 40px; }
.stat-item { text-align: center; }
.stat-value {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 700;
  color: var(--accent);
  display: block;
  line-height: 1;
  margin-bottom: 8px;
}
.stat-label { font-size: 0.9375rem; color: rgba(255,255,255,0.75); }

/* ---- TESTIMONIALS ---- */
.testimonial-card {
  background: var(--white);
  border-radius: var(--radius);
  border: 1px solid var(--border);
  padding: 32px;
  box-shadow: var(--shadow-sm);
}
.testimonial-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.testimonial-stars { color: var(--accent); font-size: 0.875rem; margin-bottom: 16px; letter-spacing: 2px; }
.testimonial-text { font-size: 0.9375rem; font-style: italic; color: var(--text-medium); margin-bottom: 24px; line-height: 1.7; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: var(--bg-light);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  color: var(--primary);
  flex-shrink: 0;
}
.testimonial-name { font-weight: 600; font-size: 0.9375rem; color: var(--text-dark); }
.testimonial-role { font-size: 0.8125rem; color: var(--text-light); }

/* ---- ACCORDION / FAQ ---- */
.accordion-item {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  overflow: hidden;
  transition: box-shadow var(--transition);
}
.accordion-item.open { box-shadow: var(--shadow-sm); }
.accordion-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  cursor: pointer;
  background: var(--white);
  transition: background var(--transition-fast);
  gap: 16px;
}
.accordion-header:hover { background: var(--bg-lighter); }
.accordion-header.open { background: var(--bg-light); }
.accordion-question { font-weight: 600; font-size: 0.9375rem; color: var(--text-dark); }
.accordion-icon {
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-light);
  border-radius: 50%;
  color: var(--primary);
  flex-shrink: 0;
  transition: transform var(--transition), background var(--transition);
}
.accordion-header.open .accordion-icon { transform: rotate(45deg); background: var(--primary); color: var(--white); }
.accordion-body {
  display: none;
  padding: 0 24px 20px;
  background: var(--white);
}
.accordion-body.open { display: block; }
.accordion-body p { font-size: 0.9375rem; color: var(--text-medium); }

/* ---- FORMS ---- */
.form-group { margin-bottom: 24px; }
.form-label { 
  display: block; 
  font-size: 0.8125rem; 
  font-weight: 600; 
  color: var(--text-dark); 
  margin-bottom: 8px;
  letter-spacing: 0.01em;
}
.form-label .required { color: var(--error); margin-left: 2px; }
.form-control {
  width: 100%;
  padding: 13px 16px;
  border: 2px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: var(--white);
  transition: all var(--transition-fast);
  appearance: none;
  -webkit-appearance: none;
  font-weight: 400;
}
.form-control:hover {
  border-color: rgba(0,87,184,0.3);
}
.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  box-shadow: 0 0 0 4px rgba(0,87,184,0.08);
  background: #FAFCFF;
}
.form-control.error { 
  border-color: var(--error); 
  box-shadow: 0 0 0 4px rgba(229,62,62,0.08); 
  background: #FFFAFA;
}
.form-control.success { 
  border-color: var(--success); 
  box-shadow: 0 0 0 4px rgba(56,161,105,0.08); 
}
.form-control::placeholder { color: #A0AEC0; font-weight: 300; }
.form-error { 
  font-size: 0.8125rem; 
  color: var(--error); 
  margin-top: 6px; 
  display: none;
  font-weight: 500;
}
.form-error.visible { display: block; }
.form-hint { 
  font-size: 0.8125rem; 
  color: var(--text-light); 
  margin-top: 6px; 
  line-height: 1.5;
}
select.form-control { 
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%234A5568' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); 
  background-repeat: no-repeat; 
  background-position: right 14px center; 
  padding-right: 44px; 
  cursor: pointer;
  font-weight: 400;
}
select.form-control:focus {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='8' viewBox='0 0 14 8'%3E%3Cpath d='M1 1l6 6 6-6' stroke='%230057B8' stroke-width='2' fill='none' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
}
textarea.form-control { resize: vertical; min-height: 120px; line-height: 1.6; }
.form-check { 
  display: flex; 
  align-items: flex-start; 
  gap: 12px; 
  cursor: pointer;
  padding: 12px;
  border-radius: var(--radius-sm);
  transition: background var(--transition-fast);
}
.form-check:hover {
  background: var(--bg-lighter);
}
.form-check input[type=checkbox] { 
  width: 20px; 
  height: 20px; 
  margin-top: 2px; 
  accent-color: var(--primary); 
  cursor: pointer; 
  flex-shrink: 0;
  border-radius: 4px;
}
.form-check-label { 
  font-size: 0.9rem; 
  color: var(--text-medium); 
  line-height: 1.6;
  font-weight: 400;
}
.form-row { 
  display: grid; 
  grid-template-columns: 1fr 1fr; 
  gap: 20px; 
}

/* ---- BADGES / PILLS ---- */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 10px;
  border-radius: var(--radius-full);
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}
.badge-primary { background: var(--bg-light); color: var(--primary); }
.badge-success { background: var(--success-bg); color: var(--success); }
.badge-error { background: var(--error-bg); color: var(--error); }
.badge-warning { background: var(--warning-bg); color: var(--warning); }
.badge-info { background: var(--info-bg); color: var(--info); }
.badge-accent { background: rgba(245,166,35,0.12); color: var(--accent-dark); }

/* ---- MODALS ---- */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.5);
  display: flex; align-items: center; justify-content: center;
  padding: 24px;
  opacity: 0; pointer-events: none;
  transition: opacity var(--transition);
}
.modal-overlay.open { opacity: 1; pointer-events: all; }
.modal {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 32px;
  max-width: 520px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: var(--shadow-xl);
  transform: translateY(20px);
  transition: transform var(--transition);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 20px; }
.modal-title { font-size: 1.25rem; font-weight: 700; }
.modal-close { width: 32px; height: 32px; border-radius: 50%; background: var(--bg-lighter); display: flex; align-items: center; justify-content: center; cursor: pointer; color: var(--text-medium); transition: all var(--transition-fast); }
.modal-close:hover { background: var(--border); color: var(--text-dark); }

/* ---- TOAST NOTIFICATIONS ---- */
.toast-container {
  position: fixed; bottom: 24px; right: 24px; z-index: 3000;
  display: flex; flex-direction: column; gap: 10px;
}
.toast {
  display: flex; align-items: flex-start; gap: 12px;
  background: var(--white);
  border-radius: var(--radius-sm);
  padding: 14px 18px;
  box-shadow: var(--shadow-lg);
  border-left: 4px solid var(--primary);
  max-width: 360px;
  animation: slideInRight 0.3s ease;
  transition: all var(--transition);
}
.toast.success { border-color: var(--success); }
.toast.error { border-color: var(--error); }
.toast.warning { border-color: var(--warning); }
.toast-icon { font-size: 1.125rem; flex-shrink: 0; }
.toast.success .toast-icon { color: var(--success); }
.toast.error .toast-icon { color: var(--error); }
.toast.warning .toast-icon { color: var(--warning); }
.toast-content { flex: 1; }
.toast-title { font-weight: 600; font-size: 0.875rem; color: var(--text-dark); }
.toast-message { font-size: 0.8125rem; color: var(--text-medium); margin-top: 2px; }
.toast-close { color: var(--text-light); cursor: pointer; font-size: 0.875rem; padding: 2px; }
.toast-close:hover { color: var(--text-dark); }

/* ---- LOADING SPINNER ---- */
.spinner {
  width: 40px; height: 40px;
  border: 3px solid var(--bg-light);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
.spinner-sm { width: 20px; height: 20px; border-width: 2px; }
.spinner-overlay {
  position: fixed; inset: 0;
  background: rgba(255,255,255,0.8);
  z-index: 4000;
  display: flex; align-items: center; justify-content: center;
}

/* ---- NOTICE SECTION ---- */
.notice-section { padding: 20px 0; background: var(--bg-lighter); border-bottom: 1px solid var(--border); }

/* ---- DOCUMENT CARDS ---- */
.doc-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  transition: all var(--transition);
}
.doc-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.doc-icon {
  width: 48px; height: 48px;
  background: #FFF0F0;
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: #E53E3E; font-size: 1.25rem; flex-shrink: 0;
}
.doc-title { font-size: 0.9375rem; font-weight: 600; color: var(--text-dark); line-height: 1.4; }
.doc-meta { font-size: 0.8125rem; color: var(--text-light); display: flex; align-items: center; gap: 10px; }
.doc-meta span { display: flex; align-items: center; gap: 4px; }

/* ---- PORTAL CARDS ---- */
.portal-card {
  background: var(--white);
  border: 2px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 36px 28px;
  text-align: center;
  transition: all var(--transition);
}
.portal-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.portal-card .icon { font-size: 2.5rem; margin-bottom: 16px; color: var(--primary); }
.portal-card h3 { font-size: 1.25rem; margin-bottom: 10px; }
.portal-card p { font-size: 0.9375rem; color: var(--text-medium); margin-bottom: 24px; }

/* ---- FOOTER ---- */
.footer {
  background: var(--primary-dark);
  color: rgba(255,255,255,0.75);
  padding-top: 64px;
}
.footer-grid {
  display: grid;
  grid-template-columns: 1.5fr 1fr 1.2fr 1fr;
  gap: 40px;
  padding-bottom: 48px;
  border-bottom: 1px solid rgba(255,255,255,0.1);
}
.footer-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
}
.footer-logo-icon {
  width: 44px; height: 44px;
  background: rgba(255,255,255,0.95);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  padding: 6px;
  overflow: hidden;
  flex-shrink: 0;
}
.footer-logo-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.footer-logo-title { font-size: 0.9375rem; font-weight: 700; color: var(--white); display: block; }
.footer-logo-sub { font-size: 0.6875rem; color: rgba(255,255,255,0.5); display: block; }
.footer-tagline { font-size: 0.875rem; line-height: 1.6; margin-bottom: 20px; }
.footer-social { display: flex; gap: 10px; }
.footer-social a {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.7); font-size: 0.875rem;
  transition: all var(--transition-fast);
}
.footer-social a:hover { background: var(--primary-light); color: var(--white); }
.footer-col h4 { color: var(--white); font-size: 0.9375rem; margin-bottom: 16px; font-weight: 600; }
.footer-links { display: flex; flex-direction: column; gap: 8px; }
.footer-links a { font-size: 0.875rem; color: rgba(255,255,255,0.65); transition: color var(--transition-fast); }
.footer-links a:hover { color: var(--white); padding-left: 4px; }
.footer-contact { display: flex; flex-direction: column; gap: 12px; }
.footer-contact-item { display: flex; gap: 10px; align-items: flex-start; }
.footer-contact-item i { color: var(--accent); font-size: 0.875rem; margin-top: 3px; flex-shrink: 0; }
.footer-contact-item span { font-size: 0.875rem; line-height: 1.5; }
.footer-bottom {
  padding: 20px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.8125rem;
  color: rgba(255,255,255,0.5);
  flex-wrap: wrap;
  gap: 8px;
}
.footer-bottom span { color: rgba(255,255,255,0.5); }

/* ---- CTA SECTION ---- */
.cta-section {
  background: linear-gradient(135deg, var(--primary-dark), var(--primary-light));
  padding: 80px 0;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content: '';
  position: absolute; inset: 0;
  background: radial-gradient(circle at 30% 50%, rgba(245,166,35,0.1), transparent 60%);
}
.cta-section h2 { color: var(--white); font-size: clamp(1.75rem, 3vw, 2.5rem); margin-bottom: 12px; }
.cta-section p { color: rgba(255,255,255,0.8); max-width: 560px; margin: 0 auto 32px; font-size: 1.0625rem; }
.cta-actions { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; position: relative; z-index: 1; }

/* ---- TABS ---- */
.tabs { display: flex; gap: 4px; background: var(--bg-lighter); padding: 4px; border-radius: var(--radius-sm); width: fit-content; }
.tab-btn {
  padding: 8px 20px;
  border-radius: 6px;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--text-medium);
  background: transparent;
  cursor: pointer;
  transition: all var(--transition-fast);
  border: none;
}
.tab-btn:hover { color: var(--primary); }
.tab-btn.active { background: var(--white); color: var(--primary); font-weight: 600; box-shadow: var(--shadow-sm); }
.tabs-wrapper { margin-bottom: 32px; overflow-x: auto; padding-bottom: 4px; }

/* ---- EVENT CARDS ---- */
.event-card {
  display: flex; gap: 16px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
}
.event-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.event-date-badge {
  width: 56px; height: 64px;
  background: var(--primary);
  border-radius: var(--radius-sm);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  flex-shrink: 0;
}
.event-date-day { font-size: 1.375rem; font-weight: 700; color: var(--white); line-height: 1; }
.event-date-month { font-size: 0.6875rem; text-transform: uppercase; letter-spacing: 0.05em; color: rgba(255,255,255,0.75); }
.event-content h4 { font-size: 1rem; margin-bottom: 6px; }
.event-content p { font-size: 0.875rem; color: var(--text-medium); }
.event-meta { display: flex; gap: 12px; margin-top: 8px; font-size: 0.8125rem; color: var(--text-light); }

/* ---- NEWS/ANNOUNCEMENT CARDS ---- */
.news-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--radius); overflow: hidden; transition: all var(--transition); }
.news-card:hover { box-shadow: var(--shadow-md); transform: translateY(-2px); }
.news-card-img { height: 160px; background: linear-gradient(135deg, var(--bg-light), var(--primary-light)); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; }
.news-card-body { padding: 20px; }
.news-date { font-size: 0.8125rem; color: var(--text-light); margin-bottom: 8px; }
.news-title { font-size: 1rem; font-weight: 600; color: var(--text-dark); margin-bottom: 8px; line-height: 1.4; }
.news-excerpt { font-size: 0.875rem; color: var(--text-medium); }
.news-read-more { display: inline-flex; align-items: center; gap: 4px; font-size: 0.875rem; font-weight: 600; color: var(--primary-light); margin-top: 12px; }

/* ---- BENEFIT CARDS ---- */
.benefit-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  transition: all var(--transition);
  display: flex; flex-direction: column;
}
.benefit-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); border-color: rgba(0,87,184,0.2); }
.benefit-card-header { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; margin-bottom: 16px; }
.benefit-card h3 { font-size: 1.0625rem; margin-bottom: 8px; }
.benefit-meta { display: flex; flex-direction: column; gap: 6px; margin: 12px 0; }
.benefit-meta-item { display: flex; align-items: center; gap: 8px; font-size: 0.8125rem; color: var(--text-medium); }
.benefit-meta-item i { color: var(--primary-light); width: 14px; }
.benefit-card .btn { margin-top: auto; padding-top: 16px; }

/* ---- SEARCH BAR ---- */
.search-bar {
  display: flex;
  gap: 0;
  max-width: 520px;
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  overflow: hidden;
  transition: border-color var(--transition-fast), box-shadow var(--transition-fast);
  background: var(--white);
}
.search-bar:focus-within { border-color: var(--border-focus); box-shadow: 0 0 0 3px rgba(0,87,184,0.12); }
.search-bar input {
  flex: 1;
  border: none;
  padding: 12px 16px;
  font-size: 0.9375rem;
  color: var(--text-dark);
  background: transparent;
  outline: none;
}
.search-bar input::placeholder { color: var(--text-light); }
.search-bar button {
  padding: 12px 18px;
  background: var(--primary);
  color: var(--white);
  border: none;
  cursor: pointer;
  transition: background var(--transition-fast);
  font-size: 0.9375rem;
}
.search-bar button:hover { background: var(--primary-dark); }

/* ---- BENEFITS COMPARISON TABLE ---- */
.comparison-table { width: 100%; border-collapse: collapse; }
.comparison-table th {
  background: var(--primary);
  color: var(--white);
  padding: 14px 16px;
  text-align: left;
  font-weight: 600;
  font-size: 0.875rem;
}
.comparison-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.comparison-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }
.comparison-table td { padding: 12px 16px; border-bottom: 1px solid var(--border); font-size: 0.9rem; }
.comparison-table tr:hover td { background: var(--bg-lighter); }
.comparison-table tr:last-child td { border-bottom: none; }
.comparison-table td:first-child { font-weight: 600; color: var(--text-dark); }

/* ---- MULTI-STEP FORM ---- */
.form-progress-wrapper {
  margin-bottom: 16px;
  background: var(--border);
  border-radius: var(--radius-full);
  height: 6px;
  overflow: hidden;
  box-shadow: inset 0 1px 3px rgba(0,0,0,0.05);
}
.form-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
  border-radius: var(--radius-full);
  width: 0%;
  transition: width 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 12px rgba(0,87,184,0.4);
  position: relative;
}
.form-progress-fill::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
  animation: shimmer 2s infinite;
}
@keyframes shimmer {
  0% { transform: translateX(-100%); }
  100% { transform: translateX(100%); }
}

.step-progress { 
  display: flex; 
  gap: 0; 
  margin-bottom: 48px;
  padding: 0 24px;
}
.step-indicator {
  flex: 1;
  display: flex;
  align-items: center;
  position: relative;
}
.step-indicator::after {
  content: '';
  position: absolute;
  top: 24px;
  left: 50%;
  right: -50%;
  height: 2px;
  background: var(--border);
  z-index: 0;
  transition: background var(--transition);
}
.step-indicator:last-child::after { display: none; }
.step-indicator.completed::after { background: var(--primary); }
.step-indicator.active::after { background: linear-gradient(90deg, var(--primary) 0%, var(--border) 100%); }

.step-circle {
  width: 48px; 
  height: 48px;
  border-radius: 50%;
  border: 3px solid var(--border);
  background: var(--white);
  color: var(--text-light);
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-weight: 700; 
  font-size: 1rem;
  position: relative; 
  z-index: 1;
  transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.step-indicator.active .step-circle { 
  border-color: var(--primary); 
  background: var(--primary); 
  color: var(--white);
  box-shadow: 0 4px 16px rgba(0,48,135,0.25), 0 0 0 4px rgba(0,87,184,0.1);
  transform: scale(1.08);
}
.step-indicator.completed .step-circle { 
  border-color: var(--primary); 
  background: var(--primary); 
  color: var(--white);
  box-shadow: 0 2px 8px rgba(0,48,135,0.2);
}

.step-info { 
  margin-left: 12px;
  flex: 1;
}
.step-info-number { 
  font-size: 0.6875rem; 
  color: var(--text-light); 
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 2px;
}
.step-info-label { 
  font-size: 0.9375rem; 
  font-weight: 600; 
  color: var(--text-medium);
  transition: color var(--transition);
}
.step-indicator.active .step-info-label { 
  color: var(--primary);
  font-weight: 700;
}
.step-indicator.completed .step-info-label { 
  color: var(--text-dark);
}

/* Form steps */
.form-step { display: none; }
.form-step.active { display: block; }

.form-card { 
  background: var(--white); 
  border-radius: var(--radius-lg); 
  border: 1px solid var(--border); 
  box-shadow: 0 8px 24px rgba(0,48,135,0.08); 
  overflow: hidden;
  transition: box-shadow var(--transition);
}

.form-card[data-step] {
  display: none;
  animation: fadeSlideIn 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-card[data-step].active {
  display: block;
}

@keyframes fadeSlideIn {
  from {
    opacity: 0;
    transform: translateY(12px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-card-header { 
  background: linear-gradient(135deg, rgba(0,87,184,0.03) 0%, rgba(0,48,135,0.06) 100%);
  padding: 32px 40px; 
  border-bottom: 1px solid var(--border);
  position: relative;
  overflow: hidden;
}

.form-card-header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-light) 100%);
}

.form-card-header h2 { 
  font-size: 1.375rem; 
  color: var(--primary);
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  margin-bottom: 6px;
}

.form-card-header p { 
  font-size: 0.9375rem; 
  color: var(--text-medium); 
  margin: 0;
  line-height: 1.6;
}

.form-card-body { 
  padding: 40px;
  background: var(--white);
}

.form-card-footer { 
  padding: 24px 40px; 
  background: #FAFBFC;
  border-top: 1px solid var(--border); 
  display: flex; 
  align-items: center; 
  justify-content: space-between;
}

.review-section { margin-bottom: 24px; }
.review-section h4 { 
  font-size: 0.875rem; 
  font-weight: 700; 
  text-transform: uppercase; 
  letter-spacing: 0.05em; 
  color: var(--primary); 
  margin-bottom: 12px; 
  padding-bottom: 8px; 
  border-bottom: 2px solid var(--bg-light); 
}
.review-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 8px 16px; }
.review-item dt { font-size: 0.8125rem; color: var(--text-light); }
.review-item dd { font-size: 0.9375rem; font-weight: 500; color: var(--text-dark); }

/* File upload */
.file-upload-area {
  border: 2px dashed var(--border);
  border-radius: var(--radius);
  padding: 40px;
  text-align: center;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: linear-gradient(135deg, #FAFCFF 0%, #F4F8FE 100%);
  position: relative;
  overflow: hidden;
}
.file-upload-area::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 50% 50%, rgba(0,87,184,0.03), transparent 70%);
  opacity: 0;
  transition: opacity var(--transition);
}
.file-upload-area:hover::before,
.file-upload-area.dragover::before {
  opacity: 1;
}
.file-upload-area:hover, 
.file-upload-area.dragover { 
  border-color: var(--primary-light); 
  background: linear-gradient(135deg, #EBF4FF 0%, #E0EDFF 100%);
  box-shadow: 0 4px 16px rgba(0,87,184,0.08);
  transform: translateY(-2px);
}
.file-upload-area i { 
  font-size: 2.5rem; 
  color: var(--primary-light); 
  margin-bottom: 16px;
  display: block;
  transition: transform var(--transition);
}
.file-upload-area:hover i {
  transform: translateY(-4px);
}
.file-upload-area p { 
  margin: 0; 
  font-size: 0.9375rem;
  position: relative;
  z-index: 1;
}
.file-upload-area p strong {
  color: var(--primary);
  font-weight: 600;
}
.file-upload-area input[type=file] { display: none; }
.file-preview { 
  display: flex; 
  align-items: center; 
  gap: 12px; 
  padding: 14px 16px; 
  background: var(--bg-light); 
  border-radius: var(--radius-sm); 
  margin-top: 12px; 
  font-size: 0.875rem;
  border: 1px solid var(--border);
  transition: all var(--transition-fast);
}
.file-preview:hover {
  border-color: rgba(0,87,184,0.2);
  background: var(--white);
}
.file-preview .remove-file { 
  margin-left: auto; 
  color: var(--error); 
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 4px;
  transition: background var(--transition-fast);
}
.file-preview .remove-file:hover {
  background: var(--error-bg);
}

/* ---- ANIMATIONS ---- */
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes slideUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }
@keyframes slideInRight { from { opacity: 0; transform: translateX(40px); } to { opacity: 1; transform: translateX(0); } }
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.5; } }
@keyframes countUp { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-8px); } }

.animate-fade { animation: fadeIn 0.6s ease; }
.animate-slide-up { animation: slideUp 0.6s ease; }

/* Scroll-triggered */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity 0.6s ease, transform 0.6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ---- PARTNER LOGOS ---- */
.partners-grid { display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: center; }
.partner-item {
  padding: 16px 28px;
  background: var(--bg-lighter);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.875rem;
  font-weight: 600;
  color: var(--text-medium);
  transition: all var(--transition-fast);
}
.partner-item:hover { background: var(--bg-light); border-color: rgba(0,87,184,0.2); color: var(--primary); }

/* ---- ELIGIBILITY ---- */
.eligibility-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 16px; }
.eligibility-item {
  display: flex; align-items: flex-start; gap: 14px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  transition: all var(--transition);
}
.eligibility-item:hover { border-color: rgba(0,87,184,0.3); box-shadow: var(--shadow-sm); }
.eligibility-icon { width: 36px; height: 36px; background: var(--success-bg); border-radius: 50%; display: flex; align-items: center; justify-content: center; color: var(--success); flex-shrink: 0; font-size: 0.875rem; }
.eligibility-text h4 { font-size: 0.9375rem; margin-bottom: 4px; }
.eligibility-text p { font-size: 0.8125rem; }

/* ---- VALUES CARDS ---- */
.value-card {
  text-align: center;
  padding: 32px 20px;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  transition: all var(--transition);
}
.value-card:hover { border-color: var(--primary-light); box-shadow: var(--shadow-md); transform: translateY(-4px); }
.value-icon { font-size: 2.5rem; margin-bottom: 16px; }
.value-card h3 { font-size: 1.0625rem; margin-bottom: 8px; color: var(--primary); }

/* ---- TIMELINE ---- */
.timeline { position: relative; padding-left: 32px; }
.timeline::before { content: ''; position: absolute; left: 0; top: 0; bottom: 0; width: 2px; background: linear-gradient(to bottom, var(--primary), var(--primary-light)); }
.timeline-item { position: relative; padding-bottom: 32px; }
.timeline-item:last-child { padding-bottom: 0; }
.timeline-dot {
  position: absolute; left: -41px; top: 0;
  width: 20px; height: 20px;
  border-radius: 50%;
  background: var(--primary);
  border: 3px solid var(--white);
  box-shadow: var(--shadow-sm);
}
.timeline-year {
  font-size: 0.8125rem; font-weight: 700; color: var(--primary-light);
  text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 4px;
}
.timeline-title { font-size: 1.0625rem; font-weight: 700; margin-bottom: 6px; }
.timeline-text { font-size: 0.9rem; }

/* ---- CONTACT PAGE ---- */
.contact-info-card {
  display: flex; gap: 16px; align-items: flex-start;
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
  margin-bottom: 16px;
}
.contact-info-icon {
  width: 44px; height: 44px;
  background: var(--bg-light);
  border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  color: var(--primary); font-size: 1rem; flex-shrink: 0;
}
.contact-info-body h4 { font-size: 0.875rem; font-weight: 700; color: var(--text-dark); margin-bottom: 4px; }
.contact-info-body p { font-size: 0.875rem; color: var(--text-medium); margin: 0; }
.map-container {
  width: 100%;
  height: 400px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: var(--shadow-md);
  margin-top: 24px;
}
.map-container iframe {
  width: 100%;
  height: 100%;
  border: 0;
}

/* ---- LEADERSHIP CARDS ---- */
.leader-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
  text-align: center;
  transition: all var(--transition);
}
.leader-card:hover { box-shadow: var(--shadow-md); transform: translateY(-4px); }
.leader-avatar {
  width: 80px; height: 80px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--bg-light), var(--primary-light));
  display: flex; align-items: center; justify-content: center;
  font-size: 1.75rem; font-weight: 700; color: var(--primary);
  margin: 0 auto 16px;
}
.leader-name { font-size: 1.0625rem; font-weight: 700; margin-bottom: 4px; }
.leader-title { font-size: 0.875rem; color: var(--primary-light); font-weight: 500; margin-bottom: 8px; }
.leader-bio { font-size: 0.875rem; color: var(--text-medium); }

/* ---- SUCCESS STATE ---- */
.success-state {
  text-align: center;
  padding: 80px 40px;
}
.success-state h2 {
  font-size: 1.75rem;
  margin-bottom: 12px;
  color: var(--text-dark);
}
.success-state p {
  color: var(--text-medium);
  font-size: 1rem;
  line-height: 1.6;
  max-width: 480px;
  margin: 0 auto 20px;
}
.success-icon {
  width: 96px; 
  height: 96px;
  background: linear-gradient(135deg, var(--success) 0%, #48BB78 100%);
  border-radius: 50%;
  display: flex; 
  align-items: center; 
  justify-content: center;
  font-size: 2.5rem; 
  color: var(--white);
  margin: 0 auto 28px;
  animation: successPulse 2s ease-in-out infinite;
  box-shadow: 0 8px 24px rgba(56,161,105,0.25), 0 0 0 8px rgba(56,161,105,0.08);
}
@keyframes successPulse {
  0%, 100% {
    transform: scale(1);
    box-shadow: 0 8px 24px rgba(56,161,105,0.25), 0 0 0 8px rgba(56,161,105,0.08);
  }
  50% {
    transform: scale(1.05);
    box-shadow: 0 12px 32px rgba(56,161,105,0.3), 0 0 0 12px rgba(56,161,105,0.12);
  }
}
.success-ref {
  display: inline-block;
  background: linear-gradient(135deg, #EBF4FF 0%, #E0EDFF 100%);
  border: 2px solid var(--primary-light);
  border-radius: var(--radius);
  padding: 12px 28px;
  font-size: 1.125rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
  margin: 20px 0;
  font-family: 'Courier New', monospace;
  box-shadow: 0 4px 12px rgba(0,87,184,0.15);
}

/* ---- RESPONSIVE ---- */
@media (max-width: 1200px) {
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .steps-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid::before { display: none; }
  .grid-4 { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 768px) {
  :root { --nav-height: 64px; }
  .nav-links { display: none; position: fixed; top: 0; left: 0; bottom: 0; width: 280px; background: var(--white); flex-direction: column; padding: 80px 16px 24px; box-shadow: var(--shadow-xl); z-index: 1001; transition: transform var(--transition); transform: translateX(-100%); overflow-y: auto; }
  .nav-links.open { transform: translateX(0); }
  .nav-links a { padding: 12px 16px; border-radius: var(--radius-sm); width: 100%; }
  .nav-links a.active::after { display: none; }
  .nav-links a.active { background: var(--bg-light); }
  .nav-actions .btn-outline { display: none; }
  .hamburger { display: flex; }
  .hero h1 { font-size: 2rem; }
  .hero-stats { flex-direction: column; }
  .hero-stat { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.15); }
  .hero-stat:last-child { border-bottom: none; }
  .grid-2, .grid-3, .grid-4 { grid-template-columns: 1fr; }
  .grid-auto { grid-template-columns: 1fr; }
  .steps-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 32px; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 24px; }
  .eligibility-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .step-progress { overflow-x: auto; padding-bottom: 8px; padding-left: 12px; padding-right: 12px; }
  .review-grid { grid-template-columns: 1fr; }
  .form-card-body { padding: 24px; }
  .form-card-header { padding: 24px; }
  .form-card-footer { padding: 20px 24px; flex-direction: column; gap: 12px; }
  .form-card-footer button { width: 100%; justify-content: center; }
  .search-bar { max-width: 100%; }
}
@media (max-width: 480px) {
  .container { padding: 0 16px; }
  .hero { padding-top: calc(var(--nav-height) + 48px); padding-bottom: 48px; }
  .stats-grid { grid-template-columns: 1fr; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .btn { justify-content: center; }
  .cta-actions { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { justify-content: center; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .tabs { flex-wrap: wrap; width: 100%; }
}
