/* ===================================================
                PORTFOLIO PAGE
=================================================== */

.page-shell{
    width:min(1250px,92%);
    margin:auto;
}

/* =====================================
            HERO SECTION
===================================== */

.portfolio-hero{

    text-align:center;

    padding:90px 0 70px;

    animation:fadeUp .8s ease;

}

.hero-pill{

    display:inline-block;

    padding:10px 22px;

    border-radius:50px;

    background:rgba(124,58,237,.15);

    border:1px solid rgba(124,58,237,.30);

    color:#c4b5fd;

    font-weight:500;

    margin-bottom:25px;

}

.portfolio-hero h1{

    font-size:65px;

    color:white;

    margin:0;

    font-weight:800;

    line-height:1.1;

}

.gradient-text{

    display:block;

    margin-top:10px;

    background:linear-gradient(
        90deg,
        #3b82f6,
        #06b6d4,
        #7c3aed
    );

    -webkit-background-clip:text;
    -webkit-text-fill-color:transparent;

}

.portfolio-hero p{

    max-width:760px;

    margin:30px auto 0;

    color:#94a3b8;

    font-size:18px;

    line-height:1.8;

}

/* =====================================
          PROJECT GRID
===================================== */

.projects{

    display:grid;

    grid-template-columns:
    repeat(auto-fit,minmax(330px,1fr));

    gap:35px;

    margin-bottom:70px;

}

/* =====================================
            PROJECT CARD
===================================== */

.project-card{

    position:relative;

    overflow:hidden;

    padding:30px;

    border-radius:24px;

    background:

    linear-gradient(
    145deg,
    rgba(255,255,255,.05),
    rgba(255,255,255,.02));

    border:1px solid rgba(255,255,255,.08);

    backdrop-filter:blur(18px);

    transition:.45s;

}

.project-card:hover{

    transform:
    translateY(-12px);

    border-color:
    rgba(59,130,246,.40);

    box-shadow:
    0 30px 60px rgba(0,0,0,.30);

}

/* Glow */

.project-card::before{

    content:"";

    position:absolute;

    width:180px;

    height:180px;

    border-radius:50%;

    background:

    rgba(124,58,237,.25);

    filter:blur(70px);

    top:-80px;

    right:-80px;

    transition:.4s;

}

.project-card:hover::before{

    transform:scale(1.4);

}

/* =====================================
            TOP AREA
===================================== */

.card-top{

    display:flex;

    justify-content:space-between;

    align-items:center;

    margin-bottom:28px;

}

.project-icon{

    width:70px;

    height:70px;

    display:flex;

    align-items:center;

    justify-content:center;

    font-size:34px;

    border-radius:18px;

    background:

    linear-gradient(
    135deg,
    #3b82f6,
    #7c3aed);

    box-shadow:
    0 15px 30px
    rgba(59,130,246,.25);

}

/* =====================================
            TAG
===================================== */

.tag{

    padding:8px 18px;

    border-radius:40px;

    background:
    rgba(255,255,255,.06);

    color:#cbd5e1;

    font-size:14px;

    border:1px solid rgba(255,255,255,.08);

}

/* =====================================
            CARD TEXT
===================================== */

.project-card h2{

    color:white;

    font-size:28px;

    margin:0 0 15px;

}

.project-card p{

    color:#94a3b8;

    line-height:1.8;

    margin-bottom:30px;

}
/* ===================================================
                PROJECT BUTTON
=================================================== */

.project-card .card-btn{

    display:inline-flex;

    align-items:center;

    justify-content:center;

    padding:14px 26px;

    border-radius:50px;

    background:linear-gradient(
        135deg,
        #3b82f6,
        #7c3aed);

    color:white;

    font-weight:600;

    transition:.35s;

    box-shadow:0 15px 30px rgba(59,130,246,.25);

}

.project-card .card-btn:hover{

    transform:translateY(-5px);

    box-shadow:0 25px 45px rgba(124,58,237,.35);

}

/* =====================================
        LEARN MORE SECTION
===================================== */

.learn-more-center{

    display:flex;

    justify-content:center;

    margin:70px 0 90px;

}

.learn-more-center .btn{

    padding:16px 36px;

    font-size:17px;

    border-radius:50px;

    transition:.35s;

}

.learn-more-center .btn:hover{

    transform:translateY(-6px);

}

/* =====================================
        FOOTER
===================================== */

.site-footer{

    margin-top:40px;

    padding:35px 20px;

    text-align:center;

    border-top:1px solid rgba(255,255,255,.08);

    background:rgba(255,255,255,.02);

    backdrop-filter:blur(10px);

}

.site-footer p{

    color:#94a3b8;

    margin:0;

    letter-spacing:.5px;

}

/* =====================================
        ACTIVE NAV LINK
===================================== */

.nav-menu a.active{

    color:white;

    position:relative;

}

.nav-menu a.active::after{

    content:"";

    position:absolute;

    left:0;

    bottom:-8px;

    width:100%;

    height:2px;

    border-radius:20px;

    background:linear-gradient(
        90deg,
        #3b82f6,
        #7c3aed);

}

/* =====================================
        DECORATIVE BACKGROUND
===================================== */

.projects{

    position:relative;

}

.projects::before{

    content:"";

    position:absolute;

    width:320px;

    height:320px;

    background:rgba(59,130,246,.10);

    border-radius:50%;

    filter:blur(130px);

    left:-180px;

    top:150px;

    z-index:-1;

}

.projects::after{

    content:"";

    position:absolute;

    width:260px;

    height:260px;

    background:rgba(124,58,237,.10);

    border-radius:50%;

    filter:blur(120px);

    right:-140px;

    bottom:-80px;

    z-index:-1;

}

/* =====================================
            ANIMATIONS
===================================== */

@keyframes fadeUp{

    from{

        opacity:0;

        transform:translateY(40px);

    }

    to{

        opacity:1;

        transform:translateY(0);

    }

}

.project-card{

    animation:fadeUp .8s ease;

}

/* =====================================
            RESPONSIVE
===================================== */

@media(max-width:992px){

    .portfolio-hero h1{

        font-size:50px;

    }

}

@media(max-width:768px){

    .portfolio-hero{

        padding:70px 0 50px;

    }

    .portfolio-hero h1{

        font-size:42px;

    }

    .portfolio-hero p{

        font-size:16px;

        padding:0 10px;

    }

    .projects{

        grid-template-columns:1fr;

        gap:25px;

    }

    .project-card{

        padding:24px;

    }

    .card-top{

        flex-direction:column;

        align-items:flex-start;

        gap:15px;

    }

    .project-icon{

        width:60px;

        height:60px;

        font-size:28px;

    }

}

@media(max-width:480px){

    .portfolio-hero h1{

        font-size:34px;

    }

    .hero-pill{

        font-size:13px;

        padding:8px 16px;

    }

    .project-card h2{

        font-size:22px;

    }

    .project-card p{

        font-size:15px;

    }

    .learn-more-center .btn{

        width:100%;

        justify-content:center;

    }

}