@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

*{
    font-family: "Poppins", sans-serif; 
    padding: 0;
    margin: 0;
    box-sizing: border-box; 
    list-style: none;
    text-decoration: none;
    scroll-padding-top: 2rem;
    scroll-behavior: smooth;
}
:root { 
    --green-color: #3cb815;
    --light-green-color: #c0eb7b;
    --light-orange-color: #ff7e00;
    --text-color: #1a2428;
    --bg-color: #fff;
}
::-webkit-scrollbar{
    width: 0.5rem;
    background-color: var(--light-green-color);
    border-radius: 5rem;
}
::-webkit-scrollbar-thumb{
    width: 0.5rem;
    background-color: var(--green-color);
}
section{
    padding: 4.5rem 0 1.5rem;
}
img { 
    width: 100%;
}
body{
    color: var(--text-color);
}
header{
    position: fixed;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: var(--bg-color);
    box-shadow: 0 8px 11px rgb(14 55 54 / 15%);
    padding: 20px 100px;
    transition: 0.5s;
}
.profile{
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
    cursor: pointer;

}
.profile img{
    width: 40px;
    height: 40px;
    object-fit: cover;
    object-position: center;
    border-radius: 50%;
}
.logo{
    width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}
.profile span{
    font-size: 13px;
    font-weight: 500;
}
.navbar{
    display: flex;
    column-gap: 0.5rem;
}
.navbar a{
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    padding: 0.5rem 1rem;

}
.navbar a:hover, .navbar .home-active{
    background-color: var(--green-color);
    border-radius: 5rem;
    color: var(--bg-color);
    transition: background 0.5s;
}
#menu-icon{
    font-size: 24px;
    cursor: pointer;
    z-index: 10001;
    display: none;
} 
.container {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 20px; 
}

.container img {
    max-width: 370px; 
    width: 100%; 
    height: auto; 
    object-fit: contain;
    width: 100px; 
    height: 100px;
    
    
}
.home-text{
    padding: 0 150px;
    margin-top: 300px;
}
.home-text span{
    font-weight: 400;
    text-transform: uppercase;
    color: var(--green-color);
    font-size: 40px;

}
.home-text h1{
    font-size: 17px;
    font-weight: 500;
    margin-bottom: 1rem;
}
.btn{
    padding: 0.6rem 1rem;
    background-color: var(--green-color);
    color: var(--bg-color);
    font-weight: 400;
    border-radius: 5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    column-gap: 0.5rem;
    max-width: 160px;

}
.btn:hover{
    background-color: var(--light-orange-color);
    transition: 0.2s ease;
}
.img{
    position: relative;
    float: right;
    width: 500px;
    top: -250px;
    right: 100px;
    
}
.heading{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.heading h1{
    font-size: 1.6rem;
    font-weight: 600;
}
.heading span{
    color: var(--green-color);

}
.catagories{
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;
   
}
.catagories-continer{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px,auto));
    gap: 1rem;
    margin-top: 2rem;
    

}
.catagories-continer .box{
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    border-radius: 0.5rem;

}
.catagories-continer .box img{
    width: 100%;
    height: 100px;
    object-fit: contain;
    object-position: center;
}
.catagories-continer .box h2{
    font-size: 1rem;
    font:600;

}
.catagories-continer .box span{
    font-size: 0.8rem;
    font:400;
    margin-bottom: 1rem;
    
}
.catagories-continer .box .bx{
    padding: 10px;
    background-color: var(--green-color);
    color: var(--bg-color);
    border-radius: 5rem;
    margin-top: 2rem;
    position: absolute;
    bottom: -8%;
    display: none;

}
.catagories-continer .box .bx:hover{
    background-color: var(--light-orange-color);
    transition: 0.2s all linear;

}
.catagories-continer .box:hover .bx{
    display: block;
    transition: 0.2s all linear;
}
.box1{
    background-color: #fef4ea;
}
.box2{
    background-color: #e9f4e3;
}
.box3{
    background-color: #faeaea;
}
.box4{
    background-color: #eeeef9;
}
.box5{
    background-color: #f7f6d7;
}
.products{
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;


}
.products-contentiner{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px,auto));
    gap: 1.5rem;
    margin-top: 2rem;

}
.products-contentiner .box{
    padding: 20px;
    box-shadow: 1px 2px 11px 4px rgb(14 55 54 / 15%);
    border-radius: 0.5rem;
    position: relative;
}
.products-contentiner .box img{
    width: 100%;
    height: 200px;
    object-fit: contain;
    object-position: center;

}
.products-contentiner .box span{
    font-size: 13px;
    font-weight: 500;
}
.products-contentiner .box h2{
    font-size: 1.2rem;
    font-weight: 600;
   

}
.products-contentiner .box .price{
    font-size: 1rem;
    font-weight: 600;
    margin-top: 0.5rem;
    color: var(--light-orange-color);

}
.products-contentiner .box .price span{
    color: var(--text-color);
}
.products-contentiner .box .bx-cart-alt{
    position: absolute;
    right: 0;
    bottom: 0;
    padding: 10px;
    background: var(--green-color);
    font-size: 20px;
    border-radius: 0.5rem 0 0.5rem 0;
    color: var(--bg-color);


}
.products-contentiner .box .bx-cart-alt:hover{
    background: var(--light-orange-color);
    transition: 0.2s all linear;
}
.products-contentiner .box .bx-heart{
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 20px;
    color: var(--light-orange-color);
}
.products-contentiner .box .discount{
    position: absolute;
    top: 1rem;
    left: 0;
    background: var(--light-orange-color);
    color: var(--bg-color);
    padding: 4px 18px;
    clip-path: polygon(100% 0%, 75% 50%, 100% 100%, 0 100%, 0% 50%, 0 0);
}
.about{
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(21rem,auto));
    align-items: center;
    gap: 1.5rem;

}
.about-text span{
    font-weight: 600;
    text-transform: uppercase;
    color: var(--green-color);

}
.about img{
    height: 400px;
    border-radius: 30px;
}
.about-text p{
    margin: 0.5rem 0 1rem;

}
.customers{
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;

}
.customers h2{
    text-align: center;
    font-size: 1.6rem;
    font-weight: 600;
}
.customers-continer{
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px,auto));
    gap: 1.5rem;
    margin-top: 2rem;

}
.customers-continer .box{
    padding: 20px;
    box-shadow: 1px 2px 11px 4px rgb(14 55 54 / 15%);
    border-radius: 0.5rem;
    border-bottom: 7px solid var(--green-color);
}
.customers-continer .box:hover{
    transform: translateY(10px);
    transition: 0.2s all linear;

}
.customers-continer .box .bx{
    font-size: 24px;
    color: var(--green-color);
}
.customers-continer .box .stars .bx{
    font-size: 1rem;
    color: var(--light-orange-color);
}
.customers-continer .box p{
    font-size: 0.938rem;

}
.review-profile{
    display: flex;
    align-items: center;
    margin-top: 1rem;
    column-gap: 0.5rem;
}
.review-profile img{
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;


}
.review-profile h3{
    font-size: 1rem;
    font-weight: 600;
}
.footer{
    max-width: 968px;
    margin-left: auto;
    margin-right: auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px,auto));
    gap: 1.5rem;
    margin-top: 2rem;
    background: #fef4ea;
    border-radius: 0.5rem;
    padding: 20px;


}
button{
    padding: 5px;
    border-radius: 5rem;
    font-size: 12px;
    color: var(--text-color);
    

}
.footer-box{
    display: flex;
    flex-direction: column;

}
.footer-box p{
    font-size: 13px;
    margin: 0.3rem 0 0.3rem;

}
.social{
    display: flex;
    align-items: center;
    column-gap: 0.5rem;

}
.social .bx{
    padding: 10px;
    background: var(--bg-color);
    color: var(--green-color);
    border-radius: 5rem;
    font-size: 20px;
}
.social .bx:hover{
    background: var(--green-color);
    color: var(--bg-color);
    transition: 0.2s all linear;

}
.footer-box h2{
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;

}
.footer-box a{
    color: #868a92;
    margin-bottom: 1rem;

}
.footer-box a:hover{
    color: var(--light-orange-color);

}
.footer-box form{
    border-bottom: 1px solid var(--text-color);
    padding: 10px;
    display: flex;
    align-items: center;
    column-gap: 0.5rem;
}
.footer-box form input{
    background: transparent;
    border: none;
    outline: none;
    width: 130px;
}
.footer-box form .bx{
    font-size: 20px;
    color: var(--light-orange-color);
    cursor: pointer;
}
.footer-box form .bxs-envelope{
    color: var(--green-color);
}


/*  ----making responsive----    */
@media (max-width:1080px){
    header{
        padding: 18px 60px;
    }
    .home-text{
        padding: 0 100px;
    }
    .continer img{
        right: 100px;
        
    }
}


@media (max-width:991px){
    header{
        padding: 18px 4%;
    }
    section{
        padding: 50px 4%;
    }
    .home-text h1{
        font-size: 12px;

    }
    .home-text{
        padding: 0 5%;
    }
    .swiper-button-prev,
    .swiper-button-next{
        margin: 0;
    }

}
@media (max-width:852px){
    header{
        padding: 12px 4%;
    }
    #menu-icon{
        display: initial;
    }
    .navbar{
        position: absolute;
        top: -570px;
        left: 0;
        right: 0;
        display: flex;
        flex-direction: column;
        background: var(--bg-color);
        box-shadow: 4px 4px 0 4px rgb(14 55 54 / 15%);
        transition: 0.2s all linear;
        text-align: left;
    }
    .navbar a{
        padding: 1rem;
        margin: 1rem;
        display: block;


    }
    .navbar a:hover, .navbar .home-active{
        border-radius: 0.5rem;
        color: var(--bg-color);
        
    }
    .navbar.active{
        top: 100%;

    }
    .home-text h1{
        font-size: 15px;
    }
    .continer img{
        width: 390px;
        
    }
    .btn{
        padding: 0.6rem 1.2rem;
    }
    .products-contentiner{
        grid-template-columns: repeat(auto-fit, minmax(244px,auto));
    }

}
@media (max-width:712px){
    .continer img{
        right: 20px;
        

    }
    .heading h1{
        font-size: 1.2rem;
    }
    .about{
        grid-template-columns: repeat(auto-fit, minmax(20rem,auto));
    }
    .about img{
        order: 2;
    }
    .about-text{
        text-align: center;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .btn{
        max-width: 164px;
    }
    .customers h2{
        font-size: 1.2rem;
    }
}
@media (max-width:642px){
    .continer img{
        right: 0;
        width: 370px;
        flex-direction: row;
        float: none;
        top: 30px;
    }
    
}
@media (max-width:546px){
    .container {
        flex-direction: column; /* Stack image on top of text */
        align-items: center; /* Center items horizontally */
    }
    

    .container img {
        width: 100%; /* Make the image take full width of the container */
        max-width: 370px; /* Optional: limit max width */
        object-fit: contain; /* Ensure the image fits within the container without distortion */
        margin-top: 0; /* Reset margin if necessary */
    }

    .container .text {
        text-align: center; /* Center text below the image */
    }
    .home-text{
        margin-top: 150px;
    }
}
@media (max-width:370px){
    .logo{
        font-size: 1rem;
    }
    .profile img{
        width: 30px;
        height: 30px;
    }
    .profile span{
        font-size: 10px;

    }
    .home-text{
        padding-bottom: 17rem;
    }
    

}