/* Styling for Mission & Core Values Timeline (378b1e81) */

.mt-378b1e81 {
    font-family: 'Inter', sans-serif;
    background-color: transparent;
}

.mt-378b1e81__container {
    margin: 0 auto;
    width: 100%;
}

/* Header Styles */
.mt-378b1e81__header {
    margin-bottom: 32px;
}

.mt-378b1e81__heading {
    font-family: 'Inter', sans-serif;
    font-size: 42px;
    font-weight: 700;
    line-height: 1.2;
    color: #111827;
    margin: 0 0 24px 0;
}

.mt-378b1e81__intro-p {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.6;
    color: #4B5563;
    margin: 0;
}

.mt-378b1e81__intro-p--primary {
    margin-bottom: 24px;
}

/* Row List Styles */
.mt-378b1e81__list {
    display: flex;
    flex-direction: column;
}

.mt-378b1e81__item {
    display: grid;
    grid-template-columns: 3fr 9fr 8fr;
    column-gap: 48px;
    align-items: center;
}

.mt-378b1e81__item:last-child {
    margin-bottom: 0 !important;
}

/* Column Styles */
.mt-378b1e81__col {
    display: flex;
    flex-direction: column;
}

.mt-378b1e81__col--left {
    align-items: flex-start;
}

/* Number styles */
.mt-378b1e81__number {
    font-family: 'Inter', sans-serif;
    font-size: 160px;
    font-weight: 700;
    line-height: 1;
    color: #9CA3AF;
    text-align: left;
}

/* Middle / Content Style */
.mt-378b1e81__title {
    font-family: 'Inter', sans-serif;
    font-size: 42px;
    font-weight: 700;
    color: #111827;
    margin: 0;
    line-height: 1.2;
}

.mt-378b1e81__underline {
    width: 80px;
    height: 5px;
    background-color: #F59E0B;
    border-radius: 3px;
    margin-top: 10px;
    margin-bottom: 24px;
}

.mt-378b1e81__desc {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    line-height: 1.8;
    color: #4B5563;
    max-width: 620px;
}

.mt-378b1e81__desc p {
    margin: 0 0 1em 0;
}

.mt-378b1e81__desc p:last-child {
    margin-bottom: 0;
}

/* Image Styles */
.mt-378b1e81__img-wrap {
    width: 100%;
    position: relative;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-radius: 12px;
}

.mt-378b1e81__img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 12px 30px rgba(0,0,0,.15);
    transition: transform 300ms ease, box-shadow 300ms ease;
}

.mt-378b1e81__img-wrap:hover img {
    transform: scale(1.03);
}

/* Viewport triggering initial animated state */
.mt-378b1e81__animated-left,\n.mt-378b1e81__animated-up,\n.mt-378b1e81__animated-right {
    opacity: 0;
    transition: opacity 600ms cubic-bezier(0.25, 1, 0.5, 1), transform 600ms cubic-bezier(0.25, 1, 0.5, 1);
}

.mt-378b1e81__animated-left {
    transform: translateX(-30px);
}

.mt-378b1e81__animated-up {
    transform: translateY(20px);
    transition-delay: 150ms;
}

.mt-378b1e81__animated-right {
    transform: translateX(30px);
    transition-delay: 300ms;
}

/* Visible animated states */
.mt-378b1e81__item.is-visible .mt-378b1e81__animated-left {
    opacity: 1;
    transform: translateX(0);
}

.mt-378b1e81__item.is-visible .mt-378b1e81__animated-up {
    opacity: 1;
    transform: translateY(0);
}

.mt-378b1e81__item.is-visible .mt-378b1e81__animated-right {
    opacity: 1;
    transform: translateX(0);
}


/* Tablet & Mobile Responsiveness */
@media (max-width: 1024px) {
    .mt-378b1e81__item {
        grid-template-columns: 1fr;
        column-gap: 0;
        margin-bottom: 70px;
    }

    /* Enforce exact required stacking order: Number -> Title -> Desc -> Image */
    .mt-378b1e81__col--left {
        order: 1;
        margin-bottom: 12px;
    }
    
    .mt-378b1e81__col--middle {
        order: 2;
    }

    .mt-378b1e81__title {
        font-size: 34px;
    }

    .mt-378b1e81__underline {
        margin-bottom: 16px; /* spacing to description text */
    }

    .mt-378b1e81__desc {
        font-size: 17px;
        margin-bottom: 24px; /* spacing to image */
    }

    .mt-378b1e81__col--right {
        order: 3;
        margin-bottom: 48px; /* Spacing below image to the next item */
    }

    .mt-378b1e81__number {
        font-size: 120px;
    }
}

@media (max-width: 767px) {
    .mt-378b1e81__heading {
        font-size: 32px;
    }
    .mt-378b1e81__number {
        font-size: 80px;
    }
    .mt-378b1e81__title {
        font-size: 28px;
    }
    .mt-378b1e81__desc {
        font-size: 16px;
    }
}
