/* ==========================================================
       GENERAL
 =========================================================== */
.portfolio-page {
    font-family: 'Roboto', sans-serif;
    color: #444;
}

/* ==========================================================
       BREADCRUMB
    =========================================================== */

.portfolio-breadcrumb {
    padding: 18px 0;
    background: #f7f9fc;
    border-bottom: 1px solid #edf1f5;
}

.portfolio-breadcrumb .breadcrumb {
    margin: 0;
}

.portfolio-breadcrumb a {
    color: #666;
    text-decoration: none;
}

.portfolio-breadcrumb a:hover {
    color: #47b2e4;
}

.portfolio-breadcrumb .active {
    color: #47b2e4;
}

/* ==========================================================
       HERO
    =========================================================== */

.portfolio-hero {
    position: relative;
    overflow: hidden;
    background: radial-gradient(circle at 85% 20%,
            rgba(71, 178, 228, .15),
            transparent 30%),
        linear-gradient(135deg,
            #f6fbff 0%,
            #ffffff 60%,
            #f5f8fc 100%);
}

.portfolio-hero::before {
    content: "";
    position: absolute;
    width: 450px;
    height: 450px;
    border-radius: 50%;
    border: 1px solid rgba(71, 178, 228, .12);
    right: -170px;
    top: -180px;
}

.portfolio-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 30px;
    background: rgba(71, 178, 228, .12);
    color: #47b2e4;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.3px;
    margin-bottom: 20px;
}

.portfolio-hero h1 {
    color: #37517e;
    font-size: 52px;
    line-height: 1.1;
    font-weight: 800;
    margin-bottom: 20px;
}

.portfolio-hero h1 span {
    color: #47b2e4;
}

.portfolio-hero p {
    max-width: 720px;
    color: #666;
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.portfolio-hero-button {
    display: inline-flex;
    align-items: center;
    padding: 13px 25px;
    border-radius: 6px;
    background: #47b2e4;
    border: 1px solid #47b2e4;
    color: #fff;
    font-weight: 600;
    text-decoration: none;
    transition: .3s;
}

.portfolio-hero-button:hover {
    background: #37517e;
    border-color: #37517e;
    color: #fff;
}

/* ==========================================================
       HERO VISUAL
    =========================================================== */

.portfolio-hero-visual {
    position: relative;
    background: #37517e;
    border-radius: 25px;
    padding: 35px;
    color: #fff;
    box-shadow: 0 25px 60px rgba(55, 81, 126, .20);
    overflow: hidden;
}

.portfolio-hero-visual::before {
    content: "";
    position: absolute;
    width: 250px;
    height: 250px;
    border-radius: 50%;
    background: rgba(71, 178, 228, .16);
    right: -100px;
    top: -100px;
}

.portfolio-visual-content {
    position: relative;
    z-index: 2;
}

.portfolio-visual-icon {
    width: 75px;
    height: 75px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 18px;
    background: rgba(71, 178, 228, .15);
    color: #47b2e4;
    font-size: 36px;
    margin-bottom: 25px;
}

.portfolio-hero-visual h2 {
    font-size: 20px;
    color: #fff;
    font-weight: 800;
    margin-bottom: 15px;
}

.portfolio-hero-visual p {
    color: rgba(255, 255, 255, .78);
    font-size: 15px;
    line-height: 1.7;
    margin-bottom: 25px;
}

.portfolio-stat-row {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.portfolio-stat {
    flex: 1;
    min-width: 100px;
    padding: 18px;
    border-radius: 12px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .08);
    text-align: center;
}

.portfolio-stat strong {
    display: block;
    color: #47b2e4;
    font-size: 25px;
    font-weight: 800;
}

.portfolio-stat span {
    display: block;
    margin-top: 5px;
    color: rgba(255, 255, 255, .72);
    font-size: 12px;
}

/* ==========================================================
       PORTFOLIO SECTION
    =========================================================== */

.portfolio-section {
    padding: 90px 0;
    background: #fff;
}

.portfolio-section-heading {
    text-align: center;
    max-width: 750px;
    margin: 0 auto 45px;
}

.portfolio-section-heading h2 {
    color: #37517e;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.portfolio-section-heading p {
    color: #666;
    line-height: 1.7;
    margin: 0;
}

/* ==========================================================
       FILTER BUTTONS
    =========================================================== */

.portfolio-filters {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 45px;
}

.portfolio-filter {
    border: 1px solid #dfe7ee;
    background: #fff;
    color: #555;
    padding: 9px 18px;
    border-radius: 30px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: .3s;
}

.portfolio-filter:hover,
.portfolio-filter.active {
    background: #47b2e4;
    border-color: #47b2e4;
    color: #fff;
}

/* ==========================================================
       PROJECT CARD
    =========================================================== */

.portfolio-card {
    height: 100%;
    background: #fff;
    border: 1px solid #e7edf2;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, .045);
    transition: .35s;
}

.portfolio-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 18px 45px rgba(0, 0, 0, .10);
}

/* ==========================================================
       PROJECT IMAGE
    =========================================================== */

.portfolio-image {
    position: relative;
    height: auto;
    width: 100%;
    overflow: hidden;
    background: #eef5f9;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: .5s;
}

.portfolio-card:hover .portfolio-image img {
    transform: scale(1.06);
}

/* ==========================================================
       PROJECT CONTENT
    =========================================================== */

.portfolio-content {
    padding: 28px;
}

.portfolio-category {
    display: inline-block;
    padding: 5px 10px;
    border-radius: 5px;
    background: #eefaff;
    color: #47b2e4;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .7px;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.portfolio-content h3 {
    color: #37517e;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 10px;
}

.portfolio-content p {
    color: #666;
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 18px;
}

/* ==========================================================
       TECHNOLOGY TAGS
    =========================================================== */

.portfolio-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
    margin-bottom: 20px;
}

.portfolio-tags span {
    padding: 5px 9px;
    background: #f5f7f9;
    border-radius: 4px;
    color: #666;
    font-size: 11px;
    font-weight: 600;
}

/* ==========================================================
       PROJECT FOOTER
    =========================================================== */

.portfolio-project-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding-top: 18px;
    border-top: 1px solid #edf1f4;
}

.portfolio-project-type {
    color: #777;
    font-size: 12px;
}

.portfolio-project-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: #47b2e4;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.portfolio-project-link:hover {
    color: #37517e;
}

/* ==========================================================
       CTA
    =========================================================== */

.portfolio-cta {
    padding: 90px 0;
    background: linear-gradient(135deg, #47b2e4, #3ca7d8);
    text-align: center;
}

.portfolio-cta h2 {
    color: #fff;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 15px;
}

.portfolio-cta p {
    max-width: 700px;
    margin: 0 auto 28px;
    color: rgba(255, 255, 255, .9);
    line-height: 1.7;
}

.portfolio-cta-button {
    display: inline-flex;
    align-items: center;
    padding: 14px 28px;
    background: #fff;
    color: #37517e;
    border-radius: 6px;
    font-weight: 700;
    text-decoration: none;
    transition: .3s;
}

.portfolio-cta-button:hover {
    background: #37517e;
    color: #fff;
}

/* ==========================================================
       HIDDEN FILTER
    =========================================================== */

.portfolio-item.hidden {
    display: none;
}

/* ==========================================================
       RESPONSIVE
    =========================================================== */

@media (max-width: 991px) {
    .portfolio-hero {
        padding: 70px 0;
    }

    .portfolio-hero h1 {
        font-size: 42px;
    }

    .portfolio-hero-visual {
        margin-top: 30px;
    }
}

@media (max-width: 575px) {
    .portfolio-hero {
        padding: 55px 0;
    }

    .portfolio-hero h1 {
        font-size: 34px;
    }

    .portfolio-hero p {
        font-size: 16px;
    }

    .portfolio-hero-visual {
        padding: 28px 22px;
    }

    .portfolio-hero-visual h2 {
        font-size: 25px;
    }

    .portfolio-section {
        padding: 65px 0;
    }

    .portfolio-section-heading h2 {
        font-size: 29px;
    }

    .portfolio-image {
        height: 210px;
    }

    .portfolio-content {
        padding: 23px;
    }

    .portfolio-cta h2 {
        font-size: 29px;
    }
}