* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
  }
  
  body {
    font-family: Arial, sans-serif;
  overflow-x: auto; 
  }
.menu-toggle {
  display: none;
  background: none;
  border: none;
  color: rgb(206, 195, 195);
  font-size: 1.8rem;
  cursor: pointer;
}

/* Mobile nav container */
.nav {
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .nav {
    width: 100%;
    flex-direction: column;
    display: none; /* hidden initially */
    background-color: var(--accent-color);
    margin-top: 1rem;
  }

  .nav a {
    padding: 0.5rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.3);
  }

  .menu-toggle {
    display: block;
  }

  .nav.show {
    display: flex;
  }
}

  
  #search {
    padding: 6px 10px;
    border: 1px solid rgb(204, 204, 204);
    border-radius: 5px;
  }
  #lo{
    width: 200px;
    height: auto;
    margin: 0;
    padding: 0;
    display: block;
  }
 .button {
  background-color: white;
  color: #C62828;
  border-radius: 50px;
  padding: 10px 20px;
  border: none;
  font-weight: bold;
  cursor: pointer;
  transition: color 0.3s ease;
}

.button:hover {
  color: black;
  font-size: 1.2em;
  background-color: rgb(240, 240, 240); 
}


.dark-mode{
  background-color:black;
  color:white;

}

:root {
      --bg-color: hsl(0, 0%, 100%);
      --text-color: rgb(34, 34, 34);
      --accent-color: rgb(211, 47, 47);
      --button-bg: rgb(211, 47, 47);
      --button-text: rgb(255, 255, 255);
      --section-bg: rgb(248, 248, 248);
    }

    body.dark-mode {
      --bg-color: rgb(18, 18, 18);
      --text-color: rgb(224, 224, 224);
      --accent-color: rgb(229, 57, 53);
      --button-bg: rgb(229, 57, 53);
      --button-text: rgb(255, 255, 255);
      --section-bg: rgb(30, 30, 30);
    }

    body {
      margin: 0;
      font-family: Arial, sans-serif;
      background-color: var(--bg-color);
      color: var(--text-color);
      transition: background-color 0.3s, color 0.3s;
    }

    a {
      color: inherit;
      text-decoration: none;
    }

    /* Header */
    .header {
      display: flex;
      justify-content: space-between;
      align-items: center;
      padding: 1rem 2rem;
      background-color: var(--accent-color);
      color: #fff;
      flex-wrap: wrap;
    }

    .logo {
      display: flex;
      align-items: center;
    }

    .logo img {
      height: 40px;
      margin-right: 0.5rem;
    }

    .logo h1 {
      font-size: 1.2rem;
      margin: 0;
    }

    .nav {
      display: flex;
      gap: 1rem;
      align-items: center;
      flex-wrap: wrap;
    }

    .nav a {
      font-weight: 500;
      color: #fff;
    }

    .donate-button {
      background-color: var(--button-bg);
      color: var(--button-text);
      padding: 0.5rem 1rem;
      border-radius: 4px;
      transition: background-color 0.3s;
    }

    .donate-button:hover {
      background-color: #b71c1c;
    }

    #darkmode-toggle {
      background: none;
      border: 1px solid #fff;
      color: #fff;
      padding: 0.4rem 0.8rem;
      border-radius: 4px;
      cursor: pointer;
    }

    #darkmode-toggle:hover {
      background-color: rgba(255, 255, 255, 0.2);
    }

    /* Hero */
    .hero {
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 3rem 1rem;
      text-align: center;
      max-width: 1000px;
      margin: 0 auto;
    }

    .hero h2 {
      font-size: 2.5rem;
      color: var(--accent-color);
      margin-bottom: 1rem;
    }

    .hero p {
      max-width: 700px;
      line-height: 1.6;
    }

    .hero-image img {
      max-width: 300px;
      width: 100%;
      margin: 2rem 0;
      border-radius: 8px;
    }

    .cta-button {
      background-color: var(--button-bg);
      color: var(--button-text);
      padding: 0.75rem 1.5rem;
      border-radius: 4px;
      text-decoration: none;
      display: inline-block;
      margin-top: 1rem;
      transition: background-color 0.3s;
    }

    .cta-button:hover {
      background-color: #b71c1c;
    }

    .info-text {
      margin-top: 1rem;
      font-style: italic;
      max-width: 600px;
      line-height: 1.4;
    }

    /* Section */
    section {
      padding: 3rem 1rem;
      /* background-color: var(--section-bg); */
      max-width: 1000px;
      margin: 2rem auto;
      border-radius: 8px;
    }

    section h3 {
      text-align: center;
      color: var(--accent-color);
      margin-bottom: 1rem;
      font-size: 2rem;
    }

    section p {
      max-width: 800px;
      margin: 0 auto;
      line-height: 1.6;
      text-align: center;
    }

    /* How It Works */
    .steps {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 2rem;
      margin-top: 2rem;
    }

    .step {
      max-width: 300px;
      text-align: center;
    }

    .step-icon {
      font-size: 3rem;
      color: var(--accent-color);
      margin-bottom: 0.5rem;
    }

    @media (min-width: 768px) {
      .steps {
        flex-direction: row;
        justify-content: space-between;
      }
    }


    /* Footer */
    .footer {
      text-align: center;
      padding: 1rem;
      background-color: var(--accent-color);
      color: #fff;
      margin-top: 2rem;
    }

    .footer a {
      color: #fff;
      margin: 0 0.5rem;
    }
    /* Signup form main box */
#signup-form {
  max-width: 500px;
  margin: 40px auto;
  padding: 25px 30px;
  border: 2px solid #ff4d4d;
  border-radius: 8px;
  background: url('photos/creative-professional-design-blood-drop-600nw-1969536496.webp') no-repeat center center;
  background-size: cover;
  position: relative;
  color: #660000;
  font-family: Arial, sans-serif;
  /* box-shadow: 0 0 15px rgba(198, 40, 40, 0.7); */
  overflow: hidden;
}
#signup-form::before {
  content: "";
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.85);
  z-index: 0;
  border-radius: 8px;
}

#signup-form > * {
  position: relative;
  z-index: 1;
}


#signup-form h2 {
  text-align: center;
  color: #b30000;
  margin-bottom: 20px;
}


#signup-form .form-group {
  margin-bottom: 18px;
}

#signup-form label {
  display: block;
  margin-bottom: 6px;
  color: #550000;
  font-weight: bold;
}

#signup-form input[type="text"],
#signup-form input[type="email"],
#signup-form input[type="tel"],
#signup-form select {
  width: 100%;
  padding: 8px 10px;
  border: 1.5px solid #cc3333;
  border-radius: 5px;
  font-size: 15px;
  outline: none;
  box-sizing: border-box;
  background-color: #fff;
  color: #330000;
  transition: border-color 0.3s ease;
}

#signup-form input[type="text"]:focus,
#signup-form input[type="email"]:focus,
#signup-form input[type="tel"]:focus,
#signup-form select:focus {
  border-color: #df6262;
}

#signup-form .form-group input[type="radio"] {
  margin-right: 6px;
}

#signup-form .form-group label input[type="radio"] {
  margin-right: 6px;
  vertical-align: middle;
}

#signup-form .form-group label {
  display: inline-block;
  margin-right: 20px;
  font-weight: normal;
  color: #5c0b0b;
  cursor: pointer;
}

/* Form buttons */
#signup-form .form-buttons {
  text-align: center;
  margin-top: 20px;
}

#signup-form button[type="submit"],
#signup-form button[type="reset"] {
  background-color: #cc0000;
  color: white;
  border: none;
  padding: 10px 20px;
  margin: 0 10px;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  font-size: 16px;
  transition: background-color 0.3s ease;
}

#signup-form button[type="submit"]:hover,
#signup-form button[type="reset"]:hover {
  background-color: #800000;
}
/* MISSION*/
    .mission-content h2 {
      color: #d32f2f;
      font-size: 2rem;
      margin-bottom: 20px;
      text-align: center;
    }

    .mission-content p {
      font-size: 1.1rem;
      line-height: 1.8;
      text-align: justify;
    }
.mission-content {
        margin: 40px auto;
      padding: 30px;
    }
    /*Testomonial CSS*/
    .testimonial-container {
      margin: 40px auto;
      padding: 20px;
    }

    .testimonial-container h2 {
      text-align: center;
      color: #d32f2f;
      margin-bottom: 30px;
    }

    .testimonial {
      margin-bottom: 30px;
      border-left: 4px solid #d32f2f;
      padding-left: 20px;
    }

    .testimonial p {
      font-size: 1.1rem;
      line-height: 1.6;
    }

    .testimonial .author {
      font-weight: bold;
      margin-top: 10px;
      color: #555;
    }