﻿@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@200;300;400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
}

h1, h2, h3, h4, h5, h6, p {
    color: #000;
}

.single-item {
    margin-bottom: 30px;
}

    .single-item .item {
        box-shadow: -1px 3px 10px 0 rgba(0, 0, 0, 0.06);
        background: #ffffff;
    }

        /* THUMB */
        .single-item .item .thumb {
            position: relative;
            z-index: 1;
            overflow: hidden;
            padding: 10px;
        }

            .single-item .item .thumb .top-img {
                position: relative;
                z-index: 1;
                overflow: hidden;
            }

                /* ✅ FIXED selector — removed the incorrect ".thumb" */
                .single-item .item .thumb .top-img img {
                    width: 100%;
                    transition: all 0.35s ease-in-out;
                }

        /* HOVER EFFECT */
        .single-item .item:hover .thumb .top-img::after {
            bottom: 0;
        }

        .single-item .item .thumb .top-img::after {
            position: absolute;
            left: 0;
            bottom: -100%;
            content: "";
            height: 100%;
            width: 100%;
            background: rgb(0,136,60,0.6);
            /* ✅ FIXED z-index — now overlay is visible */
            z-index: 2;
            transition: all 0.25s ease-in-out;
        }

        /* INFO BOX */
        .single-item .item .info {
            padding: 35px 25px 25px;
            background: #ffffff;
            border-bottom: 2px solid #00883c;
            position: relative;
        }

.top-img img {
    max-width: 100%;
    height: 450px;
}

@media(max-width:991px) {
    .top-img img {
        max-width: 100%;
        height: auto;
    }

    .single-item .item .info .overlay h4 {
        min-width: auto !important;
    }
}

/* TITLE OVERLAY */
.single-item .item .info .overlay {
    padding: 0 20px;
    position: absolute;
    left: 50%;
    top: -35px;
    z-index: 1;
    transform: translate(-50%, 0);
    width: 100%;
}

    .single-item .item .info .overlay h4 {
        color: #666666;
        display: inline-block;
        background: #ffffff;
        padding: 15px 5px;
        letter-spacing: 1px;
        font-size: 14px;
        margin-bottom: 0;
        font-weight: 600;
        box-shadow: -1px 3px 10px 0 rgba(0, 0, 0, 0.06);
        border-radius: 30px;
        text-transform: uppercase;
        min-width: 330px;
    }

        .single-item .item .info .overlay h4 a {
            text-decoration: none;
        }

.site-heading {
    margin-bottom: 60px;
    overflow: hidden;
    margin-top: -5px;
}

.site-heading h2 {
    display: inline-block;
    font-weight: 700;
    position: relative;
    text-transform: uppercase;
}
    .site-heading .divider {
        height: 2px;
        width: 30px;
        background: #00883c;
        margin: auto;
        display: block;
        position: relative;
        z-index: 1;
        margin-bottom: 15px;
    }
    .site-heading .divider::before {
        position: absolute;
        right: -15px;
        height: 2px;
        width: 10px;
        background: #00883c;
        content: "";
        top: 0;
    }
    .site-heading .devider::after {
        position: absolute;
        left: -15px;
        bottom: 0;
        content: "";
        height: 2px;
        width: 10px;
        background: #00883c;
    }