@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;300;400;500;600&display=swap');


html{
    font-size: 12px;
    overflow-x: hidden;
    scroll-padding-top: 5rem;
    scroll-behavior: smooth;
}

html::-webkit-scrollbar{
    width:1rem;
}

html::-webkit-scrollbar-track{
    background:transparent;
}

html::-webkit-scrollbar-thumb{
    background:var(--black-text);
}

:root{
    --green:#27ae60;
    --dark-green:#219b54;
    /* --dark-green:#219150; */
    --black-text:#595959;
    --light-text:#7c7c7c;
    --grey-color: #eee;
    --light-grey-color: #f7f7f7;
    /* --light-grey-color: #f0f0f0; */
    --border:.1rem solid rgba(0,0,0,.15);
    --border-hover: .08rem solid rgba(0, 0, 0, 0.3);
    --box-shadow:0 .5rem 1rem rgba(0,0,0,.1);
    --border-radius: 5px;
    --round-radius: 3rem;
    --section-padding: 2rem;    /*top-bottom | left-right |||| top right bottom left ----- Min: 1rem, Preferred: 5vw (responsive), Max: 3rem */
}

*{
    font-family: 'Poppins', sans-serif;
    margin:0; padding:0;
    box-sizing: border-box;
    outline: none; border:none;
    text-decoration: none;
    transition:all .2s linear;
    transition:width none;
}

h1, h2,h3, h4{
    text-transform: capitalize;
}

header:not(.header){
    margin-bottom: 2rem;
}

/* ------------------------ Basic Components ------------------------ */

button, a {
    -webkit-tap-highlight-color: transparent;
}

label {
    -webkit-tap-highlight-color: transparent;
}

label:focus,
label:active {
    outline: none;
    background: none;
}

section{
    padding: 0 var(--section-padding);
}



.heading {
    text-align: center;
    margin-top: 3rem;
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.heading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    height: .1rem;
    background: rgba(0, 0, 0, .15);
    z-index: 0;
}

.heading span {
    font-size: 1.5rem;
    padding: .5rem 2rem;
    color: var(--black-text);
    background: #fff;
    border: var(--border);
    border-radius: var(--border-radius);
    z-index: 1;
    position: relative;
    display: inline-block;
}

.btn{
    width: max-content;
    margin-top: 1rem;
    display:inline-block;
    padding:.9rem 1.25rem;
    border-radius: var(--border-radius);
    color:#fff;
    background:var(--green);
    font-size: 1.4rem;
    cursor: pointer;
    font-weight: 500;
}

.btn:hover{
    background:var(--dark-green);
}



.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}
.stars {
    display: flex;
    gap: 0.2rem;
    color: #f5b51e;
    font-size: 0.8rem;
}

.stars i {
    font-size: 0.75rem;
}
.stars .fa-star,
.stars .fas.fa-star {
    color: #f5b51e;
}

.stars .far.fa-star {
    color: #ddd;
}

.review-count {
    font-size: 0.75rem;
    color: #888;
    font-weight: 400;
}

.pricing {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.pricing .original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 0.8rem;
    font-weight: 400;
}

.pricing .sale-price {
    color: #2e7d32;
    font-size: 1rem;
    font-weight: 700;
}

.swiper-button-next,
.swiper-button-prev{
    height:4rem;
    width:4rem;
    color: #fff;
    background: #27ae60;
    text-shadow: 0px 2px 5px rgba(0,0,0,0.5);
}

.swiper-button-next::after,
.swiper-button-prev::after{
    font-size: 2rem;
}

.swiper-button-next:hover,
.swiper-button-prev:hover{
    background: orange;
    border: 0;
    outline: 0;
    color:#000000;
    opacity: .5;
}

.hero-slider .swiper-slide picture,
.hero-slider .swiper-slide img {
    width: 100%;
    display: block;
}


.features-grid{
    margin-bottom: 2rem;
}


/* ------------------------ Swiper Sliders ------------------------ */

@media (max-width:768px){

    html{
        scroll-padding-top: 0;
    }

    body{
        padding-bottom: 6rem;
    }

    .swiper-button-next,
    .swiper-button-prev{
        border:var(--border-hover);
        height:4rem;
        width:4rem;
        border-radius: 50%;
        color: #fff;
        background: #27ae60;
        text-shadow: 0px 2px 5px rgba(0,0,0,0.5);
        border: 0;
    }

    .swiper-button-next
    {
        right: 0;
        translate: 50%;
    }

    .swiper-button-prev
    {
        left: 0;
        translate: -50%;
    }

    .swiper-button-next::after,
    .swiper-button-prev::after{
        font-size: 1.25rem;
        font-weight: 800;
        color: #fff;
    }

    .swiper-button-next::after {
        translate: -120%;
    }

    .swiper-button-prev::after{
        translate: 120%;
    }

    .swiper-button-next:hover::after,
    .swiper-button-prev:hover::after{
        color:#000;
    }




}

@media (max-width: 600px) {
    :root{
        --section-padding: 1.5rem;
    }
    .pricing .sale-price {
        font-size: 0.85rem;
    }
}
