/*==========================================================================
Features CSS
==========================================================================*/
.features {
    margin-top: -80px;
    position: relative;
    z-index: 1;
    &-area {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        box-shadow: var(--box-shadow-1);
        &-item {
            position: relative;
            overflow: hidden;
            padding: 40px;
            transition: 0.4s;
            background: var(--bg-white);
            span {
                position: absolute;
                right: -50px;
                top: -50px;
                i {
                    font-size: 25px;
                    color: var(--primary-color-3);
                    position: relative;
                    width: 137px;
                    height: 137px;
                    line-height: 137px;
                    text-align: center;
                    transition: 0.4s;
                    &::before {
                        position: relative;
                        top: 24px;
                        right: 20px;
                    }
                    &::after {
                        position: absolute;
                        content: '';
                        right: 0;
                        top: 0;
                        width: 137px;
                        height: 137px;
                        opacity: 0.1;
                        background: var(--primary-color-3);
                        border-radius: 50%;
                        transition: 0.4s;
                    }
                }
            }
            h4 {
                margin-bottom: 10px;
                transition: 0.4s;
            }
            p {
                max-width: 270px;
                transition: 0.4s;
            }
            &-hover {
                background: var(--primary-color-3);
                h4 {
                    color: var(--text-white);
                }
                p {
                    color: var(--text-white);
                }
                &.features-area-item span i {
                    color: var(--text-white);
                    &::after {
                        background: var(--bg-white);
                    }
                }
            }
        }
    }
    .ltb-radius {
        border-radius: 6px 0 0 6px;
    }
    .rtb-radius {
        border-radius: 0 6px 6px 0;
    }
}
/*==========================================================================
Image Slide CSS
==========================================================================*/
.conbix__slider {
    position: relative;
    z-index: 1;
    &-arrow {
        z-index: 9;
        &-next,
        &-prev {
            i {   
                font-size: 18px;      
                width: 40px; 
                height: 40px;
                display: inline-flex;
                align-items: center;
                justify-content: center;
                border-radius: 50%;
                color: var(--bg-white);
                background: var(--text-heading-color);
                transition: 0.4s;
                &:hover {
                    opacity: 1;
                    background: var(--primary-color-4);
                    color: var(--text-white);
                }  
            } 
        }
        &.position_middle {
            .conbix__slider-arrow-next, .conbix__slider-arrow-prev {
                position: absolute;
                top: 50%;
                transform: translateY(-50%);
                left: 0;
                z-index: 1;
            }
            .conbix__slider-arrow-next {
                right: 0;
                left: initial;
            }
        }
        &.position_bottom {
            display: flex;
            gap: 10px;
            .conbix__slider-arrow-next, .conbix__slider-arrow-prev {
                position: initial;
                margin: 0;
            }
        }
        &.position_top {
            display: flex;
            gap: 10px;
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            .conbix__slider-arrow-next, .conbix__slider-arrow-prev {
                position: initial;
                margin: 0;
            }
        }
    }
    &-dots {
            .swiper-pagination-bullet {
                border-radius: 50%;
                background: var(--color-8);
                width: 8px;
                height: 8px;
                transition: all 0.4s ease-out 0s;
                opacity: 1;
                margin: 0 4px;
                position: relative;
                z-index: 9;
                &-active {
                    background: var(--primary-color-1);
                }
            }
    }
    .slide_box_yes {
        margin-right: -400px;
    }
}
.image__slider {
    &-item {
        transition: 0.5s;
        text-align: center;
        position: relative;
        img {
            height: 100% !important;
            object-fit: cover;
        }
        &.caption__show {
            z-index: 1;
            overflow: hidden;
            &::after {
                content: '';
                position: absolute;
                left: 0;
                top: 0;
                width: 100%;
                height: 100%;
                background: var(--bg-heading-color);
                opacity: 0;
                overflow: hidden;
                transition: 0.4s;
            }
            .image__slider-item-content  {
                position: absolute;
                top: 55%;
                transform: translateY(-50%);
                width: 100%;
                z-index: 1;
                transition: 0.5s;
                opacity: 0;
                h4 {
                    color: var(--text-white);
                }
                span {
                    color: var(--color-4);
                    display: block;
                    margin-bottom: 15px;
                }
                i {
                    color: var(--text-white);
                    background: var(--primary-color-1);
                    width: 40px;
                    height: 40px;
                    display: inline-flex;
                    align-items: center;
                    justify-content: center;
                    border-radius: 50%;
                }
            }
            &:hover {
                &::after {
                    opacity: 0.6;
                }
                .image__slider-item-content {
                    opacity: 1;
                    top: 50%;
                }
            }
        }
    }
}
.show_two,
.show_three,
.show_four,
.show_five {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
}
.show_three {
    grid-template-columns: repeat(3, 1fr);
}
.show_four {
    grid-template-columns: repeat(4, 1fr);
}
.show_five {
    grid-template-columns: repeat(5, 1fr);
}
@media (max-width: 1024px) {
    .md_show_one {
        grid-template-columns: repeat(1, 1fr);
    }
    .md_show_two {
        grid-template-columns: repeat(2, 1fr);
    }
    .md_show_three {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 667px) {
    .sm_show_one {
        grid-template-columns: repeat(1, 1fr);
    }
    .sm_show_two {
        grid-template-columns: repeat(2, 1fr);
    }
    .sm_show_three {
        grid-template-columns: repeat(3, 1fr);
    }
}
@media (max-width: 1299px) {    
    .features-area-item {
        padding: 40px 30px;
    }
}
@media (max-width: 991px) {    
    .features {
        &-area {
            grid-template-columns: repeat(2, 1fr);
        }
    }
}
@media (max-width: 766px) {
    .features {
        &-area {
            grid-template-columns: repeat(1, 1fr);
            &-item {
                border-radius: 4px;
            }
        }
        .ltb-radius {
            border-radius: 4px;
        }
        .rtb-radius {
            border-radius: 4px;
        }
    }
    .conbix__slider .slide_box_yes {
        margin-right: 0;
    }
}