﻿/*******************************************************/
/******************* ## Service Cards 5 *******************/
/*******************************************************/

.service-item {
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    border-radius: 10px;
    margin-bottom: 30px;
    padding: 40px 40px 20px;
    background: var(--lighter-color);
    border: 1px solid var(--border-color);
}

@media only screen and (max-width: 767px) {
    .service-item {
        margin-top: 0;
    }
}

@media only screen and (max-width: 375px) {
    .service-item {
        padding-left: 30px;
        padding-right: 30px;
    }
}

.service-item .icon {
    z-index: 1;
    line-height: 1;
    -webkit-transition: 0.5s;
    -o-transition: 0.5s;
    transition: 0.5s;
    font-size: 55px;
    position: relative;
    margin-bottom: 50px;
    color: var(--primary-color);
}

    .service-item .icon:before {
        content: '';
        width: 50px;
        height: 50px;
        z-index: -1;
        -webkit-transition: 0.5s;
        -o-transition: 0.5s;
        transition: 0.5s;
        background: var(--light-color);
        position: absolute;
        left: 15px;
        bottom: -10px;
        border-radius: 50%;
    }

.service-item:hover {
    background: var(--light-color);
    border-radius: 20px;
    -webkit-box-shadow: 0px 10px 60px rgba(208, 208, 208, 0.25);
    box-shadow: 0px 10px 60px rgba(208, 208, 208, 0.25);
}

    .service-item:hover .icon {
        color: var(--secondary-color);
    }

        .service-item:hover .icon:before {
            background: rgba(var(--secondary-rgb), 0.1);
        }

.service-item.style-two {
    background: var(--light-color);
    border-radius: 10px;
}

    .service-item.style-two .icon {
        margin-bottom: 18px;
        color: var(--secondary-color);
    }

        .service-item.style-two .icon:before {
            display: none;
        }

    .service-item.style-two .content h5 {
        margin-bottom: 0;
        letter-spacing: -1px;
    }

    .service-item.style-two .content p {
        -webkit-transition: 0.5s;
        -o-transition: 0.5s;
        transition: 0.5s;
    }

    .service-item.style-two:hover {
        background: var(--primary-color);
        border-color: var(--primary-color);
        -webkit-box-shadow: 10px 4px 40px rgba(99, 171, 69, 0.5);
        box-shadow: 10px 4px 40px rgba(99, 171, 69, 0.5);
    }

        .service-item.style-two:hover .icon,
        .service-item.style-two:hover .content p,
        .service-item.style-two:hover .content h5 a {
            color: var(--light-color);
        }

.service-item.style-three {
    border: none;
    border-radius: 10px;
    margin-bottom: 10px;
    padding: 50px 50px 30px;
    height: calc(100% - 10px);
    background: var(--heading-color);
}

@media only screen and (max-width: 479px) {
    .service-item.style-three {
        padding-left: 35px;
        padding-right: 35px;
    }
}

@media only screen and (max-width: 375px) {
    .service-item.style-three {
        padding-left: 25px;
        padding-right: 25px;
    }
}

.service-item.style-three .icon,
.service-item.style-three .content p,
.service-item.style-three .content h3 a,
.service-item.style-three .content h6 a,
.service-item.style-three .icon-title h5 a {
    color: var(--light-color);
}

.service-item.style-three .icon {
    margin-bottom: 25px;
}

    .service-item.style-three .icon:before {
        display: none;
    }

@media only screen and (max-width: 1599px) {
    .service-item.style-three .content h3 {
        font-size: 25px;
    }
}

.service-item.style-three.bg-primary {
    background: var(--primary-color);
}

.service-item.style-three.bg-secondary {
    background: var(--secondary-color);
}

.service-item.style-three.bgc-pink {
    background: var(--coral-red);
}

.service-item.style-three .icon-title {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 6px;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

    .service-item.style-three .icon-title .icon {
        margin-right: 30px;
        margin-bottom: 15px;
    }

@media only screen and (max-width: 375px) {
    .service-item.style-three .icon-title .icon {
        font-size: 45px;
        margin-right: 20px;
    }
}

.service-item.style-three .icon-title h5 {
    line-height: 1.3;
    margin-top: -7px;
    margin-bottom: 15px;
}

@media only screen and (max-width: 375px) {
    .service-item.style-three .icon-title h5 {
        font-size: 20px;
    }
}

.service-content {
    max-width: 580px;
}

    .service-content .section-title {
        max-width: 500px;
    }

@media only screen and (min-width: 768px) {
    .service-box {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: center;
        -ms-flex-align: center;
        align-items: center;
    }
}

.service-box .image {
    -webkit-box-flex: 0;
    -ms-flex: none;
    flex: none;
    max-width: 50%;
    position: relative;
    overflow: hidden;
    border-radius: 20px;
}

    .service-box .image img {
        width: 270px;
        height: 270px;
        object-fit: cover;
        border-radius: 20px;
        transition: transform 0.5s ease;
        filter: brightness(0.85);
    }

    .service-box .image:hover img {
        transform: scale(1.08);
    }   

    @media only screen and (max-width: 767px) {
        .service-box .image {
        max-width: none;
        margin-left: 15px;
        margin-right: 15px;
    }
}

.service-box .content {
    margin-left: -20%;
    background: var(--light-color);
    border-radius: 20px;
    padding: 50px 55px 40px 30%;
    padding-left: calc(20% + 55px);
    border: 1px solid var(--border-color);
    -webkit-box-shadow: 0px 10px 60px rgba(208, 208, 208, 0.25);
    box-shadow: 0px 10px 60px rgba(208, 208, 208, 0.25);
}

@media only screen and (max-width: 767px) {
    .service-box .content {
        margin-left: 0;
        margin-top: -35px;
        padding: 70px 45px 30px;
    }
}

@media only screen and (max-width: 375px) {
    .service-box .content {
        padding-left: 25px;
        padding-right: 25px;
    }
}

.service-box .content h6 {
    font-size: 18px;
}

.service-authors {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
}

    .service-authors > * {
        width: 50px;
        height: 50px;
        border-radius: 50%;
        border: 2px solid var(--light-color);
    }

    .service-authors img {
        margin-right: -15px;
    }

    .service-authors > span {
        color: var(--light-color);
        line-height: 46px;
        text-align: center;
        background: var(--secondary-color);
    }
