body{
    scroll-behavior: smooth;
    font-family: "Albert Sans", sans-serif;
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-track {
  background: #001819;
  border-radius: 0;
}

body::-webkit-scrollbar-thumb {
  background-color: #79b900;
  border-radius: 0;
}

body::-webkit-scrollbar-thumb:hover {
  background-color: #79b900;
  cursor: pointer;
}



.container-max-width{
    max-width: 1920px;
    margin: auto;
}


.service{
    padding: 80px 0;
    background-image: url(../images/service-bg.jpg);
}

.service1{
    width: 70%;
    max-width: 1300px;
    margin: auto;
}

.service1-up-h3{
    display: flex;
    align-items: center;
    gap: 5px;
    margin-bottom: 18px;
}

.service1-up-h3 h3{
    font-size: 14px;
    color: #79b900;
    font-weight: 500;
}

.service1-up-h1{
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 36px;
    border-bottom: 1px solid rgb(222, 228, 218);
}

.service1-up-h1 h1{
    font-size: 44px;
    color: #001819;
}

.prev, .next{
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background-color: #79b900;
    border: none;
    color: white;
}

.next{
    color: #79b900;
    background-color: #f1f8e6;
}

.service-boxs{
    margin-top: 50px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.service-box{
    background-color: #f5f8ed;
    padding: 24px;
    border-radius: 10px;
    position: relative;
}

.service-box-img img{
    width: 296px;
    height: 204px;
    object-fit: cover;
    border-radius: 10px;
}

.service-box-text{
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 20px 0;
}

.service-box-text button{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: white;
    border: none;
    color: #79b900;
}

.service-box-text img{
    width: 40px;
    height: 40px;
    object-fit: cover;
}

.service-box-text button i {
    transform: rotate(315deg);
}

.service-box h2{
    font-size: 22px;
    color: #001819;
    padding-bottom: 10px;
    font-weight: 600;
    position: relative;
}

.service-box h2::after{
    content: "";
    width: 35px;
    height: 2px;
    background-color: #79b900;
    position: absolute;
    left: 0;
    bottom: 0;
}

.service-box p{
    color: #868681;
    font-size: 13px;
    line-height: 22px;
    margin-top: 18px;
}

.flower{
    position: absolute;
    right: 0;
    bottom: 0;
}

.flower img{
    width: 40px;
    opacity: 0;
    transform: translate(50px, 50px) rotate(0deg);
    transition: all 0.5s ease-in-out;
}

.service-box:hover .flower img{
    opacity: 1;
    transform: translate(0, 0) rotate(90deg);
}

.service-box:hover .flower img{
    opacity: 1;
}

.service-box{
    transition: all 0.3s ease-in-out;
}

.service-box:hover{
    background-color: #001819;
    transition: all 0.3s ease-in-out;
    cursor: pointer;
    transform: scale(1.05);
}

.service-box:hover h2{
    color: #fff;
    transition: all 0.3s ease-in-out;
}

.service-box:hover .service-box-text button{
    background-color: #79b900;
    transition: all 0.3s ease-in-out;
    color: white;
}

.service-box{
    width: 31%;
}


.service-box-img img {
    width: 100%;
    height: 229px;
    object-fit: cover;
    border-radius: 10px;
}


@media screen and (max-width:768px) {

    .service{
        width: 100%;
    }
    

    .service1{
        width: 90%;
        margin: auto;
        display: flex;
        flex-direction: column;
    }

    .flower img {
    width: 40px;
    opacity: 0;
    transform: translate(5px, 5px) rotate(0deg);
    transition: all 0.5s ease-in-out;
}


    .service1-up-h1{
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }

    .service1-up-h1-text p{
        font-size: 13px;
    }

    .service-boxs{
        display: flex;
        flex-direction: column;
    }



    .service-box{
        width: 100%;
    }

}