/* ABOUT BANNER */
.community-section1 {
    position: relative;
    width: 100%;
    height: 420px;
    background:
        linear-gradient(rgba(0,0,0,0.25), rgba(0,0,0,0.25)),
        url('../images/2.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}
.community-section1 h2 {
    color: white;
    font-size: 65px;
    font-weight: 700;
    line-height: 1.5;
}


/* BREADCRUMB */
.breadcrumb {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;

    font-size: 15px;
    font-family: 'Noto Sans Sinhala', sans-serif;
}

.breadcrumb a {
    color: white;
    text-decoration: none;
    padding-bottom: 18px;
    transition: 0.3s;
}

.breadcrumb a:hover {
    color: #dda66c;
}

.breadcrumb .arrow {
    color: white;
    font-size: 18px;
    padding-bottom: 18px;
}

.breadcrumb .current-page {
    color: #dda66c;
    border-bottom: 3px solid #dda66c;
    padding-bottom: 15px;
}

/* COMMUNITY CONTACT SECTION */
.community {
    width: 100%;
    min-height: 260px;

    background:
        linear-gradient(
            rgba(35, 36, 53, 0.88),
            rgba(35, 36, 53, 0.88)
        ),
        url('../images/community-bg.jpg');

    background-size: cover;
    background-position: center;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    text-align: center;
    padding: 35px 20px 55px;
}

.community h2 {
    color: #ffffff;
    font-size: 30px;
    font-weight: 700;
    line-height: 1.6;
    margin-bottom: 40px;
}

.contact-btn {
    display: inline-block;
    background-color: #dda66c;
    color: #ffffff;

    padding: 10px 20px;
    border-radius: 3px;

    font-size: 15px;
    font-weight: 600;
    text-decoration: none;

    transition: 0.3s ease;
}

.contact-btn:hover {
    background-color: #c58d52;
}

/* SERVICES CONTENT */
.sub-services-content {
    width: 100%;
    background-color: #ffffff;
    padding: 50px 35px 35px;
}

.services-inner {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
}

/* NUMBERED SERVICES LIST */
.services-list {
    padding-left: 25px;
    color: #61758d;
    font-size: 15px;
    line-height: 1.8;
    font-family: 'Noto Sans Sinhala', sans-serif;
}

.services-list > li {
    margin-bottom: 4px;
}

/* SUB LIST */
.sub-list {
    list-style-type: circle;
    padding-left: 40px;
    margin-top: 12px;
    margin-bottom: 12px;
}

.sub-list li {
    margin-bottom: 5px;
}

/* IMAGE GALLERY SECTION */
.sub-services-gallery {
    width: 100%;
    background-color: #ffffff;
    padding: 20px 35px 100px;
}

/* FOUR COLUMN GRID */
.gallery-grid {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;

    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 40px;
}

/* EACH IMAGE ITEM */
.gallery-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 0;
}

/* GALLERY IMAGES */
.gallery-item img {
    width: 100%;
    height: 210px;
    object-fit: cover;
    display: block;
}

/* IMAGE NAMES */
.gallery-item h3 {
    font-family: 'Noto Sans Sinhala', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #14213d;

    margin-top: 35px;
    line-height: 1.5;
}

/* TABLET RESPONSIVE */
@media (max-width: 768px) {

    .community h2 {
        font-size: 22px;
    }

    .sub-services-content {
        padding: 40px 20px;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }

    .gallery-item h3 {
        font-size: 18px;
        margin-top: 20px;
    }
}

/* MOBILE RESPONSIVE */
@media (max-width: 480px) {

    .breadcrumb {
        font-size: 13px;
        gap: 10px;
    }

    .community h2 {
        font-size: 18px;
    }

    .contact-btn {
        font-size: 13px;
    }

    .services-list {
        font-size: 14px;
    }

    .sub-services-gallery {
        padding: 20px 15px 60px;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .gallery-item img {
        height: 220px;
    }

    .gallery-item h3 {
        font-size: 18px;
    }
}



