/* =========================================================
   MOUNT OLIVES CHURCH
   COMMUNITY MINISTRY
========================================================= */


/* =========================================================
   HERO
========================================================= */

.community-hero {
    position: relative;
    min-height: 620px;
    display: flex;
    align-items: center;
    overflow: hidden;
}


.community-hero-background {
    position: absolute;
    inset: 0;

    background:
        linear-gradient(
            90deg,
            rgba(5, 20, 45, 0.92),
            rgba(5, 20, 45, 0.68),
            rgba(5, 20, 45, 0.35)
        ),
        url("https://images.unsplash.com/photo-1559027615-cd4628902d4a?auto=format&fit=crop&w=1800&q=85");

    background-size: cover;
    background-position: center;
}


.community-hero-content {
    position: relative;
    z-index: 2;

    max-width: 720px;

    padding: 100px 0 80px;

    color: #fff;
}


.community-hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 9px;

    margin-bottom: 20px;

    padding: 8px 16px;

    border: 1px solid rgba(255, 193, 7, 0.6);
    border-radius: 30px;

    color: #ffc107;

    font-size: 0.9rem;
    font-weight: 600;

    letter-spacing: 0.5px;
}


.community-hero-content h1 {
    margin: 0 0 22px;

    font-size: clamp(3rem, 6vw, 5.3rem);

    line-height: 1.05;

    font-weight: 700;
}


.community-hero-content > p {
    max-width: 600px;

    margin-bottom: 32px;

    color: rgba(255, 255, 255, 0.88);

    font-size: 1.15rem;

    line-height: 1.8;
}


.community-hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}



/* =========================================================
   BUTTONS
========================================================= */

.community-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 12px 24px;

    border-radius: 4px;

    font-weight: 600;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        background 0.25s ease,
        color 0.25s ease;
}


.community-btn:hover {
    transform: translateY(-2px);
}


.community-btn-primary {
    background: #c89b3c;
    color: #fff;
}


.community-btn-primary:hover {
    background: #b4872f;
}


.community-btn-outline {
    border: 1px solid rgba(255, 255, 255, 0.75);

    color: #fff;

    background: transparent;
}


.community-btn-outline:hover {
    background: #fff;
    color: #152b4d;
}



/* =========================================================
   ABOUT COMMUNITY
========================================================= */

.community-about {
    padding: 100px 0;
    background: #fff;
}


.community-about-grid {
    display: grid;

    grid-template-columns: 1fr 1fr;

    gap: 70px;

    align-items: center;
}


.community-about-image {
    position: relative;

    padding: 0 18px 18px 0;
}


.community-about-image img {
    position: relative;
    z-index: 2;

    display: block;

    width: 100%;
    height: 500px;

    object-fit: cover;

    border-radius: 4px;
}


.community-image-accent {
    position: absolute;

    right: 0;
    bottom: 0;

    width: 70%;
    height: 70%;

    border: 4px solid #c89b3c;
}


.section-label {
    display: inline-block;

    margin-bottom: 12px;

    color: #c89b3c;

    font-size: 0.85rem;

    font-weight: 700;

    text-transform: uppercase;

    letter-spacing: 1.5px;
}


.community-about-content h2 {
    margin: 0 0 22px;

    color: #152b4d;

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.2;
}


.community-about-content h2 span {
    color: #c89b3c;
}


.community-about-content > p {
    margin-bottom: 18px;

    color: #5c6673;

    font-size: 1rem;

    line-height: 1.8;
}


.community-highlight {
    display: flex;

    gap: 18px;

    margin-top: 30px;

    padding: 22px;

    border-left: 4px solid #c89b3c;

    background: #f7f8fa;
}


.community-highlight > i {
    color: #c89b3c;

    font-size: 1.5rem;

    padding-top: 4px;
}


.community-highlight strong {
    display: block;

    margin-bottom: 7px;

    color: #152b4d;

    font-size: 1.05rem;
}


.community-highlight p {
    margin: 0;

    color: #657080;

    line-height: 1.6;
}



/* =========================================================
   SERVICE AREAS
========================================================= */

.service-areas {
    padding: 100px 0;

    background: #f5f7fa;
}


.section-heading {
    max-width: 700px;

    margin: 0 auto 55px;

    text-align: center;
}


.section-heading h2 {
    margin: 0 0 15px;

    color: #152b4d;

    font-size: clamp(2rem, 4vw, 3rem);
}


.section-heading p {
    margin: 0;

    color: #687383;

    line-height: 1.7;
}


.service-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 22px;
}


.service-card {
    display: flex;

    flex-direction: column;

    min-height: 310px;

    padding: 30px 25px;

    background: #fff;

    border: 1px solid #e4e8ed;

    border-radius: 5px;

    text-decoration: none;

    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease,
        border-color 0.25s ease;
}


.service-card:hover {
    transform: translateY(-6px);

    border-color: #c89b3c;

    box-shadow: 0 12px 30px rgba(20, 40, 70, 0.1);
}


.service-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 58px;
    height: 58px;

    margin-bottom: 22px;

    border-radius: 50%;

    background: #edf2f7;

    color: #152b4d;

    font-size: 1.35rem;
}


.service-card h3 {
    margin: 0 0 13px;

    color: #152b4d;

    font-size: 1.25rem;
}


.service-card p {
    margin: 0;

    color: #697586;

    font-size: 0.95rem;

    line-height: 1.7;
}


.service-link {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: auto;
    padding-top: 25px;

    color: #c89b3c;

    font-size: 0.9rem;

    font-weight: 700;
}


.service-link i {
    transition: transform 0.25s ease;
}


.service-card:hover .service-link i {
    transform: translateX(5px);
}



/* =========================================================
   OUR APPROACH
========================================================= */

.community-approach {
    padding: 100px 0;

    background: #fff;
}


.approach-grid {
    display: grid;

    grid-template-columns: repeat(4, 1fr);

    gap: 40px;
}


.approach-item {
    text-align: center;
    box-shadow: 0 12px 30px rgba(20, 40, 70, 0.09);
    border-radius: 5px;
    transition:
        transform 0.25s ease,
        box-shadow 0.25s ease;
}
.approach-item:hover {
    transform: translateY(-6px);

    box-shadow: 0 12px 30px rgba(20, 40, 70, 0.2);
}


.approach-icon {
    display: flex;

    align-items: center;
    justify-content: center;

    width: 65px;
    height: 65px;

    margin: 0 auto 20px;

    border-radius: 50%;

    background: #152b4d;

    color: #fff;

    font-size: 1.35rem;
}
.approach-icon i {
    transition: transform 0.25s ease;
}
.approach-item:hover .approach-icon i {
    transform: rotate(35deg);
}
.approach-item:hover .approach-icon {
    background: #c89b3c;
}
.approach-item:hover .approach-icon i {
    color: #fff;
}


.approach-item h3 {
    margin: 0 0 10px;

    color: #152b4d;

    font-size: 1.2rem;
}


.approach-item p {
    margin: 0;

    color: #697586;

    font-size: 0.95rem;

    line-height: 1.7;
}



/* =========================================================
   SCRIPTURE
========================================================= */

.community-scripture {
    padding: 85px 0;

    background: #152b4d;

    color: #fff;

    text-align: center;
}


.scripture-content {
    max-width: 850px;

    margin: auto;
}


.scripture-content > i {
    margin-bottom: 25px;

    color: #c89b3c;

    font-size: 2rem;
}


.scripture-content blockquote {
    margin: 0 0 22px;

    font-size: clamp(1.5rem, 3vw, 2.3rem);

    line-height: 1.5;

    font-weight: 400;
}


.scripture-content span {
    color: #c89b3c;

    font-weight: 700;

    letter-spacing: 1px;
}



/* =========================================================
   CTA
========================================================= */

.community-cta {
    padding: 100px 0;

    background: #f5f7fa;
}


.community-cta-box {
    position: relative;

    overflow: hidden;

    padding: 70px;

    background:
        linear-gradient(
            135deg,
            #152b4d,
            #203d65
        );

    border-radius: 5px;
}


.community-cta-box::after {
    content: "";

    position: absolute;

    right: -100px;
    bottom: -100px;

    width: 300px;
    height: 300px;

    border: 60px solid rgba(255, 255, 255, 0.04);

    border-radius: 50%;
}


.community-cta-content {
    position: relative;
    z-index: 2;

    max-width: 700px;

    color: #fff;
}


.community-cta-content h2 {
    margin: 0 0 18px;

    font-size: clamp(2rem, 4vw, 3rem);

    line-height: 1.2;
}


.community-cta-content > p {
    margin-bottom: 28px;

    color: rgba(255, 255, 255, 0.8);

    line-height: 1.8;
}


.community-cta-buttons {
    display: flex;

    gap: 14px;

    flex-wrap: wrap;
}



/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 1000px) {

    .service-grid {
        grid-template-columns: repeat(2, 1fr);
    }


    .approach-grid {
        grid-template-columns: repeat(2, 1fr);

        row-gap: 45px;
    }


    .community-about-grid {
        gap: 45px;
    }

}



@media (max-width: 800px) {

    .community-hero {
        min-height: 570px;
    }


    .community-hero-content {
        padding: 80px 0 60px;
    }


    .community-about {
        padding: 75px 0;
    }


    .community-about-grid {
        grid-template-columns: 1fr;

        gap: 45px;
    }


    .community-about-image {
        max-width: 650px;

        margin: auto;
    }


    .community-about-image img {
        height: 420px;
    }


    .service-areas,
    .community-approach,
    .community-cta {
        padding: 75px 0;
    }


    .community-cta-box {
        padding: 50px 35px;
    }

}



@media (max-width: 600px) {

    .community-hero {
        min-height: 520px;
    }


    .community-hero-content {
        padding: 70px 0 50px;
    }


    .community-hero-content h1 {
        font-size: 2.8rem;
    }


    .community-hero-content > p {
        font-size: 1rem;
    }


    .community-hero-buttons,
    .community-cta-buttons {
        flex-direction: column;

        align-items: stretch;
    }


    .community-btn {
        width: 100%;
    }


    .community-about-image img {
        height: 330px;
    }


    .community-image-accent {
        width: 60%;
        height: 60%;
    }


    .service-grid {
        grid-template-columns: 1fr;
    }


    .service-card {
        min-height: auto;
    }


    .approach-grid {
        grid-template-columns: 1fr;

        gap: 35px;
    }


    .community-scripture {
        padding: 65px 20px;
    }


    .scripture-content blockquote {
        font-size: 1.4rem;
    }


    .community-cta-box {
        padding: 40px 25px;
    }

}