/* ========================================= */
/* ABOUT US - PROCESS AND JOURNEY SECTIONS   */
/* ========================================= */

/* --- OUR PROCESS SECTION --- */
.our-process {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.process-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 50px;
}

.process-card {
    background: #fff;
    padding: 32px 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
    border: 1px solid rgba(0, 0, 0, 0.03);
    text-align: center;
    transition: all 0.4s ease;
    will-change: transform, opacity;
}

.process-card:hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 15px 35px rgba(16, 40, 104, 0.1);
}

.process-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    background: rgba(16, 40, 104, 0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color, #102868);
    transition: all 0.3s ease;
}

.process-card:hover .process-icon {
    background: var(--primary-color, #102868);
    color: #fff;
}

.process-icon svg {
    width: 28px;
    height: 28px;
    stroke: currentColor;
    stroke-width: 1.5;
    fill: none;
}

.process-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-color, #000);
}

.process-desc {
    font-size: 0.95rem;
    color: var(--text-muted, #666);
    line-height: 1.5;
    margin-bottom: 0;
}

/* --- OUR JOURNEY SECTION --- */
.our-journey {
    padding: 100px 0;
    background-color: #fcfcfc;
    position: relative;
    overflow: hidden;
}

.journey-roadmap {
    position: relative;
    max-width: 900px;
    margin: 60px auto 0;
}

.journey-item {
    position: relative;
    width: 50%;
    padding-bottom: 70px;
}

/* Alternate Left/Right */
.journey-item:nth-child(odd) {
    left: 0;
    padding-right: 50px;
}

.journey-item:nth-child(even) {
    left: 50%;
    padding-left: 50px;
}

.journey-content {
    background: #ffffff;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.4s ease;
}

/* 3D soft depth hover effect */
.journey-item:hover .journey-content {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.journey-year {
    display: inline-block;
    background: rgba(16, 40, 104, 0.08);
    color: var(--primary-color, #102868);
    padding: 6px 16px;
    border-radius: 30px;
    font-weight: 800;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.journey-title {
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 12px;
    clear: both;
}

.journey-desc {
    font-size: 1rem;
    color: var(--text-muted, #666);
    margin: 0;
    line-height: 1.6;
}

/* === THE ZIG-ZAG CONNECTION ARROWS === */

/* Line from ODD content to EVEN content */
.journey-item:nth-child(odd) .journey-content::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    width: calc(100px + 50%);
    height: calc(50% + 70px);
    border-top: 3px solid var(--primary-hover, #f22222);
    border-right: 3px solid var(--primary-hover, #f22222);
    border-top-right-radius: 16px;
    z-index: -1;
}

.journey-item:nth-child(odd) .journey-content::before {
    /* Arrow Head */
    content: '';
    position: absolute;
    top: calc(100% + 70px);
    left: calc(100% + 100px + 50%);
    transform: translate(-50%, 0);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 8px solid var(--primary-hover, #f22222);
    z-index: 1;
}

/* Line from EVEN content to ODD content */
.journey-item:nth-child(even) .journey-content::after {
    content: '';
    position: absolute;
    top: 50%;
    right: 100%;
    width: calc(100px + 50%);
    height: calc(50% + 70px);
    border-top: 3px solid var(--primary-hover, #f22222);
    border-left: 3px solid var(--primary-hover, #f22222);
    border-top-left-radius: 16px;
    z-index: -1;
}

.journey-item:nth-child(even) .journey-content::before {
    /* Arrow Head */
    content: '';
    position: absolute;
    top: calc(100% + 70px);
    right: calc(100% + 100px + 50%);
    transform: translate(50%, 0);
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-top: 10px solid var(--primary-hover, #f22222);
    z-index: 1;
}

/* Continuing to grow End Element */
.continuing-growth {
    position: relative;
    width: 50%;
    left: 0;
    padding-right: 50px;
    text-align: center;
    margin-top: 20px;
    z-index: 2;
}

.growth-text {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--primary-hover, #f22222);
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.growth-text svg {
    animation: bounceDown 2s infinite;
}

@keyframes bounceDown {

    0%,
    20%,
    50%,
    80%,
    100% {
        transform: translateY(0);
    }

    40% {
        transform: translateY(8px);
    }

    60% {
        transform: translateY(4px);
    }
}

.journey-cta {
    text-align: center;
    margin-top: 60px;
}

/* Global Animation Utility classes triggered by JS Observer */
.fade-in-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1);
}

.fade-in-up.visible {
    opacity: 1;
    transform: translateY(0);
}

/* --- RESPONSIVE ADJUSTMENTS --- */
@media (max-width: 1024px) {
    .process-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .process-grid {
        grid-template-columns: 1fr;
    }

    .journey-roadmap {
        margin: 40px 0 0 0;
    }

    .journey-item {
        width: 100%;
        padding-bottom: 60px;
    }

    .journey-item:nth-child(odd),
    .journey-item:nth-child(even) {
        left: 0;
        padding-right: 0;
        padding-left: 0;
    }

    .continuing-growth {
        width: 100%;
        padding-right: 0;
    }

    /* On mobile, ALL lines just go straight down from the center bottom */
    .journey-item:nth-child(odd) .journey-content::after,
    .journey-item:nth-child(even) .journey-content::after {
        top: 100%;
        left: 50% !important;
        right: auto !important;
        transform: translateX(-50%);
        width: 2px !important;
        height: 60px !important;
        /* height is padding-bottom */
        border: none !important;
        background-color: var(--primary-hover, #f22222) !important;
        border-radius: 0 !important;
    }

    .journey-item:nth-child(odd) .journey-content::before,
    .journey-item:nth-child(even) .journey-content::before {
        top: calc(100% + 60px) !important;
        left: 50% !important;
        right: auto !important;
        transform: translate(-50%, 0) !important;
        border-left: 6px solid transparent !important;
        border-right: 6px solid transparent !important;
        border-top: 8px solid var(--primary-hover, #f22222) !important;
    }
}

/* --- SOCIAL MEDIA BANNER --- */
.social-banner {
    padding: 80px 0;
    background-color: #fcfcfc;
}

.social-banner-image {
    width: 100%;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
}

.social-banner-image img {
    width: 100%;
    height: auto;
    display: block;
    image-rendering: -webkit-optimize-contrast;
}