/***
=============================================
Brand One - FIXED VERSION
=============================================
***/
.brand-one {
    position: relative;
    display: block;
    border-bottom: 1px solid rgba(var(--cleanin-bdr-color-rgb), 0.95);
    padding: 58px 0px 60px;
    z-index: 2;
}

.brand-one__inner {
    position: relative;
    display: block;
}

.brand-one__single {
    position: relative;
    display: block;
}

.brand-one__single-inner {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    height: 83px; /* Fixed height to contain images */
    overflow: hidden; /* Prevent overflow */
}

.brand-one__single-inner a {
    position: relative;
    display: block;
    z-index: 5;
    width: 182px; /* Fixed width */
    height: 83px; /* Fixed height */
}

/* FIXED: Make first image visible by default */
.brand-one__single-inner a img:first-child {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 1;
    width: 182px !important;
    height: 83px !important;
    object-fit: contain !important;
    /* REMOVED problematic transform - now visible by default */
    -webkit-transform: translateY(0) scaleY(1);
    transform: translateY(0) scaleY(1);
    opacity: 1;
}

/* FIXED: Second image positioned properly */
.brand-one__single-inner a img:nth-child(2) {
    position: absolute;
    left: 0px;
    top: 0px;
    right: 0px;
    bottom: 0px;
    z-index: 2;
    width: 182px !important;
    height: 83px !important;
    object-fit: contain !important;
    /* Hidden by default, will show on hover */
    -webkit-transform: translateY(0) scaleY(1);
    transform: translateY(0) scaleY(1);
    opacity: 0;
}

/* Hover effects - FIXED */
.brand-one__single:hover .brand-one__single-inner a img:first-child {
    -webkit-transform: translateY(0) scaleY(1);
    transform: translateY(0) scaleY(1);
    opacity: 0; /* Hide first image on hover */
}

.brand-one__single:hover .brand-one__single-inner a img:nth-child(2) {
    -webkit-transform: translateY(0) scaleY(1);
    transform: translateY(0) scaleY(1);
    opacity: 1; /* Show second image on hover */
}

.brand-one__single-inner a img {
    position: relative;
    display: block;
    width: 182px !important;
    height: 83px !important;
    object-fit: contain !important;
    -webkit-transition: all 500ms ease;
    -moz-transition: all 500ms ease;
    -ms-transition: all 500ms ease;
    -o-transition: all 500ms ease;
    transition: all 500ms ease;
    cursor: pointer;
}

.brand-one__carousel.owl-carousel .owl-item img {
    width: 182px !important;
    height: 83px !important;
    object-fit: contain !important;
    cursor: pointer;
}

/* Ensure carousel items are visible */
.brand-one__carousel.owl-carousel .owl-item {
    opacity: 1 !important;
    visibility: visible !important;
}

/***
=============================================
Brand Two
=============================================
***/
.brand-one--two {
    position: relative;
    display: block;
    border-bottom: none;
    border-top: 1px solid rgba(var(--cleanin-bdr-color-rgb), 0.8);
}

/***
=============================================
Brand Two About
=============================================
***/
.brand-one--two.about {
    position: relative;
    display: block;
    padding-bottom: 100px;
}


/* Remove all hover effects */
.brand-one__single:hover .brand-one__single-inner a img:first-child,
.brand-one__single:hover .brand-one__single-inner a img:nth-child(2) {
    opacity: 1 !important;
    transform: none !important;
}