/* =========================================================
   CV BAROKAH ARTHA PRIMA
   PORTFOLIO PAGE
========================================================= */

.portfolio-page {
    width: 100%;
    overflow: hidden;
    background: #fff;

    font-family: 'Poppins', sans-serif;
}

.portfolio-container {
    width: 92%;
    max-width: 1240px;
    margin: 0 auto;
}


/* =========================================================
   HEADER
========================================================= */

.portfolio-header {
    padding: 85px 0 70px;

    text-align: center;

    background: #f5f7f8;
}

.portfolio-header .portfolio-container {
    max-width: 900px;
}

.portfolio-eyebrow {
    display: block;

    margin-bottom: 14px;

    color: #345572;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 2px;
}

.portfolio-header h1 {
    margin: 0 0 16px;

    color: #0b1f33;

    font-size: clamp(34px, 4.5vw, 56px);
    line-height: 1.15;
    font-weight: 600;

    letter-spacing: -1.5px;
}

.portfolio-header p {
    max-width: 760px;

    margin: 0 auto;

    color: #65727d;

    font-size: 14px;
    line-height: 1.8;
}


/* =========================================================
   SECTION
========================================================= */

.portfolio-section {
    padding: 38px 0 90px;

    background: #fff;
}


/* =========================================================
   GRID
========================================================= */

.portfolio-grid {
    display: grid;

    grid-template-columns: repeat(4, minmax(0, 1fr));

    gap: 28px;
}


/* =========================================================
   CARD
========================================================= */

.portfolio-card {
    overflow: hidden;

    background: #fff;

    border: 1px solid #e3e8ec;
    border-radius: 24px;

    box-shadow: 0 8px 30px rgba(11, 31, 51, .04);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;
}

.portfolio-card:hover {
    transform: translateY(-5px);

    border-color: #d5dce1;

    box-shadow: 0 18px 45px rgba(11, 31, 51, .10);
}


/* =========================================================
   IMAGE
========================================================= */

.portfolio-card-image {
    position: relative;

    display: block;

    width: 100%;

    aspect-ratio: 1.55 / 1;

    overflow: hidden;

    background: #e9edf0;
}

.portfolio-card-image img {
    display: block;

    width: 100%;
    height: 100%;

    object-fit: cover;

    transition: transform .45s ease;
}

.portfolio-card:hover
.portfolio-card-image img {
    transform: scale(1.04);
}


/* =========================================================
   CATEGORY
========================================================= */

.portfolio-category {
    position: absolute;

    top: 18px;
    left: 18px;

    padding: 9px 18px;

    background: #153f9b;

    border-radius: 999px;

    color: #fff;

    font-size: 12px;
    font-weight: 600;

    box-shadow: 0 5px 15px rgba(0, 0, 0, .12);
}


/* =========================================================
   CONTENT
========================================================= */

.portfolio-card-content {
    padding: 24px 25px 26px;
}


/* =========================================================
   META
========================================================= */

.portfolio-meta {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 12px;

    margin-bottom: 17px;

    color: #72808c;

    font-size: 11px;
}

.portfolio-meta span {
    display: inline-flex;

    align-items: center;

    gap: 7px;

    min-width: 0;
}

.portfolio-meta i {
    color: #52708c;
}


/* =========================================================
   TITLE
========================================================= */

.portfolio-card h2 {
    margin: 0 0 12px;

    color: #0b1f33;

    font-size: 18px;
    line-height: 1.45;
    font-weight: 600;
}

.portfolio-card h2 a {
    color: inherit;

    text-decoration: none;
}


/* =========================================================
   DESCRIPTION
========================================================= */

.portfolio-card p {
    display: -webkit-box;

    margin: 0;

    overflow: hidden;

    color: #687680;

    font-size: 12px;
    line-height: 1.75;

    -webkit-line-clamp: 3;
line-clamp: 3;
-webkit-box-orient: vertical;
}


/* =========================================================
   READ MORE
========================================================= */

.portfolio-read-more {
    display: inline-flex;

    align-items: center;

    gap: 8px;

    margin-top: 22px;

    color: #153f9b;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;
}

.portfolio-read-more i {
    transition: transform .2s ease;
}

.portfolio-card:hover
.portfolio-read-more i {
    transform: translateX(4px);
}


/* =========================================================
   CTA
========================================================= */

.portfolio-cta {
    padding: 0 0 85px;

    background: #fff;
}

.portfolio-cta-box {
    display: flex;

    align-items: center;
    justify-content: space-between;

    gap: 30px;

    padding: 45px 50px;

    background: #0b1f33;

    border-radius: 2px;
}

.portfolio-cta-box span {
    display: block;

    margin-bottom: 9px;

    color: #aebbc6;

    font-size: 10px;
    font-weight: 600;

    letter-spacing: 1.8px;
}

.portfolio-cta-box h2 {
    margin: 0;

    color: #fff;

    font-size: clamp(25px, 3vw, 36px);
    line-height: 1.2;
    font-weight: 600;
}

.portfolio-cta-button {
    min-height: 46px;

    display: inline-flex;

    align-items: center;
    justify-content: center;

    gap: 8px;

    padding: 0 22px;

    background: #fff;

    color: #0b1f33;

    font-size: 12px;
    font-weight: 600;

    text-decoration: none;

    white-space: nowrap;

    transition: .25s ease;
}

.portfolio-cta-button:hover {
    background: #c9a24a;

    color: #fff;

    transform: translateY(-2px);
}


/* =========================================================
   TABLET
========================================================= */

@media (max-width: 1100px) {

    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 25px;
    }

}


/* =========================================================
   MOBILE
   Tetap 2 GRID sesuai permintaan
========================================================= */

@media (max-width: 600px) {

    .portfolio-container {
        width: 92%;
    }

    .portfolio-header {
        padding: 65px 0 55px;
    }

    .portfolio-header h1 {
        font-size: 32px;

        letter-spacing: -.7px;
    }

    .portfolio-header p {
        font-size: 12px;
    }

    .portfolio-section {
        padding: 25px 0 60px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));

        gap: 12px;
    }

    .portfolio-card {
        border-radius: 16px;
    }

    .portfolio-card-image {
        aspect-ratio: 1.15 / 1;
    }

    .portfolio-category {
        top: 9px;
        left: 9px;

        padding: 6px 10px;

        font-size: 8px;
    }

    .portfolio-card-content {
        padding: 14px 13px 16px;
    }

    .portfolio-meta {
        gap: 5px;

        margin-bottom: 10px;

        font-size: 8px;
    }

    .portfolio-meta span:first-child {
        max-width: 60%;

        overflow: hidden;

        white-space: nowrap;

        text-overflow: ellipsis;
    }

    .portfolio-card h2 {
        margin-bottom: 8px;

        font-size: 13px;
        line-height: 1.4;
    }

    .portfolio-card p {
        font-size: 9px;
        line-height: 1.6;

        -webkit-line-clamp: 3;
line-clamp: 3;
    }

    .portfolio-read-more {
        gap: 5px;

        margin-top: 14px;

        font-size: 9px;
    }

    .portfolio-cta {
        padding-bottom: 60px;
    }

    .portfolio-cta-box {
        flex-direction: column;

        align-items: flex-start;

        padding: 30px 25px;
    }

    .portfolio-cta-button {
        width: 100%;
    }

}


