/**
 * Stylesheet for: port_list.php
 * Extracted from internal style tags
 */

.portfolio-filter {
        display: flex;
        justify-content: center;
        align-items: center;
        flex-wrap: wrap;
        gap: 12px;
        margin-bottom: 50px;
    }

    .portfolio-filter-btn {
        border: 1px solid #e5e5e5;
        background: #fff;
        color: #222;
        padding: 10px 22px;
        border-radius: 30px;
        font-size: 14px;
        font-weight: 500;
        line-height: 1;
        cursor: pointer;
        transition: all .3s ease;
        display: inline-flex;
        align-items: center;
        gap: 6px;
    }

    .portfolio-filter-btn:hover,
    .portfolio-filter-btn.active {
        background: #172d24;
        color: #fff;
        border-color: #172d24;
        box-shadow: 0 4px 14px rgba(23, 45, 36, 0.25);
    }

    .portfolio-filter-btn .cat-count {
        font-size: 11px;
        padding: 2px 7px;
        border-radius: 12px;
        background: rgba(0, 0, 0, 0.08);
        color: inherit;
        font-weight: 600;
    }

    .portfolio-filter-btn.active .cat-count {
        background: rgba(255, 255, 255, 0.25);
    }

    .portfolio-item {
        transition: all .35s ease;
    }

    .portfolio-item.filter-hidden {
        display: none !important;
    }

    .portfolio-item.filter-visible {
        display: block;
        animation: portfolioFade .4s ease;
    }

    @keyframes portfolioFade {
        from {
            opacity: 0;
            transform: translateY(20px);
        }

        to {
            opacity: 1;
            transform: translateY(0);
        }
    }

    .portfolio-box-five {
        position: relative;
        border-radius: 12px;
        overflow: hidden;
        background: #ffffff;
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
        transition: transform .3s ease, box-shadow .3s ease;
        display: flex;
        flex-direction: column;
    }

    .portfolio-box-five:hover {
        transform: translateY(-5px);
        box-shadow: 0 18px 40px rgba(0, 0, 0, 0.14);
    }

    .portfolio-details-five {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 14px;
        padding: 18px 20px 20px 20px;
        background: #ffffff;
        border-top: 1px solid rgba(0, 0, 0, 0.06);
    }

    .portfolio-title-five {
        flex: 1;
        min-width: 0;
    }

    .portfolio-title-five h4 {
        margin: 0 0 6px 0;
        font-size: 17px;
        font-weight: 700;
        line-height: 1.35;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .portfolio-title-five h4 a {
        color: #172d24;
        text-decoration: none;
        transition: color .25s ease;
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .portfolio-title-five h4 a:hover {
        color: #d1a97a;
    }

    .portfolio-meta-sub {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 8px 12px;
        margin: 0;
        font-size: 13px;
        color: #555;
    }

    .portfolio-client-tag {
        display: inline-flex;
        align-items: center;
        gap: 5px;
        color: #4a5c55;
        font-size: 13px;
    }

    .portfolio-client-tag i {
        color: #d1a97a;
        font-size: 12px;
    }

    .portfolio-client-tag strong {
        color: #1a2a24;
        font-weight: 600;
    }

    .portfolio-cat-tag {
        display: inline-block;
        padding: 2px 9px;
        border-radius: 20px;
        background: rgba(23, 45, 36, 0.07);
        color: #172d24;
        font-size: 11px;
        font-weight: 600;
        letter-spacing: .3px;
        text-transform: uppercase;
    }

    .portfolio-btn-five {
        flex-shrink: 0;
        width: 48px;
        height: 48px;
        border-radius: 50%;
        background-color: #172d24;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .3s cubic-bezier(.2, .8, .2, 1);
        border: none;
        cursor: pointer;
        box-shadow: 0 4px 14px rgba(23, 45, 36, 0.22);
        text-decoration: none;
    }

    .portfolio-btn-five img {
        width: 18px;
        height: 18px;
        filter: brightness(0) invert(1);
        transition: transform .3s ease;
        margin: 0;
    }

    .portfolio-box-five:hover .portfolio-btn-five {
        background-color: #d1a97a;
        transform: scale(1.08);
        box-shadow: 0 6px 20px rgba(209, 169, 122, 0.45);
    }

    .portfolio-box-five:hover .portfolio-btn-five img {
        transform: translateX(3px);
    }

    .port_url_bg {
        width: 100%;
        display: block;
    }

    .port-url {
        position: absolute;
        left: 120px;
        right: 15px;
        top: 8px;
        z-index: 10;
        color: #fff;
        font-size: 11px;
        font-weight: 400;
        letter-spacing: .5px;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        text-decoration: none;
        opacity: .9;
    }

    .port-url:hover {
        color: #dfb66f;
        text-decoration: underline;
    }

    .portfolio-image-five {
        background: #000;
        overflow: hidden;
        position: relative;
    }

    .portfolio-image-five>a {
        display: block;
        cursor: pointer;
        overflow: hidden;
        position: relative;
    }

    .portfolio-image-five>a::after {
        content: "VIEW PROJECT";
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%, -50%) scale(.85);
        opacity: 0;
        padding: 10px 18px;
        border: 1px solid rgba(255, 255, 255, .3);
        border-radius: 30px;
        background: rgba(12, 33, 26, .90);
        color: #fff;
        font-size: 11px;
        font-weight: 800;
        letter-spacing: 1px;
        transition: all .3s ease;
        pointer-events: none;
        z-index: 2;
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4);
    }

    .portfolio-image-five>a:hover::after {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1);
    }

    .portfolio-image-five>a img {
        transition: transform .5s ease, filter .3s ease;
    }

    .portfolio-image-five>a:hover img {
        transform: scale(1.02);
        filter: brightness(0.9);
    }

    /* Modal System */
    .akt-project-modal {
        position: fixed;
        inset: 0;
        z-index: 999999;
        display: none;
        align-items: center;
        justify-content: center;
        padding: 34px;
        background: radial-gradient(circle at 50% 45%, rgba(22, 91, 72, .24), transparent 48%), rgba(2, 10, 16, .92);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        overflow: hidden;
    }

    .akt-project-modal.active {
        display: flex;
        animation: aktOverlayIn .28s ease both;
    }

    @keyframes aktOverlayIn {
        from {
            opacity: 0;
        }

        to {
            opacity: 1;
        }
    }

    .akt-project-modal-box {
        position: relative;
        width: min(1380px, 94vw);
        height: min(820px, 90vh);
        min-height: 560px;
        display: grid;
        grid-template-columns: minmax(0, 1.58fr) minmax(390px, .82fr);
        overflow: hidden;
        background: linear-gradient(135deg, #061b1a 0%, #092723 48%, #071615 100%);
        border: 1px solid rgba(214, 170, 103, .25);
        border-radius: 14px;
        box-shadow: 0 45px 120px rgba(0, 0, 0, .65), 0 0 0 1px rgba(255, 255, 255, .03) inset;
        animation: aktModalIn .38s cubic-bezier(.2, .8, .2, 1) both;
    }

    @keyframes aktModalIn {
        from {
            opacity: 0;
            transform: translateY(18px) scale(.965);
        }

        to {
            opacity: 1;
            transform: translateY(0) scale(1);
        }
    }

    .akt-project-modal-close {
        position: absolute;
        top: 14px;
        right: 18px;
        z-index: 20;
        width: 40px;
        height: 40px;
        border: 1px solid rgba(255, 255, 255, .15);
        border-radius: 50%;
        background: rgba(2, 10, 16, .65);
        color: #f1ede1;
        font-size: 26px;
        line-height: 1;
        cursor: pointer;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: all .25s ease;
    }

    .akt-project-modal-close:hover {
        background: #dfb66f;
        color: #061b1a;
        transform: rotate(90deg);
        border-color: #dfb66f;
    }

    .akt-project-preview {
        position: relative;
        height: 100%;
        min-height: 100%;
        padding: 24px;
        background: radial-gradient(circle at top, rgba(32, 117, 95, .15), transparent 60%), #041212;
        overflow: hidden;
    }

    .akt-screenshot-viewport {
        position: relative;
        width: 100%;
        height: 100%;
        overflow: hidden;
        border-radius: 10px;
        border: 1px solid rgba(255, 255, 255, .10);
        background: #020708;
        cursor: ns-resize;
    }

    .akt-screenshot-image {
        width: 100%;
        height: auto;
        display: block;
        transform: translate3d(0, 0, 0);
        transition: transform .1s linear;
        user-select: none;
        pointer-events: none;
    }

    .akt-scroll-hint {
        position: absolute;
        bottom: 16px;
        left: 50%;
        transform: translateX(-50%);
        padding: 7px 16px;
        border-radius: 30px;
        background: rgba(2, 10, 16, .85);
        border: 1px solid rgba(223, 182, 111, .35);
        color: #dfb66f;
        font-size: 11px;
        font-weight: 700;
        letter-spacing: .8px;
        display: flex;
        align-items: center;
        gap: 6px;
        pointer-events: none;
        transition: opacity .25s ease, transform .25s ease;
    }

    .akt-screenshot-viewport:hover .akt-scroll-hint {
        opacity: 0;
        transform: translate(-50%, 8px);
    }

    .akt-project-details {
        position: relative;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: flex-start;
        padding: 48px 42px 36px;
        overflow-y: auto;
        border-left: 1px solid rgba(255, 255, 255, .08);
        scrollbar-width: thin;
        scrollbar-color: #dfb66f transparent;
    }

    .akt-project-details::-webkit-scrollbar {
        width: 4px;
    }

    .akt-project-details::-webkit-scrollbar-thumb {
        background: #dfb66f;
        border-radius: 10px;
    }

    .akt-project-badges {
        display: flex;
        align-items: center;
        flex-wrap: wrap;
        gap: 9px;
        margin-bottom: 20px;
    }

    .akt-project-category,
    .akt-project-status {
        display: inline-flex;
        align-items: center;
        gap: 6px;
        padding: 6px 13px;
        border-radius: 18px;
        font-size: 12px;
        font-weight: 800;
        letter-spacing: .6px;
        text-transform: uppercase;
    }

    .akt-project-category {
        background: rgba(223, 182, 111, .14);
        border: 1px solid rgba(223, 182, 111, .25);
        color: #dfb66f;
    }

    .akt-project-status {
        background: rgba(0, 201, 156, .12);
        border: 1px solid rgba(0, 201, 156, .22);
        color: #00c99c;
    }

    .akt-project-status::after {
        content: "✓";
        display: inline-flex;
        align-items: center;
        justify-content: center;
        width: 12px;
        height: 12px;
        border-radius: 50%;
        background: rgba(0, 201, 156, .2);
        font-size: 8px;
    }

    .akt-project-title {
        color: #f9f7ef;
        font-weight: 700;
        font-size: 26px;
        line-height: 1.3;
        margin-bottom: 12px;
    }

    .akt-project-description {
        margin: 0;
        color: rgba(240, 244, 240, .75);
        font-size: 13.5px;
        line-height: 1.8;
    }

    .akt-project-divider {
        position: relative;
        width: 100%;
        height: 1px;
        margin: 22px 0;
        background: rgba(255, 255, 255, .10);
    }

    .akt-meta-item {
        display: flex;
        align-items: flex-start;
        gap: 14px;
        margin-bottom: 16px;
    }

    .akt-meta-icon {
        width: 38px;
        height: 38px;
        border-radius: 8px;
        background: rgba(255, 255, 255, 0.06);
        display: flex;
        align-items: center;
        justify-content: center;
        flex-shrink: 0;
    }

    .akt-meta-label {
        display: block;
        font-size: 11px;
        color: rgba(255, 255, 255, 0.45);
        text-transform: uppercase;
        letter-spacing: .8px;
        margin-bottom: 3px;
    }

    .akt-meta-value {
        display: block;
        font-size: 14px;
        font-weight: 600;
        color: #f1ede1;
    }

    .akt-technologies {
        display: flex;
        flex-wrap: wrap;
        gap: 6px;
        margin-top: 4px;
    }

    .akt-tech {
        display: inline-block;
        padding: 4px 10px;
        background: rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.12);
        border-radius: 6px;
        font-size: 11.5px;
        color: #e2e8f0;
        font-weight: 500;
    }

    .akt-live-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        gap: 8px;
        padding: 13px 26px;
        background: linear-gradient(135deg, #dfb66f 0%, #b88636 100%);
        color: #061b1a !important;
        font-weight: 800;
        font-size: 13px;
        letter-spacing: .8px;
        border-radius: 30px;
        text-decoration: none;
        transition: all .3s ease;
        box-shadow: 0 10px 25px rgba(223, 182, 111, .25);
        margin-top: 15px;
        width: 100%;
        text-align: center;
    }

    .akt-live-button:hover {
        transform: translateY(-2px);
        box-shadow: 0 14px 30px rgba(223, 182, 111, .4);
        background: linear-gradient(135deg, #ecd194 0%, #dfb66f 100%);
    }

    .akt-project-features {
        display: grid;
        grid-template-columns: repeat(3, 1fr);
        gap: 10px;
        margin-top: 25px;
        padding-top: 20px;
        border-top: 1px solid rgba(255, 255, 255, 0.08);
    }

    .akt-project-feature {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 12px;
        color: rgba(255, 255, 255, 0.65);
    }

    body.akt-modal-open {
        overflow: hidden !important;
    }

    @media (max-width: 991px) {
        .akt-project-modal-box {
            grid-template-columns: 1fr;
            width: min(720px, 95vw);
            height: 92vh;
            overflow-y: auto;
        }

        .akt-project-preview {
            height: 44vh;
            min-height: 280px;
        }

        .akt-project-details {
            height: auto;
            border-left: 0;
            border-top: 1px solid rgba(255, 255, 255, .08);
            padding: 30px 25px;
        }
    }

    @media (max-width: 575px) {
        .port-url {
            left: 95px;
            font-size: 10px;
        }

        .akt-project-title {
            font-size: 21px;
        }

        .akt-project-modal {
            padding: 10px;
        }

        .akt-project-preview {
            height: 38vh;
            min-height: 220px;
        }
    }