/* ======================== */
/* 0. HELPER STYLES         */
/* ======================== */
.container-sedang {
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 20px;
    padding-right: 20px;
}
.text-center { 
    text-align: center; 
}
.section-tagline {
    font-family: var(--font-inter);
    font-size: 16px;
    font-weight: 600;
    color: var(--primary-blue);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: block;
    margin-bottom: 8px;
}
.section-title {
    font-family: var(--font-montserrat);
    font-size: 38px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 16px;
}

/* ======================== */
/* 1. HERO HALAMAN          */
/* =======================  */
.page-hero-section {
    background-image: url('../images/visimisi/d27d80a93a1db87c5ffa74c495d9e31349b0ea5c.png'); 
    background-size: cover;
    background-position: center;
    position: relative;
    padding: 140px 20px 80px 20px; 
    min-height: 350px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    z-index: 1;
}
.page-hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.5) 0%, rgba(0,0,0,0.1) 100%);
    z-index: -1;
}
.page-title {
    font-family: var(--font-montserrat);
    font-size: 44px;
    font-weight: 700;
    color: var(--text-light);
    margin-bottom: 10px;
}
.page-subtitle {
    font-family: var(--font-inter);
    font-size: 18px;
    color: rgba(255, 255, 255, 0.85);
    max-width: 600px;
    margin: 0;
    line-height: 1.6;
}
.page-hero-section .container-sedang {
    text-align: left;
    margin-left: 30px;
    margin-right: 30px;
}


/* ======================== */
/* 2. PROFIL PERUSAHAAN     */
/* ======================== */
.about-profile-section {
    padding: 80px 0;
}
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
.about-content p {
    font-family: var(--font-inter);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-gray);
    margin-bottom: 20px;
}
.about-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 12px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

/* =============  */
/* 3. STATISTIK   */
/* =============  */
.stats-section {
    padding: 80px 0;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}
.stat-item {
    background-color: transparent;
    padding: 0;
    border: none;
    box-shadow: none;
}
.stat-item h3 {
    font-family: var(--font-montserrat);
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 5px;
}
.stat-item p {
    font-family: var(--font-inter);
    font-size: 18px;
    font-weight: 500;
}

/* ==================== */
/* 4. VISI & MISI       */
/* ==================== */
.vision-mission-section {
    padding: 80px 0; 
}
.vision-mission-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr; 
    gap: 40px;
    align-items: stretch; 
}
.vision-col, .mission-col {
    background-color: #2b64ab; 
    border: 1px solid #e0eaf6; 
    box-shadow: 0 5px 20px rgba(0,0,0,0.05);
    padding: 40px;
    border-radius: 12px;
}
.vm-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #ffffff; 
    border-radius: 50%;
    border: 1px solid #a0b1c5;
}
.vm-icon svg {
    width: 30px; 
    height: 30px;
    color: var(--primary-blue); 
}
.vision-mission-grid h3 {
    font-family: var(--font-montserrat);
    font-size: 24px;
    font-weight: 600;
    color: var(--text-light);
    margin-bottom: 15px;
}
.vision-mission-grid p {
    font-family: var(--font-inter);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
}
.mission-col ul {
    list-style: none;
    padding-left: 0;
}
.mission-col li {
    font-family: var(--font-inter);
    font-size: 16px;
    line-height: 1.7;
    color: var(--text-light);
    margin-bottom: 15px;
    padding-left: 30px;
    position: relative;
}
.mission-col li::before {
    content: '✔';
    color: var(--primary-yellow);
    font-weight: 700;
    position: absolute;
    left: 0;
    top: 0;
}

/* ====================== */
/* 5. TONGGAK PERJALANAN  */
/* ====================== */
.timeline-section {
    padding: 80px 0;
}
.timeline-title-wrapper {
    margin-bottom: 60px;
}
.timeline-wrapper {
    position: relative;
    max-width: 800px; 
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

.timeline-wrapper::before {
    content: '';
    position: absolute;
    top: 0; 
    bottom: 0; 
    left: 50%;
    width: 4px; 
    background-color: #e0e0e0; 
    border-radius: 2px;
    transform: translateX(-50%);
    z-index: 0;
}

.timeline-progress {
    position: absolute;
    top: 0; 
    left: 50%;
    width: 4px; 
    background-color: var(--primary-blue);
    border-radius: 2px;
    transform: translateX(-50%);
    height: 0; 
    z-index: 1;
}

.timeline-item {
    padding: 10px 0;
    position: relative;
    width: 50%;
    display: flex;
    align-items: center;
    opacity: 0; 
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
    z-index: 2;
}
.timeline-item.is-visible {
    opacity: 1; 
    transform: translateY(0);
}

.timeline-item:nth-child(odd) {
    align-self: flex-start;
    justify-content: flex-end;
    padding-right: 40px; 
    text-align: right;
}
.timeline-item:nth-child(even) {
    align-self: flex-end;
    justify-content: flex-start;
    padding-left: 40px; 
}

.timeline-dot {
    position: absolute;
    width: 20px; 
    height: 20px;
    background-color: var(--primary-yellow);
    border: 3px solid var(--primary-blue);
    border-radius: 50%;
    z-index: 3;
    transition: transform 0.3s ease;
}
.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}
.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

/* PERBAIKAN: Tambahkan Efek Kaca (Glassmorphism) */
.timeline-content {
    background-color: rgba(255, 255, 255, 0.6); /* Latar belakang transparan */
    backdrop-filter: blur(8px); /* Efek blur */
    -webkit-backdrop-filter: blur(8px); /* Untuk Safari */
    border: 1px solid rgba(255, 255, 255, 0.2); /* Border tipis untuk efek kaca */
    
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    padding: 20px 25px;
    width: 100%;
    transition: background-color 0.4s ease, color 0.4s ease;
}
.timeline-year {
    font-family: var(--font-montserrat);
    font-weight: 700;
    font-size: 24px;
    color: var(--primary-blue);
    display: block;
    margin-bottom: 8px;
    transition: color 0.4s ease;
}
.timeline-content p {
    font-family: var(--font-inter);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-dark);
    margin: 0;
    transition: color 0.4s ease;
}

.timeline-item:hover .timeline-content {
    background-color: var(--primary-blue);
}
.timeline-item:hover .timeline-year,
.timeline-item:hover .timeline-content p,
.timeline-item:hover .timeline-content .lang-id-block,
.timeline-item:hover .timeline-content .lang-en-block {
    color: white;
}
.timeline-item:hover .timeline-dot {
    transform: scale(1.2);
    background-color: var(--primary-blue);
    border-color: var(--primary-yellow);
}

/* =========================== */
/* 6. RESPONSIF (ABOUT US)     */
/* =========================== */

@media (max-width: 992px) {
    /* --- HERO --- */
    .page-hero-section {
        padding: 120px 20px 70px 20px;
        min-height: 300px;
    }
    .page-title {
        font-size: 40px;
    }
    .page-hero-section .container-sedang {
        margin-left: 0;
        margin-right: 0;
    }

    /* --- PROFIL --- */
    .about-grid {
        gap: 40px; /* Kurangi jarak antar kolom */
    }

    /* --- STATISTIK (4 kolom -> 2 kolom) --- */
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 40px;
    }

    /* --- VISI & MISI (2 kolom -> 1 kolom) --- */
    .vision-mission-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}


@media (max-width: 768px) {
    /* --- Global Padding & Font --- */
    .about-profile-section,
    .stats-section,
    .vision-mission-section,
    .timeline-section {
        padding: 60px 0;
    }
    .section-title {
        font-size: 30px;
    }
    .section-subtitle {
        font-size: 16px;
    }

    /* --- HERO --- */
    .page-hero-section {
        padding: 100px 20px 60px 20px;
        min-height: 250px;
    }
    .page-title {
        font-size: 32px;
    }
    .page-subtitle {
        font-size: 16px;
    }

    /* --- PROFIL (2 kolom -> 1 kolom) --- */
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    /* --- STATISTIK (tetap 2 kolom, tapi font lebih kecil) --- */
    .stats-grid {
        gap: 30px;
    }
    .stat-item h3 {
        font-size: 40px;
    }
    .stat-item p {
        font-size: 16px;
    }

    /* --- VISI & MISI --- */
    .vision-col, .mission-col {
        padding: 30px;
    }
    .vm-icon {
        width: 50px;
        height: 50px;
    }
    .vm-icon svg {
        width: 25px;
        height: 25px;
    }
    .vision-mission-grid h3 {
        font-size: 22px;
    }

    /* --- TIMELINE --- */
    .timeline-wrapper::before,
    .timeline-progress {
        left: 10px; 
    }
    .timeline-item {
        width: 100%;
        align-self: flex-end !important; /* Memastikan semua di kanan */
        padding-left: 45px; 
        padding-right: 0;
        text-align: left; 
    }
    /* Memaksa item ganjil (odd) agar tidak ke kiri */
    .timeline-item:nth-child(odd) {
        justify-content: flex-start;
        padding-right: 0;
        text-align: left;
    }
    .timeline-dot {
        left: 0 !important; 
        right: auto !important;
    }
    .timeline-year {
        font-size: 20px;
    }
    .timeline-content p {
        font-size: 15px;
    }
}