
.portfolio-cards-container{
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

/* CARD */
.portfolio-card {
    position: relative;
    width: 31%;
    height: 420px;
    border-radius: 22px;
    overflow: hidden;
    color: #fff;
    font-family: inherit;
}

/* BACKGROUND IMAGE */
.card-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 0;
}

/* FADING BLUR OVERLAY */
.card-blur {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 100%;
    z-index: 1;

    background: linear-gradient(
        to top,
        rgba(0, 0, 0, 0.8),
        rgba(0, 0, 0, 0.5),
        rgba(0, 0, 0, 0)
    );

    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);

    /* Smooth fade */
    mask-image: linear-gradient(
        to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.6) 50%,
        rgba(0,0,0,0) 100%
    );
    -webkit-mask-image: linear-gradient(
        to top,
        rgba(0,0,0,1) 0%,
        rgba(0,0,0,0.6) 50%,
        rgba(0,0,0,0) 100%
    );
}

/* CONTENT */
.card-content {
    position: absolute;
    bottom: 32px;
    left: 28px;
    right: 28px;
    z-index: 2;
}

.card-content h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 18px;
    font-weight: 600;
    color:#fff;
}

/* READ MORE */
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 18px;
    font-weight: 400;
    color: #fff;
    text-decoration: none;
    opacity: 0.9;
    transition: opacity 0.25s ease, transform 0.25s ease;
}

.read-more:hover {
    opacity: 1;
    transform: translateX(4px);
    color: #FFF;
}

/* CHEVRON */
.chevron {
    font-size: 18px;
    line-height: 1;
}

/* HOVER LIFT */
.portfolio-card:hover {
    transform: translateY(-6px);
    transition: transform 0.35s ease;
}


@media (max-width: 991px) {
    .portfolio-card{
        width: 42%;
    }
}

/* MOBILE */
@media (max-width: 767px) {
    .portfolio-card {
        height: 340px;
    }

    .card-content h3 {
        font-size: 20px;
    }
}

@media (max-width: 540px) {
    .portfolio-card{
        width: 85%;
    }
}