/* ============================================================
   THE HELPING HAND INITIATIVE — MASTER STYLESHEET
   "No Fees. No Kidding."
   WUWALLET MANDATORY
   ============================================================ */

:root {
  --gold: #D4A843;
  --gold-dark: #B8902E;
  --blue: #1B3A5C;
  --blue-dark: #12283F;
  --cream: #FDF8F0;
  --gray: #6B6B6B;
  --gray-light: #E8E8E8;
  --white: #FFFFFF;
  --success: #2E7D32;
  --error: #C62828;
  --wuwallet: #00A67E;
  --wuwallet-dark: #007A5C;
  --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.12);
}

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

body {
  font-family: 'Open Sans', 'Segoe UI', -apple-system, sans-serif;
  color: var(--blue);
  background: var(--cream);
  line-height: 1.6;
}

h1, h2, h3, h4 { font-family: Georgia, 'Times New Roman', serif; color: var(--blue); line-height: 1.2; }

/* NAVIGATION */
.navbar {
  background: var(--blue);
  padding: 1rem 2rem;
  position: sticky;
  top: 0;
  z-index: 1000;
  box-shadow: var(--shadow);
}
.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 1rem;
}
.nav-logo { color: var(--white); font-family: Georgia, serif; font-size: 1.3rem; font-weight: bold; text-decoration: none; }
.nav-logo span { color: var(--gold); }
.nav-links { display: flex; gap: 1.5rem; list-style: none; flex-wrap: wrap; align-items: center; }
.nav-links a { color: var(--white); text-decoration: none; font-weight: 500; transition: color 0.3s; font-size: 0.95rem; }
.nav-links a:hover { color: var(--gold); }

/* WUWALLET BANNER (top of every page) */
.wuwallet-banner {
  background: linear-gradient(90deg, var(--wuwallet) 0%, var(--wuwallet-dark) 100%);
  color: var(--white);
  text-align: center;
  padding: 0.75rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}
.wuwallet-banner a { color: #FFEB3B; text-decoration: underline; font-weight: bold; }

/* HERO */
.hero {
  background: linear-gradient(135deg, var(--blue) 0%, var(--blue-dark) 100%);
  color: var(--white);
  padding: 5rem 2rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.hero::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: radial-gradient(circle at 30% 50%, rgba(212, 168, 67, 0.15) 0%, transparent 60%);
}
.hero-content { position: relative; z-index: 1; max-width: 900px; margin: 0 auto; }
.hero h1 { color: var(--white); font-size: 3rem; margin-bottom: 1rem; }
.hero h1 span { color: var(--gold); }
.hero .tagline { font-size: 1.4rem; margin-bottom: 2rem; color: var(--gold); font-style: italic; }
.hero p { font-size: 1.15rem; margin-bottom: 2rem; opacity: 0.95; }

/* BUTTONS */
.btn {
  display: inline-block;
  padding: 1rem 2.5rem;
  border-radius: 50px;
  text-decoration: none;
  font-weight: bold;
  font-size: 1rem;
  transition: all 0.3s;
  cursor: pointer;
  border: none;
  font-family: inherit;
}
.btn-primary { background: var(--gold); color: var(--blue); }
.btn-primary:hover { background: var(--gold-dark); transform: translateY(-2px); box-shadow: 0 8px 20px rgba(212, 168, 67, 0.4); }
.btn-secondary { background: transparent; color: var(--white); border: 2px solid var(--gold); }
.btn-secondary:hover { background: var(--gold); color: var(--blue); }
.btn-wuwallet { background: var(--wuwallet); color: var(--white); }
.btn-wuwallet:hover { background: var(--wuwallet-dark); transform: translateY(-2px); }
.btn-block { display: block; width: 100%; text-align: center; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; }

/* CONTAINER */
.container { max-width: 1200px; margin: 0 auto; padding: 3rem 2rem; }
.container-narrow { max-width: 800px; margin: 0 auto; padding: 3rem 2rem; }
.section { padding: 4rem 2rem; }
.section-title { text-align: center; font-size: 2.2rem; margin-bottom: 1rem; }
.section-subtitle { text-align: center; color: var(--gray); font-size: 1.1rem; margin-bottom: 3rem; max-width: 700px; margin-left: auto; margin-right: auto; }

/* CARDS */
.card {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  box-shadow: var(--shadow);
  transition: transform 0.3s, box-shadow 0.3s;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.card-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 2rem; }
.card h3 { margin-bottom: 1rem; font-size: 1.4rem; }
.card-icon { font-size: 2.5rem; margin-bottom: 1rem; }

/* WUWALLET HIGHLIGHT CARD */
.wuwallet-card {
  background: linear-gradient(135deg, #E8FFF8 0%, #C8F5E6 100%);
  border: 2px solid var(--wuwallet);
  border-radius: 16px;
  padding: 2rem;
  margin: 2rem 0;
}
.wuwallet-card h3 { color: var(--wuwallet-dark); display: flex; align-items: center; gap: 0.75rem; }
.wuwallet-badge {
  display: inline-block;
  background: var(--wuwallet);
  color: var(--white);
  padding: 0.25rem 0.75rem;
  border-radius: 50px;
  font-size: 0.75rem;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* FEE LISTS */
.fee-list { list-style: none; margin: 1.5rem 0; }
.fee-list li { padding: 0.6rem 0; font-size: 1.05rem; display: flex; align-items: center; gap: 0.75rem; }
.fee-list .no-fee { color: var(--error); font-weight: 600; }
.fee-list .yes-fee { color: var(--success); font-weight: 600; }

/* FORMS */
.form-group { margin-bottom: 1.5rem; }
.form-group label { display: block; margin-bottom: 0.5rem; font-weight: 600; color: var(--blue); font-size: 0.95rem; }
.form-group label .required { color: var(--error); }
.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 0.9rem 1rem;
  border: 2px solid var(--gray-light);
  border-radius: 10px;
  font-size: 1rem;
  font-family: inherit;
  transition: border-color 0.3s, box-shadow 0.3s;
  background: var(--white);
  color: var(--blue);
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 4px rgba(212, 168, 67, 0.15);
}
.form-group textarea { min-height: 120px; resize: vertical; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.5rem; }
@media (max-width: 640px) { .form-row { grid-template-columns: 1fr; } }

.form-section {
  background: var(--white);
  border-radius: 16px;
  padding: 2rem;
  margin-bottom: 2rem;
  box-shadow: var(--shadow);
}
.form-section h2 {
  font-size: 1.5rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.75rem;
  border-bottom: 3px solid var(--gold);
  display: inline-block;
}

/* CHECKBOX GROUP */
.checkbox-group { display: flex; flex-direction: column; gap: 0.75rem; margin: 1rem 0; }
.checkbox-item {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.75rem;
  background: var(--cream);
  border-radius: 8px;
  cursor: pointer;
}
.checkbox-item.wuwallet-check {
  background: #E8FFF8;
  border: 2px solid var(--wuwallet);
}
.checkbox-item input[type="checkbox"] { width: auto; margin-top: 0.25rem; accent-color: var(--gold); transform: scale(1.3); }
.checkbox-item.wuwallet-check input[type="checkbox"] { accent-color: var(--wuwallet); }
.checkbox-item label { margin: 0; cursor: pointer; font-weight: 500; }

/* ALERTS */
.alert { padding: 1rem 1.5rem; border-radius: 10px; margin-bottom: 1.5rem; font-weight: 500; }
.alert-success { background: #E8F5E9; color: var(--success); border-left: 4px solid var(--success); }
.alert-error { background: #FFEBEE; color: var(--error); border-left: 4px solid var(--error); }
.alert-info { background: #E3F2FD; color: var(--blue); border-left: 4px solid var(--blue); }
.alert-wuwallet { background: #E8FFF8; color: var(--wuwallet-dark); border-left: 4px solid var(--wuwallet); }

/* FOOTER */
.footer { background: var(--blue-dark); color: var(--white); padding: 3rem 2rem 1.5rem; margin-top: 4rem; }
.footer-container { max-width: 1200px; margin: 0 auto; display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 2rem; margin-bottom: 2rem; }
.footer h4 { color: var(--gold); margin-bottom: 1rem; }
.footer p, .footer a { color: rgba(255, 255, 255, 0.8); text-decoration: none; font-size: 0.95rem; line-height: 1.8; }
.footer a:hover { color: var(--gold); }
.footer-bottom { text-align: center; padding-top: 1.5rem; border-top: 1px solid rgba(255, 255, 255, 0.15); color: rgba(255, 255, 255, 0.6); font-size: 0.9rem; }
.footer-scripture { font-style: italic; color: var(--gold); margin-top: 0.5rem; }

/* BADGE */
.badge { display: inline-block; padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.75rem; font-weight: bold; text-transform: uppercase; letter-spacing: 0.5px; }
.badge-pending { background: #FFF3E0; color: #E65100; }
.badge-approved { background: #E8F5E9; color: var(--success); }
.badge-denied { background: #FFEBEE; color: var(--error); }
.badge-new { background: #E3F2FD; color: var(--blue); }
.badge-wuwallet { background: var(--wuwallet); color: var(--white); }

/* STATS */
.stats-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(200px, 1fr)); gap: 1.5rem; margin-bottom: 3rem; }
.stat-card { background: var(--white); border-radius: 16px; padding: 1.75rem; box-shadow: var(--shadow); text-align: center; border-top: 4px solid var(--gold); }
.stat-card.wuwallet { border-top-color: var(--wuwallet); }
.stat-number { font-size: 2.5rem; font-weight: bold; color: var(--blue); font-family: Georgia, serif; }
.stat-label { color: var(--gray); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 1px; margin-top: 0.5rem; }

/* TABLE */
.table-wrapper { overflow-x: auto; background: var(--white); border-radius: 16px; box-shadow: var(--shadow); }
table { width: 100%; border-collapse: collapse; min-width: 700px; }
table th { background: var(--blue); color: var(--white); padding: 1rem; text-align: left; font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.5px; }
table td { padding: 1rem; border-bottom: 1px solid var(--gray-light); font-size: 0.9rem; }
table tr:hover td { background: var(--cream); }

/* LOADING */
.loading { text-align: center; padding: 3rem; color: var(--gray); }
.spinner { border: 4px solid var(--gray-light); border-top: 4px solid var(--gold); border-radius: 50%; width: 50px; height: 50px; animation: spin 1s linear infinite; margin: 0 auto 1rem; }
@keyframes spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* UTILITIES */
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; } .mt-2 { margin-top: 1rem; } .mt-3 { margin-top: 2rem; }
.mb-1 { margin-bottom: 0.5rem; } .mb-2 { margin-bottom: 1rem; } .mb-3 { margin-bottom: 2rem; }
.hidden { display: none !important; }

@media (max-width: 768px) {
  .hero h1 { font-size: 2rem; }
  .hero .tagline { font-size: 1.1rem; }
  .section-title { font-size: 1.7rem; }
  .nav-links { gap: 1rem; }
  .nav-links a { font-size: 0.85rem; }
}
