/* Journey Block CSS */

.zolar-journey-section {
    padding: 100px 0;
    background-color: var(--zolar-bg, #f4f8f5);
    overflow: hidden;
    /* Full bleed breakout from Elementor container */
    width: 100vw;
    position: relative;
    left: 50%;
    right: 50%;
    margin-left: -50vw;
    margin-right: -50vw;
    font-family: 'DM Sans', sans-serif;
    color: var(--zolar-text);
}

.zolar-journey-container {
    max-width: 100%;
    margin: 0 auto;
    padding: 0 40px;
}

.zolar-journey-header {
    text-align: center;
    margin-bottom: 50px;
}

.zolar-eyebrow {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 15px;
    display: inline-block;
    color: var(--zolar-text);
}

.zolar-journey-header h2 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 48px;
    font-weight: 700;
    margin: 0;
}

.zolar-journey-steps-wrap {
    position: relative;
    padding-top: 40px;
}

.zolar-journey-steps {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    position: relative;
    gap: 20px;
}

.zolar-journey-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 0;
}

.zolar-journey-image-wrap {
    width: 200px;
    height: 200px;
    margin: 0 auto 30px;
    border-radius: 50%;
    padding: 10px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
    position: relative;
    box-sizing: border-box;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    overflow: hidden; /* For image scale */
}

/* We must un-hide overflow for the number badge to stick out, so let's put overflow hidden ONLY on a pseudo wrapper or just scale the img without overflow hidden */
.zolar-journey-image-wrap {
    overflow: visible; 
}

.zolar-journey-step:hover .zolar-journey-image-wrap {
    background-color: var(--zolar-accent);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(200, 232, 107, 0.3);
}

.zolar-journey-image-wrap img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    border-radius: 50% !important;
    display: block !important;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

.zolar-journey-step:hover .zolar-journey-image-wrap img {
    transform: scale(1.05) !important;
}

.zolar-journey-number {
    position: absolute;
    top: 0px;
    right: 0px;
    width: 40px;
    height: 40px;
    background-color: var(--zolar-accent);
    color: #161616;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    z-index: 5;
}

.zolar-journey-step:hover .zolar-journey-number {
    background-color: #161616;
    color: #ffffff;
    transform: scale(1.15) rotate(-5deg);
}

.zolar-journey-step h3 {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin: 0 0 10px;
}

.zolar-journey-step p {
    font-size: 15px;
    color: #666;
    line-height: 1.6;
    margin: 0;
    padding: 0 10px;
}

.zolar-journey-arrow {
    position: absolute;
    -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 150 55' style='enable-background:new 0 0 150 55;' xml:space='preserve'%3E%3Cpath d='M122.4,26.7c-8,1.5-16.2,1.9-23.6,6.7c1.5,1,2.8,0.6,4,0.6c9.6-0.4,19.1-1.7,28.7-1.2c2.4,0.1,4.8,0.3,7.2,0.5 c1.8,0.1,3.4-0.1,4.2-2c0.7-1.7,0-3.1-1.3-4.2c-6.1-5.2-11.3-11.2-17.1-16.7c-2.1-2-4-4.1-6-6.2c-1.3-1.4-2.7-2.5-4.6-1.2 c-1.8,1.2-1.6,3-0.8,4.8c1.1,2.5,3.1,4.4,5.1,6.2c2,2,4.2,3.9,5.9,6.4c-3.3-0.9-6.7-1.8-10-2.7c-15.9-4.2-32.2-5.9-48.6-5.5 c-16.3,0.4-31.2,4.9-43.8,15.5c-6.2,5.2-11.7,11.1-14,19.2c-0.5,1.8-1.1,3.5-0.7,5.5c0.9-0.2,1.1-1,1.4-1.6 c4.8-11.4,13.3-19,23.6-24.5c2.3-1.2,4.6-2.4,7.1-3.4c7.6-3.2,15.6-4.8,23.9-5c19.8-0.6,39.2,2,58.1,7.9 C121.4,26,122,25.9,122.4,26.7z'/%3E%3C/svg%3E%0A");
    mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' x='0px' y='0px' viewBox='0 0 150 55' style='enable-background:new 0 0 150 55;' xml:space='preserve'%3E%3Cpath d='M122.4,26.7c-8,1.5-16.2,1.9-23.6,6.7c1.5,1,2.8,0.6,4,0.6c9.6-0.4,19.1-1.7,28.7-1.2c2.4,0.1,4.8,0.3,7.2,0.5 c1.8,0.1,3.4-0.1,4.2-2c0.7-1.7,0-3.1-1.3-4.2c-6.1-5.2-11.3-11.2-17.1-16.7c-2.1-2-4-4.1-6-6.2c-1.3-1.4-2.7-2.5-4.6-1.2 c-1.8,1.2-1.6,3-0.8,4.8c1.1,2.5,3.1,4.4,5.1,6.2c2,2,4.2,3.9,5.9,6.4c-3.3-0.9-6.7-1.8-10-2.7c-15.9-4.2-32.2-5.9-48.6-5.5 c-16.3,0.4-31.2,4.9-43.8,15.5c-6.2,5.2-11.7,11.1-14,19.2c-0.5,1.8-1.1,3.5-0.7,5.5c0.9-0.2,1.1-1,1.4-1.6 c4.8-11.4,13.3-19,23.6-24.5c2.3-1.2,4.6-2.4,7.1-3.4c7.6-3.2,15.6-4.8,23.9-5c19.8-0.6,39.2,2,58.1,7.9 C121.4,26,122,25.9,122.4,26.7z'/%3E%3C/svg%3E%0A");
    -webkit-mask-size: 100% 100%;
    mask-size: 100% 100%;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-position: center;
    mask-position: center;
    top: 90px;
    left: calc(50% + 100px);
    width: calc(100% - 200px);
    height: 55px;
    background-color: var(--zolar-accent);
    animation: colorRun 3s linear infinite;
    background: linear-gradient(90deg, #b3b3b3, var(--zolar-accent), #b3b3b3, var(--zolar-accent));
    background-size: 300% 100%;
    z-index: 4;
    pointer-events: none;
}

@keyframes colorRun {
    0% {
        background-position: 100% 0;
    }
    100% {
        background-position: 0 0;
    }
}

/* Footer Section (CTA + Phone) */
.zolar-journey-footer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 40px;
    border-top: 1px solid rgba(0,0,0,0.05);
    padding-top: 40px;
}

.zolar-journey-contact {
    display: flex;
    align-items: center;
    gap: 15px;
    transition: transform 0.3s ease;
}

.zolar-journey-contact:hover {
    transform: translateY(-2px);
}

.zolar-journey-phone-icon {
    width: 44px;
    height: 44px;
    background-color: var(--zolar-accent);
    color: var(--zolar-text);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.zolar-journey-phone-text {
    display: flex;
    flex-direction: column;
}

.zolar-journey-phone-text span {
    font-size: 13px;
    color: #666;
    font-weight: 500;
}

.zolar-journey-phone-text strong {
    font-size: 18px;
    font-weight: 700;
    color: var(--zolar-text);
}
