.portfolio-hero {
    position: relative;
    padding-top: 24px;
    padding-bottom: 40px;
    height: 600px;
    width: 100vw;
    max-width: 100vw;
    left: 50%;
    transform: translateX(-50%);
}

.portfolio-hero::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: url("/static/images/portfolio-hero.png");
    background-size: cover;
    background-position: center;
    z-index: 0;
}

.portfolio-hero::after {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    left: 0;
    top: 0;
    background-image: url('/static/images/gray-dotted-grid.png');
    background-size: 100%;
    background-position: center center;
    z-index: 1;
    pointer-events: none;
}


.portfolio-hero__inner{
    position: relative;
}

.portfolio-hero__breadcrumbs{
    margin-bottom: 32px;
}
.portfolio-hero__breadcrumbs a{
    color: #FFFFFF !important;
}

.portfolio-hero__breadcrumbs img{
    filter: brightness(0) invert(1);
}

.portfolio-hero__wrapper{
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
}

.portfolio-hero__titles{
    display: flex;
    flex-direction: column;
    gap: 20px;
    color: #FFFFFF;
}

.portfolio-hero__titles h1{
    max-width: 80%;
}

.portfolio-hero__titles p{
    font-size: 20px;
    font-weight: 500;
    line-height: 120%;
    max-width: 80%;
}

.portfolio-hero__icon{
    flex-shrink: 0;
}

.portfolio-hero__title{
    font-size: 16vw;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.32);
}

.portfolio-wrapper{
    position: relative;
    margin-bottom: 8%;
}
.portfolio-stats{
    z-index: 10;
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
}

.portfolio__marquee-section .marquee{
    background-color: transparent;
}

.portfolio-project{
    display: flex;
    flex-direction: column;
}

.portfolio-projects .container:nth-child(2) {
    padding: 0;
}

.portfolio-projects__header{
    display: flex;
    align-items: center;
    gap: 24px;
    margin-bottom: 24px;
}
@media (max-width: 990px) {
    .portfolio-projects__header {
        text-align: center;
        margin-bottom: 0px;
    }
}

.portfolio-projects__grid-item:nth-child(5n+1),
.portfolio-projects__grid-item:nth-child(5n+2) {
    grid-column: span 3;
}

.portfolio-projects__grid-item:nth-child(5n+3),
.portfolio-projects__grid-item:nth-child(5n+4),
.portfolio-projects__grid-item:nth-child(5n+5) {
    grid-column: span 2;
}

.portfolio-philosophy-card{
    width: 40% !important;
}
.portfolio-philosophy-card h2{
    text-transform: uppercase;
}

.portfolio-philosophy-card .hero__button{
    width: 100%;
}

.portfolio-filters{
    display: flex;
    align-items: center;
    gap: 16px;
    overflow: auto;
    scrollbar-width: thin;
    /* -ms-overflow-style: none; */
    padding-block: 32px;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
    scrollbar-gutter: stable;
    scrollbar-color: rgba(245, 240, 240, .06) transparent;
    scrollbar-color: rgb(222, 222, 222) transparent;
    padding-right: 4px;
}

#portfolio-projects-grid {
    margin-top: 28px;
}

@media (max-width: 990px) {
    #portfolio-projects-grid {
        margin-top: 8px;
    }
}

.portfolio-filters__button{
    padding: 20px 28px;
    border-radius: 12px;
    border: 1px solid var(--color-violet);
    font-size: 20px;
    line-height: 120%;
    flex-shrink: 0;
}

.portfolio-filters__button.active{
    background-color: var(--color-violet);
    color: #FFFFFF;
}

@media screen and (min-width: 1600px) {
    .portfolio-hero__title{
        font-size: 260px;
    }

    .portfolio-hero::before {
        width: calc(100% + 10vw);
    }

    .portfolio-hero__titles p{
        max-width: 100%;
    }

    .portfolio-hero__titles h1{
        max-width: 100%;
    }
}

@media (width <= 1024px) {
    .portfolio-hero{
        height: 480px;
    }

    .portfolio-projects{
        padding-bottom: 60px;
    }

    .portfolio-filters__button{
        padding: 12px 16px;
        border-radius: 10px;
    }

    .portfolio-stats{
        bottom: -95%;
    }

    .portfolio-hero__icon{
        display: none;
    }

    .portfolio-hero__titles h1{
        max-width: 100%;
    }

    .portfolio-hero__titles p{
        max-width: 100%;
    }

    .portfolio-wrapper {
        margin-bottom: 550px;
    }

    .portfolio-filters{
        gap: 8px;
        padding-block: 16px;
        padding-bottom: 8px;
    }

    .portfolio-philosophy-card{
        width: 100% !important;
    }
}


@media (width <= 768px) {
    .portfolio-stats{
        bottom: auto;
        top: 75%;
    }

    .portfolio-hero__titles h1{
        font-size: 28px;
    }

    .portfolio-hero__titles p{
        font-size: 18px
    }

    .portfolio-wrapper {
        margin-bottom: 580px;
    }
}


@media (width <= 565px) {
    .portfolio-hero__titles h1{
        font-size: 24px;
    }

    .portfolio-stats{
        bottom: auto;
        top: 88%;
    }

    .portfolio-wrapper {
        margin-bottom: 650px;
    }
}


@media (width <= 425px) {
    .portfolio-wrapper {
        margin-bottom: 700px;
    }
}

