@import url('https://fonts.googleapis.com/css2?family=Urbanist:wght@400;500;600;700&display=swap');

.thsf-stats-banner {
    background-color: #c1121f; /* Default red if no image */
    background-size: cover;
    background-position: center;
    color: #ffffff;
    padding: 80px 20px;
    font-family: 'Urbanist', sans-serif;
    position: relative;
    overflow: hidden;
}

.thsf-stats-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(193, 18, 31, 0.8) 0%, rgba(193, 18, 31, 0) 100%);
    z-index: 1;
}

.thsf-stats-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.thsf-stats-left {
    flex: 1;
    min-width: 300px;
    padding-right: 40px;
}

.thsf-logo img {
    max-width: 200px;
    margin-bottom: 20px;
}

.thsf-heading {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.thsf-description {
    font-size: 18px;
    margin-bottom: 30px;
    line-height: 1.6;
    opacity: 0.9;
}

.thsf-button {
    display: inline-block;
    background-color: #ffffff;
    color: #c1121f;
    padding: 12px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.thsf-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.thsf-stats-right {
    flex: 1;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    min-width: 300px;
}

.thsf-stat-item {
    text-align: center;
}

.thsf-stat-number {
    font-size: 42px;
    font-weight: 700;
    display: inline-block;
}

.thsf-stat-item .plus {
    font-size: 32px;
    font-weight: 700;
    vertical-align: top;
    margin-left: 2px;
}

.thsf-stat-label {
    display: block;
    font-size: 20px;
    margin-top: 5px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .thsf-stats-container {
        flex-direction: column;
        text-align: center;
    }
    .thsf-stats-left {
        padding-right: 0;
        margin-bottom: 50px;
    }
    .thsf-heading {
        font-size: 36px;
    }
    .thsf-stats-right {
        width: 100%;
        grid-template-columns: repeat(6, 1fr);
        gap: 20px 15px;
        justify-items: center;
    }
    .thsf-stat-item:nth-child(1),
    .thsf-stat-item:nth-child(2) {
        grid-column: span 3;
    }
    .thsf-stat-item:nth-child(3),
    .thsf-stat-item:nth-child(4),
    .thsf-stat-item:nth-child(5) {
        grid-column: span 2;
    }
}

/* Animations */
.thsf-stats-banner .thsf-stats-left,
.thsf-stats-banner .thsf-stat-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.thsf-stats-banner.animated .thsf-stats-left,
.thsf-stats-banner.animated .thsf-stat-item {
    opacity: 1;
    transform: translateY(0);
}

.thsf-stats-banner.animated .thsf-stat-item:nth-child(1) { transition-delay: 0.1s; }
.thsf-stats-banner.animated .thsf-stat-item:nth-child(2) { transition-delay: 0.2s; }
.thsf-stats-banner.animated .thsf-stat-item:nth-child(3) { transition-delay: 0.3s; }
.thsf-stats-banner.animated .thsf-stat-item:nth-child(4) { transition-delay: 0.4s; }
.thsf-stats-banner.animated .thsf-stat-item:nth-child(5) { transition-delay: 0.5s; }
