﻿.infinite-carousel {
    position: relative;
    overflow: hidden;
    width: 100%;
}

    .infinite-carousel::before {
        position: absolute;
        content: "";
        width: 60px;
        left: 0;
        top: 0;
        bottom: 0;
        z-index: 1;
        background: linear-gradient(90deg, #F4F6FA 0%, rgba(255, 255, 255, 0) 100%);
    }

    .infinite-carousel::after {
        position: absolute;
        content: "";
        width: 60px;
        right: 0;
        top: 0;
        bottom: 0;
        z-index: 1;
        background: linear-gradient(90deg, rgba(244, 246, 250, 0) 0%, #F4F6FA 100%);
    }

.infinite-track {
    display: flex;
    align-items: stretch;
    gap: 16px;
    will-change: transform;
}

.infinite-carousel .item {
    flex: 0 0 auto;
    min-width: 290px;
}

    .infinite-carousel .item.logo-item {
        min-width: auto !important;
    }

    .infinite-carousel .item > * {
        height: 100%;
    }

.infinite-carousel::-webkit-scrollbar {
    display: none;
}

.infinite-carousel {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

@media (prefers-reduced-motion: reduce) {
    .infinite-carousel {
        overflow-x: auto;
    }

    .infinite-track {
        transform: none !important;
    }
}

@media (max-width: 991.8px) {
    .infinite-carousel .item {
        min-width: 170px;
    }

        .infinite-carousel .item.logo-item {
            min-width: auto !important;
        }

    .star-icon-big {
        transform: scale(0.7);
    }

    .star-icon-small {
        transform: scale(0.4) !important;
    }
}

.border-radius {
    border-radius: 30px;
}

.banner-1 {
    width: 45%;
}

.banner-2 {
    width: 53%;
}

@media (min-width: 991.8px) {
    .text-lg-start {
        text-align: left !important;
    }
}

@media (max-width: 575.8px) {
    .banner-1 {
        width: 100%;
    }

    .banner-2 {
        width: 100%;
    }
}
/* for toast */
.bg-red-100 {
    background-color: #DF2626 !important;
}

.custom-border-color {
    border: 1px solid #EFF2F5 !important;
}
/* banner */
.app-banner {
    box-shadow: 0 20px 40px 0 rgba(244, 246, 250, 0.00), 0 40px 60px 0 #F4F6FA;
    transform: translateY(300px);
    opacity: 0;
    animation: slideUpBanner 0.8s ease-out 1s forwards;
}

@keyframes slideUpBanner {
    0% {
        transform: translateY(300px);
        opacity: 0;
    }

    100% {
        transform: translateY(0);
        opacity: 1;
    }
}

.app-banner {
    z-index: 9999;
}

    .app-banner.closing {
        animation: slideDownBanner 0.6s ease-in forwards;
    }

@keyframes slideDownBanner {
    0% {
        transform: translateY(0);
        opacity: 1;
    }

    100% {
        transform: translateY(300px);
        opacity: 0;
    }
}

.app-banner.hidden {
    display: none !important;
}

#closeBanner,
#closeBannerMobile {
    cursor: pointer;
    transition: transform 0.3s ease, color 0.3s ease;
}

    #closeBanner:hover {
        transform: rotate(90deg) scale(1.2);
        color: var(--bs-brand) !important;
    }

    #closeBannerMobile:hover {
        color: var(--bs-brand) !important;
    }

.partner-companies-carousel {
    background: white;
    padding: 40px 0;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

    .partner-companies-carousel .infinite-track {
        gap: 80px;
    }

    .partner-companies-carousel .logo-item {
        max-width: 150px;
        height: auto;
        max-height: 60px;
        object-fit: contain;
        transition: all 0.3s ease;
    }

        .partner-companies-carousel .logo-item:hover {
            transform: scale(1.1);
        }

.logo-item:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .partner-companies-carousel .infinite-track {
        gap: 40px;
    }

    .partner-companies-carousel .logo-item {
        max-width: 100px;
        max-height: 45px;
    }
}
