:root{
    --green:#2E7D32;
}


*{
    margin: 0;
    padding: 0;
    text-decoration: none;
    text-transform: capitalize;
}

/* HeaderHeader */
header{
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #fff;
    padding: 2rem ;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 1 ;
    box-shadow: 0 .15px 2px rgba(0,0,0,1);
}

header .logo{
    font-size: 40px;
    font-weight: bolder;
    color: #2E7D32;
}

header .navbar a{
    color: #000;
    font-size: 20px ;
    padding: 0 60px;
}

header .navbar a:hover{
    color: #A8D5BA;
}

header .icon a{
    color: #000;
    font-size: 25px;
    margin-left: 60px;
}

header .icon a:hover{
    color: #A8D5BA;
}
/* Section */
section{
    padding: 2rem;
}

.heading{
    text-align: center;
    font-size: 40px ;
    color: #000;
    padding: 1rem;
    margin: 2rem 0;
    background: #A8D5BA;
}

.heading span{
    color: #335e28;
}

.btn{
        display: inline-block;
        margin-top: 10px;
        border-radius: 60%;
        background: #d9d9d9;
        padding: 15px 50px;
        cursor: pointer;
        font-size: 28px;
        color: #000;
}

.btn:hover{
    background-color: #A8D5BA;
}
.home{
    display: flex;
    align-items: center;
    min-height: 100vh;
    justify-content: center;
    background: url('/img/background.jpg') no-repeat center/cover;
}

.home .content{
    align-items: center; 
    text-align: center;
    justify-content: center;
}

.home .content h3{
    font-size: 40px;
    color: #fff;
}

/* About */
.about .row{
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
    padding: 2rem 0;
    padding-bottom: 20px;
}

.about .row .img-content{
    flex: 1;
    position: relative;

}

.about .row .img-content img{
    width: 80%;
    border-radius: 1.5rem solid #fff;
    border-radius: 5rem;
    box-shadow:0 .5rem 1rem rgba(0,0,0,1);
    object-fit: cover;
}

.about .row .img-content h3{
    position: absolute;
    top: 50%;
}
.about .row .content{
    flex: 1;
}
.about .row .content h3{
    font-size: 48px ;
}
.about .row .content p{
    margin-bottom: 50px;
    margin-top: 10px;
    font-size: 32px;
    color: #000;
    padding: 10px 0;
    padding-top: 10px;
    line-height: 1.5;
}

/* Products */
.product .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.product .box-container .box{
    flex: 2;
    box-shadow: 0 0.5rem 1.5rem rgba(0,0,0,1);
    border-radius: 0.5rem;
    border: 1rem solid rgba(0,0,0,1);
    position: relative;
}

.product .box-container .box .discount{
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 20p 20px;
    font-size: 20px;
    color: #1D541D;
    background-color:#A3d7a9;
    z-index: 1;

}

.product .box-container .box .image{
    position: relative;
    text-align: center;
    padding-top: 20px;
    overflow:hidden;
}

.product .box-container .box .image img{
    height: 27rem;
}

.product .box-container .box:hover .image img:hover{
    transform: scale(1,0.9);
}

/* Icons */

.heart-icon{
    text-align: center; /* Align heart icon to the right */
    font-size: 24px; /* Adjust size as needed */
    display: flex; /* Use flexbox for alignment */
    justify-content: center; /* Center items */
    align-items: center; /* Align vertically */
    margin-top: 20px; 
}
.heart-icon:hover i{
    background-color: #FF0000;
    font-size: 20px;
    border-radius: 50%;

}
.ratting i{
    
    color:#f0d20e;
    font-size: 20px;
}

/* Contact Us */
.contact .row{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}

.contact .row form{
    flex: 1;
    padding: 2rem 2.5rem;
    box-shadow: 0 .5rem 1.5rem rgba(0,0,0,1);
    border: 1rem solid rgba(0,0,0,1);
    background: #fff;
    border-radius: 0.5rem;
}

.contact .row .image{
    flex: 1;
}

.contact .row .image img{
    width: 100%;
}

.contact .row form .box{
    padding: 5px;
    font-size: 24px;
    color: #000;
    text-transform: none;
    border: 0.1rem solid rgba(0,0,0,1);
    border-radius: 0.5rem;
    margin: 0.7rem 0;
    width: 100%;
}

.contact .row form .box:focus{
    border-color: #2E7D32;
}
.contact .row form textarea{
    height: 15rem;
    resize: none;
}


/* Contact */
.first-info h1{
    padding: 10px 1px;
    color: #2E7D32;
    font-size: 46px;
}
.first-info p{
    padding: 10px 10px;
}
.first-info i{
    padding: 10px 10px;
}
.footer{
    background-color: #A8D5BA;
}
.contact-info{
    display: flex;
    justify-content: space-around;
    max-width: 1200px;
    margin: 10px 20px;
    flex: 1;
    padding: 0 20px;
    margin-bottom: 10px;
}
.contact-info h4{
    padding: 10px 1px;
    color: #2E7D32;
    font-size: 24px;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.contact-info p{
    color: #335e28;
    font-size: 20px;
    font-weight: 400;
    text-transform: capitalize;
    line-height: 1.2;
    margin-bottom: 5px;
    cursor: pointer;
    transition: all .42s;
}
.contact-info p:hover{
    color: #FF0000;
}
.social-icon i{
    color: #111;
    margin-right: 10px;
    font-size: 20px;
    transition: all .42s;
}
.social-icon i:hover{
    transform: scale(1,0.9);
}

/* Responsive Styles */
@media (max-width: 768px) {
    header .navbar a {
        padding: 0 30px; /* Reduce padding for nav links */
    }

    .about .row {
        flex-direction: column; /* Stack items vertically */
        align-items: center; /* Center items */
    }

    .product .box-container .box {
        flex: 1 1 calc(50% - 1rem); /* Two items per row */
    }

    .contact .row {
        flex-direction: column; /* Stack items vertically */
    }
}

@media (max-width: 440px) {
    header {
        flex-direction: column; /* Stack header elements vertically */
        align-items: flex-start; /* Align items to the start */
    }
    header .navbar a {
        font-size: 13px; /* Smaller font size for mobile */
        padding: 0 10px; /* Reduce padding */
    }
    .about .row {
        flex-direction: column; /* Stack items vertically */
    }

    .heading {
        font-size: 24px; /* Decrease heading size */
    }

    .product .box-container .box {
        flex: 1 1 calc(50% - 1rem) ;
    }

    .contact .row form {
        padding: 1rem; /* Reduce padding for forms */
    }

    .contact .row .image img {
        width: 100%; /* Ensure images are responsive */
    }
     
    .contact .row {
        flex-direction: column; /* Stack items vertically */
    }
}

