:root {
  --green:#2d6a4f;
  --green-2:#40916c;
  --accent:#ffc300;
  --muted:#6b7280;
  --bg:#f1fbf6;
  --card:#fff;
}
*{box-sizing:border-box}
body{
  font-family:Inter,Arial,sans-serif;
  background:var(--bg); 
  line-height: 1.6; 
  color:#0f172a;margin:0}
.container{
  max-width:1000px;
  margin:18px auto;
  padding:0 16px
}
.topbar{
  background:var(--green);color:white;padding:12px 0
}
.topbar .container{
  display:flex;
  align-items:center;
  justify-content:space-between
}
.topbar nav a{
  color:white;
  text-decoration:none;
  margin-left:12px;
  font-weight:600
}

.card{
  background:var(--card);padding:16px;
  border-radius:12px;
  box-shadow:0 6px 18px rgba(16,24,40,0.06);
  margin-bottom:12px}

.btn {
  background: var(--green);
  color: #fff;
  padding: 10px 14px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.25s ease;
}
.btn.small{
  padding:6px 8px;
  font-size:13px
}
.btn.outline{
  background:transparent;
  border:2px solid var(--green);color:var(--green)
}
input,select,textarea{
  width:100%;
  padding:8px 0;
  border-radius:8px;
  border:1px solid #e6eef1;
  margin-top:6px
}
label{
  font: weight 700px;
  color:var(--muted);
  display:block;
  margin-top:10px
}
.note{
  background:#e6fff6;
  border-left:4px solid var(--green-2);
  padding:8px;border-radius:6px;margin-top:8px
}
.note.danger{
  background:#fff0f0;
  border-left:4px solid #f43f5e
}
.request-card{
  padding:10px;
  border:1px dashed #e8f7ef;
  border-radius:8px;
  margin-bottom:8px
}
.request-card button{
  margin-right:8px
}
#matchesList ul{
  list-style:none;
  padding-left:0}
@media(max-width:720px){.topbar .container{flex-direction:column;gap:10px}.container{padding:12px}}

/* 🔥 NEW UI ENHANCEMENTS */

/* Hero section upgrade */
.hero {
  text-align: center;
  padding: 60px 20px;
  background: linear-gradient(135deg, #2d6a4f, #40916c);
  color: white;
  border-radius: 16px;
  margin-top: 20px;
}

.hero h2 {
  font-size: 32px;
  margin-bottom: 10px;
}

.hero p {
  opacity: 0.9;
}

/* CTA buttons spacing */
.cta {
  margin-top: 20px;
}

/* Button animation */
.btn {
  transition: all 0.25s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 14px rgba(0,0,0,0.15);
  background: var(--green-2);
}

/* Card hover effect */
.card {
  transition: all 0.25s ease;
}

.card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0,0,0,0.08);
}

/* Navbar spacing fix */
.topbar nav a {
  padding: 6px 10px;
  border-radius: 6px;
}

.topbar nav a:hover {
  background: rgba(255,255,255,0.15);
}

/* Section spacing */
main.container {
  margin-top: 30px;
}

/* Headings */
h2 {
  font-size: 24px;
  margin-bottom: 10px;
}

/* Form improvements */
form {
  margin-top: 10px;
}

input, select {
  transition: border 0.2s;
}

input:focus, select:focus {
  border: 1px solid var(--green);
  outline: none;
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

/* STAT CARDS */
.stat-card {
  background: linear-gradient(135deg, #2d6a4f, #40916c);
  color: white;
  padding: 18px;
  border-radius: 12px;
  text-align: center;
}

.stat-card h3 {
  font-size: 14px;
  opacity: 0.9;
}

.stat-card p {
  font-size: 26px;
  font-weight: bold;
  margin-top: 6px;
}