/* ============================================================
   GOD PAUL FOUNDATION
   HOMEPAGE STYLES
   ============================================================ */


/* ============================================================
   HOMEPAGE WRAPPER
   ============================================================ */

.home-page {
    width: 100%;
    overflow: hidden;

    background:
        #f3f8f5;
}


/* ============================================================
   HERO CAROUSEL
   ============================================================ */

.hero-carousel {
    position: relative;

    width: 100%;
    height: calc(100vh - 155px);

    min-height: 620px;
    max-height: 850px;

    overflow: hidden;

    background: #10251a;

    isolation: isolate;
}


.carousel-slide {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;

    opacity: 0;
    visibility: hidden;

    transform: scale(1.01);

    transition:
        opacity 0.9s ease,
        visibility 0.9s ease,
        transform 7s ease;

    z-index: 1;
}


.carousel-slide.active {
    opacity: 1;
    visibility: visible;

    transform: scale(1);

    z-index: 2;
}


/* ============================================================
   HERO IMAGE
   ============================================================ */

.slide-bg {
    position: absolute;
    inset: 0;

    overflow: hidden;
}


.slide-bg img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transform: scale(1.08);

    transition:
        transform 8s ease;
}


.carousel-slide.active .slide-bg img {
    transform: scale(1);
}


/* ============================================================
   HERO OVERLAY
   ============================================================ */

.slide-overlay {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 25, 15, 0.88) 0%,
            rgba(7, 35, 22, 0.72) 38%,
            rgba(5, 20, 13, 0.38) 70%,
            rgba(0, 0, 0, 0.20) 100%
        );

    z-index: 1;
}


.hero-pattern {
    position: absolute;
    inset: 0;

    z-index: 2;

    pointer-events: none;

    opacity: 0.16;

    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.08) 1px,
            transparent 1px
        );

    background-size: 70px 70px;

    mask-image:
        linear-gradient(
            to right,
            black,
            transparent 70%
        );
}


/* ============================================================
   HERO CONTAINER
   ============================================================ */

.hero-container {
    position: relative;

    width: 100%;
    max-width: 1200px;

    margin: 0 auto;

    padding:
        40px 20px 100px;

    z-index: 5;
}


/* ============================================================
   HERO CONTENT
   ============================================================ */

.slide-content {
    max-width: 760px;

    color: #ffffff;

    text-align: left;
}


.hero-accent {
    display: block;

    width: 72px;
    height: 5px;

    margin-bottom: 25px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--primary-green),
            #8de4b1
        );

    transform: scaleX(0);

    transform-origin: left;

    transition:
        transform 0.6s ease 0.2s;
}


.carousel-slide.active .hero-accent {
    transform: scaleX(1);
}


.slide-content h1 {
    max-width: 750px;

    margin: 0 0 22px;

    color: #ffffff;

    font-family:
        'Poppins',
        sans-serif;

    font-size:
        clamp(
            2.5rem,
            5vw,
            4.35rem
        );

    font-weight: 700;

    line-height: 1.08;

    letter-spacing: -1.5px;

    text-shadow:
        0 4px 25px
        rgba(0, 0, 0, 0.35);

    opacity: 0;

    transform:
        translateY(30px);

    transition:
        opacity 0.7s ease 0.2s,
        transform 0.7s ease 0.2s;
}


.carousel-slide.active
.slide-content h1 {

    opacity: 1;

    transform:
        translateY(0);
}


.slide-content p {
    max-width: 680px;

    margin: 0 0 34px;

    color:
        rgba(255, 255, 255, 0.94);

    font-size: 1.08rem;

    font-weight: 400;

    line-height: 1.8;

    text-shadow:
        0 2px 8px
        rgba(0, 0, 0, 0.25);

    opacity: 0;

    transform:
        translateY(25px);

    transition:
        opacity 0.7s ease 0.35s,
        transform 0.7s ease 0.35s;
}


.carousel-slide.active
.slide-content p {

    opacity: 1;

    transform:
        translateY(0);
}


.hero-actions {
    display: flex;
    flex-wrap: wrap;

    gap: 15px;

    opacity: 0;

    transform:
        translateY(20px);

    transition:
        opacity 0.7s ease 0.5s,
        transform 0.7s ease 0.5s;
}


.carousel-slide.active
.hero-actions {

    opacity: 1;

    transform:
        translateY(0);
}


/* ============================================================
   HOMEPAGE BUTTONS
   ============================================================ */

.home-btn {
    display: inline-flex;

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

    gap: 12px;

    min-height: 50px;

    padding:
        13px 24px;

    border-radius: 6px;

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.88rem;

    font-weight: 600;

    letter-spacing: 0.25px;

    transition:
        background-color 0.3s ease,
        color 0.3s ease,
        border-color 0.3s ease,
        transform 0.3s ease,
        box-shadow 0.3s ease;
}


.home-btn i {
    transition:
        transform 0.3s ease;
}


.home-btn:hover i {
    transform:
        translateX(4px);
}


.home-btn-primary {
    color: #ffffff;

    background:
        var(--primary-green);

    box-shadow:
        0 10px 30px
        rgba(60, 179, 113, 0.3);
}


.home-btn-primary:hover {
    color: #ffffff;

    background:
        var(--dark-green);

    transform:
        translateY(-3px);

    box-shadow:
        0 15px 35px
        rgba(32, 112, 67, 0.4);
}


.home-btn-outline {
    color:
        var(--dark-green);

    border:
        2px solid
        var(--dark-green);

    background:
        transparent;
}


.home-btn-outline:hover {
    color: #ffffff;

    background:
        var(--dark-green);

    transform:
        translateY(-3px);

    box-shadow:
        0 10px 25px
        rgba(46, 139, 87, 0.18);
}


/* ============================================================
   CAROUSEL ARROWS
   ============================================================ */

.carousel-arrow {
    position: absolute;

    top: 50%;

    width: 50px;
    height: 50px;

    display: flex;

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

    transform:
        translateY(-50%);

    z-index: 20;

    border:
        1px solid
        rgba(255, 255, 255, 0.4);

    border-radius: 50%;

    color: #ffffff;

    background:
        rgba(0, 0, 0, 0.15);

    backdrop-filter:
        blur(8px);

    cursor: pointer;

    opacity: 0.75;

    transition:
        opacity 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}


.carousel-prev {
    left: 30px;
}


.carousel-next {
    right: 30px;
}


.carousel-arrow:hover {
    opacity: 1;

    background:
        var(--primary-green);

    transform:
        translateY(-50%)
        scale(1.08);
}


/* ============================================================
   CAROUSEL INDICATORS
   ============================================================ */

.carousel-indicators {
    position: absolute;

    left: 50%;
    bottom: 40px;

    display: flex;

    align-items: center;

    gap: 10px;

    transform:
        translateX(-50%);

    z-index: 30;
}


.indicator {
    width: 10px;
    height: 10px;

    padding: 0;

    border: none;

    border-radius: 20px;

    background:
        rgba(255, 255, 255, 0.55);

    cursor: pointer;

    transition:
        width 0.3s ease,
        background-color 0.3s ease,
        transform 0.3s ease;
}


.indicator.active {
    width: 32px;

    background:
        var(--primary-green);
}


.indicator:hover {
    transform:
        scale(1.12);
}


/* ============================================================
   MISSION / INFORMATION SECTION
   ============================================================ */

.mission-section {
    position: relative;

    padding: 0 0 105px;

    background:
        linear-gradient(
            180deg,
            #dcefe4 0%,
            #e5f5eb 45%,
            #edf8f2 100%
        );

    overflow: visible;
}


/* ============================================================
   MISSION GRID
   ============================================================ */

.cards-grid {
    position: relative;

    display: grid;

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

    gap: 25px;

    transform:
        translateY(-55px);

    margin-bottom: -55px;

    z-index: 20;
}


/* ============================================================
   MISSION CARDS
   ============================================================ */

.mission-card {
    position: relative;

    min-height: 370px;

    padding:
        42px 34px 35px;

    display: flex;

    flex-direction: column;

    overflow: hidden;

    border:
        1px solid
        rgba(46, 139, 87, 0.12);

    border-radius: 18px;

    box-shadow:
        0 18px 45px
        rgba(27, 80, 50, 0.09);

    transition:
        transform 0.35s ease,
        box-shadow 0.35s ease,
        border-color 0.35s ease;

    isolation: isolate;
}


.mission-card:nth-child(1) {
    background:
        linear-gradient(
            145deg,
            #f7fcf9 0%,
            #dff3e7 100%
        );
}


.mission-card:nth-child(2) {
    background:
        linear-gradient(
            145deg,
            #f5fbfe 0%,
            #dceff8 100%
        );
}


.mission-card:nth-child(3) {
    background:
        linear-gradient(
            145deg,
            #f6fcf8 0%,
            #e0f4e8 100%
        );
}


.mission-card::before {
    content: '';

    position: absolute;

    top: 0;
    left: 0;

    width: 100%;
    height: 5px;

    background:
        linear-gradient(
            90deg,
            var(--primary-green),
            var(--primary-blue)
        );

    z-index: 3;
}


.mission-card::after {
    content: '';

    position: absolute;

    right: -65px;
    bottom: -80px;

    width: 190px;
    height: 190px;

    border-radius: 50%;

    background:
        rgba(60, 179, 113, 0.07);

    z-index: -1;

    transition:
        transform 0.5s ease,
        background-color 0.5s ease;
}


.mission-card:hover {
    transform:
        translateY(-10px);

    border-color:
        rgba(60, 179, 113, 0.30);

    box-shadow:
        0 25px 60px
        rgba(27, 80, 50, 0.15);
}


.mission-card:hover::after {
    transform:
        scale(1.4);

    background:
        rgba(60, 179, 113, 0.11);
}


/* ============================================================
   MISSION ICON
   ============================================================ */

.mission-icon-wrap {
    width: 65px;
    height: 65px;

    display: flex;

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

    margin-bottom: 25px;

    border-radius: 16px;

    background:
        rgba(60, 179, 113, 0.12);

    color:
        var(--dark-green);

    font-size: 1.6rem;

    box-shadow:
        0 8px 20px
        rgba(60, 179, 113, 0.08);

    transition:
        transform 0.3s ease,
        background-color 0.3s ease,
        color 0.3s ease;
}


.mission-card:nth-child(2)
.mission-icon-wrap {

    background:
        rgba(93, 173, 226, 0.14);

    color:
        #3488bb;
}


.mission-card:hover
.mission-icon-wrap {

    transform:
        translateY(-3px)
        rotate(-4deg);

    background:
        var(--primary-green);

    color:
        #ffffff;
}


.mission-card:nth-child(2):hover
.mission-icon-wrap {

    background:
        var(--dark-blue);

    color:
        #ffffff;
}


/* ============================================================
   MISSION NUMBER
   ============================================================ */

.mission-card-number {
    position: absolute;

    top: 24px;
    right: 27px;

    color:
        rgba(46, 139, 87, 0.09);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 4rem;

    font-weight: 700;

    line-height: 1;
}


.mission-card:nth-child(2)
.mission-card-number {

    color:
        rgba(93, 173, 226, 0.11);
}


/* ============================================================
   MISSION TEXT
   ============================================================ */

.mission-card h3 {
    position: relative;

    margin:
        0 0 15px;

    color:
        var(--dark-green);

    font-size: 1.22rem;

    font-weight: 700;

    z-index: 2;
}


.mission-card:nth-child(2) h3 {
    color:
        #397da5;
}


.mission-card p {
    position: relative;

    margin:
        0 0 26px;

    color:
        #52625a;

    font-size: 0.94rem;

    line-height: 1.75;

    flex-grow: 1;

    z-index: 2;
}


/* ============================================================
   MISSION LINK
   ============================================================ */

.mission-link {
    position: relative;

    display: inline-flex;

    align-items: center;

    gap: 8px;

    width: fit-content;

    color:
        var(--dark-green);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.86rem;

    font-weight: 600;

    z-index: 2;

    transition:
        color 0.3s ease,
        gap 0.3s ease;
}


.mission-card:nth-child(2)
.mission-link {

    color:
        #397da5;
}


.mission-link:hover {
    gap: 13px;

    color:
        var(--primary-green);
}


/* ============================================================
   SHARED SECTION HEADINGS
   ============================================================ */

.section-heading {
    max-width: 720px;

    margin:
        0 auto 58px;

    text-align: center;
}


.heading-line {
    width: 48px;
    height: 4px;

    margin:
        0 auto 15px;

    border-radius: 10px;

    background:
        linear-gradient(
            90deg,
            var(--primary-green),
            var(--primary-blue)
        );
}


.section-subtitle {
    display: block;

    margin-bottom: 8px;

    color:
        var(--primary-green);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.78rem;

    font-weight: 700;

    letter-spacing: 2.2px;

    text-transform: uppercase;
}


.section-heading h2 {
    margin:
        0 0 14px;

    color:
        #183c2a;

    font-size:
        clamp(
            2rem,
            4vw,
            2.7rem
        );

    font-weight: 700;

    letter-spacing: -0.7px;

    line-height: 1.2;
}


.section-heading p {
    max-width: 640px;

    margin:
        0 auto;

    color:
        #64746b;

    font-size: 0.98rem;

    line-height: 1.75;
}


/* ============================================================
   NEWS SECTION
   ============================================================ */

.news-section {
    position: relative;

    padding:
        105px 0;

    background:
        linear-gradient(
            180deg,
            #ffffff 0%,
            #f4fafc 45%,
            #edf8fb 100%
        );
}


.news-section::before {
    content: '';

    position: absolute;

    top: 0;
    left: 50%;

    width: 90%;
    max-width: 1200px;

    height: 1px;

    transform:
        translateX(-50%);

    background:
        linear-gradient(
            90deg,
            transparent,
            rgba(60, 179, 113, 0.18),
            rgba(93, 173, 226, 0.18),
            transparent
        );
}


/* ============================================================
   NEWS GRID
   ============================================================ */

.news-grid {
    display: grid;

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

    gap: 28px;
}


/* ============================================================
   ARTICLE CARD
   ============================================================ */

.article-card {
    display: flex;

    flex-direction: column;

    min-width: 0;

    overflow: hidden;

    border:
        1px solid
        rgba(93, 173, 226, 0.15);

    border-radius: 17px;

    background:
        rgba(255, 255, 255, 0.96);

    box-shadow:
        0 12px 35px
        rgba(41, 94, 119, 0.07);

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


.article-card:hover {
    transform:
        translateY(-8px);

    border-color:
        rgba(60, 179, 113, 0.30);

    box-shadow:
        0 22px 50px
        rgba(41, 94, 119, 0.14);
}


/* ============================================================
   ARTICLE IMAGE
   ============================================================ */

.article-img {
    position: relative;

    width: 100%;
    height: 230px;

    overflow: hidden;

    background:
        #edf1ee;
}


.article-img img {
    width: 100%;
    height: 100%;

    object-fit: cover;

    transition:
        transform 0.6s ease;
}


.article-card:hover
.article-img img {

    transform:
        scale(1.07);
}


.article-image-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to bottom,
            transparent 55%,
            rgba(0, 0, 0, 0.28)
        );

    pointer-events: none;
}


/* ============================================================
   ARTICLE BADGE
   ============================================================ */

.article-badge {
    position: absolute;

    top: 18px;
    left: 18px;

    padding:
        6px 13px;

    border-radius: 30px;

    color: #ffffff;

    background:
        var(--primary-green);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.7rem;

    font-weight: 600;

    text-transform: uppercase;

    letter-spacing: 0.5px;

    box-shadow:
        0 5px 15px
        rgba(0, 0, 0, 0.16);
}


.article-badge-blue {
    background:
        var(--dark-blue);
}


/* ============================================================
   ARTICLE BODY
   ============================================================ */

.article-body {
    display: flex;

    flex-direction: column;

    flex: 1;

    padding:
        27px 26px 28px;
}


.article-date {
    display: flex;

    align-items: center;

    gap: 7px;

    margin-bottom: 13px;

    color:
        var(--primary-green);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.75rem;

    font-weight: 600;

    text-transform: uppercase;
}


.article-body h3 {
    margin:
        0 0 13px;

    color:
        #25352b;

    font-size: 1.08rem;

    font-weight: 600;

    line-height: 1.5;

    transition:
        color 0.3s ease;
}


.article-card:hover
.article-body h3 {

    color:
        var(--dark-green);
}


.article-body p {
    margin:
        0 0 22px;

    color:
        var(--medium-text);

    font-size: 0.88rem;

    line-height: 1.7;

    flex: 1;
}


/* ============================================================
   ARTICLE LINK
   ============================================================ */

.article-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    width: fit-content;

    color:
        var(--dark-green);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.84rem;

    font-weight: 600;

    transition:
        gap 0.3s ease,
        color 0.3s ease;
}


.article-link:hover {
    gap: 13px;

    color:
        var(--primary-green);
}


/* ============================================================
   SECTION CTA
   ============================================================ */

.section-cta {
    margin-top: 48px;

    text-align: center;
}


/* ============================================================
   HOMEPAGE INSTITUTIONS SHOWCASE
   ============================================================ */

.impact-showcase-section {
    position: relative;

    padding:
        100px 0 115px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #dcefe4 0%,
            #e7f4eb 46%,
            #dfeff6 100%
        );
}


/* ============================================================
   HEADING
   ============================================================ */

.impact-showcase-heading {
    display: flex;

    align-items: flex-end;
    justify-content: space-between;

    gap: 50px;

    margin-bottom: 46px;
}


.impact-showcase-heading > div {
    max-width: 640px;
}


.impact-eyebrow {
    display: block;

    margin-bottom: 9px;

    color:
        var(--primary-green);

    font-family:
        'Poppins',
        sans-serif;

    font-size: 0.74rem;

    font-weight: 700;

    letter-spacing: 2px;

    text-transform: uppercase;
}


.impact-showcase-heading h2 {
    margin: 0;

    color:
        #1e5538;

    font-size:
        clamp(
            2.2rem,
            4.5vw,
            3.5rem
        );

    line-height: 1.14;

    letter-spacing: -0.9px;
}


.impact-showcase-heading > p {
    max-width: 460px;

    margin: 0;

    color:
        #587064;

    font-size: 0.93rem;

    line-height: 1.78;

    text-align: right;
}


/* ============================================================
   CAROUSEL WRAPPER
   ============================================================ */

.impact-focus-carousel {
    position: relative;
}


.impact-focus-viewport {
    position: relative;

    width: 100%;

    overflow: hidden;

    padding:
        22px 0 30px;
}


/* ============================================================
   TRACK
   ============================================================ */

.impact-focus-track {
    display: flex;

    align-items: center;

    gap: 22px;

    will-change: transform;

    transition:
        transform 0.75s
        cubic-bezier(
            0.22,
            1,
            0.36,
            1
        );
}


/* ============================================================
   CARDS
   ============================================================ */

.impact-focus-card {
    position: relative;

    flex:
        0 0 58%;

    height: 490px;

    overflow: hidden;

    border-radius: 24px;

    opacity: 0.46;

    transform:
        scale(0.88);

    filter:
        saturate(0.82);

    box-shadow:
        0 14px 35px
        rgba(30, 72, 48, 0.10);

    transition:
        transform 0.65s ease,
        opacity 0.65s ease,
        filter 0.65s ease,
        box-shadow 0.65s ease;
}


.impact-focus-card.active {
    opacity: 1;

    transform:
        scale(1);

    filter:
        saturate(1);

    box-shadow:
        0 30px 70px
        rgba(28, 72, 48, 0.20);

    z-index: 4;
}


.impact-focus-card.previous,
.impact-focus-card.next {
    opacity: 0.68;

    transform:
        scale(0.92);
}


.impact-focus-card img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transform:
        scale(1.03);

    transition:
        transform 0.8s ease;
}


.impact-focus-card.active img {
    transform:
        scale(1);
}


/* ============================================================
   IMAGE OVERLAY
   ============================================================ */

.impact-focus-overlay {
    position: absolute;

    inset: 0;

    background:
        linear-gradient(
            to top,
            rgba(9, 50, 30, 0.62) 0%,
            rgba(9, 50, 30, 0.06) 55%,
            transparent 100%
        );
}


/* ============================================================
   BADGES
   ============================================================ */

.impact-focus-badge {
    position: absolute;

    left: 22px;
    bottom: 22px;

    padding:
        8px 14px;

    border:
        1px solid
        rgba(255, 255, 255, 0.22);

    border-radius: 30px;

    color:
        #ffffff;

    background:
        rgba(34, 130, 79, 0.82);

    backdrop-filter:
        blur(8px);

    font-size: 0.72rem;

    font-weight: 700;

    letter-spacing: 0.7px;
}


.impact-focus-badge-blue {
    background:
        rgba(61, 143, 189, 0.84);
}


/* ============================================================
   ARROWS
   ============================================================ */

.impact-focus-arrow {
    position: absolute;

    top: 245px;

    width: 54px;
    height: 54px;

    display: flex;

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

    z-index: 15;

    transform:
        translateY(-50%);

    border:
        1px solid
        rgba(255, 255, 255, 0.60);

    border-radius: 50%;

    color:
        #ffffff;

    background:
        rgba(21, 80, 48, 0.72);

    backdrop-filter:
        blur(8px);

    cursor: pointer;

    box-shadow:
        0 12px 30px
        rgba(22, 69, 42, 0.15);

    transition:
        transform 0.3s ease,
        background-color 0.3s ease;
}


.impact-focus-prev {
    left: 18px;
}


.impact-focus-next {
    right: 18px;
}


.impact-focus-arrow:hover {
    background:
        var(--primary-green);

    transform:
        translateY(-50%)
        scale(1.08);
}


/* ============================================================
   INFORMATION PANEL
   ============================================================ */

.impact-focus-info {
    display: grid;

    grid-template-columns:
        minmax(0, 1fr)
        auto;

    align-items: center;

    gap: 45px;

    margin-top: 12px;

    padding:
        28px 30px;

    border:
        1px solid
        rgba(60, 179, 113, 0.14);

    border-radius: 18px;

    background:
        rgba(255, 255, 255, 0.58);

    box-shadow:
        0 14px 35px
        rgba(31, 78, 48, 0.06);
}


.impact-focus-info-main {
    max-width: 760px;
}


.impact-focus-info-main > span {
    display: block;

    margin-bottom: 5px;

    color:
        var(--primary-green);

    font-size: 0.7rem;

    font-weight: 700;

    letter-spacing: 1.5px;

    text-transform: uppercase;
}


.impact-focus-info h3 {
    margin:
        0 0 8px;

    color:
        #255f40;

    font-size:
        clamp(
            1.35rem,
            2.5vw,
            1.8rem
        );
}


.impact-focus-info p {
    margin: 0;

    color:
        #5b6f63;

    font-size: 0.88rem;

    line-height: 1.72;
}


/* ============================================================
   PROGRESS
   ============================================================ */

.impact-focus-progress {
    min-width: 210px;

    display: flex;

    align-items: center;

    gap: 11px;

    color:
        #607469;

    font-size: 0.72rem;

    font-weight: 700;
}


.impact-focus-progress-line {
    position: relative;

    width: 120px;
    height: 3px;

    overflow: hidden;

    border-radius: 5px;

    background:
        rgba(46, 139, 87, 0.15);
}


.impact-focus-progress-fill {
    width: 16.666%;
    height: 100%;

    border-radius: 5px;

    background:
        linear-gradient(
            90deg,
            var(--primary-green),
            var(--primary-blue)
        );

    transition:
        width 0.5s ease;
}


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

@media (max-width: 992px) {

    .impact-showcase-heading {
        align-items: flex-start;

        flex-direction: column;

        gap: 15px;
    }


    .impact-showcase-heading > p {
        text-align: left;
    }


    .impact-focus-card {
        flex-basis: 70%;

        height: 450px;
    }


    .impact-focus-arrow {
        top: 225px;
    }


    .impact-focus-info {
        grid-template-columns: 1fr;
    }

}


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

@media (max-width: 768px) {

    .impact-showcase-section {
        padding:
            75px 0 85px;
    }


    .impact-focus-viewport {
        overflow: visible;
    }


    .impact-focus-track {
        gap: 14px;
    }


    .impact-focus-card {
        flex-basis: 86%;

        height: 390px;

        border-radius: 18px;
    }


    .impact-focus-arrow {
        top: 195px;

        width: 46px;
        height: 46px;
    }


    .impact-focus-prev {
        left: 7px;
    }


    .impact-focus-next {
        right: 7px;
    }


    .impact-focus-info {
        gap: 22px;

        padding:
            23px 22px;
    }

}


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

@media (max-width: 480px) {

    .impact-focus-card {
        flex-basis: 92%;

        height: 320px;
    }


    .impact-focus-arrow {
        top: 160px;

        width: 42px;
        height: 42px;
    }


    .impact-focus-info h3 {
        font-size: 1.25rem;
    }


    .impact-focus-progress {
        min-width: 0;

        width: 100%;
    }


    .impact-focus-progress-line {
        flex: 1;
    }

}


/* ============================================================
   REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .impact-focus-track,
    .impact-focus-card,
    .impact-focus-card img,
    .impact-focus-progress-fill {

        transition:
            none !important;
    }

}


/* ============================================================
   SCROLL REVEAL
   ============================================================ */

.reveal-card {
    opacity: 0;

    transform:
        translateY(32px);

    transition:
        opacity 0.7s ease
        var(--reveal-delay, 0ms),

        transform 0.7s ease
        var(--reveal-delay, 0ms);
}


.reveal-card.revealed {
    opacity: 1;

    transform:
        translateY(0);
}


/* ============================================================
   LAPTOP / SMALL DESKTOP
   ============================================================ */

@media (max-width: 1100px) {

    .carousel-prev {
        left: 15px;
    }


    .carousel-next {
        right: 15px;
    }


    .carousel-arrow {
        width: 44px;
        height: 44px;
    }


    .hero-container {
        padding-left: 70px;
        padding-right: 70px;
    }

}


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

@media (max-width: 992px) {

    .hero-carousel {
        height: 680px;

        min-height: 0;
    }


    .hero-container {
        padding:
            50px 65px 100px;
    }


    .slide-content {
        max-width: 650px;
    }


    .slide-content h1 {
        font-size:
            clamp(
                2.4rem,
                6vw,
                3.6rem
            );
    }


    .cards-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .mission-card:last-child {
        grid-column:
            1 / -1;
    }


    .news-grid,
    .research-grid {
        grid-template-columns:
            repeat(2, 1fr);
    }


    .article-card:last-child,
    .research-card:last-child {
        grid-column:
            1 / -1;
    }

}


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

@media (max-width: 768px) {

    .hero-carousel {
        height: 620px;

        min-height: 620px;
    }


    .hero-container {
        display: flex;

        align-items: center;

        height: 100%;

        padding:
            30px 25px 75px;
    }


    .slide-overlay {
        background:
            linear-gradient(
                90deg,
                rgba(4, 28, 16, 0.86),
                rgba(5, 25, 15, 0.62)
            );
    }


    .hero-pattern {
        background-size:
            45px 45px;
    }


    .slide-content {
        max-width: 100%;

        text-align: left;
    }


    .hero-accent {
        width: 50px;

        margin-bottom: 18px;
    }


    .slide-content h1 {
        margin-bottom: 17px;

        font-size:
            clamp(
                2rem,
                9vw,
                2.8rem
            );

        line-height: 1.12;

        letter-spacing: -0.7px;
    }


    .slide-content p {
        margin-bottom: 27px;

        font-size: 0.95rem;

        line-height: 1.65;
    }


    .home-btn {
        min-height: 47px;

        padding:
            11px 19px;

        font-size: 0.81rem;
    }


    .carousel-arrow {
        display: none;
    }


    .carousel-indicators {
        bottom: 28px;
    }


    .mission-section {
        padding-bottom: 70px;
    }


    .cards-grid {
        grid-template-columns: 1fr;

        transform:
            translateY(-35px);

        margin-bottom: -35px;

        gap: 18px;
    }


    .mission-card:last-child {
        grid-column: auto;
    }


    .mission-card {
        min-height: auto;

        padding:
            33px 25px 29px;
    }


    .mission-card-number {
        right: 20px;

        font-size: 3rem;
    }


    .news-section,
    .research-section {
        padding:
            75px 0;
    }


    .section-heading {
        margin-bottom: 40px;
    }


    .section-heading h2 {
        font-size: 2rem;
    }


    .news-grid,
    .research-grid {
        grid-template-columns: 1fr;

        gap: 22px;
    }


    .article-card:last-child,
    .research-card:last-child {
        grid-column: auto;
    }


    .article-img,
    .research-img {
        height: 230px;
    }


    .section-cta {
        margin-top: 38px;
    }

}


/* ============================================================
   SMALL PHONES
   ============================================================ */

@media (max-width: 480px) {

    .hero-carousel {
        height: 570px;

        min-height: 570px;
    }


    .hero-container {
        padding:
            25px 18px 65px;
    }


    .slide-content h1 {
        font-size: 2rem;
    }


    .slide-content p {
        font-size: 0.9rem;

        line-height: 1.6;
    }


    .home-btn {
        width: 100%;

        max-width: 230px;
    }


    .mission-card {
        padding:
            30px 22px 27px;
    }


    .mission-icon-wrap {
        width: 56px;
        height: 56px;

        font-size: 1.4rem;
    }


    .section-heading h2 {
        font-size: 1.75rem;
    }


    .section-heading p {
        font-size: 0.9rem;
    }


    .article-body,
    .research-body {
        padding-left: 22px;
        padding-right: 22px;
    }


    .article-img,
    .research-img {
        height: 205px;
    }

}


/* ============================================================
   ACCESSIBILITY — REDUCED MOTION
   ============================================================ */

@media (prefers-reduced-motion: reduce) {

    .carousel-slide,
    .slide-bg img,
    .slide-content h1,
    .slide-content p,
    .hero-actions,
    .hero-accent,
    .reveal-card {

        transition: none !important;
    }


    .reveal-card {
        opacity: 1;

        transform: none;
    }

}

