.arbeiders-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    width: 80%;
    margin: 0 auto;
    padding: 2rem;
}

.arbeiders-container .card {
    min-height: 30vh;
    border-radius: 30px;
    padding: 25px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.arbeiders-container .card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.card {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.card h2 {
    margin-top: 0;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 15px;
    position: relative;
    padding-bottom: 10px;
    min-height: 7vh;
}

.card h2::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    height: 4px;
    width: 60px;
    border-radius: 2px;
}

.card ul {
    margin-top: 15px;
    padding-left: 20px;
}

.card li {
    margin-bottom: 12px;
}

.card-loon, .card-werktijden, .card-opleiding, .card-veiligheid {
    background-color: var(--secondary-xtra-light);
    border-top: 5px solid var(--secondary);
}

.card-loon h2:after, .card-werktijden h2::after, .card-opleiding h2::after, .card-veiligheid h2::after {
    background-color: var(--secondary);
}

.highlight {
    font-weight: bold;
    color: #333;
}

.stats {
    display: flex;
    margin-top: 15px;
    background-color: rgba(255, 255, 255, 0.5);
    padding: 10px;
    border-radius: 15px;
    justify-content: space-around;
    text-align: center;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-value {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

@media (max-width: 768px) {
    .arbeiders-container {
        width: 95%;
        padding: 1rem;
        gap: 20px;
    }

    .arbeiders-container .card {
        min-height: auto;
        padding: 20px;
    }

    .card h2 {
        font-size: 20px;
        min-height: auto;
    }

    .stats {
        flex-direction: column;
        gap: 10px;
    }
}
