body {
  margin: 0;
  font-family: Arial, sans-serif;

  background: url("images/cover.jpg") no-repeat center center/cover;
}


body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: -1;
}

}

/* Navbar */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #1b5e20;
  color: white;
  padding: 15px 30px;
}

.navbar nav a {
  color: white;
  margin-left: 20px;
  text-decoration: none;
  font-weight: bold;
}

.navbar nav a:hover {
  text-decoration: underline;
}

/* Hero */
.hero {
  height: 70vh;
  background: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.5)),
              url('https://images.unsplash.com/photo-1606787366850-de6330128bfc') center/cover;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  text-align: center;
}

.hero button {
  margin-top: 15px;
  padding: 12px 25px;
  border: none;
  background: #43a047;
  color: white;
  cursor: pointer;
  border-radius: 5px;
}

.hero button:hover {
  background: #2e7d32;
}

/* Cards */
.cards-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px;
  flex-wrap: wrap;
}

.card {
  background: white;
  padding: 20px;
  width: 220px;
  text-align: center;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
  transition: 0.3s;
}

.card:hover {
  transform: translateY(-5px);
}

/* Sections */
.section {
  padding: 60px 20px;
  text-align: center;
}

/* Forms */
.form-card {
  background: white;
  padding: 25px;
  max-width: 350px;
  margin: auto;
  border-radius: 10px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.form-card input {
  width: 100%;
  padding: 12px;
  margin: 10px 0;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.form-card button {
  width: 100%;
  padding: 12px;
  background: #1b5e20;
  color: white;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.form-card button:hover {
  background: #2e7d32;
}

/* About */
.about {
  background: #e8f5e9;
  padding: 50px 20px;
}

/* Footer */
footer {
  background: #1b5e20;
  color: white;
  text-align: center;
  padding: 15px;
  margin-top: 20px;
}
body {
  font-family: Arial, sans-serif;
  background: #f4f6f8;
  margin: 0;
}

/* Login Box */
.login-container {
  width: 320px;
  margin: 120px auto;
  padding: 25px;
  background: #fff;
  border-radius: 10px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.1);
  text-align: center;
}

.login-container h2 {
  margin-bottom: 20px;
  color: #1b5e20;
}

.login-container input {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border-radius: 6px;
  border: 1px solid #ccc;
  outline: none;
}

.login-container button {
  width: 100%;
  padding: 10px;
  background: #1b5e20;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.login-container button:hover {
  background: #145a18;
}

#error {
  color: red;
  margin-top: 10px;
}

/* Navbar button */
.login-btn {
  background-color: #1b5e20;
  color: white;
  border: none;
  padding: 8px 14px;
  border-radius: 6px;
  cursor: pointer;
}

.login-btn:hover {
  background-color: #145a18;
}
body {
  margin: 0;
  font-family: Arial, sans-serif;

  background-image: url("images/bg.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
}
body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.4);
  z-index: -1;
}
body.login-page {
  background-image: url("images/login-bg.jpg");
  background-size: cover;
  background-position: center;
}
.impact {
  padding: 50px 20px;
  text-align: center;
  background: rgba(255, 255, 255, 0.9);
}

.impact h2 {
  color: #1b5e20;
  margin-bottom: 30px;
}

.impact-container {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.impact-card {
  width: 280px;
  background: #fff;
  border-radius: 10px;
  padding: 15px;
  box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.impact-card img {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 8px;
}

.impact-card h3 {
  margin-top: 10px;
  color: #1b5e20;
}

.impact-card p {
  font-size: 14px;
  color: #555;
}
.register {
  padding: 40px;
  background: rgba(255,255,255,0.95);
  max-width: 500px;
  margin: auto;
  border-radius: 10px;
}

.register h2 {
  text-align: center;
  color: #1b5e20;
}

.register h3 {
  margin-top: 20px;
  color: #333;
}

.register input, 
.register select {
  width: 100%;
  padding: 10px;
  margin: 8px 0;
  border-radius: 6px;
  border: 1px solid #ccc;
}

.register button {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  background: #1b5e20;
  color: white;
  border: none;
  border-radius: 6px;
  cursor: pointer;
}

.register button:hover {
  background: #145a18;
}

.member {
  border: 1px dashed #ccc;
  padding: 10px;
  margin-bottom: 10px;
  border-radius: 6px;
}
.hero {
  text-align: center;
  color: white;
  padding: 120px 20px;
}

.hero h1 {
  font-size: 40px;
}

.hero p {
  font-size: 18px;
}
/* Style for family members in dashboard table */
.member-chip {
  display: inline-block;
  background: #4CAF50;
  color: white;
  padding: 4px 8px;
  margin: 2px 2px 2px 0;
  border-radius: 12px;
  font-size: 0.85rem;
}