/* Counter Section Styles */
.twm-counter-section {
    padding: 50px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9f5ff 100%);
    position: relative;
    overflow: hidden;
}

.twm-counter-section:before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(90deg, #2196f3, #9c27b0, #26c6da);
}

.section-heading {
    margin-bottom: 60px;
}

.section-heading .subtitle {
    display: inline-block;
    font-size: 16px;
    font-weight: 600;
    color: #2196f3;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    position: relative;
}

.section-heading .subtitle:after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -8px;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: #2196f3;
}

.section-heading .section-title {
    font-size: 36px;
    font-weight: 700;
    color: #2a2a2a;
    margin-bottom: 15px;
}

.section-heading .section-description {
    font-size: 18px;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
}

@media (max-width: 991px) {
    .twm-companies-wrap {
        padding-bottom: 0px !important;
    }
}

.twm-company-approch-outer {
    position: relative;
    z-index: 1;
}

.twm-company-approch-outer:before {
    content: "";
    position: absolute;
    background-color: #f0f6fe;
    left: 0px;
    right: 0px;
    bottom: 0px;
    width: 100%;
    height: 40px;
    z-index: -1;
}

.twm-company-approch {
    /* max-width: 850px; */
    margin: 0px auto;
    background-color: #fff;
    padding: 10px 25px;
    box-shadow: 0px 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.twm-company-approch:hover {
    transform: translateY(-5px);
    box-shadow: 0px 15px 40px rgba(0, 0, 0, 0.15);
}

@media (max-width: 767px) {
    .twm-company-approch {
        max-width: 520px;
    }
}

.twm-company-approch:after {
    content: "";
    position: absolute;
    left: -28px;
    bottom: 0px;
    z-index: 0;
    width: 0;
    height: 0;
    border-left: 28px solid transparent;
    border-right: 0px solid transparent;
    border-top: 40px solid #b3c2d6;
}

.counter-icon {
    width: 80px;
    height: 80px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 20px;
    font-size: 30px;
    color: white;
}

.counter-icon.bg-sky {
    background: linear-gradient(45deg, #2196f3, #21cbf3);
    box-shadow: 0 5px 15px rgba(33, 150, 243, 0.3);
}

.counter-icon.bg-pink {
    background: linear-gradient(45deg, #9c27b0, #e91e63);
    box-shadow: 0 5px 15px rgba(156, 39, 176, 0.3);
}

.counter-icon.bg-green {
    background: linear-gradient(45deg, #26c6da, #4caf50);
    box-shadow: 0 5px 15px rgba(38, 198, 218, 0.3);
}

.counter-outer-two {
    position: relative;
    padding: 20px 0;
}

@media (max-width: 991px) {
    .counter-outer-two {
        margin-bottom: 30px;
    }
}

.counter-outer-two .tw-count-number {
    font-size: 42px;
    line-height: 42px;
    font-weight: 700;
    font-family: "Rubik", sans-serif;
    margin-bottom: 10px;
}

@media (max-width: 991px) {
    .counter-outer-two .tw-count-number {
        font-size: 30px;
        line-height: 30px;
    }
}

.counter-outer-two .counter {
    font-size: 46px;
    line-height: 50px;
    font-weight: 600;
    font-family: "Rubik", sans-serif;
}

@media (max-width: 991px) {
    .counter-outer-two .counter {
        font-size: 30px;
        line-height: 30px;
    }
}

@media (max-width: 768px) {
    .counter-outer-two .counter {
        font-size: 24px;
    }
}

.counter-outer-two .icon-content-info {
    color: #666;
    margin-bottom: 0px;
    font-size: 18px;
    font-weight: 500;
}

.text-clr-sky {
    color: #2196f3;
}

.text-clr-pink {
    color: #9c27b0;
}

.text-clr-green {
    color: #26c6da;
}

/* Animation Styles */
.counter {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.6s ease;
    display: inline-block;
}

.counter.visible {
    opacity: 1;
    transform: scale(1);
}

@media (max-width: 767px) {
    .twm-counter-section {
        padding: 50px 0;
    }

    .section-heading .section-title {
        font-size: 28px;
    }

    .section-heading .section-description {
        font-size: 16px;
    }

    .counter-icon {
        width: 60px;
        height: 60px;
        line-height: 60px;
        font-size: 24px;
    }
}