/* =========================================================
   SHREE ENTERPRISES — ABOUT PAGE

   Uses the existing:
   --primary-font
   --base-color
   --navy
   --navy-dark
   --medium-gray

   Shared banner, heading, service card, client card and
   CTA styles remain in your existing index.css.
   ========================================================= */

.shree-about-page {
    --ab-surface: #f8fbff;
    --ab-border: #e8edf4;

    font-family: var(--primary-font);
    color: var(--medium-gray);
}

.shree-about-page * {
    box-sizing: border-box;
}

/* Existing section-title typography is inherited. */

.shree-about-page .ab-heading {
    max-width: 900px;
    margin: 0 auto 34px;
    text-align: center;
}

.shree-about-page .ab-heading p {
    margin: 14px 0 0;
}

/* Banner: retain existing font sizes and colours. */

.shree-about-page .ab-banner {
    min-height: 520px;
    padding: 145px 0 65px;
}

.shree-about-page .ab-breadcrumb {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin: 24px 0 0;
    padding: 0;
    list-style: none;
    color: #fff;
    font-size: 14px;
}

.shree-about-page .ab-breadcrumb a {
    color: inherit;
}

/* Introduction: retain existing about-content styles. */

.shree-about-page .about-image::after {
    content: "Since 2002";
    background: var(--base-color);
}

.shree-about-page .ab-stats {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 16px;

    margin: 26px 0 0;
    padding-top: 24px;
    border-top: 1px solid var(--ab-border);
}

.shree-about-page .ab-stats > div + div {
    padding-left: 16px;
    border-left: 1px solid var(--ab-border);
}

.shree-about-page .ab-stats dt {
    margin: 0 0 8px;
    color: var(--navy-dark);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.2;
}

.shree-about-page .ab-stats dd {
    margin: 0;
    font-size: 14px;
    line-height: 1.6;
}

/* Reusable SVG illustrations */

.shree-about-page .ab-defs {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    pointer-events: none;
}

/* Supply chain */

.shree-about-page .ab-supply {
    background: var(--navy);
}

.shree-about-page .ab-supply .section-title h2 {
    color: #fff;
}

.shree-about-page .ab-supply .section-title p {
    color: #ffffffd1;
}

.shree-about-page .ab-flow {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 24px;

    margin: 30px 0 0;
    padding: 0;
    list-style: none;
}

.shree-about-page .ab-flow li {
    position: relative;
    text-align: center;
}

.shree-about-page .ab-flow li:not(:last-child)::after {
    content: "→";
    position: absolute;
    top: 31px;
    right: -23px;
    color: #fff;
    font-size: 26px;
}

.shree-about-page .ab-flow svg {
    display: block;
    width: 110px;
    max-width: 100%;
    height: 75px;
    margin: 0 auto 14px;
}

.shree-about-page .ab-flow h3 {
    margin: 0;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
}

/* Service cards: match existing 21px card headings. */

.shree-about-page .service-content h3 {
    margin: 0 0 12px;
    color: var(--navy-dark);
    font-size: 21px;
    font-weight: 700;
    line-height: 1.4;
}

.shree-about-page .service-content p {
    margin: 0;
    font-size: 16px;
    line-height: 1.6;
}

/* Growth journey */

.shree-about-page .ab-journey {
    background: var(--ab-surface);
    overflow: hidden;
}

.shree-about-page .ab-stage {
    position: relative;
    isolation: isolate;
    max-width: 1180px;
    margin: auto;
}

.shree-about-page .ab-road {
    position: absolute;
    inset: 0;
    z-index: 0;

    display: block;
    width: 100%;
    height: 100%;

    overflow: visible;
    pointer-events: none;
}

.shree-about-page .ab-road-edge,
.shree-about-page .ab-road-surface,
.shree-about-page .ab-road-lanes {
    fill: none;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.shree-about-page .ab-road-edge {
    stroke: #d6dee7;
    stroke-width: 44;
}

.shree-about-page .ab-road-surface {
    stroke: var(--navy);
    stroke-width: 36;
}

.shree-about-page .ab-road-lanes {
    stroke: #ffffffbf;
    stroke-width: 2;
    stroke-dasharray: 9 12;
}

.shree-about-page .ab-stops circle {
    fill: #fff;
    stroke: var(--base-color);
    stroke-width: 3;
}

.shree-about-page .ab-stops circle.is-passed {
    fill: var(--base-color);
    stroke: #fff;
}

/* Truck belongs to this section's positioning context. */

.shree-about-page .ab-truck {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 3;

    display: none;
    width: 66px;
    height: 46px;

    pointer-events: none;
    will-change: transform;
}

.shree-about-page .ab-stage.is-ready .ab-truck {
    display: block;
}

.shree-about-page .ab-truck svg {
    display: block;
    width: 100%;
    height: 100%;
    max-width: none;
}

/* Alternating milestones */

.shree-about-page .ab-milestones {
    position: relative;
    z-index: 1;

    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    column-gap: 36%;

    margin: 0;
    padding: 20px 0;
    list-style: none;
}

.shree-about-page .ab-milestone {
    position: relative;
    align-self: start;
    min-width: 0;
    padding: 0;
}

.shree-about-page .ab-milestone:nth-child(odd) {
    grid-column: 1;
    margin: 0 0 65px;
}

.shree-about-page .ab-milestone:nth-child(even) {
    grid-column: 2;
    margin: 65px 0 0;
}

/* Connectors */

.shree-about-page .ab-milestone::after {
    content: "";
    position: absolute;
    top: 50%;
    width: 55px;
    height: 1px;
    background: #c9d3df;
}

.shree-about-page .ab-milestone:nth-child(odd)::after {
    right: -55px;
}

.shree-about-page .ab-milestone:nth-child(even)::after {
    left: -55px;
}

/* Milestone typography follows existing site sizes. */

.shree-about-page .ab-journey-card {
    position: relative;
    z-index: 1;

    padding: 18px 14px;
    border: 1px solid transparent;
    border-radius: 12px;
    background: transparent;

    transition:
        background .2s,
        border-color .2s,
        box-shadow .2s;
}

.shree-about-page .ab-year {
    display: block;
    margin: 0 0 12px;
    color: var(--base-color);
    font-size: 27px;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -.5px;
}

.shree-about-page .ab-journey-card h3 {
    margin: 0 0 10px;
    color: var(--navy-dark);
    font-size: 17px;
    font-weight: 700;
    line-height: 1.5;
    letter-spacing: 0;
}

.shree-about-page .ab-journey-card p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

/* Highlight without moving or resizing the card. */

.shree-about-page .ab-milestone.is-active .ab-journey-card {
    border-color: #f3bac1;
    background: #fff;
    box-shadow: 0 8px 25px #0f29510a;
}

/* Existing client cards */

.shree-about-page .ab-client-list {
    display: grid;
    grid-template-columns: repeat(5, minmax(0, 1fr));
    gap: 18px;

    margin: 0;
    padding: 24px;

    border: 1px solid var(--ab-border);
    border-radius: 22px;
    background: #fff;
    list-style: none;
}

.shree-about-page .ab-client-list > li {
    min-width: 0;
}

/* Existing CTA typography remains unchanged. */

.shree-about-page .ab-cta .cta-btn {
    height: auto;
    min-height: 54px;
    padding: 12px;
    line-height: 1.5;
    text-align: center;
}

/* Tablet */

@media (max-width: 991.98px) {
    .shree-about-page .ab-banner {
        min-height: auto;
        padding: 135px 0 60px;
    }

    .shree-about-page .ab-flow {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        row-gap: 28px;
    }

    .shree-about-page .ab-flow li:nth-child(3)::after {
        display: none;
    }

    .shree-about-page .ab-milestones {
        column-gap: 28%;
    }

    .shree-about-page .ab-milestone::after {
        width: 28px;
    }

    .shree-about-page .ab-milestone:nth-child(odd)::after {
        right: -28px;
    }

    .shree-about-page .ab-milestone:nth-child(even)::after {
        left: -28px;
    }

    .shree-about-page .ab-client-list {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        padding: 18px;
    }
}

/* Mobile */

@media (max-width: 767.98px) {
    .shree-about-page .ab-banner {
        padding: 125px 0 45px;
    }

    .shree-about-page .about-image img {
        height: 380px;
    }

    .shree-about-page .ab-flow {
        gap: 24px 18px;
    }

    .shree-about-page .ab-flow svg {
        height: 75px;
    }

    .shree-about-page .ab-flow li:not(:last-child)::after {
        top: 20px;
        right: -19px;
        font-size: 22px;
    }

    .shree-about-page .ab-flow h3 {
        font-size: 16px;
    }

    .shree-about-page .ab-milestones {
        display: block;
        padding: 20px 0 20px 68px;
    }

    .shree-about-page .ab-milestone:nth-child(n) {
        margin: 0 0 18px;
    }

    .shree-about-page .ab-milestone:last-child {
        margin-bottom: 0;
    }

    .shree-about-page .ab-milestone:nth-child(n)::after {
        right: auto;
        left: -24px;
        width: 24px;
    }

    .shree-about-page .ab-journey-card {
        padding: 16px;
        background: #fff;
        border-color: var(--ab-border);
    }

    .shree-about-page .ab-landscape {
        display: none;
    }

    .shree-about-page .ab-road-edge {
        stroke-width: 34;
    }

    .shree-about-page .ab-road-surface {
        stroke-width: 28;
    }

    .shree-about-page .ab-truck {
        width: 48px;
        height: 36px;
    }

    .shree-about-page .ab-client-list {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 12px;
        padding: 14px;
    }

    .shree-about-page .ab-client-list > li:last-child {
        grid-column: 1 / -1;
        justify-self: center;
        width: calc(50% - 6px);
    }
}

@media (max-width: 575.98px) {
    .shree-about-page .ab-stats {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .shree-about-page .ab-stats > div {
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .shree-about-page .ab-stats > div + div {
        padding: 14px 0 0;
        border-left: 0;
        border-top: 1px solid var(--ab-border);
    }

    .shree-about-page .ab-stats dt {
        min-width: 145px;
        margin: 0;
    }

    .shree-about-page .service-content h3 {
        font-size: 20px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .shree-about-page .ab-journey-card {
        transition: none;
    }
}