/* Core Owl Carousel Layout */
.owl-carousel {
  display: none;
  width: 100%;
  position: relative;
  z-index: 1;
  -webkit-tap-highlight-color: transparent;
}

.owl-carousel.owl-loaded {
  display: block;
}

.owl-carousel .owl-stage-outer {
  position: relative;
  overflow: hidden;
  -webkit-transform: translate3d(0, 0, 0);
}

.owl-carousel .owl-stage {
  position: relative;
  width: 100%;
  display: flex;
}

.owl-carousel .owl-item {
  position: relative;
  flex: 0 0 auto;
  float: left;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  user-select: none;
  transform: translateZ(0);
}

.owl-carousel .owl-item img {
  display: block;
  width: 100%;
  transform-style: preserve-3d;
}

/* Carousel Height Transition */
.owl-height {
  transition: height 500ms ease-in-out;
}

/* Carousel Navigation (Arrows) */
.five-item-carousel .owl-nav {
  position: absolute;
  top: 40%;
  left: 0;
  right: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
  pointer-events: none;
  z-index: 10;
}

.five-item-carousel .owl-nav {
  position: absolute;
  top: 40%;
  width: 100%;
  display: flex;
  justify-content: space-between;
  pointer-events: none;
  z-index: 10;
}

/* Move arrows farther outward (left and right) */
.five-item-carousel .owl-nav button.owl-prev,
.five-item-carousel .owl-nav button.owl-next {
  pointer-events: all;
  font-size: 1.8rem;
  background-color: rgba(255, 255, 255, 0.9);
  border: none;
  border-radius: 50%;
  width: 45px;
  height: 45px;
  line-height: 45px;
  text-align: center;
  color: #444;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  transition: all 0.3s ease;
  position: relative;
}

/* Shift arrows further from content */
.five-item-carousel .owl-nav button.owl-prev {
  margin-left: -30px;
  /* move left arrow to the left */
}

.five-item-carousel .owl-nav button.owl-next {
  margin-right: -30px;
  /* move right arrow to the right */
}

.five-item-carousel .owl-nav button.owl-prev:hover,
.five-item-carousel .owl-nav button.owl-next:hover {
  background-color: #F8D7A1;
  color: #fff;
}


/* Optional: Client Logo Wrapper */
.clients-logo {
  text-align: center;
  padding: 15px;
}

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

.clients-logo-home img {
  max-width: 100%;
  height: auto;
  display: inline-block;
  display: block;
  height: 60px;
  object-fit: contain;
}

/* Section Container Positioning */
.clients-section {
  position: relative;
  background: #f7f5f1;
  padding: 40px 0;
}