.brand-section {
    border-bottom: 1px solid rgba(255, 255, 255, 0.14);

}

.brand-box-1 {
    height: 200px;
    line-height: 200px;
    border-right: 1px solid rgba(255, 255, 255, 0.14);
    text-align: center;
    position: relative;
    overflow: hidden;

    .brand-img-1 {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;

        img {
            transition: all 0.6s ease; // smooth animation
            transform: translateY(0);
        }

        &:last-child img {
            transform: translateY(-350%);
            opacity: 0;
        }
    }

    &:hover {
        .brand-img-1:first-child img {
        transform: translateY(100%);
        opacity: 0;
        }

        .brand-img-1:last-child img {
        transform: translateY(0);
        opacity: 1;
        }
    }


}

.brand-section-3 {
    .brand-text {
        text-align: center;
        font-size: 20px;
        font-weight: 500;
        color: #fff;
        position: relative;
        @include flex;
        justify-content: center;
        gap: 10px;
        margin-bottom: 50px;
        line-height: 1;

        @include media-breakpoint-down (sm){
            font-size: 16px;
            line-height: 1.4;
        }

         @include media-breakpoint-down (xxs){
            font-size: 13px;
            line-height: 1.4;
        }

        .line {
            display: inline-block;
            width: 60px;
            height: 1px;
            background-color: var(--theme-color-white);
            position: relative;

            @include media-breakpoint-down (xl){
                display: none;
            }

            &::before {
                position: absolute;
                bottom: 6px;
                left: 35px;
                content: "";
                height: 1px;
                width: 25px;
                background-color: var(--text-color);
            }
        }

         .line2 {
            display: inline-block;
            width: 60px;
            height: 1px;
            background-color: var(--theme-color-white);
            position: relative;

            @include media-breakpoint-down (xl){
                display: none;
            }

            &::before {
                position: absolute;
                bottom: 6px;
                right: 35px;
                content: "";
                height: 1px;
                width: 25px;
                background-color: var(--text-color);
            }
        }
    }
    position: relative;

    .brand-light {
        position: absolute;
        right: 0;
        top: -180%;

        @include media-breakpoint-down (xxxl){
            display: none;
        }
    }

    .brand-slider-3 {
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 70px;
    }
    .brand-vec {
        position: absolute;
        top: -30%;
        right: -10%;

        @include media-breakpoint-down (xxxl){
            display: none;
        }
    }
}

.brand-box-2 {
    height: 35px;
    line-height: 35px;
    text-align: center;
    position: relative;
    overflow: hidden;

    .brand-img-1 {
        position: absolute;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
        width: 100%;
        height: 100%;
        display: flex;
        align-items: center;
        justify-content: center;
        opacity: .3;

        img {
            transition: all 0.6s ease; // smooth animation
            transform: translateY(0);
        }

        &:last-child img {
            transform: translateY(-350%);
            opacity: 0;
        }
    }

    &:hover {
         .brand-img-1 {
            opacity: 1;
         }
        .brand-img-1:first-child img {
        transform: translateY(100%);
        opacity: 0;
        }

        .brand-img-1:last-child img {
        transform: translateY(0);
        opacity: 1;
        }
    }


}