table {
    width: 100%;
    border-collapse: collapse;
}

table td {
    vertical-align: top;
    /* Align the text to the top */
    padding: 5px;
    /* Add padding for better readability */
}
/* --- KONFIGURASI DASAR KARTU --- */
.harita-card {
    aspect-ratio: 1 / 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    padding: 20px;
    border-radius: 12px;
    border: none;
    outline: none;
    
    /* Transisi Halus untuk Warna, Transformasi, dan Bayangan */
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    
    /* Tampilan Awal: Abu-abu & Teks Gelap */
    background-color: #f0f0f0 !important; 
    color: #303030 !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}

/* --- EFEK HOVER UMUM --- */
.harita-letter { 
    font-size: 3.5rem; 
    font-weight: 800; 
    line-height: 1; 
    margin-bottom: 5px;
    transition: transform 0.3s ease;
}

.harita-title { 
    font-size: 0.6rem; 
    text-transform: uppercase; 
    font-weight: 700; 
    margin-top: 10px;
    letter-spacing: 0.5px;
    text-align: center;
}

/* --- LOGIKA WARNA PER ITEM (HOVER & AKTIF) --- */
/* Menggunakan selector yang menargetkan kolom agar urutan warna tetap konsisten */

/* 1. Oranye */
.harita-grid-container > div:nth-child(1):hover .harita-card,
.harita-grid-container > div:nth-child(1) .harita-card.active { 
    background-color: #E68A45 !important; 
    color: white !important; 
}

/* 2. Biru */
.harita-grid-container > div:nth-child(2):hover .harita-card,
.harita-grid-container > div:nth-child(2) .harita-card.active { 
    background-color: #3B75B5 !important; 
    color: white !important; 
}

/* 3. Hijau */
.harita-grid-container > div:nth-child(3):hover .harita-card,
.harita-grid-container > div:nth-child(3) .harita-card.active { 
    background-color: #5E9D52 !important; 
    color: white !important; 
}

/* 4. Merah */
.harita-grid-container > div:nth-child(4):hover .harita-card,
.harita-grid-container > div:nth-child(4) .harita-card.active { 
    background-color: #C04242 !important; 
    color: white !important; 
}

/* 5. Gold */
.harita-grid-container > div:nth-child(5):hover .harita-card,
.harita-grid-container > div:nth-child(5) .harita-card.active { 
    background-color: #C9B03B !important; 
    color: white !important; 
}

/* 6. Kuning */
.harita-grid-container > div:nth-child(6):hover .harita-card,
.harita-grid-container > div:nth-child(6) .harita-card.active { 
    background-color: #F1E852 !important; 
    color: #333 !important; /* Teks gelap khusus kuning agar tetap terbaca */
}

.custom-card-body {
    background-color: #f8f9fa;
    border-radius: 12px;
    border-top: 4px solid #333; /* Memberi aksen di atas deskripsi */
}

/* --- KARTU MANAJEMEN (Sesuai modif sebelumnya) --- */
.management-card {
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
    cursor: pointer;
}

.management-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1) !important;
}

.management-card__image {
    position: relative;
    padding-top: 10px;
    background-color: transparent;
    text-align: center;
    overflow: hidden;
}

.image-bg-accent {
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 90%;
    height: 65%;
    background: #ffffff; 
    border-radius: 0% 0% 0 0;
    z-index: 1;
}

.management-card__image::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 5%;
    width: 90%;
    height: 4px;
    background-color: #ffffff; 
    z-index: 3;
}

.management-card__image img {
    position: relative;
    z-index: 2;
    width: 85%;
    height: auto;
    display: block;
    margin: 0 auto;
}

.direksi-name {
    font-size: 0.95rem;
    font-weight: 700;
    color: #0d2137;
    margin-bottom: 2px;
}

.jabatan-text {
    font-size: 0.75rem;
    color: #666;
}

/* --- MODAL STYLING (PERBAIKAN GAMBAR TERPOTONG) --- */
.modal-content {
    overflow: visible !important;
    border-radius: 15px;
}

.modal-image-wrapper {
    background: #f8f9fa; /* Memberi background tipis jika foto transparan */
    border-radius: 10px;
    padding: 10px;
}

.modal-photo-main {
    width: 100%;
    height: auto;
    max-height: 350px; /* Batas tinggi maksimal */
    object-fit: contain; /* INI KUNCINYA: agar gambar tidak terpotong (fit ke kontainer) */
    display: block;
    margin: 0 auto;
}

.accent-line {
    width: 50px;
    border-top: 3px solid #007aff;
    opacity: 1;
}

.modal-description-text {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 15px;
}

/* --- TOMBOL SILANG BULAT --- */
.btn-close-custom {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 35px;
    height: 35px;
    background-color: #ef4f10; 
    color: white;
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 1060;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.btn-close-custom::before {
    content: "\2715";
    font-weight: bold;
    font-size: 18px;
    color: white;
}

:root {
    --navy-blue: #1a237e;
    --gold-accent: #d4af37;
    --bg-gray: #f8f9fa; 
    --line-color: #dee2e6;
}

/* Gambar Landscape Fix 16:9 */
.img-landscape-fix {
    width: 100%;
    aspect-ratio: 16 / 11;
    object-fit: cover;
    display: block;
}

.bg-content-gray { background-color: var(--bg-gray) !important; }
.text-navy { color: var(--navy-blue); }

.timeline-navigation-container {
    display: flex;
    align-items: center;
    position: relative;
}

.timeline-nav-scroll {
    flex-grow: 1;
    position: relative;
    overflow-x: auto;
    scrollbar-width: none;
    padding: 20px 0;
    margin: 0 25px; /* Jarak antara tombol panah dan ujung garis */
}

.timeline-nav-scroll::-webkit-scrollbar { display: none; }

/* Garis Timeline */
.timeline-line {
    position: absolute;
    top: 35px;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--line-color);
    z-index: 1;
}

/* Nav Tabs Logic untuk Titik Ujung ke Ujung */
.nav-tabs {
    display: flex;
    justify-content: space-between;
    min-width: 100%;
    padding: 0;
    margin: 0;
    position: relative;
    z-index: 2;
}

.nav-tabs .nav-item {
    flex: 1 1 0; /* Bagi ruang secara merata */
    text-align: center;
    position: relative;
}

/* Mengatur agar item pertama rata kiri dan terakhir rata kanan */
.nav-tabs .nav-item:first-child { text-align: left; }
.nav-tabs .nav-item:last-child { text-align: right; }

.nav-tabs .nav-link {
    background: transparent !important;
    border: none !important;
    color: #888;
    position: relative;
    padding-top: 35px;
    display: inline-block;
    width: auto;
    min-width: 60px;
}

/* Dot Navigation */
.nav-tabs .dot {
    position: absolute;
    top: 10px;
    width: 12px;
    height: 12px;
    background: #bbb;
    border-radius: 50%;
    border: 2px solid #fff;
    transition: 0.3s;
    z-index: 3;
}

/* Penempatan Dot: Kiri, Tengah, Kanan */
.nav-tabs .dot { left: 50%; transform: translateX(-50%); }
.nav-tabs .nav-item:first-child .dot { left: 0; transform: none; }
.nav-tabs .nav-item:last-child .dot { left: auto; right: 0; transform: none; }

/* Label Tahun menyesuaikan posisi dot */
.nav-tabs .year-label { display: block; }
.nav-tabs .nav-item:first-child .year-label { text-align: left; }
.nav-tabs .nav-item:last-child .year-label { text-align: right; }

/* Active State */
.nav-tabs .nav-link.active .dot {
    background: var(--gold-accent);
    transform: scale(1.4) translateX(-35%); /* Sedikit offset agar tetap cantik */
}
.nav-tabs .nav-item:first-child .nav-link.active .dot { transform: scale(1.4); }
.nav-tabs .nav-item:last-child .nav-link.active .dot { transform: scale(1.4); }

.nav-tabs .nav-link.active .year-label {
    color: var(--navy-blue);
    font-weight: bold;
}

/* Tombol Panah */
.arrow-btn {
    background: white;
    border: 1px solid #ddd;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 10;
    margin-bottom: 25px;
    transition: 0.3s;
}

.arrow-btn:hover { background: var(--navy-blue); color: white; }

/* Mobile View */
@media (max-width: 768px) {
    .arrow-btn { display: none !important; }
    .timeline-nav-scroll { margin: 0; padding: 20px 15px; }
    .nav-tabs .nav-item { flex: 0 0 100px; text-align: center !important; }
    .nav-tabs .dot { left: 50% !important; transform: translateX(-50%) !important; right: auto !important; }
    .nav-tabs .year-label { text-align: center !important; }
}

.history-slider-outer {
    width: 100%;
    height: 550px;
    background: #000;
    position: relative;
}

.history-slider-inner {
    display: flex; /* Berjejer ke samping */
    width: 100%;
    height: 100%;
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1); /* Efek geser halus */
}

.history-slide {
    min-width: 100%; /* Satu slide mengambil lebar penuh */
    height: 100%;
    position: relative;
}

.image-overlay-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.img-full {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Kotak Putih Transparan (Sesuai permintaan sebelumnya) */
.white-box-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    /* Padding diperkecil agar tidak terlalu memakan tempat */
    padding: 20px 30px; 
    z-index: 5;
    /* Memastikan tidak ada margin yang mengganggu */
    margin: 0; 
}

.history-date {
    display: block;
    font-size: 0.9rem;
    /* Jarak antara tanggal dan judul diperkecil */
    margin-bottom: 5px; 
    color: #666;
    font-weight: 500;
}

.history-title {
    font-size: 1.2rem;
    font-weight: 800;
    color: #111;
    /* KUNCI: line-height diperkecil agar teks rapat saat baris baru */
    line-height: 1.2; 
    /* Hilangkan margin default dari tag h2 */
    margin: 0; 
    padding: 0;
    display: block;
}

/* Panah Navigasi */
.nav-arrow {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    background: rgba(0, 0, 0, 0.3);
    border: none;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.nav-arrow:hover { background: rgba(0, 0, 0, 0.8); }
.prev-btn { left: 20px; }
.next-btn { right: 20px; }

@media (max-width: 768px) {
    .history-slider-outer { height: 400px; }
    .history-title { font-size: 1.3rem; }
}

:root {
    --vision-gradient: linear-gradient(135deg, #94b2bb 0%, #7d9ba5 100%);
    --vision-accent: #0c334a;
    --mission-gradient: linear-gradient(135deg, #f7d4b6 0%, #f1c4a0 100%);
    --mission-accent: #d37324;
}

.vm-wrapper {
    max-width: 1050px;
    margin: 0 auto;
}

/* Base Card Style */
.vm-item {
    display: flex;
    background: #fff;
    margin-bottom: 50px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.07);
    position: relative;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.vm-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.12);
}

/* Diamond Side */
.vm-badge-area {
    padding: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 20px 0 0 20px;
    min-width: 200px;
}

.diamond-outer {
    width: 110px;
    height: 110px;
    transform: rotate(45deg);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    z-index: 2;
}

.diamond-inner {
    transform: rotate(-45deg);
    text-align: center;
    color: #fff;
}

.diamond-inner h3 { 
    font-size: 20px; margin: 0; font-weight: 800; text-transform: uppercase; line-height: 1;
}
                    
.diamond-inner span { 
    font-size: 14px; display: block; opacity: 0.9; margin-top: 2px;
}

/* Container Card Utama */
.vm-card {
    background: #ffffff;
    border-radius: 15px;
    display: flex;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08); /* Shadow halus seperti di gambar */
    overflow: hidden;
    min-height: 150px;
    border: 1px solid #f0f0f0;
}

/* Bagian Label (VISI/MISI) */
.vm-label {
    flex: 0 0 200px; /* Lebar area label */
    display: flex;
    justify-content: center;
    align-items: center;
}

.vm-label h3 {
    font-weight: 800;
    color: #333;
    margin: 0;
    font-size: 24px;
    letter-spacing: 1px;
}

/* Garis Pemisah Vertikal */
.vm-divider {
    width: 1px;
    background-color: #ddd;
    /* Menggunakan margin vertikal 10% (atas 10%, bawah 10%) 
       secara otomatis membuat tinggi garis menjadi 80% 
       dari tinggi total card secara dinamis.
    */
    margin-top: 20px; 
    margin-bottom: 20px;
    align-self: stretch; /* Memastikan garis berusaha memenuhi tinggi card */
}

/* Bagian Konten Teks */
.vm-content {
    flex: 1;
    padding: 40px 50px;
}

.vm-content p, 
.mission-list-custom li {
    font-size: 16px; /* Ukuran teks seragam */
    line-height: 1.6;
    color: #444;
}

/* Styling List Misi */
.mission-list-custom {
    list-style: none;
    padding: 0;
    margin: 0;
}

.mission-list-custom li {
    position: relative;
    padding-left: 25px;
    margin-bottom: 20px;
    text-align: justify;
}

.mission-list-custom li:last-child {
    margin-bottom: 0;
}

/* Bullet Orange Sesuai Gambar */
.mission-list-custom li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 8px;
    width: 10px;
    height: 10px;
    background-color: #f39c12; /* Warna orange bullet */
    border-radius: 50%;
}

/* Responsi untuk Mobile */
@media (max-width: 768px) {
    .vm-card {
        flex-direction: column;
        text-align: center;
    }
    
    .vm-label {
        flex: 0 0 auto;
        padding: 30px 0 10px 0;
    }
    
    .vm-divider {
        width: 50px;
        height: 1px;
        margin: 10px auto;
    }
    
    .vm-content {
        padding: 20px 30px 40px 30px;
    }
    
    .mission-list-custom li {
        text-align: left;
    }
}

.company-profile-section {
    padding: 80px 0;
    background-color: #ffffff;
    /* Ganti URL di bawah dengan gambar pattern/topography tipis */
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' viewBox='0 0 100 100'%3E%3Cpath d='M11 18c3.86 0 7-3.14 7-7s-3.14-7-7-7-7 3.14-7 7 3.14 7 7 7zm48 25c3.86 0 7-3.14 7-7s-3.14-7-7-7-7 3.14-7 7 3.14 7 7 7zm-43-7c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3zm63 31c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3zM34 90c1.66 0 3-1.34 3-3s-1.34-3-3-3-3 1.34-3 3 1.34 3 3 3zm56-76c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM12 86c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm28-65c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm23-11c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-6 60c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm29 22c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zM10 50c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm42-6c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm2-24c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-4 40c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2zm-4-40c1.1 0 2-.9 2-2s-.9-2-2-2-2 .9-2 2 .9 2 2 2z' fill='%23e67e22' fill-opacity='0.05' fill-rule='evenodd'/%3E%3C/svg%3E");
    position: relative;
}

.sub-title {
    color: #e67e22;
    font-weight: bold;
    letter-spacing: 2px;
    display: block;
    margin-bottom: 10px;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    color: #333;
    margin-bottom: 15px;
}

.line-divider {
    width: 180px; 
    height: 4px; 
    background: linear-gradient(90deg, #e67e22, #f39c12); 
    margin-bottom: 25px; 
    border-radius: 2px;
}

.description-text {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 40px;
    text-align: justify;
}

/* Statistik Style */
.stats-wrapper {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}

.stat-item h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 5px;
    color: #222;
}

.stat-item p {
    font-size: 14px;
    color: #777;
}

/* Image Style: Meniru potongan melengkung di gambar */
.image-wrapper {
    position: relative;
    border-radius: 50px 0px 50px 50px; /* Melengkung di pojok tertentu */
    overflow: hidden;
    /*box-shadow: 0 20px 40px rgba(0,0,0,0.1);*/
}

.main-img {
    width: 100%;
    height: auto;
    display: block;
}

@media (max-width: 991px) {
    /* Ini akan menyembunyikan kolom gambar di layar HP & Tablet */
    .image-column { 
        display: none; 
    }

    .stats-wrapper { 
        justify-content: space-between; 
    }
}


    /* Container Utama dengan Nama Unik */
    .pama-award-slider-outer {
        position: relative;
        width: 100%;
        background: #ffffff;
        border-radius: 15px;
        overflow: hidden; 
        box-shadow: 0 10px 30px rgba(0,0,0,0.1);
        margin-bottom: 20px;
    }

    .pama-award-slider-inner {
        display: flex;
        transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
        width: 100%;
    }

    .pama-award-slide {
        min-width: 100%;
        display: flex;
        flex-direction: column; /* Memastikan teks di bawah gambar */
        background: #1a237e;
    }

    /* Bagian Gambar */
    .pama-award-img-wrapper {
        width: 100%;
        background-color: #f9f9f9; /* Background tipis jika gambar landscape */
        display: flex;
        justify-content: center;
        align-items: center;
        min-height: 400px; /* Memberikan ruang minimal agar gambar tidak gepeng */
    }

    .pama-award-img-render {
        width: 100%;
        height: auto;
        max-height: 600px; /* Batas maksimal tinggi agar tidak terlalu panjang */
        object-fit: contain; /* Gambar piagam akan tampil utuh 100% */
        display: block;
    }

    /* Box Teks Putih Solid (Dibawah Gambar) */
    .pama-award-text-box {
        width: 100%;
        padding: 25px 5px;
        background: #1a237e; 
        text-align: center;
        border-top: 1px solid #eeeeee;
        z-index: 5;
    }

    .pama-award-year {
        display: block;
        font-size: 2.2rem;
        font-weight: 800;
        color: #d9d9d9ff;
        margin-bottom: 10px;
        line-height: 1;
    }

    .pama-award-desc {
        font-size: 1.15rem;
        color: #f7f7f7ff;
        font-weight: 500;
        line-height: 1.6;
        margin: 0 auto;
        max-width: 85%;
    }

    /* Tombol Navigasi Unik */
    .pama-award-nav {
        position: absolute;
        top: 40%; /* Menyesuaikan agar panah di tengah area gambar */
        transform: translateY(-50%);
        background: rgba(0, 0, 0, 0.4);
        color: #ffffff !important;
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 50%;
        cursor: pointer;
        z-index: 20;
        transition: all 0.3s ease;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .pama-award-nav:hover {
        background: #e67e22;
        transform: translateY(-50%) scale(1.1);
    }

    .pama-award-prev { left: 20px; }
    .pama-award-next { right: 20px; }