/* =========================================================
   WHO WE SERVE - COMMON PAGE DESIGN
   Used by:
   - Institutional Managers
   - Wealth Managers
   - Emerging Managers
   - Private Fund Advisers
========================================================= */


/* =========================================================
   INTRO
========================================================= */

.who-serve-intro {
    padding: 55px 0 30px;
}

.who-serve-intro .who-serve-content {
    max-width: 100%;
}

.who-serve-intro .who-serve-content h2 {
    font-size: 31px;
    line-height: 1.3;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 22px;
}

.who-serve-intro .who-serve-content h2::after {
    content: "";
    display: block;
    width: 48px;
    height: 3px;
    margin-top: 12px;
    background: var(--secondary-color);
}

.who-serve-intro .who-serve-content > p {
    /* max-width: 1050px; */
    margin-bottom: 0;
    /* font-size: 16px; */
    /* line-height: 1.85; */
    color: var(--text-color);
}


/* =========================================================
   SERVICES SECTION
========================================================= */

.who-serve-services {
    padding: 35px 0 55px;
}

.who-serve-services .section-heading {
    max-width: 950px;
    margin-bottom: 35px !important;
}

.who-serve-services .section-heading span,
.who-serve-challenges .section-heading span,
.who-serve-performance .section-kicker,
.who-serve-future .section-kicker {
    display: inline-block;

    color: var(--primary-color);

    font-size: 13px;
    line-height: 1.2;

    font-weight: 700;

    letter-spacing: .8px;

    text-transform: uppercase;

    margin-bottom: 10px;
}

.who-serve-services .section-heading span::after,
.who-serve-challenges .section-heading span::after {
    content: "";

    display: block;

    width: 38px;
    height: 2px;

    background: var(--secondary-color);

    margin-top: 7px;
}

.who-serve-services .section-heading h2,
.who-serve-challenges .section-heading h2 {
    color: var(--primary-color);

    font-size: 31px;

    line-height: 1.3;

    font-weight: 800;

    margin: 0 0 12px;
}

.who-serve-services .section-heading p,
.who-serve-challenges .section-heading p {
    color: var(--text-color);

    font-size: 18px;

    line-height: 1.75;

    margin-bottom: 8px;
}


/* =========================================================
   SERVICE CARD
========================================================= */

.who-serve-service-card {
    position: relative;

    display: flex;

    align-items: flex-start;

    gap: 20px;

    height: 100%;

    padding: 25px;

    background: #fff;

    border: 1px solid #e7eeea;

    border-radius: 16px;

    box-shadow: 0 7px 25px rgba(17, 74, 67, .035);

    transition:
        transform .3s ease,
        border-color .3s ease,
        box-shadow .3s ease;
}

.who-serve-service-card:hover {
    transform: translateY(-5px);

    border-color: rgba(17, 74, 67, .25);

    box-shadow:
        0 18px 40px rgba(17, 74, 67, .09);
}


/* =========================================================
   SERVICE ICON
========================================================= */

.who-serve-service-icon {
    width: 52px;
    height: 52px;

    min-width: 52px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 14px;

    background: #f1f7f4;

    color: var(--primary-color);

    font-size: 22px;

    transition: .3s;
}

.who-serve-service-card:hover .who-serve-service-icon {
    background: var(--primary-color);

    color: #fff;
}


/* =========================================================
   SERVICE CONTENT
========================================================= */

.who-serve-service-card h3 {
    color: var(--primary-color);

    font-size: 23px;

    line-height: 1.35;

    font-weight: 750;

    margin: 0 0 6px;
}

.who-serve-service-card .service-card-intro {
    color: #212121;

    font-size: 16px;

    line-height: 1.6;

    margin: 0;
    font-weight: 500;
}


/* =========================================================
   SERVICE LIST
========================================================= */

.who-serve-service-card ul {
    padding: 0;

    margin: 0;

    list-style: none;
}

.who-serve-service-card li {
    position: relative;

    padding-left: 16px;

    margin-bottom: 8px;

    color: #59625f;

    font-size: 15px;

    line-height: 1.6;
}

.who-serve-service-card li:last-child {
    margin-bottom: 0;
}

.who-serve-service-card li::before {
    content: "";

    position: absolute;

    left: 0;
    top: 8px;

    width: 5px;
    height: 5px;

    border-radius: 50%;

    background: var(--secondary-darker);
}

.who-serve-service-card li strong {
    color: #35403d;

    font-weight: 700;
}


/* =========================================================
   WIDE SERVICE CARD
========================================================= */

.who-serve-service-card-wide {
    padding: 27px;
}

.who-serve-service-card-wide .service-card-intro {
    margin-bottom: 10px;
}

.who-serve-service-card-wide .row {
    margin-top: 5px;
}


/* =========================================================
   MINI SERVICE
========================================================= */

.who-serve-mini-service {
    height: 100%;

    padding: 18px;

    border-radius: 12px;

    background: #f8faf8;

    border: 1px solid #edf1ee;

    transition: .3s;
}

.who-serve-mini-service:hover {
    background: #f3f8f5;

    border-color: #dce8e2;

    transform: translateY(-3px);
}

.who-serve-mini-service h5 {
    font-size: 19px;

    font-weight: 700;

    color: var(--primary-color);

    margin-bottom: 7px;
}

.who-serve-mini-service p {
    color: #2c2e2d;

    font-size: 16px;

    line-height: 1.65;

    margin: 0;
}


/* =========================================================
   PERFORMANCE / SECURITY
========================================================= */

.who-serve-performance {
    margin-top: 15px;

    margin-bottom: 35px;

    padding: 50px 45px !important;

    border-radius: 20px;

    background:
        linear-gradient(
            135deg,
            #f8fbf8 0%,
            #ffffff 55%,
            #f4f8ef 100%
        );

    border: 1px solid #e7eeea;

    position: relative;

    overflow: hidden;
}

.who-serve-performance::before {
    content: "";

    position: absolute;

    width: 260px;
    height: 260px;

    right: -120px;
    top: -120px;

    border-radius: 50%;

    background: rgba(216, 226, 140, .16);

    filter: blur(50px);
}

.who-serve-performance .row {
    position: relative;

    z-index: 1;
}

.who-serve-performance .section-kicker {
    margin-bottom: 12px;
}

.who-serve-performance-content h2 {
    color: var(--primary-color);

    font-size: 29px;

    line-height: 1.25;

    font-weight: 800;

    margin: 0 0 20px;
}

.who-serve-performance-content p {
    color: #272727;

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 13px;
}

.who-serve-performance-content p:last-child {
    margin-bottom: 0;
}


/* =========================================================
   PERFORMANCE POINTS
========================================================= */

.who-serve-performance-points {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 13px;
}

.who-serve-performance-point {
    display: flex;

    align-items: flex-start;

    gap: 13px;

    padding: 17px;

    background: #fff;

    border: 1px solid #e9efeb;

    border-radius: 13px;

    transition: .3s;
    height: fit-content;
}

.who-serve-performance-point:hover {
    transform: translateY(-3px);

    border-color: #dce7e1;

    box-shadow:
        0 12px 25px rgba(17, 74, 67, .07);
}

.who-serve-performance-point > i {
    width: 39px;
    height: 39px;

    min-width: 39px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #f0f6f3;

    color: var(--primary-color);

    font-size: 17px;
}

.who-serve-performance-point h5 {
    color: var(--primary-color);

    font-size: 18px;

    font-weight: 700;

    margin: 0 0 4px;
}

.who-serve-performance-point p {
    color: #707875;

    font-size: 15px;

    line-height: 1.55;

    margin: 0;
}


/* =========================================================
   CHALLENGES
========================================================= */

.who-serve-challenges {
    padding: 45px 0 55px !important;
}

.who-serve-challenges .section-heading {
    max-width: 1050px;

    margin-bottom: 30px !important;
}

.who-serve-challenge-list {
    display: grid;

    grid-template-columns: repeat(2, 1fr);

    gap: 13px;
}

.who-serve-challenge-item {
    display: flex;

    align-items: flex-start;

    gap: 15px;

    padding: 19px 20px;

    background: #fff;

    border: 1px solid #e8eeeb;

    border-radius: 14px;

    transition: .3s;
    /* height: fit-content; */
}

.who-serve-challenge-item:hover {
    transform: translateY(-3px);

    border-color: #dce7e1;

    box-shadow:
        0 12px 28px rgba(17, 74, 67, .06);
}

.who-serve-challenge-number {
    width: 38px;
    height: 38px;

    min-width: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 10px;

    background: #eff5f2;

    color: var(--primary-color);

    font-size: 16px;

    font-weight: 800;

    letter-spacing: .5px;
}

.who-serve-challenge-content h4 {
    color: var(--primary-color);

    font-size: 19px;

    font-weight: 700;

    margin: 1px 0 5px;
}

.who-serve-challenge-content p {
    color: #151515;

    font-size: 16px;

    line-height: 1.6;

    margin: 0;
}


/* =========================================================
   FUTURE / CTA
========================================================= */

.who-serve-future {
    padding: 55px 40px !important;

    margin: 15px 0 45px;

    background:
        linear-gradient(
            135deg,
            var(--primary-dark),
            var(--primary-color)
        );

    border-radius: 20px;

    position: relative;

    overflow: hidden;
}

.who-serve-future::before {
    content: "";

    position: absolute;

    width: 280px;
    height: 280px;

    right: -110px;
    top: -130px;

    border-radius: 50%;

    background: rgba(216, 226, 140, .08);

    filter: blur(50px);
}

.who-serve-future::after {
    content: "";

    position: absolute;

    width: 200px;
    height: 200px;

    left: -100px;
    bottom: -100px;

    border-radius: 50%;

    background: rgba(216, 226, 140, .06);

    filter: blur(50px);
}

.who-serve-future-inner {
    position: relative;

    z-index: 2;

    max-width: 850px;

    margin: auto;
}

.who-serve-future .section-kicker {
    color: var(--secondary-color);
}

.who-serve-future h2 {
    color: #fff;

    font-size: 29px;

    font-weight: 800;

    line-height: 1.3;

    margin: 8px 0 15px;
}

.who-serve-future p {
    color: rgba(255,255,255,.82);

    font-size: 18px;

    line-height: 1.8;

    margin-bottom: 10px;
}

.who-serve-future .btn {
    padding: 10px 20px;

    border-radius: 9px;

    background: var(--secondary-color);

    color: var(--primary-color);

    border: none;

    font-size: 16px;

    font-weight: 700;

    transition: .3s;
}

.who-serve-future .btn:hover {
    background: #fff;

    color: var(--primary-color);

    transform: translateY(-3px);
}


/* =========================================================
   WHO WE SERVE FAQ
========================================================= */

.who-serve-faq {
    padding-top: 15px !important;
}

.who-serve-faq .section-heading {
    max-width: 1050px;

    margin-bottom: 32px !important;
}

.who-serve-faq .section-heading h2 {
    font-size: 29px;
}


/* =========================================================
   DESKTOP
========================================================= */

@media (min-width: 1200px) {

    .who-serve-services .row {
        --bs-gutter-x: 20px;
        --bs-gutter-y: 20px;
    }

    /* .who-serve-service-card {
        min-height: 285px;
    } */

    .who-serve-service-card-wide {
        /* min-height: 190px; */
    }

}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 991px) {

    .who-serve-intro {
        padding: 45px 0 20px;
    }

    .who-serve-intro .who-serve-content h2 {
        font-size: 27px;
    }

    .who-serve-services {
        padding-top: 30px;
    }

    .who-serve-service-card {
        padding: 22px;
    }

    .who-serve-performance {
        padding: 40px 30px !important;
    }

    .who-serve-performance-content {
        margin-bottom: 30px;
    }

    .who-serve-challenges {
        padding-top: 35px !important;
    }

    .who-serve-future {
        padding: 45px 30px !important;
    }

}


/* =========================================================
   MOBILE
========================================================= */

@media (max-width: 767px) {

    .who-serve-intro {
        padding: 35px 0 15px;
    }

    .who-serve-intro .who-serve-content h2 {
        font-size: 28px;

        line-height: 1.35;

    }

    .who-serve-intro .who-serve-content > p {
        font-size: 18px;

        line-height: 1.75;
    }


    /* Services */

    .who-serve-services {
        padding: 30px 0 40px;
    }

    .who-serve-services .section-heading h2,
    .who-serve-challenges .section-heading h2 {
        font-size: 24px;
    }

    .who-serve-services .section-heading p,
    .who-serve-challenges .section-heading p {
        font-size: 18px;
    }

    .who-serve-service-card {
        gap: 14px;

        padding: 19px;

        border-radius: 13px;
    }

    .who-serve-service-icon {
        width: 45px;
        height: 45px;

        min-width: 45px;

        font-size: 25px;

        border-radius: 11px;
    }

    .who-serve-service-card h3 {
        font-size: 22px;
    }

    .who-serve-service-card .service-card-intro {
        font-size: 16px;
    }

    .who-serve-service-card li {
        font-size: 16px;

        line-height: 1.55;

        margin-bottom: 7px;
    }

    .who-serve-service-card-wide {
        padding: 20px;
    }

    .who-serve-mini-service {
        margin-bottom: 10px;

        padding: 15px;
    }

    .who-serve-mini-service h5 {
        font-size: 19px;
    }

    .who-serve-mini-service p {
        font-size: 16px;
    }


    /* Performance */

    .who-serve-performance {
        margin: 5px 0 35px;

        padding: 35px 20px !important;

        border-radius: 15px;
    }

    .who-serve-performance-content h2 {
        font-size: 24px;
    }

    .who-serve-performance-content p {
        font-size: 16px;
    }

    .who-serve-performance-points {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .who-serve-performance-point {
        padding: 15px;
    }


    /* Challenges */

    .who-serve-challenges {
        padding: 30px 0 40px !important;
    }

    .who-serve-challenge-list {
        grid-template-columns: 1fr;

        gap: 10px;
    }

    .who-serve-challenge-item {
        padding: 16px;
    }

    .who-serve-challenge-content h4 {
        font-size: 18px;
    }

    .who-serve-challenge-content p {
        font-size: 16px;
    }


    /* Future */

    .who-serve-future {
        margin: 10px 0 35px;

        padding: 38px 20px !important;

        border-radius: 15px;
    }

    .who-serve-future h2 {
        font-size: 24px;
    }

    .who-serve-future p {
        font-size: 16px;

        line-height: 1.75;
    }


    /* FAQ */

    .who-serve-faq {
        padding-top: 10px !important;
    }

    .who-serve-faq .section-heading h2 {
        font-size: 24px;
    }

}


/* =========================================================
   SMALL MOBILE
========================================================= */

@media (max-width: 576px) {

    .who-serve-service-card {
        flex-direction: column;
    }

    .who-serve-service-icon {
        margin-bottom: 2px;
    }

    .who-serve-service-card-wide {
        flex-direction: column;
    }

    .who-serve-services .section-heading h2,
    .who-serve-challenges .section-heading h2 {
        font-size: 26px;
    }

    .who-serve-future h2 {
        font-size: 22px;
    }

    .who-serve-performance-content h2 {
        font-size: 22px;
    }

}

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

.expandable-card {
    cursor: pointer;
}

.expandable-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
}

.expandable-card-header h3 {
    margin: 0;
    flex: 1;
}

.expandable-card-icon {
    width: 32px;
    height: 32px;
    min-width: 32px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 50%;
    background: #f1f7f4;
    color: var(--primary-color);

    font-size: 12px;

    transition:
        transform .3s ease,
        background .3s ease,
        color .3s ease;
}

.expandable-card-details {
    max-height: 0;
    opacity: 0;
    visibility: hidden;
    overflow: hidden;

    margin-top: 0;
    transform: translateY(-8px);

    transition:
        max-height .4s ease,
        opacity .3s ease,
        transform .3s ease,
        margin-top .3s ease,
        visibility .3s ease;
}

.expandable-card.is-open .expandable-card-details {
    max-height: 500px;
    opacity: 1;
    visibility: visible;

    margin-top: 15px;
    transform: translateY(0);
}

.expandable-card.is-open .expandable-card-icon {
    background: var(--primary-color);
    color: #fff;
    transform: rotate(45deg);
}
@media only screen and (max-width: 576px) {
    .who-serve-service-card .expandable-card-icon{
        position: absolute;
        right: 15px;
        top: 25px;
    }
}