/* ===== PORTFOLIO ===== */

.portfolio-section{
    padding:110px 0;
    background:#fafafa;
    overflow:hidden;
}

.portfolio-header{
    text-align:center;
    margin-bottom:60px;
}

.portfolio-tag{
    color:#FF8C00;
    font-weight:700;
    letter-spacing:1px;
    font-size:14px;
}

.portfolio-header h2{
    font-size:52px;
    margin-top:15px;
    color:#111827;
}

.portfolio-header h2 span{
    color:#FF8C00;
}

/* Slider */

.portfolio-slider{
    overflow:hidden;
    cursor:grab;
}

.portfolio-track{
    display:flex;
    gap:22px;
    transition:transform .7s ease;
}

/* Card */

.project-card{
    position:relative;
    min-width:calc(25% - 17px);
    height:460px;
    border-radius:26px;
    overflow:hidden;
    text-decoration:none;
    flex-shrink:0;
    box-shadow:0 20px 45px rgba(0,0,0,.08);
}

.project-card img{
    width:100%;
    height:100%;
    object-fit:cover;
    transition:.5s;
}

.project-overlay{
    position:absolute;
    inset:0;
    display:flex;
    flex-direction:column;
    justify-content:flex-end;
    padding:28px;
    background:linear-gradient(180deg,
    rgba(0,0,0,0) 20%,
    rgba(15,23,42,.95) 100%);
    color:white;
}

.project-overlay span{
    color:#FFA600;
    font-size:13px;
    font-weight:600;
    margin-bottom:8px;
}

.project-overlay h3{
    font-size:26px;
    line-height:1.2;
    margin-bottom:18px;
}

.project-overlay i{
    width:54px;
    height:54px;
    border-radius:50%;
    background:#FF8C00;
    display:flex;
    align-items:center;
    justify-content:center;
    transition:.3s;
}

/* Hover */

.project-card:hover img{
    transform:scale(1.1);
}

.project-card:hover .project-overlay{
    background:linear-gradient(180deg,
    rgba(255,140,0,.15) 0%,
    rgba(0,0,0,.96) 100%);
}

.project-card:hover .project-overlay i{
    transform:rotate(45deg);
    background:#fff;
    color:#FF8C00;
}

/* Dots */

.portfolio-pagination{
    display:flex;
    justify-content:center;
    gap:12px;
    margin-top:45px;
}

.portfolio-pagination span{
    width:12px;
    height:12px;
    border-radius:50%;
    background:#d1d5db;
    transition:.3s;
}

.portfolio-pagination span.active{
    width:34px;
    border-radius:20px;
    background:#FF8C00;
}

/* Tablet */

@media(max-width:992px){

.project-card{
    min-width:calc(50% - 11px);
    height:420px;
}

.portfolio-header h2{
    font-size:40px;
}

}

/* Mobile */

@media(max-width:576px){

.portfolio-section{
    padding:70px 0;
}

.project-card{
    min-width:85%;
    height:430px;
}

.portfolio-header h2{
    font-size:32px;
}

.project-overlay h3{
    font-size:22px;
}

}