/***
=============================================
Brand One
=============================================
***/
.brand-one {
  position: relative;
  display: block;
  padding: 120px 0px 120px;
  z-index: 2;
  background: #f4f4f4 !important;
}

.brand-one__inner {
  position: relative;
  display: block;
  background: white !important;
}

.brand-one__list {
  position: relative;
  display: block;
  background: white !important;
  border: 1px solid #bfbfbf;
}

.brand-one__list li {
  position: relative;
  display: block;
  float: left;
  /* width: 20%; */
  background: white !important;
  text-align: center;
  border: 1px solid rgba(0, 0, 0, 0.616) !important;
  cursor: pointer;
}

.brand-one__list li:last-child {
  border-right: none;
}

.brand-one__list li .img-box {
  position: relative;
  display: block;
}

.brand-one__list li .img-box img {
  width: auto;
}
.brand-one__inner .owl-carousel {
  background: #f4f4f4 !important;
}

.brand-one__inner .owl-carousel .owl-item img {
  display: block;
  padding: 20px;
  width: 90% !important;
}

.brand-one__inner .owl-carousel .owl-nav {
  background: #f4f4f4 !important;
}

.brand-one__inner .owl-theme .owl-nav [class*="owl-"] {
  font-size: 2rem;
  margin-top: 8px;
  color: #000 !important;
  padding: 6px 16px !important;
  border-radius: 50%;
  background-color: #ffffff96;
  border: 1px solid rgba(0, 0, 0, 0.616);
}

.brand-one__inner .owl-theme .owl-nav {
  margin-top: 15px;
}

.brand-carousel .item {
  display: flex;
  justify-content: center; /* Horizontal center */
  align-items: center; /* Vertical center */
  height: 220px; /* Adjust as needed */
  border: 1px solid #bfbfbf !important;
  background: #fff !important;
}

.brand-carousel .item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
}

@media (max-width: 768px) {
  .brand-one__inner .owl-carousel .owl-item img {
    padding: 5px !important;
  }

  .brand-carousel .item {
    display: flex;
    justify-content: center; /* Horizontal center */
    align-items: center; /* Vertical center */
    height: 100px; /* Adjust as needed */
    border-right: 1px solid #bfbfbf !important;
    background: #fff !important;
  }
}
