.process-row {
    position: relative;
}

/* Horizontal connector behind the five process icons. */
.process-row::before {
    content: "";
    position: absolute;
    top: 7.2rem;
    left: 8%;
    right: 8%;
    height: 1px;
    background: rgba(243, 241, 234, 0.28);
    pointer-events: none;
    z-index: 0;
}

/* Keep each process column above the connector. */
.process-row > .e-con {
    position: relative;
    z-index: 1;
}

/* Make the Icon Box fill its column. */
.process-card,
.process-card .elementor-widget-container,
.process-card .elementor-icon-box-wrapper {
    height: 100%;
}

.process-card .elementor-icon-box-wrapper {
    display: flex;
    flex-direction: column;
}

/* Reserve equal space for descriptions on desktop. */
.process-card .elementor-icon-box-description {
    min-height: 10.5rem;
}

/* Ensure the icon sits cleanly over the connector line. */
.process-card .elementor-icon {
    position: relative;
    z-index: 2;
}

/* Remove fixed description height once the layout starts stacking. */
@media (max-width: 1024px) {
    .process-card .elementor-icon-box-description {
        min-height: 0;
    }
}

/* The connector is unnecessary in the vertical mobile layout. */
@media (max-width: 767px) {
    .process-row::before {
        display: none;
    }
}

.redtext{
    color:#6F1515;
    font-weight: 700;
}
.why-row {
    transition:
        border-color 250ms ease,
        background-color 250ms ease,
        transform 250ms ease;
}


.process-card .elementor-icon-box-description {
  min-height: 10.5rem;
}
.why-row:hover {
    border-color: rgba(181, 37, 37, 0.75);
    background-color: rgba(255, 255, 255, 0.025);
    transform: translateX(6px);
}
.why-closing {
    margin-top: 34px;
    padding-top: 28px;
    border-top: 2px solid #8D1E1E;
}
.why-row:hover .why-number {
    color: #B52525;
}
/* ==========================================================
   TECHURAI SERVICES — PINNED SCROLL SECTION
   ========================================================== */

.tech-services-section {
    /*
     * Your desktop header is 132px tall.
     * Change this value if the header height changes.
     */
    --tech-header-height: 132px;

    /*
     * Visible height of the pinned services presentation.
     */
    --tech-stage-height: calc(100svh - var(--tech-header-height));

    /*
     * Additional scrolling distance.
     *
     * 210svh gives three transitions approximately 70svh each.
     * Increase this to slow the transitions.
     * Decrease it to make the section pass more quickly.
     */
    --tech-scroll-distance: 210svh;

    position: relative;
    width: 100%;
    height: calc(
        var(--tech-stage-height) + var(--tech-scroll-distance)
    );

    overflow: visible !important;
    isolation: isolate;
}

/* The presentation remains beneath the header while scrolling. */
.tech-services-sticky {
    position: sticky;
    top: var(--tech-header-height);

    width: 100%;
    height: var(--tech-stage-height);
    min-height: 0;

    display: flex;
    flex-direction: column;

    overflow: hidden;
}

/* Intro heading area. */
.tech-services-intro {
    position: relative;
    z-index: 5;
    flex: 0 0 auto;
}

/* Navigation and active service panel. */
.tech-services-layout {
    position: relative;
    z-index: 2;

    display: grid !important;
    grid-template-columns:
        minmax(220px, 0.65fr)
        minmax(0, 1.35fr);

    gap: clamp(32px, 5vw, 90px);

    width: 100%;
    min-height: 0;
    flex: 1 1 auto;
}

/* ==========================================================
   SERVICE NAVIGATION
   ========================================================== */

.tech-services-nav {
    position: relative;
    z-index: 4;

    display: flex;
    flex-direction: column;

    justify-content: center;
    align-items: stretch;

    min-width: 0;
}

/*
 * Each nav item can be an Elementor container.
 * Place a heading, description or number inside it.
 */
.tech-service-nav-item {
    position: relative;

    width: 100%;
    padding: clamp(16px, 2vh, 26px) 0;
    padding-left: 24px;

    opacity: 0.38;
    cursor: pointer;

    transition:
        opacity 400ms ease,
        transform 400ms ease;
}

/* Vertical navigation rail. */
.tech-service-nav-item::before {
    content: "";

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;

    width: 2px;

    background: currentColor;
    opacity: 0.18;
}

/* Active segment placed over the navigation rail. */
.tech-service-nav-item::after {
    content: "";

    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;

    width: 3px;

    background: currentColor;

    transform: scaleY(0);
    transform-origin: center bottom;

    transition: transform 450ms ease;
}

.tech-service-nav-item:hover {
    opacity: 0.7;
}

.tech-service-nav-item.is-active {
    opacity: 1;
    transform: translateX(8px);
}

.tech-service-nav-item.is-active::after {
    transform: scaleY(1);
}

/* Prevent inner links or widgets from interfering with nav clicks. */
.tech-service-nav-item > * {
    pointer-events: none;
}

/* ==========================================================
   SERVICE PRESENTATION STAGE
   ========================================================== */

.tech-services-stage {
    position: relative;
    z-index: 2;

    width: 100%;
    height: 100%;
    min-height: 0;

    overflow: hidden;
}

/*
 * All four panels occupy the same space.
 */
.tech-service-panel {
    position: absolute !important;
    inset: 0;

    width: 100%;
    height: 100%;
    min-height: 0;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transform:
        translate3d(0, 42px, 0)
        scale(0.985);

    transition:
        opacity 500ms ease,
        visibility 500ms ease,
        transform 650ms cubic-bezier(0.22, 1, 0.36, 1);

    will-change: opacity, transform;
}

/* The current service panel. */
.tech-service-panel.is-active {
    z-index: 2;

    opacity: 1;
    visibility: visible;
    pointer-events: auto;

    transform:
        translate3d(0, 0, 0)
        scale(1);
}

/*
 * Elementor sometimes applies width constraints to containers.
 * These rules ensure the active panel fills the entire stage.
 */
.tech-service-panel.e-con,
.tech-service-panel > .e-con-inner {
    width: 100%;
    max-width: none;
}

/* ==========================================================
   TABLET
   ========================================================== */

@media (max-width: 1024px) {
    .tech-services-section {
        --tech-header-height: 100px;
        --tech-scroll-distance: 180svh;
    }

    .tech-services-layout {
        grid-template-columns:
            minmax(180px, 0.55fr)
            minmax(0, 1.45fr);

        gap: 30px;
    }

    .tech-service-nav-item {
        padding-left: 18px;
    }
}

/* ==========================================================
   MOBILE — REMOVE THE PINNED EFFECT
   ========================================================== */

@media (max-width: 767px) {
    .tech-services-section {
        height: auto;
        min-height: 0;
    }

    .tech-services-sticky {
        position: relative;
        top: auto;

        height: auto;
        min-height: 0;

        overflow: visible;
    }

    .tech-services-layout {
        display: flex !important;
        flex-direction: column;

        gap: 30px;
    }

    /*
     * The desktop navigation is unnecessary when every service
     * is displayed as a normal mobile section.
     */
    .tech-services-nav {
        display: none;
    }

    .tech-services-stage {
        display: flex;
        flex-direction: column;

        height: auto;
        overflow: visible;

        gap: 24px;
    }

    .tech-service-panel {
        position: relative !important;
        inset: auto;

        height: auto;

        opacity: 1;
        visibility: visible;
        pointer-events: auto;

        transform: none;
    }
}

/* ==========================================================
   REDUCED MOTION
   ========================================================== */

@media (prefers-reduced-motion: reduce) {
    .tech-service-nav-item,
    .tech-service-nav-item::after,
    .tech-service-panel {
        transition: none;
    }
}

/* ==========================================================
   FULL-SECTION BACKGROUND IMAGE LAYERS
   ========================================================== */

.tech-services-sticky {
    /*
     * Creates an isolated layering context so the background
     * layers remain behind the visible service content.
     */
    isolation: isolate;
    background: #111;
}

/* Holds all four background images. */
.tech-services-backgrounds {
    position: absolute !important;
    inset: 0;

    width: 100%;
    height: 100%;

    overflow: hidden;
    pointer-events: none;

    z-index: 0;
}

/*
 * Each background occupies the complete sticky viewport.
 */
.tech-service-bg {
    position: absolute !important;

    /*
     * Slightly oversized to prevent exposed edges during
     * the scale animation.
     */
    inset: -2%;

    width: 104%;
    height: 104%;
    min-height: 104%;

    opacity: 0;
    visibility: hidden;

    transform: scale(1.05);

    transition:
        opacity 900ms ease,
        visibility 900ms ease,
        transform 1600ms cubic-bezier(0.22, 1, 0.36, 1);

    background-position: center center !important;
    background-repeat: no-repeat !important;
    background-size: cover !important;

    will-change: opacity, transform;
}

/* Currently visible service background. */
.tech-service-bg.is-active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
}

/*
 * Dark overlay similar to the Elementor example.
 * This keeps white text readable over every image.
 */
.tech-services-sticky::after {
    content: "";

    position: absolute;
    inset: 0;

    z-index: 1;
    pointer-events: none;

    background:
        linear-gradient(
            90deg,
            rgba(0, 0, 0, 0.86) 0%,
            rgba(0, 0, 0, 0.63) 35%,
            rgba(0, 0, 0, 0.22) 70%,
            rgba(0, 0, 0, 0.35) 100%
        );
}

/* Keep all actual content above the backgrounds and overlay. */
.tech-services-intro,
.tech-services-layout {
    position: relative;
    z-index: 2;
}