.who-page {
    margin-top: 8%;
}

h1.who-hero-title {
    font-size: 3.65rem;
    width: 65%;
    line-height: 1;
    font-weight: 700;
    color: #36827D;
}

.who-hero-section {
    margin-top: 47px;
    background: rgb(40 147 130 / 15%);
    padding: 25px;
}

.who-hero-panel {
    padding: 15px 38px;
    background: rgb(40 147 130 / 63%) !important;
    color: white;
    font-size: 25px;
    border-radius: 12px;
    font-family: var(--font-display-outfit);
}

.who-hero-panel .top {
    /*padding-bottom: 50px !important;*/
}

.who-hero-panel span.about-context-desc {
    padding-bottom: 50px !important;
}

@media (max-width: 1400px) {
    h1.who-hero-title {
        margin-top: 180px;
        font-size: 56px;
        width: 100%;
    }
}

@media (max-width: 1200px) {
    h1.who-hero-title {
        margin-top: 180px;
        font-size: 54px;
        width: 100%;
    }
}

@media (max-width: 992px) {
    h1.who-hero-title {
        margin-top: 140px;
        font-size: 44px;
        width: 100%;
    }

    .who-hero-panel{
        padding: 20px 20px;
        font-size: 22px;
    }
}

@media (max-width: 640px) {
    h1.who-hero-title {
        font-size: 2rem;
        width: 100%;
        color: #36827D;
    }

    .who-hero-panel {
        font-size: 18px !important;
        padding: 20px;
    }

    .wish-values-section .title {
        font-size: 32px !important;
    }

    .wish-values-section .card-content h2 {
        font-size: 25px !important;
    }

    .wish-values-section .card-content p {
        font-size: 19px !important;
    }
    .who-hero-section {
        padding: 25px 8px;
    }
}

/* Main Section Wrapper */
.about-context {

}

/* ============ WISH VALUES SECTION ============*/
.wish-values-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 50px 20px;
    font-family: var(--font-display-outfit);
    margin-top: 60px;
}

/* Logo as section title */
.wish-values-section .title-logo {
    text-align: center;
    margin-bottom: 90px;
}

.wish-values-section .title-logo img {
    display: block;
    width: 230px;
    max-width: 100%;
    height: auto;
    margin: 0 auto;
}

/* Cards Container */
.wish-values-section .cards-container {
    display: flex;
    gap: 30px;
    max-width: 1050px;
    width: 100%;
    justify-content: center;
    align-items: stretch;
}

/* Common Card: light tinted box, solid band in the middle */
.wish-values-section .card {
    flex: 1;
    border: none;
    border-radius: 12px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 70px 0;
    min-height: 465px;
}

/* Mission */
.wish-values-section .mission-card {
    background-color: rgba(153, 203, 195, 0.28);
}

.wish-values-section .mission-card .card-content {
    background-color: #a1d6d1;
    color: #125c56;
}

.wish-values-section .mission-card h2 {
    color: #0b5952;
}

/* Vision */
.wish-values-section .vision-card {
    background-color: rgba(254, 194, 63, 0.28);
}

.wish-values-section .vision-card .card-content {
    background-color: #fbc759;
    color: #e25e36;
}

.wish-values-section .vision-card h2 {
    color: #ee5b38;
}

/* Floating Icon */
.wish-values-section .icon-wrapper {
    position: absolute;
    top: -59px;
    left: 50%;
    transform: translateX(-50%);
    width: 156px;
    z-index: 2;
}

.wish-values-section .icon-wrapper img,
.wish-values-section .icon-wrapper svg {
    display: block;
    width: 100%;
    height: auto;
}

/* Solid band (full width of the card) */
.wish-values-section .card-content {
    width: 100%;
    margin: 0;
    padding: 45px 35px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wish-values-section .card-content h2 {
    font-family: var(--font-display-outfit);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 24px;
}

.wish-values-section .card-content p {
    font-size: 27px;
    line-height: 1.3;
    font-weight: 400;
    margin: 0;
    font-family: var(--font-display-outfit);
}

/* ---- Tablet ---- */
@media (max-width: 992px) {
    .wish-values-section .title-logo img {
        width: 200px;
    }

    .wish-values-section .cards-container {
        gap: 20px;
    }

    .wish-values-section .card {
        min-height: 420px;
    }

    .wish-values-section .icon-wrapper {
        width: 130px;
        top: -50px;
    }

    .wish-values-section .card-content {
        padding: 35px 22px;
    }

    .wish-values-section .card-content h2 {
        font-size: 1.7rem;
        margin-bottom: 18px;
    }

    .wish-values-section .card-content p {
        font-size: 20px;
    }
}

/* ---- Mobile ---- */
@media (max-width: 640px) {
    .wish-values-section {
        padding: 40px 14px;
    }

    .wish-values-section .title-logo {
        margin-bottom: 70px;
    }

    .wish-values-section .title-logo img {
        width: 160px;
    }

    .wish-values-section .cards-container {
        flex-direction: column;
        gap: 80px; /* icon overlap er jonno gap */
    }

    .wish-values-section .card {
        flex: none;
        min-height: 0;
        padding: 65px 0 55px;
    }

    .wish-values-section .icon-wrapper {
        width: 110px;
        top: -48px;
    }

    .wish-values-section .card-content {
        padding: 30px 20px;
    }

    .wish-values-section .card-content h2 {
        font-size: 1.6rem;
        margin-bottom: 14px;
    }

    .wish-values-section .card-content p {
        font-size: 18px;
        line-height: 1.4;
    }

    .wish-different-section {
        padding: 0 0 44px !important;
    }

    .wish-different-title {
        font-size: 32px !important;
    }
}

/* ==========================================================
   WISH Team – Flip Card Section
   ========================================================== */

/* ---- Card grid rows ---- */
.flip-card-section {
    margin-bottom: 60px;
}

.flip-section-title {
    font-size: 62px;
    text-align: center;
    padding-top: 55px;
    padding-bottom: 48px;
    font-weight: 700;
    font-family: var(--font-display);
}

.flip-cards-row {
    display: flex;
    flex-wrap: wrap;
    gap: 28px;
    justify-content: center;
}

.flip-cards-founders {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 400.4px));
    gap: 28px;
    justify-content: center;
    margin-bottom: 120px;
}

.flip-cards-founders .flip-card {
    width: 100%;
    height: 533px;
}

.flip-cards-team {
    margin-top: 40px;
    display: grid !important;
    grid-template-columns: repeat(3, minmax(0, 371.8px));
    gap: 40px;
    justify-content: center;
}

.flip-cards-team .flip-card {
    width: 100%;
    height: 494.9px;
}

/* ---- The card itself ---- */
.flip-card {
    perspective: 1000px;
    cursor: pointer;
}

.flip-card-inner {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: unset;
    transform-style: preserve-3d;
    transition: transform 0.65s cubic-bezier(0.45, 0.05, 0.55, 0.95);
    box-shadow: 0 6px 24px rgba(15, 90, 84, 0.13);
}

.flip-card:hover .flip-card-inner {
    transform: rotateX(180deg);
}

.flip-card.is-flipped .flip-card-inner {
    transform: rotateX(180deg);
}

@media (prefers-reduced-motion: reduce) {
    .flip-card-inner {
        transition: none;
    }
}

/* ---- Shared face styles ---- */
.flip-card-front,
.flip-card-back {
    position: absolute;
    inset: 0;
    overflow: hidden;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* ---- FRONT ---- */
.flip-card-front {
    display: flex;
    flex-direction: column;
}

.flip-card-img-wrap {
    flex: 1;
    overflow: hidden;
}

.flip-card-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.4s ease;
}

.flip-card:hover .flip-card-img-wrap img {
    transform: scale(1.03);
}

.flip-card-name {
    background: var(--coral);
    color: #fff;
    font-family: var(--font-display-outfit);
    font-weight: 600;
    font-size: 21px;
    text-align: center;
    /*padding: 0.55rem 0.75rem;*/
    padding-top: 15px;
    padding-bottom: 15px;
    letter-spacing: 0.2px;
    flex-shrink: 0;
}

/* ---- BACK ---- */
.flip-card-back {
    background: var(--teal-dark);
    transform: rotateX(180deg);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem 1.25rem;
}

.flip-card-back-inner {
    text-align: center;
    color: #fff;
}

.flip-card-back-inner h3 {
    font-family: var(--font-display-outfit);
    font-size: 21px;
    font-weight: 700;
    color: var(--olive);
    margin-bottom: 0.3rem;
}

.flip-card-role {
    display: block;
    font-family: var(--font-display-outfit);
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
    color: #FEC140;
    text-transform: uppercase;
    margin-bottom: 0.85rem;
}

.flip-card-back-inner p {
    font-size: 16px;
    line-height: 1.3;
    color: #d4ece8;
    margin: 0;
    font-family: var(--font-display-outfit);
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */
@media (max-width: 1400px) {
    .flip-card-back-inner h3 {
        font-size: 20px;
        font-weight: 600;
    }
    .flip-card-role {
        font-size: 18px;
        font-weight: 600;
        line-height: 1.2;
    }

    .flip-card-back-inner p {
        font-size: 15px;
        line-height: 1.3;
    }
}


@media (max-width: 1200px) {
    .flip-section-title {
        font-size: 2.4rem;
    }

    .flip-cards-founders {
        grid-template-columns: repeat(2, minmax(0, 300px));
        gap: 24px;
    }

    .flip-cards-founders .flip-card {
        height: 400px;
    }

    .flip-cards-team {
        grid-template-columns: repeat(3, minmax(0, 260px));
        gap: 24px;
    }

    .flip-cards-team .flip-card {
        height: 347px;
    }

    .flip-card-back-inner h3 {
        font-size: 16px;
        font-weight: 600;
    }

    .flip-card-role {
        font-size: 14px;
        font-weight: 600;
        line-height: 1;
        margin-bottom: 3px;
    }

    .flip-card-back-inner p {
        font-size: 13px;
        line-height: 1;
    }
    .top p{
        font-size: 28px;
    }
}

/* SM: 576px - 767px */
@media (max-width: 992px) {
    .flip-card-section {
        padding: 45px 0 55px;
    }

    .flip-section-title {
        font-size: 48px;
        font-weight: 800;
    }

    .flip-cards-founders {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .flip-cards-founders .flip-card {
        height: 300px;
    }

    .flip-cards-team {
        grid-template-columns: repeat(2, 1fr);
        gap: 14px;
    }

    .flip-cards-team .flip-card {
        height: 280px;
    }

    .flip-card-back-inner h3 {
        font-size: 1rem;
    }

    .flip-card-back-inner p {
        font-size: 0.8rem;
    }

    .top p{
        font-size: 24px;
    }
}

/* XS: < 576px */
@media (max-width: 640px) {
    .flip-card-section {
        padding: 6px 0 48px;
    }

    .flip-section-title {
        font-size: 32px;
        font-weight: 700;
        margin-bottom: 0;
        padding-top: 0;
    }

    .flip-cards-founders {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }

    .flip-cards-founders .flip-card {
        height: 420px;
    }

    .flip-cards-team {
        grid-template-columns: repeat(1, 1fr);
        gap: 16px;
    }

    .flip-cards-team .flip-card {
        height: 380px;
    }

    .flip-card-name {
        font-size: 1.2rem;
        padding: 12px;
    }

    .flip-card-back {
        padding: 0.75rem 0.6rem;
    }

    .flip-card-back-inner h3 {
        font-size: 20px;
        font-weight: 600;
    }

    .flip-card-role {
        font-size: 18px;
        font-weight: 600;
        line-height: 1;
        margin-bottom: 3px;
    }

    .flip-card-back-inner p {
        font-size: 15px;
        line-height: 1.2;
    }

    .top p{
        font-size: 20px;
    }
}

/* XXS: < 380px */
@media (max-width: 379.98px) {
    .flip-cards-founders,
    .flip-cards-team {
        grid-template-columns: repeat(1, 1fr);
        gap: 10px;
    }

    .flip-cards-founders .flip-card {
        height: 360px;
    }

    .flip-cards-team .flip-card {
        height: 320px;
    }

    .flip-card-back-inner h3 {
        font-size: 18px;
        font-weight: 600;
    }

    .flip-card-role {
        font-size: 16px;
        font-weight: 600;
        line-height: 1;
        margin-bottom: 3px;
    }

    .flip-card-back-inner p {
        font-size: 13px;
        line-height: 1.1;
    }

    .top p{
        font-size: 18px;
    }
}

/* ==========================================================
   What makes WISH Different
   ========================================================== */

.wish-different-section {
    /*padding: 70px 0 80px;*/
}

/* ===== Title (centered above puzzle) ===== */
.wish-different-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 0;
}

.wish-different-title {
    font-family: var(--font-display);
    font-size: 51px;
    font-weight: 800;
    color: var(--teal-dark, #0f5a54);
    line-height: 1.15;
    margin: 0;
    text-align: center;
}

/* Two-column: puzzle left, title+diagram right */
.wish-different-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
}

/* ===== LEFT: Puzzle ===== */
.wish-puzzle-wrap {
    position: relative;
    width: 100%;
    max-width: 680px;
    aspect-ratio: 1 / 1;
    margin: 0 auto;
}

.puzzle-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: block;
}

/* Text overlays */
.puzzle-copy {
    position: absolute;
    width: 43%;
    color: #315d5b;
    font-family: var(--font-display-outfit);
    font-size: clamp(7px, 1.4vw, 15px);
    line-height: 1.35;
    z-index: 2;
}

.puzzle-copy h3 {
    font-weight: 700;
    margin: 0 0 0.45em 0;
    line-height: 1.2;
    font-family: var(--font-display-outfit);
    color: #1b615d;
    font-size: var(--point-14);
}

.puzzle-copy p {
    margin: 0;
    font-weight: 400;
    font-family: var(--font-display-outfit);
    font-size: var(--point-14);
}

.puzzle-copy strong {
    display: block;
    font-size: 1.1669rem;
    font-weight: 700;
    margin-top: 0.6em;
    color: #1d3e3c;
    font-family: var(--font-display-outfit);
}

/* Top-left: top 2%, left 2% */
.puzzle-tl {
    top: 3%;
    left: 2.5%;
    width: 33%;
}

/* Top-right: top 2%, right 2%, text-align right */
.puzzle-tr {
    top: 3%;
    right: 2.5%;
    text-align: right;
    width: 33%;
}

/* Bottom-left: bottom 3%, left 2% */
.puzzle-bl {
    bottom: 3%;
    left: 2.5%;
    width: 43%;
}

/* Bottom-right: bottom 3%, right 2%, text-align right */
.puzzle-br {
    bottom: 3%;
    right: 2.5%;
    text-align: right;
    width: 33%;
}

.puzzle-br p {
    line-height: 1.10 !important;
}

/* ===== RIGHT: Title + Diagram ===== */
.wish-different-right {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.wish-different-title {
    font-family: var(--font-display);
    font-size: 51px;
    font-weight: 800;
    color: var(--teal-dark, #0f5a54);
    line-height: 1.15;
    margin: 0;
    text-align: center;
}

.wish-diagram-frame {
    overflow: hidden;
    /* padding: 6px;*/
    background: #fff;
}

.wish-diagram-frame img {
    width: 100%;
    display: block;
}

@media (min-width: 1200px) and (max-width: 1399.98px) {
    .puzzle-copy h3 {
        font-size: 16px;
    }

    .puzzle-copy p {
        line-height: 21px;
        font-size: 16px;
    }

    .puzzle-br {
        width: 34%;
    }

    .puzzle-br p {
        line-height: 16px !important;
    }

    .puzzle-copy strong {
        font-size: 1.10rem;
    }

    .wish-puzzle-wrap {
        max-width: 720px;
    }

    /*.puzzle-copy h3,
    .puzzle-copy p {
        font-size: 16px;
    }*/

    /*.puzzle-copy p {
        line-height: 1.4;
    }*/

   /* .puzzle-br p {
        line-height: 1.2 !important;
    }

    .puzzle-copy strong {
        font-size: 1.1rem;
    }*/
}

@media (max-width: 575.98px) {
    .puzzle-copy p {
        font-size: 11px;
    }

    .puzzle-copy strong {
        font-size: 11px;
    }

    .puzzle-copy h3 {
        font-size: 11px;
    }
}

/* ==========================================================
   RESPONSIVE
   ========================================================== */

/* LG (992–1199px): tighter gap, smaller font */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .wish-different-inner {
        gap: 36px;
    }

    .wish-different-title {
        font-size: 2.3rem;
    }

    .puzzle-copy {
        font-size: clamp(7px, 1.2vw, 13px);
    }

    .wish-puzzle-wrap {
        max-width: 640px;
    }

    /*.wish-different-title {
        font-size: 2.6rem;
    }*/
}

/* MD and below: stack vertically, puzzle full width */
@media (max-width: 991.98px) {
    .wish-different-section {
        padding: 50px 0 60px;
    }

    .wish-different-inner {
        gap: 32px;
    }

    .wish-puzzle-wrap {
        max-width: 560px;
    }

    .wish-different-title {
        font-size: 2.2rem;
    }

    .puzzle-copy {
        font-size: clamp(7px, 1.8vw, 14px);
    }
}

/* TAB portrait (576–767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .wish-different-section {
        padding: 40px 0 50px;
    }

    .wish-different-title {
        font-size: 2rem;
    }

    .wish-puzzle-wrap {
        max-width: 460px;
    }
}

/* Mobile (<576px) */
@media (max-width: 640px) {
    .wish-different-section {
        padding: 0 0 44px !important;
    }

    .wish-different-inner {
        gap: 24px;
    }

    .wish-different-title {
        font-size: 1.75rem !important;
    }

    .wish-puzzle-wrap {
        max-width: 100%;
    }

    .puzzle-copy {
        font-size: clamp(5.5px, 2.2vw, 11px);
        width: 44%;
    }

    .puzzle-copy h3 {
        margin-bottom: 0.3em;
        font-size: 11px;
    }

    .puzzle-copy p {
        font-size: 11px;
    }

    .puzzle-copy strong {
        font-size: 11px;
    }
}