.sej-hero-wrapper {
    position: relative;
    width: 100%;
    /* Menggunakan 100vh & 100dvh agar pas 100% tinggi layar di Desktop & Mobile */
    height: 100vh;
    height: 100dvh; 
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 20px 40px 20px;
    box-sizing: border-box;
    overflow: hidden;
}

.sej-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(13, 14, 16, 0.85) 0%, rgba(13, 14, 16, 0.95) 75%, #0d0e10 100%);
    z-index: 1;
}

.sej-hero-container {
    position: relative;
    z-index: 2;
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.sej-breadcrumb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 14px;
    margin-bottom: 24px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 6px 18px;
    border-radius: 30px;
    backdrop-filter: blur(8px);
}

.sej-breadcrumb-link {
    color: #a0a5b1;
    text-decoration: none;
    transition: color 0.3s ease;
}

.sej-breadcrumb-link:hover {
    color: #fa9b19;
}

.sej-breadcrumb-separator {
    color: #555;
    font-size: 10px;
}

.sej-breadcrumb-current {
    color: #fa9b19;
    font-weight: 600;
}

.sej-hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
}

.sej-hero-badge {
    display: inline-block;
    font-size: 20px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #fa9b19;
    background: rgba(250, 155, 25, 0.1);
    border: 1px solid rgba(250, 155, 25, 0.25);
    padding: 6px 16px;
    border-radius: 20px;
    margin-bottom: 20px;
}

.sej-hero-title {
    font-size: 50px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.25;
    margin-bottom: 24px;
    text-align: center;
}

.sej-hero-story {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.sej-hero-story p {
    font-size: 22px;
    color: white;
    line-height: 1.8;
    margin: 0;
    text-align: center;
    font-weight: 400;
}

/* Responsif Mobile */
@media (max-width: 768px) {
    /* Sembunyikan tag <br> khusus ini di tampilan mobile */
    .desktop-only-br {
        display: none;
    }

    .sej-hero-wrapper {
        padding: 90px 16px 30px 16px;
    }

    .sej-hero-title {
        font-size: 26px;
        margin-bottom: 16px;
    }

    .sej-hero-story p {
        font-size: 16px;
        line-height: 1.6;
    }

    .sej-breadcrumb {
        font-size: 12px;
        padding: 4px 14px;
        margin-bottom: 16px;
    }

    .sej-hero-badge {
        font-size: 11px;
        padding: 4px 12px;
        margin-bottom: 14px;
    }
}

@media (max-width: 768px) {
    .sej-hero-story br {
        display: none;
    }
}



/* ==========================================
   SECTION ISI SEJARAH (RAWBG PARALLAX)
   ========================================== */
.sej-isi-sejarah {
    position: relative;
    width: 100%;
    background-attachment: fixed; /* Parallax effect */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px 20px;
    box-sizing: border-box;
    color: #ffffff;
}


.sej-isi-container {
    position: relative;
    z-index: 2;
    max-width: 1000px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 80px;
    text-align: center;
}

/* Titles */
.sej-section-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(135deg, #FFE600 0%, #66ff00 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
}

.sej-section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    margin: 12px auto 0 auto;
    border-radius: 2px;
}

.sej-section-title2 {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 800;
    color: #fa9b19;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
}

.sej-section-title2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    margin: 12px auto 0 auto;
    border-radius: 2px;
}

.sej-section-title3 {
    font-family: 'Montserrat', sans-serif;
    font-size: 38px;
    font-weight: 800;
    background: linear-gradient(135deg, #faa7ef 0%, #fc01ef 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;

    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 32px;
    position: relative;
    display: inline-block;
}

.sej-section-title3::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, #bf953f 0%, #fcf6ba 25%, #b38728 50%, #fbf5b7 75%, #aa771c 100%);
    margin: 12px auto 0 auto;
    border-radius: 2px;
}

/* 1. Flowchart */
.sej-flowchart-wrapper {
    width: 100%;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    box-sizing: border-box;
    backdrop-filter: blur(5px);
}

.sej-flowchart-img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 8px;
}

/* 2. Narasi Sejarah */
.sej-narasi-box {
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 20px;
    font-size: 24px; /* Font size dinaikkan ke 24px */
    line-height: 1.85;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.3);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sej-narasi-box p {
    margin: 0;
    color: #ffffff;
}

/* Bold Standar (Warna Putih) */
.sej-narasi-box strong {
    color: #ffffff;
    font-weight: 700;
}

/* Bold Khusus dengan Gradasi Kuning Keemasan Terang */
.sej-narasi-box strong.sej-highlight {
    background: linear-gradient(135deg, #FFE600 0%, #FFB800 50%, #FF8800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline;
    font-weight: 800;
}

.sej-list {
    margin: 10px 0;
    padding-left: 24px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.sej-list li {
    color: #ffffff;
}

/* 3. Duo Image Grid */
.sej-duo-image-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    align-items: start;
    margin-top: 10px;
}

.sej-duo-item {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.sej-duo-label {
    font-size: 20px;
    font-weight: 700;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0;
    line-height: 1.4;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sej-image-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 12px;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.sej-image-card:hover {
    transform: translateY(-5px);
    border-color: #fa9b19;
}

.sej-image-card img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 6px;
}

/* Animations Scroll Classes */
.sej-animate {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.sej-animate.sej-show {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive Mobile */
@media (max-width: 768px) {
    .sej-isi-sejarah {
        padding: 60px 16px;
        background-attachment: scroll; /* Disable fixed parallax di mobile demi performa & fleksibilitas */
    }

    .sej-isi-container {
        gap: 50px;
    }

    .sej-section-title,.sej-section-title2,.sej-section-title3 {
        font-size: 22px;
    }

    .sej-narasi-box {
        padding: 20px 16px;
        font-size: 14px;
        line-height: 1.7;
    }

    .sej-duo-image-grid {
        grid-template-columns: 1fr;
        gap: 36px;
    }

    .sej-duo-label {
        min-height: auto;
        font-size: 13px;
    }
}

/* Memastikan tag em (italic) tampil sesuai standar di dalam narasi */
.sej-narasi-box em,
.sej-hero-story em {
    font-style: italic;
}

/* Kombinasi Bold & Italic untuk ENDRASS */
.sej-narasi-box strong em,
.sej-hero-story strong em {
    font-weight: 700;
    font-style: italic;
    color: #ffffff;
}

/* Teks Putih Standar untuk Semua Bold di Narasi Box */
.sej-narasi-box strong {
    color: #ffffff;
    font-weight: 700;
}

/* 1. ENDRASS - Orange (sesuai warna judul #fa9b19) */
.sej-narasi-box .text-orange,
.sej-narasi-box .text-orange em {
    color: #fa9b19 !important;
    font-weight: 800;
    -webkit-text-fill-color: initial; /* Reset properti gradien lama */
}

/* 2. IDP - Hijau Terang (#00ff87) */
.sej-narasi-box .text-green,
.sej-narasi-box .text-green em {
    color: #00ff87 !important;
    font-weight: 800;
    -webkit-text-fill-color: initial;
}

/* 3. IDPFEST - Biru Terang (#00f2fe) */
.sej-narasi-box .text-blue,
.sej-narasi-box .text-blue em {
    color: #00f2fe !important;
    font-weight: 800;
    -webkit-text-fill-color: initial;
}

/* 3. IDPFEST - Biru Terang (#00f2fe) */
.sej-narasi-box .text-red,
.sej-narasi-box .text-red em {
    color: #ff0a0a !important;
    font-weight: 800;
    -webkit-text-fill-color: initial;
}