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

.fundraising-progress {
    position: relative;
    overflow: hidden;
    padding: 72px 0;
    background-color: #fff;
}

.fundraising-progress::before {
    position: absolute;
    top: -200px;
    left: 50%;
    width: 520px;
    height: 520px;
    content: "";
    background: radial-gradient(circle,
            rgba(233, 149, 99, 0.12),
            rgba(233, 149, 99, 0) 70%);
    transform: translateX(-50%);
    pointer-events: none;
}


/* =========================
   HEADER
   ========================= */

.fundraising-progress__header {
    position: relative;
    z-index: 1;
    display: grid;
    gap: 28px;
    margin-bottom: 38px;
}

.fundraising-progress__header .section-heading__title {
    max-width: 760px;
}

.fundraising-progress__percent {
    display: flex;
    align-items: baseline;
    gap: 8px;
}

.fundraising-progress__percent strong {
    color: var(--color-orange);
    font-size: 48px;
    line-height: 1;
    letter-spacing: -0.05em;
}

.fundraising-progress__percent span {
    color: var(--color-text-secondary);
    font-size: 14px;
    font-weight: 600;
}


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

.fundraising-progress__card {
    position: relative;
    z-index: 1;

    padding: 24px;

    background:
        linear-gradient(135deg,
            var(--color-orange-soft),
            #fff 55%);

    border: 1px solid var(--color-border);
    border-radius: var(--border-radius-large);

    box-shadow:
        0 24px 70px rgba(32, 32, 32, 0.07);
}


/* =========================
   AMOUNTS
   ========================= */

.fundraising-progress__amounts {
    display: grid;
    gap: 24px;
}

.fundraising-progress__collected,
.fundraising-progress__target {
    display: flex;
    flex-direction: column;
    gap: 7px;
}

.fundraising-progress__collected>span,
.fundraising-progress__target>span {
    color: var(--color-text-secondary);
    font-size: 13px;
    font-weight: 600;
}

.fundraising-progress__collected strong {
    color: var(--color-blue);
    font-size: clamp(34px, 10vw, 52px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.fundraising-progress__target strong {
    color: var(--color-text-secondary);
    font-size: 22px;
    line-height: 1.2;
}


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

.fundraising-progress__bar {
    overflow: hidden;

    width: 100%;
    height: 18px;

    margin: 32px 0;

    background-color: #EDE9E6;

    border-radius: 100px;
}

.fundraising-progress__bar-value {
    width: 0;
    height: 100%;

    background:
        linear-gradient(90deg,
            var(--color-orange),
            #F3B278 55%,
            var(--color-blue));

    border-radius: inherit;

    transition: width 1.1s ease;
}


/* =========================
   FOOTER
   ========================= */

.fundraising-progress__footer {
    display: grid;
    gap: 28px;
}


/* =========================
   DONORS
   ========================= */

.donors {
    display: flex;
    align-items: center;
    gap: 14px;
}

.donors__icon {
    position: relative;

    flex: 0 0 auto;

    width: 54px;
    height: 42px;
}

.donors__icon span {
    position: absolute;
    top: 4px;

    width: 30px;
    height: 30px;

    background-color: var(--color-orange-soft);
    border: 2px solid #fff;
    border-radius: 50%;
}

.donors__icon span:nth-child(1) {
    left: 0;
}

.donors__icon span:nth-child(2) {
    left: 12px;
    background-color: var(--color-orange-light);
}

.donors__icon span:nth-child(3) {
    left: 24px;
    background-color: var(--color-blue-soft);
}

.donors__text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.donors__text strong {
    color: var(--color-blue);
    font-size: 15px;
}

.donors__text>span {
    color: var(--color-text-secondary);
    font-size: 12px;
    line-height: 1.4;
}


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

@media (min-width: 768px) {
    .fundraising-progress {
        padding: 96px 0;
    }

    .fundraising-progress__header {
        grid-template-columns: 1fr auto;
        align-items: end;
    }

    .fundraising-progress__percent {
        flex-direction: column;
        align-items: flex-end;
        gap: 4px;
    }

    .fundraising-progress__percent strong {
        font-size: 60px;
    }

    .fundraising-progress__card {
        padding: 34px;
    }

    .fundraising-progress__amounts {
        grid-template-columns: 1fr auto;
        align-items: end;
    }

    .fundraising-progress__target {
        align-items: flex-end;
        text-align: right;
    }

    .fundraising-progress__footer {
        grid-template-columns: 1fr auto;
        align-items: center;
    }
}


/* =========================
   DESKTOP
   ========================= */

@media (min-width: 1024px) {
    .fundraising-progress {
        padding: 120px 0;
    }

    .fundraising-progress__card {
        padding: 44px;
    }

    .fundraising-progress__bar {
        height: 22px;
        margin: 38px 0;
    }

    .fundraising-progress__percent strong {
        font-size: 72px;
    }

    .fundraising-progress__collected strong {
        font-size: 58px;
    }
}