/* ========================== Programs ========================== */

.programs {
    align-self: stretch;
    padding: 80px var(--space-10) var(--space-32);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: var(--space-10);
}

.programs__grid {
    width: 100%;
    max-width: 1280px;
    display: flex;
    align-items: stretch;
    gap: var(--space-6);
}

.program-card {
    flex: 1 1 0;
    min-width: 0;
    min-height: 200px;
    padding: var(--space-8);
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 28px;
    background: var(--pink-500);
    border: 1px solid var(--pink-500);
    border-radius: 16px;
    overflow: hidden;
}

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

.program-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);
}

.programs__note {
    margin: 0;
    text-align: center;
    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: var(--text-body-sm);
    font-style: italic;
    font-weight: var(--font-regular);
    line-height: var(--leading-body-sm);
}


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

.about {
    align-self: stretch;
    padding: var(--space-28) var(--space-10);
    display: flex;
    justify-content: center;
}

.about__container {
    width: 100%;
    max-width: 1280px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.about__content {
    width: 100%;
    max-width: 640px;
    display: flex;
    flex-direction: column;
    gap: var(--space-16);
}

.about__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-1);
}

.about__eyebrow {
    margin: 0;
    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: 18px;
    font-weight: var(--font-regular);
    line-height: 28px;
    text-transform: uppercase;
}

.about__title {
    margin: 0;
    color: var(--pink-500);
    font-family: var(--font-family-primary);
    font-size: var(--text-h2);
    font-weight: var(--font-bold);
    line-height: var(--leading-h2);
}

.about__body {
    display: flex;
    flex-direction: column;
    gap: var(--space-5);
}

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

.about__image {
    width: 100%;
    max-width: 520px;
    height: auto;
    aspect-ratio: 1 / 1;
    display: block;
    object-fit: cover;
    border-radius: 20px;
}


/* ========================== Stats ========================== */

.stats {
    width: 100%;
    padding: var(--space-10);
    box-sizing: border-box;
    background: var(--color-white);
}

.stats__container {
    width: 100%;
    max-width: 1024px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: var(--space-8);
}

.stats__card {
    min-width: 0;
    padding: var(--space-8);
    box-sizing: border-box;
    background: var(--deep-petrol-500, #19414B);
    border-radius: 20px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-4);
}

.stats__value {
    width: 100%;
    margin: 0;
    color: var(--pink-150, #F7B2D8);
    font-family: var(--font-family-primary);
    font-size: 40px;
    font-weight: var(--font-bold);
    line-height: 1.2;
    letter-spacing: -0.02em;
    overflow-wrap: break-word;
}

.stats__description {
    width: 100%;
    margin: 0;
    color: var(--color-white);
    font-family: var(--font-family-primary);
    font-size: var(--text-body-sm);
    font-weight: var(--font-regular);
    line-height: 1.45;
    overflow-wrap: break-word;
}


/* ========================== Expectations ========================== */

.expectations {
    align-self: stretch;
    padding: var(--space-28) var(--space-10);
    display: flex;
    justify-content: center;
}

.expectations__container {
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-20);
}

.expectations__header {
    width: 100%;
    max-width: 684px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-5);
}

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

.expectations__subtitle {
    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);
    text-align: center;
}

.expectations__image {
    width: 100%;
    max-width: 1280px;
    height: auto;
    aspect-ratio: 16 / 7;
    display: block;
    object-fit: cover;
    border-radius: 24px;
}

.expectations__description {
    width: 100%;
    max-width: 836px;
    margin: 0;
    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: var(--text-body);
    font-weight: var(--font-regular);
    line-height: var(--leading-body);
    text-align: center;
}


/* ========================== Community ========================== */

.community {
    padding: var(--space-24) var(--space-10);
    display: flex;
    justify-content: center;
    background: linear-gradient(270deg, #5C0032 0%, #C20069 100%);
    isolation: isolate;
    position: relative;
}

.community__container {
    width: 100%;
    max-width: 1280px;
    position: relative;
}

.community__card {
    padding: var(--space-10);
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    gap: 80px;
    align-items: start;
    background: var(--color-white);
    border-radius: 20px;
    box-shadow: 0 8px 40px rgba(0, 0, 0, .12);
}

.community__content {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    flex: 1 0 0;
    align-self: stretch;
}

.community__header {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

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

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

.community__image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    border-radius: 20px;
}

.community__events {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: var(--space-6);
}

.community__event {
    padding: var(--space-4);
    display: flex;
    align-items: flex-start;
    gap: var(--space-3);
    background: var(--grey-150);
    border-radius: 16px;
    transition: transform .25s ease, box-shadow .25s ease;
}

.community__event-link {
    display: flex;
    width: 100%;
    color: inherit;
    text-decoration: none;
}

.community__event-link:hover,
.community__event-link:focus,
.community__event-link:active,
.community__event-link:visited {
    color: inherit;
    text-decoration: none;
}

.community__event:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, .08);
}

.community__date {
    width: 70px;
    height: 70px;
    flex-shrink: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--pink-500);
    border-radius: 4px;
}

.community__date-text {
    margin: 0;
    color: var(--color-white);
    text-align: center;
    font-family: var(--font-family-primary);
    font-size: 24px;
    font-weight: var(--font-semibold);
    line-height: 28px;
}

.community__event-content {
    flex: 1;
    padding-inline: var(--space-2);
    display: flex;
    flex-direction: column;
    gap: var(--space-3);
}

.community__event-title {
    margin: 0;
    color: var(--grey-900);
    font-family: var(--font-family-primary);
    font-size: 20px;
    font-weight: var(--font-semibold);
    line-height: 24px;
}

.community__event-description {
    margin: 0;
    color: var(--grey-800);
    font-family: var(--font-family-primary);
    font-size: var(--text-caption);
    font-weight: var(--font-regular);
    line-height: 20px;
}


/* ========================== Why ========================== */

.why {
    align-self: stretch;
    padding: var(--space-28) var(--space-10);
    display: flex;
    justify-content: center;
}

.why__container {
    width: 100%;
    max-width: 1280px;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: var(--space-20);
}

.why__heading {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: var(--space-5);
}

.why__heading-title {
    display: inline-flex;
    align-items: center;
    flex-wrap: wrap;
}

.why__heading-description {
    width: 100%;
    margin: 0;
    color: var(--grey-900);
    font-family: var(--font-family-primary);
    font-size: var(--text-body);
    font-weight: var(--font-regular);
    line-height: var(--leading-body);
}

.why__heading-text {
    padding: 0 6px;
    color: var(--grey-950);
    font-family: var(--font-family-primary);
    font-size: 32px;
    font-weight: var(--font-semibold);
    line-height: 40px;
}

.why__heading-highlight {
    padding: 0 6px;
    background: var(--pink-500);
    border-radius: 8px;
    color: var(--color-white);
    font-family: var(--font-family-secondary);
    font-size: 32px;
    font-style: italic;
    font-weight: var(--font-regular);
    line-height: 40px;
}

.why__grid {
    display: flex;
    justify-content: space-between;
    align-items: stretch;
    gap: var(--space-6);
}

.why-card {
    flex: 1;
    min-height: 300px;
    padding: var(--space-6);
    display: flex;
    flex-direction: column;
    gap: var(--space-10);
    background: var(--grey-150);
    border-radius: 16px;
}

.why-card__icon {
    width: 64px;
    height: 64px;
    display: flex;
    justify-content: center;
    align-items: center;
    background: var(--grey-150);
    color: var(--color-white);
}

.why-card__content {
    display: flex;
    flex-direction: column;
    gap: var(--space-4);
}

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

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


/* ========================== Tablet ========================== */

@media (max-width: 1200px) {

    .programs,
    .about,
    .expectations,
    .community,
    .why {
        padding-left: var(--space-8);
        padding-right: var(--space-8);
    }


    /* Programs */

    .programs__grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: stretch;
    }

    .program-card {
        width: 100%;
        min-height: 240px;
        height: 100%;
    }


    /* About */

    .about__container {
        flex-direction: column;
        gap: var(--space-10);
    }

    .about__content,
    .about__image {
        max-width: 100%;
    }


    /* Stats */

    .stats {
        padding: var(--space-8) var(--space-6);
    }

    .stats__container {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: var(--space-5);
    }

    .stats__card:last-child {
        grid-column: 1 / -1;
    }


    /* Expectations */

    .expectations__image {
        aspect-ratio: 16 / 8;
    }


    /* Community */

    .community__card {
        grid-template-columns: 1fr;
        gap: var(--space-10);
    }

    .community__content {
        width: 100%;
    }

    .community__image {
        width: 100%;
        min-height: 360px;
        max-height: 500px;
        object-fit: cover;
    }


    /* Why */

    .why__grid {
        flex-wrap: wrap;
    }

    .why-card {
        flex: 1 1 calc(50% - var(--space-6));
    }
}


/* ========================== Mobile ========================== */

@media (max-width: 768px) {

    .programs,
    .about,
    .expectations,
    .community,
    .why {
        padding-left: var(--space-5);
        padding-right: var(--space-5);
    }


    /* Programs */

    .programs {
        gap: var(--space-8);
    }

    .programs__grid {
        display: grid;
        grid-template-columns: 1fr;
        width: 100%;
    }

    .program-card {
        width: 100%;
        flex: none;
        height: auto;
    }


    /* About */

    .about__container {
        align-items: center;
    }

    .about__content {
        max-width: 100%;
    }

    .about__header,
    .about__body {
        width: 100%;
    }

    .about__title {
        font-size: var(--text-h3);
        line-height: var(--leading-h3);
    }

    .about__image {
        max-width: 100%;
    }


    /* Stats */

    .stats {
        padding: var(--space-6) var(--space-5);
    }

    .stats__container {
        grid-template-columns: 1fr;
        gap: var(--space-4);
    }

    .stats__card:last-child {
        grid-column: auto;
    }

    .stats__card {
        padding: var(--space-6);
    }

    .stats__value {
        font-size: 36px;
        line-height: 1.2;
    }


    /* Expectations */

    .expectations__container {
        gap: var(--space-10);
    }

    .expectations__header {
        max-width: 100%;
    }

    .expectations__title {
        font-size: var(--text-h3);
        line-height: var(--leading-h3);
    }

    .expectations__image {
        aspect-ratio: 4 / 3;
        border-radius: 20px;
    }

    .expectations__description {
        max-width: 100%;
        text-align: center;
    }


    /* Community */

    .community__card {
        padding: var(--space-6);
        border-radius: 16px;
    }

    .community__content {
        gap: var(--space-8);
    }

    .community__title {
        font-size: var(--text-h3);
        line-height: var(--leading-h3);
    }

    .community__image {
        min-height: 280px;
        max-height: 400px;
        border-radius: 16px;
    }

    .community__event {
        padding: var(--space-3);
    }


    /* Why */

    .why__container {
        gap: var(--space-10);
    }

    .why__heading {
        align-items: center;
        text-align: center;
        gap: var(--space-4);
    }

    .why__heading-title {
        width: 100%;
        display: block;
        text-align: center;
    }

    .why__heading-text,
    .why__heading-highlight {
        display: inline;
        padding: 0 4px;
        font-size: 28px;
        line-height: 36px;
    }

    .why__heading-highlight {
        border-radius: 6px;
        box-decoration-break: clone;
        -webkit-box-decoration-break: clone;
    }

    .why__heading-description {
        width: 100%;
        max-width: 520px;
        text-align: center;
    }

    .why__grid {
        width: 100%;
        flex-direction: column;
        gap: var(--space-4);
    }

    .why-card {
        width: 100%;
        min-height: auto;
        flex: none;
        padding: var(--space-5);
        gap: var(--space-6);
    }

    .why-card__content {
        gap: var(--space-3);
    }
}


/* ========================== Small Mobile ========================== */

@media (max-width: 480px) {

    .programs,
    .about,
    .expectations,
    .community,
    .why {
        padding-left: var(--space-4);
        padding-right: var(--space-4);
    }


    /* Programs */

    .program-card {
        padding: var(--space-6);
    }

    .program-card__title {
        font-size: var(--text-h5);
        line-height: var(--leading-h5);
    }

    .program-card__description,
    .programs__note,
    .why-card__description {
        font-size: var(--text-body-sm);
        line-height: var(--leading-body-sm);
    }


    /* About */

    .about__title,
    .expectations__title,
    .community__title {
        font-size: var(--text-h4);
        line-height: var(--leading-h4);
    }

    .about__image {
        border-radius: 16px;
    }


    /* Stats */

    .stats {
        padding: var(--space-4);
    }

    .stats__card {
        padding: var(--space-6);
        border-radius: 16px;
    }

    .stats__value {
        font-size: 32px;
        line-height: 1.2;
    }

    .stats__description {
        font-size: var(--text-body-sm);
        line-height: 1.45;
    }


    /* Expectations */

    .expectations__image {
        aspect-ratio: 1 / 1;
        border-radius: 16px;
    }


    /* Community */

    .community__card {
        padding: var(--space-5);
    }

    .community__image {
        min-height: 240px;
        border-radius: 12px;
    }

    .community__event {
        flex-direction: column;
        gap: var(--space-3);
    }

    .community__date {
        width: 60px;
        height: 60px;
    }

    .community__date-text {
        font-size: 20px;
        line-height: 24px;
    }

    .community__event-content {
        padding-inline: 0;
    }


    /* Why */

    .why__heading-text,
    .why__heading-highlight {
        font-size: 24px;
        line-height: 32px;
    }

    .why-card {
        padding: var(--space-5);
        border-radius: 14px;
        gap: var(--space-5);
    }

    .why-card__icon {
        width: 56px;
        height: 56px;
    }
}