/* Portfolio Page */

.portfolio-page-section{
    background:
        radial-gradient(circle at top left, rgba(139,8,217,.08), transparent 35%),
        radial-gradient(circle at bottom right, rgba(1,180,233,.10), transparent 35%),
        linear-gradient(180deg,#ffffff,#f7fcff);
}

.portfolio-page-grid{
    display:grid;
    grid-template-columns:repeat(2,1fr);
    gap:36px;
}

.portfolio-page-card{
    background:#fff;
    border-radius:30px;
    padding:30px;
    border:1px solid rgba(1,180,233,.14);
    box-shadow:0 24px 70px rgba(18,48,68,.10);
    transition:.35s ease;
}

.portfolio-page-card:hover{
    transform:translateY(-8px);
    box-shadow:0 36px 90px rgba(18,48,68,.16);
}

.portfolio-device-wrap{
    position:relative;
    padding:18px 45px 70px;
    margin-bottom:22px;
}

.portfolio-desktop-screen{
    background:#111827;
    border:10px solid #111827;
    border-radius:18px 18px 8px 8px;
    overflow:hidden;
    aspect-ratio:16/10;
    box-shadow:0 25px 60px rgba(0,0,0,.22);
}

.portfolio-desktop-screen img{
    width:100%;
    /* height:100%; */
    object-fit:fill;
    transition:.5s ease;
}

.portfolio-page-card:hover .portfolio-desktop-screen img{
    transform:scale(1.04);
}

.portfolio-desktop-base{
    width:58%;
    height:16px;
    margin:0 auto;
    background:linear-gradient(180deg,#d1d5db,#9ca3af);
    border-radius:0 0 18px 18px;
    box-shadow:0 14px 25px rgba(0,0,0,.16);
}

.portfolio-mobile{
    position:absolute;
    right:18px;
    bottom:20px;
    width:105px;
    background:#111827;
    border:7px solid #111827;
    border-radius:24px;
    overflow:hidden;
    box-shadow:0 24px 55px rgba(0,0,0,.28);
}

.portfolio-mobile-screen{
    aspect-ratio:9/19;
    border-radius:17px;
    overflow:hidden;
    background:#fff;
}

.portfolio-mobile-screen img{
    width:100%;
    /* height:100%; */
    object-fit:fill;
}

.portfolio-page-card span{
    display:inline-block;
    margin-bottom:10px;
    font-size:13px;
    font-weight:800;
    letter-spacing:.8px;
    /* text-transform:lowercase; */
}

.portfolio-page-card span a{
    color:#8b08d9;
    text-decoration:underline;
}

.portfolio-page-card h3{
    margin:0 0 12px;
    font-size:25px;
    color:#111827;
    text-transform:uppercase;
}

.portfolio-page-card p{
    margin:0;
    color:#64798a;
    line-height:1.75;
    font-size:16px;
}

/* Tablet */
@media(max-width:991px){
    .portfolio-page-grid{
        grid-template-columns:1fr;
    }
}

/* Mobile */
@media(max-width:576px){
    .portfolio-page-card{
        padding:22px;
        border-radius:24px;
    }

    .portfolio-device-wrap{
        padding:10px 10px 88px;
    }

    .portfolio-desktop-screen{
        border-width:7px;
        border-radius:14px 14px 7px 7px;
    }

    .portfolio-mobile{
        right:50%;
        transform:translateX(50%);
        bottom:10px;
        width:92px;
    }

    .portfolio-page-card h3{
        font-size:21px;
    }
}

.portfolio-title{
    display:flex;
    justify-content:space-between;
    align-items:center;
    gap:15px;
    margin:0 0 14px;
}

.portfolio-title h3{
    margin:0;
    font-size:24px;
    color:#111827;
    font-weight:700;
    flex:1;
}

.portfolio-sector{
    display:inline-flex;
    align-items:center;
    justify-content:center;

    padding:8px 16px;

    border-radius:50px;

    font-size:12px;
    font-weight:700;
    letter-spacing:.6px;
    text-transform:uppercase;

    
    color:#fff;
    background:linear-gradient(135deg,#8b08d9,#01b4e9);

    

    border:1px solid rgba(139,8,217,.18);

    white-space:nowrap;

    transition:.3s;
}

.portfolio-page-card:hover .portfolio-sector{
    background:linear-gradient(
        135deg,
        rgba(139,8,217,.10),
        rgba(1,180,233,.10)
    );
    color:#8b08d9;
    border-color:transparent;
    box-shadow:0 10px 25px rgba(1,180,233,.25);
}

@media(max-width:576px){

    .portfolio-title{
        flex-direction:column;
        align-items:flex-start;
        gap:10px;
    }

}