/* ============================================================
   ZiR Community Platform — Main Stylesheet
   Premium Diplomatic / Heritage Modern Design
   ============================================================ */

/* ── Google Fonts (loaded via HTML head) ────────────────────── */
:root {
  /* Zimbabwe Colours */
  --zim-green:  #006400;
  --zim-gold:   #FFD200;
  --zim-red:    #C8102E;
  --zim-black:  #1A1A1A;
  /* Rwanda Colours */
  --rw-blue:    #20603D;
  --rw-yellow:  #E5BE01;
  --rw-sky:     #009FE3;
  /* Neutral Palette */
  --cream:      #FAFAF7;
  --surface:    #FFFFFF;
  --border:     #E8E4DC;
  --text:       #1A1A1A;
  --text-muted: #666666;
  --text-light: #999999;
  /* Typography */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-body:    'DM Sans', system-ui, sans-serif;
  --font-mono:    'DM Mono', monospace;
  /* Spacing */
  --radius: 12px;
  --radius-sm: 8px;
  --shadow: 0 4px 20px rgba(0,0,0,.07);
  --shadow-lg: 0 8px 40px rgba(0,0,0,.12);
}

/* ── Reset ───────────────────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); background: var(--cream); color: var(--text); line-height: 1.6; font-size: 15px; }
img { max-width: 100%; height: auto; display: block; }
a { color: var(--zim-green); text-decoration: none; transition: .2s; }
a:hover { color: var(--rw-blue); }
ul, ol { list-style: none; }
button, input, select, textarea { font-family: inherit; }
button { cursor: pointer; }  /* ensure ALL buttons show pointer cursor */

/* ── Flag Bar ────────────────────────────────────────────────── */
.flag-bar {
  height: 5px;
  background: linear-gradient(90deg,
    var(--zim-green) 0%, var(--zim-green) 14.28%,
    var(--zim-gold)  14.28%, var(--zim-gold)  28.57%,
    var(--zim-red)   28.57%, var(--zim-red)   42.85%,
    var(--rw-blue)   42.85%, var(--rw-blue)   57.14%,
    var(--rw-yellow) 57.14%, var(--rw-yellow) 71.42%,
    var(--rw-sky)    71.42%, var(--rw-sky)    85.71%,
    #ffffff          85.71%, #ffffff          100%
  );
}

/* ── Navigation ──────────────────────────────────────────────── */
.navbar {
  background: rgba(255,255,255,.97);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  position: sticky; top: 0; z-index: 500;
}
.navbar-inner {
  max-width: 1200px; margin: 0 auto; padding: 0 24px;
  display: flex; align-items: center; justify-content: space-between;
  height: 68px;
}
.navbar-brand {
  display: flex; align-items: center; gap: 12px;
  font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--zim-black);
}
.navbar-brand .brand-badge {
  width: 38px; height: 38px; border-radius: 10px;
  background: linear-gradient(135deg, var(--zim-green), var(--rw-blue));
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 16px; font-weight: 900; flex-shrink: 0;
}
.navbar-brand .flag-pair { font-size: 16px; }
.navbar-menu { display: flex; align-items: center; gap: 4px; }
.navbar-menu a {
  padding: 8px 14px; border-radius: var(--radius-sm);
  font-size: 13.5px; font-weight: 600; color: var(--text-muted);
  transition: .15s;
}
.navbar-menu a:hover, .navbar-menu a.active { color: var(--zim-green); background: rgba(0,100,0,.07); }
.navbar-actions { display: flex; gap: 8px; align-items: center; }
.btn-nav-login {
  padding: 8px 18px; border: 1.5px solid var(--zim-green);
  border-radius: var(--radius-sm); color: var(--zim-green);
  font-size: 13.5px; font-weight: 700;
}
.btn-nav-login:hover { background: var(--zim-green); color: #fff; }
.btn-nav-join {
  padding: 8px 18px; background: var(--zim-green);
  border-radius: var(--radius-sm); color: #fff;
  font-size: 13.5px; font-weight: 700;
}
.btn-nav-join:hover { background: #004d00; color: #fff; }
.navbar-burger { display: none; background: none; border: none; cursor: pointer; padding: 8px; flex-direction: column; gap: 5px; }
.navbar-burger span { display: block; width: 24px; height: 2px; background: var(--text); border-radius: 2px; transition: .3s; }
.mobile-menu { display: none; }

/* ── Layout ──────────────────────────────────────────────────── */
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.section { padding: 72px 0; }
.section-sm { padding: 48px 0; }
.section-title { font-family: var(--font-display); font-size: 34px; font-weight: 700; line-height: 1.25; }
.section-sub { color: var(--text-muted); font-size: 16px; margin-top: 10px; max-width: 560px; }
.section-head { text-align: center; margin-bottom: 48px; }
.section-head .section-sub { margin: 10px auto 0; }

/* ── Buttons ─────────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 11px 24px; border-radius: var(--radius-sm);
  font-size: 14px; font-weight: 700; border: none; cursor: pointer;
  text-decoration: none; transition: .2s; white-space: nowrap;
}
.btn-primary { background: var(--zim-green); color: #fff; }
.btn-primary:hover { background: #004d00; color: #fff; transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0,100,0,.3); }
.btn-gold { background: var(--zim-gold); color: var(--zim-black); }
.btn-gold:hover { background: #e6bd00; color: var(--zim-black); }
.btn-outline { border: 1.5px solid var(--zim-green); color: var(--zim-green); background: transparent; }
.btn-outline:hover { background: var(--zim-green); color: #fff; }
.btn-white { background: #fff; color: var(--zim-green); }
.btn-white:hover { background: var(--cream); }
.btn-danger { background: var(--zim-red); color: #fff; }
.btn-danger:hover { background: #a00d23; }
.btn-secondary { background: #F0F0F0; color: #444; }
.btn-secondary:hover { background: #E0E0E0; }
.btn-sm { padding: 7px 14px; font-size: 12.5px; }
.btn-lg { padding: 14px 32px; font-size: 16px; }
.btn-block { width: 100%; justify-content: center; }

/* ── Cards ───────────────────────────────────────────────────── */
.card {
  background: var(--surface); border-radius: var(--radius);
  border: 1px solid var(--border); overflow: hidden;
  box-shadow: var(--shadow);
}
.card-header { padding: 18px 24px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.card-header h3 { font-size: 16px; font-weight: 700; }
.card-body { padding: 24px; }
.card-footer { padding: 14px 24px; border-top: 1px solid var(--border); background: #FAFAFA; }

/* ── Hero Section ─────────────────────────────────────────────── */
.hero {
  background: linear-gradient(135deg, #0a1f0a 0%, #1a3d20 40%, #0d2d4a 100%);
  color: #fff; padding: 80px 0 72px; position: relative; overflow: hidden;
}
.hero::before {
  content: ''; position: absolute; inset: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 800 600"><circle cx="600" cy="100" r="200" fill="rgba(255,210,0,0.04)"/><circle cx="100" cy="500" r="300" fill="rgba(0,159,227,0.04)"/></svg>');
}
.hero-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center; position: relative; }
.hero-eyebrow { display: inline-flex; align-items: center; gap: 8px; background: rgba(255,255,255,.12); border: 1px solid rgba(255,255,255,.2); border-radius: 20px; padding: 5px 14px; font-size: 12px; font-weight: 700; letter-spacing: .5px; text-transform: uppercase; color: var(--zim-gold); margin-bottom: 20px; }
.hero-title { font-family: var(--font-display); font-size: 46px; font-weight: 700; line-height: 1.15; margin-bottom: 20px; }
.hero-title .accent { color: var(--zim-gold); }
.hero-sub { font-size: 17px; opacity: .85; line-height: 1.7; margin-bottom: 32px; max-width: 500px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.hero-flags {
  display: flex; align-items: center; justify-content: center; gap: 24px;
  font-size: 80px; animation: float 4s ease-in-out infinite;
}
.hero-flags .divider { font-size: 24px; opacity: .4; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-12px); } }
.hero-stat-row { display: flex; gap: 28px; margin-top: 36px; flex-wrap: wrap; }
.hero-stat .number { font-size: 28px; font-weight: 800; color: var(--zim-gold); font-family: var(--font-display); }
.hero-stat .label { font-size: 12px; opacity: .7; margin-top: 2px; }

/* ── Stats Section ────────────────────────────────────────────── */
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }
.stat-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--border); padding: 28px 24px; text-align: center; box-shadow: var(--shadow); transition: .2s; }
.stat-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.stat-icon { width: 56px; height: 56px; border-radius: 14px; display: flex; align-items: center; justify-content: center; font-size: 22px; margin: 0 auto 14px; }
.stat-icon.green { background: #E8F5E9; }
.stat-icon.gold { background: #FFF8E1; }
.stat-icon.blue { background: #E3F2FD; }
.stat-icon.red { background: #FFEBEE; }
.stat-number { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--zim-black); line-height: 1; }
.stat-label { font-size: 13px; color: var(--text-muted); margin-top: 6px; font-weight: 600; }

/* ── Feature Grid ──────────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 24px; }
.feature-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 32px 28px; transition: .25s;
}
.feature-card:hover { border-color: var(--zim-green); transform: translateY(-3px); box-shadow: 0 8px 30px rgba(0,100,0,.1); }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; background: linear-gradient(135deg, var(--zim-green), var(--rw-blue)); display: flex; align-items: center; justify-content: center; font-size: 22px; margin-bottom: 18px; }
.feature-title { font-size: 17px; font-weight: 700; margin-bottom: 10px; }
.feature-desc { font-size: 14px; color: var(--text-muted); line-height: 1.6; }

/* ── Associations Grid ─────────────────────────────────────────── */
.assoc-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(260px, 1fr)); gap: 18px; }
.assoc-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 24px 20px; display: flex; align-items: flex-start; gap: 14px;
  transition: .2s;
}
.assoc-card:hover { border-color: var(--border); box-shadow: var(--shadow); }
.assoc-dot { width: 44px; height: 44px; border-radius: 12px; display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 800; font-size: 16px; flex-shrink: 0; }
.assoc-name { font-weight: 700; font-size: 15px; }
.assoc-count { font-size: 12px; color: var(--text-muted); margin-top: 4px; }

/* ── Events Grid ───────────────────────────────────────────────── */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.event-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; transition: .2s;
}
.event-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.event-date-badge {
  background: linear-gradient(135deg, var(--zim-green), var(--rw-blue));
  color: #fff; padding: 20px; text-align: center;
}
.event-date-badge .day { font-family: var(--font-display); font-size: 40px; font-weight: 800; line-height: 1; }
.event-date-badge .month { font-size: 13px; font-weight: 700; text-transform: uppercase; opacity: .85; margin-top: 4px; }
.event-body { padding: 20px; }
.event-title { font-weight: 700; font-size: 16px; margin-bottom: 8px; }
.event-meta { font-size: 12.5px; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }

/* ── News Grid ─────────────────────────────────────────────────── */
.news-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.news-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  overflow: hidden; transition: .2s;
}
.news-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.news-img { height: 180px; background: linear-gradient(135deg, var(--zim-green) 0%, var(--rw-blue) 100%); display: flex; align-items: center; justify-content: center; font-size: 36px; }
.news-body { padding: 20px; }
.news-cat { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .8px; color: var(--zim-green); margin-bottom: 8px; }
.news-title { font-weight: 700; font-size: 16px; margin-bottom: 10px; line-height: 1.4; }
.news-excerpt { font-size: 13.5px; color: var(--text-muted); line-height: 1.6; }
.news-meta { margin-top: 14px; font-size: 12px; color: var(--text-light); display: flex; align-items: center; justify-content: space-between; }

/* ── Map Section ───────────────────────────────────────────────── */
#community-map { height: 440px; border-radius: var(--radius); border: 1px solid var(--border); overflow: hidden; }

/* ── Testimonials ──────────────────────────────────────────────── */
.testimonial-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.testimonial-card {
  background: #fff; border-radius: var(--radius); border: 1px solid var(--border);
  padding: 28px 24px; position: relative;
}
.testimonial-card::before { content: '"'; font-family: var(--font-display); font-size: 72px; color: var(--zim-green); opacity: .15; position: absolute; top: 10px; left: 20px; line-height: 1; }
.testimonial-text { font-size: 14.5px; color: #555; line-height: 1.7; font-style: italic; position: relative; z-index: 1; }
.testimonial-author { display: flex; align-items: center; gap: 12px; margin-top: 18px; }
.testimonial-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--zim-green), var(--rw-blue)); display: flex; align-items: center; justify-content: center; color: #fff; font-weight: 700; font-size: 13px; flex-shrink: 0; }
.testimonial-name { font-weight: 700; font-size: 14px; }
.testimonial-role { font-size: 12px; color: var(--text-muted); }

/* ── CTA Section ───────────────────────────────────────────────── */
.cta-section { background: linear-gradient(135deg, var(--zim-green) 0%, var(--rw-blue) 100%); color: #fff; text-align: center; padding: 80px 0; }
.cta-title { font-family: var(--font-display); font-size: 36px; font-weight: 700; margin-bottom: 16px; }
.cta-sub { font-size: 16px; opacity: .85; margin-bottom: 36px; max-width: 520px; margin-left: auto; margin-right: auto; }
.cta-flags { font-size: 40px; margin-bottom: 20px; display: flex; justify-content: center; gap: 16px; align-items: center; }

/* ── Footer ────────────────────────────────────────────────────── */
.footer { background: #0F1923; color: rgba(255,255,255,.75); padding: 56px 0 0; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 40px; max-width: 1200px; margin: 0 auto; padding: 0 20px 40px; }
.footer-brand .brand-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: #fff; margin-bottom: 4px; }
.footer-brand .brand-flags { font-size: 22px; margin-bottom: 14px; }
.footer-brand p { font-size: 13.5px; line-height: 1.7; max-width: 280px; }
.footer h4 { color: #fff; font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; margin-bottom: 16px; }
.footer ul li { margin-bottom: 9px; }
.footer ul a { font-size: 13.5px; color: rgba(255,255,255,.65); }
.footer ul a:hover { color: var(--zim-gold); }
.footer-social { display: flex; gap: 10px; margin-top: 18px; }
.footer-social a { width: 34px; height: 34px; border-radius: 8px; background: rgba(255,255,255,.1); display: flex; align-items: center; justify-content: center; font-size: 15px; color: rgba(255,255,255,.7); }
.footer-social a:hover { background: var(--zim-green); color: #fff; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 18px 20px; max-width: 1200px; margin: 0 auto; display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 12px; font-size: 12.5px; color: rgba(255,255,255,.4); }
.footer-bottom a { color: rgba(255,255,255,.5); }
.footer-bottom a:hover { color: var(--zim-gold); }

/* ── Forms ─────────────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-size: 13px; font-weight: 700; margin-bottom: 6px; color: #444; }
.form-label .req { color: var(--zim-red); margin-left: 3px; }
.form-control {
  width: 100%; padding: 11px 14px;
  border: 1.5px solid #D8D8D8; border-radius: var(--radius-sm);
  font-size: 14px; font-family: var(--font-body);
  background: #fff; transition: .2s;
}
.form-control:focus { outline: none; border-color: var(--zim-green); box-shadow: 0 0 0 3px rgba(0,100,0,.1); }
.form-control::placeholder { color: #aaa; }
.form-select { appearance: none; background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23666' d='M6 8L0 0h12z'/%3E%3C/svg%3E"); background-repeat: no-repeat; background-position: right 14px center; padding-right: 36px; }
.form-check { display: flex; align-items: center; gap: 10px; cursor: pointer; }
.form-check input[type=checkbox] { width: 17px; height: 17px; accent-color: var(--zim-green); cursor: pointer; }
.form-text { font-size: 12px; color: var(--text-muted); margin-top: 5px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-error { color: var(--zim-red); font-size: 12px; margin-top: 5px; }

/* ── Alerts ────────────────────────────────────────────────────── */
.alert { padding: 13px 18px; border-radius: var(--radius-sm); margin-bottom: 20px; display: flex; align-items: flex-start; gap: 12px; font-size: 14px; }
.alert-success { background: #E8F5E9; border-left: 4px solid var(--zim-green); color: #2E7D32; }
.alert-danger { background: #FFEBEE; border-left: 4px solid var(--zim-red); color: #C62828; }
.alert-warning { background: #FFF8E1; border-left: 4px solid var(--zim-gold); color: #856404; }
.alert-info { background: #E3F2FD; border-left: 4px solid var(--rw-sky); color: #1565C0; }
.flash-alert { animation: fadeIn .4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(-8px); } to { opacity: 1; transform: none; } }

/* ── Badges ────────────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; padding: 3px 10px; border-radius: 20px; font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .3px; }
.badge-success { background: #E8F5E9; color: #2E7D32; }
.badge-warning { background: #FFF8E1; color: #F57F17; }
.badge-danger { background: #FFEBEE; color: #C62828; }
.badge-info { background: #E3F2FD; color: #1565C0; }
.badge-secondary { background: #F5F5F5; color: #555; }
.badge-gold { background: #FFF3CD; color: #856404; }

/* ── Tables ────────────────────────────────────────────────────── */
.table-wrap { overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); }
table { width: 100%; border-collapse: collapse; font-size: 13.5px; }
thead th { background: #F8F9FA; padding: 12px 16px; text-align: left; font-weight: 700; font-size: 11.5px; text-transform: uppercase; letter-spacing: .5px; color: #666; border-bottom: 1px solid var(--border); }
tbody td { padding: 13px 16px; border-bottom: 1px solid #F2F2F2; vertical-align: middle; }
tbody tr:last-child td { border-bottom: none; }
tbody tr:hover { background: #FAFAFA; }

/* ── Pagination ────────────────────────────────────────────────── */
.pagination { display: flex; gap: 4px; align-items: center; justify-content: flex-end; margin-top: 20px; flex-wrap: wrap; }
.pagination a, .pagination span { padding: 7px 13px; border-radius: var(--radius-sm); font-size: 13px; text-decoration: none; border: 1px solid var(--border); color: #555; font-weight: 600; transition: .15s; }
.pagination a:hover { border-color: var(--zim-green); color: var(--zim-green); }
.pagination .active { background: var(--zim-green); color: #fff; border-color: var(--zim-green); }

/* ── Cookie Consent ────────────────────────────────────────────── */
.cookie-banner {
  position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%) translateY(100px);
  width: calc(100% - 48px); max-width: 720px;
  background: rgba(20,26,30,.97); backdrop-filter: blur(16px);
  border: 1px solid rgba(255,255,255,.1); border-radius: 16px;
  padding: 24px 28px; z-index: 9999; color: #fff;
  transition: transform .4s cubic-bezier(.34,1.56,.64,1), opacity .4s;
  opacity: 0; box-shadow: 0 16px 60px rgba(0,0,0,.4);
  pointer-events: none;  /* hidden banner must NOT intercept clicks */
}
.cookie-banner.visible { transform: translateX(-50%) translateY(0); opacity: 1; pointer-events: all; }
.cookie-banner h4 { font-size: 15px; font-weight: 700; margin-bottom: 8px; }
.cookie-banner p { font-size: 13px; opacity: .8; line-height: 1.6; margin-bottom: 16px; }
.cookie-toggles { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 20px; }
.cookie-toggle { display: flex; align-items: center; gap: 8px; }
.cookie-toggle label { font-size: 12.5px; font-weight: 600; cursor: pointer; }
.cookie-toggle input[type=checkbox] { width: 16px; height: 16px; accent-color: var(--zim-gold); cursor: pointer; }
.cookie-toggle.disabled label { opacity: .4; }
.cookie-actions { display: flex; gap: 10px; flex-wrap: wrap; }
.cookie-btn { padding: 9px 18px; border-radius: 8px; font-size: 12.5px; font-weight: 700; cursor: pointer; border: none; }
.cookie-btn-accept { background: var(--zim-green); color: #fff; }
.cookie-btn-reject { background: rgba(255,255,255,.12); color: rgba(255,255,255,.8); }
.cookie-btn-save { background: var(--zim-gold); color: var(--zim-black); }

/* ── Progress Bar ──────────────────────────────────────────────── */
.progress { height: 8px; background: #E8E8E8; border-radius: 4px; overflow: hidden; }
.progress-bar { height: 100%; background: linear-gradient(90deg, var(--zim-green), var(--rw-blue)); border-radius: 4px; transition: width .6s ease; }

/* ── Registration Wizard ───────────────────────────────────────── */
.wizard-steps { display: flex; gap: 0; margin-bottom: 36px; position: relative; }
.wizard-steps::before { content: ''; position: absolute; top: 20px; left: 10%; right: 10%; height: 2px; background: var(--border); z-index: 0; }
.wizard-step { flex: 1; text-align: center; position: relative; z-index: 1; }
.wizard-step .step-dot { width: 40px; height: 40px; border-radius: 50%; background: var(--border); color: #888; display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; margin: 0 auto 8px; transition: .3s; }
.wizard-step.active .step-dot { background: var(--zim-green); color: #fff; }
.wizard-step.done .step-dot { background: #4CAF50; color: #fff; }
.wizard-step .step-label { font-size: 12px; font-weight: 600; color: var(--text-muted); }
.wizard-step.active .step-label { color: var(--zim-green); }

/* ── Responsive ────────────────────────────────────────────────── */
@media (max-width: 1024px) {
  .features-grid, .events-grid, .news-grid, .testimonial-grid { grid-template-columns: repeat(2, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .hero-inner { grid-template-columns: 1fr; gap: 40px; }
  .hero-flags { font-size: 60px; }
  .hero-title { font-size: 36px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 768px) {
  .navbar-menu, .navbar-actions { display: none; }
  .navbar-burger { display: flex; }
  .mobile-menu { display: none; border-top: 1px solid var(--border); background: #fff; padding: 12px 0; }
  .mobile-menu.open { display: block; }
  .mobile-menu a { display: block; padding: 10px 24px; font-size: 14px; font-weight: 600; color: var(--text-muted); }
  .mobile-menu a:hover { color: var(--zim-green); }
  .mobile-menu .mobile-auth { padding: 12px 24px; display: flex; gap: 10px; border-top: 1px solid var(--border); margin-top: 8px; }
  .features-grid, .events-grid, .news-grid, .testimonial-grid, .assoc-grid { grid-template-columns: 1fr; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 28px; }
  .section-title { font-size: 26px; }
  .cta-title { font-size: 26px; }
  .hero-title { font-size: 30px; }
  .hero { padding: 50px 0; }
  .cookie-banner { bottom: 12px; left: 12px; right: 12px; width: auto; transform: translateY(100px); }
  .cookie-banner.visible { transform: translateY(0); }
}

/* ── SOS Emergency Bar ──────────────────────────────────────── */
.sos-bar {
  background: linear-gradient(90deg, #7B0000 0%, #C8102E 50%, #7B0000 100%);
  background-size: 200% 100%;
  animation: sosSlide 4s linear infinite;
  color: #fff;
  font-size: 12.5px;
  font-weight: 600;
  position: relative;
  z-index: 600;
}
@keyframes sosSlide {
  0%   { background-position: 0% 0%; }
  100% { background-position: 200% 0%; }
}
.sos-inner {
  max-width: 1200px; margin: 0 auto; padding: 8px 20px;
  display: flex; align-items: center; gap: 10px; flex-wrap: wrap;
  justify-content: center;
}
.sos-pulse {
  width: 8px; height: 8px; border-radius: 50%; background: #FFD200;
  box-shadow: 0 0 0 0 rgba(255,210,0,.6);
  animation: pulse 1.4s ease-in-out infinite;
  flex-shrink: 0;
}
@keyframes pulse {
  0%   { box-shadow: 0 0 0 0 rgba(255,210,0,.6); }
  70%  { box-shadow: 0 0 0 8px rgba(255,210,0,0); }
  100% { box-shadow: 0 0 0 0 rgba(255,210,0,0); }
}
.sos-label { font-weight: 800; letter-spacing: .5px; color: #FFD200; text-transform: uppercase; font-size: 11px; }
.sos-sep { opacity: .4; }
.sos-desc { opacity: .85; font-size: 12px; }
.sos-btn {
  display: inline-flex; align-items: center; gap: 6px;
  background: rgba(255,255,255,.15); border: 1px solid rgba(255,255,255,.3);
  color: #fff; padding: 4px 12px; border-radius: 20px;
  font-size: 12px; font-weight: 700; text-decoration: none;
  transition: .2s; white-space: nowrap;
}
.sos-btn:hover { background: rgba(255,255,255,.25); color: #fff; }
@media (max-width: 480px) {
  .sos-desc { display: none; }
}

/* ── Leaders Grid ───────────────────────────────────────────── */
.leaders-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}
.leader-card {
  background: #fff;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  overflow: hidden;
  text-align: center;
  transition: .25s;
  box-shadow: var(--shadow);
}
.leader-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.leader-photo {
  width: 100%;
  height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, var(--zim-green), var(--rw-blue));
  display: flex; align-items: center; justify-content: center;
}
.leader-photo img { width: 100%; height: 100%; object-fit: cover; object-position: center top; }
.leader-initials {
  font-size: 52px; font-weight: 800; color: rgba(255,255,255,.6);
  font-family: var(--font-display);
}
.leader-body { padding: 20px 16px; }
.leader-name { font-family: var(--font-display); font-size: 18px; font-weight: 700; color: var(--zim-black); margin-bottom: 4px; }
.leader-title { font-size: 12.5px; font-weight: 700; color: var(--zim-green); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 10px; }
.leader-bio { font-size: 13px; color: var(--text-muted); line-height: 1.6; }

@media (max-width: 1024px) { .leaders-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 600px)  { .leaders-grid { grid-template-columns: 1fr 1fr; gap: 14px; } .leader-photo { height: 160px; } }

/* ── Advertisement Zones ─────────────────────────────────────── */
.zir-ad { margin: 12px 0; }
.zir-ad-header_banner { text-align: center; padding: 8px 0; background: #F8F9FA; border-bottom: 1px solid var(--border); }
.zir-ad-sidebar, .zir-ad-sidebar_left { max-width: 300px; }
.zir-ad-between_content { margin: 28px 0; text-align: center; }
.zir-ad-footer_banner { text-align: center; padding: 12px 0; }
.zir-ad-popup {
  position: fixed; bottom: 80px; right: 24px; z-index: 8000;
  max-width: 300px; background: #fff; border-radius: 12px;
  box-shadow: 0 8px 32px rgba(0,0,0,.2); overflow: hidden;
}

/* Ad placeholders (empty zones show subtle outline in dev) */
.ad-zone { min-height: 2px; }
.ad-zone:empty { display: none; }

/* ── Navbar Dropdown ("More") ──────────────────────────────── */
.navbar-dropdown { position: relative; }
.navbar-dropdown-toggle { cursor: pointer; }
.navbar-dropdown-menu {
  display: none; position: absolute; top: 100%; left: 0; margin-top: 8px;
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12); min-width: 200px; padding: 8px; z-index: 600;
}
.navbar-dropdown:hover .navbar-dropdown-menu,
.navbar-dropdown:focus-within .navbar-dropdown-menu { display: block; }
.navbar-dropdown-menu li { list-style: none; }
.navbar-dropdown-menu a {
  display: block; padding: 9px 12px; border-radius: 7px; font-size: 13.5px;
  font-weight: 600; color: #444; text-decoration: none; transition: .15s;
}
.navbar-dropdown-menu a:hover { background: rgba(0,100,0,.07); color: var(--zim-green); }
.mobile-menu-divider {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: .6px;
  color: #999; padding: 14px 0 4px; border-top: 1px solid #eee; margin-top: 8px;
}

/* Sticky navbar already present via .navbar { position: sticky } */
@media (max-width: 900px) {
  .navbar-menu { display: none; }
}

/* ── Share buttons ──────────────────────────────────────────── */
.share-row { display: flex; gap: 8px; flex-wrap: wrap; }
.share-btn {
  width: 38px; height: 38px; border-radius: 50%; display: flex; align-items: center;
  justify-content: center; text-decoration: none; font-size: 16px; transition: .2s;
  background: #F0F0F0; color: #333;
}
.share-btn:hover { transform: translateY(-2px); }
.share-wa { background: #25D366; color: #fff; }
.share-fb { background: #1877F2; color: #fff; }
.share-x  { background: #000;    color: #fff; font-weight: 800; }
.share-li { background: #0A66C2; color: #fff; font-weight: 800; }
.share-em { background: #777;    color: #fff; }

/* ══════════════════════════════════════════════════════════════
   SITE FOOTER — fully responsive
   ══════════════════════════════════════════════════════════════ */
.site-footer { width: 100%; }

.footer-cta-strip { background: linear-gradient(90deg,#006400,#20603D,#1565C0); padding: 18px 0; text-align: center; }
.footer-cta-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; }
.footer-cta-text { color: #fff; font-size: 14px; font-weight: 600; }
.footer-cta-btn { background: #FFD200; color: #0F1923; padding: 9px 24px; border-radius: 20px; font-weight: 800; font-size: 13.5px; text-decoration: none; letter-spacing: .3px; white-space: nowrap; }

.footer-main { background: #0F1923; color: rgba(255,255,255,.85); padding: 56px 0 32px; }
.footer-main-inner { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

.footer-grid-cols {
  display: grid;
  grid-template-columns: 280px repeat(3, 1fr);
  gap: 48px;
  margin-bottom: 48px;
}

.footer-col-brand { min-width: 0; }
.footer-brand-row { display: flex; align-items: center; gap: 12px; margin-bottom: 18px; }
.footer-logo-badge { width: 44px; height: 44px; border-radius: 10px; background: linear-gradient(135deg,#006400,#20603D); display: flex; align-items: center; justify-content: center; font-weight: 900; font-size: 16px; color: #fff; flex-shrink: 0; }
.footer-brand-name { font-weight: 800; font-size: 16px; color: #fff; }
.footer-brand-sub { font-size: 11px; opacity: .5; margin-top: 1px; }
.footer-brand-desc { font-size: 13.5px; line-height: 1.75; opacity: .65; margin-bottom: 20px; }

.footer-social-row { display: flex; gap: 10px; flex-wrap: wrap; }
.footer-social-btn {
  width: 36px; height: 36px; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.12);
  border-radius: 8px; display: flex; align-items: center; justify-content: center;
  font-size: 16px; text-decoration: none; transition: .2s; flex-shrink: 0;
}
.footer-social-btn:hover { background: rgba(255,255,255,.18); }

.footer-contact { margin-top: 20px; font-size: 13px; opacity: .55; line-height: 2; }
.footer-contact a { color: rgba(255,255,255,.55); text-decoration: none; }
.footer-contact a:hover { color: #FFD200; }

.footer-col-title {
  font-size: 11px; font-weight: 800; text-transform: uppercase; letter-spacing: 1.2px;
  color: rgba(255,255,255,.4); margin-bottom: 16px;
}
.footer-link {
  display: block; font-size: 13.5px; color: rgba(255,255,255,.65); text-decoration: none;
  padding: 5px 0; border-bottom: 1px solid rgba(255,255,255,.05); transition: .15s;
}
.footer-link:last-child { border-bottom: none; }
.footer-link:hover { color: #FFD200; padding-left: 6px; }

.footer-bottom-row {
  border-top: 1px solid rgba(255,255,255,.08); padding-top: 24px;
  display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px;
}
.footer-copyright { font-size: 12.5px; opacity: .4; }
.footer-flags { display: flex; align-items: center; gap: 16px; font-size: 12px; opacity: .35; flex-wrap: wrap; }
.footer-flags-sep { opacity: .4; }

/* ── Tablet (≤1024px): 2-column grid, brand spans full width ── */
@media (max-width: 1024px) {
  .footer-grid-cols {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
  .footer-col-brand { grid-column: 1 / -1; }
}

/* ── Mobile (≤768px): single column, centered, larger tap targets ── */
@media (max-width: 768px) {
  .footer-cta-inner { flex-direction: column; text-align: center; gap: 14px; }
  .footer-cta-btn { width: 100%; text-align: center; padding: 12px; }

  .footer-main { padding: 40px 0 24px; }
  .footer-main-inner { padding: 0 20px; }

  .footer-grid-cols {
    grid-template-columns: 1fr;
    gap: 32px;
    margin-bottom: 32px;
    text-align: center;
  }
  .footer-col-brand { grid-column: auto; }
  .footer-brand-row { justify-content: center; }
  .footer-brand-desc { max-width: 380px; margin-left: auto; margin-right: auto; }
  .footer-social-row { justify-content: center; }
  .footer-contact { text-align: center; }

  .footer-col-title { margin-top: 4px; }
  .footer-link {
    padding: 11px 0;            /* larger tap target on mobile */
    font-size: 14px;
    text-align: center;
  }
  .footer-link:hover { padding-left: 0; }   /* no hover-shift on touch */

  .footer-bottom-row {
    flex-direction: column;
    text-align: center;
    gap: 10px;
  }
  .footer-flags { justify-content: center; }
}

/* ── Small phones (≤380px) ── */
@media (max-width: 380px) {
  .footer-cta-text { font-size: 13px; }
  .footer-brand-name { font-size: 15px; }
  .footer-copyright { font-size: 11.5px; }
}

/* ── News page: content + sidebar layout, responsive ─────────── */
.news-layout { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
@media (max-width: 900px) {
  .news-layout { grid-template-columns: 1fr; }
}

/* ══════════════════════════════════════════════════════════════
   EMBASSY DIRECTORY — responsive cards
   ══════════════════════════════════════════════════════════════ */
.embassy-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 18px;
}
.embassy-card {
  background: #fff; border: 1px solid var(--border); border-radius: 12px;
  overflow: hidden; display: flex; flex-direction: column;
  box-shadow: var(--shadow); transition: .2s;
}
.embassy-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.embassy-card-amb { width: 100%; height: 140px; overflow: hidden; background: #F0F0F0; }
.embassy-card-amb img { width: 100%; height: 100%; object-fit: cover; object-position: top center; }
.embassy-card-body { padding: 18px; }
.embassy-card-host { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; color: var(--zim-green); margin-bottom: 6px; }
.embassy-card-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; margin-bottom: 12px; line-height: 1.3; }
.embassy-card-row { font-size: 13px; color: #555; margin-bottom: 7px; line-height: 1.5; word-break: break-word; }
.embassy-card-row a { color: var(--zim-green); text-decoration: none; }
.embassy-card-row a:hover { text-decoration: underline; }
.embassy-card-emergency { color: #C8102E; font-weight: 600; }
.embassy-card-emergency a { color: #C8102E; }
.embassy-card-amb-name {
  margin-top: 14px; padding-top: 12px; border-top: 1px solid #F0F0F0;
  font-size: 12.5px; color: #444;
}
.embassy-card-amb-name span { display: block; color: #888; font-size: 11.5px; margin-top: 2px; }
.embassy-card-amb-name p { margin-top: 6px; font-size: 12px; color: #777; line-height: 1.5; }
.embassy-card-map-link {
  display: inline-block; margin-top: 12px; font-size: 12.5px; font-weight: 700;
  color: var(--rw-blue); text-decoration: none;
}
.embassy-card-map-link:hover { text-decoration: underline; }
.embassy-card-note {
  margin-top: 12px; padding: 8px 10px; background: #FFF8E1; border-radius: 6px;
  font-size: 11.5px; color: #856404; line-height: 1.5;
}

/* Embassy preview strip (used on About Us page) */
.embassy-preview-strip {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 14px;
}
.embassy-preview-card {
  background: #fff; border: 1px solid var(--border); border-radius: 10px;
  padding: 16px; text-align: center; text-decoration: none; color: inherit; transition: .2s;
}
.embassy-preview-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-2px); }
.embassy-preview-flag { font-size: 28px; margin-bottom: 8px; }
.embassy-preview-name { font-weight: 700; font-size: 13.5px; margin-bottom: 3px; }
.embassy-preview-host { font-size: 11.5px; color: #888; }

@media (max-width: 600px) {
  .embassy-grid { grid-template-columns: 1fr; }
  .embassy-card-amb { height: 160px; }
  .embassy-preview-strip { grid-template-columns: repeat(2, 1fr); }
}

/* ══════════════════════════════════════════════════════════════
   DONOR NOTICE — shared component, identical on frontend & backend
   Opacity is set per-page via the --dn-opacity custom property
   (admin-configurable; defaults to fully solid if not set).
   ══════════════════════════════════════════════════════════════ */
.donor-notice {
  position: fixed; bottom: 24px; left: 24px; z-index: 9000;
  background: rgba(255,255,255, var(--dn-opacity, 1));
  color: #1A1A1A; border-radius: 14px;
  box-shadow: 0 10px 36px rgba(0,0,0,.18);
  padding: 18px 20px; width: 200px; min-height: 180px;
  font-size: 12.5px; line-height: 1.6;
  border: 1px solid rgba(0,0,0,.08);
  transform: translateY(160px); opacity: 0;
  transition: transform .5s cubic-bezier(.34,1.56,.64,1), opacity .4s;
  pointer-events: none; backdrop-filter: blur(6px);
  font-family: 'DM Sans', Arial, sans-serif;
}
.donor-notice.show { transform: translateY(0); opacity: 1; pointer-events: all; }
.dn-close {
  position: absolute; top: 8px; right: 10px;
  background: rgba(0,0,0,.06); border: none; color: #666; cursor: pointer;
  font-size: 13px; width: 22px; height: 22px; border-radius: 50%; line-height: 1;
  display: flex; align-items: center; justify-content: center;
}
.dn-close:hover { background: rgba(0,0,0,.12); color: #222; }
.dn-logo { font-size: 10.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .8px; color: var(--zim-green, #006400); margin-bottom: 8px; }
.dn-text { color: #333; margin-bottom: 12px; font-weight: 600; }
.dn-field { display: flex; flex-direction: column; gap: 1px; margin-bottom: 8px; }
.dn-field-label { font-size: 9.5px; font-weight: 800; text-transform: uppercase; letter-spacing: .5px; color: #999; }
.donor-notice a { color: var(--rw-blue, #1565C0); text-decoration: none; font-weight: 700; word-break: break-all; }
.donor-notice a:hover { text-decoration: underline; }

/* On the public site the notice sits bottom-right (bottom-left is
   already used by other floating UI on some pages); on mobile it
   stays within the safe-area like the other floating components. */
.donor-notice.donor-notice-public { left: auto; right: 24px; }
@media (max-width: 600px) {
  .donor-notice { left: 12px; right: 12px; width: auto; bottom: 16px; }
  .donor-notice.donor-notice-public { left: 12px; right: 12px; }
}
