/* =============================================
   ELEVATE HER360 — Light Theme Design System
   Women In Technology Uganda
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Cormorant+Garamond:ital,wght@0,400;0,600;0,700;1,400&family=DM+Sans:wght@300;400;500;600&display=swap');

/* ============================================================
   DESIGN TOKENS
============================================================ */
:root {
  /* Brand */
  --primary:        #8B2252;
  --primary-dark:   #6A1A3E;
  --primary-light:  #B03570;
  --primary-pale:   #F9EEF3;
  --primary-subtle: #F2DDE6;

  /* Accent / Gold */
  --accent:         #D4841A;
  --accent-light:   #F4A44A;
  --gold:           #B8892A;
  --gold-pale:      #FDF6E3;
  --gold-subtle:    #FAE8B0;

  /* Surfaces */
  --bg:             #FFFFFF;
  --bg-page:        #F7F3F5;
  --surface:        #FFFFFF;
  --surface-raised: #FFFFFF;
  --surface-sunken: #F7F3F5;

  /* Text */
  --text:           #1A0A12;
  --text-secondary: #4A2E3C;
  --text-muted:     #7A5566;
  --text-dim:       #A8889A;
  --white:          #FFFFFF;

  /* Borders */
  --border:         #E8D5DC;
  --border-strong:  #D4AABB;
  --border-focus:   #8B2252;

  /* Semantic */
  --success:        #1A8A52;
  --success-bg:     #EDFAF3;
  --success-border: #9DDFC0;
  --warning:        #C47A0A;
  --warning-bg:     #FEF9ED;
  --warning-border: #F5D07A;
  --danger:         #C0302A;
  --danger-bg:      #FEF0EF;
  --danger-border:  #F5AEAD;
  --info:           #1A7AAF;
  --info-bg:        #EBF6FD;
  --info-border:    #9DD3F0;

  /* Radii */
  --radius:    12px;
  --radius-lg: 20px;
  --radius-sm: 8px;
  --radius-xs: 5px;

  /* Shadows */
  --shadow-xs: 0 1px 3px rgba(26,10,18,.06);
  --shadow-sm: 0 2px 8px rgba(26,10,18,.08);
  --shadow:    0 4px 20px rgba(26,10,18,.10);
  --shadow-lg: 0 12px 40px rgba(26,10,18,.13);
  --shadow-xl: 0 24px 64px rgba(26,10,18,.18);

  /* Motion */
  --transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);

  /* Fonts */
  --font-display: 'Cormorant Garamond', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
}

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

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

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text);
  line-height: 1.6;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Subtle light pattern — replaces dark mesh */
body::before {
  content: '';
  position: fixed; inset: 0;
  background:
    radial-gradient(ellipse 70% 50% at 15% 5%,  rgba(139,34,82,.045) 0%, transparent 55%),
    radial-gradient(ellipse 50% 40% at 85% 90%,  rgba(201,168,76,.03)  0%, transparent 45%);
  pointer-events: none;
  z-index: 0;
}

/* ============================================================
   TYPOGRAPHY
============================================================ */
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 600; color: var(--text); line-height: 1.15; }
h1 { font-size: clamp(2.1rem, 5vw, 3.8rem); line-height: 1.07; }
h2 { font-size: clamp(1.75rem, 3.5vw, 2.6rem); }
h3 { font-size: clamp(1.2rem, 2vw, 1.65rem); }
h4 { font-size: 1.1rem; }
p  { font-size: 1rem; color: var(--text-muted); }
a  { color: inherit; text-decoration: none; }

.text-gold    { color: var(--gold); }
.text-accent  { color: var(--accent); }
.text-primary { color: var(--primary); }
.text-muted   { color: var(--text-muted); }
.text-center  { text-align: center; }

/* ============================================================
   LAYOUT
============================================================ */
.container      { max-width: 1200px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.container-wide { max-width: 1400px; margin: 0 auto; padding: 0 24px; position: relative; z-index: 1; }
.section    { padding: 96px 0; }
.section-sm { padding: 56px 0; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 32px; }
.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 24px; }

/* ============================================================
   NAVBAR
============================================================ */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  padding: 15px 0;
  background: rgba(255,255,255,.93);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}
.navbar.scrolled { padding: 10px 0; background: rgba(255,255,255,.98); box-shadow: var(--shadow-sm); }

.nav-inner { display: flex; align-items: center; justify-content: space-between; }
.nav-logo  { display: flex; align-items: center; gap: 12px; }
.nav-logo img { height: 40px; }
.nav-logo-text { font-family: var(--font-display); font-size: 1.35rem; font-weight: 700; color: var(--text); }
.nav-logo-text span { color: var(--primary); }

.nav-links { display: flex; gap: 32px; list-style: none; }
.nav-links a {
  font-size: 0.84rem; font-weight: 600;
  color: var(--text-muted);
  transition: var(--transition);
  letter-spacing: 0.05em; text-transform: uppercase;
  position: relative; padding-bottom: 2px;
}
.nav-links a::after {
  content: ''; position: absolute; bottom: -2px; left: 0; right: 100%;
  height: 2px; background: var(--primary); transition: right .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after { right: 0; }
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.nav-cta { display: flex; gap: 10px; }
.hamburger { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }

/* ============================================================
   BUTTONS
============================================================ */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: var(--radius);
  font-family: var(--font-body); font-size: 0.93rem; font-weight: 600;
  cursor: pointer; transition: var(--transition);
  border: none; text-decoration: none; white-space: nowrap; line-height: 1;
}
.btn:active { transform: translateY(1px) !important; }

.btn-primary {
  background: var(--primary); color: #fff;
  box-shadow: 0 2px 10px rgba(139,34,82,.28);
}
.btn-primary:hover {
  background: var(--primary-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(139,34,82,.35);
}

.btn-gold {
  background: linear-gradient(135deg, #C9A84C, var(--accent));
  color: #fff;
  box-shadow: 0 2px 10px rgba(180,136,40,.28);
}
.btn-gold:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 22px rgba(180,136,40,.38);
  filter: brightness(1.07);
}

.btn-outline {
  background: transparent; color: var(--primary);
  border: 1.5px solid var(--border-strong);
}
.btn-outline:hover {
  border-color: var(--primary);
  background: var(--primary-pale);
}

.btn-ghost {
  background: var(--surface-sunken);
  color: var(--text-secondary);
  border: 1.5px solid var(--border);
}
.btn-ghost:hover { background: var(--border); color: var(--text); }

.btn-sm  { padding: 9px 18px; font-size: 0.82rem; }
.btn-lg  { padding: 16px 38px; font-size: 1.02rem; }
.btn-danger  { background: var(--danger);  color: #fff; }
.btn-success { background: var(--success); color: #fff; }
.btn-info    { background: var(--info);    color: #fff; }

/* ============================================================
   HERO
============================================================ */
.hero {
  min-height: 100vh;
  display: flex; align-items: center;
  padding-top: 80px;
  position: relative; overflow: hidden;
  background: linear-gradient(150deg, #fff 0%, #FDF5F8 45%, #FFF9F0 100%);
}

.hero-bg {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 70% at 65% 45%, rgba(139,34,82,.065) 0%, transparent 55%),
    radial-gradient(ellipse 50% 50% at 8%  85%, rgba(201,168,76,.045) 0%, transparent 45%);
}

.hero-grid {
  position: absolute; inset: 0; opacity: 0.04;
  background-image:
    linear-gradient(rgba(139,34,82,.5) 1px, transparent 1px),
    linear-gradient(90deg, rgba(139,34,82,.5) 1px, transparent 1px);
  background-size: 56px 56px;
}

.hero::after {
  content: '';
  position: absolute; right: -120px; top: 15%;
  width: 480px; height: 480px; border-radius: 50%;
  background: radial-gradient(circle, rgba(139,34,82,.06) 0%, transparent 70%);
  pointer-events: none;
}

.hero-content { max-width: 650px; }

.hero-badge {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 6px 16px; border-radius: 50px;
  background: var(--primary-pale);
  border: 1px solid rgba(139,34,82,.2);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--primary); margin-bottom: 22px;
}

.hero h1 { margin-bottom: 18px; }
.hero h1 em { font-style: italic; color: var(--primary); }

.hero p.lead {
  font-size: 1.08rem; color: var(--text-muted);
  margin-bottom: 34px; max-width: 530px; line-height: 1.7;
}

.hero-buttons { display: flex; gap: 14px; flex-wrap: wrap; }

.hero-stats {
  display: flex; gap: 36px;
  margin-top: 50px; padding-top: 34px;
  border-top: 1px solid var(--border);
}
.hero-stat-number {
  font-family: var(--font-display); font-size: 2rem; font-weight: 700;
  color: var(--primary); letter-spacing: -0.02em;
}
.hero-stat-label {
  font-size: 0.74rem; color: var(--text-dim);
  text-transform: uppercase; letter-spacing: 0.08em; margin-top: 2px;
}

.hero-visual { position: absolute; right: 0; top: 0; bottom: 0; width: 42%; }
.hero-img { width: 100%; height: 100%; object-fit: cover; opacity: 0.5; }
.hero-visual-overlay {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, #fff 0%, transparent 35%, transparent 72%, #FDF5F8 100%);
}

/* ============================================================
   CARDS
============================================================ */
.card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  transition: var(--transition);
  box-shadow: var(--shadow-xs);
}
.card:hover { transform: translateY(-3px); box-shadow: var(--shadow); border-color: var(--border-strong); }

/* ============================================================
   PROFILE CARDS
============================================================ */
.profile-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden; transition: var(--transition); cursor: pointer;
  box-shadow: var(--shadow-xs);
}
.profile-card:hover {
  transform: translateY(-5px);
  border-color: var(--primary-light);
  box-shadow: 0 16px 48px rgba(139,34,82,.14);
}

.profile-card-header {
  position: relative; height: 168px;
  background: linear-gradient(135deg, var(--primary-subtle), var(--primary-pale));
  overflow: hidden;
}
.profile-card-header img {
  width: 100%; height: 100%; object-fit: cover;
  opacity: 0.75; transition: var(--transition);
}
.profile-card:hover .profile-card-header img { opacity: 0.9; transform: scale(1.04); }

.profile-card-avatar {
  width: 68px; height: 68px; border-radius: 50%;
  border: 3px solid var(--gold);
  position: absolute; bottom: -34px; left: 22px;
  background: var(--primary-pale); overflow: hidden;
  box-shadow: 0 4px 14px rgba(26,10,18,.15);
}
.profile-card-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-card-avatar-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  font-family: var(--font-display); font-size: 1.5rem; font-weight: 700; color: #fff;
}

.profile-card-badge {
  position: absolute; top: 10px; right: 10px;
  padding: 4px 11px; border-radius: 20px;
  font-size: 0.69rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.badge-featured { background: var(--gold);    color: #fff; }
.badge-pending  { background: var(--warning); color: #fff; }
.badge-approved { background: var(--success); color: #fff; }
.badge-rejected { background: var(--danger);  color: #fff; }

.profile-card-body { padding: 46px 22px 20px; }
.profile-card-name {
  font-family: var(--font-display); font-size: 1.22rem; font-weight: 600;
  color: var(--text); margin-bottom: 2px;
}
.profile-card-biz  { font-size: 0.82rem; color: var(--primary); font-weight: 600; margin-bottom: 8px; }
.profile-card-desc {
  font-size: 0.84rem; color: var(--text-muted); margin-bottom: 13px;
  display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical;
  overflow: hidden; line-height: 1.55;
}
.profile-card-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 13px; }

.tag { padding: 4px 11px; border-radius: 20px; font-size: 0.69rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; }
.tag-sector { background: var(--primary-pale); color: var(--primary); border: 1px solid rgba(139,34,82,.2); }
.tag-stage  { background: var(--gold-pale);    color: var(--gold);    border: 1px solid rgba(201,168,76,.25); }

.profile-card-stats {
  display: flex; justify-content: space-between;
  padding-top: 14px; border-top: 1px solid var(--border);
}
.profile-card-stat         { text-align: center; }
.profile-card-stat-val     { font-weight: 700; font-size: 0.9rem; color: var(--text); }
.profile-card-stat-key     { font-size: 0.67rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.05em; }

.profile-card-footer {
  padding: 14px 22px; border-top: 1px solid var(--border);
  display: flex; gap: 8px; background: var(--surface-sunken);
}
.profile-card-footer .btn { flex: 1; justify-content: center; }

/* ============================================================
   FORMS
============================================================ */
.form-section {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 32px;
  margin-bottom: 22px; box-shadow: var(--shadow-xs);
}
.form-section-title {
  font-family: var(--font-display); font-size: 1.38rem; margin-bottom: 4px;
  display: flex; align-items: center; gap: 10px; color: var(--text);
}
.form-section-title i { color: var(--primary); font-size: 1.05rem; }
.form-section-subtitle { color: var(--text-muted); font-size: 0.86rem; margin-bottom: 22px; }

.form-grid   { display: grid; grid-template-columns: repeat(2, 1fr); gap: 18px; }
.form-grid-3 { grid-template-columns: repeat(3, 1fr); }
.form-group  { display: flex; flex-direction: column; gap: 5px; }
.form-group.full { grid-column: 1 / -1; }

label {
  font-size: 0.78rem; font-weight: 600; color: var(--text-secondary);
  letter-spacing: 0.03em; text-transform: uppercase;
}
label .req { color: var(--danger); margin-left: 3px; }

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
input[type="url"],
input[type="password"],
select, textarea {
  width: 100%;
  background: var(--surface);
  border: 1.5px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text); font-family: var(--font-body);
  font-size: 0.92rem; padding: 11px 14px;
  outline: none; transition: var(--transition);
  -webkit-appearance: none;
}
input:focus, select:focus, textarea:focus {
  border-color: var(--primary); background: var(--surface);
  box-shadow: 0 0 0 3px rgba(139,34,82,.1);
}
input::placeholder { color: var(--text-dim); }
select { cursor: pointer; }
select option { background: var(--surface); color: var(--text); }
textarea { resize: vertical; min-height: 105px; }
.form-help { font-size: 0.74rem; color: var(--text-dim); }

.file-upload-area {
  border: 2px dashed var(--border-strong); border-radius: var(--radius);
  padding: 36px 24px; text-align: center; cursor: pointer;
  transition: var(--transition); position: relative; background: var(--surface-sunken);
}
.file-upload-area:hover { border-color: var(--primary); background: var(--primary-pale); }
.file-upload-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.file-upload-icon { font-size: 1.75rem; color: var(--primary-light); margin-bottom: 8px; }
.file-upload-text { font-size: 0.87rem; color: var(--text-muted); }
.file-upload-text span { color: var(--primary); font-weight: 600; }

.checkbox-group { display: flex; flex-wrap: wrap; gap: 10px; }
.checkbox-item  { display: flex; align-items: center; gap: 8px; cursor: pointer; }
.checkbox-item input[type="checkbox"] { width: 17px; height: 17px; cursor: pointer; accent-color: var(--primary); }
.checkbox-item label { font-size: 0.87rem; color: var(--text-secondary); text-transform: none; letter-spacing: 0; cursor: pointer; }

/* ============================================================
   FILTERS BAR
============================================================ */
.filters-bar {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 18px 22px;
  display: flex; gap: 14px; flex-wrap: wrap; align-items: flex-end;
  margin-bottom: 36px; box-shadow: var(--shadow-xs);
}
.filter-group { display: flex; flex-direction: column; gap: 4px; flex: 1; min-width: 150px; }
.filter-group label { font-size: 0.68rem; color: var(--text-dim); }

.search-input-wrap { position: relative; flex: 2; }
.search-input-wrap i {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%); color: var(--text-dim); font-size: 0.84rem;
}
.search-input-wrap input { padding-left: 38px; }

/* ============================================================
   SECTION HEADERS
============================================================ */
.section-header { text-align: center; margin-bottom: 58px; }
.section-eyebrow {
  display: inline-block;
  font-size: 0.71rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.13em;
  color: var(--primary); margin-bottom: 10px;
  background: var(--primary-pale);
  padding: 5px 14px; border-radius: 20px;
  border: 1px solid rgba(139,34,82,.15);
}
.section-header h2 { margin-bottom: 14px; color: var(--text); }
.section-header p  { max-width: 540px; margin: 0 auto; font-size: 1rem; color: var(--text-muted); }
.divider {
  width: 50px; height: 3px;
  background: linear-gradient(90deg, var(--primary), var(--accent-light));
  margin: 16px auto 0; border-radius: 2px;
}

/* ============================================================
   STEPS
============================================================ */
.step {
  display: flex; gap: 22px; align-items: flex-start;
  padding: 26px 28px; margin-bottom: 12px;
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); transition: var(--transition); box-shadow: var(--shadow-xs);
}
.step:hover { border-color: var(--border-strong); box-shadow: var(--shadow); transform: translateX(4px); }

.step-num {
  width: 46px; height: 46px; border-radius: 50%; flex-shrink: 0;
  background: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-family: var(--font-display); font-size: 1.25rem; font-weight: 700; color: #fff;
  box-shadow: 0 3px 10px rgba(139,34,82,.3);
}
.step-content h4 { font-family: var(--font-display); font-size: 1.1rem; margin-bottom: 5px; color: var(--text); }
.step-content p  { font-size: 0.87rem; color: var(--text-muted); line-height: 1.6; }

/* ============================================================
   MODULE CARDS
============================================================ */
.module-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 24px;
  transition: var(--transition); box-shadow: var(--shadow-xs);
}
.module-card:hover { border-color: var(--gold); transform: translateY(-3px); box-shadow: var(--shadow); }
.module-icon {
  width: 50px; height: 50px; border-radius: 13px;
  background: var(--primary-pale);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.25rem; color: var(--primary); margin-bottom: 14px;
  border: 1px solid rgba(139,34,82,.15);
}
.module-card h4 { font-family: var(--font-display); font-size: 1.08rem; margin-bottom: 10px; color: var(--text); }
.module-card ul { list-style: none; }
.module-card ul li {
  font-size: 0.84rem; color: var(--text-muted);
  padding: 5px 0; display: flex; align-items: center; gap: 8px;
  border-bottom: 1px solid var(--border);
}
.module-card ul li:last-child { border-bottom: none; }
.module-card ul li::before { content: ''; width: 5px; height: 5px; border-radius: 50%; background: var(--primary-light); flex-shrink: 0; }

/* ============================================================
   ELIGIBILITY
============================================================ */
.eligibility-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 14px; }
.eligibility-item {
  display: flex; align-items: center; gap: 14px;
  padding: 18px 22px; background: var(--surface);
  border: 1px solid var(--border); border-radius: var(--radius);
  transition: var(--transition); box-shadow: var(--shadow-xs);
}
.eligibility-item:hover { border-color: var(--success-border); background: var(--success-bg); }
.eligibility-check {
  width: 38px; height: 38px; border-radius: 50%;
  background: var(--success-bg); border: 1px solid var(--success-border);
  display: flex; align-items: center; justify-content: center;
  color: var(--success); font-size: 0.93rem; flex-shrink: 0;
}
.eligibility-item span { font-size: 0.87rem; color: var(--text-secondary); font-weight: 500; }

/* ============================================================
   ALERTS
============================================================ */
.alert {
  padding: 13px 18px; border-radius: var(--radius-sm);
  display: flex; align-items: center; gap: 11px;
  font-size: 0.86rem; font-weight: 500; margin-bottom: 18px;
  border: 1px solid transparent;
}
.alert-success { background: var(--success-bg); border-color: var(--success-border); color: var(--success); }
.alert-danger  { background: var(--danger-bg);  border-color: var(--danger-border);  color: var(--danger); }
.alert-warning { background: var(--warning-bg); border-color: var(--warning-border); color: var(--warning); }
.alert-info    { background: var(--info-bg);    border-color: var(--info-border);    color: var(--info); }

/* ============================================================
   MODAL
============================================================ */
.modal-overlay {
  position: fixed; inset: 0; z-index: 2000;
  background: rgba(26,10,18,.4);
  backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
  display: flex; align-items: center; justify-content: center; padding: 24px;
  opacity: 0; pointer-events: none; transition: var(--transition);
}
.modal-overlay.active { opacity: 1; pointer-events: all; }

.modal {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); box-shadow: var(--shadow-xl);
  width: 100%; max-width: 700px; max-height: 90vh; overflow-y: auto;
  transform: scale(0.92) translateY(12px); transition: var(--transition);
}
.modal-overlay.active .modal { transform: scale(1) translateY(0); }

.modal-header {
  padding: 24px 30px 18px; border-bottom: 1px solid var(--border);
  display: flex; justify-content: space-between; align-items: center;
}
.modal-header h3 { font-family: var(--font-display); font-size: 1.38rem; color: var(--text); }

.modal-close {
  width: 32px; height: 32px;
  background: var(--surface-sunken); border: 1px solid var(--border);
  border-radius: var(--radius-sm); color: var(--text-muted);
  font-size: 1rem; cursor: pointer; transition: var(--transition);
  display: flex; align-items: center; justify-content: center;
}
.modal-close:hover { background: var(--danger-bg); color: var(--danger); border-color: var(--danger-border); }

.modal-body { padding: 24px 30px; }
.modal-footer {
  padding: 16px 30px 24px; display: flex; gap: 10px; justify-content: flex-end;
  border-top: 1px solid var(--border); background: var(--surface-sunken);
}

/* ============================================================
   FOOTER
============================================================ */
.footer {
  background: var(--text);
  padding: 60px 0 32px;
  margin-top: 96px; position: relative; z-index: 1;
}

.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }

.footer-brand p { font-size: 0.85rem; color: rgba(255,255,255,.44); margin-top: 14px; max-width: 268px; line-height: 1.65; }

.footer-col h5 {
  font-size: 0.72rem; font-weight: 700; text-transform: uppercase;
  letter-spacing: 0.1em; color: var(--gold-subtle); margin-bottom: 14px;
}
.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 8px; }
.footer-col ul li a { font-size: 0.84rem; color: rgba(255,255,255,.42); transition: var(--transition); display: flex; align-items: center; gap: 5px; }
.footer-col ul li a:hover { color: rgba(255,255,255,.82); }

.footer-bottom {
  padding-top: 24px; border-top: 1px solid rgba(255,255,255,.1);
  display: flex; justify-content: space-between; align-items: center;
  flex-wrap: wrap; gap: 8px;
}
.footer-bottom p { font-size: 0.78rem; color: rgba(255,255,255,.32); }

/* ============================================================
   ADMIN LAYOUT
============================================================ */
.admin-layout { display: flex; min-height: 100vh; background: #F4EFF2; }

.sidebar {
  width: 262px; background: var(--text);
  display: flex; flex-direction: column;
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 100;
  transition: var(--transition); overflow-y: auto;
  box-shadow: 2px 0 20px rgba(26,10,18,.15);
}

.sidebar-logo {
  padding: 22px 22px 18px;
  border-bottom: 1px solid rgba(255,255,255,.1);
}
.sidebar-logo .logo-text { font-family: var(--font-display); font-size: 1.12rem; font-weight: 700; color: #fff; }
.sidebar-logo .logo-text span { color: var(--gold-subtle); }
.sidebar-logo .logo-sub { font-size: 0.65rem; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: 0.1em; margin-top: 2px; }

.sidebar-nav { padding: 16px 0; flex: 1; }
.sidebar-section { padding: 4px 14px 6px; }
.sidebar-section-label { font-size: 0.6rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: rgba(255,255,255,.28); padding: 0 8px; }

.sidebar-link {
  display: flex; align-items: center; gap: 11px;
  padding: 10px 22px; margin: 1px 0;
  font-size: 0.85rem; font-weight: 500; color: rgba(255,255,255,.52);
  transition: var(--transition); cursor: pointer; text-decoration: none;
}
.sidebar-link i { width: 17px; text-align: center; font-size: 0.86rem; }
.sidebar-link:hover { background: rgba(255,255,255,.08); color: rgba(255,255,255,.9); }
.sidebar-link.active {
  background: rgba(139,34,82,.35); color: #fff;
  border-left: 3px solid var(--primary-light); padding-left: 19px;
}
.sidebar-link .badge-count {
  margin-left: auto; background: var(--primary-light);
  color: #fff; padding: 2px 7px; border-radius: 10px; font-size: 0.65rem; font-weight: 700;
}
.sidebar-footer { padding: 18px 22px; border-top: 1px solid rgba(255,255,255,.1); }

.admin-main { margin-left: 262px; flex: 1; min-height: 100vh; }

.admin-topbar {
  background: var(--surface); border-bottom: 1px solid var(--border);
  padding: 14px 30px; display: flex; align-items: center; justify-content: space-between;
  position: sticky; top: 0; z-index: 50; box-shadow: var(--shadow-xs);
}
.topbar-title { font-family: var(--font-display); font-size: 1.22rem; color: var(--text); }
.topbar-right { display: flex; align-items: center; gap: 18px; }
.admin-content { padding: 28px 30px; }

/* ============================================================
   ADMIN STAT CARDS
============================================================ */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }

.stat-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); padding: 22px;
  position: relative; overflow: hidden;
  box-shadow: var(--shadow-xs); transition: var(--transition);
}
.stat-card:hover { box-shadow: var(--shadow); transform: translateY(-2px); }
.stat-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; }
.stat-card.pink::after  { background: linear-gradient(90deg, var(--primary), var(--primary-light)); }
.stat-card.gold::after  { background: linear-gradient(90deg, var(--gold), var(--accent-light)); }
.stat-card.green::after { background: linear-gradient(90deg, var(--success), #52D9A0); }
.stat-card.blue::after  { background: linear-gradient(90deg, var(--info), #80D4F0); }

.stat-icon { font-size: 1.75rem; margin-bottom: 10px; opacity: 0.7; }
.stat-card.pink  .stat-icon { color: var(--primary); }
.stat-card.gold  .stat-icon { color: var(--gold); }
.stat-card.green .stat-icon { color: var(--success); }
.stat-card.blue  .stat-icon { color: var(--info); }
.stat-number { font-family: var(--font-display); font-size: 2rem; font-weight: 700; color: var(--text); letter-spacing: -0.02em; }
.stat-label  { font-size: 0.72rem; color: var(--text-dim); text-transform: uppercase; letter-spacing: 0.06em; margin-top: 2px; }
.stat-change { font-size: 0.74rem; margin-top: 4px; }
.stat-change.up   { color: var(--success); }
.stat-change.down { color: var(--danger); }

/* ============================================================
   ADMIN TABLE
============================================================ */
.table-card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: var(--radius-lg); overflow: hidden; box-shadow: var(--shadow-xs);
}
.table-header {
  padding: 18px 22px; border-bottom: 1px solid var(--border);
  display: flex; align-items: center; justify-content: space-between;
}
.table-header h4 { font-family: var(--font-display); font-size: 1.12rem; color: var(--text); }

table { width: 100%; border-collapse: collapse; }
thead th {
  padding: 11px 18px; font-size: 0.67rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.08em;
  color: var(--text-dim); background: var(--surface-sunken);
  text-align: left; border-bottom: 1.5px solid var(--border);
  white-space: nowrap;
}
tbody td {
  padding: 13px 18px; font-size: 0.86rem;
  color: var(--text-secondary); border-bottom: 1px solid var(--border);
}
tbody tr { transition: var(--transition); }
tbody tr:hover { background: var(--surface-sunken); }
tbody tr:last-child td { border-bottom: none; }

.td-actions { display: flex; gap: 5px; }
.action-btn {
  padding: 5px 11px; font-size: 0.72rem; border-radius: var(--radius-xs);
  border: none; cursor: pointer; transition: var(--transition);
  font-weight: 600; display: inline-flex; align-items: center; gap: 4px;
}
.action-btn:hover { opacity: 0.85; transform: translateY(-1px); }

/* ============================================================
   PROGRESS & PAGINATION
============================================================ */
.progress { background: var(--border); border-radius: 4px; height: 6px; overflow: hidden; }
.progress-bar {
  height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--primary), var(--primary-light));
  transition: width 0.8s ease;
}

.pagination { display: flex; gap: 5px; justify-content: center; padding: 18px; }
.page-btn {
  width: 34px; height: 34px; border-radius: var(--radius-sm);
  border: 1px solid var(--border); background: var(--surface);
  color: var(--text-muted); font-size: 0.82rem; cursor: pointer;
  transition: var(--transition); display: flex; align-items: center; justify-content: center;
  text-decoration: none;
}
.page-btn:hover, .page-btn.active {
  background: var(--primary); border-color: var(--primary); color: #fff;
  box-shadow: 0 2px 8px rgba(139,34,82,.3);
}

/* ============================================================
   SCROLLBAR
============================================================ */
::-webkit-scrollbar { width: 5px; height: 5px; }
::-webkit-scrollbar-track { background: var(--surface-sunken); }
::-webkit-scrollbar-thumb { background: var(--border-strong); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-dim); }

/* ============================================================
   RESPONSIVE
============================================================ */
@media (max-width: 1024px) {
  .grid-4     { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .footer-grid { grid-template-columns: 1fr 1fr; gap: 32px; }
}

@media (max-width: 768px) {
  .nav-links, .nav-cta { display: none; }
  .hamburger { display: block; }
  .grid-2, .grid-3, .form-grid { grid-template-columns: 1fr; }
  .hero-visual { display: none; }
  .hero { background: linear-gradient(155deg, #fff 0%, #FDF5F8 100%); }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .admin-main { margin-left: 0; }
  .sidebar { transform: translateX(-100%); }
  .sidebar.open { transform: translateX(0); }
  .eligibility-grid { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; }
  .section { padding: 56px 0; }
  .hero-stats { gap: 22px; }
}

@media (max-width: 480px) {
  .stats-grid { grid-template-columns: 1fr; }
  .hero-buttons { flex-direction: column; }
  .btn { justify-content: center; }
  .admin-content { padding: 16px; }
}

/* ============================================================
   ANIMATIONS
============================================================ */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(26px); }
  to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes shimmer {
  0%   { background-position: -200% 0; }
  100% { background-position:  200% 0; }
}

.animate-fadeInUp { animation: fadeInUp 0.55s ease forwards; }
.animate-delay-1  { animation-delay: 0.1s; opacity: 0; }
.animate-delay-2  { animation-delay: 0.2s; opacity: 0; }
.animate-delay-3  { animation-delay: 0.3s; opacity: 0; }
.animate-delay-4  { animation-delay: 0.4s; opacity: 0; }

.skeleton {
  background: linear-gradient(90deg, var(--border) 25%, var(--surface-sunken) 50%, var(--border) 75%);
  background-size: 200% 100%;
  animation: shimmer 1.5s infinite;
  border-radius: var(--radius-sm);
}
