/* Hero client logos: soft fade at edges on narrow screens so marquee clips feel intentional */
@media (max-width: 639px) {
    .hero-client-logo-strip {
        -webkit-mask-image: linear-gradient(
            90deg,
            transparent 0,
            #000 10px,
            #000 calc(100% - 10px),
            transparent 100%
        );
        mask-image: linear-gradient(
            90deg,
            transparent 0,
            #000 10px,
            #000 calc(100% - 10px),
            transparent 100%
        );
    }
}

.hero {
    /* No padding shorthand — it would override Tailwind py/px on the same element */
    background: linear-gradient(to right,rgba(15,23,42,.08) 1px,transparent 1px),linear-gradient(to bottom,rgba(15,23,42,.08) 1px,transparent 1px),linear-gradient(165deg,#f5f7fb 10%,#fafcff 45%,#f1f8ff 100%);
    background-size: 28px 28px,28px 28px,cover;
    border-bottom: 1px solid #e2ebf8;
}

.hero-media {
    background: 0 0;
    border: 0;
    border-radius: 0;
    overflow: visible;
    box-shadow: none;
    position: relative;
    display: flex;
    justify-content: center;
    padding-top: 0;
    margin-top: -12px;
}

.hero-media::after {
    content: "";
    position: absolute;
    inset: auto auto -18% 8%;
    width: 260px;
    height: 260px;
    border-radius: 50%;
    background: rgba(37,99,235,.12);
    filter: blur(8px);
}


@keyframes btn-shine-sweep {
    0% {
        transform: translateX(-160%) skewX(-18deg);
    }

    100% {
        transform: translateX(260%) skewX(-18deg);
    }
}


.btn-shine {
    position: relative;
    overflow: hidden;
    isolation: isolate;
}

.btn-shine::before {
    content: "";
    position: absolute;
    inset: 0;
    width: 55%;
    max-width: 140px;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(255, 255, 255, 0) 32%,
        rgba(255, 255, 255, 0.42) 50%,
        rgba(255, 255, 255, 0) 68%,
        transparent 100%
    );
    transform: translateX(-160%) skewX(-18deg);
    animation: btn-shine-sweep 2.75s linear infinite;
    pointer-events: none;
    z-index: 0;
}

.btn-shine-light::before {
    max-width: 100px;
    background: linear-gradient(
        105deg,
        transparent 0%,
        rgba(220, 74, 38, 0) 35%,
        rgba(220, 74, 38, 0.14) 50%,
        rgba(220, 74, 38, 0) 65%,
        transparent 100%
    );
    animation-duration: 3.4s;
}

.btn-shine > * {
    position: relative;
    z-index: 1;
}

@media (prefers-reduced-motion: reduce) {
    .btn-shine::before,
    .btn-shine-light::before {
        animation: none;
    }
}

/* 5-step process strip (clickable cards) */
.process-step-card {
    transition: transform 0.2s ease;
}

.process-step-card:hover {
    transform: translateY(-2px);
}

@media (prefers-reduced-motion: reduce) {
    .process-step-card {
        transition: none;
    }

    .process-step-card:hover {
        transform: none;
    }
}

@media (max-width: 639px) {
    #process-section [data-progress-bar] {
        background: linear-gradient(90deg, #1d4ed8 0%, #0ea5e9 100%) !important;
    }

    #process-section .process-step-card.bg-brand {
        background: linear-gradient(135deg, #1d4ed8 0%, #1e40af 100%) !important;
        border-color: #93c5fd !important;
    }
}

/* Standard services grid (per-project inclusions) */
.standard-service-link {
    min-height: 68px;
    padding-top: 11px !important;
    padding-bottom: 11px !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    border-radius: 10px !important;
    box-shadow: 0 6px 14px -12px rgba(15, 23, 42, 0.2) !important;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}

.standard-service-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px -14px rgba(15, 23, 42, 0.35) !important;
}

.standard-service-link img {
    height: 34px;
    width: 34px;
}   

.standard-service-link p {
    margin-top: 6px !important;
    font-size: 12.48px !important;
    line-height: 1.2 !important;
    font-weight: 600 !important;
    color: #0f172a !important;
}

@media (prefers-reduced-motion: reduce) {
    .standard-service-link {
        transition: none;
    }

    .standard-service-link:hover {
        transform: none;
    }
}

/* Testimonials marquee: translate3d in Tailwind keyframes; nowrap prevents wrap glitches */
.testimonials-marquee-track {
    backface-visibility: hidden;
    flex-wrap: nowrap;
}

/* Solid edge on cards (both rows); avoids border looking “missing” after GPU transform / overflow clip */
.testimonials-marquee-track .flex > article {
    border-width: 1px;
    border-style: solid;
    border-color: #e2e8f0;
    box-shadow: none !important;
}

/* Global partners marquee: pause on row hover, zoom logo on item hover (no links) */
.partner-marquee:hover .partner-marquee-track {
    animation-play-state: paused;
}

.partner-marquee-item {
    display: inline-flex;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
}

.partner-marquee-item img {
    display: block;
    transition: transform 0.2s ease;
}

.partner-marquee-item:hover img {
    transform: translateY(-4px) scale(1.07);
}

@media (prefers-reduced-motion: reduce) {
    .partner-marquee:hover .partner-marquee-track {
        animation-play-state: running;
    }

    .partner-marquee-track {
        animation: none !important;
    }

    .partner-marquee-item img {
        transition: none;
    }

    .partner-marquee-item:hover img {
        transform: none;
    }
}

.outcomes-section::before {
    content: "";
    position: absolute;
    inset: -120px 18% auto 18%;
    height: 220px;
    background: radial-gradient(circle,rgba(59,130,246,.2) 0,rgba(59,130,246,.1) 42%,rgba(59,130,246,0) 72%);
    pointer-events: none;
    z-index: 0;
}

.outcomes-section {
    position: relative;

}


.testimonial-section {
    position: relative;
}

.testimonial-section::before {
    content: "";
    position: absolute;
    inset: auto 12% -120px 12%;
    height: 220px;
    background: radial-gradient(circle,rgba(59,130,246,.28) 0,rgba(59,130,246,.14) 38%,rgba(59,130,246,0) 72%);
    pointer-events: none;
    z-index: 0;
}