.project-grid {
    display: grid;
    grid-template-columns: repeat(1, minmax(0, 1fr)); /* 2 equal-width columns */
    gap: 50px; /* very tight gap between cells (both rows & columns) */
    padding: 0 20px;
    justify-content: center;
    margin-top: 30px;
}

.cell {
    width: 100%;
    background-color: #f9f9f9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.25);
    transition: transform 0.5s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cell:hover {
    transform: scale(1.02);
}

.cell img {
    width: 100%;
    height: auto;
    border-bottom: 0.3rem solid #a60c0c;
    display: block;
}

.info-text {
    font-size: 35px;
    margin: 10px 0;
    text-align: center;
    padding: 0 12px;
}
.cell h3{
    font-size: 55px;
}

@media screen and (min-width: 992px){
    .project-grid {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr)); /* 2 equal-width columns */
        gap: 50px; /* very tight gap between cells (both rows & columns) */
        padding: 0 20px;
        justify-content: center;
    }

    .info-text {
        font-size: 18px;
        margin: 10px 0;
        text-align: center;
        padding: 0 12px;
    }
    .cell h3{
        font-size: 23px;
    }
}