/* Subheader Right-Side Glassmorphic Counter Cards */
#subheader {
    padding-top: 165px !important;
    padding-bottom: 25px !important;
}

#subheader h1 {
    font-size: 38px !important;
    margin-top: 5px !important;
    margin-bottom: 8px !important;
    letter-spacing: 0.5px !important;
    line-height: 1.2 !important;
}

#subheader p.lead {
    font-size: 15px !important;
    margin-bottom: 18px !important;
    opacity: 0.9;
}

/* Mobile Header & Subheader Adjustments (992px and narrower) */
@media (max-width: 992px) {
    header,
    header.header-mobile,
    header.transparent {
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        background: #0b0f14 !important;
        z-index: 999999 !important;
        overflow: visible !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
    }

    #content {
        margin-top: 0 !important;
    }

    #subheader {
        padding-top: 100px !important;
        padding-bottom: 25px !important;
        box-shadow: none !important;
    }

    #subheader::before,
    #subheader::after,
    #subheader .de-overlay,
    #subheader .de-overlay-gradient,
    #subheader .gradient-trans-dark-top,
    #subheader .gradient-trans-color-top {
        display: none !important;
        background: none !important;
        box-shadow: none !important;
        opacity: 0 !important;
    }

    #subheader h1 {
        font-size: 26px !important;
        margin-top: 4px !important;
        margin-bottom: 6px !important;
    }
}

.subheader-counters-wrap {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
    padding-top: 10px;
    padding-bottom: 10px;
}

@media (max-width: 1199px) {
    .subheader-counters-wrap {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767px) {
    .subheader-counters-wrap {
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 10px !important;
        padding-top: 8px !important;
        padding-bottom: 8px !important;
    }

    .subheader-counter-card {
        padding: 12px 14px !important;
        border-radius: 12px !important;
    }

    /* Leftover odd last card spans both columns and centers text */
    .subheader-counter-card:last-child:nth-child(odd) {
        grid-column: span 2 !important;
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        text-align: center !important;
        padding: 14px 16px !important;
    }

    .subheader-counter-card:last-child:nth-child(odd) .subheader-counter-icon {
        margin-bottom: 4px !important;
    }

    .subheader-counter-icon {
        font-size: 1.3rem !important;
        margin-bottom: 6px !important;
    }

    .subheader-counter-num {
        font-size: 1.05rem !important;
        margin-bottom: 2px !important;
    }

    .subheader-counter-title {
        font-size: 0.75rem !important;
        line-height: 1.25 !important;
    }
}

.subheader-counter-card {
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    padding: 20px 22px;
    color: #ffffff;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.18);
    transition: all 0.35s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    overflow: hidden;
}

.subheader-counter-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
}

.subheader-counter-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.22);
    border-color: #6BB634;
    box-shadow: 0 14px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(107, 182, 52, 0.35);
}

.subheader-counter-icon {
    color: #6bb535;
    font-size: 1.6rem;
    margin-bottom: 10px;
    display: inline-flex;
    align-items: center;
}

.subheader-counter-num {
    font-size: 1.25rem;
    font-weight: 800;
    line-height: 1.2;
    color: #ffffff;
    letter-spacing: -0.2px;
    margin-bottom: 4px;
    font-family: 'Plus Jakarta Sans', 'Heebo', sans-serif;
}

.subheader-counter-title {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.85);
    font-weight: 500;
    line-height: 1.3;
}

/* Hide Watermark Image in Subheader */
#subheader img[src*="logo-wm"],
#subheader .w-20[src*="logo-wm"] {
    display: none !important;
}


