/* =========================================================
   MUSANDA FOUNDATION
   About Page Styles
   ========================================================= */


/* =========================================================
   ABOUT PAGE HERO
   ========================================================= */

.page-hero {
    position: relative;

    min-height: 55vh;

    display: flex;

    align-items: center;

    overflow: hidden;

    color: var(--white-color);
}


.page-hero-background {
    position: absolute;

    inset: 0;

    z-index: 0;
}


.page-hero-background img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.page-hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 1;

    background:
        linear-gradient(
            90deg,
            rgba(26, 26, 26, 0.88),
            rgba(26, 26, 26, 0.45)
        );
}


.page-hero-container {
    position: relative;

    z-index: 2;

    width: 90%;

    padding-top: 80px;
}


.page-hero-content {
    max-width: 750px;
}


.page-hero-label {
    display: inline-block;

    margin-bottom: 15px;

    font-family: var(--heading-font);

    font-size: 0.75rem;
    font-weight: 600;

    letter-spacing: 3px;
}


.page-hero-label::before {
    content: "";

    display: inline-block;

    width: 35px;
    height: 2px;

    margin-right: 12px;

    vertical-align: middle;

    background-color: var(--secondary-color);
}


.page-hero h1 {
    margin-bottom: 20px;

    color: var(--white-color);

    font-size: clamp(3rem, 6vw, 5rem);

    line-height: 1.05;
}


.page-hero p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, 0.85);

    font-size: 1.05rem;

    line-height: 1.8;
}


/* =========================================================
   FOUNDATION BACKGROUND
   ========================================================= */

.foundation-background {
    background-color: var(--white-color);
}


.foundation-background-grid {
    display: grid;

    grid-template-columns: 0.9fr 1.1fr;

    align-items: center;

    gap: 80px;
}


/* =========================================================
   BACKGROUND IMAGE
   ========================================================= */

.foundation-background-image {
    position: relative;

    min-height: 550px;
}


.foundation-background-image::after {
    content: "";

    position: absolute;

    right: -20px;
    bottom: -20px;

    width: 75%;
    height: 75%;

    background-color: var(--secondary-color);

    border-radius: var(--radius-medium);

    z-index: 0;
}


.foundation-background-image img {
    position: relative;

    z-index: 1;

    width: 92%;
    height: 550px;

    object-fit: cover;

    border-radius: var(--radius-medium);
}


/* =========================================================
   BACKGROUND CONTENT
   ========================================================= */

.foundation-background-content {
    max-width: 650px;
}


.foundation-background-content h2 {
    margin-bottom: 25px;

    color: var(--primary-color);

    font-size: 2.7rem;

    line-height: 1.2;
}


.foundation-background-content h2 span {
    display: block;

    color: var(--secondary-color);
}


.foundation-background-content p {
    color: var(--grey-color);

    line-height: 1.8;
}


.foundation-background-content .foundation-intro {
    color: var(--black-color);

    font-size: 1.05rem;

    font-weight: 500;
}


/* =========================================================
   STORY HIGHLIGHT
   ========================================================= */

.story-highlight {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 30px;

    padding: 20px 25px;

    background-color: var(--light-color);

    border-left: 4px solid var(--secondary-color);

    border-radius: 0 var(--radius-small) var(--radius-small) 0;
}


.story-highlight i {
    color: var(--secondary-color);

    font-size: 1.3rem;
}


.story-highlight p {
    margin: 0;

    color: var(--primary-color);

    font-family: var(--accent-font);

    font-size: 1.6rem;

    font-weight: 600;
}

/* =========================================================
   MISSION & VISION
   ========================================================= */

.mission-vision {
    background-color: var(--light-color);
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.mission-vision-header {
    max-width: 720px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


.mission-vision-header .section-title {
    margin-bottom: 20px;

    font-size: 2.4rem;
}


.mission-vision-header .section-title span {
    display: block;

    color: var(--secondary-color);
}


/* =========================================================
   MISSION & VISION GRID
   ========================================================= */

.mission-vision-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 25px;

    margin-top: 50px;
}


/* =========================================================
   PURPOSE CARD
   ========================================================= */

.purpose-card {
    position: relative;

    padding: 45px;

    overflow: hidden;

    border-radius: var(--radius-medium);

    background-color: var(--white-color);

    box-shadow: var(--shadow-small);

    transition: var(--transition-normal);
}


.purpose-card:hover {
    transform: translateY(-6px);

    box-shadow: var(--shadow-medium);
}


/* =========================================================
   MISSION CARD
   ========================================================= */

.mission-card {
    color: var(--white-color);

    background-color: var(--primary-color);
}


.mission-card .purpose-label,
.mission-card h3,
.mission-card p {
    color: var(--white-color);
}


.mission-card p {
    color: rgba(255, 255, 255, 0.78);
}


/* =========================================================
   VISION CARD
   ========================================================= */

.vision-card {
    border-top: 5px solid var(--secondary-color);
}


.vision-card .purpose-label {
    color: var(--secondary-color);
}


/* =========================================================
   PURPOSE ICON
   ========================================================= */

.purpose-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 60px;
    height: 60px;

    margin-bottom: 25px;

    color: var(--white-color);

    background-color: var(--secondary-color);

    border-radius: 50%;

    font-size: 1.3rem;
}


.vision-card .purpose-icon {
    color: var(--white-color);

    background-color: var(--primary-color);
}


/* =========================================================
   PURPOSE LABEL
   ========================================================= */

.purpose-label {
    display: block;

    margin-bottom: 12px;

    color: var(--primary-color);

    font-family: var(--heading-font);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 2px;
}


/* =========================================================
   PURPOSE HEADING
   ========================================================= */

.purpose-card h3 {
    margin-bottom: 20px;

    color: var(--primary-color);

    font-size: 1.9rem;

    line-height: 1.2;
}


.purpose-card h3 span {
    display: block;

    color: var(--secondary-color);
}


.mission-card h3 span {
    color: var(--secondary-color);
}


/* =========================================================
   PURPOSE DESCRIPTION
   ========================================================= */

.purpose-card > p {
    max-width: 550px;

    min-height: 105px;

    margin-bottom: 30px;

    color: var(--grey-color);

    line-height: 1.8;
}


/* =========================================================
   PURPOSE DIVIDER
   ========================================================= */

.purpose-line {
    width: 100%;
    height: 1px;

    margin-bottom: 20px;

    background-color: var(--light-grey-color);
}


.mission-card .purpose-line {
    background-color: rgba(255, 255, 255, 0.15);
}


/* =========================================================
   PURPOSE FOOTER
   ========================================================= */

.purpose-footer {
    display: flex;

    align-items: center;

    gap: 10px;

    color: var(--primary-color);

    font-family: var(--heading-font);

    font-size: 0.7rem;

    font-weight: 600;
}


.mission-card .purpose-footer {
    color: var(--white-color);
}


.purpose-footer i {
    color: var(--secondary-color);
}


/* =========================================================
   DECORATIVE CARD ELEMENTS
   ========================================================= */

.purpose-card::after {
    content: "";

    position: absolute;

    right: -90px;
    bottom: -90px;

    width: 220px;
    height: 220px;

    border: 45px solid rgba(178, 32, 52, 0.08);

    border-radius: 50%;
}


.mission-card::after {
    border-color: rgba(255, 255, 255, 0.05);
}

/* =========================================================
   CORE VALUES
   ========================================================= */

.core-values {
    background-color: var(--white-color);
}


/* =========================================================
   SECTION HEADER
   ========================================================= */

.core-values-header {
    max-width: 720px;

    margin-left: auto;
    margin-right: auto;

    text-align: center;
}


.core-values-header .section-title {
    margin-bottom: 20px;

    font-size: 2.4rem;
}


.core-values-header .section-title span {
    display: block;

    color: var(--secondary-color);
}


/* =========================================================
   VALUES GRID
   ========================================================= */

.values-grid {
    display: grid;

    grid-template-columns: repeat(5, 1fr);

    gap: 15px;

    margin-top: 50px;
}


/* =========================================================
   VALUE CARD
   ========================================================= */

.value-card {
    position: relative;

    min-height: 300px;

    padding: 30px 22px;

    overflow: hidden;

    background-color: var(--light-color);

    border-radius: var(--radius-medium);

    border-bottom: 3px solid transparent;

    transition: var(--transition-normal);
}


.value-card:hover {
    transform: translateY(-7px);

    background-color: var(--white-color);

    border-bottom-color: var(--secondary-color);

    box-shadow: var(--shadow-medium);
}


/* =========================================================
   VALUE NUMBER
   ========================================================= */

.value-number {
    position: absolute;

    top: 15px;
    right: 18px;

    color: rgba(44, 48, 122, 0.08);

    font-family: var(--heading-font);

    font-size: 2.5rem;

    font-weight: 700;

    line-height: 1;
}


/* =========================================================
   VALUE ICON
   ========================================================= */

.value-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    margin-bottom: 25px;

    color: var(--white-color);

    background-color: var(--primary-color);

    border-radius: 50%;

    font-size: 1.1rem;

    transition: var(--transition-normal);
}


.value-card:hover .value-icon {
    background-color: var(--secondary-color);

    transform: scale(1.08);
}


/* =========================================================
   VALUE CONTENT
   ========================================================= */

.value-card h3 {
    margin-bottom: 12px;

    color: var(--primary-color);

    font-size: 1.15rem;
}


.value-card p {
    margin: 0;

    color: var(--grey-color);

    font-size: 0.85rem;

    line-height: 1.7;
}

/* =========================================================
   FOUNDER PROFILE
   ========================================================= */

.founder-profile {
    position: relative;

    overflow: hidden;

    background-color: var(--light-color);
}


/* =========================================================
   FOUNDER GRID
   ========================================================= */

.founder-profile-grid {
    display: grid;

    grid-template-columns: 0.85fr 1.15fr;

    align-items: center;

    gap: 80px;
}


/* =========================================================
   FOUNDER IMAGE
   ========================================================= */

.founder-profile-image {
    position: relative;

    min-height: 600px;

    padding-bottom: 40px;
}


.founder-image-frame {
    position: relative;

    z-index: 2;

    width: 90%;

    height: 570px;

    overflow: hidden;

    border-radius: var(--radius-medium);

    box-shadow: var(--shadow-large);
}


.founder-image-frame img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: var(--transition-slow);
}


.founder-image-frame:hover img {
    transform: scale(1.03);
}


/* =========================================================
   IMAGE ACCENT
   ========================================================= */

.founder-image-accent {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 75%;
    height: 75%;

    background-color: var(--secondary-color);

    border-radius: var(--radius-medium);

    z-index: 1;
}


/* =========================================================
   IMAGE LABEL
   ========================================================= */

.founder-image-label {
    position: absolute;

    right: 20px;
    bottom: 65px;

    z-index: 3;

    display: flex;

    flex-direction: column;

    padding: 15px 20px;

    color: var(--white-color);

    background-color: var(--primary-color);

    border-left: 4px solid var(--secondary-color);

    box-shadow: var(--shadow-medium);
}


.founder-image-label span {
    margin-bottom: 4px;

    font-family: var(--heading-font);

    font-size: 0.6rem;

    letter-spacing: 2px;

    opacity: 0.7;
}


.founder-image-label strong {
    font-family: var(--heading-font);

    font-size: 0.7rem;

    letter-spacing: 1px;
}


/* =========================================================
   FOUNDER CONTENT
   ========================================================= */

.founder-profile-content {
    max-width: 650px;
}


.founder-profile-content h2 {
    margin-bottom: 8px;

    color: var(--primary-color);

    font-size: 2.8rem;

    line-height: 1.15;
}


.founder-profile-content h2 span {
    display: block;

    color: var(--secondary-color);
}


.founder-role {
    margin-bottom: 25px;

    color: var(--primary-color) !important;

    font-family: var(--heading-font);

    font-size: 0.75rem;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.founder-profile-content > p {
    color: var(--grey-color);

    line-height: 1.8;
}


.founder-profile-content .founder-intro {
    margin-bottom: 15px;

    color: var(--black-color);

    font-size: 1.05rem;

    font-weight: 500;
}


/* =========================================================
   FOUNDER HIGHLIGHTS
   ========================================================= */

.founder-highlights {
    display: grid;

    grid-template-columns: repeat(3, 1fr);

    gap: 15px;

    margin-top: 35px;
}


.founder-highlight {
    padding: 20px 15px;

    background-color: var(--white-color);

    border-radius: var(--radius-small);

    border-top: 3px solid transparent;

    transition: var(--transition-normal);
}


.founder-highlight:hover {
    border-top-color: var(--secondary-color);

    transform: translateY(-4px);

    box-shadow: var(--shadow-small);
}


.founder-highlight-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 42px;
    height: 42px;

    margin-bottom: 15px;

    color: var(--white-color);

    background-color: var(--primary-color);

    border-radius: 50%;

    font-size: 0.85rem;
}


.founder-highlight h3 {
    margin-bottom: 7px;

    color: var(--primary-color);

    font-size: 0.85rem;
}


.founder-highlight p {
    margin: 0;

    color: var(--grey-color);

    font-size: 0.75rem;

    line-height: 1.6;
}


/* =========================================================
   FOUNDER QUOTE
   ========================================================= */

.founder-quote {
    display: flex;

    align-items: center;

    gap: 15px;

    margin-top: 35px;

    padding: 20px 25px;

    background-color: var(--primary-color);

    border-radius: var(--radius-small);
}


.founder-quote i {
    color: var(--secondary-color);

    font-size: 1.3rem;
}


.founder-quote p {
    margin: 0;

    color: var(--white-color);

    font-family: var(--accent-font);

    font-size: 1.5rem;

    font-weight: 600;
}

/* =========================================================
   ABOUT PAGE CTA
   ========================================================= */

.about-cta {
    position: relative;

    padding: 80px 0;

    overflow: hidden;

    color: var(--white-color);

    background-color: var(--primary-color);

    border-bottom: 8px solid var(--white-color);
}

/* =========================================================
   CTA / FOOTER SEPARATOR
   ========================================================= */

.about-cta + .footer {
    position: relative;
}


.about-cta + .footer::before {
    content: "";

    position: absolute;

    top: -8px;
    left: 50%;

    width: 90px;
    height: 8px;

    transform: translateX(-50%);

    background-color: var(--secondary-color);

    z-index: 5;
}

/* =========================================================
   DECORATIVE ELEMENTS
   ========================================================= */

.about-cta::before {
    content: "";

    position: absolute;

    top: -180px;
    right: -100px;

    width: 400px;
    height: 400px;

    border: 70px solid rgba(255, 255, 255, 0.05);

    border-radius: 50%;
}


.about-cta::after {
    content: "";

    position: absolute;

    bottom: -180px;
    left: -120px;

    width: 400px;
    height: 400px;

    border: 70px solid rgba(178, 32, 52, 0.2);

    border-radius: 50%;
}


/* =========================================================
   CTA CONTENT
   ========================================================= */

.about-cta-content {
    position: relative;

    z-index: 2;

    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 60px;
}


.about-cta-text {
    max-width: 700px;
}


.about-cta-text .section-label {
    color: var(--secondary-color);
}


.about-cta-text h2 {
    margin-bottom: 20px;

    color: var(--white-color);

    font-size: 2.7rem;

    line-height: 1.2;
}


.about-cta-text h2 span {
    display: block;

    color: var(--secondary-color);
}


.about-cta-text p {
    max-width: 650px;

    margin: 0;

    color: rgba(255, 255, 255, 0.78);

    line-height: 1.8;
}


/* =========================================================
   CTA ACTIONS
   ========================================================= */

.about-cta-actions {
    display: flex;

    flex-direction: column;

    align-items: flex-start;

    gap: 18px;

    flex-shrink: 0;
}


.about-cta-actions .btn {
    min-width: 190px;
}


.about-cta-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    color: var(--white-color);

    font-family: var(--heading-font);

    font-size: 0.75rem;

    font-weight: 600;

    transition: var(--transition-normal);
}


.about-cta-link i {
    transition: var(--transition-normal);
}


.about-cta-link:hover {
    color: var(--secondary-color);
}


.about-cta-link:hover i {
    transform: translateX(5px);
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .about-cta {
        padding: 70px 0;
    }


    .about-cta-content {
        flex-direction: column;

        align-items: flex-start;

        gap: 35px;
    }


    .about-cta-text h2 {
        font-size: 2.2rem;
    }


    .about-cta-actions {
        flex-direction: row;

        align-items: center;
    }

}


@media (max-width: 480px) {

    .about-cta-text h2 {
        font-size: 1.8rem;
    }


    .about-cta-text p {
        font-size: 0.9rem;
    }


    .about-cta-actions {
        width: 100%;

        flex-direction: column;

        align-items: stretch;
    }


    .about-cta-actions .btn {
        width: 100%;
    }


    .about-cta-link {
        justify-content: center;
    }

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .founder-profile-grid {
        gap: 50px;
    }


    .founder-profile-content h2 {
        font-size: 2.3rem;
    }


    .founder-highlights {
        grid-template-columns: 1fr;

        gap: 10px;
    }


    .founder-highlight {
        display: flex;

        align-items: center;

        gap: 15px;

        padding: 15px;
    }


    .founder-highlight-icon {
        flex-shrink: 0;

        margin-bottom: 0;
    }

}


@media (max-width: 768px) {

    .founder-profile {
        padding: 70px 0;
    }


    .founder-profile-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .founder-profile-image {
        width: 100%;

        max-width: 600px;

        min-height: 500px;

        margin: 0 auto;
    }


    .founder-image-frame {
        width: 92%;

        height: 470px;
    }


    .founder-profile-content {
        max-width: 100%;
    }


    .founder-profile-content h2 {
        font-size: 2.2rem;
    }

}


@media (max-width: 480px) {

    .founder-profile-image {
        min-height: 400px;
    }


    .founder-image-frame {
        height: 380px;
    }


    .founder-image-label {
        right: 10px;

        bottom: 35px;

        padding: 12px 15px;
    }


    .founder-image-label strong {
        font-size: 0.6rem;
    }


    .founder-profile-content h2 {
        font-size: 1.9rem;
    }


    .founder-profile-content .founder-intro {
        font-size: 0.95rem;
    }


    .founder-quote {
        padding: 18px;
    }


    .founder-quote p {
        font-size: 1.3rem;
    }

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 1100px) {

    .values-grid {
        grid-template-columns: repeat(3, 1fr);
    }


    .value-card:nth-child(4) {
        grid-column: 1 / 2;
    }


    .value-card:nth-child(5) {
        grid-column: 2 / 3;
    }

}


@media (max-width: 768px) {

    .core-values {
        padding: 70px 0;
    }


    .core-values-header .section-title {
        font-size: 2rem;
    }


    .values-grid {
        grid-template-columns: 1fr 1fr;

        gap: 15px;

        margin-top: 40px;
    }


    .value-card:nth-child(4),
    .value-card:nth-child(5) {
        grid-column: auto;
    }


    .value-card {
        min-height: 280px;

        padding: 25px 20px;
    }

}


@media (max-width: 480px) {

    .core-values-header .section-title {
        font-size: 1.7rem;
    }


    .values-grid {
        grid-template-columns: 1fr;
    }


    .value-card {
        min-height: auto;

        padding: 25px;
    }


    .value-card p {
        font-size: 0.9rem;
    }

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 768px) {

    .mission-vision {
        padding: 70px 0;
    }


    .mission-vision-header .section-title {
        font-size: 2rem;
    }


    .mission-vision-grid {
        grid-template-columns: 1fr;

        margin-top: 40px;
    }


    .purpose-card {
        padding: 35px;
    }


    .purpose-card > p {
        min-height: auto;
    }

}


@media (max-width: 480px) {

    .mission-vision-header .section-title {
        font-size: 1.7rem;
    }


    .purpose-card {
        padding: 28px;
    }


    .purpose-icon {
        width: 55px;
        height: 55px;

        margin-bottom: 20px;
    }


    .purpose-card h3 {
        font-size: 1.6rem;
    }


    .purpose-card > p {
        font-size: 0.9rem;
    }

}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 992px) {

    .foundation-background-grid {
        gap: 50px;
    }


    .foundation-background-content h2 {
        font-size: 2.2rem;
    }


    .foundation-background-image,
    .foundation-background-image img {
        min-height: 480px;
        height: 480px;
    }

}


@media (max-width: 768px) {

    .page-hero {
        min-height: 50vh;
    }


    .page-hero-container {
        padding-top: 70px;
    }


    .page-hero h1 {
        font-size: clamp(2.5rem, 11vw, 4rem);
    }


    .page-hero p {
        font-size: 0.95rem;
    }


    .foundation-background-grid {
        grid-template-columns: 1fr;

        gap: 50px;
    }


    .foundation-background-image {
        min-height: 450px;

        max-width: 600px;

        width: 100%;

        margin: 0 auto;
    }


    .foundation-background-image img {
        width: 94%;

        height: 450px;
    }


    .foundation-background-content {
        max-width: 100%;
    }

}


@media (max-width: 480px) {

    .page-hero {
        min-height: 45vh;
    }


    .page-hero-label {
        font-size: 0.65rem;

        letter-spacing: 2px;
    }


    .page-hero h1 {
        font-size: 2.2rem;
    }


    .page-hero p {
        font-size: 0.9rem;
    }


    .foundation-background-image,
    .foundation-background-image img {
        min-height: 350px;
        height: 350px;
    }


    .foundation-background-content h2 {
        font-size: 1.8rem;
    }


    .story-highlight {
        padding: 18px;
    }


    .story-highlight p {
        font-size: 1.4rem;
    }

}