/* =========================================
   FILTER PROJECT SECTION
========================================= */

.project-filter-section{

    padding:120px 7%;

    background:#ffffff;
}

/* TOP */

.filter-top{

    display:flex;

    justify-content:space-between;

    align-items:flex-end;

    gap:50px;

    margin-bottom:70px;
}

.filter-heading h2{

    font-size:64px;

    line-height:1.05;

    margin:20px 0;

    max-width:700px;

    color:#111;
}

.filter-heading p{

    max-width:550px;

    color:#666;

    line-height:30px;
}

/* FILTER BUTTONS */

.filter-buttons{

    display:flex;

    gap:15px;

    flex-wrap:wrap;
}

.filter-btn{

    padding:15px 28px;

    border:none;

    border-radius:50px;

    background:#ffffff;

    color:#111;

    font-size:13px;

    font-weight:600;

    cursor:pointer;

    transition:0.4s ease;

    box-shadow:0 8px 25px rgba(0,0,0,0.05);
}

.filter-btn:hover{

    transform:translateY(-3px);
}

.filter-btn.active{

    background:#111;

    color:#fff;
}

/* GRID */

.project-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;
}

/* CARD */

.project-card{

    background:#fff;

    border-radius:28px;

    overflow:hidden;

    transition:0.5s ease;

    box-shadow:0 15px 45px rgba(0,0,0,0.05);

    opacity:1;

    transform:scale(1);
}

.project-card.hide{

    opacity:0;

    transform:scale(0.8);

    pointer-events:none;
}

.project-card:hover{

    transform:translateY(-12px);
}

.project-image{

    position:relative;

    overflow:hidden;
}

.project-image img{

    width:100%;

    height:320px;

    object-fit:cover;

    transition:0.5s ease;
}

.project-card:hover .project-image img{

    transform:scale(1.08);
}

/* BADGE */

.status-badge{

    position:absolute;

    top:20px;
    left:20px;

    padding:10px 18px;

    border-radius:50px;

    font-size:11px;

    font-weight:600;

    letter-spacing:1px;

    text-transform:uppercase;
}

.completed-badge{

    background:#0e3b24;

    color:#fff;
}

.ongoing-badge{

    background:#b28b52;

    color:#fff;
}

.upcoming-badge{

    background:#111;

    color:#fff;
}

/* CONTENT */

.project-content{

    padding:35px;
}

.project-content h3{

    font-size:30px;

    margin-bottom:18px;

    color:#111;
}

.project-content p{

    color:#666;

    line-height:28px;

    margin-bottom:28px;
}

.project-footer{

    display:flex;

    justify-content:space-between;

    align-items:center;
}

.project-footer span{

    color:#999;

    font-size:14px;
}

.project-footer a{

    text-decoration:none;

    color:#111;

    font-weight:600;

    transition:0.3s ease;
}

.project-footer a:hover{

    color:#b28b52;
}

/* RESPONSIVE */

@media(max-width:1100px){

    .project-grid{

        grid-template-columns:repeat(2,1fr);
    }

    .filter-top{

        flex-direction:column;

        align-items:flex-start;
    }

}

@media(max-width:768px){

    .project-grid{

        grid-template-columns:1fr;
    }

    .filter-heading h2{

        font-size:42px;
    }

}





























/* =========================================
   ADVANCED FILTER ANIMATION
========================================= */

.project-grid{

    display:grid;

    grid-template-columns:repeat(3,1fr);

    gap:35px;

    transition:0.6s ease;
}

/* CARD */

.project-card{

    position:relative;

    background:rgba(255,255,255,0.7);

    backdrop-filter:blur(14px);

    border:1px solid rgba(255,255,255,0.4);

    border-radius:28px;

    overflow:hidden;

    transition:
    transform 0.7s cubic-bezier(.19,1,.22,1),
    opacity 0.6s ease,
    filter 0.6s ease;

    transform-origin:center;

    opacity:1;

    filter:blur(0px);

    animation:cardReveal 1s ease;
}

/* HOVER EFFECT */

.project-card:hover{

    transform:
    translateY(-18px)
    rotateX(4deg)
    rotateY(-4deg)
    scale(1.02);

    box-shadow:
    0 25px 60px rgba(0,0,0,0.12);

    z-index:5;
}

/* IMAGE ZOOM */

.project-image{

    overflow:hidden;
}

.project-image img{

    width:100%;

    height:320px;

    object-fit:cover;

    transition:1s cubic-bezier(.19,1,.22,1);
}

.project-card:hover .project-image img{

    transform:scale(1.12) rotate(1deg);
}

/* HIDE ANIMATION */

.project-card.hide{

    opacity:0;

    transform:
    scale(0.7)
    rotate(-12deg)
    translateY(80px);

    filter:blur(10px);

    pointer-events:none;
}

/* SHOW ANIMATION */

.project-card.show{

    animation:shuffleReveal 0.8s cubic-bezier(.19,1,.22,1);
}

/* REVEAL */

@keyframes shuffleReveal{

    0%{

        opacity:0;

        transform:
        scale(0.7)
        rotate(10deg)
        translateY(80px);

        filter:blur(8px);
    }

    60%{

        transform:
        scale(1.04)
        rotate(-2deg)
        translateY(-8px);
    }

    100%{

        opacity:1;

        transform:
        scale(1)
        rotate(0deg)
        translateY(0);

        filter:blur(0);
    }
}

/* INITIAL LOAD */

@keyframes cardReveal{

    0%{

        opacity:0;

        transform:
        translateY(100px)
        scale(0.9);

        filter:blur(10px);
    }

    100%{

        opacity:1;

        transform:
        translateY(0)
        scale(1);

        filter:blur(0);
    }
}

/* FILTER BUTTONS */

.filter-buttons{

    display:flex;

    gap:16px;

    flex-wrap:wrap;
}

.filter-btn{

    position:relative;

    padding:16px 30px;

    border:none;

    border-radius:60px;

    background:#fff9f9;

    color:#111;

    font-size:12px;

    font-weight:600;

    letter-spacing:1px;

    cursor:pointer;

    overflow:hidden;

    transition:0.5s ease;

    box-shadow:
    0 10px 30px rgba(0,0,0,0.05);
}

/* BUTTON HOVER */

.filter-btn:hover{

    transform:
    translateY(-4px)
    scale(1.04);

    box-shadow:
    0 18px 35px rgba(0,0,0,0.12);
}

/* ACTIVE BUTTON */

.filter-btn.active{

    background:#111;

    color:#fff;
}

/* GLOW EFFECT */

.filter-btn.active::before{

    content:'';

    position:absolute;

    inset:0;

    background:
    linear-gradient(
    135deg,
    rgba(255,255,255,0.08),
    transparent);

    animation:glowMove 3s linear infinite;
}

@keyframes glowMove{

    0%{
        transform:translateX(-100%);
    }

    100%{
        transform:translateX(100%);
    }
}

/* CONTENT */

.project-content{

    padding:35px;
}

.project-content h3{

    font-size:30px;

    margin-bottom:16px;

    line-height:1.1;
}

.project-content p{

    color:#666;

    line-height:28px;

    margin-bottom:24px;
}

/* BADGE */

.status-badge{

    position:absolute;

    top:20px;
    left:20px;

    padding:10px 18px;

    border-radius:40px;

    font-size:10px;

    font-weight:700;

    letter-spacing:1.5px;

    text-transform:uppercase;

    backdrop-filter:blur(10px);
}

/* COLORS */

.completed-badge{

    background:rgba(22,88,44,0.9);

    color:#fff;
}

.ongoing-badge{

    background:rgba(178,139,82,0.95);

    color:#fff;
}

.upcoming-badge{

    background:rgba(17,17,17,0.95);

    color:#fff;
}





























/* =========================================
   PROJECT CARD BASE
========================================= */

.project-card{

    opacity:1;

    transform:translateX(0) translateY(0);

    transition:all 0.5s ease;
}

/* =========================================
   SHOW ANIMATION
========================================= */

.project-card.show{

    animation:
    slideInFromLeft 0.7s ease forwards,
    floatingAnimation 3s ease-in-out 0.8s infinite;
}

/* =========================================
   HIDE ANIMATION
========================================= */

.project-card.hide{

    animation:slideOutToRight 0.5s ease forwards;
}

/* =========================================
   SLIDE IN
========================================= */

@keyframes slideInFromLeft{

    from{

        opacity:0;

        transform:
        translateX(-80px)
        translateY(-20px);
    }

    to{

        opacity:1;

        transform:
        translateX(0)
        translateY(0);
    }

}

/* =========================================
   FLOATING EFFECT
========================================= */

@keyframes floatingAnimation{

    0%,100%{

        transform:translateY(0px);
    }

    50%{

        transform:translateY(-8px);
    }

}

/* =========================================
   SLIDE OUT
========================================= */

@keyframes slideOutToRight{

    to{

        opacity:0;

        transform:
        translateX(80px)
        translateY(20px);
    }

}








/* Cards need to go project */
/* FULL CARD CLICK */

.project-link{

    display:block;

    width:100%;
    height:100%;

    text-decoration:none;

    color:inherit;
}

/* OPTIONAL HOVER */

.project-card{

    transition:0.4s ease;
}

.project-card:hover{

    transform:translateY(-6px);
}

.project-card:hover .project-image img{

    transform:scale(1.05);
}

.project-image{

    overflow:hidden;
}

.project-image img{

    width:100%;

    display:block;

    transition:0.5s ease;
}























