*{
    margin:0;
    padding:0;
    box-sizing: border-box;
}
body{
    background: linear-gradient(
        180deg,
        #e5f4e8 0%,
        #d7eae1 50%,
        #ddede1 100%
    );
}

.login{
    display:flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    background-color: #e9f5ec;
}
.center{
    background-color: rgb(122, 118, 118);
    width:90%;
    max-width: 520px;
    padding: 30px;
    color:rgb(5, 5, 5);
    border-radius :25px;
    background: linear-gradient(135deg, #1aa348, #3f8f70);
    justify-content: center;
}
.but{
    width: 100%;
    height: 45px;
    border-radius: 25px;
    border: none;
    margin-top: 15px;
    font-size: 16px;
    cursor: pointer;
    box-shadow: 2px 2px;
}

.but:hover{
    background-color: rgb(74, 154, 102);
    color:antiquewhite;
}
.in1{
    width: 100%;
    height: 45px;
    border-radius: 25px;
    border: none;
    padding-left: 15px;
    margin-top: 8px;

}
form{
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* index.html*/
.top{
    background:linear-gradient(135deg, #1aa348, #3f8f70);
    color:white;
    padding:15px 20px;
    width: 100%;

    flex-wrap: wrap;  
    display: flex;
    justify-content: space-between;
    align-items: center;

}
.top h1{
    display:inline-block;
    font-size: 24px;
}

.top ul{
    display: flex;
    gap: 30px;
    list-style:none;
}

.top ul li{
    margin-right:40px;
     font-size: 16px;
}

li{
    color:white;  
}
li:hover{
    color:black;
    text-decoration-style:none;
}
a{
    text-decoration: none;
}


@media (max-width: 768px){

    .top{
        flex-direction: column;
        text-align: center;
    }

    .top ul{
        margin-top: 10px;
        flex-direction: column;
        gap: 10px;
    }
}

#search{
    margin-top:30px;
    width: 80%;
    padding:20px;
    border-radius:40px;
    justify-content: center;
    border-color: rgba(52, 52, 52, 0.827);
    border-style:solid ;
    box-shadow:0px 1px 1px 0px;
}
#s{
    text-align:center ;
}
img{
    width:200px;
    height:200px;
}
#product{
    text-align:center;
}
.seed{
    display: inline-block;
    height:300px;
    color:rgb(0, 0, 0);
    width:205px;
    margin-top:40px;
    border-width:3px;
    border-color:green;
    border-style:solid;
    margin-left:50px;
    margin-right:50px;
    border-radius: 10px;
    box-shadow:4px 6px 3px 2px;
    background-color: #aae9aa;
}

.seed img{
    border-radius:5px;
}
.button{
    width:90%;
    height:33px;
    border-radius:20px;
}
.plant{
    display:inline-block;
    height:300px;
    width:205px;
    margin-top:40px;
    border-width:3px;
    border-color:green;
    border-style:solid;
    margin-left:50px;
    margin-right:50px;
    background-color: #aae9aa;
    border-radius: 10px;
    box-shadow:4px 6px 3px 2px;
    color:black
}
.button:hover{
    background-color:rgb(10, 10, 10);
    color:antiquewhite;
}

.about{
    width: 100%;
    margin: 40px auto;   /* centers the section */
    padding: 30px 40px;
    background: linear-gradient(135deg, #1aa348, #3f8f70);
    color: antiquewhite;
    text-align: center;  /* THIS centers heading */
}
.about p{
    margin-top: 15px;
    font-size: 16px;
    line-height: 1.6;   /* better reading */
}
.about h1{
    margin-bottom: 10px;
}



.footer{
    margin-top: 30px;
    background: linear-gradient(135deg, #1aa348, #3f8f70);
    color: antiquewhite;
    padding: 30px 10px;
    text-align: center;
}

.footer-content h3{
    margin-bottom: 10px;
}

.footer-content p{
    margin: 5px 0;
    font-size: 14px;
}

.footer-bottom{
    margin-top: 15px;
    border-top: 1px solid rgba(255,255,255,0.4);
    padding-top: 10px;
    font-size: 13px;
}


/*plant html*/
.type{
    background:linear-gradient(135deg, #1aa348, #3f8f70);
    color: antiquewhite;
    margin-top:40px;
    height:80px;
    padding:20px;
}


/* CART PAGE */

.cart-container{
    width: 90%;
    max-width: 900px;
    margin: 40px auto;
    background-color: #f4fff4;
    padding: 30px;
    border-radius: 15px;
}

.cart-container h2{
    text-align: center;
    margin-bottom: 30px;
}

.cart-item{
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border-bottom: 2px solid #cde5cd;
}

.cart-item img{
    width: 120px;
    height: 120px;
    border-radius: 10px;
}

.cart-details{
    flex: 1;
}

.item-name{
    font-size: 18px;
    font-weight: bold;
}

.item-price{
    margin: 8px 0;
}

.cart-details input{
    width: 60px;
    padding: 5px;
    margin-right: 10px;
}

.remove-btn{
    background-color: #d9534f;
    color: white;
    border: none;
    padding: 6px 12px;
    border-radius: 6px;
    cursor: pointer;
}

.remove-btn:hover{
    background-color: #b52b27;
}

/* SUMMARY */
.cart-summary{
    margin-top: 30px;
    text-align: right;
}

.checkout-btn{
    margin-top: 10px;
    padding: 12px 25px;
    background: linear-gradient(135deg, #1aa348, #3f8f70);
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    cursor: pointer;
}

.checkout-btn:hover{
    background-color: #0f6b4f;
}


.qty-box{
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 8px 0;
}

.qty-box button{
    width: 30px;
    height: 30px;
    border: none;
    background-color: #1aa348;
    color: white;
    font-size: 18px;
    border-radius: 50%;
    cursor: pointer;
}

.qty-box span{
    font-size: 16px;
    font-weight: bold;
}

/*sucess page*/
.success-box{
    width: 90%;
    max-width: 500px;
    margin: 100px auto;
    padding: 40px;
    text-align: center;
    background: linear-gradient(135deg, #1aa348, #3f8f70);
    color: white;
    border-radius: 20px;
}

.success-box h1{
    margin-bottom: 15px;
}

.success-box p{
    margin-bottom: 10px;
}
