/* =========================================
   Start Hero Section
========================================= */

.hero-left-bg{
    background: var(--primary-color);
}

.hero-left h1{
    color:var(--color-white);
}
.contact-text-color{
    color: var(--color-white);
}

.hero-content .btn-secondary:hover {
    background-color: var(--color-hero-single-service);
}

@media (max-width: 768px){
        .fade-top {
        content: url('https://kelgray-v2.on-forge.com/wp-content/uploads/2025/11/Linear-Banner-Fade-Top-Service-pages-Mobile-Kelgray-1.png');
        width: 100%;
        height: auto;
    }
}

/* =========================================
   End Hero Section
========================================= */

/* ============================================= */
    /* AUtomated labelling Overview  section*/
/* ==================================================== */

        .labelling-section {
            padding: 30px 20px;
        }

        .section-header {
            text-align: center;
            margin-bottom: 50px;
        }

        .section-header h1 {
            color: var(--primary-color);
        }

        .intro-box .section-subheading{
            margin-bottom: 20px;
        }

        .cards-container {
            justify-content: center;
        }

        .card {
            width: 25%;
            background: var(--color-container-blue);
            border-radius: 20px;
            overflow: visible;
            box-shadow: var(--primary-color);
			position: relative;
            display: flex;
            flex-wrap: wrap;
            /* flex-direction: column; */
        }

		.card>a {
			position: absolute;
			width: 100%;
			height: 100%;
			top: 0;
			left: 0;
			z-index: 1;
		}

        .card-content {
            padding: 20px 20px 10px 20px;
            text-align: center;
        }
      
        .card-image {
            position: relative;
            width: 100%;
            overflow: visible;
        }

        .card-image img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            border-bottom-left-radius: 20px;
            border-bottom-right-radius: 20px;
        }

       .card-button {
            position: absolute;
            bottom: -30px;
            left: 50%;
            transform: translateX(-50%);
            width: 65px;
            height: 65px;
            background-image: url('https://kelgray-v2.on-forge.com/wp-content/uploads/2025/12/Sub-Service-Button-Red-Default-Kelgray.png');
            background-size: contain;
            cursor: pointer;
		    z-index: 9;
        }

        .card:hover .card-button:hover {
            background-image: url('https://kelgray-v2.on-forge.com/wp-content/uploads/2025/12/Sub-Service-Button-Blue-Rollover-Kelgray.png');
            transform: translateX(-50%) scale(1.05);
        }


        @media (max-width: 768px) {
            .labelling-section {
                 margin-bottom: 60px;
                 padding: 0px 25px;
            }

            .section-header h1 {
                font-size: 32px;
            }

            .intro-box {
                padding: 0;
                margin: 0;
            }
            
            .section-header {
                margin-bottom: 20px;
            }

            .card-title {
                 font-size: 1.5rem;
            }

            .card-text {
                 font-size: 1rem;
                 margin-bottom: 0;
            }

            .intro-box p {
                font-size: 0.9rem;
            }

            .cards-container {
                display: flex;
                flex-direction: column;
                gap: 45px;
            }

            .card {
                width: auto;
            }

            .card-content {
                padding: 25px 15px;
            }

        }

        @media (max-width: 320px) {
            .section-header h1 {
                font-size: 30px;
                margin-bottom: 10px;
            }
        }
    /* ============================================= */
        /* AUtomated labelling Services section*/
    /* ==================================================== */
        .service-section {
            margin-top: 3em;
            padding: 40px 30px;
            background: var(--color-grey);
            border-top-left-radius: 30px;
            border-top-right-radius: 30px;
        }

        .section-title {
            font-size: 2.5rem;
            font-weight: 700;
            color: var(--primary-color);
            text-align: center;
            margin-bottom: 10px;
        }

        .intro-text {
            text-align: center;
        }

		.service-section .section-subheading {
			max-width: 1300px;
		}


        .points-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 40px;
            margin-top: 50px;
        }

        .point-card {
            display: flex;
            gap: 20px;
            align-items: flex-start;
        }

        .point-icon {
            flex-shrink: 0;
            width: 80px;
            height: 80px;
        }

        .point-icon img {
            width: 100%;
            height: 100%;
            object-fit: contain;
			position: relative;
    		top: -5px;
        }

        .point-content {
            flex: 1;
        }

        .point-title {
			font-size: 1.125rem;
			font-weight: 700;
			color: var(--text-dark);
			margin-bottom: 6px;
        }

        .point-description {
            color: var(--text-dark);
            font-weight:400;
            margin: 0;
        }

        .mobile-intro {
            display: none;
        }

        .desktop-intro {
            display: block;
        }

        /* Mobile Styles */
        @media (max-width: 768px) {

            .service-section {
                padding: 40px 15px;
                border-radius: 0;
            }

            .section-title {
                font-size: 32px;
                margin-bottom: 10px;
            }

            .intro-text p {
                font-size: 14px;
                color: var(--primary-color);
                font-weight: 500;
            }

            /* Hide desktop intro, show mobile intro */
            .desktop-intro {
                display: none;
            }

            .mobile-intro {
                display: block;
            }

            .intro-text {
                margin-bottom: 40px;
            }

            .points-grid {
                grid-template-columns: 1fr;
                gap: 0;
            }

            .point-card {
                flex-direction: column;
                align-items: center;
                text-align: center;
                gap:0;
                margin-bottom: 10px;
            }

            .point-icon {
                width: 70px;
                height: 70px;
            }

            .point-title {
                font-size: 1rem;
                margin-bottom: 8px;
            }

            .point-description {
                font-size: 14px;
                font-weight: 400;
            }
        }

/* ============================================= */
    /*  Services Solution section*/
/* ==================================================== */

.end-to-end-section {
    background: var(--primary-color);
    padding: 50px 20px;
    margin-top: 20px;
    border-bottom-left-radius: 30px;
    border-bottom-right-radius: 30px;
}

.end-to-end-header {
    text-align: center;
    margin-bottom: 50px;
}

.end-to-end-header h1 {
    color: var(--color-white);
    margin-bottom: 10px;
    font-weight: 700;
	font-size: 2.5rem;
}

.end-to-end-header h1 .text-highlight {
    color: var(--text-dark);
}

.end-to-end-header .section-subheading {
    color: var(--color-white);
    max-width: 1200px;
    font-weight: 500;
}

.end-to-end-section .btn-secondary:hover {
    background-color: var(--color-hero-single-service);
}

.process-steps-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.end-to-end-section .btn-block {
    text-align: center;
}

.process-step-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--color-white);
    text-transform: uppercase;
    width: 320px;
}

/* Desktop Steps Container */


.process-step-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 200px;
}

.process-step-icon {
    width: 100px;
    margin-bottom: 20px;
}

.process-step-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.process-step-description {
    color: var(--text-dark);
    font-weight: 400;
    line-height: 1.2em;
    margin-top: 5px;
    width:295px;
}

.process-arrow-horizontal img {
    position: relative;
    width: 80%;
    height: 100%;
    object-fit: contain;
    top: -77px;
}

.process-arrow-vertical {
    display: none;
}

.specialist-cta-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: var(--button-color);
    color: var(--color-white);
    border: none;
    padding: 15px 40px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    margin: 0 auto;
    text-decoration: none;
    transition: all 0.3s ease;
    max-width: 343px;
}

.specialist-cta-button:hover {
    background: var(--button-color);
    transform: translateY(-2px);
}

.specialist-cta-button img {
    width: 24px;
    height: 24px;
}

/* Mobile Styles */
@media (max-width: 768px) {
    .end-to-end-section {
        padding: 40px 20px;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
    .end-to-end-header{
        margin-bottom: 10px;
    }
    .end-to-end-header h1 {
        font-size: 32px;
        font-weight: 700;
        max-width: 399px;
    }

    .end-to-end-header p {
        font-size: 14px;
        font-weight: 500;
    }
    .process-step-description {
        font-size: 16px;
        color: var(--text-dark);
        margin-bottom: 0;
    }
    .process-steps-wrapper {
        flex-direction: column;
        margin-bottom: 30px;
    }

    .process-step-card {
        max-width: 100%;
    }

    .process-step-icon {
        width: 100px;
        height: 100px;
    }

    .process-arrow-horizontal {
        display: none;
    }

    .process-arrow-vertical {
        display: block;
        width: 40px;
        height: 60px;
        margin: 10px auto;
    }

    .process-arrow-vertical img {
        width: 100%;
        height: 100%;
        object-fit: contain;
    }

    .specialist-cta-button {
        padding: 12px 30px;
        font-size: 0.9rem;
    }
}

