

/* =========================================================
   JOURNEY PAGE
========================================================= */

.journey-page {
    background: #ffffff;
    color: #102a36;
    overflow-x: hidden;
}

/* =========================================================
   HERO
========================================================= */

.journey-hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    overflow: hidden;
    isolation: isolate;
    color: #ffffff;
    background:
        radial-gradient(
            circle at 78% 42%,
            rgba(98, 201, 223, 0.16),
            transparent 30%
        ),
        linear-gradient(
            120deg,
            #032b3c 0%,
            #063b52 58%,
            #07536b 100%
        );
}

.journey-hero::before {
    content: "";
    position: absolute;
    inset: -10%;
    background:
        radial-gradient(
            circle at 72% 40%,
            rgba(98, 201, 223, 0.18),
            transparent 28%
        ),
        radial-gradient(
            circle at 90% 80%,
            rgba(21, 158, 186, 0.14),
            transparent 30%
        );
    z-index: -2;
    animation: journeyAmbient 12s ease-in-out infinite alternate;
}

.journey-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(
            90deg,
            rgba(3, 43, 60, 0.98) 0%,
            rgba(3, 43, 60, 0.90) 52%,
            rgba(3, 43, 60, 0.55) 100%
        );
    z-index: -1;
    pointer-events: none;
}

@keyframes journeyAmbient {
    0% {
        transform: scale(1) translate3d(-1%, 0, 0);
        opacity: 0.7;
    }

    100% {
        transform: scale(1.12) translate3d(2%, -2%, 0);
        opacity: 1;
    }
}

/* Decorative grid */

.journey-hero-pattern {
    position: absolute;
    inset: 0;
    z-index: -1;
    opacity: 0.08;
    pointer-events: none;
    background-image:
        linear-gradient(
            rgba(255, 255, 255, 0.18) 1px,
            transparent 1px
        ),
        linear-gradient(
            90deg,
            rgba(255, 255, 255, 0.18) 1px,
            transparent 1px
        );
    background-size: 90px 90px;
    mask-image: linear-gradient(
        to right,
        black 0%,
        transparent 85%
    );
}

/* =========================================================
   HERO CONTAINER
========================================================= */

.journey-hero-container {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 110px 30px;
}

/* =========================================================
   HERO CONTENT
========================================================= */

.journey-hero-content {
    max-width: 800px;
}

.journey-hero-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    color: #62c9df;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    opacity: 0;
    transform: translateY(20px);
    animation:
        journeyLabelReveal
        0.8s
        0.2s
        cubic-bezier(0.22, 1, 0.36, 1)
        forwards;
}

.journey-hero-label::before {
    content: "";
    width: 28px;
    height: 2px;
    background: #62c9df;
    display: block;
    flex-shrink: 0;
}

.journey-hero-content h1 {
    margin: 0 0 28px;
    color: #ffffff;
    font-size: clamp(48px, 6vw, 82px);
    line-height: 0.98;
    font-weight: 700;
    letter-spacing: -4px;
    opacity: 0;
    transform: translateY(35px);
    animation:
        journeyHeadingReveal
        1s
        0.35s
        cubic-bezier(0.22, 1, 0.36, 1)
        forwards;
}

.journey-hero-content h1 span {
    color: #62c9df;
}

.journey-hero-content p {
    max-width: 650px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 18px;
    line-height: 1.8;
    opacity: 0;
    transform: translateY(25px);
    animation:
        journeyParagraphReveal
        1s
        0.55s
        cubic-bezier(0.22, 1, 0.36, 1)
        forwards;
}

@keyframes journeyLabelReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes journeyHeadingReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes journeyParagraphReveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =========================================================
   SHARED
========================================================= */

.journey-page .section-padding {
    padding: 115px 0;
}

.journey-page .section-label {
    color: #159eba;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.journey-page .section-label.light {
    color: #62c9df;
}

.journey-page .section-heading {
    margin: 18px 0 0;
    color: #063b52;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -2px;
}

.journey-page .section-heading span {
    color: #159eba;
}

/* =========================================================
   INTRO
========================================================= */

.journey-intro {
    background: #ffffff;
}

.journey-intro-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 90px;
    align-items: start;
}

.journey-large-heading {
    margin: 20px 0 0;
    color: #063b52;
    font-size: clamp(52px, 6vw, 86px);
    line-height: 0.92;
    letter-spacing: -4px;
}

.journey-large-heading span {
    color: #159eba;
}

.journey-intro-copy {
    max-width: 720px;
}

.journey-intro-copy p {
    margin: 0 0 22px;
    color: #607b87;
    font-size: 17px;
    line-height: 1.9;
}

.journey-intro-copy p:last-child {
    margin-bottom: 0;
}

/* =========================================================
   TIMELINE
========================================================= */

.journey-timeline-section {
    padding: 115px 0 130px;
    background: #f4f8fa;
    overflow: hidden;
}

.journey-timeline-header {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 70px;
    align-items: end;
    margin-bottom: 75px;
}

.journey-timeline-description {
    max-width: 560px;
    margin: 0;
    color: #607b87;
    font-size: 16px;
    line-height: 1.8;
}

.journey-timeline {
    position: relative;
    max-width: 1100px;
    margin: 0 auto;
}

/* Central timeline */

.journey-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 1px;
    transform: translateX(-50%);
    background:
        linear-gradient(
            to bottom,
            rgba(21, 158, 186, 0.04),
            rgba(21, 158, 186, 0.45) 12%,
            rgba(21, 158, 186, 0.45) 88%,
            rgba(21, 158, 186, 0.04)
        );
}

.journey-item {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 120px 1fr;
    align-items: center;
    min-height: 245px;
}

.journey-content {
    padding: 25px 55px;
}

.journey-item:nth-child(odd) .journey-content {
    grid-column: 1;
    grid-row: 1;
    text-align: right;
}

.journey-item:nth-child(even) .journey-content {
    grid-column: 3;
    grid-row: 1;
    text-align: left;
}

.journey-year {
    position: relative;
    z-index: 3;
    grid-column: 2;
    grid-row: 1;
    display: flex;
    align-items: center;
    justify-content: center;
}

.journey-year strong {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 105px;
    height: 105px;
    border-radius: 50%;
    background: #063b52;
    border: 5px solid #f4f8fa;
    box-shadow:
        0 0 0 1px rgba(21, 158, 186, 0.3),
        0 15px 35px rgba(3, 43, 60, 0.12);
    color: #62c9df;
    font-size: 22px;
    line-height: 1;
    letter-spacing: -1px;
    text-align: center;
    transition:
        transform 0.5s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.5s ease;
}

.journey-item:hover .journey-year strong {
    transform: scale(1.08);
    box-shadow:
        0 0 0 7px rgba(21, 158, 186, 0.10),
        0 20px 45px rgba(3, 43, 60, 0.16);
}

.journey-card {
    position: relative;
    padding: 32px 35px;
    background: #ffffff;
    border: 1px solid rgba(6, 59, 82, 0.10);
    box-shadow: 0 10px 35px rgba(3, 43, 60, 0.05);
    transition:
        transform 0.55s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.55s ease,
        border-color 0.4s ease;
}

.journey-item:nth-child(odd) .journey-card {
    border-right: 3px solid #159eba;
}

.journey-item:nth-child(even) .journey-card {
    border-left: 3px solid #159eba;
}

.journey-item:hover .journey-card {
    transform: translateY(-7px);
    border-color: rgba(21, 158, 186, 0.28);
    box-shadow:
        0 22px 50px rgba(3, 43, 60, 0.10);
}

.journey-card-label {
    display: block;
    margin-bottom: 14px;
    color: #159eba;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.journey-card h3 {
    margin: 0 0 13px;
    color: #063b52;
    font-size: clamp(22px, 2vw, 28px);
    line-height: 1.15;
    letter-spacing: -0.8px;
}

.journey-card p {
    margin: 0;
    color: #607b87;
    font-size: 14px;
    line-height: 1.75;
}

/* =========================================================
   LOOKING AHEAD
========================================================= */

.journey-highlight {
    padding: 115px 0;
    background: #032b3c;
    color: #ffffff;
    overflow: hidden;
}

.journey-highlight-inner {
    display: grid;
    grid-template-columns: 1fr 0.9fr;
    gap: 100px;
    align-items: center;
}

.journey-highlight-label {
    color: #62c9df;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 2.5px;
    text-transform: uppercase;
}

.journey-highlight h2 {
    margin: 18px 0 25px;
    color: #ffffff;
    font-size: clamp(44px, 5vw, 70px);
    line-height: 0.98;
    letter-spacing: -3px;
}

.journey-highlight h2 span {
    color: #62c9df;
}

.journey-highlight p {
    max-width: 580px;
    margin: 0;
    color: rgba(255, 255, 255, 0.70);
    font-size: 16px;
    line-height: 1.8;
}

/* =========================================================
   NUMBERS
========================================================= */

.journey-numbers {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    border-left: 1px solid rgba(255, 255, 255, 0.15);
}

.journey-number {
    min-height: 175px;
    padding: 35px 28px;
    border-right: 1px solid rgba(255, 255, 255, 0.15);
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    transition:
        background 0.4s ease,
        transform 0.45s ease;
}

.journey-number:hover {
    background: rgba(98, 201, 223, 0.05);
    transform: translateY(-5px);
}

.journey-number strong {
    display: block;
    color: #62c9df;
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1;
    letter-spacing: -3px;
}

.journey-number span {
    display: block;
    margin-top: 12px;
    color: rgba(255, 255, 255, 0.62);
    font-size: 12px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* =========================================================
   CTA
========================================================= */

.journey-cta {
    padding: 115px 0;
    background: #f4f8fa;
}

.journey-cta-inner {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 60px;
    align-items: center;
    padding: 65px 70px;
    background: #ffffff;
    border: 1px solid rgba(6, 59, 82, 0.10);
    transition:
        transform 0.6s cubic-bezier(0.22, 1, 0.36, 1),
        box-shadow 0.6s ease;
}

.journey-cta-inner:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(3, 43, 60, 0.08);
}

.journey-cta-inner h2 {
    margin: 0;
    color: #063b52;
    font-size: clamp(38px, 4vw, 58px);
    line-height: 1;
    letter-spacing: -2px;
}

.journey-cta-inner h2 span {
    color: #159eba;
}

.journey-cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    min-width: 220px;
    padding: 16px 20px;
    background: #063b52;
    border: 1px solid #063b52;
    color: #ffffff;
    text-decoration: none;
    font-size: 12px;
    font-weight: 600;
    transition:
        background 0.35s ease,
        border-color 0.35s ease,
        transform 0.35s ease;
}

.journey-cta-button::after {
    content: "→";
    color: #62c9df;
    font-size: 18px;
    transition: transform 0.35s ease;
}

.journey-cta-button:hover {
    background: #159eba;
    border-color: #159eba;
    color: #ffffff;
    transform: translateX(4px);
}

.journey-cta-button:hover::after {
    color: #ffffff;
    transform: translateX(5px);
}

/* =========================================================
   SCROLL REVEAL
========================================================= */

.journey-page .reveal-left,
.journey-page .reveal-right,
.journey-page .reveal-scale {
    opacity: 0;
    transition:
        opacity 0.9s ease,
        transform 0.9s cubic-bezier(0.22, 1, 0.36, 1);
    will-change: opacity, transform;
}

.journey-page .reveal-left {
    transform: translateX(-45px);
}

.journey-page .reveal-right {
    transform: translateX(45px);
}

.journey-page .reveal-scale {
    transform: scale(0.94) translateY(20px);
}

.journey-page .is-visible {
    opacity: 1;
    transform: none;
}

/* Stagger timeline */

.journey-item:nth-child(1) {
    transition-delay: 0.05s;
}

.journey-item:nth-child(2) {
    transition-delay: 0.12s;
}

.journey-item:nth-child(3) {
    transition-delay: 0.19s;
}

.journey-item:nth-child(4) {
    transition-delay: 0.26s;
}

.journey-item:nth-child(5) {
    transition-delay: 0.33s;
}

/* =========================================================
   RESPONSIVE
========================================================= */

@media (max-width: 992px) {

    .journey-intro-grid,
    .journey-highlight-inner,
    .journey-timeline-header {
        grid-template-columns: 1fr;
        gap: 45px;
    }

    .journey-cta-inner {
        grid-template-columns: 1fr;
    }

    .journey-cta-button {
        max-width: 320px;
    }

    .journey-timeline-header {
        margin-bottom: 50px;
    }

}

@media (max-width: 850px) {

    .journey-hero {
        min-height: auto;
    }

    .journey-hero-container {
        padding: 120px 30px 90px;
    }

    .journey-hero-content {
        max-width: 720px;
    }

    .journey-timeline {
        max-width: 700px;
    }

    .journey-timeline::before {
        left: 34px;
        transform: none;
    }

    .journey-item {
        display: grid;
        grid-template-columns: 68px 1fr;
        min-height: auto;
        margin-bottom: 35px;
        align-items: start;
    }

    .journey-item:last-child {
        margin-bottom: 0;
    }

    .journey-year {
        grid-column: 1;
        grid-row: 1;
        align-items: flex-start;
    }

    .journey-year strong {
        width: 68px;
        height: 68px;
        border-width: 4px;
        font-size: 15px;
        letter-spacing: -0.5px;
    }

    .journey-content,
    .journey-item:nth-child(odd) .journey-content,
    .journey-item:nth-child(even) .journey-content {
        grid-column: 2;
        grid-row: 1;
        padding: 8px 0 8px 28px;
        text-align: left;
    }

    .journey-card,
    .journey-item:nth-child(odd) .journey-card,
    .journey-item:nth-child(even) .journey-card {
        border-left: 3px solid #159eba;
        border-right: 0;
    }

}

@media (max-width: 576px) {

    .journey-page .section-padding {
        padding: 75px 0;
    }

    .journey-hero {
        min-height: 620px;
    }

    .journey-hero-container {
        padding: 110px 22px 75px;
    }

    .journey-hero-content h1 {
        font-size: 45px;
        letter-spacing: -2.5px;
    }

    .journey-hero-content p {
        font-size: 16px;
        line-height: 1.7;
    }

    .journey-large-heading {
        font-size: 60px;
    }

    .journey-intro-copy p {
        font-size: 16px;
    }

    .journey-timeline-section {
        padding: 75px 0 85px;
    }

    .journey-timeline {
        width: calc(100% - 4px);
    }

    .journey-timeline::before {
        left: 29px;
    }

    .journey-item {
        grid-template-columns: 58px 1fr;
        margin-bottom: 28px;
    }

    .journey-year strong {
        width: 58px;
        height: 58px;
        font-size: 12px;
    }

    .journey-content,
    .journey-item:nth-child(odd) .journey-content,
    .journey-item:nth-child(even) .journey-content {
        padding: 4px 0 4px 18px;
    }

    .journey-card {
        padding: 25px 22px;
    }

    .journey-card h3 {
        font-size: 21px;
    }

    .journey-card p {
        font-size: 13px;
    }

    .journey-highlight {
        padding: 75px 0;
    }

    .journey-highlight h2 {
        font-size: 48px;
    }

    .journey-numbers {
        grid-template-columns: 1fr;
    }

    .journey-number {
        min-height: 140px;
    }

    .journey-cta {
        padding: 75px 0;
    }

    .journey-cta-inner {
        padding: 40px 25px;
    }

    .journey-cta-inner h2 {
        font-size: 40px;
    }

    .journey-cta-button {
        width: 100%;
        max-width: none;
    }

}

/* =========================================================
   REDUCED MOTION
========================================================= */

@media (prefers-reduced-motion: reduce) {

    .journey-hero::before,
    .journey-hero-label,
    .journey-hero-content h1,
    .journey-hero-content p {
        animation: none !important;
    }

    .journey-hero-label,
    .journey-hero-content h1,
    .journey-hero-content p {
        opacity: 1;
        transform: none;
    }

    .journey-page .reveal-left,
    .journey-page .reveal-right,
    .journey-page .reveal-scale {
        transition: none;
        transform: none;
        opacity: 1;
    }

    .journey-card,
    .journey-year strong,
    .journey-number,
    .journey-cta-inner {
        transition: none;
    }

}

