/* --------------------------- General Layout and Sections --------------------------- */
.board,
.founders,
.team {
    /* Standard padding for large screens */
    background: #f9fafb;
    padding: 4rem 2rem;
    line-height: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;/* --------------------------- General Layout and Sections --------------------------- */
.board,
.founders,
.team {
    /* Standard padding for large screens */
    background: #f9fafb;
    padding: 4rem 2rem;
    line-height: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
    color: #333;
}

.section-title::after {
    /* Accent line under the title */
    content: "";
    display: block;
    width: 70%;
    max-width: 150px;
    height: 4px;
    background: #b2186d;
    /* Primary accent color */
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-top: 0.75rem;
}

.text-accent {
    color: #b2186d;
    /* Consistent color for accent text */
}

/* --------------------------- Board Member Grid & Cards (Unified) --------------------------- */

/* Apply this single grid style to all three sections (.board, .founders, .team) */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    padding: 1rem 0;
    grid-auto-rows: 1fr;
    position: relative;
}

/* Unified Card Style for all members (Founders, Board, Team) */
.board-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    /* Clean, defined shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    justify-self: center;
    max-width: 320px;
    align-self: stretch;
    cursor: pointer;
    line-height: 1;
}

.board-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
}

.board-member h4 {
    margin: 1rem 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.board-member .role {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.3;
}

.board-member img {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

/* --------------------------- Bio Modal (Clean Look) --------------------------- */
.bio-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.75);
    /* Darker overlay for focus */
    backdrop-filter: blur(5px);
    /* Optional: add a blur effect */
}

.bio-modal-content {
    background: white;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    border-radius: 16px;
    max-width: 600px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
    line-height: 1;
}

.bio-modal-content img {
    /* Modal image is made circular for a profile-like display */
    width: 150px;
    height: 150px;
    border-radius: 50%;
    /* Circular image in the modal */
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid #b2186d;
    /* Accent border */
}

.bio-modal-content h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;

}

#bio-modal-role {
    font-size: 1rem;
    color: #b2186d;
    font-style: italic;
    text-align: center;
}

.bio-modal-content p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1;
    text-align: center;
    margin-top: 1rem;
}

/* The close button is hidden to rely on click-outside/ESC for the clean look */
.bio-modal-close {
    display: none !important;
}

/* --------------------------- Responsive Styles --------------------------- */
@media (max-width: 390px) {
       #ashley {
  margin-left: auto;
  margin-right: auto;
  display: grid;
}
}
@media (max-width:480px) {

    .board,
    .founders,
    .team {
        padding: 1rem;
    }

    .section-header {
        padding: 10px;
        padding-bottom: 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        color: #6b7280;
        margin-top: 0.65rem;
    }

    .board-member {
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        justify-self: center;
        max-width: 200px;
        align-self: stretch;
        cursor: pointer;
    }

    .board-member h4 {
        margin: 0.5rem;
        font-size: 1.2rem;
    }

    .board-member .role {
        font-size: 0.9rem;
        margin-bottom: 0;
        line-height: 1.3;
    }

    .board-member img {
        width: 100%;
        aspect-ratio: 4 / 3;
        max-width: 200px;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .bio-modal-content {
        background: white;
        margin-left: auto;
        margin-right: auto;
        padding: 2rem;
        border-radius: 16px;
        max-width: 280px;
        position: relative;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        max-height: 80vh;
        overflow-y: auto;
        margin-top: 80px;
    }

    .bio-modal-content img {
        width: 100px;
        height: 100px;
        margin: 0 auto;

    }

    .bio-modal-content h4 {
        font-size: 1.2rem;
        margin-top: 0.25rem;
    }

    #bio-modal-role {
        font-size: 1rem;
        color: #b2186d;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        font-style: italic;
        text-align: center;
    }

    .bio-modal-content p {
        font-size: 1rem;
        color: #4b5563;
        line-height: 1.6;
        text-align: center;
        margin-top: 0.1rem;
    }
}

@media (min-width:735px) {

    .board,
    .founders,
    .team {
        padding: 2rem;
    }

    .section-header {
        padding: 10px;
        padding-bottom: 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        color: #6b7280;
        margin-top: 0.65rem;
    }

    .board-member {
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        justify-self: center;
        max-width: 200px;
        align-self: stretch;
        cursor: pointer;
        height: 240px
    }

    .board-member h4 {
        margin: 0.5rem;
        font-size: 1rem;
    }

    .board-member .role {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .board-member img {
        width: 100%;
        aspect-ratio: 4 / 3;
        max-width: 200px;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .bio-modal-content {
        padding: 2rem;
        max-width: 500px;
        max-height: 80vh;
        margin-top: 250px;
    }

    .bio-modal-content img {
        width: 100px;
        height: 100px;
        margin: 0 auto;

    }

    .bio-modal-content h4 {
        font-size: 1.2rem;
        margin-top: 0.25rem;
    }

    #bio-modal-role {
        font-size: 1rem;
        color: #b2186d;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        font-style: italic;
        text-align: center;
    }

    .bio-modal-content p {
        font-size: 1rem;
        color: #4b5563;
        line-height: 1.6;
        text-align: center;
        margin-top: 0.1rem;
    }
}

@media (min-width: 954px) and (max-width: 3000px) {

    .board,
    .founders,
    .team {
        padding: 2rem;
    }

    .section-header {
        padding: 10px;
        padding-bottom: 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        color: #6b7280;
        margin-top: 0.65rem;
    }

    .founders .board-grid {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .board-member {
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        justify-self: center;
        max-width: 200px;
        align-self: stretch;
        cursor: pointer;
        height: 240px
    }

    .board-member h4 {
        margin: 0.5rem;
        font-size: 1rem;
    }

    .board-member .role {
        font-size: 0.85rem;
        margin-bottom: 0;
        line-height: 1.3;
    }

    .board-member img {
        width: 100%;
        aspect-ratio: 4 / 3;
        max-width: 200px;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .bio-modal-content {
        padding: 2rem;
        max-width: 500px;
        max-height: 80vh;
        margin-top: 250px;
    }

    .bio-modal-content img {
        width: 100px;
        height: 100px;
        margin: 0 auto;

    }

    .bio-modal-content h4 {
        font-size: 1.2rem;
        margin-top: 0.25rem;
    }

    #bio-modal-role {
        font-size: 1rem;
        color: #b2186d;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        font-style: italic;
        text-align: center;
    }

    .bio-modal-content p {
        font-size: 1rem;
        color: #4b5563;
        line-height: 1.6;
        text-align: center;
        margin-top: 0.1rem;
    }

    .founders .board-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .team .board-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}
}

.section-title {
    font-size: 2rem;
    position: relative;
    display: inline-block;
    margin-bottom: 0.5rem;
    color: #333;
}

.section-title::after {
    /* Accent line under the title */
    content: "";
    display: block;
    width: 70%;
    max-width: 150px;
    height: 4px;
    background: #b2186d;
    /* Primary accent color */
    margin: 0.5rem auto 0;
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #6b7280;
    margin-top: 0.75rem;
}

.text-accent {
    color: #b2186d;
    /* Consistent color for accent text */
}

/* --------------------------- Board Member Grid & Cards (Unified) --------------------------- */

/* Apply this single grid style to all three sections (.board, .founders, .team) */
.board-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 30px;
    padding: 1rem 0;
    grid-auto-rows: 1fr;
    position: relative;
}

/* Unified Card Style for all members (Founders, Board, Team) */
.board-member {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    /* Clean, defined shadow */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-align: center;
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    justify-self: center;
    max-width: 320px;
    align-self: stretch;
    cursor: pointer;
    line-height: 1;
}

.board-member:hover {
    transform: translateY(-8px);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.18);
}

.board-member h4 {
    margin: 1rem 0 0.25rem;
    font-size: 1rem;
    font-weight: 600;
    color: #333;
}

.board-member .role {
    font-size: 0.85rem;
    color: #6b7280;
    margin-bottom: 0;
    line-height: 1.3;
}

.board-member img {
    width: 100%;
    aspect-ratio: 4 / 3;
    max-width: 300px;
    height: auto;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 0.5rem;
}

/* --------------------------- Bio Modal (Clean Look) --------------------------- */
.bio-modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.75);
    /* Darker overlay for focus */
    backdrop-filter: blur(5px);
    /* Optional: add a blur effect */
}

.bio-modal-content {
    background: white;
    margin-left: auto;
    margin-right: auto;
    padding: 2rem;
    border-radius: 16px;
    max-width: 600px;
    position: relative;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
    max-height: 90vh;
    overflow-y: auto;
    line-height: 1;
}

.bio-modal-content img {
    /* Modal image is made circular for a profile-like display */
    width: 150px;
    height: 150px;
    border-radius: 50%;
    /* Circular image in the modal */
    object-fit: cover;
    margin: 0 auto 1.5rem;
    border: 4px solid #b2186d;
    /* Accent border */
}

.bio-modal-content h4 {
    font-size: 1.8rem;
    font-weight: 700;
    color: #333;

}

#bio-modal-role {
    font-size: 1rem;
    color: #b2186d;
    font-style: italic;
    text-align: center;
}

.bio-modal-content p {
    font-size: 1rem;
    color: #4b5563;
    line-height: 1;
    text-align: center;
    margin-top: 1rem;
}

/* The close button is hidden to rely on click-outside/ESC for the clean look */
.bio-modal-close {
    display: none !important;
}

/* --------------------------- Responsive Styles --------------------------- */
@media (max-width: 390px) {
       #ashley {
  margin-left: auto;
  margin-right: auto;
  display: grid;
}
}
@media (max-width:480px) {

    .board,
    .founders,
    .team {
        padding: 1rem;
    }

    .section-header {
        padding: 10px;
        padding-bottom: 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        color: #6b7280;
        margin-top: 0.65rem;
    }

    .board-member {
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        justify-self: center;
        max-width: 200px;
        align-self: stretch;
        cursor: pointer;
    }

    .board-member h4 {
        margin: 0.5rem;
        font-size: 1.2rem;
    }

    .board-member .role {
        font-size: 0.9rem;
        margin-bottom: 0;
        line-height: 1.3;
    }

    .board-member img {
        width: 100%;
        aspect-ratio: 4 / 3;
        max-width: 200px;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .bio-modal-content {
        background: white;
        margin-left: auto;
        margin-right: auto;
        padding: 2rem;
        border-radius: 16px;
        max-width: 280px;
        position: relative;
        text-align: center;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.25);
        max-height: 80vh;
        overflow-y: auto;
        margin-top: 80px;
    }

    .bio-modal-content img {
        width: 100px;
        height: 100px;
        margin: 0 auto;

    }

    .bio-modal-content h4 {
        font-size: 1.2rem;
        margin-top: 0.25rem;
    }

    #bio-modal-role {
        font-size: 1rem;
        color: #b2186d;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        font-style: italic;
        text-align: center;
    }

    .bio-modal-content p {
        font-size: 1rem;
        color: #4b5563;
        line-height: 1.6;
        text-align: center;
        margin-top: 0.1rem;
    }
}

@media (min-width:735px) {

    .board,
    .founders,
    .team {
        padding: 2rem;
    }

    .section-header {
        padding: 10px;
        padding-bottom: 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        color: #6b7280;
        margin-top: 0.65rem;
    }

    .board-member {
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        justify-self: center;
        max-width: 200px;
        align-self: stretch;
        cursor: pointer;
        height: 240px
    }

    .board-member h4 {
        margin: 0.5rem;
        font-size: 1rem;
    }

    .board-member .role {
        font-size: 1rem;
        margin-bottom: 0;
    }

    .board-member img {
        width: 100%;
        aspect-ratio: 4 / 3;
        max-width: 200px;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .bio-modal-content {
        padding: 2rem;
        max-width: 500px;
        max-height: 80vh;
        margin-top: 250px;
    }

    .bio-modal-content img {
        width: 100px;
        height: 100px;
        margin: 0 auto;

    }

    .bio-modal-content h4 {
        font-size: 1.2rem;
        margin-top: 0.25rem;
    }

    #bio-modal-role {
        font-size: 1rem;
        color: #b2186d;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        font-style: italic;
        text-align: center;
    }

    .bio-modal-content p {
        font-size: 1rem;
        color: #4b5563;
        line-height: 1.6;
        text-align: center;
        margin-top: 0.1rem;
    }
}

@media (min-width: 954px) and (max-width: 3000px) {

    .board,
    .founders,
    .team {
        padding: 2rem;
    }

    .section-header {
        padding: 10px;
        padding-bottom: 0;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .section-subtitle {
        font-size: 1rem;
        color: #6b7280;
        margin-top: 0.65rem;
    }

    .founders .board-grid {
        display: flex;
        flex-wrap: nowrap;
        justify-content: center;
    }

    .board-member {
        padding-bottom: 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        justify-self: center;
        max-width: 200px;
        align-self: stretch;
        cursor: pointer;
        height: 240px
    }

    .board-member h4 {
        margin: 0.5rem;
        font-size: 1rem;
    }

    .board-member .role {
        font-size: 0.85rem;
        margin-bottom: 0;
        line-height: 1.3;
    }

    .board-member img {
        width: 100%;
        aspect-ratio: 4 / 3;
        max-width: 200px;
        height: auto;
        object-fit: cover;
        border-radius: 8px;
        margin-bottom: 0.5rem;
    }

    .bio-modal-content {
        padding: 2rem;
        max-width: 500px;
        max-height: 80vh;
        margin-top: 250px;
    }

    .bio-modal-content img {
        width: 100px;
        height: 100px;
        margin: 0 auto;

    }

    .bio-modal-content h4 {
        font-size: 1.2rem;
        margin-top: 0.25rem;
    }

    #bio-modal-role {
        font-size: 1rem;
        color: #b2186d;
        margin-top: 0.5rem;
        margin-bottom: 0.5rem;
        font-style: italic;
        text-align: center;
    }

    .bio-modal-content p {
        font-size: 1rem;
        color: #4b5563;
        line-height: 1.6;
        text-align: center;
        margin-top: 0.1rem;
    }

    .founders .board-grid {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .team .board-grid {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }
}