/*----------------------------------------*/
/*  NEW COMPONENT: Counter Section Three
/*  Стили для секции счетчиков с градиентным фоном
/*----------------------------------------*/

.counter-section-three {
    background-image: url(https://dentiq-demo.pbminfotech.com/html-demo/images/homepage-3/bg/bg-03.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    position: relative;
}

.counter-section-three::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.counter-section-three .container {
    position: relative;
    z-index: 1;
}

.counter-section-three .pbminfotech-ele-fid-style-2 {
    position: relative;
}

.counter-section-three .pbminfotech-ele-fid-style-2:after {
    content: '';
    height: 100%;
    width: 1px;
    background-color: rgba(255, 255, 255, 0.22);
    position: absolute;
    top: 0;
    right: 0;
}

/* Переопределяем правило из style.css, чтобы показать полоску у первого элемента */
.counter-section-three .pbminfotech-ele-fid-style-2:first-child:after {
    display: block;
}

.counter-section-three .pbminfotech-ele-fid-style-2:last-child:after {
    display: none;
}

/* Стили для текста счетчиков - белый цвет */
.counter-section-three .pbmit-fid-inner,
.counter-section-three .pbmit-fid-title {
    color: var(--pbmit-white-color) !important;
}

.counter-section-three .pbmit-fid-sub {
    color: rgba(255, 255, 255, 0.9) !important;
}

/* Адаптивность */
@media (max-width: 991px) {
    .counter-section-three .pbminfotech-ele-fid-style-2:after {
        display: none;
    }
    
    .counter-section-three .pbminfotech-ele-fid-style-2 {
        margin-bottom: 30px;
    }
    
    .counter-section-three .pbminfotech-ele-fid-style-2:last-child {
        margin-bottom: 0;
    }
}

