/*==================================================
                PORTFOLIO SECTION
==================================================*/

#portfolio{
    width:100%;
    /* background:#4f8df7; */
    padding-top:140px;   /* Space for fixed navbar */
    padding-bottom:100px;
}
/* .navbar{
    background-color: 
    #4f8df7;
} */
/*==================================================
                PAGE BANNER
==================================================*/

.page-banner{
    position: relative;
    background: linear-gradient(135deg,#2563eb,#4f8df7);
    color:#fff;
    text-align:center;
    padding:180px 20px 100px;
    overflow:hidden;
}

.page-banner::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    border-radius:50%;
    background:rgba(255,255,255,.08);
    top:-220px;
    right:-150px;
}

.page-banner::after{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    border-radius:50%;
    background:rgba(255,255,255,.05);
    bottom:-160px;
    left:-120px;
}

.page-banner .container{
    max-width:900px;
    margin:auto;
    position:relative;
    z-index:2;
}

.page-banner span{
    display:inline-block;
    padding:8px 18px;
    background:rgba(255,255,255,.15);
    border-radius:40px;
    font-size:14px;
    font-weight:600;
    letter-spacing:2px;
    margin-bottom:20px;
}

.page-banner h1{
    font-size:56px;
    font-weight:700;
    margin-bottom:20px;
}

.page-banner p{
    font-size:18px;
    line-height:1.8;
    max-width:750px;
    margin:auto;
}

@media(max-width:768px){

.page-banner{
    padding:150px 20px 80px;
    
}

.page-banner h1{
    font-size:38px;
}

.page-banner p{
    font-size:16px;
    
}

}

/*==================================================
                PORTFOLIO HERO
==================================================*/

.portfolio-hero{
    position:relative;
    background:linear-gradient(135deg,#2563eb,#4f8df7);
    color:#fff;
    text-align:center;
    padding:90px 20px;
    overflow:hidden;
}

.portfolio-hero::before{
    content:"";
    position:absolute;
    width:500px;
    height:500px;
    background:rgba(255,255,255,.08);
    border-radius:50%;
    top:-220px;
    right:-150px;
}

.portfolio-hero::after{
    content:"";
    position:absolute;
    width:350px;
    height:350px;
    background:rgba(255,255,255,.05);
    border-radius:50%;
    left:-120px;
    bottom:-150px;
}

.portfolio-hero>*{
    position:relative;
    z-index:2;
}

.portfolio-hero-title{
    font-size:52px;
    font-weight:800;
    margin-bottom:20px;
}

.portfolio-hero-subtitle{
    max-width:750px;
    margin:auto;
    font-size:18px;
    line-height:1.8;
    opacity:.95;
}

/*==================================================
                STATS
==================================================*/

.portfolio-stats{
    display:flex;
    justify-content:center;
    gap:35px;
    flex-wrap:wrap;
    margin-top:50px;
    
}

.portfolio-stats div{
    background:rgba(255,255,255,.15);
    padding:25px 35px;
    border-radius:20px;
    backdrop-filter:blur(10px);
}

.portfolio-stats strong{
    display:block;
    font-size:36px;
    font-weight:700;
    margin-bottom:10px;
}

.portfolio-stats span{
    font-size:15px;
}

/*==================================================
                FILTER BUTTONS
==================================================*/

.portfolio-filters{
    display:flex;
    justify-content:center;
    flex-wrap:wrap;
    gap:20px;
    margin:70px auto 50px;
}

.filter-btn{
    border:none;
    background:#fff;
    color:#222;
    padding:14px 28px;
    border-radius:40px;
    font-size:15px;
    font-weight:600;
    cursor:pointer;
    box-shadow:0 10px 25px rgba(0,0,0,.08);
    transition:.35s;
}

.filter-btn:hover,
.filter-btn.active{
    background:#2563eb;
    color:#fff;
}

/*==================================================
                GRID
==================================================*/

.portfolio-grid{
    width:90%;
    max-width:1300px;
    margin:auto;

    display:grid;
    grid-template-columns:repeat(3,1fr);
    gap:35px;
}

/*==================================================
                CARD
==================================================*/

.portfolio-card{
    background:#fff;
    border-radius:20px;
    padding:40px 30px;
    text-align:center;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    transition:.35s;
}

.portfolio-card:hover{
    transform:translateY(-10px);
    box-shadow:0 20px 45px rgba(0,0,0,.15);
}

.portfolio-card img{
    width:120px;
    height:120px;
    object-fit:contain;
    margin:0 auto 25px;
}

.portfolio-card h3{
    font-size:23px;
    font-weight:700;
    margin-bottom:15px;
    color:#222;
}

.portfolio-card p{
    color:#666;
    font-size:15px;
    line-height:1.8;
}

/*==================================================
                RESPONSIVE
==================================================*/

@media(max-width:1100px){

.portfolio-grid{
    grid-template-columns:repeat(2,1fr);
}

}

@media(max-width:768px){

#portfolio{
    padding-top:120px;
}

.portfolio-hero{
    padding:70px 20px;
}

.portfolio-hero-title{
    font-size:38px;
}

.portfolio-hero-subtitle{
    font-size:16px;
}

.portfolio-stats{
    gap:20px;
}

.portfolio-stats div{
    width:170px;
    padding:20px;
}

.portfolio-grid{
    grid-template-columns:1fr;
}

.portfolio-card{
    padding:35px 25px;
}

.portfolio-card img{
    width:100px;
    height:100px;
}

}

@media(max-width:480px){

.portfolio-hero-title{
    font-size:32px;
}

.portfolio-hero-subtitle{
    font-size:15px;
}

.filter-btn{
    width:100%;
}

.portfolio-card h3{
    font-size:20px;
}

.portfolio-card p{
    font-size:14px;
}

}