HEX
Server: nginx/1.24.0
System: Linux DGT-WORDPRESS-VM-SERVER 6.14.0-1014-azure #14~24.04.1-Ubuntu SMP Fri Oct 3 20:52:11 UTC 2025 x86_64
User: ubuntu (1000)
PHP: 8.4.12
Disabled: NONE
Upload Files
File: /mnt/data/dreamssalon-wp-market/wp-content/themes/dreamsalon/assets/scss/pages/_counter.scss
/*============================
    25. Counter
============================*/

@use "../utils/mixins" as *;
@use '../variables' as *;

.counter-sec {
    margin-top: 60px;
    @include respond-below(lg) {
        margin-top: 50px;
    }
}
.counter-item {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid $border-color;
    text-align: center;
    flex-direction: column;
    @include respond-below(lg) {
        border-right: none;
    }
    @include respond-below(sm) {
        border-bottom: 1px solid $border-color;
        padding-bottom: 16px;
        text-align: left;
        justify-content: start;
        align-items: start;
    }
    h5 {        
        font-size: 38px;
        @include respond-below(xl) {
            font-size: 32px;
        }
        @include respond-below(lg) {
            font-size: 28px;
        }
        @include respond-below(md) {
            font-size: 18px;
        }
    }    
    &-two {
        position: relative;
        &::before {
            content: "";
            background: $linear-gradient;
            width: 2px;
            height: 40px;
            position: absolute;
            right: 0;
            @include respond-below (xl) {
                content: unset;
            }
            h5 {
                color: $darkmode-white;
            }
            p {
                color: $darkmode-light;
            }
        }
        .counter-value {
            color: $darkmode-white;
            font-size: 36px;
            font-weight: $font-weight-bold;
            line-height: 1.2;
            @include respond-below(lg) {
                font-size: 30px;
            }
            @include respond-below(md) {
                font-size: 26px;
            }
        }
    }
    &-three {
        position: relative;
        display: flex;
        align-items: center;
        .counter-icon {
            width: 60px;
            height: 60px;
            display: inline-flex;
            align-items: center;
            justify-content: center;
            border-radius: $border-radius-md;
            border: 1px solid $primary;
            margin-right: 16px;
            flex-shrink: 0;
            background: $dark;
            box-shadow: $box-shadow-inner;
        }
        .counter-value {
            color: $darkmode-white;
            font-size: 36px;
            font-weight: $font-weight-bold;
            line-height: 1.2;
            @include respond-below(lg) {
                font-size: 30px;
            }
            @include respond-below(md) {
                font-size: 26px;
            }
        } 
        h2 {
            color: $darkmode-white;
        }
        p {
            color: $darkmode-light;
        }
    }
    &-four {
        background: $darkmode-gray-900;
        border-radius: $border-radius-md;
        padding: 24px;
        text-align: center;
        .counter-img {
            margin-bottom: 20px;
            position: relative;
            span {
                position: absolute;
                font-size: 5px;
                color: $primary;
            }
        }
        h3 {
            font-size: 16px;
            font-weight: $font-weight-semibold;
            color: $darkmode-light;
        }
        .counter-value {
            font-size: 44px;
            font-weight: $font-weight-bold;
            line-height: 1.2;
            color: $darkmode-white;
            margin-bottom: 0;
            @include respond-below(lg) {
                font-size: 36px;
            }
            @include respond-below(md) {
                font-size: 28px;
            }
        }
    }
}
.counter-section {
    &-three {
        padding: 40px;
        margin-top: 60px;
        @include respond-below(lg) {
            margin-top: 50px;
        } 
        @include respond-below(md) {
            padding: 20px;
        } 
    }
    &-four {
        background: $darkmode-dark;
        z-index: 1;
        overflow: hidden;
        .counter-bg {
            position: absolute;
            right: 0;
            bottom: 0;
            z-index: -1;
            @include respond-below(sm) {
                display: none;
            }
        }
    } 
}