@import url("https://fonts.googleapis.com/css?family=Lato:400,700");

html,
body {
    /* font-family: 'Lato', 'Helvetica Neue', Helvetica, Arial, sans-serif; */
    font-family: "Lato", sans-serif;
    line-height: 1.5;
    margin: auto;
}

.sugDonation-logo {
    display: block;
    margin: 0 auto;
}

.donation-work {
    font-size: 38px !important;
}

.donation-description-work {
    font-size: 24px;
    color: #000000;
}

.how-will-you-use-it .donation-description-work {
    margin: auto;
}

.spacer {
    height: 20px;
}

.spacer-lg {
    height: 40px;
}

.spacer-sm {
    height: 10px;
}

.title {
    text-align: center;
    font-size: 2em;
}

.text-center {
    text-align: center;
    margin: 20px;
}

.more-fundraising h2 {
    line-height: 4rem;
    font-size: 64px;
    margin-bottom: 40px;
    font-weight: bold;
    margin-block-start: 0.83em;
}

.content-wrapper {
    margin-top: 200px;
}

.use-it-for strong {
    font-size: 24px;
}

.content-center {
    margin: 0px 220px;
}

.button-group {
    display: flex;
    gap: 10px;
    justify-content: center;
}

.btn-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.images-wrapper {
    position: relative;
    z-index: 2;
}

.btn {
    padding: 12px 24px;
    font-size: 16px;
    border: 2px solid #f7931e;
    border-radius: 6px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.btn.sell {
    background-color: #f7931e;
    color: white;
    width: 315px;
    font-size: 24px;

}

.btn.sell:hover {
    border: 1px solid transparent;
    background-color: #f4810a;
    color: #fff;
}

.btn.retrieve {
    background-color: transparent;
    color: white;
    width: 315px;
    font-size: 24px;
}

.caption {
    font-size: 16px;
    color: white;
    margin-top: 6px;
    text-align: center;
}


.start-a-fundraiser-btn {
    display: inline-block;
    padding: 15px 30px;
    background-color: #f28c28;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
}

h4.bold {
    margin-bottom: 10px;
    line-height: 17.6px;
}

.btn-lg {
    font-size: 1.2em;
}

.orange-shadow {
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.container {
    max-width: 1170px !important;
    margin: 0 auto;
    position: relative;
    text-align: center;
}

.welcome-pos {
    position: static !important;
}

.col {
    flex: 1;
    padding: 10px;
}

.h1 {
    font-size: 2.5em;
    margin-bottom: 20px !important;
}

.feat {
    text-align: center;
}

.feat-name {
    font-size: 1.5em;
    margin-top: 10px;
}

.feat-desc {
    /* font-size: 1.2em; */
    margin-top: 10px;
}

.ul-wrapper ul {
    list-style-type: none;
}

.centered {
    text-align: center;
}

.img-responsive {
    display: block;
    max-width: 100%;
    height: auto;
}

/* Custom styles */
.hero {
    background: url('/content/images/giving_banner.webp') no-repeat center center;
    background-size: cover;
    text-align: center;
    color: white;
    padding: 100px 0 !important;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    /* dark overlay */
    z-index: 1;
}

.hero-text {
    z-index: 2;
}

.sugDonation-logo {
    width: 322px;
}

.hero .title {
    font-size: 64px;
    margin: 0px 10px;
    font-style: italic;
    line-height: 1;
    font-weight: bold;
}

.hero p {
    font-size: 24px;
    margin: 8px 30px;
}

.btn-explore {
    padding: 10px 30px !important;
    font-size: 24px !important;
    min-width: auto;
    border-radius: 5px;
    border: 1px solid #f28c28;
    /* font-weight: bold; */
    margin-top: 20px;
}

.btn-explore:hover {
    border: 1px solid transparent;
    background-color: #f4810a;
    color: #fff;
}

.more-fundraising {
    background-size: cover;
    text-align: center;
    color: #fff;
    padding: 100px 0 !important;
    height: auto;
    /* margin-top: 60px; */
    clip-path: polygon(0% 0%, 100% 0%, 100% 88%, 50% 100%, 0% 88%);
    position: relative;
    background-color: black;
    font-family: 'Lato', sans-serif;
}

.more-fundraising h1 {
    margin-top: 70px;
}


.how-does-it-work {
    display: flex;
    color: #000000;
    font-family: 'Lato', sans-serif !important;
}

.italic {
    font-style: italic !important;
}

.how-does-it-work figure img {
    background-color: white;
    height: auto;
    width: 173px;
    display: block;
    overflow: hidden;
    border-radius: 50%;
    margin: 0 auto;
}

.how-does-it-work figure .feat-name {
    font-size: 30px;
    text-align: center;
    font-weight: 700;
    padding-top: 20px;
    line-height: 2rem;
}

.how-does-it-work figure .feat-desc {
    text-align: center;
    padding: 0px 10px;
}

.how-does-it-work figure .feat {
    position: relative;
    margin: 0 auto 16px;
}

.how-will-you-use-it {
    display: flex;
    margin-bottom: 20px;
    margin-top: -100px;
    font-family: 'Lato', sans-serif;
    color: #000000;
}

.how-will-you-see-btn {
    margin-bottom: 50px;
}

.how-will-you-use-it h3 {
    margin: 0 16px;
}

#helpCategory h2 {
    font-family: 'Lato', sans-serif;
    font-weight: bold;
    font-size: 2.5rem;
    text-align: center;
    color: #000000;
}

#helpCategory {
    padding: 5px;
}

.more-fundraising h3 {
    font-style: italic;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

.row {
    justify-content: center;
}

.category {
    width: calc(25% - 30px);
    text-align: center;
}

.category a {
    text-decoration: none;
    color: #333;
}

.category img {
    display: block;
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.category span {
    display: block;
    font-family: 'Helvetica Neue', sans-serif;
    font-size: 1.5rem;
    margin-top: 10px;
}

.category:hover img {
    transform: scale(1.1);
}

.how-will-you-use-it h2 {
    margin-bottom: 53px !important;
    font-size: 38px;
    line-height: 2.2rem;
}

.how-will-you-use-it img {
    width: auto;
    height: auto;
    margin: 24px auto;
    max-width: 445px;
}

.section-title {
    margin-bottom: 30px;
    font-weight: bold;
}

.feature {
    text-align: center;
    margin-bottom: 40px;
}

.feature-icon {
    font-size: 3em;
    color: #FF8C00;
}


.event-icon {
    font-size: 2em;
    color: #FF8C00;
}

.how-does-it-work-image {
    display: grid;
    grid-template-columns: 2fr 2fr 2fr;
    gap: 20px;
}

.use-it-for {
    display: grid;
    grid-template-columns: 2fr 2fr;
    gap: 64px;
    margin: 0px 15px;
    /* center it */
}

.text-content {
    flex: 1;
    min-width: 280px;
    max-width: 500px;
}

.text-content h2 {
    font-size: 38px;
    font-weight: bold;
    margin-bottom: 10px;
}

.text-content p {
    font-size: 24px;
    line-height: 1.5;
    color: #333;
}

.stripe-image {
    display: flex;
    align-items: flex-start;
    text-align: center;
    justify-content: center;
    font-style: italic;
}

.stripe-image img {
    max-width: 300px;
}

.wrapper-bottom {
    color: #fdf38f;
}

.box {
    float: left;
    width: 24%;
    /* 4 boxes evenly */
    height: auto;
    position: relative;
    text-align: center;
    line-height: 5px;
    font-weight: bold;
    font-family: sans-serif;
    font-style: italic;

}

.box::after {
    content: '';
    position: absolute;
    top: 0;
    right: -20px;
    width: 1px;
    height: 100%;
    background: white;
    transform: rotate(30deg);
    transform-origin: top right;
}

/* Remove rotated border on the last box */
.box:last-child::after {
    display: none;
}

.number {
    font-size: 128px;
    line-height: 1;
}

.donation-description {
    color: #FEFDE8;
    font-size: 24px;
}

.sub-description {
    color: #E9E9E9;
    margin: 16px;
    font-size: 20px;
}

.wrapper-title {
    color: #FBFAE6;
    font-size: 24px;
}

.wrapper-description {
    color: #fef490;
    font-size: 20px;
}

.cents-holder {
    display: inline-flex;
    flex-direction: column;
    justify-content: center;
    padding-left: 4px;
    font-size: 42px;
    line-height: 1.1;
    margin-top: 15px;
    text-align: left;
    font-style: italic;
}

.hero .p {
    margin: 30px;
}

.how-does-it-work figure {
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 40px;
    margin-inline-end: 40px;
}

section {
    padding: 0px !important;
}


@media (max-width:662px) {
    .hero .title {
        line-height: 3.6rem;
    }

    .hero {
        height: auto;
    }

    .hero p {
        margin: 20px;
    }

    .use-it-for p {
        margin: 20px;
    }
}

@media (max-width:768px) {

    .box {
        float: none;
        width: 100%;
        height: auto;
        line-height: 0.4;
        text-align: center;
        position: relative;
    }

    /* Remove rotated borders */
    .box::after {
        display: none;
    }

    /* Add short centered bottom line */
    .box:not(:last-child)::before {
        content: '';
        position: absolute;
        bottom: -8px;
        left: 50%;
        transform: translateX(-50%);
        width: 50%;
        height: 1px;
        background: white;
    }


    .how-does-it-work-image {
        grid-template-columns: 1fr;
        gap: 0px;
        text-align: center;
    }

    .text-content h2 {
        font-size: 20px;
    }

    .text-content p {
        font-size: 15px;
    }
}

@media (max-width:397px) {


    .h1 {
        font-size: 1.5em;
    }
}


@media (max-width:991px) and (min-width:768px) {
    .how-does-it-work figure img {
        background-color: white;
        height: auto;
        width: 173px;
        display: block;
        overflow: hidden;
        border-radius: 50%;
        margin: 0 auto;
    }

    .how-does-it-work figure .feat-name {
        font-size: 30px;
        text-align: center;
        font-weight: 700;
        padding-top: 20px;
    }

    .how-does-it-work figure .feat-desc {
        text-align: center;
        padding: 12px 10px;
        /* font-size: 1rem; */
    }

    .how-does-it-work figure .feat {
        position: relative;
        margin: 0 auto 16px;
    }

    .use-it-for {
        display: grid;
        grid-template-columns: 2fr 2fr;
        gap: 20px;
    }
}

@media (max-width:1192px) {
    .more-fundraising {
        height: auto;
        clip-path: polygon(0 0, 100% 0, 100% 93%, 50% 100%, 0 93%);

    }

    .content-center {
        margin: 0px 50px;
    }
}

@media (min-width:512px) {
    .visible-mobile {
        display: none;
    }

    .donation-description-work {
        margin: 0px 130px;
    }
}

@media (max-width:512px) {
    .more-fundraising {
        height: auto;
        clip-path: polygon(0 0, 100% 0, 100% 93%, 50% 100%, 0 93%);
    }

    .sugDonation-logo {
        width: 300px;
    }

    .visible-desktop {
        display: none;
    }

    .hero .title {
        font-size: 45px;
        line-height: 2.6rem;
    }

    .more-fundraising h2 {
        font-size: 45px;
        line-height: 3rem;
    }
}

/* Stack buttons on smaller screens */
@media (max-width: 450px) {
    .button-group {
        flex-direction: column;
        align-items: center;
        /* Optional: center buttons in mobile */
    }
}


@media (max-width: 1000px) {
    .hidden-xs {
        display: none;
    }

    .btn.sell {
        width: 130px;
        font-size: 15px;
    }

    .btn.retrieve {
        width: 130px;
        font-size: 15px;
    }

    .caption {
        font-size: 12px;
    }
}


@media (max-width: 480px) {

    #helpCategory h2 {
        font-size: 2rem;
    }

    .how-will-you-use-it img {
        max-width: 100%;
    }

    .donation-description-work {
        font-size: 20px;
    }

    .how-will-you-use-it h2 {
        font-size: 34px;
    }

}

@media (max-width: 992px) {
    .category {
        width: calc(33.33% - 30px);
    }

    .use-it-for {
        display: grid;
        grid-template-columns: 1fr;
        gap: 0px;
    }

}

@media (max-width: 576px) {
    .category {
        width: 100%;
    }
}
