main::before {
    content: '';
    position: absolute;
    inset: 0;
    height: fit-content !important;
    pointer-events: none;
}

.mission-main {
    height: fit-content;
    min-height: 100vh;
    padding-top: 0;
    padding-bottom: 80px;
    background: #f8f9fa;
    display: block;
    width: 100%;
}

.mission-header {
    background: linear-gradient(135deg, #E5E9EB, #99B8BD);
    padding: 140px 0px 80px;
    position: relative;
    width: 100%;
    display: block;
}

.mission-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.6' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.5'/%3E%3C/svg%3E");
    pointer-events: none;
}

.mission-header * {
    position: relative;
    z-index: 1;
}

.mission-header-content {
    max-width: 1200px;
    margin: 0 auto;
    text-align: center;
    display: block;
    width: 100%;
}

.mission-title {
    font-size: clamp(28px, 5vw, 56px);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 24px;
    line-height: 1.2;
    display: block;
    width: 100%;
}

.mission-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--secondary-color);
    line-height: 1.6;
    max-width: 700px;
    margin: 0 auto;
}

.mission-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 100px 40px 120px;
    background: transparent;
    display: block;
    width: 100%;
}

.steps-timeline {
    display: flex;
    flex-direction: column;
    gap: 0;
    position: relative;
}

.steps-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 80px;
    bottom: 80px;
    width: 3px;
    background: linear-gradient(180deg,
        transparent 0%,
        var(--primary-color) 10%,
        var(--primary-color) 90%,
        transparent 100%);
    opacity: 0.2;
    transform: translateX(-50%);
}

.step-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
    position: relative;
    padding: 60px 0;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

.step-item:nth-child(1) { animation-delay: 0.1s; }
.step-item:nth-child(2) { animation-delay: 0.2s; }
.step-item:nth-child(3) { animation-delay: 0.3s; }
.step-item:nth-child(4) { animation-delay: 0.4s; }
.step-item:nth-child(5) { animation-delay: 0.5s; }

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.step-item::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: white;
    border: 3px solid var(--primary-color);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 0 8px rgba(62, 90, 96, 0.1);
    transition: all 0.3s ease;
}

.step-item:hover::before {
    width: 24px;
    height: 24px;
    box-shadow: 0 0 0 12px rgba(62, 90, 96, 0.15);
}

.step-item.reverse {
    direction: rtl;
}

.step-item.reverse > * {
    direction: ltr;
}

.step-content {
    display: flex;
    gap: 30px;
    align-items: flex-start;
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), #99B8BD);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.step-item:hover .step-content::before {
    transform: scaleX(1);
}

.step-item:hover .step-content {
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    transform: translateY(-5px);
}

.step-number {
    font-size: clamp(40px, 8vw, 72px);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), #99B8BD);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    flex-shrink: 0;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.step-item:hover .step-number {
    opacity: 1;
    transform: scale(1.05);
}

.step-text {
    flex: 1;
    min-width: 0;
}

.step-text h2 {
    font-size: clamp(18px, 3vw, 26px);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
    line-height: 1.3;
    transition: color 0.3s ease;
}

.step-item:hover .step-text h2 {
    color: #1f3e44;
}

.step-text p {
    font-size: clamp(14px, 2vw, 16px);
    color: #5a6c75;
    line-height: 1.8;
}

.step-image {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15);
    position: relative;
    transition: all 0.4s ease;
}

.step-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(62, 90, 96, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.step-item:hover .step-image {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
}

.step-item:hover .step-image::after {
    opacity: 1;
}

.step-image img {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.step-item:hover .step-image img {
    transform: scale(1.05);
}

.step-arrow {
    display: none;
}

.mission-cta {
    margin-top: 80px;
    text-align: center;
    padding: 60px 40px;
    background: linear-gradient(135deg, rgba(62, 90, 96, 0.05), rgba(153, 184, 189, 0.05));
    border-radius: 20px;
    border: 2px solid rgba(62, 90, 96, 0.1);
}

.mission-cta h2 {
    font-size: clamp(24px, 4vw, 36px);
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 16px;
}

.mission-cta p {
    font-size: clamp(15px, 2.5vw, 18px);
    color: var(--secondary-color);
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 40px;
    background: var(--primary-color);
    color: white;
    text-decoration: none;
    border-radius: 50px;
    font-size: clamp(15px, 2.5vw, 18px);
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(62, 90, 96, 0.2);
}

.cta-button:hover {
    background: #1f3e44;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(62, 90, 96, 0.3);
}

.cta-button svg {
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.cta-button:hover svg {
    transform: translateX(5px);
}

@media (max-width: 1300px) {
    .mission-container {
        width: 90%;
    }
}


@media (max-width: 968px) {
    .mission-header {
        padding: 100px 0px 60px;
    }

    .mission-header p {
        width: 80%;
    }

    .mission-main {
        padding-bottom: 60px;
    }

    .mission-container {
        padding: 60px 20px 80px;
    }

    .steps-timeline::before {
        left: 24px;
        top: 40px;
        bottom: 40px;
        width: 2px;
    }

    .step-item {
        grid-template-columns: 1fr;
        gap: 30px;
        padding: 40px 0;
        margin-bottom: 5vh;
    }

    .step-item::before {
        left: 24px;
        top: 70px;
        transform: translate(-50%, 0);
        width: 16px;
        height: 16px;
        border-width: 2px;
    }

    .step-item:hover::before {
        width: 20px;
        height: 20px;
    }

    .step-item.reverse {
        direction: ltr;
    }

    .step-content {
        padding: 28px 24px;
        margin-left: 50px;
        margin-right: 20px;
        gap: 20px;
        max-width: calc(100% - 70px);
    }

    .step-image {
        margin-left: 50px;
        margin-right: 20px;
        max-width: calc(100% - 70px);
    }

    .step-item:hover .step-content {
        transform: none;
    }

    .step-item:hover .step-image,
    .step-item:hover .step-number {
        transform: none;
    }

    .mission-cta {
        margin-top: 60px;
        padding: 40px 24px;
    }
}

@media (max-width: 640px) {
    .mission-header {
        padding: 80px 0px 50px;
    }

    .mission-main {
        padding-bottom: 50px;
    }

    .mission-container {
        padding: 50px 16px 60px;
    }

    .steps-timeline::before {
        left: 20px;
    }

    .step-item {
        padding: 30px 0;
        gap: 24px;
    }

    .step-item::before {
        left: 20px;
        top: 60px;
        width: 14px;
        height: 14px;
        box-shadow: 0 0 0 6px rgba(62, 90, 96, 0.08);
    }

    .step-content {
        padding: 24px 20px;
        margin-left: 45px;
        margin-right: 20px;
        gap: 16px;
        border-radius: 12px;
        max-width: calc(100% - 65px);
    }

    .step-image {
        border-radius: 12px;
        box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
        margin-left: 45px;
        margin-right: 20px;
        max-width: calc(100% - 65px);
    }

    .mission-cta {
        margin-top: 50px;
        padding: 36px 20px;
        border-radius: 16px;
    }

    .cta-button {
        padding: 14px 32px;
        gap: 10px;
        width: 80%;
        max-width: 280px;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .mission-header {
        padding: 70px 0px 40px;
    }

    .mission-main {
        padding-bottom: 40px;
    }

    .mission-container {
        padding: 40px 12px 50px;
    }

    .steps-timeline::before {
        left: 16px;
    }

    .step-item {
        padding: 24px 0;
        gap: 20px;
    }

    .step-item::before {
        left: 16px;
        top: 50px;
        width: 12px;
        height: 12px;
    }

    .step-content {
        flex-direction: column;
        gap: 12px;
        padding: 20px 16px;
        margin-left: 40px;
        margin-right: 16px;
        max-width: calc(100% - 56px);
    }

    .step-number {
        align-self: flex-start;
    }

    .step-text h2 {
        margin-bottom: 12px;
    }

    .step-image {
        box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
        margin-left: 40px;
        margin-right: 16px;
        max-width: calc(100% - 56px);
    }

    .mission-cta {
        margin-top: 40px;
        padding: 32px 16px;
    }

    .mission-cta h2 {
        margin-bottom: 12px;
    }

    .mission-cta p {
        margin-bottom: 24px;
    }

    .cta-button {
        padding: 13px 28px;
        gap: 8px;
    }
}

@media (max-width: 375px) {
    .mission-header {
        padding: 60px 0px 36px;
    }

    .mission-main {

    }

    .mission-container {
        padding: 36px 10px 44px;
    }

    .steps-timeline::before {
        left: 14px;
    }

    .step-item {
        padding: 20px 0;
    }

    .step-item::before {
        left: 14px;
        top: 44px;
        width: 10px;
        height: 10px;
    }

    .step-content {
        padding: 18px 14px;
        margin-left: 35px;
        margin-right: 12px;
        gap: 10px;
        max-width: calc(100% - 47px);
    }

    .step-image {
        margin-left: 35px;
        margin-right: 12px;
        max-width: calc(100% - 47px);
    }

    .mission-cta {
        margin-top: 36px;
        padding: 28px 12px;
    }

    .cta-button {
        padding: 12px 24px;
    }
}
