/* =========================================================
   PORTFOLIO – DARK PREMIUM + NAVY BLUE + GOLD
========================================================= */

/* WRAPPER UTAMA */
.timeline-wrapper {
    width: 100%;
    padding: 150px 0;
    background: linear-gradient(180deg, #0a1122, #0e162d, #0a1122);
    min-height: 100vh;
}

/* TITLE */
.portfolio-title {
    font-size: 48px;
    font-weight: 900;
    text-align: center;
    color: #E8C547;
    margin-bottom: 12px;
}

.portfolio-subtitle {
    font-size: 18px;
    color: #d7d7d7;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
    line-height: 1.6;
}



/* =========================================================
   TIMELINE CONTAINER
========================================================= */

.timeline-container {
    width: 90%;
    max-width: 1050px;
    margin: auto;
    position: relative;
    padding: 0 20px;
}

/* GARIS EMAS */
.timeline-container::before {
    content: "";
    position: absolute;
    left: 50%;
    top: 0;
    width: 4px;
    height: 100%;
    background: #E8C547;
    transform: translateX(-50%);
    border-radius: 10px;
}



/* =========================================================
   TIMELINE ITEM (KIRI / KANAN)
========================================================= */

.timeline-item {
    width: 100%;
    position: relative;
    margin: 35px 0;   /* jarak antar card */
}

.timeline-item.left {
    display: flex;
    justify-content: flex-start;
}

.timeline-item.right {
    display: flex;
    justify-content: flex-end;
}

/* TITIK EMAS */
.timeline-dot {
    width: 20px;
    height: 20px;
    background: #E8C547;
    border-radius: 50%;
    border: 3px solid #fff;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}



/* =========================================================
   TIMELINE CARD
========================================================= */

.timeline-card {
    background: rgba(0,0,0,0.33);
    border: 1px solid rgba(232,197,71,0.4);
    border-radius: 14px;
    padding: 22px 28px;
    width: 420px;          /* ukuran IDEAL supaya tidak makan 1 layar */
    min-height: 220px;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 22px rgba(0,0,0,0.55);
    transition: 0.3s ease;
}

.timeline-card:hover {
    transform: translateY(-6px);
    border-color: #E8C547;
}



/* =========================================================
   ISI CARD
========================================================= */

/* TAHUN */
.timeline-card .year {
    font-size: 28px;
    font-weight: 900;
    color: #E8C547;
    margin-bottom: 6px;
}

/* NAMA PERUSAHAAN */
.timeline-card h3 {
    font-size: 15px;
    margin-bottom: 3px;
    color: #fff;
}

/* LOKASI */
.timeline-card p {
    font-size: 14px;
    color: #ccc;
    line-height: 1.35;
    margin-bottom: 3px;
}

/* LIST */
.timeline-card ul {
    margin-left: 18px;
    margin-bottom: 18px;
}

.timeline-card ul li {
    color: #dcdcdc;
    font-size: 15px;
    line-height: 1.45;
}



/* =================================================================
   PORTFOLIO – FULL MOBILE/TABLET FIX (ANTI GESER KANAN)
   Berlaku untuk semua device <= 1024px
================================================================= */
@media (max-width:992px) {

    /* Anti scroll kanan ALL */
    html, body {
        overflow-x: hidden !important;
        max-width: 100% !important;
    }

    * {
        box-sizing: border-box !important;
        max-width: 100% !important;
    }

    /* Timeline wrapper aman */
    .timeline-wrapper {
        padding: 140px 0 !important;
    }

    /* Container full width */
    .timeline-container {
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto !important;
        padding: 0 15px !important;
        overflow-x: hidden !important;
    }

    /* Garis pindah kiri */
    .timeline-container::before {
        left: 15px !important;
        transform: none !important;
    }

    /* Titik mengikuti garis */
    .timeline-dot {
        left: 15px !important;
        transform: none !important;
    }

    /* Card jadi fleksibel (tidak fix 420px lagi) */
    .timeline-card {
        width: calc(100% - 50px) !important; /* aman 100%, tidak overflow */
        margin-left: 35px !important;
        padding: 20px !important;
    }

    /* Item selalu kiri */
    .timeline-item,
    .timeline-item.left,
    .timeline-item.right {
        justify-content: flex-start !important;
        width: 100% !important;
        margin: 30px 0 !important;
    }


    /* ======================================================
   PORTFOLIO — MOBILE TEXT FIX (rapihin judul + deskripsi)
====================================================== */
@media (max-width:992px) {

    /* WRAPPER */
    .timeline-wrapper {
        padding-top: 130px !important;
        padding-left: 0 !important;
        padding-right: 0 !important;
    }

    /* TITLE BESAR */
    .portfolio-title {
        font-size: 34px !important;
        line-height: 1.3 !important;
        text-align: center !important;
        padding: 0 20px !important;
        margin-bottom: 15px !important;
    }

    /* SUBTITLE / PARAGRAF BAWAH JUDUL */
    .portfolio-subtitle {
        font-size: 15px !important;
        line-height: 1.6 !important;
        text-align: left !important;
        width: 90% !important;
        margin: 10px auto 40px !important;
    }
}






}
