/* ============================================================
   COMMUNITY SUPPORT PAGE
   Mount Olives Church
   ============================================================ */


/* ============================================================
   SUPPORT HERO
   ============================================================ */

.support-hero {
    position: relative;
    min-height: 590px;
    display: flex;
    align-items: center;
    overflow: hidden;
    color: #ffffff;
}

.support-hero-background {
    position: absolute;
    inset: 0;

    background-image:
        linear-gradient(
            90deg,
            rgba(16, 42, 67, 0.92) 0%,
            rgba(16, 42, 67, 0.78) 45%,
            rgba(16, 42, 67, 0.55) 100%
        ),
        url("https://images.unsplash.com/photo-1559027615-cd4628902d4a?auto=format&fit=crop&w=1800&q=85");

    background-size: cover;
    background-position: center;
}

.support-hero .container {
    position: relative;
    z-index: 2;
}

.support-hero-content {
    max-width: 760px;
    padding: 105px 0;
}

.support-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;

    margin-bottom: 24px;
    padding: 8px 16px;

    border: 1px solid rgba(213, 169, 58, 0.75);
    border-radius: 30px;

    color: #d5a93a;

    font-size: 0.86rem;
    font-weight: 700;
    letter-spacing: 0.2px;
}

.support-hero-tag i {
    font-size: 0.9rem;
}

.support-hero h1 {
    margin: 0 0 24px;

    font-size: clamp(2.8rem, 6vw, 4.6rem);
    line-height: 1.07;

    font-weight: 700;
    letter-spacing: -1.2px;
}

.support-hero h1 span {
    color: #d5a93a;
}

.support-hero p {
    max-width: 650px;

    margin: 0 0 34px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 1.06rem;
    line-height: 1.8;
}

.support-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
}


/* ============================================================
   BUTTONS
   ============================================================ */

.support-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    min-height: 48px;
    padding: 13px 25px;

    border: 1px solid transparent;
    border-radius: 4px;

    font-size: 0.94rem;
    font-weight: 600;
    text-decoration: none;

    transition:
        background 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.support-btn:hover {
    transform: translateY(-2px);
}

.support-btn-primary {
    background: #d5a93a;
    border-color: #d5a93a;
    color: #102a43;
}

.support-btn-primary:hover {
    background: #b38a24;
    border-color: #b38a24;
    color: #ffffff;
}

.support-btn-outline {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.72);
    color: #ffffff;
}

.support-btn-outline:hover {
    background: #ffffff;
    border-color: #ffffff;
    color: #102a43;
}


/* ============================================================
   ABOUT SECTION
   ============================================================ */

.support-about {
    padding: 105px 0;
    background: #ffffff;
}

.support-about-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
    align-items: center;
    gap: 75px;
}

.support-about-image {
    position: relative;
    padding-right: 18px;
    padding-bottom: 18px;
}

.support-about-image img {
    position: relative;
    z-index: 2;

    display: block;
    width: 100%;
    height: 500px;

    object-fit: cover;

    border-radius: 5px;
}

.support-image-accent {
    position: absolute;
    right: 0;
    bottom: 0;

    width: 125px;
    height: 125px;

    border-right: 5px solid #d5a93a;
    border-bottom: 5px solid #d5a93a;
}

.support-about-content {
    max-width: 620px;
}

.section-label {
    display: inline-block;

    margin-bottom: 13px;

    color: #b38a24;

    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1.3px;
    text-transform: uppercase;
}

.support-about-content h2 {
    margin: 0 0 23px;

    color: #102a43;

    font-size: clamp(2rem, 4vw, 3.05rem);
    line-height: 1.13;
}

.support-about-content h2 span {
    display: block;
    color: #b38a24;
}

.support-about-content > p {
    margin: 0 0 18px;

    color: #52606d;

    font-size: 1rem;
    line-height: 1.85;
}


/* ============================================================
   HIGHLIGHT
   ============================================================ */

.support-highlight {
    display: flex;
    align-items: flex-start;
    gap: 17px;

    margin-top: 30px;
    padding: 21px 23px;

    background: #f6f7f8;
    border-left: 4px solid #d5a93a;
}

.support-highlight > i {
    flex-shrink: 0;

    margin-top: 4px;

    color: #b38a24;
    font-size: 1.35rem;
}

.support-highlight strong {
    display: block;

    margin-bottom: 5px;

    color: #102a43;
    font-size: 1.05rem;
}

.support-highlight p {
    margin: 0;

    color: #627d98;

    font-size: 0.93rem;
    line-height: 1.65;
}


/* ============================================================
   SECTION HEADINGS
   ============================================================ */

.support-ways .section-heading,
.support-approach .section-heading,
.support-involvement .section-heading {
    max-width: 720px;

    margin: 0 auto 52px;

    text-align: center;
}

.section-heading h2 {
    margin: 0 0 15px;

    color: #102a43;

    font-size: clamp(2rem, 4vw, 3rem);
    line-height: 1.15;
}

.section-heading h2 span {
    color: #b38a24;
}

.section-heading p {
    max-width: 620px;
    margin: 0 auto;

    color: #627d98;

    font-size: 1rem;
    line-height: 1.75;
}


/* ============================================================
   WAYS WE SUPPORT
   ============================================================ */

.support-ways {
    padding: 105px 0;

    background: #f5f7f9;
}

.support-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.support-card {
    position: relative;

    min-height: 245px;

    padding: 31px 29px 30px;

    background: #ffffff;

    border: 1px solid #e3e8ec;
    border-radius: 6px;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.support-card::before {
    content: "";

    position: absolute;
    top: 0;
    left: 0;

    width: 0;
    height: 3px;

    background: #d5a93a;

    transition: width 0.25s ease;
}

.support-card:hover {
    transform: translateY(-5px);

    border-color: #d9dee3;

    box-shadow: 0 14px 30px rgba(16, 42, 67, 0.09);
}

.support-card:hover::before {
    width: 100%;
}


/* ICON */

.support-card-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 55px;
    height: 55px;

    margin-bottom: 22px;

    background: #102a43;

    border-radius: 5px;

    color: #d5a93a;

    font-size: 1.25rem;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.support-card:hover .support-card-icon {
    background: #d5a93a;
    color: #102a43;
}

.support-card h3 {
    margin: 0 0 11px;

    color: #102a43;

    font-size: 1.16rem;
    line-height: 1.35;
}

.support-card p {
    margin: 0;

    color: #627d98;

    font-size: 0.94rem;
    line-height: 1.72;
}


/* ============================================================
   APPROACH
   ============================================================ */

.support-approach {
    padding: 105px 0;

    background: #ffffff;
}

.approach-points {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 23px;
}

.approach-point {
    display: flex;
    align-items: flex-start;
    gap: 20px;

    padding: 29px;

    background: #f6f7f8;

    border: 1px solid #edf0f2;
    border-left: 3px solid #d5a93a;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}

.approach-point:hover {
    transform: translateY(-3px);

    box-shadow: 0 9px 24px rgba(16, 42, 67, 0.07);
}


/* APPROACH ICON */

.approach-point-icon {
    flex-shrink: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    width: 49px;
    height: 49px;

    background: #102a43;

    border-radius: 50%;

    color: #d5a93a;

    font-size: 1.05rem;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.approach-point:hover .approach-point-icon {
    background: #d5a93a;
    color: #102a43;
}

.approach-point h3 {
    margin: 0 0 8px;

    color: #102a43;

    font-size: 1.14rem;
}

.approach-point p {
    margin: 0;

    color: #627d98;

    font-size: 0.94rem;
    line-height: 1.7;
}


/* ============================================================
   SCRIPTURE
   ============================================================ */

.support-scripture {
    position: relative;

    margin-top: 55px;
    padding: 48px 35px;

    background: #102a43;

    border-radius: 6px;

    color: #ffffff;

    text-align: center;

    overflow: hidden;
}

.support-scripture::before {
    content: "";

    position: absolute;

    top: -100px;
    right: -80px;

    width: 220px;
    height: 220px;

    border: 1px solid rgba(213, 169, 58, 0.15);

    border-radius: 50%;
}

.support-scripture::after {
    content: "";

    position: absolute;

    bottom: -120px;
    left: -90px;

    width: 240px;
    height: 240px;

    border: 1px solid rgba(213, 169, 58, 0.12);

    border-radius: 50%;
}

.support-scripture i {
    position: relative;
    z-index: 2;

    display: block;

    margin-bottom: 18px;

    color: #d5a93a;

    font-size: 1.55rem;
}

.support-scripture blockquote {
    position: relative;
    z-index: 2;

    max-width: 780px;

    margin: 0 auto 18px;

    font-size: clamp(1.25rem, 3vw, 1.6rem);
    line-height: 1.65;

    font-style: italic;
}

.support-scripture span {
    position: relative;
    z-index: 2;

    color: #d5a93a;

    font-size: 0.88rem;
    font-weight: 700;
}


/* ============================================================
   INVOLVEMENT
   ============================================================ */

.support-involvement {
    padding: 105px 0;

    background: #f5f7f9;
}

.involvement-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.involvement-item {
    padding: 35px 29px 32px;

    background: #ffffff;

    border: 1px solid #e3e8ec;
    border-radius: 6px;

    text-align: center;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}

.involvement-item:hover {
    transform: translateY(-5px);

    border-color: #d9dee3;

    box-shadow: 0 12px 27px rgba(16, 42, 67, 0.08);
}


/* INVOLVEMENT ICON */

.involvement-icon {
    display: flex;
    align-items: center;
    justify-content: center;

    width: 61px;
    height: 61px;

    margin: 0 auto 20px;

    background: #102a43;

    border-radius: 50%;

    color: #d5a93a;

    font-size: 1.2rem;

    transition:
        background 0.25s ease,
        color 0.25s ease;
}

.involvement-item:hover .involvement-icon {
    background: #d5a93a;
    color: #102a43;
}

.involvement-item h3 {
    margin: 0 0 11px;

    color: #102a43;

    font-size: 1.16rem;
}

.involvement-item p {
    margin: 0;

    color: #627d98;

    font-size: 0.94rem;
    line-height: 1.7;
}


/* ============================================================
   CTA
   ============================================================ */

.support-cta {
    padding: 95px 0;

    background: #ffffff;
}

.support-cta-box {
    position: relative;

    overflow: hidden;

    padding: 72px 40px;

    background: #102a43;

    border-radius: 7px;

    color: #ffffff;

    text-align: center;
}

.support-cta-box::before {
    content: "";

    position: absolute;

    top: -95px;
    right: -95px;

    width: 240px;
    height: 240px;

    border: 1px solid rgba(213, 169, 58, 0.22);

    border-radius: 50%;
}

.support-cta-box::after {
    content: "";

    position: absolute;

    bottom: -115px;
    left: -105px;

    width: 260px;
    height: 260px;

    border: 1px solid rgba(213, 169, 58, 0.15);

    border-radius: 50%;
}

.support-cta-content {
    position: relative;
    z-index: 2;

    max-width: 720px;

    margin: 0 auto;
}

.support-cta-box .section-label {
    color: #d5a93a;
}

.support-cta-box h2 {
    margin: 0 0 18px;

    font-size: clamp(2rem, 4vw, 3.15rem);
    line-height: 1.15;
}

.support-cta-box p {
    max-width: 650px;

    margin: 0 auto 31px;

    color: rgba(255, 255, 255, 0.84);

    font-size: 1rem;
    line-height: 1.75;
}

.support-cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 14px;
}


/* ============================================================
   BACK TO TOP
   ============================================================ */

.back-to-top {
    position: fixed;

    right: 25px;
    bottom: 25px;

    z-index: 999;

    width: 46px;
    height: 46px;

    display: flex;
    align-items: center;
    justify-content: center;

    padding: 0;

    border: 2px solid #d5a93a;
    border-radius: 50%;

    background: #102a43;
    color: #ffffff;

    font-size: 1rem;
    line-height: 1;

    cursor: pointer;

    opacity: 0;
    visibility: hidden;

    transform: translateY(10px);

    transition:
        opacity 0.25s ease,
        visibility 0.25s ease,
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}

.back-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top i {
    display: block;

    color: #ffffff;

    font-size: 1rem;
}

.back-to-top:hover {
    background: #d5a93a;
    color: #102a43;

    transform: translateY(-3px);
}

.back-to-top:hover i {
    color: #102a43;
}


/* ============================================================
   TABLET
   ============================================================ */

@media (max-width: 992px) {

    .support-about-grid {
        gap: 50px;
    }

    .support-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .involvement-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* ============================================================
   MOBILE
   ============================================================ */

@media (max-width: 768px) {

    .support-hero {
        min-height: 550px;
    }

    .support-hero-content {
        padding: 85px 0;
    }

    .support-hero h1 {
        font-size: 2.75rem;
    }

    .support-hero p {
        font-size: 1rem;
        line-height: 1.7;
    }

    .support-about,
    .support-ways,
    .support-approach,
    .support-involvement {
        padding: 78px 0;
    }

    .support-about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }

    .support-about-image img {
        height: 410px;
    }

    .support-image-accent {
        right: 0;
        bottom: 0;

        width: 105px;
        height: 105px;
    }

    .support-grid {
        grid-template-columns: 1fr;
    }

    .support-card {
        min-height: auto;
    }

    .approach-points {
        grid-template-columns: 1fr;
    }

    .involvement-grid {
        grid-template-columns: 1fr;
    }

    .support-cta {
        padding: 75px 0;
    }

    .support-cta-box {
        padding: 58px 25px;
    }
}


/* ============================================================
   SMALL PHONES
   ============================================================ */

@media (max-width: 480px) {

    .support-hero {
        min-height: 520px;
    }

    .support-hero-content {
        padding: 70px 0;
    }

    .support-hero-tag {
        margin-bottom: 20px;

        padding: 7px 13px;

        font-size: 0.79rem;
    }

    .support-hero h1 {
        margin-bottom: 20px;

        font-size: 2.3rem;
        letter-spacing: -0.6px;
    }

    .support-hero p {
        font-size: 0.95rem;
    }

    .support-hero-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .support-btn {
        width: 100%;
    }

    .support-about,
    .support-ways,
    .support-approach,
    .support-involvement {
        padding: 68px 0;
    }

    .support-about-image {
        padding-right: 10px;
        padding-bottom: 10px;
    }

    .support-about-image img {
        height: 330px;
    }

    .support-image-accent {
        width: 85px;
        height: 85px;

        border-width: 4px;
    }

    .support-about-content h2 {
        font-size: 2rem;
    }

    .support-highlight {
        gap: 14px;

        padding: 18px;
    }

    .support-card {
        padding: 28px 23px;
    }

    .support-card-icon {
        width: 53px;
        height: 53px;

        margin-bottom: 19px;
    }

    .approach-point {
        gap: 15px;

        padding: 24px 20px;
    }

    .approach-point-icon {
        width: 44px;
        height: 44px;

        font-size: 0.95rem;
    }

    .support-scripture {
        margin-top: 42px;
        padding: 40px 22px;
    }

    .support-scripture blockquote {
        font-size: 1.15rem;
    }

    .involvement-item {
        padding: 30px 22px;
    }

    .support-cta-box {
        padding: 50px 20px;
    }

    .support-cta-buttons {
        flex-direction: column;
        align-items: stretch;
    }

    .back-to-top {
        right: 15px;
        bottom: 15px;

        width: 44px;
        height: 44px;
    }
}