﻿/* ===========================
           PORTFOLIO SECTION
        =========================== */

.portfolio-section {
    padding: 90px 0;
    background: linear-gradient(180deg, #f8fbff 0%, #f2f7fc 100%);
}

.portfolio-heading {
    max-width: 900px;
    margin: 0 auto 70px;
    text-align: center;
}

.portfolio-subtitle {
    display: inline-block;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #4B9AD4;
    margin-bottom: 15px;
}

.portfolio-heading h2 {
    font-size: 48px;
    font-weight: 800;
    color: #101828;
    margin-bottom: 20px;
    position: relative;
}

    .portfolio-heading h2::after {
        content: "";
        width: 90px;
        height: 4px;
        border-radius: 50px;
        display: block;
        margin: 15px auto 0;
        background: linear-gradient( 90deg, #5D5EAF, #4B9AD4, #4DC0B8 );
    }

.portfolio-heading p {
    font-size: 17px;
    line-height: 1.9;
    color: #64748b;
    margin: 0;
}

/* ===========================
           PORTFOLIO CARD
        =========================== */

.portfolio-card {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid #edf2f7;
    transition: all .35s ease;
    box-shadow: 0 10px 30px rgba(15,23,42,.05);
}

    .portfolio-card::before {
        content: "";
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 4px;
        background: linear-gradient( 90deg, #5D5EAF, #4B9AD4, #4DC0B8 );
    }

    .portfolio-card:hover {
        transform: translateY(-10px);
        box-shadow: 0 25px 50px rgba(15,23,42,.08), 0 0 0 1px rgba(75,154,212,.08);
    }

/* ===========================
           IMAGE
        =========================== */

.portfolio-img {
    height: 250px;
    overflow: hidden;
    background: #eef5fb;
}

    .portfolio-img img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: .6s ease;
    }

.portfolio-card:hover .portfolio-img img {
    transform: scale(1.08);
}

/* ===========================
           CONTENT
        =========================== */

.portfolio-content {
    padding: 30px;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.portfolio-tag {
    display: inline-block;
    width: fit-content;
    padding: 8px 16px;
    margin-bottom: 15px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #4B9AD4;
    background: rgba(75,154,212,.10);
    border: 1px solid rgba(75,154,212,.15);
}

.portfolio-content h3 {
    font-size: 24px;
    font-weight: 700;
    color: #101828;
    margin-bottom: 15px;
}

.portfolio-content p {
    color: #64748b;
    line-height: 1.8;
    margin-bottom: 25px;
    flex-grow: 1;
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* ===========================
           BUTTON
        =========================== */

.portfolio-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 15px;
    transition: all .3s ease;
    background: linear-gradient( 135deg, #5D5EAF, #4B9AD4 );
    box-shadow: 0 10px 25px rgba(75,154,212,.20);
}

    .portfolio-btn:hover {
        text-decoration: none;
        color: #fff;
        transform: translateY(-2px);
        background: linear-gradient( 135deg, #4B9AD4, #4DC0B8 );
        box-shadow: 0 15px 35px rgba(75,154,212,.30);
    }

/* ===========================
           RESPONSIVE
        =========================== */

@media (max-width: 991px) {

    .portfolio-section {
        padding: 70px 0;
    }

    .portfolio-heading h2 {
        font-size: 38px;
    }

    .portfolio-img {
        height: 220px;
    }
}

@media (max-width: 767px) {

    .portfolio-section {
        padding: 60px 0;
    }

    .portfolio-heading {
        margin-bottom: 45px;
    }

        .portfolio-heading h2 {
            font-size: 30px;
        }

        .portfolio-heading p {
            font-size: 15px;
        }

    .portfolio-content {
        padding: 22px;
    }

        .portfolio-content h3 {
            font-size: 22px;
        }

    .portfolio-img {
        height: 200px;
    }
}
