/*----- Impact Item (formerly Donation) -----*/
.impact-item {
    margin-bottom: 30px;
    background-color: #fff;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.05);
    border-radius: 30px 30px 0 30px;
    transition: 0.5s all ease;
    height: 100%;
    overflow: hidden;
}

.impact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.impact-item .img {
    position: relative;
    overflow: hidden;
    border-radius: 30px 30px 0 0;
    height: 250px;
    width: 100%;
}

.impact-item .img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.5s all ease;
}

.impact-col {
    margin-bottom: 30px;
}

/* Gallery Fix */
.gallery-item img {
    height: 280px;
    width: 100%;
    object-fit: cover;
}

/* Banner Overlay */
.banner-area-two .banner-slider-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    /* Small black transparent overlay */
    z-index: 1;
}

.banner-area-two .banner-content {
    position: relative;
    z-index: 2;
    /* Ensure text is above overlay */
}

.banner-area-two .banner-slider-item .banner-shape {
    z-index: 2;
    position: absolute;
    /* It is already absolute in style.css, but good to ensure z-index applies */
}

.event-item p {
    color: #ffffff;
}

.impact-item:hover .img img {
    transform: scale(1.05);
}

.impact-item .inner {
    padding: 25px 30px;
}

.impact-item .top .tags {
    display: inline-block;
    color: #23b187;
    font-weight: 600;
    margin-bottom: 10px;
    font-size: 14px;
}

.impact-item .top h3 {
    margin-bottom: 15px;
    font-size: 20px;
    line-height: 1.4;
}

.impact-item .top h3 a {
    color: #302c51;
    transition: 0.3s;
}

.impact-item .top h3 a:hover {
    color: #23b187;
}

.impact-item .top p {
    margin-bottom: 0;
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}