/* Prevent horizontal scrollbars */
html, body {
    overflow-x: hidden;
}

/* Owl Carousel navigation and dots styling for hero section */
.hero .owl-carousel .owl-nav {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    transform: translateY(-50%);
    pointer-events: none;
    z-index: 2;
}
.hero .owl-carousel .owl-nav button.owl-prev,
.hero .owl-carousel .owl-nav button.owl-next {
    background: rgba(0,0,0,0.5);
    color: #fff;
    border: none;
    font-size: 2rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    pointer-events: all;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}
.hero .owl-carousel .owl-nav button.owl-prev:hover,
.hero .owl-carousel .owl-nav button.owl-next:hover {
    background: #ff8625;
    color: #fff;
}
.hero .owl-carousel .owl-dots {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 2;
}
.hero .owl-carousel .owl-dot span {
    width: 12px;
    height: 12px;
    background: #fff;
    border-radius: 50%;
    display: block;
    transition: background 0.3s;
    border: 2px solid #ff8625;
}
.hero .owl-carousel .owl-dot.active span {
    background: #ff8625;
}

/* Ensure carousel images are always visible, responsive, and do not cause overflow */
.hero .owl-carousel {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    position: relative;
    min-height: 500px;
    background: transparent;
}

.hero .owl-carousel .item {
    width: 100%;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

.hero .owl-carousel .item img {
    width: 100%;
    max-width: 100%;
    object-fit: cover;
    display: block;
    margin: 0 auto;
    background: none;
}

/* Responsive carousel image heights */
@media (min-width: 1025px) {
  .hero .owl-carousel .item img {
    height: 550px !important;
  }
 
}
@media (max-width: 1024px) {
  .hero .owl-carousel .item img {
    height: 45vh !important;
    min-height: 220px;
    max-height: 400px;
  }
   .hero .owl-carousel .item{
    min-height: auto !important;
  }
  .hero .owl-carousel {
    min-height: auto !important;
  }
}

/* Removed per-image height, now all images have same height */
