/* ============================================================
   GOD PAUL FOUNDATION
   HISTORY PAGE
   ============================================================ */


/* ============================================================
   PAGE WRAPPER
   ============================================================ */

.history-page {
    width: 100%;

    overflow: hidden;

    background:
        #edf6f0;
}


/* ============================================================
   HERO
   ============================================================ */

.history-hero {
    position: relative;

    min-height: 520px;

    display: flex;

    align-items: center;

    overflow: hidden;

    background:
        #173c28;
}


.history-hero-image {
    position: absolute;

    inset: 0;

    z-index: 1;
}


.history-hero-image img {
    width: 100%;
    height: 100%;

    object-fit: cover;
}


.history-hero-overlay {
    position: absolute;

    inset: 0;

    z-index: 2;

    background:
        linear-gradient(
            90deg,
            rgba(11, 49, 31, 0.94) 0%,
            rgba(19, 75, 47, 0.80) 40%,
            rgba(22, 75, 49, 0.50) 70%,
            rgba(0, 0, 0, 0.28) 100%
        );
}


.history-hero-pattern {
    position: absolute;

    inset: 0;

    z-index: 3;

    pointer-events: none;

    opacity: 0.17;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.07) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.07) 1px,
            transparent 1px
        );

    background-size:
        65px 65px;
}


.history-hero-content {
    position: relative;

    z-index: 5;
}


.history-hero-copy {
    max-width: 760px;

    padding:
        90px 0;
}


.history-eyebrow {
    display: inline-block;

    margin-bottom: 15px;

    color:
        #bcefd1;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 2.3px;

    text-transform: uppercase;
}


.history-hero h1 {
    position: relative;

    margin:
        0 0 24px;

    padding-bottom: 17px;

    color:
        #ffffff;

    font-family:
        'Poppins',
        sans-serif;

    font-size:
        clamp(
            3rem,
            6vw,
            4.8rem
        );

    font-weight: 700;

    line-height: 1.05;

    letter-spacing: -1.5px;
}


.history-hero h1::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 85px;
    height: 5px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--primary-green),
            var(--primary-blue)
        );
}


.history-hero p {
    margin: 0;

    color:
        rgba(255, 255, 255, 0.92);

    font-family:
        Georgia,
        'Times New Roman',
        serif;

    font-size:
        clamp(
            1.15rem,
            2vw,
            1.45rem
        );

    font-style: italic;

    line-height: 1.7;
}


/* ============================================================
   STANDARD HISTORY SECTION
   ============================================================ */

.history-section {
    position: relative;

    padding:
        100px 0;
}


/* ============================================================
   BEGINNING
   ============================================================ */

.history-beginning {
    background:
        linear-gradient(
            135deg,
            #dff1e6 0%,
            #ecf7f0 45%,
            #e8f5f9 100%
        );
}


/* ============================================================
   HISTORY GRID
   ============================================================ */

.history-grid {
    display: grid;

    grid-template-columns:
        minmax(0, 1.08fr)
        minmax(330px, 0.92fr);

    align-items: center;

    gap: 65px;
}


.history-grid-reverse {
    grid-template-columns:
        minmax(330px, 0.92fr)
        minmax(0, 1.08fr);
}


.history-grid-reverse
.history-text {

    order: 2;
}


.history-grid-reverse
.history-image-card {

    order: 1;
}


/* ============================================================
   HISTORY TEXT
   ============================================================ */

.history-section-label {
    display: inline-block;

    margin-bottom: 13px;

    color:
        var(--primary-green);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.76rem;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.history-text h2 {
    position: relative;

    margin:
        0 0 26px;

    padding-bottom: 15px;

    color:
        #1d4f32;

    font-size:
        clamp(
            2rem,
            4vw,
            3rem
        );

    font-weight: 700;

    line-height: 1.25;

    letter-spacing: -0.7px;
}


.history-text h2::after {
    content: '';

    position: absolute;

    left: 0;
    bottom: 0;

    width: 65px;
    height: 4px;

    border-radius: 8px;

    background:
        linear-gradient(
            90deg,
            var(--primary-green),
            var(--primary-blue)
        );
}


.history-text p {
    margin:
        0 0 22px;

    color:
        #43614f;

    font-size: 0.98rem;

    line-height: 1.85;
}


.history-text p:last-child {
    margin-bottom: 0;
}


.history-lead {
    color:
        #2b6646 !important;

    font-size:
        1.08rem !important;

    font-weight: 500;
}


/* ============================================================
   IMAGE CARD
   ============================================================ */

.history-image-card {
    position: relative;

    border-radius: 20px;

    overflow: hidden;

    background:
        #d7e9de;

    box-shadow:
        0 25px 60px
        rgba(29, 78, 49, 0.14);
}


.history-image-wrap {
    position: relative;

    height: 430px;

    overflow: hidden;
}


.history-image-wrap img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.7s ease;
}


.history-image-card:hover
.history-image-wrap img {

    transform:
        scale(1.05);
}


.history-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(16, 66, 40, 0.50),
            transparent 55%
        );
}


/* ============================================================
   IMAGE CAPTION
   ============================================================ */

.history-image-caption {
    display: flex;

    align-items: center;

    gap: 14px;

    padding:
        20px 22px;

    color:
        #275e40;

    background:
        linear-gradient(
            135deg,
            #e4f4ea,
            #eef9f2
        );

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.84rem;

    font-weight: 600;

    line-height: 1.5;
}


.history-image-caption i {
    width: 38px;
    height: 38px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 10px;

    color:
        #ffffff;

    background:
        var(--primary-green);
}


/* ============================================================
   TURNING POINT SECTION
   ============================================================ */

.history-turning-point {
    position: relative;

    padding:
        90px 0;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #205b3a 0%,
            #2e7b51 52%,
            #397f6a 100%
        );
}


.history-turning-decoration {
    position: absolute;

    border-radius: 50%;

    pointer-events: none;
}


.history-turning-decoration-one {
    top: -140px;
    right: -100px;

    width: 370px;
    height: 370px;

    background:
        rgba(135, 206, 235, 0.10);
}


.history-turning-decoration-two {
    left: -120px;
    bottom: -170px;

    width: 420px;
    height: 420px;

    border:
        70px solid
        rgba(255, 255, 255, 0.05);
}


/* ============================================================
   TURNING POINT CONTENT
   ============================================================ */

.turning-point-content {
    position: relative;

    max-width: 920px;

    margin: 0 auto;

    text-align: center;

    z-index: 2;
}


.turning-point-icon {
    width: 68px;
    height: 68px;

    display: flex;

    align-items: center;
    justify-content: center;

    margin:
        0 auto 27px;

    border:
        1px solid
        rgba(255, 255, 255, 0.24);

    border-radius: 50%;

    color:
        #ffffff;

    background:
        rgba(255, 255, 255, 0.10);

    font-size: 1.45rem;
}


.turning-point-content blockquote {
    margin:
        0 auto;

    color:
        #ffffff;

    font-family:
        Georgia,
        'Times New Roman',
        serif;

    font-size:
        clamp(
            1.3rem,
            2.5vw,
            1.75rem
        );

    font-weight: 400;

    line-height: 1.65;
}


.turning-divider {
    width: 70px;
    height: 3px;

    margin:
        30px auto;

    border-radius: 5px;

    background:
        linear-gradient(
            90deg,
            var(--primary-blue),
            #ffffff,
            var(--primary-green)
        );
}


.turning-point-content p {
    max-width: 800px;

    margin: 0 auto;

    color:
        rgba(255, 255, 255, 0.86);

    font-size: 0.98rem;

    line-height: 1.8;
}


/* ============================================================
   TODAY SECTION
   ============================================================ */

.history-today {
    background:
        linear-gradient(
            135deg,
            #e2f2e8 0%,
            #ecf7ef 48%,
            #dfeff6 100%
        );
}


.history-image-card-blue {
    background:
        #dcecf3;
}


.history-image-card-blue
.history-image-caption {

    background:
        linear-gradient(
            135deg,
            #e5f3f9,
            #eef9fc
        );

    color:
        #36677e;
}


.history-image-card-blue
.history-image-caption i {

    background:
        var(--dark-blue);
}


/* ============================================================
   BELIEF
   ============================================================ */

.history-belief {
    margin-top:
        28px !important;

    padding:
        20px 22px;

    border-left:
        5px solid
        var(--primary-green);

    border-radius:
        0 12px 12px 0;

    background:
        rgba(255, 255, 255, 0.62);

    color:
        #21573a !important;

    box-shadow:
        0 10px 30px
        rgba(35, 83, 53, 0.06);
}


/* ============================================================
   VALUES STRIP
   ============================================================ */

.history-values {
    padding:
        65px 0;

    background:
        linear-gradient(
            90deg,
            #cfe7d8 0%,
            #dcecf1 100%
        );
}


.history-values-grid {
    display: grid;

    grid-template-columns:
        repeat(4, 1fr);

    gap: 20px;
}


.history-value {
    display: flex;

    align-items: center;

    gap: 14px;

    min-height: 92px;

    padding:
        20px 22px;

    border:
        1px solid
        rgba(255, 255, 255, 0.54);

    border-radius: 15px;

    background:
        rgba(255, 255, 255, 0.54);

    color:
        #285c3f;

    box-shadow:
        0 8px 24px
        rgba(35, 77, 50, 0.05);
}


.history-value-icon {
    width: 46px;
    height: 46px;

    display: flex;

    align-items: center;
    justify-content: center;

    flex-shrink: 0;

    border-radius: 12px;

    color:
        #ffffff;

    background:
        var(--primary-green);

    font-size: 1rem;
}


.history-value:nth-child(even)
.history-value-icon {

    background:
        var(--dark-blue);
}


.history-value span {
    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.9rem;

    font-weight: 600;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 992px) {

    .history-hero {
        min-height: 460px;
    }


    .history-grid,
    .history-grid-reverse {

        grid-template-columns: 1fr;

        gap: 45px;
    }


    .history-grid-reverse
    .history-text {

        order: 1;
    }


    .history-grid-reverse
    .history-image-card {

        order: 2;
    }


    .history-image-wrap {
        height: 390px;
    }


    .history-values-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }

}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

    .history-hero {
        min-height: 420px;
    }


    .history-hero-copy {
        padding:
            65px 0;
    }


    .history-hero h1 {
        font-size: 2.65rem;
    }


    .history-section {
        padding:
            70px 0;
    }


    .history-text h2 {
        font-size: 2rem;
    }


    .history-lead {
        font-size:
            0.98rem !important;
    }


    .history-image-wrap {
        height: 320px;
    }


    .history-turning-point {
        padding:
            70px 0;
    }


    .turning-point-content blockquote {
        font-size: 1.25rem;
    }


    .history-values {
        padding:
            50px 0;
    }

}


/* ============================================================
   SMALL PHONES
   ============================================================ */

@media (max-width: 480px) {

    .history-hero {
        min-height: 380px;
    }


    .history-hero-copy {
        padding:
            55px 0;
    }


    .history-hero h1 {
        font-size: 2.2rem;
    }


    .history-hero p {
        font-size: 1rem;
    }


    .history-section {
        padding:
            55px 0;
    }


    .history-text h2 {
        font-size: 1.7rem;
    }


    .history-text p {
        font-size: 0.9rem;
    }


    .history-image-wrap {
        height: 260px;
    }


    .history-image-caption {
        padding:
            16px 18px;

        font-size: 0.78rem;
    }


    .turning-point-content blockquote {
        font-size: 1.08rem;
    }


    .turning-point-content p {
        font-size: 0.9rem;
    }


    .history-values-grid {
        grid-template-columns: 1fr;
    }

}