
/* =========================================
   ON-DEMAND APP DEVELOPMENT HERO
   PavionX | White Theme | No Box Cards
   ========================================= */

.ondemand-hero {
    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 100px 0 90px;
    background: #ffffff;
    color: #172554;
    font-family: inherit;
}

/* Background Image */

.ondemand-hero .ondemand-hero-bg {
    position: absolute;
    inset: 0;
    z-index: -2;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    opacity: 1;
    pointer-events: none;
}

/* White Overlay */

.ondemand-hero .ondemand-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(
        90deg,
        rgba(255, 255, 255, 0.98) 0%,
        rgba(255, 255, 255, 0.95) 45%,
        rgba(255, 255, 255, 0.76) 100%
    );
    pointer-events: none;
}

/* Main Container */

.ondemand-hero .container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

.ondemand-hero .hero-inner {
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(0, 0.92fr);
    align-items: center;
    gap: 64px;
}

/* =========================================
   LEFT CONTENT
   ========================================= */

.ondemand-hero .hero-copy {
    position: relative;
    z-index: 1;
    min-width: 0;
}

.ondemand-hero .eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 24px;
    color: #1769e0;
    font-size: 12px;
    font-weight: 800;
    line-height: 1.6;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

.ondemand-hero .eyebrow i {
    color: #1769e0;
    font-size: 17px;
}

/* Heading */

.ondemand-hero .hero-copy h1 {
    max-width: 680px;
    margin: 0 0 24px;
    color: #102448;
    font-family: inherit;
    font-size: clamp(36px, 4.1vw, 58px);
    font-weight: 800;
    line-height: 1.13;
    letter-spacing: -1.8px;
}

.ondemand-hero .hero-copy h1 span {
    display: block;
    margin-top: 8px;
    color: #1769e0;
}

/* Description */

.ondemand-hero .hero-copy > p {
    max-width: 610px;
    margin: 0 0 30px;
    color: #526078;
    font-family: inherit;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.9;
}

/* =========================================
   ACTION BUTTONS
   ========================================= */

.ondemand-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    margin-bottom: 30px;
}

.ondemand-hero .hero-actions .btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 50px;
    padding: 14px 22px;
    border: 1px solid transparent;
    border-radius: 6px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 700;
    line-height: 1.5;
    text-align: center;
    text-decoration: none;
    transition:
        background-color 0.25s ease,
        color 0.25s ease,
        border-color 0.25s ease,
        transform 0.25s ease;
}

.ondemand-hero .btn-primary {
    background: #1769e0;
    color: #ffffff;
    border-color: #1769e0;
}

.ondemand-hero .btn-primary:hover {
    background: #0d4fb5;
    color: #ffffff;
    border-color: #0d4fb5;
    transform: translateY(-2px);
}

.ondemand-hero .btn-primary i {
    transition: transform 0.25s ease;
}

.ondemand-hero .btn-primary:hover i {
    transform: translateX(4px);
}

.ondemand-hero .btn-secondary {
    background: transparent;
    color: #17345f;
    border-color: #cbd5e1;
}

.ondemand-hero .btn-secondary:hover {
    color: #1769e0;
    border-color: #1769e0;
    background: rgba(23, 105, 224, 0.04);
}

/* =========================================
   CHECK LIST
   ========================================= */

.ondemand-hero .check-list {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
}

.ondemand-hero .check-list p {
    display: flex;
    align-items: flex-start;
    gap: 11px;
    margin: 0;
    color: #3f5069;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.7;
}

.ondemand-hero .check-list p i {
    flex: 0 0 auto;
    margin-top: 4px;
    color: #1769e0;
    font-size: 15px;
}

/* =========================================
   RIGHT IMAGE
   ========================================= */

.ondemand-hero .hero-visual {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    min-width: 0;
    gap: 24px;
}

.ondemand-hero .ondemand-image-wrap {
    position: relative;
    width: 100%;
    overflow: hidden;
    aspect-ratio: 5 / 4;
    border-radius: 12px;
    background: #f1f5f9;
}

.ondemand-hero .ondemand-image-wrap img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    border: 0;
    box-shadow: none;
    transition: transform 0.6s ease;
}

.ondemand-hero .ondemand-image-wrap:hover img {
    transform: scale(1.035);
}

/* =========================================
   FEATURE ROW
   ========================================= */

.ondemand-hero .ondemand-feature {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 8px 0 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.ondemand-hero .ondemand-feature .svc-icon-wrap {
    display: flex;
    flex: 0 0 48px;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: #eaf2ff;
    color: #1769e0;
    font-size: 19px;
}

.ondemand-hero .ondemand-feature-content {
    min-width: 0;
    padding-top: 2px;
}

.ondemand-hero .ondemand-feature-content h3 {
    margin: 0 0 7px;
    color: #102448;
    font-family: inherit;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.5;
}

.ondemand-hero .ondemand-feature-content p {
    max-width: 420px;
    margin: 0;
    color: #526078;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.8;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1024px) {
    .ondemand-hero {
        padding: 80px 0 70px;
    }

    .ondemand-hero .hero-inner {
        grid-template-columns: minmax(0, 1fr) minmax(0, 0.85fr);
        gap: 36px;
    }

    .ondemand-hero .hero-copy h1 {
        font-size: clamp(34px, 4.5vw, 46px);
        letter-spacing: -1.2px;
    }

    .ondemand-hero .hero-copy > p {
        font-size: 15px;
        line-height: 1.8;
    }

    .ondemand-hero .hero-actions {
        gap: 10px;
    }

    .ondemand-hero .hero-actions .btn {
        padding: 12px 16px;
        font-size: 13px;
    }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {
    .ondemand-hero {
        padding: 64px 0 54px;
    }

    .ondemand-hero .container {
        width: min(100% - 36px, 560px);
    }

    .ondemand-hero .ondemand-hero-overlay {
        background: rgba(255, 255, 255, 0.93);
    }

    .ondemand-hero .hero-inner {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .ondemand-hero .hero-copy h1 {
        max-width: 560px;
        font-size: clamp(34px, 8vw, 44px);
        line-height: 1.16;
        letter-spacing: -1.1px;
    }

    .ondemand-hero .hero-copy > p {
        margin-bottom: 24px;
        font-size: 15px;
        line-height: 1.85;
    }

    .ondemand-hero .eyebrow {
        margin-bottom: 18px;
        font-size: 11px;
        letter-spacing: 1.2px;
    }

    .ondemand-hero .hero-actions {
        align-items: stretch;
        flex-direction: column;
        margin-bottom: 25px;
    }

    .ondemand-hero .hero-actions .btn {
        width: 100%;
        min-height: 48px;
        padding: 13px 16px;
    }

    .ondemand-hero .check-list {
        gap: 10px;
    }

    .ondemand-hero .check-list p {
        font-size: 13px;
    }

    .ondemand-hero .hero-visual {
        gap: 20px;
    }

    .ondemand-hero .ondemand-image-wrap {
        aspect-ratio: 4 / 3;
        border-radius: 9px;
    }

    .ondemand-hero .ondemand-feature {
        gap: 13px;
        padding-top: 0;
    }

    .ondemand-hero .ondemand-feature .svc-icon-wrap {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 17px;
    }

    .ondemand-hero .ondemand-feature-content h3 {
        font-size: 16px;
    }

    .ondemand-hero .ondemand-feature-content p {
        font-size: 13px;
        line-height: 1.75;
    }
}

/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 420px) {
    .ondemand-hero {
        padding: 48px 0 44px;
    }

    .ondemand-hero .container {
        width: calc(100% - 28px);
    }

    .ondemand-hero .hero-copy h1 {
        font-size: 32px;
    }

    .ondemand-hero .hero-copy > p {
        font-size: 14px;
    }

    .ondemand-hero .ondemand-image-wrap {
        aspect-ratio: 1 / 0.85;
    }

    .ondemand-hero .ondemand-feature-content h3 {
        font-size: 15px;
    }
}

/* =========================================
   REDUCED MOTION ACCESSIBILITY
   ========================================= */

@media (prefers-reduced-motion: reduce) {
    .ondemand-hero *,
    .ondemand-hero *::before,
    .ondemand-hero *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}


/* FIX: ON-DEMAND HERO BUTTON ALIGNMENT */

.ondemand-hero .hero-actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px;
    width: 100%;
    margin: 0 0 30px;
}

.ondemand-hero .hero-actions .btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    max-width: 100%;
    min-width: 0;
    min-height: 50px;
    margin: 0;
    padding: 14px 20px;
    box-sizing: border-box;
    white-space: normal;
    line-height: 1.5;
    text-align: center;
    transform: none;
}

/* TABLET AND MOBILE */

@media (max-width: 768px) {
    .ondemand-hero .hero-actions {
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: 100%;
        margin: 0 0 26px;
    }

    .ondemand-hero .hero-actions .btn {
        display: flex;
        width: 100%;
        max-width: 100%;
        min-height: 50px;
        margin: 0;
        padding: 13px 18px;
        box-sizing: border-box;
        justify-content: center;
        white-space: normal;
    }

    .ondemand-hero .hero-actions .btn i {
        flex: 0 0 auto;
    }

    .ondemand-hero .check-list {
        position: relative;
        clear: both;
        margin-top: 0;
    }
}

/* SMALL MOBILE */

@media (max-width: 420px) {
    .ondemand-hero .hero-actions {
        gap: 10px;
        padding-right: 2px;
    }

    .ondemand-hero .hero-actions .btn {
        min-height: 48px;
        padding: 12px 14px;
        font-size: 13px;
    }
}



/* =========================================
   ON-DEMAND APPLICATION CONTENT SECTIONS
   PavionX | White Theme | No Box Style
   ========================================= */

.ondemand-solutions-section,
.ondemand-features-section,
.ondemand-process-section {
    position: relative;
    padding: 95px 0;
    overflow: hidden;
    background: #ffffff;
    color: #172554;
    font-family: inherit;
}

.ondemand-solutions-section *,
.ondemand-features-section *,
.ondemand-process-section * {
    box-sizing: border-box;
}

.ondemand-solutions-section .container,
.ondemand-features-section .container,
.ondemand-process-section .container {
    width: min(1180px, calc(100% - 48px));
    margin: 0 auto;
}

/* =========================================
   COMMON SECTION HEADING
   ========================================= */

.ondemand-section-heading {
    max-width: 780px;
    margin: 0 auto 58px;
    text-align: center;
}

.ondemand-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 19px;
    color: #1769e0;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.6;
    text-transform: uppercase;
}

.ondemand-eyebrow i {
    font-size: 15px;
}

.ondemand-section-heading h2,
.ondemand-features-intro h2 {
    margin: 0 0 20px;
    color: #102448;
    font-family: inherit;
    font-size: clamp(32px, 4vw, 46px);
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1.2px;
}

.ondemand-section-heading h2 span,
.ondemand-features-intro h2 span {
    display: block;
    margin-top: 7px;
    color: #1769e0;
}

.ondemand-section-heading > p,
.ondemand-features-intro > p {
    margin: 0;
    color: #5a6880;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.9;
}

/* =========================================
   SECTION 1: SOLUTIONS GRID
   No card backgrounds, borders or shadows
   ========================================= */

.ondemand-solutions-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    column-gap: 42px;
    row-gap: 52px;
}

.ondemand-solution-item {
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}

.ondemand-solution-item:hover {
    transform: translateY(-4px);
}

/* Icon circles only */

.ondemand-solution-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: 22px;
    border-radius: 50%;
    font-size: 21px;
    transition: transform 0.3s ease;
}

.ondemand-solution-item:hover .ondemand-solution-icon {
    transform: scale(1.07);
}

.ondemand-solution-icon.blue {
    color: #1769e0;
    background: #eaf2ff;
}

.ondemand-solution-icon.purple {
    color: #7651d5;
    background: #f0eaff;
}

.ondemand-solution-icon.orange {
    color: #bd6b13;
    background: #fff2df;
}

.ondemand-solution-icon.green {
    color: #18845c;
    background: #e4f8ed;
}

.ondemand-solution-icon.cyan {
    color: #087fa8;
    background: #e4f8ff;
}

.ondemand-solution-icon.pink {
    color: #c04484;
    background: #ffedf5;
}

/* Number */

.ondemand-item-number {
    display: block;
    margin-bottom: 10px;
    color: #1769e0;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

/* Titles and descriptions */

.ondemand-solution-item h3 {
    margin: 0 0 13px;
    color: #142747;
    font-family: inherit;
    font-size: 19px;
    font-weight: 750;
    line-height: 1.5;
}

.ondemand-solution-item > p {
    margin: 0 0 18px;
    color: #5a6880;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.85;
}

/* Feature lists */

.ondemand-solution-item ul {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin: 0;
    padding: 0;
    list-style: none;
}

.ondemand-solution-item ul li {
    position: relative;
    padding-left: 20px;
    color: #394b65;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.7;
}

.ondemand-solution-item ul li::before {
    position: absolute;
    top: 9px;
    left: 0;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #1769e0;
    content: "";
}

/* Solutions CTA */

.ondemand-section-cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    margin-top: 62px;
    padding-top: 28px;
    border-top: 1px solid #e5ebf3;
}

.ondemand-section-cta > p {
    margin: 0;
    color: #394b65;
    font-family: inherit;
    font-size: 15px;
    line-height: 1.8;
}

.ondemand-text-link,
.ondemand-primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    color: #1769e0;
    font-family: inherit;
    font-size: 14px;
    font-weight: 750;
    line-height: 1.7;
    text-decoration: none;
    transition: color 0.25s ease;
}

.ondemand-text-link {
    flex: 0 0 auto;
}

.ondemand-text-link i,
.ondemand-primary-link i {
    transition: transform 0.25s ease;
}

.ondemand-text-link:hover,
.ondemand-primary-link:hover {
    color: #0d4fb5;
}

.ondemand-text-link:hover i,
.ondemand-primary-link:hover i {
    transform: translateX(5px);
}

/* =========================================
   SECTION 2: FEATURES LAYOUT
   ========================================= */

.ondemand-features-section {
    background: #f7faff;
}

.ondemand-features-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(0, 1.1fr);
    align-items: start;
    gap: 75px;
}

/* Intro content */

.ondemand-features-intro {
    min-width: 0;
}

.ondemand-features-intro h2 {
    font-size: clamp(32px, 3.6vw, 43px);
}

.ondemand-features-intro > p {
    margin-bottom: 28px;
}

/* Image without card styling */

.ondemand-features-image {
    display: block;
    width: 100%;
    max-width: 500px;
    aspect-ratio: 5 / 4;
    margin-top: 28px;
    border: 0;
    border-radius: 8px;
    object-fit: cover;
    object-position: center;
    box-shadow: none;
}

/* =========================================
   FEATURE LIST
   ========================================= */

.ondemand-feature-list {
    display: flex;
    flex-direction: column;
    min-width: 0;
}

.ondemand-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 17px;
    padding: 22px 0;
    background: transparent;
    border: 0;
    border-bottom: 1px solid #e0e8f2;
    border-radius: 0;
    box-shadow: none;
}

.ondemand-feature-item:first-child {
    padding-top: 0;
}

.ondemand-feature-item:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

/* Circular icons */

.ondemand-feature-icon {
    display: flex;
    flex: 0 0 46px;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: #eaf2ff;
    color: #1769e0;
    font-size: 18px;
}

.ondemand-feature-item > div:last-child {
    min-width: 0;
}

.ondemand-feature-item h3 {
    margin: 0 0 8px;
    color: #142747;
    font-family: inherit;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.5;
}

.ondemand-feature-item p {
    margin: 0;
    color: #5a6880;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.85;
}

/* =========================================
   SECTION 3: DEVELOPMENT PROCESS
   ========================================= */

.ondemand-process-section {
    background: #ffffff;
}

.ondemand-process-grid {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    column-gap: 28px;
    row-gap: 35px;
}

.ondemand-process-item {
    position: relative;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

/* Process number */

.ondemand-process-number {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 22px;
    border: 1px solid #cbdcf5;
    border-radius: 50%;
    background: #f2f7ff;
    color: #1769e0;
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    transition:
        color 0.25s ease,
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.ondemand-process-item:hover .ondemand-process-number {
    color: #ffffff;
    background: #1769e0;
    border-color: #1769e0;
}

/* Step label */

.ondemand-process-label {
    display: block;
    margin-bottom: 10px;
    color: #1769e0;
    font-family: inherit;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
    line-height: 1.5;
}

/* Process text */

.ondemand-process-item h3 {
    margin: 0 0 12px;
    color: #142747;
    font-family: inherit;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.5;
}

.ondemand-process-item > p {
    margin: 0;
    color: #5a6880;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.85;
}

/* Bottom CTA */

.ondemand-process-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 28px;
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid #e5ebf3;
}

.ondemand-process-bottom > div {
    min-width: 0;
}

.ondemand-process-bottom h3 {
    margin: 0 0 8px;
    color: #102448;
    font-family: inherit;
    font-size: 20px;
    font-weight: 750;
    line-height: 1.5;
}

.ondemand-process-bottom p {
    margin: 0;
    color: #5a6880;
    font-family: inherit;
    font-size: 14px;
    line-height: 1.8;
}

.ondemand-primary-link {
    flex: 0 0 auto;
    min-height: 48px;
    padding: 12px 20px;
    border: 1px solid #1769e0;
    border-radius: 5px;
    background: #1769e0;
    color: #ffffff;
    transition:
        background-color 0.25s ease,
        border-color 0.25s ease;
}

.ondemand-primary-link:hover {
    background: #0d4fb5;
    border-color: #0d4fb5;
    color: #ffffff;
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1024px) {
    .ondemand-solutions-section,
    .ondemand-features-section,
    .ondemand-process-section {
        padding: 75px 0;
    }

    .ondemand-solutions-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        column-gap: 35px;
        row-gap: 42px;
    }

    .ondemand-features-layout {
        grid-template-columns: minmax(0, 0.85fr) minmax(0, 1.15fr);
        gap: 38px;
    }

    .ondemand-process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        column-gap: 30px;
        row-gap: 42px;
    }

    .ondemand-section-heading {
        margin-bottom: 45px;
    }
}

/* =========================================
   MOBILE
   ========================================= */

@media (max-width: 768px) {
    .ondemand-solutions-section,
    .ondemand-features-section,
    .ondemand-process-section {
        padding: 60px 0;
    }

    .ondemand-solutions-section .container,
    .ondemand-features-section .container,
    .ondemand-process-section .container {
        width: calc(100% - 36px);
    }

    .ondemand-section-heading {
        margin-bottom: 38px;
        text-align: left;
    }

    .ondemand-section-heading h2,
    .ondemand-features-intro h2 {
        font-size: clamp(30px, 7vw, 38px);
        letter-spacing: -0.8px;
    }

    .ondemand-section-heading > p,
    .ondemand-features-intro > p {
        font-size: 14px;
        line-height: 1.85;
    }

    /* Solutions become a clean vertical list */

    .ondemand-solutions-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0;
    }

    .ondemand-solution-item {
        padding: 28px 0;
        border-bottom: 1px solid #e5ebf3;
    }

    .ondemand-solution-item:first-child {
        padding-top: 0;
    }

    .ondemand-solution-item:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .ondemand-solution-icon {
        width: 48px;
        height: 48px;
        margin-bottom: 17px;
        font-size: 19px;
    }

    .ondemand-solution-item h3 {
        font-size: 18px;
    }

    .ondemand-solution-item > p {
        font-size: 14px;
    }

    .ondemand-section-cta {
        align-items: flex-start;
        flex-direction: column;
        gap: 15px;
        margin-top: 36px;
        padding-top: 24px;
    }

    .ondemand-section-cta > p {
        font-size: 14px;
    }

    /* Feature layout */

    .ondemand-features-layout {
        grid-template-columns: minmax(0, 1fr);
        gap: 38px;
    }

    .ondemand-features-image {
        max-width: none;
        aspect-ratio: 16 / 10;
    }

    .ondemand-feature-item {
        gap: 14px;
        padding: 20px 0;
    }

    .ondemand-feature-icon {
        flex-basis: 42px;
        width: 42px;
        height: 42px;
        font-size: 16px;
    }

    .ondemand-feature-item h3 {
        font-size: 16px;
    }

    .ondemand-feature-item p {
        font-size: 13px;
        line-height: 1.8;
    }

    /* Process layout */

    .ondemand-process-grid {
        grid-template-columns: minmax(0, 1fr);
        row-gap: 0;
    }

    .ondemand-process-item {
        display: grid;
        grid-template-columns: 48px minmax(0, 1fr);
        column-gap: 16px;
        padding: 24px 0;
        border-bottom: 1px solid #e5ebf3;
    }

    .ondemand-process-item:first-child {
        padding-top: 0;
    }

    .ondemand-process-item:last-child {
        padding-bottom: 0;
        border-bottom: 0;
    }

    .ondemand-process-number {
        grid-column: 1;
        grid-row: 1 / span 3;
        width: 44px;
        height: 44px;
        margin: 0;
    }

    .ondemand-process-label,
    .ondemand-process-item h3,
    .ondemand-process-item > p {
        grid-column: 2;
    }

    .ondemand-process-label {
        margin-bottom: 7px;
    }

    .ondemand-process-item h3 {
        margin-bottom: 8px;
        font-size: 17px;
    }

    .ondemand-process-item > p {
        font-size: 13px;
    }

    .ondemand-process-bottom {
        align-items: flex-start;
        flex-direction: column;
        gap: 18px;
        margin-top: 36px;
        padding-top: 25px;
    }

    .ondemand-process-bottom h3 {
        font-size: 18px;
    }

    .ondemand-process-bottom p {
        font-size: 13px;
    }
}

/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 420px) {
    .ondemand-solutions-section,
    .ondemand-features-section,
    .ondemand-process-section {
        padding: 48px 0;
    }

    .ondemand-solutions-section .container,
    .ondemand-features-section .container,
    .ondemand-process-section .container {
        width: calc(100% - 28px);
    }

    .ondemand-eyebrow {
        font-size: 10px;
        letter-spacing: 1.1px;
    }

    .ondemand-section-heading h2,
    .ondemand-features-intro h2 {
        font-size: 29px;
    }

    .ondemand-solution-item h3 {
        font-size: 17px;
    }

    .ondemand-process-item {
        grid-template-columns: 42px minmax(0, 1fr);
        column-gap: 13px;
    }

    .ondemand-process-number {
        width: 40px;
        height: 40px;
        font-size: 12px;
    }

    .ondemand-process-item h3 {
        font-size: 16px;
    }

    .ondemand-primary-link {
        width: 100%;
    }
}

/* =========================================
   ACCESSIBILITY: REDUCED MOTION
   ========================================= */

@media (prefers-reduced-motion: reduce) {
    .ondemand-solutions-section *,
    .ondemand-features-section *,
    .ondemand-process-section *,
    .ondemand-solutions-section *::before,
    .ondemand-features-section *::before,
    .ondemand-process-section *::before {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}



/* =========================================
   ANIMATED ROCKET CONNECTED TIMELINE
   ========================================= */

.ondemand-process-section .ondemand-process-grid {
    position: relative;
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 28px;
    margin-top: 65px;
}

/* Timeline line */

.ondemand-process-section .ondemand-process-grid::before {
    content: "";
    position: absolute;
    top: 24px;
    left: 5%;
    right: 5%;
    height: 2px;
    background: #dbe8fb;
}

/* Animated line progress */

.ondemand-process-section .ondemand-process-grid .rocket-track {
    display: none;
}

/* Rocket element */

.ondemand-process-section .process-rocket {
    position: absolute;
    z-index: 5;
    top: 9px;
    left: 5%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #1769e0;
    background: #ffffff;
    border-radius: 50%;
    font-size: 21px;
    transform: translateX(-50%) rotate(45deg);
    animation: rocketTravel 12s ease-in-out infinite;
    pointer-events: none;
}

/* Step items */

.ondemand-process-section .ondemand-process-item {
    position: relative;
    min-width: 0;
    padding: 0;
    background: transparent;
    border: 0;
    box-shadow: none;
    transition: transform 0.3s ease;
}

/* Number circles */

.ondemand-process-section .ondemand-process-number {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0 0 25px;
    border: 2px solid #1769e0;
    border-radius: 50%;
    background: #ffffff;
    color: #1769e0;
    font-size: 13px;
    font-weight: 800;
    box-shadow: 0 0 0 6px #ffffff;
    transition:
        color 0.3s ease,
        background 0.3s ease,
        transform 0.3s ease;
}

.ondemand-process-section .ondemand-process-item:hover
.ondemand-process-number {
    background: #1769e0;
    color: #ffffff;
    transform: scale(1.08);
}

/* Step text */

.ondemand-process-section .ondemand-process-label {
    display: block;
    margin-bottom: 10px;
    color: #1769e0;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.ondemand-process-section .ondemand-process-item h3 {
    margin: 0 0 12px;
    color: #142747;
    font-family: inherit;
    font-size: 17px;
    font-weight: 750;
    line-height: 1.5;
}

.ondemand-process-section .ondemand-process-item > p {
    margin: 0;
    color: #5a6880;
    font-family: inherit;
    font-size: 13px;
    line-height: 1.85;
}

/* =========================================
   ROCKET MOVEMENT: LEFT TO RIGHT
   ========================================= */

@keyframes rocketTravel {
    0% {
        left: 5%;
        transform: translateX(-50%) rotate(45deg);
    }

    20% {
        left: 27.5%;
        transform: translateX(-50%) rotate(45deg);
    }

    40% {
        left: 50%;
        transform: translateX(-50%) rotate(45deg);
    }

    60% {
        left: 72.5%;
        transform: translateX(-50%) rotate(45deg);
    }

    80%,
    100% {
        left: 95%;
        transform: translateX(-50%) rotate(45deg);
    }
}

/* =========================================
   TABLET
   ========================================= */

@media (max-width: 1024px) {
    .ondemand-process-section .ondemand-process-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 40px;
    }

    .ondemand-process-section .ondemand-process-grid::before,
    .ondemand-process-section .process-rocket {
        display: none;
    }
}

/* =========================================
   MOBILE: VERTICAL ROCKET MOVEMENT
   ========================================= */

@media (max-width: 768px) {
    .ondemand-process-section .ondemand-process-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 0;
        margin-top: 38px;
        padding-left: 0;
    }

    .ondemand-process-section .ondemand-process-item {
        display: grid;
        grid-template-columns: 50px minmax(0, 1fr);
        column-gap: 18px;
        padding: 0 0 35px;
    }

    .ondemand-process-section .ondemand-process-item:not(:last-child)::before {
        content: "";
        position: absolute;
        top: 50px;
        bottom: 0;
        left: 24px;
        width: 2px;
        background: #dbe8fb;
    }

    .ondemand-process-section .ondemand-process-number {
        grid-column: 1;
        grid-row: 1 / span 3;
        width: 50px;
        height: 50px;
        margin: 0;
    }

    .ondemand-process-section .ondemand-process-label,
    .ondemand-process-section .ondemand-process-item h3,
    .ondemand-process-section .ondemand-process-item > p {
        grid-column: 2;
    }

    /* Vertical rocket */
    .ondemand-process-section .process-rocket {
        display: flex;
        top: 0;
        left: 24px;
        transform: translate(-50%, -50%) rotate(135deg);
        animation: rocketTravelVertical 15s ease-in-out infinite;
    }

    @keyframes rocketTravelVertical {
        0% {
            top: 0;
            left: 24px;
            transform: translate(-50%, -50%) rotate(135deg);
        }

        20% {
            top: 20%;
            left: 24px;
        }

        40% {
            top: 40%;
            left: 24px;
        }

        60% {
            top: 60%;
            left: 24px;
        }

        80% {
            top: 80%;
            left: 24px;
        }

        100% {
            top: 100%;
            left: 24px;
        }
    }
}

/* =========================================
   SMALL MOBILE
   ========================================= */

@media (max-width: 420px) {
    .ondemand-process-section .ondemand-process-item {
        grid-template-columns: 44px minmax(0, 1fr);
        column-gap: 14px;
    }

    .ondemand-process-section .ondemand-process-number {
        width: 44px;
        height: 44px;
    }

    .ondemand-process-section .ondemand-process-item:not(:last-child)::before {
        top: 44px;
        left: 21px;
    }

    .ondemand-process-section .process-rocket {
        left: 21px;
    }

    @keyframes rocketTravelVertical {
        0% {
            top: 0;
            left: 21px;
            transform: translate(-50%, -50%) rotate(135deg);
        }

        20% { top: 20%; left: 21px; }
        40% { top: 40%; left: 21px; }
        60% { top: 60%; left: 21px; }
        80% { top: 80%; left: 21px; }
        100% { top: 100%; left: 21px; }
    }
}

/* Accessibility */

@media (prefers-reduced-motion: reduce) {
    .ondemand-process-section .process-rocket {
        animation: none;
    }
}
