.banner-slider .item {
  position: relative;
  width: 100%;
  padding-bottom: 40%;      /* maintain 16:9 ratio for responsiveness */
  min-height: 400px;        /* reserve space so banner doesn’t grow on load */
  max-height: 900px;        /* optional: cap for very tall screens */
  overflow: hidden;
}

.banner-slider img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;       /* crop image to fill container */
  display: block;
}


.caption {
  position: absolute;
  top: 50%;
  left: 8%;
  transform: translateY(-50%);
  color: #fff;
}

.caption h1 {
  font-size: 48px;
  margin-bottom: 10px;
}

.caption p {
  font-size: 18px;
}

.caption a {
  display: inline-block;
  margin-top: 15px;
  padding: 10px 24px;
  background: #000;
  color: #fff;
  text-decoration: none;
}

.owl-nav {
  position: absolute;
  top: 50%;
  width: 100%;
  transform: translateY(-50%);
  pointer-events: none;
}


[data-animation] {
  opacity: 0;
}
/* Hide arrows by default */
.owl-nav button {
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease, transform 0.3s ease;
  background: rgba(0,0,0,0.3);
  border: none;
  width: 58px;      /* 48px + 20% */
  height: 58px;
  border-radius: 50%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Show arrows on hover */
.banner-slider:hover .owl-nav button {
  opacity: 1;
  pointer-events: all;
}

/* Position left/right */
.owl-nav .owl-prev { left: 20px; }
.owl-nav .owl-next { right: 20px; }

/* Style the arrow text/icon */
.custom-arrow {
  font-size: 34px;     /* 28.8px + small round up */
  color: #fff;         /* white color */
  line-height: 1;
}
