/* ================================================================
   GLT COUNTERS - TRADITIONAL INDUSTRIAL DASHBOARD
   ================================================================ */

.glt-counters {
    position: relative;
    /* Architectural Slate Background */
    background-color: #f1f5f9; 
    padding: 80px 0;
    overflow: hidden;
    border-top: 1px solid #e2e8f0;
    border-bottom: 1px solid #e2e8f0;
}

/* Subtle Blueprint Grid Pattern */
.glt-counters::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background-image: radial-gradient(#cbd5e1 1.2px, transparent 1.2px);
    background-size: 30px 30px;
    opacity: 0.4;
}

.glt-container {
    position: relative;
    z-index: 2;
}

/* 4-Column Grid: No gaps for a "Solid Unit" look */
.glt-counter-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    background: #ffffff; /* The "Console" background */
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.05);
}

/* Individual Data Block */
.glt-counter-item {
    padding: 50px 30px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    border-right: 1px solid #e2e8f0;
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background: #ffffff;
}

.glt-counter-item:last-child {
    border-right: none;
}

/* HOVER EFFECT: The Selection Glow */
.glt-counter-item:hover {
    background: #0f172a; /* Deep Navy on Hover */
    z-index: 3;
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(15, 23, 42, 0.2);
}

/* Icon Styling */
.glt-counter-icon {
    color: #0ea5e9; /* Safety Blue */
    margin-bottom: 20px;
    transition: transform 0.4s ease;
}

.glt-counter-item:hover .glt-counter-icon {
    transform: translateY(-5px);
    color: #ffffff;
}

/* Numbers & Typography */
.glt-counter-number {
    display: block;
    font-size: 2.8rem;
    font-weight: 900;
    line-height: 1;
    color: #0f172a;
    margin-bottom: 10px;
    letter-spacing: -1.5px;
    transition: color 0.3s ease;
}

.glt-counter-label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #64748b;
    transition: color 0.3s ease;
}

/* Hover State Text Colors */
.glt-counter-item:hover .glt-counter-number {
    color: #ffffff;
}

.glt-counter-item:hover .glt-counter-label {
    color: #0ea5e9;
}

/* Technical "Underline" Animation */
.glt-counter-deco {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: #0ea5e9;
    transition: width 0.4s ease;
}

.glt-counter-item:hover .glt-counter-deco {
    width: 100%;
}

/* 2. RESPONSIVE BREAKPOINTS */

@media (max-width: 1024px) {
    .glt-counter-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .glt-counter-item:nth-child(2) {
        border-right: none;
    }
    .glt-counter-item:nth-child(-n+2) {
        border-bottom: 1px solid #e2e8f0;
    }
}

@media (max-width: 600px) {
    .glt-counter-grid {
        grid-template-columns: 1fr;
    }
    .glt-counter-item {
        border-right: none;
        border-bottom: 1px solid #e2e8f0;
    }
    .glt-counter-item:last-child {
        border-bottom: none;
    }
}