/*=========================================
            PROJECT BANNER
=========================================*/

.project-banner {

    position: relative;
    height: 420px;
    background: url("../images/projects/banner.jpg") center center/cover no-repeat;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;

}

.project-banner .overlay {

    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #081C3A, #143A5E, #205072);

}

.project-banner .container {

    position: relative;
    z-index: 2;

}

.project-banner h1 {

    font-size: 58px;
    margin-bottom: 15px;
    font-weight: 700;

}

.project-banner p {

    font-size: 18px;
    letter-spacing: 1px;

}

/*=========================================
        FILTER
=========================================*/

.project-filter {

    padding: 90px 0 40px;

}

.filter-buttons {

    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 40px;

}

.filter-buttons button {

    border: none;
    padding: 14px 32px;
    border-radius: 40px;
    background: #edf2f7;
    cursor: pointer;
    transition: .35s;
    font-weight: 600;
    font-size: 15px;

}

.filter-buttons button.active,
.filter-buttons button:hover {

    background: #00C897;
    color: #fff;

}

/*=========================================
        PROJECT GRID
=========================================*/

.projects,
.projects-section {

    padding: 80px 0;

}

.project-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;

}

.project-card {

    background: #fff;
    border-radius: 14px;
    overflow: hidden;
    box-shadow: 0 12px 30px rgba(0, 0, 0, .08);
    transition: .4s;

}

.project-card:hover {

    transform: translateY(-10px);

}

.project-card img {

    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: .5s;

}

.project-card:hover img {

    transform: scale(1.08);

}

.project-content {

    padding: 28px;

}

.project-content span {

    display: inline-block;
    padding: 8px 18px;
    background: #00C897;
    color: #fff;
    border-radius: 30px;
    font-size: 13px;
    margin-bottom: 18px;

}

.project-content h3 {

    font-size: 24px;
    color: #0E1A2B;
    margin-bottom: 15px;

}

.project-content p {

    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;

}

.project-content a {

    color: #0A4D68;
    text-decoration: none;
    font-weight: 600;

}

.project-content a i {

    margin-left: 8px;
    transition: .3s;

}

.project-content a:hover i {

    margin-left: 14px;

}

/*=========================================
        HIGHLIGHTS
=========================================*/

.project-highlights {

    padding: 110px 0;
    background: #f8f9fc;

}

.highlight-grid {

    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 35px;
    margin-top: 60px;

}

.highlight-card {

    background: #fff;
    padding: 45px 35px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 15px 30px rgba(0, 0, 0, .08);
    transition: .4s;

}

.highlight-card:hover {

    transform: translateY(-10px);

}

.highlight-card i {

    font-size: 60px;
    color: #00C897;
    margin-bottom: 25px;

}

.highlight-card h3 {

    color: #0E1A2B;
    margin-bottom: 18px;
    font-size: 24px;

}

.highlight-card p {

    color: #666;
    line-height: 1.8;

}

/*=========================================
        CLIENTS
=========================================*/

.clients {

    padding: 100px 0;

}

.client-logos {

    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 35px;
    align-items: center;
    margin-top: 60px;

}

.client-logos img {

    width: 100%;
    max-width: 150px;
    margin: auto;
    transition: .4s;

}


/*=========================================
        CTA
=========================================*/

.cta {

    background: linear-gradient(135deg, #0A4D68, #088395);
    padding: 100px 0;
    text-align: center;
    color: #fff;

}

.cta h2 {

    font-size: 44px;
    margin-bottom: 30px;

}

.cta .btn {

    background: #00C897;
    color: #fff;

}

.cta .btn:hover {

    background: #fff;
    color: #0A4D68;

}

/*=========================================
        ANIMATION
=========================================*/

@keyframes fadeProject {

    from {

        opacity: 0;
        transform: translateY(40px);

    }

    to {

        opacity: 1;
        transform: translateY(0);

    }

}

.project-card,
.highlight-card {

    animation: fadeProject .8s ease;

}

.clients{
    padding:60px 0;
}

.client-slider{
    overflow:hidden;
    width:100%;
    margin:20px 0;
}

.client-track{
    display:flex;
    align-items:center;
    gap:50px;
    width:max-content;
}

.client-track img{
    width:150px;
    flex-shrink:0;
}

/* First Row */
.left{
    animation: moveLeft 20s linear infinite;
}

/* Second Row */
.right{
    animation: moveRight 20s linear infinite;
}

/* Right → Left */
@keyframes moveLeft{
    from{
        transform:translateX(0);
    }
    to{
        transform:translateX(-50%);
    }
}

/* Left → Right */
@keyframes moveRight{
    from{
        transform:translateX(-50%);
    }
    to{
        transform:translateX(0);
    }
}

/* Pause on Hover */
.client-track:hover{
    animation-play-state:paused;
}

/*=========================================
        RESPONSIVE
=========================================*/

@media(max-width:992px) {

    .project-grid {

        grid-template-columns: repeat(2, 1fr);

    }

    .highlight-grid {

        grid-template-columns: 1fr 1fr;

    }

    .client-logos {

        grid-template-columns: repeat(3, 1fr);

    }

}

@media(max-width:768px) {

    .project-banner {

        height: 300px;

    }

    .project-banner h1 {

        font-size: 42px;

    }

    .project-grid {

        grid-template-columns: 1fr;

    }

    .highlight-grid {

        grid-template-columns: 1fr;

    }

    .client-logos {

        grid-template-columns: repeat(2, 1fr);

    }

    .cta h2 {

        font-size: 32px;

    }

}

@media(max-width:480px) {

    .project-banner h1 {

        font-size: 32px;

    }

    .filter-buttons {

        gap: 10px;

    }

    .filter-buttons button {

        padding: 10px 18px;

    }

    .client-logos {

        grid-template-columns: 1fr;

    }



}