
/* =========================================
   NOOR EYE CLINIC — VISIT JOURNEY
========================================= */

.noor-journey {
    --nj-bg: #FFFFFF;
    --nj-text: #102A43;
    --nj-muted: #536C7D;
    --nj-teal: #16A6A1;
    --nj-border: #DFEAF0;

    position: relative;
    isolation: isolate;
    overflow: hidden;
    padding: 95px 0 85px;
    color: var(--nj-text);
    background:
        radial-gradient(
            circle at 100% 10%,
            rgba(22,166,161,.075),
            transparent 30%
        ),
        var(--nj-bg);
    font-family: "Inter", sans-serif;
}

.noor-journey *,
.noor-journey *::before,
.noor-journey *::after {
    box-sizing: border-box;
}

.noor-journey-container {
    position: relative;
    z-index: 1;
}

/* Heading */

.noor-journey-heading {
    max-width: 760px;
    margin: 0 auto 55px;
    text-align: center;
}

.noor-journey-eyebrow {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    color: var(--nj-teal);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.8px;
}

.noor-journey-eyebrow-line {
    width: 28px;
    height: 2px;
    background: var(--nj-teal);
}

.noor-journey-heading h2 {
    margin: 0;
    color: var(--nj-text);
    font-family: "Manrope", sans-serif;
    font-size: clamp(36px, 4.5vw, 56px);
    font-weight: 800;
    letter-spacing: -2px;
    line-height: 1.17;
}

.noor-journey-heading h2 span {
    color: var(--nj-teal);
}

.noor-journey-heading > p {
    max-width: 610px;
    margin: 20px auto 0;
    color: var(--nj-muted);
    font-size: 15px;
    line-height: 1.85;
}

/* Journey track */

.noor-journey-track {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 28px minmax(0, 1fr) 28px minmax(0, 1fr);
    align-items: start;
    gap: 15px;
}

/* Step */

.noor-journey-step {
    min-width: 0;
}

.noor-journey-visual {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 205px;
    overflow: hidden;
    border: 1px solid rgba(16,42,67,.08);
    border-radius: 13px;
    isolation: isolate;
}

.noor-journey-visual::before {
    position: absolute;
    z-index: -1;
    inset: 0;
    content: "";
    opacity: .48;
    background-image:
        linear-gradient(rgba(16,42,67,.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(16,42,67,.055) 1px, transparent 1px);
    background-size: 25px 25px;
}

.journey-visual-one {
    background:
        radial-gradient(circle at 50% 45%, rgba(22,166,161,.19), transparent 50%),
        #EAF8F7;
}

.journey-visual-two {
    background:
        radial-gradient(circle at 50% 45%, rgba(76,143,214,.17), transparent 50%),
        #EEF5FC;
}

.journey-visual-three {
    background:
        radial-gradient(circle at 50% 45%, rgba(22,166,161,.15), transparent 50%),
        #F0F8FC;
}

.noor-journey-step-number {
    position: absolute;
    top: 15px;
    left: 16px;
    color: rgba(16,42,67,.45);
    font-family: "Manrope", sans-serif;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
}

.noor-journey-step-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 96px;
    height: 96px;
    border: 1px solid rgba(22,166,161,.35);
    border-radius: 50%;
    color: var(--nj-teal);
    background: rgba(255,255,255,.75);
    box-shadow:
        0 15px 35px rgba(16,42,67,.07),
        inset 0 0 0 7px rgba(22,166,161,.05);
    font-size: 42px;
    transition:
        transform .35s ease,
        color .35s ease,
        background .35s ease;
}

.noor-journey-step:hover .noor-journey-step-icon {
    transform: translateY(-5px) scale(1.05);
    color: #FFFFFF;
    background: var(--nj-teal);
}

.noor-journey-mini-label {
    position: absolute;
    right: 13px;
    bottom: 13px;
    color: rgba(16,42,67,.6);
    font-size: 8px;
    font-weight: 800;
    letter-spacing: 1.3px;
}

/* Text beneath visual */

.noor-journey-step-content {
    padding: 22px 5px 0;
}

.noor-journey-step-label {
    display: block;
    margin-bottom: 10px;
    color: var(--nj-teal);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.noor-journey-step-content h3 {
    margin: 0 0 10px;
    color: var(--nj-text);
    font-family: "Manrope", sans-serif;
    font-size: clamp(19px, 1.7vw, 23px);
    font-weight: 800;
    line-height: 1.35;
}

.noor-journey-step-content p {
    margin: 0 0 17px;
    color: var(--nj-muted);
    font-size: 14px;
    line-height: 1.8;
}

.noor-journey-step-content > a {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    color: var(--nj-text);
    font-size: 13px;
    font-weight: 750;
    text-decoration: none;
    transition: color .25s ease, gap .25s ease;
}

.noor-journey-step-content > a i {
    color: var(--nj-teal);
    font-size: 16px;
}

.noor-journey-step-content > a:hover {
    gap: 14px;
    color: var(--nj-teal);
}

/* Between-step connector */

.noor-journey-connector {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    padding-top: 101px;
    color: var(--nj-teal);
}

.noor-journey-connector span {
    width: 100%;
    height: 1px;
    background: linear-gradient(
        90deg,
        rgba(22,166,161,.25),
        rgba(22,166,161,.75)
    );
}

.noor-journey-connector i {
    flex-shrink: 0;
    margin-left: -1px;
    font-size: 15px;
}

/* Bottom contact strip */

.noor-journey-footer {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-top: 48px;
    padding: 20px 23px;
    border: 1px solid var(--nj-border);
    border-radius: 12px;
    background: #F7FBFD;
}

.noor-journey-footer-icon {
    display: grid;
    place-items: center;
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    border-radius: 12px;
    color: var(--nj-teal);
    background: #E3F5F3;
    font-size: 21px;
}

.noor-journey-footer > p {
    flex: 1;
    margin: 0;
    color: var(--nj-muted);
    font-size: 13px;
    line-height: 1.65;
}

.noor-journey-footer > p strong {
    display: block;
    margin-bottom: 3px;
    color: var(--nj-text);
    font-size: 14px;
}

.noor-journey-call {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: 7px;
    color: #FFFFFF;
    background: var(--nj-text);
    font-size: 12px;
    font-weight: 750;
    text-decoration: none;
    white-space: nowrap;
    transition: background .25s ease;
}

.noor-journey-call:hover {
    color: #FFFFFF;
    background: var(--nj-teal);
}

/* Reveal animation */

[data-journey-reveal] {
    opacity: 0;
    transform: translateY(20px);
    transition:
        opacity .65s ease,
        transform .65s ease;
}

[data-journey-reveal].journey-visible {
    opacity: 1;
    transform: translateY(0);
}

/* =========================================
   TABLET
========================================= */

@media (max-width: 991.98px) {
    .noor-journey {
        padding: 75px 0;
    }

    .noor-journey-track {
        grid-template-columns: minmax(0, 1fr) 20px minmax(0, 1fr);
        gap: 15px;
    }

    .noor-journey-step:last-child {
        grid-column: 1 / -1;
        max-width: 520px;
        width: 100%;
        margin: 25px auto 0;
    }

    .noor-journey-connector:nth-of-type(4) {
        display: none;
    }

    .noor-journey-visual {
        min-height: 175px;
    }

    .noor-journey-connector {
        padding-top: 85px;
    }
}

/* =========================================
   MOBILE
========================================= */

@media (max-width: 575.98px) {
    .noor-journey {
        padding: 55px 0;
    }

    .noor-journey-heading {
        margin-bottom: 35px;
        text-align: left;
    }

    .noor-journey-eyebrow {
        font-size: 9px;
        letter-spacing: 1.1px;
    }

    .noor-journey-heading h2 {
        font-size: clamp(32px, 8vw, 41px);
        letter-spacing: -1.3px;
    }

    .noor-journey-heading > p {
        margin-top: 15px;
        font-size: 14px;
        line-height: 1.8;
    }

    .noor-journey-track {
        grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
        gap: 26px 13px;
    }

    .noor-journey-step:last-child {
        grid-column: auto;
        max-width: none;
        margin: 0;
    }

    .noor-journey-connector {
        display: none;
    }

    .noor-journey-visual {
        min-height: 125px;
        border-radius: 10px;
    }

    .noor-journey-step-number {
        top: 10px;
        left: 10px;
        font-size: 11px;
    }

    .noor-journey-step-icon {
        width: 65px;
        height: 65px;
        font-size: 30px;
    }

    .noor-journey-mini-label {
        right: 8px;
        bottom: 8px;
        font-size: 7px;
        letter-spacing: .7px;
    }

    .noor-journey-step-content {
        padding: 15px 1px 0;
    }

    .noor-journey-step-label {
        margin-bottom: 8px;
        font-size: 9px;
        letter-spacing: 1px;
    }

    .noor-journey-step-content h3 {
        font-size: 17px;
        line-height: 1.4;
        overflow-wrap: anywhere;
    }

    .noor-journey-step-content p {
        font-size: 12px;
        line-height: 1.7;
    }

    .noor-journey-step-content > a {
        align-items: flex-start;
        gap: 5px;
        font-size: 11px;
    }

    .noor-journey-footer {
        align-items: flex-start;
        flex-wrap: wrap;
        gap: 12px;
        margin-top: 35px;
        padding: 16px;
    }

    .noor-journey-footer > p {
        flex-basis: calc(100% - 60px);
        font-size: 12px;
    }

    .noor-journey-footer > p strong {
        font-size: 13px;
    }

    .noor-journey-call {
        width: 100%;
        min-height: 46px;
        font-size: 13px;
    }
}

/* Dark mode */

html[data-theme="dark"] .noor-journey {
    --nj-bg: #091923;
    --nj-text: #EDF7FB;
    --nj-muted: #B2C5CF;
    --nj-border: #263E4B;

    background:
        radial-gradient(
            circle at 100% 10%,
            rgba(22,166,161,.1),
            transparent 30%
        ),
        var(--nj-bg);
}

html[data-theme="dark"] .noor-journey-visual {
    border-color: rgba(255,255,255,.09);
}

/*html[data-theme="dark"] .noor-journey-visual::before {*/
/*    background-image:*/
/*        linear-gradient(rgba(255,255,255,.05) 1px, transparent 1px),*/
/*        linear-gradient(90deg, rgba(255,255,255,.05) 1px, transparent 1px);*/
/*}*/

html[data-theme="dark"] .noor-journey-step-number,
html[data-theme="dark"] .noor-journey-mini-label {
    color: rgba(255,255,255,.65);
}

html[data-theme="dark"] .noor-journey-step-icon {
    background: #102A43;
}

html[data-theme="dark"] .noor-journey-footer {
    background: #101F2A;
}

html[data-theme="dark"] .noor-journey-footer-icon {
    background: #123448;
}

html[data-theme="dark"] .noor-journey-call {
    background: #173D52;
}

html[data-theme="dark"] .noor-journey-call:hover {
    background: var(--nj-teal);
}

/* Reduced motion */

@media (prefers-reduced-motion: reduce) {
    .noor-journey *,
    .noor-journey *::before,
    .noor-journey *::after {
        animation: none !important;
        transition: none !important;
    }

    [data-journey-reveal] {
        opacity: 1;
        transform: none;
    }
}
