@import url('global-vars.css');
/* Removed Google Fonts import since we're using system sans-serif font */

.counter-section {
    padding: 80px 0;
    background: linear-gradient(135deg, rgba(29, 67, 131, 0.95), rgba(33, 138, 203, 0.9)), url('../images/pattern-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
    overflow: hidden;
}

.counter-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/dots-pattern.png');
    opacity: 0.1;
    z-index: 0;
}

.counter-container {
    position: relative;
    z-index: 1;
}

.counter-title {
    color: white;
    text-align: center;
    margin-bottom: 50px;
}

.counter-title h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.counter-title p {
    font-size: 1.1rem;
    opacity: 0.9;
    max-width: 700px;
    margin: 0 auto;
}

.counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.counter-item {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 30px 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.counter-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.counter-item::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), transparent);
    top: -50%;
    left: -50%;
    transform: rotate(35deg);
    transition: all 0.6s ease;
}

.counter-item:hover::before {
    top: 0;
    left: 0;
}

.counter-icon {
    margin-bottom: 15px;
    font-size: 42px;
    color: white;
    height: 70px;
    width: 70px;
    line-height: 70px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.counter-number {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    line-height: 1;
    margin-bottom: 10px;
    font-family: 'Montserrat', sans-serif;
}

.counter-label {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive styles */
@media (max-width: 992px) {
    .counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .counter-grid {
        grid-template-columns: 1fr;
    }
    
    .counter-section {
        padding: 60px 0;
    }
    
    .counter-title h2 {
        font-size: 2rem;
    }
    
    .counter-number {
        font-size: 2.5rem;
    }
}