/* ==========================================================================
   ELEMENTOR WIDGET EDITOR WRAPPER & HERO SLIDER STYLES
   ========================================================================== */

.elementor-widget-veeru_tech_hero_slider,
.veeru-hero-slider-widget-wrapper {
    width: 100% !important;
    display: block !important;
    min-height: 520px;
    position: relative !important;
    z-index: 10 !important;
    pointer-events: auto !important;
}

.veeru-hero-slider-container {
    position: relative;
    width: 100%;
    min-height: 520px;
    display: block !important;
    z-index: 10;
}

.veeru-hero-slider {
    position: relative;
    width: 100%;
    min-height: 520px;
    overflow: hidden;
    background-color: #06172a;
    font-family: 'Montserrat', 'Inter', sans-serif;
}

/* Base Slide Styles - Absolute Overlay for Desktop */
.veeru-slide {
    position: absolute !important;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.8s ease-in-out, visibility 0.8s ease-in-out;
    z-index: 1;
}

/* Layout Reverse Option: Image Left / Text Right */
.veeru-slide.layout-image-left .slide-container {
    flex-direction: row-reverse !important;
}

/* Only active slide is visible */
.veeru-slide.active {
    opacity: 1 !important;
    visibility: visible !important;
    z-index: 2;
}

.elementor-editor-active .veeru-slide:first-child {
    opacity: 1 !important;
    visibility: visible !important;
}

/* Background Image & Overlay */
.slide-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -2;
    background-color: #06172a;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(6, 23, 42, 0.95) 45%, rgba(6, 23, 42, 0.5) 100%);
    z-index: -1;
    transition: opacity 0.3s ease;
}

/* Layout container alignments */
.slide-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-sizing: border-box;
}

/* Left content column */
.slide-left-col {
    width: 55%;
    display: flex;
    flex-direction: column;
    z-index: 10;
}

.slide-heading {
    color: #ffffff !important;
    font-size: 44px;
    font-weight: 800;
    line-height: 1.2;
    margin: 0 0 15px 0;
}

.slide-desc {
    color: #cbd5e1 !important;
    font-size: 15px;
    line-height: 1.5;
    margin: 0 0 25px 0;
}

/* Stats Counter Rows */
.slide-counters-row {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 20px;
}

.slide-counter-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* Wrapper to lock Number + Suffix on the exact same row */
.counter-num-wrap {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    white-space: nowrap !important;
    gap: 2px;
}

.counter-number, 
.counter-suffix {
    color: #ffffff !important;
    font-size: 24px;
    font-weight: 800;
    line-height: 1;
}

.counter-label {
    color: #94a3b8 !important;
    font-size: 11px;
    font-weight: 500;
    line-height: 1.2;
}

/* Buttons Row */
.slide-btns-row {
    display: flex;
    gap: 15px;
}

.slide-btn-orange, 
.slide-btn-outline {
    padding: 12px 28px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
}

.slide-btn-orange {
    background-color: #f17a28 !important;
    color: #ffffff !important;
    box-shadow: 0 4px 6px rgba(241, 122, 40, 0.15);
}

.slide-btn-orange:hover {
    background-color: #d8641b !important;
    transform: translateY(-1px);
}

.slide-btn-outline {
    border: 1.5px solid #cbd5e1 !important;
    background-color: transparent !important;
    color: #ffffff !important;
}

.slide-btn-outline:hover {
    background-color: #ffffff !important;
    color: #06172a !important;
    border-color: #ffffff !important;
    transform: translateY(-1px);
}

/* Right Content column */
.slide-right-col {
    width: 40%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
    z-index: 10;
}

.slide-mockup-img {
    max-height: 420px;
    width: 100%;
    object-fit: contain;
    display: block;
    transition: max-width 0.3s ease;
}

/* NAVIGATION ARROWS & AUTO-HIDE INACTIVITY ENGINE */
.veeru-slider-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(6, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    font-size: 16px;
    cursor: pointer;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.4s ease, visibility 0.4s ease, background 0.3s ease, transform 0.2s ease;
}

.veeru-slider-arrow:hover {
    background: #f17a28;
    border-color: #f17a28;
    transform: translateY(-50%) scale(1.08);
}

.veeru-prev { left: 24px; }
.veeru-next { right: 24px; }

/* Inactivity Auto-Hide Class */
.veeru-hero-slider-container.arrows-hidden .veeru-slider-arrow {
    opacity: 0 !important;
    visibility: hidden !important;
    pointer-events: none !important;
}

/* PAGINATION BULLETS - VERTICAL RIGHT & HORIZONTAL BOTTOM PLACEMENT */
.veeru-slider-dots {
    position: absolute;
    z-index: 25;
    display: flex;
    gap: 8px;
    transition: all 0.3s ease;
}

/* Option 1: Vertical Right (Bottom Side) Placement */
.veeru-slider-dots.dots-pos-vertical_right {
    bottom: 50px;
    right: 40px;
    left: auto;
    top: auto;
    transform: none;
    flex-direction: column;
    align-items: center;
}

.veeru-slider-dots.dots-pos-vertical_right .veeru-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.veeru-slider-dots.dots-pos-vertical_right .veeru-dot.active {
    background: #f17a28;
    height: 24px;
    width: 10px;
    border-radius: 10px;
}

/* Option 2: Horizontal Center Bottom Placement */
.veeru-slider-dots.dots-pos-horizontal_bottom {
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    flex-direction: row;
    align-items: center;
}

.veeru-slider-dots.dots-pos-horizontal_bottom .veeru-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.veeru-slider-dots.dots-pos-horizontal_bottom .veeru-dot.active {
    background: #f17a28;
    width: 24px;
    height: 10px;
    border-radius: 10px;
}


/* ==========================================================================
   MOBILE & TABLET RESPONSIVE COMPLIANCE
   ========================================================================== */

@media (max-width: 991px) {
    .slide-heading { font-size: 34px !important; }
    .slide-container { padding: 30px 20px !important; }
    
    .veeru-slider-dots.dots-pos-vertical_right {
        right: 20px;
        bottom: 30px;
    }
}

@media (max-width: 768px) {
    .elementor-widget-veeru_tech_hero_slider,
    .veeru-hero-slider-widget-wrapper,
    .veeru-hero-slider-container,
    .veeru-hero-slider {
        height: auto !important;
        min-height: auto !important;
        overflow: visible !important;
    }

    .veeru-slide {
        position: relative !important;
        top: auto !important;
        left: auto !important;
        height: auto !important;
        min-height: auto !important;
        padding: 35px 15px 50px 15px !important;
        box-sizing: border-box !important;
        display: none !important;
    }

    .veeru-slide.active {
        display: block !important;
        position: relative !important;
        opacity: 1 !important;
        visibility: visible !important;
    }

    .slide-container {
        flex-direction: column !important;
        padding: 0 !important;
        gap: 20px !important;
        height: auto !important;
    }

    .slide-left-col {
        width: 100% !important;
        text-align: center !important;
        align-items: center !important;
    }

    .slide-heading {
        font-size: 26px !important;
        line-height: 1.25 !important;
        margin-bottom: 12px !important;
    }

    .slide-desc {
        font-size: 14px !important;
        line-height: 1.5 !important;
        margin-bottom: 20px !important;
    }

    .slide-counters-row {
        display: grid !important;
        grid-template-columns: repeat(2, 1fr) !important;
        gap: 15px !important;
        width: 100% !important;
        justify-content: center !important;
        margin-bottom: 25px !important;
        padding-top: 15px !important;
    }

    .slide-counter-item {
        display: flex !important;
        flex-direction: column !important;
        align-items: center !important;
        justify-content: center !important;
        text-align: center !important;
    }

    .counter-num-wrap {
        display: inline-flex !important;
        align-items: center !important;
        justify-content: center !important;
        white-space: nowrap !important;
        gap: 2px !important;
    }

    .counter-number, 
    .counter-suffix {
        font-size: 22px !important;
    }

    .counter-label {
        font-size: 11px !important;
        margin-top: 2px !important;
    }

    .slide-btns-row {
        width: 100% !important;
        flex-direction: column !important;
        gap: 12px !important;
        align-items: stretch !important;
        margin-bottom: 20px !important;
    }

    .slide-btn-orange, 
    .slide-btn-outline {
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 12px 16px !important;
        font-size: 14px !important;
    }

    .slide-right-col {
        width: 100% !important;
        display: flex !important;
        justify-content: center !important;
        margin-top: 10px !important;
    }

    .slide-mockup-img {
        max-height: 260px !important;
        width: auto !important;
        max-width: 100% !important;
    }

    .veeru-slider-dots {
        bottom: 15px !important;
        right: 15px !important;
    }

    .veeru-slider-arrow {
        display: none !important;
    }
}