/* ============================================
   Our Journey Page Styles
   ============================================ */

.journey-hero-banner {
    position: relative;
    height: 420px;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    overflow: hidden;
}
.journey-hero-banner::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 0%, transparent 60%);
    border-radius: 50%;
    animation: journey-pulse 8s ease-in-out infinite;
}
.journey-hero-banner::after {
    content: '';
    position: absolute;
    bottom: -40%;
    left: -15%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(91,80,214,0.18) 0%, transparent 60%);
    border-radius: 50%;
    animation: journey-pulse 10s ease-in-out infinite reverse;
}
@keyframes journey-pulse {
    0%, 100% { transform: scale(1); opacity: 0.5; }
    50%      { transform: scale(1.1); opacity: 0.8; }
}
.journey-hero-banner .decorative-shape {
    position: absolute;
    border: 2px solid rgba(255,255,255,0.15);
    border-radius: 50%;
}
.journey-hero-banner .shape-1 { width: 300px; height: 300px; top: -100px; left: 10%; animation: journey-float 15s ease-in-out infinite; }
.journey-hero-banner .shape-2 { width: 200px; height: 200px; bottom: -50px; right: 15%; animation: journey-float 12s ease-in-out infinite reverse; }
.journey-hero-banner .shape-3 { width: 150px; height: 150px; top: 50%; right: 5%; border-color: rgba(255,255,255,0.25); animation: journey-float 10s ease-in-out infinite; }
@keyframes journey-float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50%      { transform: translateY(-20px) rotate(5deg); }
}
.journey-hero-banner .hero-content { position: relative; z-index: 10; }
.journey-hero-banner .hero-content h1 {
    font-size: 3.2rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}
.journey-hero-banner .hero-content p {
    font-size: 1.2rem;
    opacity: 0.95;
    max-width: 640px;
    margin: 0 auto;
}

/* Intro */
.journey-intro {
    padding: 80px 0 40px;
    background: linear-gradient(180deg, #ffffff 0%, #f6f7ff 100%);
}
.journey-intro .badge {
    display: inline-block;
    background: linear-gradient(135deg, #31287e, #1a1556);
    color: #fff;
    padding: 8px 22px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 18px;
}
.journey-intro h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #1a1556;
    margin: 0 0 18px;
    line-height: 1.2;
}
.journey-intro h2 .accent {
    background: linear-gradient(120deg, #31287e 0%, #5b50d6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}
.journey-intro p {
    font-size: 17px;
    line-height: 1.85;
    color: #5a5a72;
    max-width: 760px;
    margin: 0 auto;
}

/* Timeline */
.journey-timeline-section {
    padding: 60px 0 100px;
    background: linear-gradient(180deg, #f6f7ff 0%, #ffffff 100%);
    position: relative;
    overflow: hidden;
}

.journey-timeline {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
    padding: 30px 0;
}

.journey-timeline::before {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    left: 50%;
    width: 3px;
    background: linear-gradient(180deg, #31287e 0%, #5b50d6 50%, #31287e 100%);
    border-radius: 3px;
    transform: translateX(-50%);
    opacity: 0.45;
}

.journey-step {
    position: relative;
    width: 100%;
    margin-bottom: 50px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.journey-step:last-child { margin-bottom: 0; }

.journey-step .step-card {
    background: #ffffff;
    border-radius: 20px;
    padding: 28px 30px;
    border: 1px solid rgba(49, 40, 126, 0.1);
    box-shadow: 0 18px 44px rgba(49, 40, 126, 0.1);
    position: relative;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1),
                box-shadow 0.45s ease;
}

.journey-step .step-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 28px 60px rgba(49, 40, 126, 0.2);
}

.journey-step .step-year {
    display: inline-block;
    font-family: "Catamaran", sans-serif;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: #31287e;
    background: rgba(49, 40, 126, 0.1);
    padding: 5px 14px;
    border-radius: 30px;
    margin-bottom: 14px;
}

.journey-step h3 {
    font-family: "Catamaran", sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #1a1556;
    margin: 0 0 10px;
    line-height: 1.3;
}

.journey-step p {
    font-family: "Roboto", sans-serif;
    font-size: 14.5px;
    line-height: 1.75;
    color: #5a5a72;
    margin: 0;
}

.journey-step .step-marker {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: linear-gradient(135deg, #31287e, #5b50d6);
    box-shadow: 0 0 0 5px #ffffff, 0 0 0 8px rgba(49, 40, 126, 0.18);
    z-index: 2;
}

/* Left card — card on left, image (or empty) on right */
.journey-step.left .step-card { grid-column: 1; text-align: right; }
.journey-step.left .step-visual { grid-column: 2; }

/* Right card */
.journey-step.right .step-card { grid-column: 2; }
.journey-step.right .step-visual { grid-column: 1; }

.journey-step .step-visual {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 44px rgba(49, 40, 126, 0.16);
}
.journey-step .step-visual img {
    width: 100%;
    height: 240px;
    object-fit: cover;
    display: block;
    transition: transform 0.6s ease;
}
.journey-step:hover .step-visual img { transform: scale(1.05); }

/* Today highlight card */
.journey-today {
    background: linear-gradient(135deg, #31287e 0%, #5b50d6 100%);
    color: #ffffff;
    border-radius: 24px;
    padding: 48px 40px;
    text-align: center;
    margin: 40px auto 0;
    max-width: 880px;
    box-shadow: 0 24px 60px rgba(49, 40, 126, 0.3);
    position: relative;
    overflow: hidden;
}
.journey-today::before {
    content: "";
    position: absolute;
    inset: -40px;
    background: radial-gradient(circle at top right, rgba(255,255,255,0.2), transparent 60%);
    pointer-events: none;
}
.journey-today h3 {
    font-size: 28px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 14px;
    position: relative;
}
.journey-today p {
    font-size: 16px;
    line-height: 1.8;
    color: rgba(255,255,255,0.92);
    max-width: 680px;
    margin: 0 auto;
    position: relative;
}

@media (max-width: 767px) {
    .journey-intro h2 { font-size: 1.9rem; }
    .journey-timeline::before {
        left: 18px;
        transform: none;
    }
    .journey-step {
        grid-template-columns: 1fr;
        gap: 20px;
        padding-left: 50px;
        margin-bottom: 32px;
    }
    .journey-step .step-card,
    .journey-step.left .step-card,
    .journey-step.right .step-card { grid-column: 1; text-align: left; }
    .journey-step .step-visual,
    .journey-step.left .step-visual,
    .journey-step.right .step-visual { grid-column: 1; }
    .journey-step .step-marker {
        left: 18px;
        top: 28px;
        transform: translate(-50%, 0);
        width: 18px;
        height: 18px;
    }
    .journey-step .step-visual img { height: 200px; }
    .journey-today { padding: 36px 22px; border-radius: 18px; }
    .journey-today h3 { font-size: 22px; }
}
