/******* Do not edit this file *******
Simple Custom CSS and JS - by Silkypress.com
Saved: Jun 29 2026 | 06:50:06 */
/* ============================================
   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 on .img-one ===== */
.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;
}

/* ===== CARD DEFAULTS ===== */
.service-layer-section .img-one{
    position: relative;
    min-height: 220px;
    height: 220px;
    overflow: hidden;
    border: 1px solid rgba(18, 150, 206, 0.25);
    background: #060606;
    padding: 18px 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ===== BACKGROUND IMAGE ===== */
.service-layer-section .img-one:before{
    content: '';
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 1;
}

/* ===== DEFAULT OVERLAY - Blue gradient emphasis ===== */
.service-layer-section .img-one:after{
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(6, 6, 6, 0.95) 0%,
        rgba(6, 6, 6, 0.70) 35%,
        rgba(18, 150, 206, 0.15) 70%,
        rgba(18, 150, 206, 0.35) 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: 16px;
    line-height: 1.2;
    font-weight: 700;
    margin-bottom: 8px;
    text-transform: uppercase;
}

/* ===== DESCRIPTION ===== */
.service-layer-section .img-one .elementor-widget-text-editor{
    color: #f3f3f3;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 10px;
}

/* ===== BUTTON ===== */
.service-layer-section .img-one .elementor-button{
    background: none !important;
    padding: 0 !important;
    color: #1296CE !important;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
}

.service-layer-section .img-one .elementor-button-icon{
    margin-left: 6px;
}

/* ============================================
   HOVER STATES
   ============================================ */

/* Card Border & Glow - Blue accent */
.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;
}

/* Image Zoom */
.service-layer-section .img-one:hover:before{
    transform: scale(1.12);
}

/* Hover Overlay - Stronger blue gradient */
.service-layer-section .img-one:hover:after{
    background: linear-gradient(
        135deg,
        rgba(6, 6, 6, 0.75) 0%,
        rgba(6, 6, 6, 0.30) 40%,
        rgba(18, 150, 206, 0.25) 65%,
        rgba(18, 150, 206, 0.55) 100%
    );
}

/* Heading Highlight - Blue glow */
.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);
}

/* Button Highlight - White with blue glow */
.service-layer-section .img-one:hover .elementor-button{
    color: #ffffff !important;
    text-shadow: 0 0 15px rgba(18, 150, 206, 0.50);
}

/* Arrow Animation */
.service-layer-section .img-one:hover .elementor-button-icon{
    transform: translateX(6px);
}

/* ============================================
   FLEX CONTAINER - Equal Height Cards
   ============================================ */
.service-layer-section .four-image-box{
    display: flex;
    gap: 0;
    align-items: stretch;
}

/* ===== 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{
        flex-wrap: wrap;
    }

    .service-layer-section .img-one{
        width: 100%;
        height: 180px;
    }

}

/* ============================================
   MOBILE (max-width: 767px)
   ============================================ */
@media(max-width: 767px){

    .service-layer-section .four-image-box{
        display: block !important;
    }

    /* --- Card --- */
    .service-layer-section .img-one{
        position: relative;
        display: flex;
        flex-direction: column;
        justify-content: center;
        min-height: 180px;
        height: 180px;
        margin-bottom: 15px;
        padding: 0;
        overflow: hidden;
        border: 1px solid rgba(18, 150, 206, 0.20);
        border-radius: 8px;
        background: #060606;
    }

    /* --- Image Area - positioned right --- */
    .service-layer-section .img-one:before{
        content: '';
        position: absolute;
        left: 40%;
        top: 0;
        width: 55%;
        height: 100%;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
        z-index: 1;
    }

    /* --- Mobile Overlay - Blue gradient from left to right --- */
    .service-layer-section .img-one:after{
        content: '';
        position: absolute;
        inset: 0;
        background: linear-gradient(
            90deg,
            rgba(6, 6, 6, 0.05) 0%,
            rgba(6, 6, 6, 0.20) 30%,
            rgba(6, 6, 6, 0.75) 55%,
            rgba(18, 150, 206, 0.15) 75%,
            rgba(18, 150, 206, 0.35) 100%
        );
        z-index: 2;
        pointer-events: none;
    }

    /* --- Text Block --- */
    .service-layer-section .img-one .elementor-widget-text-editor{
        position: relative;
        z-index: 3;
        width: 58%;
        margin-left: 42%;
        padding: 0 15px;
        margin-bottom: 5px !important;
        color: #f3f3f3;
    }

    /* --- Button Block --- */
    .service-layer-section .img-one .elementor-widget-button{
        position: relative;
        z-index: 3;
        width: 58%;
        margin-left: 42%;
        padding: 0 15px;
        margin-top: 0;
    }

    /* --- Title --- */
    .service-layer-section .img-one strong{
        display: block;
        color: #ffffff;
        font-size: 14px;
        font-weight: 700;
        line-height: 1.2;
        margin-bottom: 4px;
        text-transform: uppercase;
    }

    /* --- Description --- */
    .service-layer-section .img-one .elementor-widget-text-editor{
        color: #f3f3f3;
        font-size: 12px;
        line-height: 1.35;
    }

    /* --- Button --- */
    .service-layer-section .img-one .elementor-button{
        background: none !important;
        padding: 0 !important;
        color: #1296CE !important;
        font-size: 12px;
        font-weight: 600;
        text-transform: uppercase;
    }

    .service-layer-section .img-one .elementor-button-icon{
        margin-left: 5px;
    }

    .service-layer-section .img-one .elementor-widget{
        margin-bottom: 0 !important;
    }

    /* --- Mobile Hover Disabled (touch devices) --- */
    .service-layer-section .img-one:hover:after{
        background: linear-gradient(
            90deg,
            rgba(6, 6, 6, 0.05) 0%,
            rgba(6, 6, 6, 0.20) 30%,
            rgba(6, 6, 6, 0.75) 55%,
            rgba(18, 150, 206, 0.15) 75%,
            rgba(18, 150, 206, 0.35) 100%
        );
    }

    .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: none;
    }

    .service-layer-section .img-one:hover .elementor-button{
        color: #1296CE !important;
    }

}