/* ============================================================
   GOD PAUL FOUNDATION
   ORGANISATION / GOVERNANCE PAGE
   ============================================================ */


/* ============================================================
   PAGE WRAPPER
   ============================================================ */

.organisation-page {
    width: 100%;
    overflow: hidden;

    background:
        #eef6f1;
}


/* ============================================================
   HERO
   ============================================================ */

.organisation-hero {
    position: relative;

    min-height: 520px;

    display: flex;
    align-items: center;

    overflow: hidden;

    background:
        #173d29;
}


.organisation-hero-image {
    position: absolute;

    inset: 0;

    width: 100%;
    height: 100%;

    object-fit: cover;

    z-index: 1;
}


.organisation-hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(13, 55, 35, 0.93) 0%,
            rgba(20, 77, 48, 0.78) 42%,
            rgba(22, 71, 48, 0.46) 70%,
            rgba(0, 0, 0, 0.25) 100%
        );
}


.organisation-hero::after {
    content: '';

    position: absolute;

    inset: 0;

    z-index: 3;

    pointer-events: none;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.06) 1px,
            transparent 1px
        );

    background-size:
        65px 65px;

    opacity: 0.18;
}


.organisation-hero-content {
    position: relative;

    z-index: 5;
}


.organisation-hero-copy {
    max-width: 720px;

    padding:
        85px 0;
}


.organisation-eyebrow {
    display: inline-block;

    margin-bottom: 16px;

    color:
        #b8ecd0;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 2.2px;

    text-transform: uppercase;
}


.organisation-hero h1 {
    position: relative;

    margin:
        0 0 24px;

    padding-bottom: 18px;

    color:
        #ffffff;

    font-size:
        clamp(
            2.8rem,
            6vw,
            4.6rem
        );

    font-weight: 700;

    line-height: 1.08;

    letter-spacing: -1.5px;
}


.organisation-hero h1::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 82px;
    height: 5px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--primary-green),
            var(--primary-blue)
        );
}


.organisation-hero p {
    max-width: 690px;

    margin: 0;

    color:
        rgba(255, 255, 255, 0.92);

    font-size: 1.05rem;

    line-height: 1.8;
}


/* ============================================================
   GOVERNANCE INTRO
   ============================================================ */

.governance-intro {
    position: relative;

    padding:
        80px 0;

    background:
        linear-gradient(
            135deg,
            #dff2e7 0%,
            #ebf7ef 50%,
            #e7f4f8 100%
        );
}


.governance-intro-grid {
    display: grid;

    grid-template-columns:
        0.9fr 1.1fr;

    gap: 65px;

    align-items: center;
}


.section-label {
    display: inline-block;

    margin-bottom: 12px;

    color:
        var(--primary-green);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.76rem;

    font-weight: 700;

    letter-spacing: 2px;
}


.governance-intro-copy h2 {
    max-width: 560px;

    margin: 0;

    color:
        #1c4b31;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    line-height: 1.25;

    letter-spacing: -0.6px;
}


.governance-intro-text {
    padding:
        30px 32px;

    border-left:
        5px solid
        var(--primary-green);

    border-radius:
        0 14px 14px 0;

    background:
        rgba(255, 255, 255, 0.65);

    box-shadow:
        0 12px 35px
        rgba(30, 80, 50, 0.06);
}


.governance-intro-text p {
    margin: 0;

    color:
        #355d47;

    font-size: 1rem;

    line-height: 1.85;
}


/* ============================================================
   STRUCTURE SECTION
   ============================================================ */

.governance-structure {
    padding:
        95px 0 110px;

    background:
        linear-gradient(
            180deg,
            #edf6f0 0%,
            #e6f2ea 55%,
            #e6f3f7 100%
        );
}


/* ============================================================
   MAIN LAYOUT
   ============================================================ */

.governance-layout {
    display: grid;

    grid-template-columns:
        minmax(0, 1.35fr)
        minmax(300px, 0.65fr);

    gap: 45px;

    align-items: start;
}


/* ============================================================
   GOVERNANCE CARDS
   ============================================================ */

.governance-cards {
    display: flex;

    flex-direction: column;

    gap: 22px;
}


.governance-card {
    position: relative;

    display: grid;

    grid-template-columns:
        auto 1fr;

    gap: 22px;

    padding:
        30px;

    overflow: hidden;

    border:
        1px solid
        rgba(60, 179, 113, 0.13);

    border-radius: 18px;

    background:
        linear-gradient(
            145deg,
            #f8fcf9 0%,
            #edf7f1 100%
        );

    box-shadow:
        0 12px 32px
        rgba(27, 74, 48, 0.07);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;
}


.governance-card:nth-child(even) {
    background:
        linear-gradient(
            145deg,
            #f5fbfe 0%,
            #e7f4f9 100%
        );
}


.governance-card::before {
    content: '';

    position: absolute;

    top: 0;
    left: 0;

    width: 5px;
    height: 100%;

    background:
        linear-gradient(
            to bottom,
            var(--primary-green),
            var(--primary-blue)
        );
}


.governance-card:hover {
    transform:
        translateX(5px);

    border-color:
        rgba(60, 179, 113, 0.28);

    box-shadow:
        0 20px 45px
        rgba(27, 74, 48, 0.13);
}


/* ============================================================
   GOVERNANCE ICON
   ============================================================ */

.governance-icon {
    width: 58px;
    height: 58px;

    display: flex;

    align-items: center;
    justify-content: center;

    border-radius: 15px;

    color:
        #ffffff;

    background:
        var(--primary-green);

    font-size: 1.3rem;

    box-shadow:
        0 9px 22px
        rgba(60, 179, 113, 0.20);
}


.governance-card:nth-child(even)
.governance-icon {

    background:
        var(--dark-blue);

    box-shadow:
        0 9px 22px
        rgba(93, 173, 226, 0.20);
}


/* ============================================================
   GOVERNANCE CONTENT
   ============================================================ */

.governance-card-content {
    position: relative;

    min-width: 0;
}


.governance-card-number {
    position: absolute;

    top: -14px;
    right: 0;

    color:
        rgba(46, 139, 87, 0.09);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 3.4rem;

    font-weight: 700;

    line-height: 1;
}


.governance-card h3 {
    position: relative;

    margin:
        0 0 12px;

    padding-right: 60px;

    color:
        #2c7554;

    font-size: 1.24rem;

    font-weight: 600;

    line-height: 1.4;
}


.governance-card:nth-child(even) h3 {
    color:
        #3f7e9f;
}


.governance-card p {
    position: relative;

    margin: 0;

    color:
        #52675b;

    font-size: 0.92rem;

    line-height: 1.75;
}


/* ============================================================
   GOVERNANCE IMAGE PANEL
   ============================================================ */

.governance-image-panel {
    position: sticky;

    top: 90px;
}


.governance-image-wrap {
    position: relative;

    min-height: 500px;

    overflow: hidden;

    border-radius: 20px;

    background:
        #dce9e1;

    box-shadow:
        0 25px 55px
        rgba(23, 70, 45, 0.15);
}


.governance-image-wrap img {
    display: block;

    width: 100%;
    height: 500px;

    object-fit: cover;

    transition:
        transform 0.7s ease;
}


.governance-image-wrap:hover img {
    transform:
        scale(1.05);
}


.governance-image-shade {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(13, 60, 38, 0.86) 0%,
            rgba(13, 60, 38, 0.18) 58%,
            transparent 100%
        );
}


/* ============================================================
   IMAGE CAPTION
   ============================================================ */

.governance-image-caption {
    position: absolute;

    left: 25px;
    right: 25px;
    bottom: 25px;

    display: flex;

    align-items: center;

    gap: 15px;

    padding:
        18px;

    border:
        1px solid
        rgba(255, 255, 255, 0.18);

    border-radius: 14px;

    background:
        rgba(12, 49, 32, 0.62);

    backdrop-filter:
        blur(8px);

    color:
        #ffffff;
}


.caption-icon {
    width: 48px;
    height: 48px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    background:
        var(--primary-green);

    font-size: 1.1rem;
}


.governance-image-caption span {
    display: block;

    margin-bottom: 3px;

    color:
        #bce9cf;

    font-size: 0.72rem;

    font-weight: 600;

    letter-spacing: 0.7px;

    text-transform: uppercase;
}


.governance-image-caption strong {
    display: block;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.95rem;

    line-height: 1.45;
}


/* ============================================================
   SIDE NOTE
   ============================================================ */

.governance-side-note {
    display: flex;

    align-items: flex-start;

    gap: 14px;

    margin-top: 20px;

    padding:
        20px;

    border:
        1px solid
        rgba(93, 173, 226, 0.17);

    border-radius: 14px;

    background:
        linear-gradient(
            135deg,
            #eaf7f0,
            #e8f5fa
        );
}


.governance-side-note i {
    margin-top: 3px;

    color:
        var(--primary-green);

    font-size: 1.2rem;
}


.governance-side-note p {
    margin: 0;

    color:
        #3e654f;

    font-size: 0.86rem;

    line-height: 1.7;
}


/* ============================================================
   PRINCIPLES
   ============================================================ */

.governance-principles {
    padding:
        60px 0;

    background:
        linear-gradient(
            90deg,
            #cfe9da 0%,
            #dcedf3 100%
        );
}


.principles-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 18px;
}


.principle-item {
    display: flex;

    align-items: center;
    justify-content: center;

    gap: 12px;

    min-height: 88px;

    padding:
        18px;

    border:
        1px solid
        rgba(255, 255, 255, 0.55);

    border-radius: 14px;

    background:
        rgba(255, 255, 255, 0.55);

    color:
        #285b3e;

    box-shadow:
        0 8px 22px
        rgba(37, 82, 54, 0.05);
}


.principle-item i {
    color:
        var(--primary-green);

    font-size: 1.15rem;
}


.principle-item span {
    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.9rem;

    font-weight: 600;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 992px) {

    .organisation-hero {
        min-height: 460px;
    }


    .governance-intro-grid {
        grid-template-columns: 1fr;

        gap: 30px;
    }


    .governance-layout {
        grid-template-columns: 1fr;
    }


    .governance-image-panel {
        position: static;
    }


    .governance-image-wrap,
    .governance-image-wrap img {
        height: 420px;
        min-height: 420px;
    }


    .principles-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

    .organisation-hero {
        min-height: 430px;
    }


    .organisation-hero-copy {
        padding:
            65px 0;
    }


    .organisation-hero h1 {
        font-size: 2.6rem;
    }


    .organisation-hero p {
        font-size: 0.95rem;
    }


    .governance-intro {
        padding:
            60px 0;
    }


    .governance-intro-text {
        padding:
            25px;
    }


    .governance-structure {
        padding:
            70px 0 80px;
    }


    .governance-card {
        grid-template-columns: 1fr;

        gap: 18px;

        padding:
            26px 22px;
    }


    .governance-card h3 {
        padding-right: 45px;
    }


    .governance-icon {
        width: 52px;
        height: 52px;
    }


    .governance-image-wrap,
    .governance-image-wrap img {
        height: 360px;
        min-height: 360px;
    }


    .principles-grid {
        grid-template-columns: 1fr 1fr;
    }

}


/* ============================================================
   SMALL PHONES
   ============================================================ */

@media (max-width: 480px) {

    .organisation-hero {
        min-height: 400px;
    }


    .organisation-hero-copy {
        padding:
            55px 0;
    }


    .organisation-hero h1 {
        font-size: 2.15rem;
    }


    .governance-intro-copy h2 {
        font-size: 1.8rem;
    }


    .governance-card-number {
        font-size: 2.8rem;
    }


    .governance-card h3 {
        font-size: 1.08rem;
    }


    .governance-image-wrap,
    .governance-image-wrap img {
        height: 300px;
        min-height: 300px;
    }


    .governance-image-caption {
        left: 15px;
        right: 15px;
        bottom: 15px;

        padding:
            14px;
    }


    .principles-grid {
        grid-template-columns: 1fr;
    }

}