.portfolio-section .hero__title {
    padding-right: 0;
}

.filters {
    display: flex;
    gap: 32px;
    margin-bottom: 40px;
}

.filters button {
    background-color: transparent;
    border: 0;
    color: var(--color-text-secondary);
}

.portfolio-hero p {
    text-wrap: balance;
}

.filters {
    margin-bottom: 40px;
}

.filters button {
    background: none;
    border: none;
    color: #8A8F98;
    /* margin: 0 10px; */
    font-weight: 400;
    cursor: pointer;
    transition: color 0.3s ease;
}

.filters button.active,
.filters button:hover {
    color: #fff;
}

.portfolio-grid {
    --bs-gutter-y: 80px;
    --bs-gutter-x: 119px;
}

.portfolio-item {
    overflow: hidden;
    transition: transform 0.3s ease;
}

.portfolio-item:hover {
    transform: translateY(-5px);
}

.portfolio-item .portfolio-header {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
    margin-bottom: 32px;
}

.portfolio-item .portfolio-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(0deg,
            rgba(8, 9, 10, 0.6) 0%,
            rgba(8, 9, 10, 0) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item .portfolio-header a {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.portfolio-item:hover .portfolio-header::before {
    opacity: 1;
}

.portfolio-item:hover .portfolio-header a {
    opacity: 1;
}

.portfolio-item img {
    width: 100%;
    height: auto;
    display: block;
}

.portfolio-content {
    padding-right: 70px;
}

.portfolio-content h5 {
    font-size: 24px;
    color: var(--color-text-primary);
    font-weight: 500;
    margin-bottom: 4px;
    line-height: 32px;
}

.portfolio-content p {
    font-size: 16px;
    color: #8A8F98;
    font-weight: 400;
    margin-bottom: 16px;
    line-height: 24px;
}

.portfolio-content ul {
    list-style-type: none;
    padding: 0;
    list-style-type: none;
    display: flex;
    gap: 16px;
    margin-bottom: 0;
    padding-bottom: 0;
}

.portfolio-content ul li {
    font-size: 14px;
    color: #8A8F98;
    background: #111213;
    padding: 8px;
    border-radius: 8px;
    line-height: 100%;
    border: 1px solid #313132;
}

.portfolio-content small {
    color: var(--color-text-secondary);
}

.hidden {
    display: none !important;
}

@media screen and (max-width: 1399px) {
    .portfolio-grid {
        --bs-gutter-y: 60px;
        --bs-gutter-x: 90px;
    }
}


@media screen and (max-width: 1199px) {
    .portfolio-grid {
        --bs-gutter-y: 60px;
        --bs-gutter-x: 60px;
    }

    .portfolio-item .portfolio-header {
        margin-bottom: 20px;
    }

    .portfolio-content {
        padding-right: 0px;
    }

    .portfolio-content h5 {
        font-size: 20px;
    }

    .portfolio-content p {
        margin-bottom: 12px;
    }
}

@media screen and (max-width: 991px) {
    .hero__desc br{
        display: none;
    }
    .filters {
        margin-bottom: 20px;
        display: flex;
        white-space: nowrap;
        overflow: auto;
        padding-bottom: 15px;
        scrollbar-width: thin;
        scrollbar-color: #888 transparent;
    }

    .portfolio-grid {
        --bs-gutter-y: 50px;
        --bs-gutter-x: 25px;
    }

    .portfolio-item .portfolio-header {
        border-radius: 7px;
        margin-bottom: 15px;
    }

    .portfolio-content h5 {
        font-size: 18px;
        margin-bottom: 4px;
        line-height: 28px;
    }

    .portfolio-content p {
        margin-bottom: 12px;
        font-size: 14px;
        line-height: 20px;
    }

    .portfolio-content ul {
        gap: 10px;
    }

    .portfolio-content ul li {
        font-size: 12px;
        padding: 6px;
        border-radius: 5px;
    }

}

@media screen and (max-width: 767px) {
    .portfolio-grid {
        --bs-gutter-y: 40px;
        --bs-gutter-x: 40px;
    }

    .portfolio {
        overflow: hidden;
    }
}

@media screen and (max-width: 575px) {
    .portfolio-item .portfolio-header {
        margin-bottom: 15px;
    }

    .filters {
        gap: 25px;
    }

    .portfolio-content ul li {
        font-size: 10px;
    }
}