.statistics-section {
    padding: 6rem 2rem;
    background-color: white;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.stats-header {
    text-align: center;
    margin-bottom: 4rem;
}

.stats-label {
    color: var(--primary-color);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: inline-block;
}

.stats-title {
    color: var(--Accents-Purple-Purple, #612CE7);
text-align: center;
font-family: Audiowide;
font-size: 32px;
font-style: normal;
font-weight: 400;
line-height: normal;
}



.stats-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.stat-card {
    background: #E8EFEB;
    border-radius: 20px;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

/* First card spans 4 columns */
.stat-card:first-child {
    grid-column: span 2;
    background-color: #0A2A12;
    min-height: 300px;
}

/* Second and third cards span 2 columns each */
.stat-card:not(:first-child) {
    grid-column: span 1;
  
    min-height: 300px;
}

.stat-icon {
    width: 40px;
    height: 40px;
    margin-bottom: 1.5rem;
}

.stat-value {
    font-size: 4rem;
    font-weight: bold;
    color: var(--primary-color);
    margin: 1rem 0;
    font-family: 'Space Grotesk', sans-serif;
    color: var(--Accents-Purple-Purple, #042D14);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--text-color);
    opacity: 0.8;
    font-family: 'Bahnschrift', sans-serif;
    color: var(--Accents-Purple-Purple, #042D14);
    
}

/* First card specific styles */
.stat-card:first-child .stat-value {
    font-size: 6rem;
    color: var(--primary-color);
}

.stat-card:first-child .stat-label {
    color: var(--text-color);
    font-size: 1.2rem;
}

@media (max-width: 1024px) {
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .stat-card:first-child {
        grid-column: span 2;
    }
    
    .stat-card:not(:first-child) {
        grid-column: span 1;
    }
}

@media (max-width: 768px) {
    .stats-container {
        grid-template-columns: 1fr;
    }
    
    .stat-card:first-child,
    .stat-card:not(:first-child) {
        grid-column: span 1;
    }
    
    .stats-title {
        font-size: 2rem;
    }
}
