/***

==================================================================
	Funfact Section
==================================================================

***/

.fun-fact-section{
    position: relative;
    padding: 120px 0 120px;
    background-color: var(--theme-color3);
    @include media-breakpoint-down(lg){
        padding: 120px 0 70px;
    }
    .content-column{
        margin-bottom: 30px;
        .inner-column{
            position: relative;
            padding-right: 140px;
            @include media-breakpoint-down(xl){
                padding-right: 0;
            }
            .title{
                margin-bottom: 0;
                @include media-breakpoint-down(lg){
                    font-size: 32px;
                }
                @include media-breakpoint-down(lg){
                    line-height: 1.3em;
                }
                @include media-breakpoint-down(sm){
                    line-height: 1.2em;
                }
            }
        }
    }
    .info-column{
        margin-bottom: 30px;
        .inner-column{
            position: relative;
            padding-right: 200px;
            margin-top: 15px;
            @include media-breakpoint-down(xl){
                padding-right: 0;
            }
            @include media-breakpoint-down(lg){
                br {
                    display: none;
                }
            }
            .text{
                position: relative;
                margin-bottom: 0;
                padding-left: 55px;
                p {
                    margin-bottom: 10px;
                }
                span {
                    position: absolute;
                    left: 0;
                    top: 10px;
                    font-weight: 600;
                    font-size: 44px;
                    color: var(--theme-color-dark);
                    text-transform: capitalize;
                    @include media-breakpoint-down(sm){
                        top: 15px;
                    }
                }
            }
            .text-two{
                margin-bottom: 22px;
            }
            .list-style-one{
                li{
                    font-size: 16px;
                }
            }
            .exp-box{
                position: absolute;
                top: 0;
                right: 0;
                background-color: var(--theme-color-light);
                display: inline-block;
                padding: 37px 27px 44px;
                transition: all 300ms ease;
                &:hover{
                    box-shadow: 0 10px 30px rgba(0,0,0,.10);
                }
                @include media-breakpoint-down(xl){
                    display: none;
                }
                .icon-flower-1{
                    position: absolute;
                    bottom: 0;
                    right: 0;
                }
                .icon{
                    font-size: 60px;
                    color: var(--theme-color1);
                    margin-bottom: 15px;
                }
                .title{
                    margin-bottom: 0;
                }
            }
        }
    }
    .fact-counter{
        position: relative;
        padding-top: 76px;
    }
    &.style-two {
        background-color: var(--theme-color-light);
        padding-top: 45px;
        .fact-counter {
            padding-top: 0;
        }
    }
}

.counter-block{
    position: relative;
    margin-bottom: 50px;
    &:last-child{
        .inner{
            &::before{
                display: none;
            }
        }
    }
    .inner {
        position: relative;
        transition: all 300ms ease;
        text-align: center;
        &::before{
            content: "";
            position: absolute;
            top: -27px;
            right: 0;
            width: 1px;
            height: 165px;
            background-color: #e1e1e1;
        }
        &:hover {
            .content{
                .icon-flower-2{
                    top: -70px;
                }
            }
            .count-box {
                color: var(--theme-color1);
                .count-text {
                    color: var(--theme-color1);
                }
            }
        }
    }
    .content{
        position: relative;
        .icon-flower-2{
            position: absolute;
            top: -50px;
            left: 50%;
            transform: translateX(-50%);
            pointer-events: none;
            transition: all 300ms ease;
            @include media-breakpoint-down(lg){
                background-size: 70px;
                background-repeat: no-repeat;
                background-position: center;
            }
        }
    }
    .count-box {
        font-size: 60px;
        line-height: 54px;
        color: var(--theme-color-dark);
        margin-bottom: 5px;
        transition: all 300ms ease;

        .count-text {
            font-size: 60px;
            line-height: 54px;
            color: var(--theme-color-dark);
            transition: all 300ms ease;
        }
    }

    .counter-title {
        font-size: 20px;
        line-height: 36px;
        margin-bottom: 0;
        color: var(--text-color);
    }
}