.projects-block {
    padding: 30px 0;
}

.project-title{
	max-width: 80%;
}

.project-title > .featuredImg-industry{
	border-radius: 100%;
	width: 50px;
	aspect-ratio: 1/1;
	margin-right: 15px;
	position: relative;
	overflow: hidden;
}

.project-title > .featuredImg-industry img{
	width: 100%;
	height: 100%;
	position: absolute;
	object-fit: cover;
	object-position: center;
}

.project-grid-wrap {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
}

.project-grid-item {
    padding: 35px 20px;
    color: #fff !important;
    border-radius: 6px;
    border: 1px solid #fff;
    height: 100%;
    text-decoration: none;
    position: relative;
    overflow: hidden;
}

/* ── Card dot-pattern background (hover reveal) ── */
.project-bg {
    position: absolute;
    inset: 0;
    pointer-events: none;
    border-radius: 6px;
    overflow: hidden;
}

.project-bg img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: auto;
    display: block;
    opacity: 0;
    /* Force a compositor layer so the fade doesn't trigger a repaint jump */
    transform: translateZ(0);
    backface-visibility: hidden;
    will-change: opacity;
    transition: opacity 0.55s ease;
}

.project-grid-item:hover .project-bg img {
    opacity: 1;
}

/* Keep card text above the background */
.project-item {
    position: relative;
    z-index: 1;
}

.project-grid-item h3{
    font-weight: 300;
	font-size: 20px;
	line-height: 30px;
}

.project-grid-item i{
    display: flex;
    flex: 0 0 21px;
    height: 21px;
    border-radius: 21px;
    align-items: center;
    justify-content: center;
    background-color: var(--clr-primary);
    color: var(--clr-black);
    line-height: 1;
    font-size: 16px;
    transform: rotate(-45deg);
}

/* Small desktop / laptops */
@media (max-width: 1199px) {
    .project-grid-wrap {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* iPad / tablets */
@media (max-width: 991px) {
    .project-grid-wrap {
        grid-template-columns: repeat(2, 1fr);
    }
    .project-grid-item{
        padding: 10px 15px;
    }
}

/* Mobile */
@media (max-width: 575px) {
    .project-grid-wrap {
        grid-template-columns: 1fr;
    }
	
	.project-grid-item h3{
		font-size: 16px;
	}
}