@font-face {
    font-family: "Analogue";
    src: url("Analogue.otf?$staticlink$") format("opentype");
}

@font-face {
    font-family: "Analogue";
    src: url("Analogue-Italic.otf?$staticlink$") format("opentype");
    font-style: italic;
}

.carousel-hero {
    position: relative;
    padding-block: clamp(2rem, 6vw, 6rem);
    background-color: #F6F6F6;
}

.carousel-hero__wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    max-width: 1680px;
    margin: 0 auto;
    overflow: hidden;
    padding-inline: clamp(1rem, 5vw, 2rem);
    /* <-- ADD THIS */
}

.carousel-hero__track {
    display: flex;
    transition: transform 0.5s ease;
}

.carousel-hero__slide {
    min-width: 100%;
    display: flex;
    flex: 0 0 100%;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease;
}

.carousel-hero__slide--active {
    opacity: 1;
    visibility: visible;
}

.carousel-hero__content {
    display: grid;
    grid-template-columns: 1.4fr 1fr;
    align-items: center;
    gap: clamp(1.5rem, 5vw, 66px);
    padding-inline: clamp(2rem, 5vw, 3rem);
}

.carousel-hero__image img {
    width: 100%;
    height: auto;
    display: block;
}

.carousel-hero__text {
    text-align: left;
}

.carousel-hero__headline {
    font-size: clamp(2rem, 1.4253rem + 2.4521vw, 4rem);
    margin-bottom: 1rem;
    font-family: "Analogue";
    font-weight: 400;
}

.carousel-hero__description {
    font-size: clamp(1rem, 0.8563rem + 0.613vw, 1.5rem);
    margin-bottom: 1.5rem;
}

.carousel-hero__link {
    font-weight: bold;
    text-decoration: underline;
}

.carousel-hero__link img {
    height:55px
}


.carousel-hero__arrow {
    background: none;
    border: none;
    cursor: pointer;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    padding: 0.5rem;
    display: none;
}

.carousel-hero__arrow svg {
    width: 26px;
    height: 49px;
    fill: black;
    /* You can also control color here if needed */
}

.carousel-hero__arrow--left {
    left: 1rem;
}

.carousel-hero__arrow--right {
    right: 1rem;
}

.carousel-hero__pagination {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.carousel-hero__dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ccc;
    display: none;/* remove this for more slides */
}

.carousel-hero__dot--active {
    background: #333;
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .carousel-hero {
        padding: 0;
        /* Remove top/bottom padding */
    }

    .carousel-hero__wrapper {
        padding-inline: 0;
        /* Remove left/right padding */
        margin: 0;
        /* Optional: if you want NO margin either */
    }

    .carousel-hero__content {
        grid-template-columns: 1fr;
        text-align: center;
        padding-inline: 0;
        /* Remove internal padding */
    }

    .carousel-hero__arrow {
        display: none;
        /* No arrows on mobile */
    }

    .carousel-hero__text {
        text-align: center;
    }
    .carousel-hero__link img {
    height:33px
}
}

.section-mission {
    background-color: #f8eff4;
    /* light pink background */
    text-align: center;
    padding-block: clamp(3rem, 8vw, 6rem);
}

.section-mission__wrapper {
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 2rem);
}

.section-mission__title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    margin-bottom: 1.5rem;
    font-family: "Analogue";
    font-weight: 400;
}

.section-mission__text {
    font-size: clamp(1rem, 2vw, 1.25rem);
    line-height: 1.5;
}

.section-numbers {
    background-color: #fff;
    text-align: center;
    padding-block: clamp(3rem, 8vw, 6rem);
}

.section-numbers__wrapper {
    max-width: 1280px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 2rem);
}

.section-numbers__title {
    font-size: clamp(1.75rem, 4vw, 3rem);
    margin-bottom: clamp(2rem, 5vw, 4rem);
    font-family: "Analogue";
    font-weight: 400;
}

.section-numbers__grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: clamp(1rem, 5vw, 2rem);
}

.section-numbers__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding-inline: clamp(1rem, 2vw, 2rem);
    position: relative;
}

.section-numbers__item:not(:last-child)::after {
    content: "";
    position: absolute;
    top: 60%;
    right: 0;
    transform: translateY(-50%);
    width: 3px;
    height: 100%;
    background-color: #ccc;
}

.section-numbers__value {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 1rem;
}

.section-numbers__description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    line-height: 1.4;
}

/* Mobile stacking */
@media (max-width: 768px) {
    .section-numbers__grid {
        grid-template-columns: 1fr;
    }

    .section-numbers__item:not(:last-child)::after {
        width: 80%;
        height: 3px;
        top: auto;
        bottom: 0;
        left: 10%;
        right: 10%;
        transform: none;
    }
}


.partners-feature {
    background-color: #eee;
    padding-block: clamp(3rem, 8vw, 6rem);
    text-align: center;
}

.partners-feature__wrapper {
    max-width: 1680px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 2rem);
}

.partners-feature__title {
    font-size: clamp(2rem, 1.7126rem + 1.2261vw, 3rem);
    font-family: "Analogue";
    margin-bottom: clamp(2rem, 5vw, 4rem);
    text-align: left;
    font-weight: 400;
}

.partners-feature__content {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    align-items: center;
    gap: clamp(1rem, 5vw, 4rem);
}

.partners-feature__image img {
    width: 100%;
    height: auto;
    display: block;
}

.partners-feature__text {
    text-align: left;
}

.partners-feature__partner-name {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    font-weight: bold;
    margin-bottom: 1rem;
}

.partners-feature__description {
    font-size: clamp(1rem, 2vw, 1.125rem);
    margin-bottom: 2rem;
    line-height: 1.5;
}

.partners-feature__quote {
    margin-top: 2rem;
    padding-left: 1rem;
    border-left: 2px solid #ccc;
    text-align: left;
    font-style: italic;
}

.partners-feature__quote-text {
    font-size: clamp(1rem, 2vw, 1.125rem);
    position: relative;
    line-height: 1.6;
}

.partners-feature__quote-mark {
    font-size: 2rem;
    vertical-align: middle;
}

.partners-feature__cite {
    display: block;
    margin-top: 1rem;
    font-size: 0.875rem;
    color: #333;
}

/* Mobile Adjustments */
@media (max-width: 768px) {

    .partners-feature__content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .partners-feature__title {
        text-align: center;
    }

    .partners-feature__image {
        margin-inline: calc(-1 * clamp(1rem, 5vw, 2rem));
        /* Pull image outside padding */
    }

    .partners-feature__image img {
        width: 100%;
        height: auto;
        display: block;
    }

    .partners-feature__text {
        padding-inline: clamp(1rem, 5vw, 2rem);
    }

    .partners-feature__quote {
        display: none;
        /* Hide quote on mobile */
    }
}


.impact-grid {
    background-color: #fff;
    text-align: center;
    padding-block: clamp(3rem, 8vw, 6rem);
}

.impact-grid__wrapper {
    max-width: 1680px;
    margin-inline: auto;
    padding-inline: clamp(1rem, 5vw, 2rem);
}

.impact-grid__title {
    font-size: clamp(2rem, 1.7126rem + 1.2261vw, 3rem);
    font-family: "Analogue";
    margin-bottom: 1rem;
    font-weight: 400;
}

.impact-grid__subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: clamp(2rem, 5vw, 4rem);
    max-width: 800px;
    margin-inline: auto;
    line-height: 1.5;
}

.impact-grid__cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1vw;
}

.impact-grid__card {
    background-color: transparent;
    aspect-ratio: 1 / 1;
    perspective: 1000px;
}

.impact-grid__inner {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s ease;
}

.impact-grid__card.is-flipped .impact-grid__inner {
    transform: rotateY(180deg);
}

.impact-grid__front,
.impact-grid__back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    background-color: #f6f6f6;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 1rem;
    box-sizing: border-box;
    text-align: center;
}

.impact-grid__back {
    transform: rotateY(180deg);
}

.impact-grid__toggle {
    position: absolute;
    bottom: 1rem;
    right: 1rem;
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.impact-grid__logo {
    max-width: 60%;
    max-height: 60%;
    object-fit: contain;
}

.impact-grid__description {
    font-size:  clamp(.7rem, 1vw, 1.2rem);
    line-height: 1.4;
    color: #000;
    letter-spacing: 0px;
}

@media (max-width: 1024px) {
    .impact-grid__cards {
        grid-template-columns: repeat(2, 1fr);
    }
}


.donation-modal__button {
    position: fixed;
    width: 100%;
    bottom: 0;
    left: 0;
    padding: 0.2em 0;
    text-align: center;
    background-color: #f6d2e5;
    color: #000;
    font-family: 'sofia-pro', sans-serif;
    font-size: 1.25em;
    font-weight: 600;
    line-height: 2.5;
    letter-spacing: 0.02em;
    cursor: pointer;
    z-index: 100;
}

@media (min-width: 1024px) {
    .donation-modal__button {
        font-size: 1.6em;
        line-height: 3;
    }
}

.donation-modal__overlay {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background-color: rgba(255, 255, 255, 0.9);
    z-index: 500;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.donation-modal__overlay-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.donation-modal__content {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 10;
}

.donation-modal__items {
    position: relative;
    width: 100%;
    height: 100%;
    aspect-ratio: 1/0.57;
    pointer-events: all;
    overflow: hidden;
}

@media (min-width: 1024px) {
    .donation-modal__items {
        width: 60%;
        height: auto;
    }
}

.donation-modal__close {
    position: absolute;
    top: 0;
    right: 0;
    width: 6em;
    cursor: pointer;
    z-index: 10;
}

@media (min-width: 1024px) {
    .donation-modal__close {
        width: 4em;
    }
}

.donation-modal__arrow {
    position: absolute;
    width: 3.5em;
    top: 13.5em;
    margin: 0 7.6em;
    cursor: pointer;
    z-index: 10;
}

.donation-modal__arrow--left {
    left: 0;
}

.donation-modal__arrow--right {
    right: 0;
}

@media (min-width: 1024px) {
    .donation-modal__arrow {
        top: 42%;
        transform: translateY(-50%);
        margin: 0 7.6em;
    }
}

.donation-modal__item {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    text-align: center;
    opacity: 0;
    visibility: hidden;
}

.donation-modal__item img {
    display: inline-block;
    width: 41em;
    margin-top: 4em;
}

.donation-modal__item p {
    color: #000;
    font-family: 'sofia-pro', sans-serif;
    font-size: 3.1975em;
    font-weight: 400;
    line-height: 1.3;
    letter-spacing: 0.03em;
    margin-top: 0.3em;
    min-height: 4em;
}

@media (min-width: 1024px) {
    .donation-modal__item img {
        width: 28em;
        margin-top: 2.5em;
    }

    .donation-modal__item p {
        font-size: 1.53em;
        min-height: 5.7em;
    }
}

.donation-modal__item--bcrf {
    background-color: #fce4e0;
}

.donation-modal__item--dg {
    background-color: lightgrey;
}

.donation-modal__item--dfs {
    background-color: #b7b2d2;
    opacity: 1;
    visibility: visible;
}

.donation-modal__ctas {
    margin: 4em auto 0 auto;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
}

@media (min-width: 1024px) {
    .donation-modal__ctas {
        margin: 0 0 2.8em 0;
    }
}

@media (max-width: 1411px) {
.desktop__only {
    display:none;
}
}

.donation-modal__ctas a,
.dnt-num {
    display: inline-block;
    width: 10em;
    padding: 0.2em 0;
    font-family: 'sofia-pro', sans-serif;
    font-size: 5.053125em;
    font-weight: 400;
    text-align: center;
    background-color: transparent;
    border: solid 0.1em;
    text-decoration: none !important;
    cursor: pointer;
    color: #000;
}

.donation-modal__item--bcrf .donation-modal__ctas a {
    color: #ee6a7c;
}

.donation-modal__item--dfs .donation-modal__ctas a {
    color: #000;
}


@media (min-width: 1024px) {

    .donation-modal__ctas a,
    .dnt-num {
        font-size: 1.9375em;
        width: 3em;
        line-height: 2;
    }
}

.charityhub-wrapper {
    position: relative;
    padding-bottom: 5.25rem;
    /* Ã°Å¸â€˜Ë† Adjust this depending on your donate bar's height */
    color: #111;
}
 @media (max-width: 1024px) {
        .section-numbers__grid {
            gap: 1rem;
        }

        .partners-feature__description {
            line-height: 24px;
        }

        .impact-grid__subtitle {
            line-height: 26px;
        }

        .donation-modal__button {
            font-size: 1.156875em;
        }

        .donation-modal__close {
            width: 3em;
        }

        .donation-modal__arrow {
            width: 3.5em;
            top: 5.5em;
            margin: 0 2.6em;
        }

        .donation-modal__item img {
            width: 22em;
        }

        .donation-modal__item p {
            font-size: 1.1975em;
        }

        .donation-modal__ctas a,
        .dnt-num {
            font-size: 2.053125em;
        }

        .donation-modal__item--dg img {
            width: 8em;
        }

        .charity-details {
            display: block;
            margin-top: 1em;
        }
    }