/*==========================================================================
Consulting CSS
==========================================================================*/
.consulting__area {
    position: relative;
    z-index: 1;
    overflow: hidden;
    &-shape {
        position: absolute;
        bottom: -80px;
        right: 0;
        z-index: -1;
    }
    &-right {
        &-title {
            margin-bottom: 30px;
            h2 {
                margin-bottom: 30px;
            }
            p {
                max-width: 493px;
            }
        }
        &-list {
            span {
                display: block;
                font-weight: 500;
                font-size: 18px;
                line-height: 26px;
                font-family: var(--heading-font);
                margin-bottom: 20px;
                i {
                    color: var(--primary-color-2);
                    border: 1px solid var(--primary-color-2);
                    width: 24px;
                    height: 24px;
                    line-height: 24px;
                    font-size: 12px;
                    margin-right: 15px;
                    text-align: center;
                    border-radius: 50%;
                }
            }
        }
        .btn-six {
            margin-top: 30px;
            &::before {
                background: var(--primary-color-2);
            }
            &:hover {
                color: var(--text-white);
                border-color: var(--primary-color-2);
            }
        }
    }
}
/*==========================================================================
Work CSS
==========================================================================*/
.work__area {
    &-item {
        text-align: center;
        position: relative;
        span {
            border: 1px solid var(--border-color-1);   
            color: var(--color-13);    
            -webkit-text-fill-color: transparent;
            -webkit-text-stroke-width: 0.8px; 
            font-weight: 700;
            font-size: 48px;
            font-family: var(--heading-font);
            width: 100px;
            height: 100px;
            line-height: 100px;
            border-radius: 50%;
            display: inline-block;
            text-align: center;
            transition: 0.4s;
            position: relative;
            z-index: 1;
            margin-bottom: 20px;
            &::before {
                content: '';
                position: absolute;
                background: var(--primary-color-2);
                width: 0;
                height: 0;
                border-radius: 50%;
                margin: 0 auto;
                left: 50%;
                top: 50%;
                transform: translate(-50%, -50%);
                transition: 0.4s;
                z-index: -1;                
            }
        }
        h6 {
            margin-bottom: 10px;
        }
        p {
            max-width: 280px;
            margin: 0 auto;
        }
        &-arrow {
            position: absolute;
            top: 35px;
            right: -58px;
        }
        &:hover {
            span {
                color: var(--text-white);
                border-color: var(--primary-color-2);                
            }
            &.work__area-item span::before {
                width: 100%;
                height: 100%;
            }
        }
    }
}
/*==========================================================================
Services CSS
==========================================================================*/
.services__one {
    &-item {
        padding: 48px;
        padding-bottom: 42px;
        transition: 0.4s;
        border: 1px solid var(--border-color-1);
        position: relative;
        z-index: 1;
        overflow: hidden;
        &::before {
            position: absolute;
            content: '';
            top: -112px;
            right: -112px;
            background: var(--bg-white);
            width: 224px;
            height: 224px;
            border-radius: 50%;
            transition: 0.4s;
            opacity: 0;
        }
        &-icon {
            margin-bottom: 25px;
            position: relative;
            i {
                color: var(--primary-color-1);
                display: inline-flex;
                align-items: center;
                justify-content: center;
                width: 100px;
                height: 100px;
                font-size: 45px;
                border-radius: 50%;
                background: var(--color-5);
                transition: 0.4s;
            }
        }
        h4 {
            margin-bottom: 10px;
            transition: 0.4s;
        }
        p {
            margin-bottom: 27px;
            transition: 0.4s;
        }
        .simple-btn-2 {
            &:hover {
                text-decoration: underline;
            }
        }
        &:hover {
            background: var(--primary-color-1);
            border-color: var(--primary-color-1);
            transform: translateY(-10px);
            h4 {
                color: var(--text-white);
            }
            p {
                color: var(--color-9);
            }
            .simple-btn-2 {
                color: var(--text-white);
            }
            .services__one-item-icon-one {
                opacity: 1;
            }
            .services__one-item-icon i::before {
                animation: rotateY 0.6s;
            }
            &::before {
                opacity: 0.1;
            }
        }
    }
}
/*==========================================================================
Services Two CSS
==========================================================================*/
.services__two {
    position: relative;
    z-index: 2;
    &-item {
        position: relative;
        z-index: 1;
        background-position: center;
        background-repeat: no-repeat;
        background-size: cover;
        &::before {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            background: var(--bg-heading-color);
            opacity: 0;
            transition: 0.4s;
        }
        &-content {
            background: var(--bg-white);
            padding: 30px;
            margin: 20px;
            transition: 0.4s;
            transform: scale(0.97);
            opacity: 0;
            &-icon {
                margin-bottom: 22px;
                i {
                    color: var(--primary-color-1);
                    font-size: 70px;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                }
            }
            h4 {
                a {
                    transition: 0.4s;
                    &:hover {
                        color: var(--primary-color-2);
                    }
                }
            }
            p {
                margin-bottom: 18px;
                margin-top: 12px;
            }
            .simple-btn-2 {
                color: var(--primary-color-2);
                &:hover {
                    color: var(--text-heading-color);
                }
            }
        }
        &:hover {
            &::before {
                opacity: 0.7;
            }
            .services__two-item-content {
                opacity: 1;
                transform: scale(1);
            }
        }
    }  
}
/*==========================================================================
Services Three CSS
==========================================================================*/
.services__three {
    &-title {
        text-align: center;
        h2 {
            color: var(--text-white);
        }
    }
    &-item {
        position: relative;
        overflow: hidden;
        > img {
            width: 100%;
            height: 100% !important;
            object-fit: cover;
        }
        &-content {
            position: absolute;
            bottom: 0;
            left: 0;
            padding: 40px;
            margin-right: 30px;
            background: var(--bg-white);
            z-index: 1;
            &-icon {
                i {
                    background: var(--primary-color-3);
                    width: 80px;
                    height: 80px;
                    display: inline-flex;
                    justify-content: center;
                    align-items: center;
                    border-radius: 6px;
                    border: 4px solid var(--border-white);
                    color: var(--text-white);
                    font-size: 50px;
                }
            }
            h4 {
                margin-bottom: 5px;
                a {
                    transition: 0.4s;
                    &:hover {
                        color: var(--primary-color-3);
                    }
                }
            }
            > a {
                font-weight: 700;
                color: var(--text-heading-color);
                font-family: var(--heading-font);
                transition: 0.4s;
                i {
                    margin-left: 8px;
                    font-size: 13px;
                }
            }
        }
        &:hover {
            img {
                filter: grayscale(0%);
            }
            .services__three-item-content-icon img {
                animation: rotateY 0.7s;
            }
        }
    }
}
/*==========================================================================
* Services Four CSS
==========================================================================*/
.services__four {
    &-item {
        background: #f5f5f5;
        padding: 55px 40px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        position: relative;
        z-index: 1;
        overflow: hidden;
        &:before {
            content: "";
            background: var(--bg-heading-color);
            height: 100%;
            width: 0%;
            position: absolute;
            top: 0;
            left: 0;
            z-index: -1;
            transition: 0.5s;
        }        
        &-left {
            display: flex;
            align-items: center;
            gap: 40px;
            &-icon {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                transition: 0.4s;
                i {
                    font-size: 80px;
                    color: var(--primary-color-1);
                    transition: 0.3s;
                }
                svg {
                    max-width: 80px;
                    transition: 0.3s;
                    height: auto;
                }
            }
            h3 a {
                max-width: 184px;
                display: inline-block;
                transition: 0.4s;
            }
            p {
                max-width: 580px;
                margin: 0;
                padding-left: 70px;
                position: relative;
                transition: 0.4s;
                &::after {
                    position: absolute;
                    content: '';
                    left: 0;
                    top: 0;
                    background: var(--border-color-3);
                    width: 1px;
                    height: 100%;
                    transition: 1s;
                }
            } 
        }
        &-right {         
            a i {
                display: inline-flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                width: 70px;
                height: 70px;
                font-size: 20px;
                background: var(--primary-color-1);
                color: var(--text-white);
                transition: 0.4s;
                transform: rotate(-45deg);
            }
        }
        &:hover {
            .services__four-item {
                &-left {
                    h3 a {
                        color: var(--text-white);
                        &:hover {
                            color: var(--primary-color-1);
                        }
                    }
                    p {
                        color: var(--text-white);
                        &::after {
                            background: var(--border-color-1);
                        }
                    }
                }
                &-right a i {
                    transform: rotate(0deg);
                }
            }
            &::before {
                animation: bounceRight 2s;
                width: 100%;                
            }
        }
    }
    &-titles {
        text-align: center;
        max-width: 500px;
        margin: 0 auto;
        span {
            display: inline-block;
            font-size: 18px;
            font-weight: 500;
            a {
                color: var(--primary-color-1);
                background: linear-gradient(to right, currentcolor 0%, currentcolor 100%) 0px 95%/0px 1.7px no-repeat;
                transition: all 600ms ease;
                &:hover {
                    background-size: 100% 1.7px;                
                }
            }
        }
    }
}
/*==========================================================================
Services Page CSS
==========================================================================*/
.services__page {
    .slider {
        position: relative;
        z-index: 1;
    }
}
/*==========================================================================
Services Details CSS
==========================================================================*/
.services__details {
    &-left {
        &-content {
            h2 {
                margin-top: 40px;
                margin-bottom: 25px;
            }
            &-list {
                padding-bottom: 35px;
                margin-bottom: 40px;
                border-bottom: 1px solid var(--border-color-1);
                span {
                    display: flex;
                    align-items: baseline;
                    margin-bottom: 20px;
                    max-width: 586px;
                    &:last-child {
                        margin: 0;
                    }
                    i {
                        color: var(--primary-color-1);
                        margin-right: 10px;
                    }
                }
                &.bold {
                    span {
                        font-size: 18px;
                        font-weight: 500;
                    }
                }
            }
        }
    }
}
@media (max-width: 1599px){
    .services__three {        
        &-arrow {
            &-next {
                right: -48px;
            }
            &-prev {
                left: -70px;
            }
        } 
    }
}
@media (max-width: 1399px) {
    .services__one {
        &-item {
            padding: 40px 30px;
            padding-bottom: 34px;
        }
    }
}
@media (max-width: 1299px) {
    .services__three {
        &-arrow {
            text-align: center;
            margin-bottom: 65px;
            margin-top: -30px;
            &-next {
                position: initial;
                margin-left: 10px;
            }
            &-prev {
                position: initial;
            }
        }         
    }
}
@media (max-width: 1199px) {    
    .services__two {
        &-item {
            &-content {
                padding: 30px 25px;
            }
        }   
    }
    .services__three {
        &-item {
            &-content {
                padding: 40px 25px;
                padding-top: 60px;
                margin-right: 10px;
            }
        }        
    }
}

@media (max-width: 991px) { 
    .services__four-item {
        display: block;
        &-left {
            display: block;
            &-icon {
                margin-bottom: 25px;
                i {
                    display: block;
                }
            }
            h3 a {
                max-width: initial;
            }            
            p {
                padding: 0;
                margin-top: 20px;
                margin-bottom: 35px;
                &::after {
                    display: none;
                }
            }
        }
    }
}
@media (max-width: 767px) {    
    .services__two {
        &-item {
            &-content {
                padding: 30px 12px;
            }
        }   
    }
}
@media (max-width: 575px) {    
    .services__two {
        &-item {
            &-content {
                padding: 30px;
            }
        }   
    }
}