/* Cleaned about.css with improved card alignment */

body {
    font-family: 'Segoe UI', sans-serif;
    background-color: #f8f8f8;
    color: #333;
    margin: 0;
    padding: 0;
}

.team-section {
    max-width: 1200px;
    margin: auto;
    padding: 40px 20px;
    text-align: center;
}

.team-section h1 {
    font-size: 2.5rem;
    color: #c11520;
    margin-bottom: 20px;
}

.team-category {
    margin-bottom: 40px;
}

.team-category h2 {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: #790502;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 220px));
    justify-content: center;
    gap: 20px;
}

.team-member {
    background: #fff;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
    transition: transform 0.3s;
    text-align: center;
    width: 200px;
}

.team-member:hover {
    transform: translateY(-5px);
}

.team-member img {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 50%;
    border: 3px solid transparent; /* now transparent */
    margin-bottom: 10px;
}


.team-member p {
    font-size: 1rem;
    color: #333;
    margin: 0;
}

.customer-section {
    background: #fff;
    padding: 40px 20px;
    max-width: 1200px;
    margin: auto;
    margin-bottom: 2.5em;
    text-align: center;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.05);
}

.customer-section h2 {
    font-size: 2rem;
    color: #c11520;
    margin-bottom: 20px;
}

.customer-flex {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    align-items: flex-start;
}

.customer-flex img {
    max-width: 300px;
    width: 100%;
    height: auto;
    border-radius: 8px;
    object-fit: contain;
}

.customer-list-columns {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
    max-width: 800px;
}

.customer-list-columns ul {
    text-align: left;
    font-size: 0.95rem;
    line-height: 1.5;
    list-style: disc inside;
    padding-left: 20px;
    max-width: 350px;
    background: #f9f9f9;
    padding: 10px;
    border-radius: 8px;
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    }
    .customer-list-columns {
        flex-direction: column;
        align-items: center;
    }
    .customer-list-columns ul {
        max-width: 90%;
    }
}
