/* =========================
   PORTFOLIO PAGE
========================= */

.portfolio-page {
    width: 100%;
    min-height: 100vh;
    padding: 120px 0 90px;
    background: linear-gradient(135deg, #08111f, #0f2748);
}

.portfolio-page .container {
    width: 90%;
    max-width: 1200px;
    margin: auto;
}


/* =========================
   TITLE
========================= */

.portfolio-title {
    text-align: center;
    margin-bottom: 50px;
}

.portfolio-title h5 {
    color: #25a7ff;
    font-size: 15px;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.portfolio-title h1 {
    color: #fff;
    font-size: 42px;
    margin: 0 0 15px;
}

.portfolio-title p {
    color: #cfcfcf;
    font-size: 17px;
    line-height: 28px;
}


/* =========================
   PORTFOLIO GRID
========================= */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}


/* =========================
   PORTFOLIO CARD
========================= */

.portfolio-card {
    background: #111f33;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    min-height: 330px;

    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;

    transition: 0.3s ease;
}

.portfolio-card:hover {
    transform: translateY(-8px);
}


/* =========================
   PORTFOLIO IMAGE
========================= */

.portfolio-card img {
    width: 100%;
    max-width: 260px;
    height: 150px;
    object-fit: contain;
    display: block;
    margin-bottom: 20px;
}


/* =========================
   CARD HEADING
========================= */

.portfolio-card h3 {
    color: #fff;
    font-size: 20px;
    margin: 5px 0 12px;
}


/* =========================
   CARD DESCRIPTION
========================= */

.portfolio-card p {
    color: #d0d7e2;
    font-size: 16px;
    line-height: 26px;
    margin: 0;
}


/* =========================
   TABLET
========================= */

@media (max-width: 992px) {

    .portfolio-page {
        padding: 110px 0 70px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}


/* =========================
   MOBILE
========================= */

@media (max-width: 600px) {

    .portfolio-page {
        padding: 120px 0 50px;
    }

    .portfolio-title {
        margin-bottom: 35px;
    }

    .portfolio-title h1 {
        font-size: 32px;
    }

    .portfolio-title p {
        font-size: 15px;
        line-height: 24px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .portfolio-card {
        min-height: 300px;
        padding: 25px 20px;
    }

    .portfolio-card img {
        height: 140px;
    }

}