@import url('common.css');

.hero-section{
    background-color: var(--background);
}

.feature-info{
    display: flex;
    justify-content: space-between;
    padding: 20px 2rem;
    flex-wrap: wrap;
}
.info-box{
    display: flex;
    align-items: center;
    gap: 10px;

    border-left: 1px solid #ddddde;
    padding-left: 10px;
}
.info-box:first-child{
    border: none;
}
.info-icon{
    width: 40px;
    height: 40px;
    background: red;

    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;

}
.info-icon i{
    color: white;
} 


.info-item{
    display: flex;
    flex-direction: column;
}
.info-item span:nth-child(odd){
    font-weight: 700;
    margin-bottom: 5px;
}
.info-item span:nth-child(even){
    font-size: 13px;
    color: var(--font-grey);
}
/* ---hero image section--*/

.slider-img{
    background-color: inherit;
}

.slider-img img{
    padding: 0 2rem;
    width: 100%;
    height: auto;
    object-fit: contain;
}
.slider{
    position: relative;
}
.slider-text{
    position: absolute;
    top: 25%;
    left: 65%;

    font-weight: 700;
    color: white;
    line-height: 1.2;
}
.s-text-1{
    font-size: 2.5rem;
}
.s-text-2{
    margin-top: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.s-text-2 button{
    all: unset;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
}
.s-text-2 button span:first-child{
    display: inline-block;
    height: 30px;
    width: 30px;
    border-radius: 50%;
    background-color: white;
    color: black;
    margin-right: 5px;

    display: flex;
    justify-content: center;
    align-items: center;
}



/* PRODUCT SECTION*/

.product-section{
    padding: 45px 0 30px 0;
    margin-bottom: 30px;
}

.pro-head{
    display: flex;
    justify-content: space-between;
    padding: 0 1rem 0 1.5rem;
    
}
.pro-head h1{
    font-size: 2rem;
}
.pro-slider-btn span{
    margin: 0 10px;
}

.wrapper{
    width: 100%;
}

.product-list{
    
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: calc((100% / 4));
    /* gap: 16px; */
    /*  */
    place-items: center;

    overflow: hidden;
    scroll-behavior: smooth;

}

.product-container{
    width: 260px;
    box-sizing: border-box;
    padding-inline: 15px;

    border: 1px solid var(--border);
    box-shadow: 0px 4px 8px 0 rgba(0, 0, 0, 0.2);

    margin: 20px 2rem;
}
/* .product-container:hover{
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.4);
} */

.wrapper{
    margin-bottom: 30px;
}
.product-container img{
    width: 100%;
    object-fit: contain;
}

.product-info{
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-inline: 15px;
}

.product-info .category{
    font-size: 13px;
    color:var(--font-grey)
}
.product-info .pro-name{
    font-size: 1.5rem;
    font-weight: 500;
}

.pro-price span:first-child{
    font-size: 1.2rem;
    text-decoration: line-through;
    color:var(--font-grey)
}
.pro-price span:last-child{
    font-size: 1.4rem;
    color:var(--font-pink);
    font-weight: 400

}


.add-to-cart{
    all: unset;
    cursor: pointer;
    margin-bottom: 15px;

    display: flex;
    align-items: center;
    text-transform: uppercase;
}
.add-to-cart:hover{
    background-color: var(--btn-color);
    border-radius: 50px;
    color: white;
}



.add-to-cart span:first-child{
    margin-right: 5px;
    font-size: 20px;
    height: 35px;
    width: 35px;
    background-color: var(--btn-color);
    color: white;

    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.product-container img{
    padding: 10px 0;
}

.product-container:hover img, .deal-product:hover img{
    transform: scale(1.05);
}
/* DEAL SECTION */
.deal-head{
    padding: 2rem 1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.deal-section{
    background-image: url('../assets/background1.webp');
    background-position: center center;
    background-size: auto;
}

.deal-list{
    display: flex;
    padding-bottom: 2rem;
}

.deal-product{
    background-color: white;
    box-sizing: border-box;
    display: flex;
    padding: 30px;
    margin: 0 20px;
    transition: transform 0.4s ease-in;

    box-shadow: 3px 2px 10px 5px rgba(0, 0, 0, 0.2);
}
.deal-img{
    width: 50%;
}
.deal-img img{
    width: 100%;
    height: auto;
    object-fit: contain;
}

.deal-product-info .add-to-cart span:last-child{
    padding-right: 10px;
}

/* SERVICE INFO --- FEATURE INFO 2 */
.service-info{
    margin: 2rem 0;
}
.feature-info-2 .info-box i{
    color: black;
    font-size: 25px;
}
.feature-info-2 .info-box{
    border: none;
}
.feature-info-2 .info-icon{
    width: 50px;
    height: 50px;
}
/* TIMER  */
.deal-timer{
    display: flex;
    justify-content:center;
    gap: 20px;
}
.deal-time{
    display: flex;
    box-sizing: border-box;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    padding: 5px;

    border: 1px solid var(--border);
    border-radius: 10px;
    width: 60px;
    height: 60px;
}
.deal-time span:first-child{
    font-size: 1.2rem;
    font-weight: 600;
}
.deal-time span:last-child{
    color: var(--font-grey);
}


/* DOCTOR SECTION */

.doc-section{
    display: flex;
    justify-content: space-around;
    padding: 70px 0;
    background-color: var(--background);
    flex-wrap: wrap;
}
.doc-img{
    width: 45%;
    box-sizing: border-box;
}

.doc-img img{
    width: 100%;
    object-fit: contain;
}
.doc-text{
    width: 45%;
    margin-left: 1rem;
}

.doc-text-head{
    font-size: 2rem;
}
.doc-text-list{
    margin: 1rem 0;
}
.doc-text-list li{
    list-style: none;
    padding: 10px 0;
    
    display: flex;
    align-items: center;
}
.doc-text-list li span{
    font-weight: 600;
    color: var(--font-grey);
}

.doc-text-list li span:first-child{
    margin-right: 10px;
    display: inline-block;
    color: #4bd7b8;
    border: 2px solid #4bd7b8;
    height: 30px;
    width: 30px;
    border-radius: 50%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.doc-text-2{
    margin: 2rem 0;
    color: var(--font-grey);
}
.doc-text-2 h2{
    margin: 1rem 0;
    color: #24aeb1;
}
.doc-btn{
    all: unset;
    cursor: pointer;
    display: flex;
    align-items: center;

}
.doc-btn span:first-child{
    height: 40px;
    width: 40px;
    color: white;
    font-size: 20px;
    margin-right: 10px;
    background-color: var(--btn-color);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.doc-btn span:last-child{
    text-transform: uppercase;
    font-weight: 600;
}


/* Testomonial section */
.testimonial{
    background-image: url('../assets/background-world.webp');
    padding: 20px 15px;
    height: 300px;

    display: flex;
    justify-content: space-between;
    /* align-items: center; */
    width: 100%;
    overflow-x: hidden;
}
.testimonial-btn{
    align-self: center;
    cursor: pointer;
}

.testimonial-content{
    text-align: center;
    width: 100%;
}



.testimonial-content{
    position: relative;
    transition: all 0.5s ease-in;
    scroll-behavior: smooth;
}
.review-data{
    position: absolute;
    top: 0;
   display: flex;
   flex-direction: column;
   width: 100%;
   
}

.review p{
    padding: 30px 0 50px 0;
    font-size: 1.75rem;
    font-weight: 600;
}
.review-user span:first-child{
    font-weight: 600;
    margin: 10px 0;
}




/* STICKY BUTTON */
.sticky-go-top{
    position: fixed;
    top: 90%;
    right: 5%;
    width: 40px;
    height: 40px;
    font-size: 30px;
    text-align: center;
    background-color: var(--background);
    border-radius: 50%;
    cursor: pointer;
    z-index: 99;
}
