.upper-head{
    display: flex;
    justify-content: space-around;
    align-items: center;
    background-color: rgb(27, 119, 27);
    color: white;
    height: 70px;
    font-size: 20px;
    gap: 250px;
}

body {
    margin: 0;
    padding: 0;
    background-color: rgb(233, 248, 243);
}

.yellow-btn {
    background-color: yellow;
    border: none;
    padding: 10px 20px;
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    color: green;
}

.upper-head ul {
    list-style: none;
    display: flex;
    gap: 30px;
    margin: 0;
    padding: 0;
}

.upper-head ul li a {
    text-decoration: none;
    color: white;
    font-weight: medium;
}


.lower-head {
    display: flex;
    background-color: rgb(199, 236, 211);
    gap: 70px;
    justify-content: space-around;
    align-items: center;
}


.lower-head img {
    width: 400px;
    height: 300px;
}

#Plant {
    font-size: 40px;
    font-weight: 900;
    margin: 0px;
}

#Join {
    color: grey;
    margin-bottom: 0px;
    text-align: center;
}

.text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.full-body {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.about {
    display: flex;
    gap: 50px;
    align-items: center;
    margin-top: 50px;
    flex-direction: column;
    width: 1000px;
}

.about-img {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.impact-section {
    background-color: rgb(199, 236, 211);
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    height: 400px;
    margin-top: 70px;
}

.impact {
    width: 450px;
    height: 120px;
    border-radius: 10px;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.impact-cards {
    display: flex;
    justify-content: space-around;
    gap: 80px;
}

.ending {
    background-color: rgb(27, 119, 27);
    color: white;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
    width: 500px;
    background-color: rgb(33, 141, 33);
    padding: 40px;
    border-radius: 10px;
}

.form input, .form select {
    padding: 10px;
    border-radius: 5px;
    border: none;
    font-size: 16px;
}

.form button {
    background-color: yellow;
    border: none;
    padding: 10px;
    border-radius: 5px;
    cursor: pointer;
    font-weight: bold;
    color: green;
    font-size: 16px;
}

footer {
    background-color: rgb(1, 66, 1);
    height: 50px;
    display: flex;
    justify-content: center;
}

.c {
    padding-top: 0.5px;
    padding-bottom: 3px;
    padding-right: 4px;
    padding-left: 4px;
    border: 1px solid white;
    border-radius: 50%;
}


.dynamic-section {
   display: flex;
   justify-content: space-around;
   gap: 20px;
   height: 1024px;
}

.btn {
    width: 100%;
    background-color: rgb(233, 248, 243);
    border: none;
}
.btn:hover {
    background-color: rgb(199, 236, 211);
    cursor: pointer;
}

.btn {
    text-align: left;
    height: 30px;
    width: 250px;
}

#custom-alert {
  display: none;              
  position: fixed;
  top: 0px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 9999;
  width: 340px;
  border-radius: 10px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.2);
  overflow: hidden;
}

#alert-message {
  color: #fff;
  padding: 14px;
  font-size: 15px;
}

#cart-items li {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px;
  list-style: none;
  background-color: rgb(199, 236, 211);
  border-radius: 20px;
  margin-bottom: 8px;
}

#cart-items li img.remove {
  width: 20px;
  height: 20px;
  cursor: pointer;
  opacity: 0.9;
}

@media (max-width: 668px) {
    .upper-head{
        flex-direction: column;
        height: auto;
        gap: 10px;
    }
    .lower-head {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }
    .dynamic-section {
        flex-direction: column;
        height: auto;
        align-items: center;
        justify-content: center;
    }
    .prime-btn {
        width: 50px;
    }
    #grids {
        grid-template-columns: repeat(1, 1fr) !important;
        height: 500px !important;
        overflow-y: scroll;
        width: 100% !important;
    }
    .impact-cards {
        flex-direction: column;
        height: auto;
        gap: 20px;
    }
    .impact-section {
        width: 100% !important;
        height: 600px !important;
    }
    .ending {
        margin-top: 20% !important;
    }
    .about {
        width: 90% !important;
    }
    .about-img {
        flex-direction: column !important;
        height: auto !important;
    }
}