/* =====================================================================
   NewAgeItHub — carousel.css
   ---------------------------------------------------------------------
   owl.carousel.min.css ka minimal replacement. Class names bilkul wahi
   hain (.owl-carousel / .owl-stage / .owl-item / .owl-nav / .owl-dots),
   isliye style.css me likhe saare custom slider styles waise hi lagte hain.

   Ek important fark: Owl ki CSS me `.owl-carousel{display:none}` tha —
   yaani JS fail hone par slider gayab ho jaata tha. Yahan slider hamesha
   visible rehta hai.
   ===================================================================== */

.owl-carousel {
    display: block;
    position: relative;
    width: 100%;
    z-index: 1;
    -webkit-tap-highlight-color: transparent;
}

.owl-carousel .owl-stage-outer {
    position: relative;
    overflow: hidden;
}

.owl-carousel .owl-stage {
    display: flex;
    position: relative;
    will-change: transform;
    backface-visibility: hidden;
}

.owl-carousel .owl-item {
    position: relative;
    flex: 0 0 auto;
    min-height: 1px;
    -webkit-tap-highlight-color: transparent;
}

.owl-carousel .owl-item img {
    display: block;
    width: 100%;
}

/* JS load hone se pehle: sirf pehla slide dikhao, taaki layout jump na ho */
.owl-carousel:not(.owl-loaded) > * {
    display: none;
}
.owl-carousel:not(.owl-loaded) > *:first-child {
    display: block;
    width: 100%;
}

/* buttons ka default browser style hatao (style.css baaki sambhalti hai) */
.owl-carousel .owl-nav button,
.owl-carousel button.owl-dot {
    background: 0 0;
    color: inherit;
    border: none;
    padding: 0 !important;
    font: inherit;
    cursor: pointer;
}

.owl-carousel .owl-nav.disabled,
.owl-carousel .owl-dots.disabled {
    display: none;
}

.owl-carousel .owl-dots {
    text-align: center;
}

/* keyboard users ke liye focus visible rahe (accessibility) */
.owl-carousel .owl-nav button:focus-visible,
.owl-carousel button.owl-dot:focus-visible {
    outline: 2px solid #fff;
    outline-offset: 2px;
}

/* ---------------------------------------------------------------------
   scroll-to-top button — pehle jQuery fadeIn/fadeOut se dikhta tha,
   ab CSS class se.
   --------------------------------------------------------------------- */
#scroll-top {
    display: flex !important;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transform: translateY(12px);
    transition: opacity .3s ease, transform .3s ease, visibility .3s;
}
#scroll-top.is-visible {
    opacity: 1;
    visibility: visible;
    transform: none;
}

@media (prefers-reduced-motion: reduce) {
    .owl-carousel .owl-stage { transition: none !important; }
    #scroll-top { transition: none; }
}
