/* =========================================================
   PORTFOLIO SECTION
   ========================================================= */

.portfolio-section {
    padding: 100px 0;
    background: #fff;
}

.portfolio-section > .container {
    max-width: 1200px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.portfolio-section .section-badge {
    display: inline-block;
    margin-bottom: 12px;
    padding: 7px 16px;
    border-radius: 50px;
    background: #eef5ff;
    color: #0d6efd;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .5px;
}

.portfolio-section .section-title {
    margin: 0 0 15px;
    font-size: 52px;
    line-height: 1.2;
    font-weight: 700;
    color: #111827;
}

.portfolio-section .section-description {
    max-width: 760px;
    margin: 0 auto;
    color: #64748b;
    font-size: 17px;
    line-height: 1.8;
}


/* =========================================================
   PORTFOLIO GRID
   ========================================================= */

.portfolio-section .row.g-4 {
    margin-top: 10px;
}


/* =========================================================
   PORTFOLIO CARD
   ========================================================= */

.portfolio-card {
    background: #fff;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, .08);
    transition: transform .3s ease, box-shadow .3s ease;
    height: 100%;
    border: 1px solid #eef2f7;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, .12);
}


/* =========================================================
   IMAGE
   ========================================================= */

.portfolio-image {
    position: relative;
    overflow: hidden;
    background: #f5f7fa;
}

.portfolio-card img {
    display: block;
    width: 100%;
    height: 260px;
    object-fit: cover;
    transition: transform .4s ease;
}

.portfolio-card:hover img {
    transform: scale(1.04);
}


/* =========================================================
   OVERLAY
   ========================================================= */

.portfolio-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(13, 110, 253, .65);
    opacity: 0;
    transition: opacity .3s ease;
}

.portfolio-card:hover .portfolio-overlay {
    opacity: 1;
}

.portfolio-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
    border-radius: 7px;
    background: #fff;
    color: #0d6efd;
    text-decoration: none;
    font-weight: 600;
    transition: .3s ease;
}

.portfolio-btn:hover {
    background: #0d6efd;
    color: #fff;
}


/* =========================================================
   CONTENT
   ========================================================= */

.portfolio-content {
    padding: 25px;
}

.portfolio-category {
    display: inline-block;
    margin-bottom: 10px;
    color: #0d6efd;
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .4px;
}

.portfolio-content h3 {
    margin: 0 0 14px;
    font-size: 24px;
    line-height: 1.3;
    font-weight: 700;
    color: #111827;
}

.portfolio-description {
    color: #64748b;
    font-size: 15px;
    line-height: 1.75;
}


/* =========================================================
   BUTTON
   ========================================================= */

.portfolio-content .btn {
    border-radius: 7px;
    padding: 9px 18px;
    font-weight: 600;
}


/* =========================================================
   VIEW ALL
   ========================================================= */

.portfolio-section .text-center.mt-5 .btn {
    padding: 12px 28px;
    border-radius: 8px;
    font-weight: 600;
}


/* =========================================================
   RESPONSIVE
   ========================================================= */

@media (max-width: 991.98px) {

    .portfolio-section {
        padding: 80px 0;
    }

    .portfolio-section .section-title {
        font-size: 36px;
    }

    .portfolio-card img {
        height: 240px;
    }
}


@media (max-width: 767.98px) {

    .portfolio-section {
        padding: 60px 0;
    }

    .portfolio-section .section-title {
        font-size: 30px;
    }

    .portfolio-section .section-description {
        font-size: 15px;
    }

    .portfolio-card img {
        height: 220px;
    }

    .portfolio-content {
        padding: 20px;
    }

    .portfolio-content h3 {
        font-size: 21px;
    }
}


@media (max-width: 575.98px) {

    .portfolio-section {
        padding: 50px 0;
    }

    .portfolio-card img {
        height: 210px;
    }
}