/* =========================================================
   GLOBAL RELIEF UNITY
   CAUSES PAGE
========================================================= */


/* =========================================================
   PAGE CONTAINER
========================================================= */

.causes-page {
    width: 100%;
    overflow: hidden;
}

.causes-page-container {
    width: min(1180px, calc(100% - 40px));
    margin: 0 auto;
}


/* =========================================================
   SHARED CAUSES TYPOGRAPHY
========================================================= */

.causes-section-eyebrow {
    display: inline-block;
    margin-bottom: 14px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;

    color: #16733a;
}

.causes-section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 40px;

    margin-bottom: 40px;
}

.causes-section-heading h2 {
    margin: 0;

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;
    font-weight: 700;

    color: #142019;
}

.causes-section-heading > p {
    max-width: 420px;
    margin: 0;

    font-size: 16px;
    line-height: 1.7;

    color: #5f6d64;
}


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

.causes-intro-section {
    padding: 80px 0 70px;

    background: #f7faf8;
}

.causes-intro-content {
    max-width: 820px;
}

.causes-intro-content h2 {
    margin: 0 0 22px;

    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.08;
    font-weight: 700;

    color: #142019;
}

.causes-intro-content p {
    max-width: 700px;
    margin: 0;

    font-size: 18px;
    line-height: 1.75;

    color: #5f6d64;
}


/* =========================================================
   PRIMARY CAUSE CATEGORIES
========================================================= */

.cause-categories-section {
    padding: 90px 0;
    background: #ffffff;
}

.cause-categories-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 24px;
}


/* =========================================================
   PRIMARY CAUSE CARD
========================================================= */

.cause-category-card {
    display: flex;
    flex-direction: column;

    min-width: 0;

    background: #ffffff;

    border: 1px solid #e1e9e4;
    border-radius: 18px;

    overflow: hidden;

    box-shadow: 0 8px 28px rgba(20, 32, 25, 0.05);

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

.cause-category-card:hover {
    transform: translateY(-5px);

    border-color: #cbdacf;

    box-shadow: 0 16px 38px rgba(20, 32, 25, 0.09);
}


/* =========================================================
   PRIMARY CARD VISUAL
========================================================= */

.cause-card-visual {
    position: relative;

    min-height: 190px;

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

    background: #f5f9f6;

    overflow: hidden;
}

.cause-card-number {
    position: absolute;

    top: 18px;
    left: 20px;

    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.08em;

    color: #6d7b72;
}

.cause-card-icon {
    width: 72px;
    height: 72px;

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

    border: 1px solid rgba(22, 115, 58, 0.20);
    border-radius: 50%;

    font-size: 32px;
    font-weight: 600;

    color: #16733a;
    background: #ffffff;

    box-shadow: 0 10px 25px rgba(20, 32, 25, 0.07);
}


/* =========================================================
   PRIMARY CAUSE VISUAL VARIATIONS
========================================================= */

.cause-health {
    background: #f1f8f3;
}

.cause-education {
    background: #f4f8f6;
}

.cause-emergency {
    background: #faf6f1;
}

.cause-food {
    background: #f7f8f1;
}

.cause-shelter {
    background: #f4f6f8;
}

.cause-community {
    background: #f2f8f5;
}


/* =========================================================
   PRIMARY CARD CONTENT
========================================================= */

.cause-card-content {
    display: flex;
    flex-direction: column;
    flex: 1;

    padding: 26px;
}

.cause-card-label {
    display: block;
    margin-bottom: 9px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;

    color: #16733a;
}

.cause-card-content h3 {
    margin: 0 0 13px;

    font-size: 24px;
    line-height: 1.25;
    font-weight: 700;

    color: #142019;
}

.cause-card-content p {
    margin: 0 0 24px;

    font-size: 15px;
    line-height: 1.7;

    color: #5f6d64;
}

.cause-card-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;

    margin-top: auto;

    width: fit-content;

    font-size: 14px;
    font-weight: 700;

    color: #16733a;
    text-decoration: none;

    transition: gap 0.2s ease;
}

.cause-card-link span {
    font-size: 18px;
    line-height: 1;
}

.cause-card-link:hover {
    gap: 12px;
}


/* =========================================================
   MORE CAUSES
========================================================= */

.more-causes-section {
    padding: 90px 0;

    background: #f7faf8;

    border-top: 1px solid #e7eee9;
}

.more-causes-heading {
    margin-bottom: 36px;
}

.more-causes-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}


/* =========================================================
   MORE CAUSE CARD
========================================================= */

.more-cause-card {
    display: flex;
    align-items: flex-start;
    gap: 20px;

    min-width: 0;

    padding: 24px;

    background: #ffffff;

    border: 1px solid #e1e9e4;
    border-radius: 16px;

    box-shadow: 0 6px 22px rgba(20, 32, 25, 0.035);

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

.more-cause-card:hover {
    transform: translateY(-4px);

    border-color: #cbdacf;

    box-shadow: 0 14px 30px rgba(20, 32, 25, 0.07);
}


/* =========================================================
   MORE CAUSE ICON
========================================================= */

.more-cause-icon {
    flex: 0 0 52px;

    width: 52px;
    height: 52px;

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

    border-radius: 14px;

    background: #f1f7f3;

    border: 1px solid #dce8df;

    font-size: 23px;
    font-weight: 600;

    color: #16733a;
}

.cause-child-welfare {
    background: #f5f8f4;
}

.cause-women {
    background: #f8f4f6;
}

.cause-elderly {
    background: #f5f6f3;
}

.cause-disability {
    background: #f2f6f8;
}

.cause-livelihood {
    background: #f4f7f3;
}

.cause-disaster-relief {
    background: #faf5f1;
}

.cause-orphan-vulnerable-children {
    background: #f7f4f6;
}

.cause-water-sanitation {
    background: #f1f7f8;
}

.cause-other {
    background: #f4f5f4;
}


/* =========================================================
   MORE CAUSE CONTENT
========================================================= */

.more-cause-content {
    min-width: 0;
    flex: 1;
}

.more-cause-number {
    display: inline-block;
    margin-right: 7px;

    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;

    color: #78857d;
}

.more-cause-label {
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.10em;
    text-transform: uppercase;

    color: #16733a;
}

.more-cause-content h3 {
    margin: 8px 0 9px;

    font-size: 20px;
    line-height: 1.3;
    font-weight: 700;

    color: #142019;
}

.more-cause-content p {
    margin: 0 0 16px;

    font-size: 14px;
    line-height: 1.65;

    color: #66736b;
}

.more-cause-link {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    font-size: 13px;
    font-weight: 700;

    color: #16733a;
    text-decoration: none;

    transition: gap 0.2s ease;
}

.more-cause-link span {
    font-size: 17px;
    line-height: 1;
}

.more-cause-link:hover {
    gap: 11px;
}


/* =========================================================
   HOW SUPPORT HELPS
========================================================= */

.causes-help-section {
    padding: 100px 0;

    background: #ffffff;
}

.causes-help-grid {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(360px, 0.95fr);
    gap: 80px;
    align-items: center;
}

.causes-help-content h2 {
    max-width: 600px;
    margin: 0 0 22px;

    font-size: clamp(32px, 4vw, 48px);
    line-height: 1.12;
    font-weight: 700;

    color: #142019;
}

.causes-help-content p {
    max-width: 650px;
    margin: 0 0 18px;

    font-size: 16px;
    line-height: 1.75;

    color: #5f6d64;
}


/* =========================================================
   HOW SUPPORT POINTS
========================================================= */

.causes-help-points {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.causes-help-point {
    display: flex;
    align-items: flex-start;
    gap: 18px;

    padding: 22px;

    border: 1px solid #e1e9e4;
    border-radius: 14px;

    background: #f7faf8;
}

.causes-help-icon {
    flex: 0 0 44px;

    width: 44px;
    height: 44px;

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

    border-radius: 50%;

    background: #ffffff;
    border: 1px solid #dce7df;

    font-size: 12px;
    font-weight: 700;

    color: #16733a;
}

.causes-help-point h3 {
    margin: 1px 0 6px;

    font-size: 18px;
    line-height: 1.3;

    color: #142019;
}

.causes-help-point p {
    margin: 0;

    font-size: 14px;
    line-height: 1.6;

    color: #66736b;
}


/* =========================================================
   FINAL CTA
========================================================= */

.causes-final-cta {
    padding: 70px 0;

    background: #142019;
}

.causes-final-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.causes-final-cta .causes-section-eyebrow {
    color: #a8d2b5;
}

.causes-final-cta h2 {
    margin: 0 0 12px;

    font-size: clamp(30px, 4vw, 44px);
    line-height: 1.15;

    color: #ffffff;
}

.causes-final-cta p {
    margin: 0;

    font-size: 16px;
    line-height: 1.7;

    color: #c6d2ca;
}

.causes-final-cta-button {
    flex: 0 0 auto;

    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;

    min-height: 52px;
    padding: 0 24px;

    border-radius: 8px;

    background: #ffffff;
    color: #142019;

    font-size: 14px;
    font-weight: 700;

    text-decoration: none;

    transition:
        transform 0.2s ease,
        background 0.2s ease;
}

.causes-final-cta-button span {
    font-size: 18px;
}

.causes-final-cta-button:hover {
    transform: translateY(-2px);
    background: #f1f5f2;
}


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

@media (max-width: 1000px) {

    .causes-page-container {
        width: min(100% - 32px, 900px);
    }

    .cause-categories-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .more-causes-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .causes-help-grid {
        grid-template-columns: 1fr;
        gap: 45px;
    }

}


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

@media (max-width: 700px) {

    .causes-page-container {
        width: calc(100% - 28px);
    }

    .causes-intro-section {
        padding: 55px 0 50px;
    }

    .causes-intro-content h2 {
        font-size: 34px;
    }

    .causes-intro-content p {
        font-size: 16px;
    }

    .cause-categories-section,
    .more-causes-section {
        padding: 65px 0;
    }

    .causes-section-heading {
        display: block;
        margin-bottom: 30px;
    }

    .causes-section-heading h2 {
        font-size: 30px;
    }

    .causes-section-heading > p {
        margin-top: 14px;
        font-size: 15px;
    }

    .cause-categories-grid,
    .more-causes-grid {
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .cause-card-visual {
        min-height: 160px;
    }

    .cause-card-content {
        padding: 23px;
    }

    .cause-card-content h3 {
        font-size: 22px;
    }

    .more-cause-card {
        gap: 15px;
        padding: 20px;
    }

    .more-cause-icon {
        flex-basis: 46px;

        width: 46px;
        height: 46px;

        border-radius: 12px;

        font-size: 20px;
    }

    .more-cause-content h3 {
        font-size: 19px;
    }

    .causes-help-section {
        padding: 70px 0;
    }

    .causes-help-content h2 {
        font-size: 32px;
    }

    .causes-help-point {
        padding: 18px;
    }

    .causes-final-cta {
        padding: 55px 0;
    }

    .causes-final-cta-inner {
        display: block;
    }

    .causes-final-cta-button {
        width: 100%;
        margin-top: 28px;
    }

}


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

@media (max-width: 420px) {

    .causes-page-container {
        width: calc(100% - 24px);
    }

    .causes-intro-content h2 {
        font-size: 30px;
    }

    .causes-section-heading h2 {
        font-size: 27px;
    }

    .cause-card-visual {
        min-height: 145px;
    }

    .cause-card-icon {
        width: 62px;
        height: 62px;

        font-size: 28px;
    }

    .cause-card-content {
        padding: 20px;
    }

    .more-cause-card {
        padding: 18px;
    }

}