/* =========================================================
   PARTNER LOGO CAROUSEL
========================================================= */

.bplc-scroller {
    position: relative;
    width: 100%;
    overflow: hidden;
    height: 120px;
}

.bplc-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: bplc-scroll 90s linear infinite;
    will-change: transform;
}

.bplc-scroller.is-reverse .bplc-track {
    animation-direction: reverse;
}

.bplc-item {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 24px;
}

.bplc-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    line-height: 1;
}

.bplc-logo-img,
.bplc-item img {
    display: block;
    height: 80px;
    width: auto;
    max-width: 180px;
    object-fit: contain;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.bplc-item a:hover img {
    transform: scale(1.04);
    opacity: 0.9;
}

@keyframes bplc-scroll {
    0% {
        transform: translateX(0);
    }
    100% {
        transform: translateX(-50%);
    }
}

.bplc-scroller:hover .bplc-track {
    animation-play-state: paused;
}

/* Tablet */
@media (max-width: 980px) {
    .bplc-scroller {
        height: 100px;
    }

    .bplc-item {
        margin: 0 18px;
    }

    .bplc-logo-img,
    .bplc-item img {
        height: 65px;
        max-width: 150px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .bplc-scroller {
        height: 85px;
    }

    .bplc-item {
        margin: 0 14px;
    }

    .bplc-logo-img,
    .bplc-item img {
        height: 50px;
        max-width: 120px;
    }

    .bplc-track {
        animation-duration: 70s;
    }
}

.klijenti-slider {
    padding: 30px 20px;
}

.klijenti-slider-title {
    margin-bottom: 15px;
    text-align: center;
}








/* =========================================================
   PARTNER LOGO GRID
========================================================= */

.bplg-wrap {
    width: 100%;
}

.bplg-title {
    margin: 0 0 18px;
    text-align: center;
}

.bplg-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 24px;
    align-items: stretch;
}

.bplg-item {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 140px;
    padding: 20px;
    border: 1px solid #e5e7eb;
    border-radius: 18px;
    background: #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.bplg-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.06);
}

.bplg-item a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    text-decoration: none;
    line-height: 1;
}

.bplg-logo-img {
    display: block;
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
}

/* Tablet */
@media (max-width: 980px) {
    .bplg-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 18px;
    }

    .bplg-item {
        min-height: 120px;
        padding: 18px;
    }

    .bplg-logo-img {
        max-height: 65px;
    }
}

/* Mobile */
@media (max-width: 767px) {
    .bplg-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 14px;
    }

    .bplg-item {
        min-height: 100px;
        padding: 14px;
        border-radius: 14px;
    }

    .bplg-logo-img {
        max-height: 50px;
    }
}