﻿:root {
    --navy: #181b49;
    --ink: #253448;
    --blue: #168dd1;
    --pale: #e4eaf0
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: Arial,Helvetica,sans-serif;
    color: var(--ink);
    background: white
}

a {
    text-decoration: none;
    color: inherit
}

img {
    max-width: 100%
}

button, input, textarea {
    font: inherit
}

.container {
    width: min(100% - 72px,1440px);
    margin-inline: auto
}

h1, h2, h3, p {
    margin-top: 0
}

.site-header {
    background: linear-gradient( to right, #cad6e6 11%, #6987a9 95% );
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 1000;
}



.navbar {
    min-height: 78px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.brand img {
    display: block;
    width: 150px
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 30px
}

    .nav-links a {
        font-size: 13px;
        font-weight: 700;
        white-space: nowrap
    }

.nav-contact {
    background: #111934;
    color: #fff;
    padding: 12px 18px;
    border-radius: 18px
}

.hero {
    min-height: 600px;
    display: flex;
    align-items: center;
    color: #fff;
    background: #101735 url('/images/backgrounds/Background1.png') center/cover no-repeat
}

.hero-inner {
    padding-block: 100px
}

.hero h1 {
    font-size: clamp(34px,4.4vw,64px);
    font-weight: 400;
    line-height: 1.35;
    max-width: 800px
}

.hero p {
    max-width: 370px;
    line-height: 1.45;
    margin: 60px 0 20px
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 25px
}

.button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 19px 30px;
    border-radius: 12px;
    font-size: 15px
}

.button-light {
    background: #fff;
    color: #65727f
}

.button-dark {
    background: rgba(24,27,73,.94);
    border-radius: 16px;
    color: #fff
}

.clients {
    background: #e4eaf0;
    padding: 20px 0 30px;
    overflow: hidden
}

.eyebrow {
    font-size: 15px;
    margin-bottom: 18px;
    color: #596b78
}

.client-carousel {
    overflow: hidden
}

.client-track {
    display: flex;
    width: max-content;
    animation: scrollLogos 25s linear infinite
}

.client-logo-group {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    gap: 80px;
    padding-right: 80px
}

    .client-logo-group img {
        width: 220px;
        height: 100px;
        object-fit: contain;
        max-width: none
    }

@keyframes scrollLogos {
    to {
        transform: translateX(-50%)
    }
}

.solutions {
    min-height: 760px;
    color: white;
    background: #101b35 url('/images/backgrounds/skyline.png') center/cover no-repeat
}

.solutions-inner {
    min-height: 760px;
    padding-block: 75px 55px;
    display: flex;
    flex-direction: column;
    justify-content: space-between
}

.solutions-intro {
    background: rgba(228,234,240,.94);
    border-radius: 16px;
    color: #334455;
    text-align: center;
    padding: 24px 35px;
    max-width: 1250px;
    margin-inline: auto;
    line-height: 1.5
}

    .solutions-intro p:last-child {
        margin-bottom: 0
    }

.solutions-bottom {
    display: flex;
    align-items: flex-end;
    gap: 10px
}

    .solutions-bottom h2 {
        font-weight: 400;
        font-size: clamp(35px,4.5vw,70px);
        letter-spacing: 1px;
        line-height: 1.05;
        margin: 0;
        white-space: nowrap
    }

.solutions-features {
    display: grid;
    gap: 16px;
    flex: 1;
    min-width: 0
}

.solution-feature {
    background: rgba(228,234,240,.94);
    border-radius: 10px;
    color: #34475a;
    text-align: center;
    padding: 12px
}

    .solution-feature h3 {
        font-size: 17px;
        margin: 0 0 3px
    }

    .solution-feature p {
        font-size: 12px;
        line-height: 1.4;
        margin: 0
    }

.section-pad {
    padding-block: 65px 100px
}

.categories h2, .privacy h2, .progress h2, .faqs h2 {
    font-size: clamp(26px,2.7vw,36px);
    font-weight: 400;
    margin-bottom: 8px
}

.section-lead {
    font-size: 18px;
    line-height: 1.5
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(4,minmax(0,1fr));
    gap: 42px;
    margin-top: 60px
}

.category-card {
    aspect-ratio: .79;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    color: white;
    background: #39425a var(--card-image) center/cover no-repeat;
    box-shadow: 0 7px 18px #0002;
    transition: transform .25s
}

    .category-card:hover {
        transform: translateY(-5px)
    }

.card-default, .card-hover {
    position: absolute;
    inset: auto 0 0;
    padding: 18px;
    transition: opacity .25s,transform .25s
}

.card-default {
    background: #0d1325d9;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    min-height: 100px
}

    .card-default h3 {
        font-size: clamp(17px,1.65vw,24px);
        line-height: 1.12;
        font-weight: 500;
        margin: 0
    }

    .card-default span {
        font-size: 42px
    }

.card-hover {
    background: #193567f5;
    opacity: 0;
    transform: translateY(20px);
    min-height: 155px
}

    .card-hover h3 {
        font-size: 20px;
        margin: 0 0 8px
    }

    .card-hover p {
        font-size: 13px;
        line-height: 1.5
    }

    .card-hover span {
        display: block;
        text-align: right;
        font-size: 14px
    }

.category-card:hover .card-default, .category-card:focus-visible .card-default {
    opacity: 0
}

.category-card:hover .card-hover, .category-card:focus-visible .card-hover {
    opacity: 1;
    transform: translateY(0)
}

.privacy {
    padding: 35px 0 0
}

.privacy-art {
    display: grid;
    grid-template-columns: 40% 60%;
    align-items: center;
    min-height: 330px;
    margin-top: 35px
}

.compliance-logos {
    display: flex;
    align-items: center;
    gap: 35px
}

    .compliance-logos img:first-child {
        width: 145px
    }

    .compliance-logos img:last-child {
        width: 230px
    }

.documents-art {
    width: 100%;
    max-height: 370px;
    object-fit: contain;
    object-position: center bottom
}

.progress {
    position: relative;
    margin-top: -80px;
    padding: 120px 0 85px;
    background: linear-gradient(to bottom,transparent 0%,#ffffffc9 18%,white 38%)
}

.progress-heading {
    text-align: right;
    margin-bottom: 45px
}

    .progress-heading p {
        font-size: 18px
    }

.progress-grid {
    display: grid;
    grid-template-columns: minmax(0,65fr) minmax(0,35fr);
    gap: 40px;
    align-items: center
}

.progress-bars {
    display: grid;
    gap: 25px
}

.progress-bar {
    background: linear-gradient(100deg,#11183f,#173a80 48%,#08a9ed);
    border-radius: 7px;
    min-height: 66px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
    text-align: center;
    padding: 14px 18px;
    font-size: 15px;
    box-shadow: 0 5px 12px #0002
}

    .progress-bar strong {
        font-weight: 700
    }

    .progress-bar span {
        font-size: 22px
    }

    .progress-bar:nth-child(1), .progress-bar:nth-child(5) {
        margin-left: 60px;
        margin-right: 60px
    }

    .progress-bar:nth-child(2), .progress-bar:nth-child(4) {
        margin-left: 35px;
        margin-right: 35px
    }

.progress-promises {
    display: grid;
    gap: 85px;
    padding-left: 15px
}

    .progress-promises p {
        font-size: clamp(24px,2.5vw,38px);
        line-height: 1.12;
        color: #10182b
    }

    .progress-promises em {
        font-style: normal;
        color: #1478ae;
        font-weight: 700
    }

.results {
    background: #181b49;
    color: white;
    padding: 75px 0 90px
}

    .results h2 {
        font-size: 29px;
        margin-bottom: 65px
    }

.results-grid {
    display: grid;
    grid-template-columns: repeat(3,minmax(0,1fr));
    align-items: center;
    gap: 12px
}

.result-card {
    background: #133653;
    border: 1px solid #1a567a;
    border-radius: 6px;
    min-height: 270px;
    padding: 35px 22px;
    opacity: .72
}

    .result-card h3 {
        font-size: 23px
    }

    .result-card p {
        font-size: 15px;
        line-height: 1.6
    }

    .result-card.featured {
        background: #23639c;
        opacity: 1;
        min-height: 340px;
        box-shadow: 0 10px 30px #0003
    }

.before-after {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
    font-size: 13px;
    line-height: 1.6
}

.faqs {
    background: #f5f6f8
}

    .faqs h2 {
        font-size: 35px;
        color: #181b49
    }

.faq-list {
    display: grid;
    gap: 16px
}

    .faq-list details {
        border: 1px solid #25335c;
        border-radius: 5px;
        overflow: hidden
    }

    .faq-list summary {
        cursor: pointer;
        list-style: none;
        background: white;
        padding: 15px 20px;
        font-size: 16px
    }

        .faq-list summary::-webkit-details-marker {
            display: none
        }

        .faq-list summary:after {
            content: '+';
            float: right;
            font-size: 22px
        }

    .faq-list details[open] summary:after {
        content: '−'
    }

    .faq-list details p {
        background: #30365e;
        color: white;
        padding: 18px 22px;
        margin: 0;
        font-size: 14px;
        line-height: 1.6
    }

.faq-end {
    text-align: right;
    margin-top: 50px;
    font-size: 14px
}

.footer {
    background: #181b49;
    color: #fff;
    padding: 35px 0 25px
}

.footer-top {
    display: flex;
    align-items: center;
    gap: 28px;
    border-bottom: 1px solid #ffffff3d;
    padding-bottom: 25px
}

    .footer-top img {
        width: 150px
    }

    .footer-top p {
        font-size: 14px;
        margin: 0
    }

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.1fr;
    gap: 35px;
    padding: 30px 0
}

    .footer-grid h3 {
        font-size: 16px
    }

    .footer-grid a, .footer-grid p {
        display: block;
        color: #dce4f0;
        font-size: 13px;
        line-height: 1.7;
        margin-bottom: 8px
    }

.footer-contact form {
    background: #f3f5fa;
    padding: 18px;
    border-radius: 8px;
    display: grid;
    gap: 10px
}

.footer-contact input, .footer-contact textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #aeb9d0;
    border-radius: 4px;
    color: #172341;
    background: white
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px
}

.footer-contact button {
    background: #181b49;
    color: #fff;
    border: 0;
    border-radius: 5px;
    padding: 12px;
    cursor: pointer
}

.footer-contact .form-notice {
    color: #172341;
    margin: 0
}

.copyright {
    text-align: center;
    font-size: 12px;
    color: #d5dbea;
    margin: 15px 0 0
}

@media(max-width:1050px) {
    .nav-links {
        gap: 14px
    }

    .category-grid {
        gap: 20px
    }

    .solutions-bottom h2 {
        font-size: clamp(30px,4vw,48px)
    }

    .compliance-logos {
        gap: 15px
    }

        .compliance-logos img:first-child {
            width: 100px
        }

        .compliance-logos img:last-child {
            width: 175px
        }

    .progress-grid {
        gap: 20px
    }

    .progress-bar {
        font-size: 13px
    }

    .footer-grid {
        grid-template-columns: 1.5fr 1fr 1fr
    }
}

@media(max-width:750px) {
    .container {
        width: min(100% - 36px,1440px)
    }

    .navbar {
        padding-block: 15px;
        flex-wrap: wrap
    }

    .nav-links {
        flex-wrap: wrap;
        gap: 12px
    }

        .nav-links a {
            font-size: 11px
        }

    .brand img {
        width: 120px
    }

    .hero {
        min-height: 480px
    }

    .hero-inner {
        padding-block: 70px
    }

    .hero p {
        margin-top: 35px
    }

    .client-logo-group {
        gap: 35px;
        padding-right: 35px
    }

        .client-logo-group img {
            width: 145px;
            height: 75px
        }

    .solutions, .solutions-inner {
        min-height: 0
    }

    .solutions-inner {
        gap: 90px;
        padding-block: 40px
    }

    .solutions-intro {
        padding: 20px;
        font-size: 14px
    }

    .solutions-bottom {
        flex-direction: column;
        align-items: stretch;
        gap: 25px
    }

        .solutions-bottom h2 {
            white-space: normal;
            font-size: 40px
        }

    .category-grid {
        grid-template-columns: repeat(2,minmax(0,1fr))
    }

    .privacy-art {
        grid-template-columns: 1fr;
        gap: 25px
    }

    .compliance-logos {
        justify-content: center
    }

    .documents-art {
        max-height: 260px
    }

    .progress {
        margin-top: -40px;
        padding: 70px 0
    }

    .progress-heading {
        text-align: left
    }

    .progress-grid {
        grid-template-columns: 1fr
    }

    .progress-bar:nth-child(n) {
        margin: 0
    }

    .progress-promises {
        grid-template-columns: 1fr 1fr;
        gap: 20px;
        padding: 0
    }

        .progress-promises p {
            font-size: 25px
        }

    .results-grid {
        grid-template-columns: 1fr
    }

    .result-card, .result-card.featured {
        min-height: 0
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr
    }
}

@media(max-width:480px) {
    .category-grid {
        grid-template-columns: 1fr
    }

    .category-card {
        max-width: 400px;
        width: 100%;
        margin-inline: auto
    }

    .progress-promises {
        grid-template-columns: 1fr
    }

    .footer-grid {
        grid-template-columns: 1fr
    }

    .footer-top {
        align-items: flex-start;
        flex-direction: column
    }

    .form-row {
        grid-template-columns: 1fr
    }
}

@media(hover:none) {
    .card-hover {
        opacity: 1;
        transform: none
    }

    .card-default {
        opacity: 0
    }
}

@media(prefers-reduced-motion:reduce) {
    .client-track {
        animation: none
    }

    .category-card, .card-default, .card-hover {
        transition: none
    }
}


/* ======================================
   ENTERPRISE CONTENT MANAGEMENT PAGE
   All styles below are page-specific.
====================================== */
.ecm-hero {
    min-height: 520px;
    display: flex;
    align-items: center;
    background: #101a3b url('/images/backgrounds/Background1.png') center/cover no-repeat;
    color: #fff
}

    .ecm-hero .container {
        padding-block: 100px
    }

    .ecm-hero h1 {
        font-size: clamp(35px,4.5vw,65px);
        font-weight: 400;
        margin-bottom: 18px
    }

    .ecm-hero p {
        font-size: 18px;
        margin-bottom: 50px
    }

.consult-button {
    display: inline-flex;
    background: #fff;
    color: #253858;
    border-radius: 13px;
    padding: 18px 60px;
    font-size: 15px;
    box-shadow: 0 3px 9px #0002
}

.ecm-process {
    background: #f1f2f4;
    overflow: hidden
}

.process-container {
    position: relative;
    padding-top: 110px;
    padding-bottom: 0
}

.process-line {
    position: absolute;
    left: 23%;
    top: 45px;
    width: 45%;
    height: 1000px;
    border: 13px solid #08b3d4;
    border-left: 0;
    border-bottom: 0;
    border-radius: 0 400px 0 0;
    transform: rotate(8deg);
    opacity: .92;
    pointer-events: none;
    z-index: 0
}

.step-marker {
    position: absolute;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #0d1644;
    font-size: 15px
}

    .step-marker span {
        display: grid;
        place-items: center;
        flex: 0 0 76px;
        width: 76px;
        height: 76px;
        background: #08b3d4;
        color: white;
        border-radius: 50%;
        font-size: 46px;
        font-weight: 700
    }

    .step-marker p {
        margin: 0;
        line-height: 1.35
    }

.marker-one {
    top: 5px;
    left: 47%
}

.marker-two {
    top: 590px;
    left: 0
}

.marker-three {
    top: 1220px;
    right: 0
}

.marker-four {
    top: 1590px;
    left: 5%
}

.intake-grid {
    position: relative;
    z-index: 1;
    display: grid;
    grid-template-columns: 1fr 35px 1fr 35px 1fr;
    align-items: center;
    gap: 20px;
    margin: 15px 0 90px
}

.intake-card {
    height: 315px;
    background: #181b49;
    color: white;
    border-radius: 8px;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    padding: 35px 20px 0
}

    .intake-card h2 {
        font-size: 19px;
        font-weight: 400;
        line-height: 1.4
    }

.intake-symbol {
    font-size: 140px;
    line-height: 1;
    color: #70738f
}

    .intake-symbol span {
        font-size: 65px
    }

    .intake-symbol small {
        font-size: 60px
    }

.or-label {
    text-align: center;
    font-size: 17px;
    color: #181b49;
    font-weight: 700
}

.process-aside {
    text-align: right;
    font-size: 15px;
    margin: 0 0 18px
}

.file-lists {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 45px;
    position: relative;
    z-index: 1;
    max-width: 1120px;
    margin: 0 auto 130px
}

.file-list {
    border-radius: 15px;
    background: #e0e3e9;
    overflow: hidden;
    color: #aab2c3
}

    .file-list div {
        padding: 18px 22px;
        border-bottom: 1px solid #b9c1cf;
        min-height: 55px;
        font-size: 17px
    }

.portal-intro {
    margin-top: 60px;
    position: relative;
    z-index: 1
}

    .portal-intro h2, .storage h2, .lifecycle h2 {
        font-size: 24px;
        font-weight: 400;
        margin-bottom: 6px
    }

    .portal-intro p, .storage p, .lifecycle p {
        font-size: 15px
    }

.browser-mock {
    position: relative;
    z-index: 1;
    width: 80%;
    margin: 55px 0 110px auto;
    background: white;
    border-radius: 22px 22px 0 0;
    box-shadow: 0 5px 15px #0001;
    overflow: hidden
}

.browser-controls {
    height: 90px;
    display: flex;
    align-items: center;
    gap: 18px;
    background: #d9dde6;
    padding: 0 40px
}

    .browser-controls i {
        display: block;
        width: 42px;
        height: 42px;
        border-radius: 50%;
        background: #ff5c60
    }

        .browser-controls i:nth-child(2) {
            background: #ffbb31
        }

        .browser-controls i:nth-child(3) {
            background: #27bd54
        }

    .browser-controls strong {
        font-size: 30px;
        font-weight: 400;
        margin-left: 30px
    }

.browser-bar {
    display: flex;
    align-items: center;
    gap: 30px;
    padding: 25px;
    font-size: 29px;
    color: #192451
}

    .browser-bar div {
        background: #b8cce8;
        color: #566f94;
        padding: 15px 25px;
        border-radius: 40px;
        font-size: 22px;
        flex: 1
    }

.storage {
    text-align: right;
    margin: 80px 0 90px
}

.storage-boxes {
    display: grid;
    grid-template-columns: repeat(5,1fr);
    gap: 20px;
    margin-top: 25px
}

    .storage-boxes div {
        height: 180px;
        border: 2px solid #8b95af;
        background: #f8f9fb;
        display: grid;
        place-items: center;
        font-size: 90px;
        color: #8b95af
    }

.lifecycle {
    margin: 0 0 0
}

.cycle-symbol {
    font-size: 150px;
    line-height: 1.2;
    text-align: center;
    color: #181b49;
    letter-spacing: 30px
}

.ecm-search {
    background: #181b49;
    color: #fff;
    padding: 50px 0 65px
}

    .ecm-search h2 {
        font-size: 24px;
        font-weight: 400;
        margin-bottom: 5px
    }

    .ecm-search p {
        font-size: 16px
    }

.centered {
    text-align: center
}

.ecm-search .centered:first-of-type {
    margin-top: 30px
}

.portal-screenshot {
    display: block;
    width: 100%;
    min-height: 340px;
    object-fit: contain;
    background: #fff;
    border: 1px solid #d6dbe5;
    margin-top: 25px
}

.ecm-reporting {
    background: #f1f2f4;
    padding: 70px 0 0
}

    .ecm-reporting h2 {
        font-size: 24px;
        font-weight: 400;
        margin-bottom: 8px
    }

    .ecm-reporting p {
        font-size: 16px;
        line-height: 1.5
    }

.report-cards {
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 28px;
    margin: 35px 0 60px
}

    .report-cards article {
        background: #fff;
        min-height: 290px;
        border-radius: 7px;
        box-shadow: 0 5px 15px #0002;
        padding: 20px;
        display: flex;
        flex-direction: column;
        justify-content: space-between
    }

    .report-cards h3 {
        font-size: 17px;
        font-weight: 400;
        text-align: center
    }

.mini-chart {
    height: 200px;
    display: flex;
    align-items: end;
    justify-content: space-around;
    gap: 15px;
    padding: 20px
}

    .mini-chart.bars span {
        background: #808ba8;
        width: 15%;
        height: 40%
    }

        .mini-chart.bars span:nth-child(2) {
            height: 65%
        }

        .mini-chart.bars span:nth-child(3) {
            height: 80%
        }

        .mini-chart.bars span:nth-child(4) {
            height: 45%
        }

        .mini-chart.bars span:nth-child(5) {
            height: 70%
        }

    .mini-chart.line svg {
        width: 100%
    }

    .mini-chart.blocks {
        display: grid;
        grid-template-columns: 1fr 1fr;
        align-items: center
    }

        .mini-chart.blocks span {
            background: #e7ebf4;
            border: 1px solid #abb8d2;
            padding: 20px;
            text-align: center;
            font-size: 13px
        }

.reporting-shot {
    margin-top: 20px
}

.reporting-bottom {
    text-align: right;
    padding: 80px 0 40px
}

    .reporting-bottom h2 {
        margin-top: 35px
    }

@media(max-width:800px) {
    .ecm-hero {
        min-height: 400px
    }

    .process-container {
        padding-top: 125px
    }

    .process-line {
        display: none
    }

    .step-marker {
        position: static;
        margin: 25px 0
    }

        .step-marker span {
            flex-basis: 55px;
            width: 55px;
            height: 55px;
            font-size: 32px
        }

    .intake-grid {
        grid-template-columns: 1fr;
        gap: 10px;
        margin-bottom: 35px
    }

    .intake-card {
        height: 210px
    }

    .intake-symbol {
        font-size: 75px
    }

    .or-label {
        padding: 5px
    }

    .file-lists {
        gap: 15px;
        margin-bottom: 35px
    }

    .file-list div {
        font-size: 12px;
        padding: 12px 8px;
        min-height: 45px
    }

    .browser-mock {
        width: 100%;
        margin: 25px 0 50px
    }

    .browser-controls {
        height: 50px;
        padding: 0 12px;
        gap: 8px
    }

        .browser-controls i {
            width: 18px;
            height: 18px
        }

        .browser-controls strong {
            font-size: 17px;
            margin-left: 8px
        }

    .browser-bar {
        font-size: 18px;
        gap: 10px;
        padding: 12px
    }

        .browser-bar div {
            font-size: 12px;
            padding: 12px
        }

    .storage {
        text-align: left;
        margin: 35px 0
    }

    .storage-boxes {
        gap: 5px
    }

        .storage-boxes div {
            height: 70px;
            font-size: 35px
        }

    .cycle-symbol {
        font-size: 60px;
        letter-spacing: 0
    }

    .report-cards {
        grid-template-columns: 1fr
    }

    .portal-screenshot {
        min-height: 180px
    }

    .reporting-bottom {
        padding-top: 30px
    }
}



/* ==============================================
   ENTERPRISE CONTENT MANAGEMENT — FINAL ANIMATIONS
   Keep the existing base styles above this block.
============================================== */
.ecm-process {
    position: relative;
    overflow: hidden;
}

.process-container {
    isolation: isolate;
}

.process-line {
    display: none !important;
}

.process-line-svg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: visible;
    pointer-events: none;
}

    .process-line-svg path {
        fill: none;
        stroke-linecap: round;
        stroke-linejoin: round;
        stroke-width: 13;
    }

.process-path-base {
    stroke: #04afd0;
    opacity: .9;
}

.process-path-active {
    stroke: #42e5ff;
    filter: drop-shadow(0 0 8px #27d9f5);
    stroke-dasharray: 0 1;
}

.step-marker {
    z-index: 3;
}

    .step-marker span {
        position: relative;
        z-index: 2;
    }

.intake-grid, .file-lists, .portal-intro, .browser-mock, .storage, .lifecycle {
    position: relative;
    z-index: 1;
}
/* The reference uses dark navy cards and artwork anchored near their bottom. */
.intake-card {
    transition: background .3s ease, box-shadow .3s ease;
}

    .intake-card:hover {
        background: #202c66;
        box-shadow: 0 12px 30px #10183c35;
    }

    .intake-card .intake-symbol {
        width: 82%;
        height: 165px;
        margin: 0 auto 0;
        display: flex;
        align-items: end;
        justify-content: center;
    }

.intake-image {
    display: block;
    max-width: 100%;
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center bottom;
    filter: grayscale(1) saturate(.35);
    opacity: .7;
    transition: transform .75s cubic-bezier(.22,1,.36,1), filter .45s, opacity .45s;
}

.intake-card:hover .intake-image {
    filter: grayscale(0) saturate(1.5);
    opacity: 1;
}

.intake-shipping .intake-image {
    transform: translateX(-24%) scale(.82);
}

.intake-shipping:hover .intake-image {
    transform: translateX(0) scale(1.06);
}

.intake-upload .intake-image {
    transform: scale(.83);
}

.intake-upload:hover .intake-image {
    transform: scale(1.08);
}

.intake-sftp .intake-image {
    transform: translateX(24%) scale(.83);
}

.intake-sftp:hover .intake-image {
    transform: translateX(0) scale(1.08);
}
/* Step 2: slower, staggered downward arrival */
.file-list {
    opacity: 0;
    transform: translateY(-75px);
    transition: opacity 1s ease, transform 1.45s cubic-bezier(.22,1,.36,1);
}

    .file-list.is-visible {
        opacity: 1;
        transform: translateY(0);
    }

    .file-list:nth-child(2) {
        transition-delay: .2s;
    }
/* Step 3: type-on URL, then refresh icon */
.portal-address {
    overflow: hidden;
    min-width: 0;
}

.browser-bar .portal-address {
    display: flex;
    align-items: center;
}

.typing-text {
    display: inline-block;
    width: 0;
    max-width: 100%;
    overflow: hidden;
    white-space: nowrap;
    border-right: 2px solid #2b6398;
}

.browser-mock.is-visible .typing-text {
    animation: ecmType 2.4s steps(31,end) forwards, ecmCursor .7s step-end 4;
}

@keyframes ecmType {
    to {
        width: 31ch;
    }
}

@keyframes ecmCursor {
    50% {
        border-color: transparent;
    }
}

.portal-brand {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.portal-refresh {
    display: inline-block;
    font-size: 34px;
}

.browser-mock.is-visible .portal-refresh {
    animation: ecmRefresh 1s ease 2.5s both;
}

@keyframes ecmRefresh {
    to {
        transform: rotate(360deg);
    }
}
/* Step 4: duplicated set of 5 for seamless travel */
.storage-carousel {
    overflow: hidden;
    width: 100%;
    margin-top: 25px;
    padding: 8px 0;
}

.storage-track {
    --box-width: 180px;
    --box-gap: 20px;
    display: flex;
    gap: var(--box-gap);
    width: max-content;
    animation: ecmBoxes 24s linear infinite;
}

.storage-box {
    flex: 0 0 var(--box-width);
    width: var(--box-width);
    height: 180px;
    display: grid;
    place-items: center;
    border: 2px solid #8b95af;
    background: #f8f9fb;
}

    .storage-box img {
        width: 85%;
        height: 85%;
        object-fit: contain;
    }

@keyframes ecmBoxes {
    to {
        transform: translateX(calc(-5 * (var(--box-width) + var(--box-gap))));
    }
}

.storage-carousel:hover .storage-track {
    animation-play-state: paused;
}
/* Rotating lifecycle arrows around stationary bin */
.cycle-symbol {
    position: relative;
    width: 260px;
    height: 260px;
    margin: 30px auto 0;
    font-size: initial;
    letter-spacing: normal;
}

.cycle-ring {
    position: absolute;
    inset: 0;
    border: 5px dashed #181b49;
    border-radius: 50%;
    animation: ecmRotate 9s linear infinite;
}

.cycle-arrow {
    position: absolute;
    font-size: 44px;
    color: #181b49;
}

.arrow-top {
    top: -29px;
    left: 50%;
    transform: translateX(-50%);
}

.arrow-bottom {
    bottom: -29px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
}

.cycle-bin {
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
}

    .cycle-bin img {
        width: 52%;
        height: 52%;
        object-fit: contain;
    }

@keyframes ecmRotate {
    to {
        transform: rotate(360deg);
    }
}
/* Reporting cards */
.report-cards article {
    transition: transform .35s, box-shadow .35s;
}

    .report-cards article:hover {
        transform: translateY(-5px);
        box-shadow: 0 12px 28px #0f235033;
    }

.mini-chart.bars span {
    transform: scaleY(0);
    transform-origin: bottom;
    transition: background .3s;
}

.report-cards.is-visible .mini-chart.bars span {
    animation: ecmBar .85s ease-out forwards;
}

    .report-cards.is-visible .mini-chart.bars span:nth-child(2) {
        animation-delay: .12s;
    }

    .report-cards.is-visible .mini-chart.bars span:nth-child(3) {
        animation-delay: .24s;
    }

    .report-cards.is-visible .mini-chart.bars span:nth-child(4) {
        animation-delay: .36s;
    }

    .report-cards.is-visible .mini-chart.bars span:nth-child(5) {
        animation-delay: .48s;
    }

@keyframes ecmBar {
    to {
        transform: scaleY(1);
    }
}

.report-cards article:hover .mini-chart.bars span {
    background: #08a9ed;
}

.mini-chart.line svg {
    overflow: hidden;
}

.mini-chart.line polyline {
    stroke-dasharray: 1;
    stroke-dashoffset: .22;
    transition: stroke .35s;
}

.report-cards.is-visible .mini-chart.line polyline {
    animation: ecmDraw 1.4s ease .5s forwards;
}

@keyframes ecmDraw {
    to {
        stroke-dashoffset: 0;
    }
}

.report-cards article:hover .mini-chart.line polyline {
    stroke: #08a9ed;
}

.chart-spotlight {
    fill: #8dc8ec33;
    stroke: #7e9fc2;
    stroke-width: 1;
    opacity: 0;
}

.report-cards.is-visible .chart-spotlight {
    animation: ecmSpotlight 1.3s ease 1.9s forwards;
}

@keyframes ecmSpotlight {
    from {
        opacity: 0;
        transform: translateX(-65px);
    }

    to {
        opacity: 1;
        transform: translateX(45px);
    }
}

.mini-chart.blocks {
    overflow: hidden;
}

    .mini-chart.blocks span {
        opacity: 0;
        transition: transform .85s cubic-bezier(.22,1,.36,1), opacity .85s;
    }

        .mini-chart.blocks span:nth-child(-n+2) {
            transform: translateY(-85px);
        }

        .mini-chart.blocks span:nth-child(n+3) {
            transform: translateY(85px);
        }

.report-cards.is-visible .mini-chart.blocks span {
    opacity: 1;
    transform: translateY(0);
}

    .report-cards.is-visible .mini-chart.blocks span:nth-child(even) {
        transition-delay: .15s;
    }

@media(max-width:800px) {
    .process-line-svg {
        display: none;
    }

    .storage-track {
        --box-width: 110px;
        --box-gap: 12px;
    }

    .storage-box {
        height: 110px;
    }

    .cycle-symbol {
        width: 190px;
        height: 190px;
    }

    .typing-text {
        font-size: clamp(9px,2.4vw,12px);
    }

    .intake-card .intake-symbol {
        height: 110px;
    }
}

@media(prefers-reduced-motion:reduce) {
    .file-list, .mini-chart.blocks span {
        opacity: 1;
        transform: none;
        transition: none;
    }

    .storage-track, .cycle-ring, .typing-text, .portal-refresh, .mini-chart.bars span, .mini-chart.line polyline, .chart-spotlight {
        animation: none !important;
    }

    .typing-text {
        width: auto;
        border: 0;
    }

    .mini-chart.bars span {
        transform: scaleY(1);
    }

    .mini-chart.line polyline {
        stroke-dashoffset: 0;
    }

    .chart-spotlight {
        opacity: 1;
        transform: translateX(45px);
    }

    .process-path-active {
        display: none;
    }
}

/* === Layout corrections: balanced intake, non-overlapping step labels === */
@media (min-width: 801px) {
    .ecm-process .intake-grid {
        grid-template-columns: minmax(0,1fr) 34px minmax(0,1fr) 34px minmax(0,1fr);
        gap: 16px;
        align-items: center;
        width: 100%;
        margin: 22px 0 110px;
    }

    .ecm-process .intake-card {
        min-width: 0;
        width: 100%;
        height: 315px;
        padding: 30px 16px 0;
    }

        .ecm-process .intake-card h2 {
            font-size: clamp(15px,1.3vw,19px);
            overflow-wrap: normal;
        }

    .ecm-process .or-label {
        display: block;
        font-size: 14px;
    }

    .ecm-process .file-lists {
        margin-left: clamp(220px, 22%, 320px);
        max-width: none;
    }

    .ecm-process .marker-two {
        left: 0;
        right: auto;
    }

        .ecm-process .marker-two p {
            max-width: 215px;
            font-size: 14px;
        }

    .ecm-process .marker-three {
        right: 0;
        left: auto;
    }

    .ecm-process .marker-four {
        left: 2%;
        right: auto;
    }

    .ecm-process .process-container {
        padding-top: 110px;
    }
}

.ecm-process .intake-symbol {
    min-width: 0;
    max-width: 100%;
    overflow: hidden;
}

.ecm-process .intake-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ecm-process .intake-card {
    overflow: hidden;
}

@media(max-width:800px) {
    .ecm-process .intake-grid {
        grid-template-columns: 1fr;
    }

    .ecm-process .or-label {
        display: block;
    }

    .ecm-process .file-lists {
        margin-left: auto;
        max-width: 100%;
    }
}


/* Secure Life Cycle Management */
.lifecycle {
    position: relative;
    z-index: 1;
    padding-bottom: 0;
}

    .lifecycle .cycle-symbol {
        position: relative;
        width: 340px;
        height: 340px;
        margin: 20px auto -170px;
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: visible;
        z-index: 1;
    }

/* Search section covers bottom half of trashcan */
.ecm-search {
    position: relative;
    z-index: 2;
    background: #181b49;
    color: white;
    padding: 50px 0 80px;
}

/* Prevent unwanted spacing between sections */
.ecm-process {
    padding-bottom: 0;
}


/* ========================================
   SEARCH PORTAL VIDEO
======================================== */

.portal-video {
    display: block;
    width: 100%;
    max-width: 1400px;
    height: auto;
    margin: 30px auto 0;
    border-radius: 4px;
    object-fit: contain;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}


/* =========================================
   STEP 1 - FIGMA INTAKE CARD CORRECTIONS
========================================= */

@media (min-width: 801px) {

    .ecm-process .intake-grid {
        display: grid;
        grid-template-columns: repeat(3, minmax(0, 1fr));
        gap: 30px;
        align-items: stretch;
        width: 100%;
        margin: 22px 0 110px;
    }

    .ecm-process .intake-card {
        width: 100%;
        min-width: 0;
        height: 315px;
        position: relative;
        padding: 30px 16px 0;
        overflow: hidden;
    }

    .ecm-process .or-label {
        display: none;
    }

    .ecm-process .intake-card .intake-symbol {
        width: 100%;
        max-width: none;
        height: 75%;
        position: absolute;
        bottom: 0;
        left: 0;
        margin: 0;
        display: flex;
        align-items: flex-end;
        justify-content: center;
        overflow: hidden;
    }

    .ecm-process .intake-card .intake-image {
        width: 100%;
        height: 100%;
        max-width: none;
        object-fit: contain;
        object-position: center bottom;
    }

    /* Middle illustration larger */
    .ecm-process .intake-upload .intake-image {
        transform: scale(1.15);
    }

    .ecm-process .intake-upload:hover .intake-image {
        transform: scale(1.22);
    }
}


/* Reporting bottom text alignment */

.reporting-bottom {
    text-align: right;
}

    /* Second heading and paragraph align left */
    .reporting-bottom h2:nth-of-type(2),
    .reporting-bottom h2:nth-of-type(2) + p {
        text-align: left;
    }


/* ========================================
   FOOTER CONTENT LAYOUT
======================================== */

.footer-top {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 30px;
}

    .footer-top img {
        width: 150px;
        height: auto;
        object-fit: contain;
        flex-shrink: 0;
    }

.footer-company-info {
    flex: 1;
}

.footer-tagline {
    font-size: 100px;
    line-height: 1.4;
    margin: 0 0 12px;
    font-weight: bold;
}

.footer-description {
    font-size: 12px;
    line-height: 1.5;
    margin: 0;
}

/* Four footer columns */

.footer-grid {
    display: grid;
    grid-template-columns: 2.1fr 1fr 0.8fr 1.15fr;
    gap: 30px;
    align-items: start;
}

/* Contact form */

.footer-contact {
    min-width: 0;
}

    .footer-contact form {
        padding: 15px;
        border-radius: 10px;
    }

    .footer-contact h3 {
        font-size: 13px;
        margin: 0 0 12px;
        font-weight: 600;
        color: black;
    }

.footer-form-fields {
    display: grid;
    grid-template-columns: 1fr 1.8fr;
    gap: 10px;
}

.footer-form-left {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-form-fields input,
.footer-form-fields textarea {
    width: 100%;
    box-sizing: border-box;
    font-family: inherit;
    font-size: 13px;
    padding: 10px;
}

.footer-form-fields textarea {
    height: 100%;
    min-height: 92px;
    resize: vertical;
}

.footer-contact button {
    display: block;
    width: 60%;
    margin: 15px auto 0;
    padding: 10px;
    cursor: pointer;
}

/* Links */

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 13px;
}

    .footer-links h3 {
        margin: 0 0 5px;
        font-size: 16px;
    }

    .footer-links a {
        display: block;
        font-size: 13px;
        text-decoration: none;
    }

/* Contact details */

.footer-details {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-detail {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 13px;
    line-height: 1.5;
}

    .footer-detail a {
        color: inherit;
        text-decoration: none;
    }

.footer-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    flex-shrink: 0;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: #91c65b;
    color: #fff;
    font-size: 13px;
}



/* Copyright */

.footer .copyright {
    text-align: center;
    margin-top: 40px;
    font-size: 12px;
}

/* Responsive */

@media (max-width: 900px) {
    .footer-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 30px;
    }
}

@media (max-width: 600px) {
    .footer-top {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .footer-form-fields {
        grid-template-columns: 1fr;
    }

        .footer-form-fields textarea {
            min-height: 100px;
        }
}

/* Full-width scrolling document boxes */

.storage-carousel {
    width: 100vw;
    max-width: none;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    overflow: hidden;
    position: relative;
}

/* Keep the scrolling animation intact */
.storage-track {
    display: flex;
    width: max-content;
}

/* ========================================
   DESKTOP / MOBILE LOGO SWITCHING
======================================== */

/* DESKTOP */
.site-header .navbar > a > img:first-child,
.footer-top > img:first-child {
    display: block;
}

.site-header .navbar > a > img.logo-mobile,
.footer-top > img.logo-mobile {
    display: none;
}

/* MOBILE */
@media (max-width: 750px) {

    .site-header .navbar > a > img:first-child,
    .footer-top > img:first-child {
        display: none;
    }

    .site-header .navbar > a > img.logo-mobile,
    .footer-top > img.logo-mobile {
        display: block;
    }

    .site-header .navbar > a > img.logo-mobile {
        width: 120px;
        height: auto;
    }

    .footer-top > img.logo-mobile {
        width: 150px;
        height: auto;
    }
}

/* Hide Solutions and Quick Links on mobile */
@media (max-width: 750px) {
    .footer-grid > .footer-links {
        display: none;
    }
}



/* Mobile Get in Touch hidden on desktop */
.nav-contact-mobile {
    display: none;
}

@media (max-width: 750px) {

    .navbar {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        justify-content: space-between;
        gap: 12px;
    }

        /* Logo on the left */
        .navbar > a:first-child {
            flex-shrink: 0;
        }

    /* Get in Touch on the right */
    .nav-contact-mobile {
        display: inline-flex;
        align-items: center;
        justify-content: center;
        margin-left: auto;
        background: #111934;
        color: white;
        padding: 12px 16px;
        border-radius: 18px;
        font-size: 12px;
        font-weight: 700;
        white-space: nowrap;
    }

    /* Navigation links on second row */
    .navbar .nav-links {
        display: flex;
        flex-basis: 100%;
        flex-wrap: wrap;
        justify-content: center;
        gap: 12px;
    }

        /* Hide ONLY the original Get in Touch */
        .navbar .nav-links .nav-contact {
            display: none;
        }

        .navbar .nav-links a {
            font-size: 11px;
        }
}