/* Charity Page Styles */

.charity-page {
    background-color: #f5f5f5;
    color: #3a3d4e;
    font-family: 'Gilroy', Arial, sans-serif;
}

.charity-hero {
    padding: 120px 0;
}

.charity-hero__inner {
    position: relative;
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px 220px;
    min-height: 400px;
}

.charity-card {
    position: absolute;
    background-color: #ffffff;
    border-radius: 30px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.12);
    padding: 48px 52px 48px 153px;
    text-align: center;
}

.charity-card--primary {
    top: 0;
    right: clamp(0px, 8vw, 80px);
    width: clamp(320px, 55vw, 540px);
    z-index: 1;
}

.charity-card--overlay {
    top: clamp(220px, 34vw, 350px);
    left: clamp(0px, 12vw, 28px);
    width: clamp(280px, 42vw, 500px);
    padding: 40px 44px;
    transform: translateY(-45%);
    z-index: 2;
    text-align: center;
}

.charity-card__logo {
    margin-bottom: 24px;
}

.charity-card__logo img {
    display: block;
    max-width: 220px;
    width: 100%;
    height: auto;
}

.charity-card__title {
    margin: 0 0 12px;
    font-size: 32px;
    font-weight: 600;
    line-height: 1.35;
    color: #3a3d4e;
}

.charity-card__subtitle {
    margin: 0;
    font-size: 20px;
    color: #3a3d4e;
    line-height: 1.4;
}

.charity-card__overlay-title {
    margin: 0 0 12px;
    font-size: 28px;
    font-weight: 600;
    color: #1f2430;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.charity-card__overlay-text {
    font-size: 18px;
    line-height: 1.6;
    color: #3a3d4e;
    margin-bottom: 20px;
}

.charity-card__overlay-text p {
    margin: 0 0 12px;
}

.charity-card__overlay-text p:last-child {
    margin-bottom: 0;
}

.charity-card__button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 180px;
    height: 50px;
    padding: 0 28px;
    background-color: #ff8a00;
    border-radius: 40px;
    color: #ffffff;
    font-size: 18px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
    box-shadow: 0 12px 25px rgba(255, 138, 0, 0.28);
}

.charity-card__button:hover {
    background-color: #e67d00;
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(255, 138, 0, 0.35);
}

@media screen and (max-width: 1199px) {
    .charity-hero {
        padding: 100px 0;
    }

    .charity-card--primary {
        width: clamp(320px, 60vw, 500px);
    }

    .charity-card--overlay {
        width: clamp(260px, 48vw, 520px);
    }
}

@media screen and (max-width: 959px) {
    .charity-card {
        position: relative;
        width: min(92vw, 520px);
        margin: 0 auto;
        left: auto;
        right: auto;
        transform: none;
    }

    .charity-card--primary {
        margin-bottom: 40px;
        right: auto;
    }

    .charity-card--overlay {
        top: auto;
        left: auto;
    }

    .charity-card__title {
        font-size: 30px;
    }

    .charity-card__overlay-title {
        font-size: 26px;
    }
}

@media screen and (max-width: 639px) {
    .charity-hero {
        padding: 72px 0;
    }

    .charity-card {
        padding: 32px;
        margin-bottom: 32px;
    }

    .charity-card__title {
        font-size: 26px;
    }

    .charity-card__overlay-title {
        font-size: 24px;
    }

    .charity-card__overlay-text {
        font-size: 16px;
    }

    .charity-card__button {
        width: 100%;
        min-width: 0;
    }
}
