* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', sans-serif;
  background-color: #f5f5f5;
  color: #333;
}

/* Container */
.container {
  width: 90%;
  max-width: 1200px;
  margin: auto;
  padding: 20px 0;
}

/* HEADER */
header {
  background: #007bff; /* light blue */
  color: #fff;
  position: relative;
  z-index: 999;
}


header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  padding: 15px 0;
}

header h1 {
  font-size: 28px;
  font-weight: bold;
}

header nav {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  transition: all 0.3s ease;
}

header nav a {
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  position: relative;
  padding-bottom: 5px;
}

/* Modern underline hover effect */
header nav a::after {
  content: "";
  position: absolute;
  width: 0;
  height: 2px;
  left: 0;
  bottom: 0;
  background-color: #f39c12;
  transition: width 0.3s ease;
}

header nav a:hover::after {
  width: 100%;
}

/* HERO SECTION */
.hero {
  background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)),
              url('your-background.jpg') center/cover no-repeat;
  color: white;
  padding: 120px 20px 100px;
  text-align: center;
}

.hero h2 {
  font-size: 42px;   /* You can adjust this size */
  font-weight: 700;
  line-height: 1.3;
}


.hero h2,
.hero p {
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

/* BUTTON STYLE */
.btn {
  background-color: #f39c12;
  color: white;
  padding: 12px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
  margin-top: 30px;
  transition: background-color 0.3s;
  display: inline-block;
  text-decoration: none;
}

.btn:hover {
  background-color: #d68910;
}

/* FEATURES */
.features {
  background: #fff;
  padding: 60px 0;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  text-align: center;
}

.feature {
  flex: 0 1 300px;
  background: #f9f9f9;
  padding: 25px;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* FOOTER */
footer {
  background: #333;
  color: #fff;
  text-align: center;
  padding: 20px;
  margin-top: 20px;
}

/* FORM SECTION */
.form-section {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 60px 20px;
  background: #f2f2f2;
  min-height: 80vh;
}

.form-box {
  background: #fff;
  padding: 40px 30px;
  border-radius: 10px;
  box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
  width: 100%;
  max-width: 400px;
  text-align: center;
}

.form-box h2 {
  margin-bottom: 20px;
  color: #0a7d07;
}

.form-box form {
  display: flex;
  flex-direction: column;
}

.form-box input {
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 6px;
}

.form-box p {
  margin-top: 15px;
}

/* DASHBOARD */
#welcomeMessage {
  color: #0a7d07;
  font-weight: bold;
  margin-bottom: 10px;
  font-size: 24px;
}

.dashboard-container {
  max-width: 900px;
  margin: auto;
  padding: 20px;
  background: #fff;
  border-radius: 10px;
}

.dashboard-header {
  text-align: center;
  margin-bottom: 20px;
}

.btn-link {
  background: #0a7d07;
  color: white;
  padding: 8px 14px;
  margin: 5px;
  text-decoration: none;
  border-radius: 5px;
  font-size: 14px;
  display: inline-block;
}

.cards-container {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
}

.contribution-card {
  background: #f9f9f9;
  border-left: 5px solid #0a7d07;
  border-radius: 10px;
  padding: 15px;
  width: 260px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.contribution-card h4 {
  margin-bottom: 10px;
  color: #0a7d07;
}

.contribution-card p {
  margin: 5px 0;
}

.status.pending { color: gray; font-weight: bold; }
.status.matched { color: orange; font-weight: bold; }
.status.completed { color: green; font-weight: bold; }

.note {
  font-size: 13px;
  color: #444;
  margin-top: 5px;
}

/* TABLE */
table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 20px;
}

table th, table td {
  border: 1px solid #ccc;
  padding: 8px;
  text-align: left;
}

/* DEFAULT BUTTON TAG */
button {
  background: #0a7d07;
  color: white;
  padding: 6px 10px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

/* HAMBURGER MENU */
.menu-toggle {
  display: none;
  background: none;
  color: #fff;
  font-size: 28px;
  border: none;
  cursor: pointer;
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .container {
    width: 95%;
    padding: 10px;
  }

  header .container {
    flex-direction: column;
    align-items: center;
  }

  .menu-toggle {
    display: block;
  }

  header nav {
    display: none;
    flex-direction: column;
    width: 100%;
    background-color: #0a7d07;
    margin-top: 10px;
    padding: 10px 0;
  }

  header nav.active {
    display: flex;
  }

  header nav a {
    margin: 10px 0;
    text-align: center;
  }

  header nav a::after {
    display: none;
  }

  .features {
    flex-direction: column;
    align-items: center;
  }

  .feature {
    max-width: 90%;
  }

  table {
    font-size: 14px;
    overflow-x: auto;
  }
}
.form-messages {
  margin-bottom: 20px;
  text-align: center;
}

.form-messages .success {
  color: green;
  font-weight: bold;
}

.form-messages .error {
  color: red;
  font-weight: bold;
}
/* Nav buttons */
.dashboard-header a.btn-link {
    color:#fff!important;
    background:#007bff;
    padding:6px 12px;
    border-radius:6px;
    margin:0 4px;
    text-decoration:none;
}

/* Compact contribution cards */
.contrib-list { display:flex; flex-direction:column; gap:10px; }
.contrib-card { display:flex; justify-content:space-between; align-items:center; padding:15px; border:1px solid #ddd; border-radius:8px; background:#fff; box-shadow:0 2px 4px rgba(0,0,0,.08); }
.contrib-left { display:flex; flex-direction:column; gap:4px; }
.contrib-right .btn-view { background:#007bff; color:#fff; padding:6px 10px; border-radius:5px; text-decoration:none; }
.contrib-right .btn-view:hover { background:#0056b3; }
.contrib-status.pending { color:orange; }
.contrib-status.partial { color:#e67e22; }
.contrib-status.matched { color:green; }
.contrib-status.completed { color:#888; }






