/* General Section Styling */
.htc__counterup__area {
    padding-top: 50px;
    padding-bottom: 50px;
    background: rgba(0, 0, 0, 0) url(images/sdhqbannerpine.jpg) no-repeat center center / cover;
    color: #fff;
    text-align: center;
    min-height: 450px;
    /* Add or adjust this line to set a minimum height */
    justify-content: space-around;
}

/* Wrapper for the Fun Facts */
.htc__counterup__wrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    /* Evenly space the funfact elements */
    align-items: center;
    text-align: center;
}

/* Individual Fun Fact Boxes */
.funfact {
    background-color: rgba(0, 0, 0, 0.5);
    border-radius: 10px;
    padding: 20px;
    margin: 30px 10px 10px 10px;
    /* Add top margin to move down */
    width: 200px;
    transition: transform 0.3s ease, background-color 0.3s ease;
}

.funfact:hover {
    transform: translateY(-10px);
    background-color: rgba(0, 0, 0, 0.8);
}

/* Inner Count Styling */
.funfact__count__inner {
    margin-bottom: 10px;
}

/* Count Number Styling */
.fact__count .count {
    font-size: 48px;
    font-weight: 700;
    color: #FFD700;
    opacity: 1;
    transform: translateY(0);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Count Number Styling when Animated */
.fact__count .count.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Ensure visibility (Temporary Debugging) */
.fact__count .count {
    visibility: visible;
    /* Ensure this is not set to hidden or collapsed */
}

/* Title Styling */
.fact__title h2 {
    font-size: 18px;
    font-weight: 600;
    margin-top: 10px;
    color: #ffffff;
    text-transform: uppercase;
}

.fact__title h2 strong {
    font-weight: 800;
    /* Bold font weight for strong tag */
    color: #FFD700;
    /* Gold color for strong tag */
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    /* Add a subtle shadow for depth */
    font-size: 24px;
    /* Slightly larger font size for emphasis */
}


/* Responsive Design */
@media (max-width: 768px) {
    .htc__counterup__wrap {
        flex-direction: column;
        align-items: center;
    }

    .funfact {
        width: 90%;
    }
}

@media (min-width: 769px) and (max-width: 1200px) {
    .funfact {
        width: 45%;
    }
}