a.navbar-brand-box img {
    filter: brightness(0) invert(1);
}
/* =========================
           PORTFOLIO TABS
        ========================= */

.portfolio-tabs {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 40px;
}

button.tab-btn {
    padding: 10px 30px;
    font-family: "Akira Expanded", "Montserrat", sans-serif;
    font-size: 14px;
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid #ffffff;
    cursor: pointer;
    transition: background-color 0.25s ease, color 0.25s ease, border-color 0.25s ease, transform 0.25s ease;
}

    button.tab-btn:hover {
        border-color: #ff002a;
        transform: translateY(-2px);
    }

    button.tab-btn.active {
        color: #000000 !important;
        background: #ffffff;
        border-color: #ff002a;
    }


/* =========================
           LOADING AND ERROR
        ========================= */

#portfolio-loading {
    padding: 40px 15px;
    color: #aaaaaa;
    font-size: 16px;
    text-align: center;
}

.portfolio-loader {
    width: 38px;
    height: 38px;
    margin: 0 auto 15px;
    border: 4px solid rgba(255, 255, 255, 0.2);
    border-top-color: #ff002a;
    border-radius: 50%;
    animation: portfolioSpin 0.8s linear infinite;
}

@keyframes portfolioSpin {
    to {
        transform: rotate(360deg);
    }
}

#portfolio-error {
    padding: 30px 15px;
    color: #ff6666;
    text-align: center;
}

.portfolio-total-count {
    margin-bottom: 25px;
    color: #aaaaaa;
    text-align: center;
}

    .portfolio-total-count strong {
        color: #ffffff;
    }


/* =========================
           PORTFOLIO GRID
        ========================= */

.portfolio-gallery {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    max-width: 1100px;
    margin: 0 auto;
}

.portfolio-thumb-card {
    position: relative;
    min-width: 0;
    background: #1e1e1e;
    border-radius: 10px;
    overflow: hidden;
    cursor: pointer;
    outline: none;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

    .portfolio-thumb-card:hover,
    .portfolio-thumb-card:focus {
        transform: translateY(-4px);
        box-shadow: 0 10px 35px rgba(0, 0, 0, 0.55);
    }

.portfolio-video-wrapper {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: linear-gradient( 135deg, #252525, #111111 );
}

.portfolio-thumb-video {
    display: block;
    width: 100%;
    height: 100%;
    background: #111111;
    object-fit: cover;
    pointer-events: none;
}

.portfolio-preview-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 28px;
    height: 28px;
    border: 3px solid rgba(255, 255, 255, 0.25);
    border-top-color: #ffffff;
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: portfolioPreviewSpin 0.8s linear infinite;
    z-index: 1;
}

@keyframes portfolioPreviewSpin {
    from {
        transform: translate(-50%, -50%) rotate(0deg);
    }

    to {
        transform: translate(-50%, -50%) rotate(360deg);
    }
}

.portfolio-play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 3;
    display: flex;
    width: 58px;
    height: 58px;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.38);
    border: 2px solid #ffffff;
    border-radius: 50%;
    backdrop-filter: blur(5px);
    transform: translate(-50%, -50%);
    transition: background-color 0.25s ease, transform 0.25s ease;
}

    .portfolio-play-btn::after {
        content: "";
        margin-left: 4px;
        border-top: 10px solid transparent;
        border-bottom: 10px solid transparent;
        border-left: 17px solid #ffffff;
    }

.portfolio-thumb-card:hover .portfolio-play-btn {
    background: rgba(255, 0, 42, 0.8);
    transform: translate(-50%, -50%) scale(1.08);
}

.portfolio-card-info {
    padding: 14px 16px 16px;
}

    .portfolio-card-info h4 {
        margin: 0 0 5px;
        color: #ffffff;
        font-family: "Montserrat", sans-serif;
        font-size: 15px;
        font-weight: 600;
        line-height: 1.4;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .portfolio-card-info span {
        color: #aaaaaa;
        font-family: "Montserrat", sans-serif;
        font-size: 12px;
    }

.portfolio-empty-message {
    grid-column: 1 / -1;
    padding: 50px 20px;
    color: #aaaaaa;
    text-align: center;
}


/* =========================
           VIDEO MODAL
        ========================= */

#portfolio-modal {
    position: fixed;
    inset: 0;
    z-index: 999999;
    display: none;
    padding: 30px;
    align-items: center;
    justify-content: center;
    background: rgba(0, 0, 0, 0.94);
}

    #portfolio-modal.portfolio-active {
        display: flex;
    }

#portfolio-modal-inner {
    position: relative;
    width: 100%;
    max-width: 1000px;
}

#portfolio-modal-video {
    display: block;
    width: 100%;
    max-height: 82vh;
    background: #000000;
    border-radius: 10px;
}

#portfolio-modal-close {
    position: absolute;
    top: -45px;
    right: 0;
    width: 38px;
    height: 38px;
    padding: 0;
    color: #ffffff;
    background: transparent;
    border: 0;
    font-size: 38px;
    font-weight: 300;
    line-height: 34px;
    cursor: pointer;
}

    #portfolio-modal-close:hover {
        color: #ff002a;
    }

.portfolio-modal-loading {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    color: #ffffff;
    text-align: center;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

body.portfolio-modal-open {
    overflow: hidden;
}


/* =========================
           RESPONSIVE
        ========================= */

@media (max-width: 767px) {

    .portfolio-gallery {
        grid-template-columns: 1fr;
    }

    .portfolio-tabs {
        gap: 10px;
        margin-bottom: 30px;
    }

    button.tab-btn {
        padding: 8px 18px;
        font-size: 11px;
    }

    #portfolio-modal {
        padding: 18px;
    }

    #portfolio-modal-close {
        top: -42px;
    }
}

@media (max-width: 575px) {

    ul.lp-upper-nav li a span {
        display: none;
    }

    .footer-column img,
    a.navbar-brand-box img {
        max-width: 100px;
    }

    .main-header-section a.chat-with-us-link {
        font-size: 8px;
    }

    .copright-row {
        padding: 25px;
    }

    .portfolio-play-btn {
        width: 50px;
        height: 50px;
    }

        .portfolio-play-btn::after {
            border-top-width: 9px;
            border-bottom-width: 9px;
            border-left-width: 15px;
        }
}

.main-policy-content-inner-section ul li {
    list-style: none
}

.purplebg {
    background: #7b23e3;
}

.pfapi-section {
    padding: 100px 0;
    background: #7b23e3;
}

.pfapi-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

.pfapi-header {
    text-align: center;
    margin-bottom: 50px;
    margin-top: 50px
}

    .pfapi-header h2 {
        font-weight: 800;
        color: #fff;
    }

/* Loading + states */
.pfapi-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 200px;
    font-weight: 700;
    color: #fff;
}

.pfapi-spinner {
    width: 26px;
    height: 26px;
    border: 3px solid rgba(255,255,255,.35);
    border-top-color: #fff;
    border-radius: 50%;
    animation: pfapi-spin .8s linear infinite;
}

@keyframes pfapi-spin {
    to {
        transform: rotate(360deg);
    }
}

.pfapi-empty {
    text-align: center;
    min-height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 22px;
    color: #fff;
}

/* Tabs - match existing portfolio tabs exactly */
.pfapi-tabs {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin: 0 0 60px 0;
    flex-wrap: wrap;
    gap: 10px;
}

    .pfapi-tabs li {
        margin: 0 5px;
    }

.pfapi-tab-btn {
    background: #000;
    border-radius: 0;
    border: 0;
    color: #fff;
    min-width: 160px;
    padding: 10px 25px;
    font-weight: 800;
    font-size: 22px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: .5s ease;
}

    .pfapi-tab-btn:hover {
        background: #fff;
        color: #fe002a;
    }

    .pfapi-tab-btn.active {
        background: #fff;
        color: #fe002a;
    }

/* Panes */
.pfapi-content {
    min-height: 300px;
}

.pfapi-pane {
    display: none;
}

    .pfapi-pane.active {
        display: block;
        animation: pfapi-fade .5s ease-in;
    }

@keyframes pfapi-fade {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Grid + cards */
.pfapi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.pfapi-item {
    aspect-ratio: 16 / 9;
}

.pfapi-thumb {
    position: relative;
    height: 100%;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,.1);
    transition: all .4s ease;
    cursor: pointer;
    background: linear-gradient(135deg, #fe002a8f 0%, #b3001e 100%);
}

    .pfapi-thumb:hover {
        transform: translateY(-10px);
        box-shadow: 0 15px 35px rgba(0,0,0,.15);
    }

.pfapi-thumb-media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    opacity: 0;
    z-index: 1;
    transition: opacity .4s ease, transform .5s ease;
}

    .pfapi-thumb-media.loaded {
        opacity: 1;
    }

.pfapi-thumb:hover .pfapi-thumb-media {
    transform: scale(1.05);
}

.pfapi-thumb-skel {
    position: absolute;
    inset: 0;
    z-index: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,.18) 50%, rgba(255,255,255,0) 100%);
    background-size: 200% 100%;
    animation: pfapi-shimmer 1.2s linear infinite;
}

.pfapi-thumb.loaded .pfapi-thumb-skel {
    display: none;
}

@keyframes pfapi-shimmer {
    0% {
        background-position: 200% 0;
    }

    100% {
        background-position: -200% 0;
    }
}

.pfapi-play {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    width: 60px;
    height: 60px;
    opacity: .92;
    transition: all .3s ease;
    z-index: 2;
}

    .pfapi-play svg {
        width: 100%;
        height: 100%;
        fill: #fff;
        filter: drop-shadow(0 2px 10px rgba(0,0,0,.35));
    }

.pfapi-thumb:hover .pfapi-play {
    opacity: 1;
    transform: translate(-50%,-50%) scale(1.12);
}

/* Modal */
.pfapi-modal {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,.8);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

    .pfapi-modal.active {
        display: flex;
    }

.pfapi-modal-dialog {
    width: 90%;
    max-width: 900px;
    margin: auto;
}

.pfapi-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.pfapi-modal-title {
    color: #fff;
    font-size: 1.4rem;
    margin: 0;
}

.pfapi-modal-close {
    background: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

    .pfapi-modal-close span {
        color: #000;
        font-size: 34px;
        line-height: 0;
        position: relative;
        top: -2px;
    }

.pfapi-video-wrap {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,.3);
    background: #000;
}

#pfapi-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
}

/* Pagination */
.pfapi-pagination {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 40px;
}

.pfapi-page-btn {
    min-width: 42px;
    height: 42px;
    padding: 0 12px;
    border: 2px solid #fff;
    background: transparent;
    color: #fff;
    font-weight: 800;
    font-size: 16px;
    border-radius: 6px;
    cursor: pointer;
    transition: .3s ease;
}

    .pfapi-page-btn:hover {
        background: #FFDC16;
        color: #7b23e3;
        border-color: #FFDC16;
    }

    .pfapi-page-btn.active {
        background: #FFDC16;
        color: #7b23e3;
        border-color: #FFDC16;
    }

/* Slider (mobile only) */
.pfapi-content-wrap {
    position: relative;
}

.pfapi-arrow {
    display: none;
}

/* Responsive */
@media (max-width: 992px) {
    .pfapi-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pfapi-content {
        min-height: auto;
    }
}

@media (max-width: 768px) {
    .pfapi-tabs {
        flex-direction: column;
        align-items: center;
    }

    .pfapi-tab-btn {
        width: 100%;
        max-width: 260px;
        font-size: 18px;
    }

    .pfapi-content-wrap {
        padding: 0 8px;
    }

    .pfapi-grid {
        display: flex;
        grid-template-columns: none;
        overflow-x: auto;
        scroll-snap-type: x mandatory;
        -webkit-overflow-scrolling: touch;
        scroll-behavior: smooth;
        gap: 15px;
        scrollbar-width: none;
    }

        .pfapi-grid::-webkit-scrollbar {
            display: none;
        }

    .pfapi-item {
        flex: 0 0 100%;
        scroll-snap-align: center;
    }

    .pfapi-arrow {
        display: flex;
        position: absolute;
        top: 50%;
        transform: translateY(-50%);
        z-index: 5;
        width: 42px;
        height: 42px;
        box-sizing: border-box;
        align-items: center;
        justify-content: center;
        padding: 0 0 4px;
        border: none;
        border-radius: 50%;
        background: #FFDC16;
        color: #7b23e3;
        font-size: 30px;
        font-weight: 800;
        line-height: 0;
        cursor: pointer;
        box-shadow: 0 4px 12px rgba(0,0,0,.35);
    }

    .pfapi-arrow-prev {
        left: 4px;
    }

    .pfapi-arrow-next {
        right: 4px;
    }
}

/* No sticky hover zoom/lift on touch devices */
@media (hover: none) {
    .pfapi-thumb:hover {
        transform: none;
        box-shadow: 0 8px 25px rgba(0,0,0,.1);
    }

        .pfapi-thumb:hover .pfapi-thumb-media {
            transform: none;
        }

        .pfapi-thumb:hover .pfapi-play {
            transform: translate(-50%,-50%);
        }
}
