/* =========================================
   PERJALANAN USAHA
   HORIZONTAL ZIG-ZAG TIMELINE
========================================= */

.company-journey {
    background: #fff;
    padding: 90px 0 100px;
}

.company-journey-head {
    max-width: 760px;
    margin-bottom: 45px;
}

.company-journey-head .kicker {
    margin-bottom: 12px;
}

.company-journey-head h2 {
    margin: 0 0 15px;
    color: #1a2d65;
    font-size: clamp(30px, 4vw, 46px);
    line-height: 1.15;
    letter-spacing: -0.03em;
}

.company-journey-head p {
    margin: 0;
    color: #667085;
    font-size: 15px;
    line-height: 1.8;
    max-width: 680px;
}


/* =========================================
   SCROLL AREA
========================================= */

.timeline-scroll {
    width: 100%;
    overflow-x: auto;
    overflow-y: hidden;
    padding: 20px 0 35px;

    scrollbar-width: thin;
    scrollbar-color: #ff5757 #edf1f5;
}

.timeline-scroll::-webkit-scrollbar {
    height: 6px;
}

.timeline-scroll::-webkit-scrollbar-track {
    background: #edf1f5;
    border-radius: 20px;
}

.timeline-scroll::-webkit-scrollbar-thumb {
    background: #ff5757;
    border-radius: 20px;
}


/* =========================================
   TIMELINE
========================================= */

.timeline {
    position: relative;

    display: flex;
    align-items: stretch;

    width: max-content;
    min-width: 100%;

    padding: 0 30px;

    gap: 28px;
}


/* GARIS TENGAH */

.timeline::before {
    content: "";

    position: absolute;

    left: 30px;
    right: 30px;

    top: 50%;

    height: 2px;

    background: #dce5ef;

    transform: translateY(-50%);

    z-index: 1;
}


/* =========================================
   ITEM
========================================= */

.timeline-year-item {
    position: relative;

    width: 315px;
    min-width: 315px;

    height: 620px;

    z-index: 2;
}


/* =========================================
   TITIK TENGAH
========================================= */

.timeline-top {
    position: absolute;

    top: 50%;
    left: 0;
    right: 0;

    height: 1px;

    transform: translateY(-50%);

    z-index: 5;
}

.timeline-dot {
    position: absolute;

    top: 50%;
    left: 50%;

    width: 16px;
    height: 16px;

    transform: translate(-50%, -50%);

    border-radius: 50%;

    background: #ff5757;

    border: 4px solid #fff;

    box-shadow:
        0 0 0 1px #ff5757,
        0 0 18px rgba(255, 87, 87, .22);
}


/* =========================================
   TAHUN
========================================= */

.timeline-year {
    position: absolute;

    left: 50%;

    transform: translateX(-50%);

    color: #37517e;

    font-size: 18px;
    font-weight: 800;

    line-height: 1;

    white-space: nowrap;
    padding: 15px;
}


/* TAHUN ATAS */

.timeline-year-item:nth-child(odd) .timeline-year {
    bottom: 28px;
}


/* TAHUN BAWAH */

.timeline-year-item:nth-child(even) .timeline-year {
    top: 28px;
}


/* =========================================
   CARD
========================================= */

.timeline-card {
    position: absolute;

    left: 8px;
    right: 8px;

    padding: 23px;

    background: #fff;

    border: 1px solid #e5eaf1;

    border-radius: 15px;

    box-shadow:
        0 8px 28px rgba(26, 45, 101, .05);

    transition:
        transform .25s ease,
        box-shadow .25s ease,
        border-color .25s ease;

    z-index: 3;
    margin: 25px;
}

.timeline-card:hover {
    border-color: rgba(255, 87, 87, .45);

    box-shadow:
        0 14px 35px rgba(26, 45, 101, .08);
}


/* =========================================
   CARD ATAS
========================================= */

.timeline-year-item:nth-child(odd) .timeline-card {
    bottom: calc(50% + 42px);
}


/* =========================================
   CARD BAWAH
========================================= */

.timeline-year-item:nth-child(even) .timeline-card {
    top: calc(50% + 42px);
}


/* =========================================
   GARIS PENGHUBUNG CARD
========================================= */

.timeline-year-item:nth-child(odd)::after,
.timeline-year-item:nth-child(even)::after {
    content: "";

    position: absolute;

    left: 50%;

    width: 1px;

    background: #ff5757;

    transform: translateX(-50%);

    z-index: 2;
}


/* ATAS */

.timeline-year-item:nth-child(odd)::after {
    top: calc(50% - 42px);
    height: 42px;
}


/* BAWAH */

.timeline-year-item:nth-child(even)::after {
    top: 50%;
    height: 42px;
}


/* =========================================
   LABEL
========================================= */

.timeline-label {
    display: inline-block;

    margin-bottom: 10px;

    color: #e5444a;

    font-size: 9px;
    font-weight: 800;

    letter-spacing: .13em;
}


/* =========================================
   TITLE
========================================= */

.timeline-card h3 {
    margin: 0 0 11px;

    color: #1a2d65;

    font-size: 20px;

    line-height: 1.3;
}


/* =========================================
   TEXT
========================================= */

.timeline-card p {
    margin: 0;

    color: #667085;

    font-size: 13px;

    line-height: 1.7;
}

.timeline-card strong {
    color: #1a2d65;
}


/* =========================================
   EVENT 2023
========================================= */

.timeline-events {
    margin-top: 14px;

    border-top: 1px solid #edf1f5;
}

.timeline-event {
    padding: 11px 0;

    border-bottom: 1px solid #edf1f5;
}

.timeline-event:last-child {
    border-bottom: 0;
}

.timeline-event>strong {
    display: block;

    margin-bottom: 4px;

    color: #1a2d65;

    font-size: 12px;
}

.timeline-event p {
    font-size: 11px;
    line-height: 1.55;
}


/* =========================================
   META
========================================= */

.timeline-meta {
    display: grid;

    grid-template-columns: 1fr;

    gap: 7px;

    margin-top: 9px;
}

.timeline-meta>div {
    padding: 9px 11px;

    background: #f7f9fc;

    border: 1px solid #e8edf3;

    border-radius: 7px;
}

.timeline-meta small {
    display: block;

    margin-bottom: 3px;

    color: #98a2b3;

    font-size: 8px;
    font-weight: 800;

    letter-spacing: .04em;
}

.timeline-meta strong {
    display: block;

    color: #1a2d65;

    font-size: 10px;

    line-height: 1.4;
}


/* =========================================
   RESPONSIVE
========================================= */

@media (max-width: 768px) {

    .company-journey {
        padding: 65px 0 75px;
    }

    .company-journey-head {
        margin-bottom: 30px;
    }

    .company-journey-head h2 {
        font-size: 30px;
    }

    .company-journey-head p {
        font-size: 14px;
    }

    .timeline-scroll {
        padding-bottom: 25px;
    }

    .timeline {
        padding: 0 18px;
        gap: 18px;
    }

    .timeline::before {
        left: 18px;
        right: 18px;
    }

    .timeline-year-item {
        width: 285px;
        min-width: 285px;
        height: 570px;
    }

    .timeline-card {
        left: 5px;
        right: 5px;

        padding: 20px;
    }

    .timeline-card h3 {
        font-size: 18px;
    }

    .timeline-card p {
        font-size: 12px;
    }

    .timeline-year {
        font-size: 17px;
    }

}


/* =========================================
   MOBILE SANGAT KECIL
========================================= */

@media (max-width: 480px) {

    .timeline-year-item {
        width: 270px;
        min-width: 270px;
    }

    .timeline-card {
        padding: 18px;
    }

    .timeline-label {
        font-size: 8px;
    }

    .timeline-card h3 {
        font-size: 17px;
    }

    .timeline-card p {
        font-size: 11.5px;
    }

}

/* =========================================================
   HERO
========================================================= */

.cloud-hero {
    position: relative;
    overflow: hidden;

    padding: 145px 0 100px;

    background:
        radial-gradient(circle at 85% 20%,
            rgba(255, 87, 87, .12),
            transparent 32%),
        radial-gradient(circle at 15% 80%,
            rgba(55, 81, 126, .07),
            transparent 30%),
        #fff;
}

.cloud-hero::before {
    content: "";

    position: absolute;

    width: 420px;
    height: 420px;

    right: -180px;
    top: -180px;

    border: 1px solid rgba(255, 87, 87, .15);

    border-radius: 50%;
}

.cloud-hero::after {
    content: "";

    position: absolute;

    width: 300px;
    height: 300px;

    right: -110px;
    top: -110px;

    border: 1px solid rgba(55, 81, 126, .10);

    border-radius: 50%;
}

.cloud-hero-content {
    position: relative;

    max-width: 850px;

    margin: 0 auto;

    text-align: center;

    z-index: 2;
}

.cloud-kicker {
    display: inline-flex;

    align-items: center;
    gap: 8px;

    margin-bottom: 18px;

    color: #e5444a;

    font-size: 10px;
    font-weight: 800;

    letter-spacing: .16em;
}

.cloud-kicker::before {
    content: "";

    width: 7px;
    height: 7px;

    border-radius: 50%;

    background: #ff5757;

    box-shadow: 0 0 0 5px rgba(255, 87, 87, .10);
}

.cloud-hero h1 {
    margin: 0 auto 22px;

    max-width: 850px;

    color: #1a2d65;

    font-size: clamp(38px, 6vw, 68px);

    line-height: 1.05;

    letter-spacing: -.045em;
}

.cloud-hero h1 span {
    color: #37517e;
}

.cloud-hero-description {
    max-width: 720px;

    margin: 0 auto 32px;

    color: #667085;

    font-size: 16px;

    line-height: 1.8;
}

.cloud-hero-actions {
    display: flex;

    justify-content: center;
    align-items: center;

    gap: 12px;

    flex-wrap: wrap;
}

/* =========================================================
   BUTTON
========================================================= */

.cloud-btn {
    display: inline-flex;

    align-items: center;
    justify-content: center;

    min-height: 48px;

    padding: 0 23px;

    border-radius: 9px;

    font-size: 13px;
    font-weight: 700;

    text-decoration: none;

    transition: .25s ease;
}

.cloud-btn-primary {
    color: #fff;

    background: #37517e;

    box-shadow:
        0 10px 25px rgba(55, 81, 126, .18);
}

.cloud-btn-primary:hover {
    transform: translateY(-2px);

    background: #293f71;

    box-shadow:
        0 14px 30px rgba(55, 81, 126, .24);
}

.cloud-btn-outline {
    color: #37517e;

    background: #fff;

    border: 1px solid #dce5ef;
}

.cloud-btn-outline:hover {
    border-color: #ff5757;

    background: #f7fcff;
}
