#about {
    display: block;
    max-width: 1005;
    padding: 24px;
    border-radius: 20px;
    background: var(--content-bg-color);
    flex-basis: 100%;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 10px;
} 

section#about {
    padding: 3em 1em;
}

section#about h2 {
    color: var(--content-text-color);
    margin-bottom: 0.5em;
    font-weight: 2000;
    text-align: center;
}

.desc_about {
    margin-bottom: 0.8em;
    text-align: center;
    color: var(--analytics-text-color);
}

.team-grid {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.row {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1em;
    margin-bottom: 1em;
    max-width: 100%;
}

.team-member {
    position: relative;
    border: 1px solid #ddd;
    padding: 10px;
    max-width: 150px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
}

.team-member:hover {
    transform: scale(1.05);
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
}

.team-member img {
    max-width: 100%;
    height: auto;
}

.team-member h5 {
    height: 45px;
    margin-bottom: auto;
    font-size: 13px;
    text-align: center;
    color: var(--analytics-text-color);
}

.team-member .job {
    font-size: 11px;
    font-weight: 600;
    text-align: center;
    color: var(--analytics-text-color)
}

/*.central-member {
    width: 200px;
    padding: 20px;
    margin-bottom: 40px;
}*/

.logo-bottom {
    margin-top: 40px;
}

.logo-bottom img {
    width: 150px;
}

@media (max-width: 768px) {
    #about {
        padding: 1em;
    }
    section#about {
        padding: 2em 1em; /* reduce padding on smaller screens */
    }
    section#about h2 {
        font-size: 1.5em; /* reduce font size on smaller screens */
    }
    .team-member {
        max-width: 100px; /* reduce width on smaller screens */
    }
    .team-member h5 {
        font-size: 10px; /* reduce font size on smaller screens */
    }

    .team-member .job {
        font-size: 8.9px;
    }
    /* .row {
        gap: 0.5em;
    } */
}

@media (max-width: 480px) {
    #about {
        padding: 0.5em;
    }
    section#about {
        padding: 1em; /* further reduce padding on very small screens */
    }
    section#about h2 {
        font-size: 15px; /* further reduce font size on very small screens */
    }
    .desc_about {
        font-size: 13px;
    }
    .team-member {
        max-width: 70px; /* further reduce width on very small screens */
        padding: 5px;
    }
    .team-member h5 {
        font-size: 5px; /* further reduce font size on very small screens */
        height: 25px;
    }
    .team-member .job {
        font-size: 5.5px;
    }
    .row {
        gap: 0.2em; /* further reduce gap on very small screens */
    }
}