#orgs-who-use {
    background-color: var(--secondary-bg-color);
    padding: 2rem 1rem;
    text-align: center;
}

#orgs-who-use h3 {
    font-size: calc(2rem + 0.9vw);
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

#orgs-who-use .underline {
    width: 8%; /* Consistent with other sections */
    height: 4px;
    background-color: var(--secondary-color);
    margin: 0 auto 2rem auto;
}

.table-container {
    max-height: 500px; /* Set a maximum height for the table */
    overflow-y: auto; /* Enable vertical scrolling */
    margin: 0 auto 2rem;
    width: 80%; /* Center and set table width */
    border: 1px solid var(--primary-color); /* Add border around table */
    border-radius: 8px;
    background-color: var(
        --secondary-bg-color
    ); /* Background inside the table */
}

.orgs-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 1rem;
    color: var(--secondary-text-color);
}

.orgs-table thead th {
    position: sticky;
    top: 0;
    background-color: var(--bg-color); /* Sticky header background */
    color: var(--primary-color); /* Header text color */
    font-weight: bold;
    padding: 0.8rem;
}

.orgs-table tbody tr {
    border-bottom: 1px solid var(--bg-color);
}

.orgs-table tbody tr:nth-child(odd) {
    background-color: var(--bg-color); /* Alternate row background */
}

.orgs-table tbody tr:nth-child(even) {
    background-color: var(--secondary-bg-color);
}

.orgs-table th,
.orgs-table td {
    padding: 0.8rem;
}

.orgs-table tbody tr:hover {
    background-color: var(--primary-color); /* Highlight row on hover */
    color: var(--bg-color);
}

.stats {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.stats p {
    font-size: 1.2rem;
    color: var(--secondary-text-color);
    margin: 0;
}

.stats p strong {
    font-size: 1.5rem;
    color: var(--secondary-color);
}

@media (max-width: 768px) {
    .table-container {
        width: 100%; /* Allow table to use full width on smaller screens */
    }

    #orgs-who-use .underline {
        width: 25%;
    }

    .stats {
        flex-direction: column;
        gap: 1rem;
    }
}
