
/* =========================================================
   PORTFOLIO PROJECTS
========================================================= */

.portfolio-projects {
    padding: 90px 0 100px;
    background: #f6f8fc;
}

.portfolio-section-header {
    max-width: 720px;
    margin: 0 auto 35px;
}

.portfolio-eyebrow {
    display: inline-block;
    margin-bottom: 12px;

    color: #149ee7;

    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}

.portfolio-section-header h2 {
    margin-bottom: 14px;

    color: #071a38;

    font-size: clamp(30px, 4vw, 46px);
    font-weight: 800;
}

.portfolio-section-header p {
    margin: 0;

    color: #6d7888;

    font-size: 15px;
    line-height: 1.8;
}


/* FILTER */

.portfolio-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;

    gap: 9px;

    margin-bottom: 42px;
}

.portfolio-filter-btn {
    padding: 9px 18px;

    border: 1px solid #dde4ed;
    border-radius: 50px;

    background: #fff;
    color: #667085;

    font-size: 13px;
    font-weight: 600;

    transition: .25s ease;
}

.portfolio-filter-btn:hover,
.portfolio-filter-btn.active {
    border-color: #159be8;

    background: #159be8;
    color: #fff;
}


/* CARD */

.portfolio-card {
    height: 100%;

    overflow: hidden;

    border: 1px solid #e8edf3;
    border-radius: 18px;

    background: #fff;

    box-shadow: 0 12px 35px rgba(9, 30, 66, .06);

    transition: .3s ease;
}

.portfolio-card:hover {
    transform: translateY(-7px);

    box-shadow: 0 22px 50px rgba(9, 30, 66, .12);
}


/* IMAGE */

.portfolio-image {
    position: relative;

    height: 225px;

    overflow: hidden;

    background:
        linear-gradient(
            135deg,
            #061735,
            #0c3f79
        );
}

.portfolio-placeholder {
    width: 100%;
    height: 100%;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;

    gap: 13px;

    color: #fff;
}

.portfolio-placeholder i {
    font-size: 43px;

    color: #51d9ff;
}

.portfolio-placeholder span {
    font-size: 12px;
    font-weight: 800;

    letter-spacing: 2px;
}


/* OVERLAY */

.portfolio-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: center;
    justify-content: center;

    background: rgba(3, 16, 39, .82);

    color: #fff;

    opacity: 0;

    transition: .3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    font-size: 13px;
    font-weight: 700;
}


/* CONTENT */

.portfolio-card-body {
    padding: 24px;
}

.portfolio-category {
    display: block;

    margin-bottom: 10px;

    color: #159be8;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: 1.5px;
}

.portfolio-card-body h3 {
    margin-bottom: 12px;

    color: #071a38;

    font-size: 19px;
    font-weight: 800;

    line-height: 1.4;
}

.portfolio-card-body p {
    min-height: 72px;

    margin-bottom: 18px;

    color: #707b8b;

    font-size: 13px;
    line-height: 1.75;
}


/* TECHNOLOGY */

.portfolio-tech {
    display: flex;
    flex-wrap: wrap;

    gap: 6px;

    margin-bottom: 20px;
}

.portfolio-tech span {
    padding: 5px 9px;

    border-radius: 6px;

    background: #f1f5f9;
    color: #667085;

    font-size: 10px;
    font-weight: 600;
}


/* LINK */

.portfolio-link {
    display: inline-flex;
    align-items: center;

    gap: 7px;

    color: #0b2b55;

    font-size: 12px;
    font-weight: 800;

    text-decoration: none;
}

.portfolio-link i {
    transition: .25s ease;
}

.portfolio-link:hover {
    color: #159be8;
}

.portfolio-link:hover i {
    transform: translateX(4px);
}


/* MOBILE */

@media (max-width: 767.98px) {

    .portfolio-projects {
        padding: 65px 0 75px;
    }

    .portfolio-section-header {
        margin-bottom: 28px;
    }

    .portfolio-image {
        height: 200px;
    }

    .portfolio-card-body p {
        min-height: auto;
    }

}
/* =========================================================
   PROJECT SCREENSHOT
========================================================= */

.portfolio-image {
    position: relative;
    height: 235px;
    overflow: hidden;
    background: #071a38;
}

.portfolio-project-image {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;
    object-position: top center;

    transition: transform .45s ease;
}

.portfolio-card:hover .portfolio-project-image {
    transform: scale(1.035);
}


/* Overlay tetap menggunakan class yang sudah ada */

.portfolio-overlay {
    position: absolute;
    inset: 0;

    display: flex;
    align-items: flex-end;

    padding: 20px;

    background:
        linear-gradient(
            180deg,
            rgba(4, 20, 48, 0) 40%,
            rgba(4, 20, 48, .88) 100%
        );

    opacity: 0;

    transition: opacity .3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-overlay span {
    display: inline-flex;
    align-items: center;
    gap: 7px;

    padding: 8px 12px;

    border-radius: 8px;

    background: rgba(255,255,255,.94);

    color: #071a38;

    font-size: 11px;
    font-weight: 700;
}


/* MOBILE */

@media (max-width: 767.98px) {

    .portfolio-image {
        height: 200px;
    }

    .portfolio-overlay {
        opacity: 1;

        background:
            linear-gradient(
                180deg,
                transparent 50%,
                rgba(4,20,48,.88) 100%
            );
    }

}