.founder-section {
    padding: var(--spacing-xl) 0;
    background-color: transparent;
}

.founder-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.founder-card {
    background-color: var(--color-white);
    border-radius: 12px;
    box-shadow: 0px 8px 17px var(--color-shadow), 0px 0px 2px var(--color-shadow);
    display: flex;
    flex-direction: column;
    /* Vertical Layout for individual cards */
    gap: 1.5rem;
    padding: 2rem;
    align-items: center;
    text-align: center;
    border: 1px solid var(--color-gray-medium);
}

.founder-image-wrapper {
    width: 100%;
    max-width: 250px;
    margin: 0 auto;
    /* Center image */
}

.founder-image-wrapper img {
    width: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 50%;
    /* Rounded images */
    display: block;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.founder-content {
    flex: 1;
}

.founder-title {
    color: var(--color-secondary);
    /* Was #ff6b6b */
    font-size: 2.25rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    font-family: var(--font-primary);
}

.founder-content p {
    font-size: 1.15rem;
    /* Follows memory rule: max 1.3rem */
    font-weight: 500;
    /* Follows memory rule: weight 500 */
    line-height: 1.6;
    margin-bottom: 1.5rem;
    color: var(--color-gray-dark);
    /* Was #374151 */
}

.founder-content p:last-of-type {
    margin-bottom: 2rem;
}

.founder-links {
    margin-top: 1.5rem;
    font-weight: 700;
    font-size: 1.2rem;
}

.founder-links a {
    color: var(--color-primary);
    /* Was #007c0a */
    text-decoration: none;
    transition: opacity 0.2s, color 0.2s;
}

.founder-links a:hover {
    color: var(--color-primary-dark);
    /* Was #005a07 */
    text-decoration: underline;
}

/* Base Grid Styles */
.founders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.founder-role {
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.1rem;
    text-align: center;
    /* Ensure role is centered */
}

.founder-content p {
    text-align: left;
    /* Left align body text */
}

/* Ensure title and role stay centered despite the above */
.founder-content .founder-title,
.founder-content .founder-role {
    text-align: center;
}

/* Mobile Responsiveness */
@media (max-width: 992px) {
    .founders-grid {
        grid-template-columns: 1fr;
        /* Stack cards vertically */
        max-width: 500px;
        /* Limit width */
        margin: 0 auto;
    }

    .founder-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .founder-card {
        padding: 1.5rem;
        gap: 1.5rem;
    }

    .founder-title {
        font-size: 1.5rem;
    }

    .founder-image-wrapper {
        max-width: 200px;
        /* Slightly smaller images on mobile */
    }
}