/*** 
=============================================
    Fact Counter Area style
=============================================
***/
.fact-counter-area {
    position: relative;
    display: block;
    padding: 120px 0px 80px;
    z-index: 1;
}

.fact-counter-area_bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-attachment: fixed;
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    z-index: -1;
}

.fact-counter-area_bg:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #213140;
    opacity: 0.95;
}

.fact-counter-area .sec-title h2 {
    color: #ffffff;
}

.fact-counter-box {
    position: relative;
    display: block;
    padding-top: 120px;
}

.fact-counter-box .sec-title h2 {
    color: #ffffff;
}

.single-fact-counter {
    position: relative;
    display: block;
    margin-bottom: 34px;
}

.single-fact-counter .inner {
    position: relative;
    display: block;
    background: #ffffff;
    text-align: center;
    padding: 40px 0 33px;
    z-index: 1;
}

.single-fact-counter .inner:before {
    content: "";
    position: absolute;
    left: 30px;
    bottom: -4px;
    right: 30px;
    height: 4px;
    background: var(--thm-base);
    -webkit-transition: all 0.4s linear;
    -o-transition: all 0.4s linear;
    transition: all 0.4s linear;
}

.single-fact-counter:hover .inner:before {
    left: 0px;
    right: 0px;
}

.single-fact-counter .inner .pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #ffffff;
    background-repeat: repeat;
    z-index: -1;
    transition: all 200ms linear;
    transition-delay: 0.1s;

}

.single-fact-counter:hover .inner .pattern-bg {
    background-color: #000;
    background-image: inherit;
}

.single-fact-counter .inner .icon {
    position: relative;
    display: block;
    padding-bottom: 11px;
}

.single-fact-counter .inner .icon span:before {
    color: var(--thm-base);
    font-size: 50px;
    line-height: 50px;
}

.single-fact-counter .count-box {
    position: relative;
    display: block;
    color: #213140;
    font-size: 60px;
    font-weight: 600;
    font-family: var(--thm-font-2);
    transition: all 200ms linear;
    transition-delay: 0.1s;
}

.single-fact-counter:hover .count-box {
    color: #ffffff;
}

.single-fact-counter .count-box span {
    position: relative;
    display: inline-block;
    line-height: 60px;
}

.single-fact-counter .count-box .k {
    position: relative;
    display: inline-block;
    margin-left: -15px;
}

.single-fact-counter .count-box .plus {
    position: relative;
    display: inline-block;
    margin-left: -25px;
    font-size: 50px;
    font-weight: 700;
    line-height: 40px;
}


.single-fact-counter .title {
    position: relative;
    display: block;
    padding-top: 25px;
}

.single-fact-counter .title h3 {
    color: #ffffff;
    font-size: 20px;
    line-height: 26px;
    font-weight: 600;
    text-transform: capitalize;
}





/*** 
=============================================
    Fact Counter Style2 Area style
=============================================
***/
.fact-counter-style2-area {
    position: relative;
    display: block;
    z-index: 2;
    margin-top: -20px;
    padding-bottom: 30px;
}

.fact-counter-style2-area:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 90px;
    background: #1f2732;
    z-index: -1;
}

.single-fact-counter--style2 {
    margin-bottom: 30px;
}

.single-fact-counter--style2 .inner {
    position: relative;
    display: block;
    background: #ffffff;
    border-radius: 16px;
    padding: 35px 20px 30px;
    border: 1px solid rgba(0, 0, 0, 0.06);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
    z-index: 1;
}

.single-fact-counter--style2 .inner:before {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--thm-base), #10b981);
    opacity: 0.8;
    transition: all 0.35s ease;
}

.single-fact-counter--style2:hover .inner {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(3, 147, 67, 0.14);
    border-color: rgba(3, 147, 67, 0.3);
}

.single-fact-counter--style2:hover .inner:before {
    height: 6px;
    opacity: 1;
}

.single-fact-counter--style2 .inner .pattern-bg {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background-color: #ffffff;
    background-repeat: repeat;
    opacity: 0.4;
    z-index: -1;
    transition: all 0.35s ease;
}

.single-fact-counter--style2:hover .inner .pattern-bg {
    opacity: 0.15;
    background-color: #f8fafc;
}

/* Icon Badge */
.single-fact-counter--style2 .inner .icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 72px;
    height: 72px;
    margin: 0 auto 18px;
    background: rgba(3, 147, 67, 0.08);
    border-radius: 50%;
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.single-fact-counter--style2 .inner .icon span:before {
    color: var(--thm-base);
    font-size: 36px;
    line-height: 1;
    transition: all 0.35s ease;
}

.single-fact-counter--style2:hover .inner .icon {
    background: var(--thm-base);
    transform: scale(1.08) rotate(4deg);
    box-shadow: 0 8px 20px rgba(3, 147, 67, 0.3);
}

.single-fact-counter--style2:hover .inner .icon span:before {
    color: #ffffff;
}

/* Counter numbers */
.single-fact-counter--style2 .count-box {
    position: relative;
    display: flex;
    align-items: baseline;
    justify-content: center;
    color: #1a242f;
    font-size: 46px;
    font-weight: 800;
    font-family: var(--thm-font);
    line-height: 1;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
    transition: all 0.3s ease;
}

.single-fact-counter--style2 .count-box .count-text {
    font-size: 46px;
    font-weight: 800;
    color: #1a242f;
    line-height: 1;
}

.single-fact-counter--style2 .count-box .unit-text {
    font-size: 24px;
    font-weight: 700;
    color: var(--thm-base);
    margin-left: 4px;
    line-height: 1;
}

.single-fact-counter--style2 .count-box .plus {
    font-size: 32px;
    font-weight: 700;
    color: var(--thm-base);
    margin-left: 3px;
    line-height: 1;
}

.single-fact-counter--style2 .count-box .percent {
    font-size: 32px;
    font-weight: 700;
    color: var(--thm-base);
    margin-left: 3px;
    line-height: 1;
}

.single-fact-counter--style2 .title {
    position: relative;
    display: block;
    padding-top: 0;
}

.single-fact-counter--style2 .title h3 {
    color: #4b5563;
    font-size: 16px;
    line-height: 22px;
    font-weight: 600;
    letter-spacing: 0.2px;
    margin: 0;
    transition: all 0.3s ease;
}

.single-fact-counter--style2:hover .title h3 {
    color: #111827;
}