.better-portfolio-container {
    position: relative;
    width: 100%;
    height: 600px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    transition: background-image 0.6s ease-in-out;
    display: flex;
}

.bp-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    z-index: 1;
    pointer-events: none;
}

.bp-items-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    width: 100%;
    height: 100%;
}

.bp-item {
    flex: 1;
    height: 100%;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 40px;
    transition: all 0.4s ease;
    border-right-style: solid;
    cursor: pointer;
}

.bp-item:last-child {
    border-right: none;
}

.bp-item-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: -1;
}

.bp-item-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.bp-sup-title {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #DAA520;
    /* Golden color as in image */
    margin-bottom: 10px;
    text-transform: uppercase;
}

.bp-title {
    font-family: 'Inter', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
    transition: color 0.4s ease;
}

.bp-item:hover .bp-sup-title {
    color: #DAA520;
}

.bp-link {
    margin-top: auto;
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.4s ease;
}

.bp-item:hover .bp-link {
    opacity: 1;
    color: #fff;
    transform: translateY(0);
}

.bp-link-icon {
    margin-left: 8px;
    font-size: 20px;
}

/* Specific state for active/hover background style */
.bp-item:hover {
    background: rgba(0, 0, 0, 0.25);
}

/* Responsive */
@media (max-width: 768px) {
    .better-portfolio-container {
        flex-direction: column;
        height: auto;
    }

    .bp-items-wrapper {
        flex-direction: column;
    }

    .bp-item {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.2);
        height: 200px;
    }
}