/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Aug 04 2026 | 12:06:13 */
/* ============================================
   NT CLOKE PUMPS & WATER - SERVICE SECTION
   Section: .service-layer-section
   Cards: .four-image-box .img-one
   Brand Colors: #1296CE | #060606 | #ffffff
   ============================================ */

/* ===== FIX: Remove Elementor Default Overlay ===== */
.service-layer-section .img-one::before,
.service-layer-section .img-one > .elementor-background-video-container::before,
.service-layer-section .img-one > .e-con-inner > .elementor-background-video-container::before,
.service-layer-section .img-one > .elementor-background-slideshow::before,
.service-layer-section .img-one > .e-con-inner > .elementor-background-slideshow::before,
.service-layer-section .img-one > .elementor-motion-effects-container > .elementor-motion-effects-layer::before {
    background-color: transparent !important;
    background-image: none !important;
    --background-overlay: none !important;
    opacity: 0 !important;
    display: none !important;
}

/* Smooth Animation */
.service-layer-section .img-one,
.service-layer-section .img-one:before,
.service-layer-section .img-one:after,
.service-layer-section .img-one strong,
.service-layer-section .img-one .elementor-button{
    transition: all 0.35s ease;
}

/* ============================================
   PARENT CONTAINER - Force display
   ============================================ */
.service-layer-section .four-image-box.elementor-hidden-desktop.elementor-hidden-tablet.elementor-hidden-mobile {
    display: flex !important;
}

/* ============================================
   DESKTOP - 2 Columns
   ============================================ */
.service-layer-section .four-image-box{
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    align-items: stretch;
    padding: 0;
}

.service-layer-section .four-image-box > .img-one{
    flex: 0 0 calc(50% - 0px);
    max-width: calc(50% - 0px);
    
    min-height: 280px;
    height: auto;
    
    padding: 30px 35px 30px 35px;
    
    display: flex;
    flex-direction: column;
    justify-content: center;
    
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(18, 150, 206, 0.25);
    background: #060606;
}

/* ===== BACKGROUND IMAGE - ALWAYS RIGHT ===== */
.service-layer-section .img-one:before{
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: right center !important;
    background-repeat: no-repeat;
    z-index: 1;
    transform-origin: right center;
}

/* ===== OVERLAY - Left to Right Gradient ===== */
.service-layer-section .img-one:after{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(6, 6, 6, 0.95) 0%,
        rgba(6, 6, 6, 0.80) 20%,
        rgba(6, 6, 6, 0.60) 40%,
        rgba(18, 150, 206, 0.10) 60%,
        rgba(18, 150, 206, 0.25) 80%,
        rgba(18, 150, 206, 0.40) 100%
    );
    z-index: 2;
    pointer-events: none;
}

/* ===== CONTENT STACKING ===== */
.service-layer-section .img-one > * {
    position: relative;
    z-index: 3;
}

/* ===== HEADING ===== */
.service-layer-section .img-one strong{
    display: block;
    color: #ffffff;
    font-size: 20px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 10px;
    text-transform: uppercase;
    max-width: 55%;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.50);
}

/* ===== DESCRIPTION ===== */
.service-layer-section .img-one .elementor-widget-text-editor{
    color: #f3f3f3;
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 18px !important;
    max-width: 55%;
    text-shadow: 0 1px 8px rgba(0, 0, 0, 0.40);
}

/* ===== BUTTON ===== */
.service-layer-section .img-one .elementor-widget-button{
    margin-top: 0;
}

.service-layer-section .img-one .elementor-button{
    background: rgba(18, 150, 206, 0.15) !important;
    padding: 10px 20px !important;
    color: #ffffff !important;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    border: 1px solid rgba(18, 150, 206, 0.30);
    border-radius: 4px;
    display: inline-block;
    width: auto;
    align-self: flex-start;
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
}

.service-layer-section .img-one .elementor-button-icon{
    margin-left: 8px;
}

/* ============================================
   HOVER STATES
   ============================================ */

.service-layer-section .img-one:hover{
    border-color: #1296CE;
    box-shadow:
        0 0 0 1px #1296CE,
        0 0 25px rgba(18, 150, 206, 0.40),
        0 0 50px rgba(18, 150, 206, 0.20);
    outline: 2px solid #1296CE;
    outline-offset: -2px;
    z-index: 10;
}

.service-layer-section .img-one:hover:before{
    transform: scale(1.08);
}

.service-layer-section .img-one:hover:after{
    background: linear-gradient(
        90deg,
        rgba(6, 6, 6, 0.85) 0%,
        rgba(6, 6, 6, 0.60) 20%,
        rgba(6, 6, 6, 0.35) 40%,
        rgba(18, 150, 206, 0.15) 60%,
        rgba(18, 150, 206, 0.35) 80%,
        rgba(18, 150, 206, 0.55) 100%
    );
}

.service-layer-section .img-one:hover strong{
    color: #ffffff;
    text-shadow: 
        0 0 20px rgba(18, 150, 206, 0.60),
        0 0 40px rgba(18, 150, 206, 0.30);
}

.service-layer-section .img-one:hover .elementor-button{
    background: #1296CE !important;
    color: #ffffff !important;
    border-color: #1296CE;
    box-shadow: 0 0 25px rgba(18, 150, 206, 0.40);
}

.service-layer-section .img-one:hover .elementor-button-icon{
    transform: translateX(6px);
}

/* ===== Remove Elementor spacing ===== */
.service-layer-section .img-one .elementor-widget{
    margin-bottom: 0 !important;
}

/* ============================================
   TABLET (max-width: 1024px)
   ============================================ */
@media(max-width: 1024px){
    
    .service-layer-section .four-image-box{
        gap: 20px;
        padding: 0 15px;
    }
    
    .service-layer-section .four-image-box > .img-one{
        flex: 0 0 calc(50% - 10px);
        max-width: calc(50% - 10px);
        
        min-height: 260px;
        
        padding: 25px 30px 25px 25px;
    }
    
    .service-layer-section .img-one strong{
        font-size: 18px;
        max-width: 60%;
    }
    
    .service-layer-section .img-one .elementor-widget-text-editor{
        font-size: 14px;
        max-width: 60%;
    }
    
    /* IMAGE STAYS ON RIGHT */
    .service-layer-section .img-one:before{
        background-position: right center !important;
    }
}

/* ============================================
   MOBILE (max-width: 767px)
   ============================================ */
@media(max-width: 767px){
    
    .service-layer-section .four-image-box{
        display: flex !important;
        flex-direction: column;
        gap: 20px;
        padding: 0 15px;
    }
    
    .service-layer-section .four-image-box > .img-one{
        max-width: 100%;
        flex: 0 0 100%;
        
        min-height: 200px;
        height: auto;
        
        padding: 20px 15px;
        
        justify-content: center;
        border-radius: 8px;
    }
    
    /* ===== IMAGE - ALWAYS ON RIGHT ===== */
    .service-layer-section .img-one:before{
        left: auto;
        right: 0;
        width: 55%;
        height: 100%;
        background-position: right center !important;
        background-size: cover;
        transform-origin: right center;
    }
    
    /* ===== OVERLAY - Left to Right ===== */
    .service-layer-section .img-one:after{
        background: linear-gradient(
            90deg,
            rgba(6, 6, 6, 0.05) 0%,
            rgba(6, 6, 6, 0.30) 20%,
            rgba(6, 6, 6, 0.65) 40%,
            rgba(6, 6, 6, 0.90) 55%,
            rgba(18, 150, 206, 0.10) 70%,
            rgba(18, 150, 206, 0.20) 85%,
            rgba(18, 150, 206, 0.35) 100%
        ) !important;
    }
    
    /* ===== CONTENT - LEFT SIDE ===== */
    .service-layer-section .img-one strong{
        font-size: 16px;
        margin-bottom: 8px;
        max-width: 55%;
        padding-right: 10px;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.70);
    }
    
    .service-layer-section .img-one .elementor-widget-text-editor{
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 15px !important;
        max-width: 55%;
        padding-right: 10px;
        text-shadow: 0 1px 8px rgba(0, 0, 0, 0.60);
    }
    
    .service-layer-section .img-one .elementor-widget-button{
        width: 55%;
        padding-right: 10px;
    }
    
    .service-layer-section .img-one .elementor-button{
        font-size: 12px;
        padding: 8px 16px !important;
    }
    
    /* --- Disable hover on mobile --- */
    .service-layer-section .img-one:hover:after{
        background: linear-gradient(
            90deg,
            rgba(6, 6, 6, 0.05) 0%,
            rgba(6, 6, 6, 0.30) 20%,
            rgba(6, 6, 6, 0.65) 40%,
            rgba(6, 6, 6, 0.90) 55%,
            rgba(18, 150, 206, 0.10) 70%,
            rgba(18, 150, 206, 0.20) 85%,
            rgba(18, 150, 206, 0.35) 100%
        ) !important;
    }
    
    .service-layer-section .img-one:hover{
        border-color: rgba(18, 150, 206, 0.20);
        box-shadow: none;
        outline: none;
    }
    
    .service-layer-section .img-one:hover strong{
        color: #ffffff;
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.70);
    }
    
    .service-layer-section .img-one:hover .elementor-button{
        background: rgba(18, 150, 206, 0.15) !important;
        color: #ffffff !important;
        border-color: rgba(18, 150, 206, 0.30);
        box-shadow: none;
    }
    
    .service-layer-section .img-one:hover:before{
        transform: none;
    }
    
    .service-layer-section .img-one:hover .elementor-button-icon{
        transform: none;
    }
}

/* ============================================
   SMALL MOBILE (max-width: 480px)
   ============================================ */
@media(max-width: 480px){
    
    .service-layer-section .four-image-box{
        gap: 15px;
        padding: 0 10px;
    }
    
    .service-layer-section .four-image-box > .img-one{
        min-height: 170px;
        padding: 15px 12px;
    }
    
    /* IMAGE STAYS ON RIGHT - Smaller width */
    .service-layer-section .img-one:before{
        width: 50%;
    }
    
    .service-layer-section .img-one strong{
        font-size: 14px;
        margin-bottom: 6px;
        max-width: 50%;
    }
    
    .service-layer-section .img-one .elementor-widget-text-editor{
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 12px !important;
        max-width: 50%;
    }
    
    .service-layer-section .img-one .elementor-widget-button{
        width: 50%;
    }
    
    .service-layer-section .img-one .elementor-button{
        font-size: 11px;
        padding: 6px 14px !important;
    }
    
    .service-layer-section .img-one:after{
        background: linear-gradient(
            90deg,
            rgba(6, 6, 6, 0.10) 0%,
            rgba(6, 6, 6, 0.40) 15%,
            rgba(6, 6, 6, 0.75) 35%,
            rgba(6, 6, 6, 0.95) 50%,
            rgba(18, 150, 206, 0.08) 65%,
            rgba(18, 150, 206, 0.15) 80%,
            rgba(18, 150, 206, 0.30) 100%
        ) !important;
    }
}

/* Target all service cards */
.service-layer-section .img-one{
    background-position: right center !important;
    background-repeat: no-repeat !important;
    background-size: 40% 100% !important;
    position: relative;
}