/* Hero — graphic-print template */
.hero .container-flexible {
    --container-flexible-a: 0.6;
    --container-flexible-b: 0.4;
}

.hero .hero-image-container {
    margin-top: -160px;
}

.hero .animate img {
    width: 85%;
    height: auto;
}

.ecommerce-platform-logos {
    padding: 48px 0;
}

.ecommerce-platform-logos img {
    height: 38px;
    width: auto;
    margin-right: 30px;
    filter: grayscale(1);
    opacity: 0.6;
}

@media (max-width: 1299px) {

    .ecommerce-platform-logos img {
        height: 60px;
        width: auto;
        margin: 30px auto;
        display: block;
    }

    .hero .hero-image-container {
        margin-top: -120px;
        padding: 0px 40px;
    }

    .hero .hero-image-container img {
        width: 100%;
    }
}

section.our-approach {
    padding-top: 40px
}

.our-approach .no-style li {
    padding-left: 40px;
    position: relative;
}

.our-approach .no-style li .check-icon {
    position: absolute;
    lefT: 0;
    top: calc(50% - 20px);
}


.ecommerce-websites {
    text-align: center;
}


.capabilities {
    background: #f9f9f9;
    padding: var(--section-padding) 0;
    text-align: center;
}

.capabilities-intro {
    margin-bottom: 56px;
}

.capabilities-intro .title-h4 {
    margin: 12px 0 16px;
}

.capabilities-intro p {
    margin: 0;
    max-width: 640px;
    margin-inline: auto;
}

.platforms {
    margin-top: 120px;
}

.platforms>div {
    border: 1px solid var(--color-ink-soft);
    border-radius: var(--radius);
    padding: 40px;
    background-color: #fff;
}

.platforms>div>div {
    display: flex;
    flex-direction: column;
    height: 100%;
}

.platforms>div>div * {
    flex-grow: 0;
}

.platforms>div>div .expand {
    flex-grow: 1;
    min-height: 60px;
}

.platforms div img {
    height: 70px;
    margin-top: -120px;
    background-color: #fff;
    border: 10px solid #fff;
}

.platforms ul {
    margin-left: 20px;
    font-weight: 700;
}

@media (max-width: 1299px) {
    .platforms>div {
        margin-bottom: 40px;
    }
}

/* OTHER PAGE */
section.stats {
    padding-top: 0px;
}

section.stats .container-small {
    padding-top: 60px;
    color: var(--color-text-ink2)
}

.stats .text-small {
    font-size: 12px;
    color: var(--color-text-ink2)
}

.stat-huge-num {
    font-size: clamp(80px, 8vw, 140px);
    font-weight: 800;
    color: #111;
    line-height: 1;
    display: block;
    margin-bottom: 20px;
    letter-spacing: -0.015em;
}

.stat-huge-num .symbol {
    font-size: 0.5em;
    color: var(--accent);
    vertical-align: top;
    margin-left: 5px;
}

.stat-content h4 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #111;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-content p {
    font-size: 16px;
    line-height: 1.5;

}


/* UPDATED LIST STYLES (Larger, No Bullets) */
.ecomm-check-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 30px auto;
    max-width: 100%;
}

.ecomm-check-list li {
    font-size: 18px;
    /* Bigger text */
    font-weight: 700;
    /* Bolder */
    color: #111;
    margin-bottom: 15px;
    padding-left: 30px;
    /* More space for checkmark */
    position: relative;
    line-height: 1.4;
}

.ecomm-check-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    top: 0px;
    color: var(--accent);
    font-size: 20px;
    /* Bigger Checkmark */
    font-weight: 800;
}

.service-cta-btn {
    display: inline-block;
    margin-top: 30px;
    padding: 12px 20px;
    border: 1px solid #111;
    color: #111;
    text-decoration: none;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    align-self: center;
    font-size: 14px;
}

.service-cta-btn:hover {
    background: #111;
    color: #fff;
}

/* 6. HORIZONTAL SCROLL PORTFOLIO */
.horizontal-scroll-section {
    position: relative;
    height: 400vh;
    /* Determines scroll length */
    background: #fff;
    border-top: 1px solid #E5E5E5;
}

.horizontal-scroll-section .title-small {
    margin-top: -15px;
}

.horizontal-sticky-wrapper {
    position: sticky;
    top: 0;
    height: 90vh;
    width: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.horizontal-header {
    position: absolute;
    top: 60px;
    left: 40px;
    z-index: 10;
}

.horizontal-header h3 {
    font-size: 14px;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.horizontal-track {
    display: flex;
    gap: 80px;
    padding-left: 40px;
    /* Start padding */
    width: fit-content;
    will-change: transform;
}

.hz-item {
    width: 60vw;
    /* Huge Images */
    max-width: 900px;
    flex-shrink: 0;
    text-decoration: none;
    group: relative;
}

.hz-img-wrap {
    width: 100%;
    aspect-ratio: 16/10;
    overflow: hidden;
    margin-bottom: 20px;
}

.hz-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hz-item:hover .hz-img {
    transform: scale(1.03);
}

.hz-content h4 {
    font-size: 36px;
    font-weight: 800;
    color: #111;
    margin-bottom: 5px;
}

.hz-content span {
    font-size: 16px;
    font-weight: 700;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Responsive */
@media (max-width: 1299px) {
    .ecomm-hero-visual-wrapper {
        height: 50vh;
    }

    .reality-grid {
        grid-template-columns: 1fr 1fr;
        gap: 60px;
    }

    .ecomm-services-grid {
        grid-template-columns: 1fr;
        gap: 100px;
    }

    /* Disable horizontal scroll on mobile for better UX */
    .horizontal-scroll-section {
        height: auto;
    }

    .horizontal-sticky-wrapper {
        position: relative;
        height: auto;
        display: block;
        padding: 40px 0;
    }

    .horizontal-track {
        flex-direction: column;
        width: 100%;
        padding: 0 20px;
        gap: 60px;
        transform: none !important;
    }

    .horizontal-header {
        position: relative;
        top: 0;
        left: 0;
        padding: 0 0px 0px 0px;
    }

    .hz-item {
        width: 100%;
        max-width: 100%;
    }
}

@media (max-width: 1299px) {
    .reality-grid {
        grid-template-columns: 1fr;
    }

    .horizontal-track a {
        display: flex;
        flex-wrap: wrap;
        padding-bottom: 40px;
        border-bottom: 1px solid var(--color-border);
    }

    .horizontal-track a>*:first-child {
        order: 6;
        margin-top: 10px;
    }
}