@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,300;0,400;0,500;0,600;1,100;1,300&display=swap");

*{
    font-family: 'Poppins', sans-serif;
    margin: 0; padding: 0;
    box-sizing: border-box;
    outline: none; border: none;
    text-decoration: none;
    text-transform: capitalize;
    transition: .2s linear;
}

html{
    font-size: 62.5%;
    scroll-behavior: smooth;
    scroll-padding-top: 7rem;
    overflow-x: hidden;
}

html::-webkit-scrollbar{
    width: 1rem;
}

html::-webkit-scrollbar-track{
    background: #fff;
}

html::-webkit-scrollbar-thumb{
    background: orange;
    border-radius: .5rem;
}

section{
    padding: 2rem 9%;
}

.heading{
    font-size: 3.5rem;
    color: orange;
    padding-bottom: 2rem;
    text-align: center;
}

.heading span{
    color: orange;
}

.btn{
    display: flex;
    gap: .7rem;
    align-items: center;
    margin-top: 1rem;
    padding: .9rem 3rem;
    border-radius: .5rem;
    background: black;
    color: #fff;
    font-size: 1.7rem;
    cursor: pointer;
}

.btn:hover{
    background: orange;
}


.header{
    width: 96%;
    position: fixed;
    top: 1.5rem; left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 5rem;
    background: #fff;
}

.header-active{
    top: 0;
    width: 100%;
}

.header .logo{
    font-size: 2.5rem;
    font-weight: bolder;
    color: black;
}

.header .logo i{
    color: orange;
}

.header .navbar a{
    font-size: 1.7rem;
    color: black;
    margin: 0 1rem;
}

.header .navbar a:hover{
    color: orange;
}

.header .icons div,
.header .icons a{
    font-size: 2.5rem;
    margin-left: 2rem;
    color: black; /* Adjusted font color for visibility */
    cursor: pointer;
}

.header .icons div:hover,
.header .icons a:hover{
    color: orange;
}

.header .search-form{
    position: absolute;
    top: 115%; right: -105%;
    width: 50rem;
    height: 5.5rem;
    background: #fff;
    border-radius: .5rem;
    display: flex;
    align-items: center;
    overflow: hidden;
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
    border: .1rem solid rgba(0,0,0,0.3);
}

.header .search-form.active{
    right: 2rem;
    transition: .4s linear;
}

.header .search-form input{
    width: 100%;
    height: 100%;
    font-size: 1.6rem;
    text-transform: none;
    color: orange;
    padding: 0 1.2rem;
}

.header .search-form label{
    font-size: 2.2rem;
    color: #fff;
    cursor: pointer;
    -webkit-text-stroke: .1rem black;
    margin-right: 1.7rem;
}

.header .search-form label:hover{
    -webkit-text-stroke: .1rem orange;
}

#menu-btn{
    display: none;
}

/* home */

@keyframes fadeOut{
    0%{
        transform: scale(0.5);
        opacity: 0;
    }
}

@keyframes fadeLeft{
    0%{
        transform: translateX(-5rem);
        opacity: 0;
    }
}

.home{
    position: relative;
}

.home .slides-container .slide{
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 1.5rem;
    padding: 5rem 0;
    display: none;
}

.home .slides-container .slide.active{
    display: flex;
}

.home .slides-container .slide .content{
    flex: 1 1 40rem;
    animation: fadeLeft .4s linear .4s backwards;
}

.home .slides-container .slide .content span{
    font-size: 2rem;
    color: #666;
}

.home .slides-container .slide .content h3{
    font-size: 6rem;
    color: orange;
    padding-top: .5rem;
}

.home .slides-container .slide .content p{
    font-size: 1.5rem;
    color: #666;
    padding: .5rem 0;
    line-height: 2;
}

.home .slides-container .slide .content .btn span{
    color: #fff;
}

.home .slides-container .slide .image{
    flex: 1 1 30rem;
    padding: 3rem 0;
}

.home .slides-container .slide .image img{
    width: 100%;
    animation: fadeOut .4s linear;
}


/* end */

/* product */

.products .box-container{
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    justify-content: center;
}

.products .box-container .box{
    position: relative;
    background: #f9f9f9;
    overflow: hidden;
    border-radius: 1rem;
    border: .1rem solid rgba(0,0,0,0.3);
    box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.1);
}

.products .box-container .box .image{
    height: 35rem;
    width: 100%;
    overflow: hidden;
}

.products .box-container .box .image img{
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.products .box-container .box:hover .image img{
    transform: scale(1.1);
}

.products .box-container .box .content{
    padding: 1.5rem 2rem;
}

.products .box-container .box .content h3{
    font-size: 2rem;
    color: black;
}

.products .box-container .box .content .price{
    font-size: 1.7rem;
    color: #666;
    padding: .5rem 0;
}

.products .box-container .box .content .stars{
    font-size: 1.7rem;
}

.products .box-container .box .content .stars i{
    color: gold;
}

.products .box-container .box .content .stars span{
    color: #666;
}

.products .box-container .box .content .btn{
    position: absolute;
    bottom: 0; right: 0;
    display: flex;
    font-size: 2rem;
    padding: 1.2rem 1.25rem;
    border-radius: 1rem 0 1rem 0;
}

/* end */



/* media query */

@media(max-width: 991px){
    html{
        font-size: 55%;
    }

    .header{
        padding: 2rem;
    }

    section{
        padding: 2rem;
    }

    .home .slides-container .slide .content{
        margin-top: 5rem;
    }

    .home #slide-next,
    .home #slide-prev{
        top: 95%;
    }

    .home #slide-prev{
        left: auto;
        right: 8rem;
    }
    .send .container .content{
        padding-top: 2rem;
    }
}

@media(max-width: 768px){

    #menu-btn{
        display: inline-block;
    }

    .header .navbar{
        position: absolute;
        top: 99%; left: 0; right: 0;
        background: #fff;
        border-top: .1rem solid rgba(0,0,0,0.3);
        border-bottom: .1rem solid rgba(0,0,0,0.3);
        clip-path: polygon(0 0, 100% 0, 100% 0, 0 0);
    }

    .header .navbar.active{
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%);
    }

    .header .navbar a{
        font-size: 2rem;
        margin: 2rem;
        display: block;
    }

    .send .container .image img{
        width: 100%;
    }

}

@media(max-width: 450px){
    html{
        font-size: 50%;
    }
}