/* ==========================About========================== */

.founder-message {
    padding: 80px 40px;
    display: flex;
    justify-content: center;
    background-color: var(--color-ivory);
}

.founder-message__container {
    width: 100%;
    max-width: 1280px;
}

.founder-message__content {
    display: flex;
    align-items: stretch;
    gap: 40px;
    max-height: 600px;
}

/* Card */

.founder-message__card {
    width: 480px;
    padding: 40px;
    background: var(--ivory-500);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
}

.founder-message__avatar {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border-radius: 12px;
    outline: 4px solid var(--color-white);
    outline-offset: -2px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.founder-message__quote {
    margin: 0;
    color: var(--pink-500);
    font-family: var(--font-family-display);
    font-size: var(--text-h4);
    font-style: italic;
    font-weight: var(--font-regular);
    line-height: var(--leading-h3);
    text-align: center;
}

.founder-message__author {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
}

.founder-message__name {
    margin: 0;
    color: var(--color-deep-petrol);
    font-family: var(--font-family-primary);
    font-size: var(--text-h6);
    font-weight: var(--font-semibold);
    line-height: var(--leading-h6);
    text-align: center;
}

.founder-message__role {
    margin: 0;
    color: var(--grey-800);
    font-family: var(--font-family-primary);
    font-size: var(--text-body-sm);
    font-weight: var(--font-regular);
    line-height: var(--leading-body-sm);
    text-align: center;
}

/* Image */

.founder-message__image-wrapper {
    flex: 1;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.founder-message__image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* ==========================Team Section========================== */

.team {
    padding: 128px 40px;
    display: flex;
    justify-content: center;
}

.team__container {
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    gap: 112px;
}

.team__header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 64px;
}

.team__heading {
    flex: 1;
}

.team__intro {
    width: 410px;
}

.team__title {
    margin: 0;
    color: var(--grey-950);
    font-size: var(--text-h2);
    font-family: var(--font-family-primary);
    font-weight: var(--font-bold);
    line-height: var(--leading-display-sm);
}

.team__description {
    margin: 0;
    color: var(--grey-950);
    font-size: var(--text-body);
    font-family: var(--font-family-primary);
    font-weight: var(--font-regular);
    line-height: var(--leading-body);
}

.team__content {
    display: flex;
    flex-direction: column;
    gap: 64px;
}

/*==================================Filter==================================*/

.team-filter {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 0;
    border-bottom: 1px solid var(--grey-800);
}

.team-filter__button {
    padding: 12px 20px;
    background: transparent;
    border: none;
    border-bottom: 2px solid transparent;
    cursor: pointer;
    color: var(--grey-950);
    font-size: var(--text-h6);
    font-family: var(--font-family-primary);
    font-weight: var(--font-semibold);
    line-height: var(--leading-h6);
    transition: .3s;
}

.team-filter__button:hover {
    color: var(--pink-500);
}

.team-filter__button--active {
    color: var(--pink-500);
    border-color: var(--pink-500);
}

/*==================================Grid==================================*/

.team__grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 48px 40px;
}

/*==================================Card==================================*/

.team-card {
min-width: 0;
    display: flex;
    flex-direction: column;
    gap: 20px;
    padding: 10px;
    border-radius: 20px;
}

.team-card__image {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border-radius: 16px;
}

.team-card__content {
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 0 10px;
}

.team-card__name {
    margin: 0;
    color: var(--grey-950);
    font-size: var(--text-h6);
    font-family: var(--font-family-primary);
    font-weight: var(--font-semibold);
    line-height: var(--leading-h6);
}

.team-card__role {
    margin: 0;
    color: var(--grey-950);
    font-size: var(--text-body-sm);
    font-family: var(--font-family-primary);
    font-weight: var(--font-regular);
    line-height: var(--leading-body-sm);
}

/* ==========================About Approach========================== */

.about-approach {
    padding: 120px 40px;
    display: flex;
    justify-content: center;
    background-color: var(--grey-150);
}

.about-approach__container {
    width: 100%;
    max-width: 1280px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.about-approach__content {
    flex: 0 0 822px;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-approach__top {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-approach__image {
    flex: 1;
    max-width: 391px;
    height: 341px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.about-approach__text {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-approach__bottom {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.about-approach__title {
    margin: 0;
    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: var(--text-h4);
    font-weight: var(--font-semibold);
    line-height: var(--leading-h4);
}

.about-approach__description {
    margin: 0;
    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: var(--text-body-lg);
    font-weight: var(--font-regular);
    line-height: var(--leading-body-lg);
}

.about-approach__aside {
    flex: 1;
    align-self: stretch;
}

.about-approach__aside-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}


/* ==========================Program Highlights========================== */

.program-highlights {
    padding: 128px 40px;
    display: flex;
    justify-content: center;
}

.program-highlights__container {
    width: 100%;
    max-width: 1280px;
    display: flex;
    align-items: flex-start;
    gap: 80px;
}

.program-highlights__content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 80px;
}

.program-highlights__intro {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.program-highlights__title {
    margin: 0;
    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: var(--text-h3);
    font-weight: var(--font-semibold);
    line-height: var(--leading-h3);
}

.program-highlights__description {
    margin: 0;
    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: var(--text-body-lg);
    font-weight: var(--font-regular);
    line-height: var(--leading-body-lg);
}

.program-highlights__image {
    width: 100%;
    aspect-ratio: 600 / 538;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.program-highlights__cards {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* Card */

.highlight-card {
    padding: 24px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: var(--pink-500);
    border-radius: 16px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.highlight-card__title {
    margin: 0;
    color: var(--color-white);
    font-family: var(--font-family-primary);
    font-size: var(--text-h6);
    font-weight: var(--font-semibold);
    line-height: var(--leading-h6);
}

.highlight-card__description {
    margin: 0;
    color: var(--color-white);
    font-family: var(--font-family-primary);
    font-size: var(--text-body);
    font-weight: var(--font-regular);
    line-height: var(--leading-body);
}


/* ==========================Mission Overview========================== */

.mission-overview {
    padding: 128px 40px;
    display: flex;
    justify-content: center;
    background-color: var(--grey-150);
}

.mission-overview__container {
    width: 100%;
    max-width: 1280px;
}

.mission-overview__content {
    display: flex;
    align-items: flex-start;
    gap: 60px;
}

.mission-overview__learning,
.mission-overview__vision {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.mission-overview__image {
    flex: 1;
    height: 505px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, 0.12);
}

.mission-overview__title {
    margin: 0;
    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: var(--text-h3);
    font-weight: var(--font-semibold);
    line-height: var(--leading-h3);
}

.mission-overview__description {
    margin: 0;
    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: var(--text-body-lg);
    font-weight: var(--font-regular);
    line-height: var(--leading-body-lg);
}

.mission-overview__stack {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

/* ==========================Mission Card========================== */

.mission-card {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.mission-card__title {
    margin: 0;
    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: var(--text-h4);
    font-weight: var(--font-semibold);
    line-height: var(--leading-h4);
}

.mission-card__description {
    margin: 0;
    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: var(--text-body-lg);
    font-weight: var(--font-regular);
    line-height: var(--leading-body-lg);
}






/* ==========================Responsive========================== */

/* Tablet */

@media (max-width: 992px) {

    .founder-message,
    .team,
    .about-approach,
    .program-highlights,
    .mission-overview {
        padding: 80px 24px;
    }

    .founder-message__content,
    .team__header,
    .about-approach__container,
    .about-approach__top,
    .program-highlights__container,
    .mission-overview__content {
        flex-direction: column;
    }

    .founder-message__content {
        max-height: none;
    }

    .founder-message__card,
    .team__description {
        width: 100%;
    }

    .team__container {
        gap: 80px;
    }

    .team__intro {
        width: 100%;
        max-width: 100%;
    }

    .team__content {
        gap: 48px;
    }

    .team-filter {
        flex-wrap: wrap;
        justify-content: flex-start;
        gap: 12px 16px;
        border-bottom: none;
    }

    .team-filter__button {
        padding: 10px 16px;
        font-size: var(--text-body);
        line-height: var(--leading-body);
        border: 1px solid var(--grey-300);
        border-radius: 999px;
    }

    .team-filter__button--active {
        background: var(--pink-500);
        color: var(--color-white);
        border-color: var(--pink-500);
    }

    .team__grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px 24px;
    }

    .about-approach__content {
        flex: 1;
    }

    .about-approach__image,
    .about-approach__aside-image,
    .program-highlights__image,
    .mission-overview__image,
    .founder-message__image {
        width: 100%;
        height: auto;
        aspect-ratio: 16 / 10;
    }

    .program-highlights__content {
        gap: 48px;
    }

    .program-highlights__cards {
        width: 100%;
    }
}


/* Mobile */

@media (max-width: 768px) {

    .founder-message,
    .team,
    .about-approach,
    .program-highlights,
    .mission-overview {
        padding: 64px 20px;
    }

    .team__container {
        gap: 64px;
    }

    .founder-message__content,
    .team__header,
    .about-approach__container,
    .about-approach__top,
    .program-highlights__container,
    .mission-overview__content {
        flex-direction: column;
        gap: 32px;
    }

    .founder-message__quote,
    .team__title,
    .about-approach__title,
    .program-highlights__title,
    .mission-overview__title {
        font-size: var(--text-h4);
        line-height: var(--leading-h4);
    }

    .team__description,
    .about-approach__description,
    .program-highlights__description,
    .mission-overview__description,
    .mission-card__description {
        font-size: var(--text-body);
        line-height: var(--leading-body);
    }

    .founder-message__card,
    .highlight-card {
        padding: 20px;
    }

    .mission-card__title,
    .highlight-card__title {
        font-size: var(--text-h6);
        line-height: var(--leading-h6);
    }

    .founder-message__avatar {
        width: 80px;
        height: 80px;
    }

    /* Team */

    .team__content {
        gap: 32px;
    }

.team-filter {
    position: sticky;
    top: var(--header-height, 0px);
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 12px 0;
    background: var(--color-white);
    border-bottom: 1px solid var(--grey-300);
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.team-filter::-webkit-scrollbar {
    display: none;
}

    .team-filter__button {
        flex-shrink: 0;
        padding: 10px 16px;
        font-size: var(--text-body-sm);
        line-height: var(--leading-body-sm);
        border: 1px solid var(--grey-300);
        border-radius: 999px;
    }

    .team-filter__button--active {
        background: var(--pink-500);
        color: var(--color-white);
        border-color: var(--pink-500);
    }

    .team__grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .team-card {
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 20px;
        padding: 12px;
        background: var(--color-white);
        border-radius: 20px;
    }

    .team-card__image {
        width: 140px;
        min-width: 140px;
        aspect-ratio: 1;
        object-fit: cover;
        border-radius: 16px;
    }

    .team-card__content {
        flex: 1;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        gap: 8px;
        padding: 0;
    }

    .team-card__name {
        font-size: var(--text-h6);
        line-height: var(--leading-h6);
    }

    .team-card__role {
        font-size: var(--text-body-sm);
        line-height: var(--leading-body-sm);
    }

    /* Images */

    .program-highlights__image,
    .mission-overview__image,
    .about-approach__image,
    .about-approach__aside-image,
    .founder-message__image {
        width: 100%;
        height: auto;
        aspect-ratio: 4 / 3;
    }
}
