/* ============================================================
   MWAKENYA — hero-fix.css
   Patch: hero section text was inheriting dark --text colour
   against the navy gradient background, making it unreadable.
   Add this AFTER main.css and papers.css in <head>.
   ============================================================ */

.hero {
  position: relative;
  padding: 36px 24px 28px;
  overflow: hidden;
  text-align: center;
}

.hero h1 {
  color: #ffffff;
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.25;
  margin-bottom: 10px;
  position: relative;
  z-index: 1;
}

.hero > p {
  color: rgba(255, 255, 255, 0.88);
  font-size: 13px;
  line-height: 1.6;
  max-width: 640px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
}

.hero-stats {
  display: flex;
  justify-content: center;
  gap: 28px;
  margin-bottom: 22px;
  position: relative;
  z-index: 1;
  flex-wrap: wrap;
}

.hstat .hv {
  font-family: 'Libre Baskerville', Georgia, serif;
  font-size: 22px;
  font-weight: 700;
  color: #f0a500;
  line-height: 1.2;
}

.hstat .hl {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.75);
  margin-top: 2px;
}

.hero-search {
  display: flex;
  align-items: center;
  gap: 6px;
  background: #ffffff;
  border-radius: 10px;
  padding: 8px 10px;
  max-width: 640px;
  margin: 0 auto;
  position: relative;
  z-index: 1;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.18);
}

.hero-search input {
  flex: 1;
  border: none;
  outline: none;
  font-size: 12px;
  padding: 6px 4px;
  color: var(--text);
  font-family: 'Source Sans Pro', system-ui, sans-serif;
}

.hero-search select {
  border: none;
  outline: none;
  font-size: 11px;
  color: var(--text-muted);
  background: transparent;
  font-family: 'Source Sans Pro', system-ui, sans-serif;
  padding: 6px 4px;
}

.hero-search button {
  background: #534ab7;
  color: #fff;
  border: none;
  border-radius: 7px;
  padding: 8px 16px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
  font-family: 'Source Sans Pro', system-ui, sans-serif;
}
.hero-search button:hover { opacity: 0.9; }
