/* ================================
   Counter (Facts) Section
   ================================ */

.counter-one {
    position: relative;
    padding: 120px 0;
    background-color: #070d1a;
    overflow: hidden;
    z-index: 1;
}

/* Background Floating Pattern */
.counter-one__bg-shape {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    opacity: 0.15;
    z-index: -1;
    animation: float-bob-y 10s infinite ease-in-out;
}

.counter-one__row {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    align-items: center;
}

.counter-one__single {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Organic Blob Icon Container */
.counter-one__icon {
    position: relative;
    width: 110px;
    height: 100px;
    background-color: var(--color-primary); /* #6e54f3 */
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #ffffff;
    margin-bottom: 25px;
    z-index: 1;
    transition: all 0.4s ease;
    /* Organic Blob Shape via Border Radius */
    border-radius: 30% 70% 70% 30% / 30% 30% 70% 70%;
}

.counter-one__single:hover .counter-one__icon {
    transform: scale(1.1) rotate(5deg);
    border-radius: 50%;
}

/* Typography */
.counter-one__count {
    font-family: 'Barlow', sans-serif;
    font-size: 48px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 5px 0;
    line-height: 1;
}

.counter-one__text {
    font-family: 'Nunito', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.75);
    margin: 0;
}

/* Floating Animation */
@keyframes float-bob-y {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
    100% { transform: translateY(0px); }
}

/* Responsive adjustments */
@media (max-width: 991px) {
    .counter-one__row {
        grid-template-columns: repeat(2, 1fr);
        gap: 50px;
    }
    
    .counter-one__count {
        font-size: 38px;
    }
}

@media (max-width: 575px) {
    .counter-one {
        padding: 80px 0;
    }
    
    .counter-one__row {
        grid-template-columns: 100%;
        gap: 40px;
    }
}
