.card-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
}

.head {
  font-size: 3rem;
  font-weight: 600;
  color: green;
  margin-top: 0;
  padding: 10px;
  text-align: center;
}

.box {
  background-color: #f2f2f2;
  margin-bottom: 40px;
  border-radius: 5px;
  padding: 40px;
  padding-top: 20px;
  text-align: center;
  position: relative;
}

.box.box-recycling {
  background-color: burlywood;
}

.box.box-solar-panel {
  background-color: limegreen;
}

.box.box-cycle {
  background-color: burlywood;
}

.box.box-light-bulb {
  background-color: limegreen;
}

.box {
  text-align: center;
}

h1 {
  margin-bottom: 30px;
}

p {
  font-size: 14px;
  line-height: 1.5;
}

/*==================== End Service css====================*/





/* Sign up form */
.container1 {
  /* max-width: 700px;
  width: 50%; */
  background: white;
  padding: 25px 30px;
  border-radius: 5px;
}

.container1 .title {
  font-size: 2rem;
  font-weight: 500;
  position: relative;
  margin-bottom: 20px;
}

.container1 form .user-details {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}

.container1 form .user-details .input-box {
  margin-bottom: 15px;
  width: calc(100% / 2 -20px);
}

.user-details .input-box .details {
  display: block;
  font-weight: 500;
  margin-bottom: 5px;
}

.user-details .input-box input {
  height: 45px;
  width: 100%;
  outline: none;
  border-radius: 5px;
  border: 1px solid brown;
  padding-left: 15px;
  font-size: 16px;
  border-bottom-width: 2px;
}

form.gender-details .gender-title {
  font-size: 20px;
  font-weight: 500;
}

form.gender-details .catagory {
  width: 80%;
  display: flex;
  justify-content: space-between;
  margin: 14px 0;
}

.gender-details .catagory .gender {
  margin-left: 10px;
}
/* #header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
  } */
  
  nav {
    width: 95%;
    max-width: 120rem;
    margin: 0 auto;
    /* Centering the nav */
    padding: 1rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  
  .hamburger {
    padding-right: 20px;
    cursor: pointer;
  }
  
  .hamburger .line {
    display: block;
    width: 40px;
    height: 5px;
    margin-bottom: 10px;
    background-color: white;
  }
  
  .hamburger {
    display: none;
  }
  
  /* small screens for navbar */
  @media screen and (max-width: 900px) {
    .hide {
      max-height: 0;
      overflow: hidden;
      transition: max-height 0.5s ease-out;
    }
  
    .show {
      max-height: 500px;
      transition: max-height 0.5s ease-in;
    }
  
    .hamburger {
      display: block;
    }
  
    #hero h1 {
      font-size: 4rem;
      text-align: initial;
    }
  
    .explore {
      padding: 10px 20px;
      font-size: 15px;
      width: 60%;
      justify-content: center;
      align-items: center;
      display: flex;
      margin-left: 20px;
      text-align: center;
    }
  
    nav {
      position: relative;
    }
  
    nav ul {
      flex-direction: column;
      gap: 1rem;
      position: absolute;
      right: -5%;
      top: 100%;
      background: green;
      z-index: 1000;
      border-radius: 7px;
    }
  
    nav ul li {
      padding: 1rem;
      padding-bottom: 0px;
    }
  
    .last-list {
      padding-bottom: 1rem;
    }
  
    nav a:hover {
      color: greenyellow;
    }
  
    /* contribute */
    .card-container {
      flex-direction: column;
      justify-content: center;
      align-items: center;
    }
  }
  
  .logo {
    font-size: 2rem;
    color: white;
    padding: 1rem 0;
    display: flex;
    margin: 0;
    justify-content: space-between;
    align-items: center;
  }
  
  nav ul {
    display: flex;
  }
  
  nav li {
    list-style: none;
    margin-right: 2rem;
    /* Added margin for spacing between nav items */
  }
  
  nav a {
    text-decoration: none;
    color: white;
    font-size: 1.2rem;
    text-transform: uppercase;
    transition: color 0.3s ease;
  }
  
  nav a:hover {
    color: orange;
  }
  
  
  
  

/*-- End of Sign up form */