.gradient-header {
    background-image: url("images/custom/bg.jpg");
    background-size: cover;
    background-position: center;
    padding: 2rem 0 4rem 0;
    position: relative;

    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 0 4rem 0;
    position: relative;*/
}

.gradient-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            135deg,
            rgba(30, 30, 30, 0.55) 0%,
            rgba(30, 30, 30, 0.65) 100%
        ),
        rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
    pointer-events: none;
}

/* Pastikan konten di dalam .gradient-header berada di atas overlay */
.gradient-header > * {
    position: relative;
    z-index: 2;
}

.main-container {
    padding: 0;
}

.content-section {
    margin-top: -2rem;
    position: relative;
    z-index: 10;
    padding: 0 0px;
}

.breadcrumb {
    background: transparent;
    padding: 0;
    margin-bottom: 1rem;
}

.breadcrumb-item a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
}

.breadcrumb-item.active {
    color: rgba(255, 255, 255, 0.9);
}

.page-title {
    color: white;
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.course-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    white-space: nowrap; /* Mencegah badge terpotong */
}

.subtitle {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.1rem;
    margin-bottom: 3rem;
}

.controls-section {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.view-controls {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.view-btn.active {
    background: white;
    color: #ff5421;
}

.view-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.results-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

.search-filter-section {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.search-box {
    position: relative;
}

.search-box input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1rem 0.75rem 3rem;
    border-radius: 25px;
    width: 300px;
    backdrop-filter: blur(10px);
}

.search-box input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-box i {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    z-index: 2;
}

.filter-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.filter-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    color: white;
}

.theme-toggle {
    position: fixed;
    bottom: 2rem;
    left: 2rem;
    background: #667eea;
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.theme-toggle:hover {
    background: #764ba2;
    transform: scale(1.1);
}

.scroll-top {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: #667eea;
    border: none;
    color: white;
    padding: 0.75rem;
    border-radius: 50%;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.scroll-top:hover {
    background: #764ba2;
    transform: scale(1.1);
}

.sticky {
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1); /* bayangan bawah */
}

/* Kontainer Utama untuk Kartu */
.cards-container {
    display: flex;

    flex-wrap: wrap; /* Agar kartu pindah baris di layar kecil */
    gap: 2rem 2rem; /* Jarak antar kartu */
    justify-content: center;
    max-width: 1270px;
    position: relative;
    z-index: 2; /* pastikan card di atas overlay */
}

/* Gaya untuk Setiap Kartu */
.course-card {
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    overflow: hidden;
    width: 350px;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

/* Kontainer Gambar */
.card-image-container {
    position: relative;
    overflow: hidden; /* Pastikan gambar yang membesar tidak keluar dari wadahnya */
}

.card-image {
    width: 100%;
    height: 200px;
    object-fit: cover; /* Memastikan gambar mengisi area tanpa distorsi */
    display: block;
    transition: transform 0.3s ease-in-out;
}

/* Efek zoom pada gambar saat kursor di atas kartu */
.course-card:hover .card-image {
    transform: scale(1.05); /* Memperbesar gambar sedikit */
}

.category-tag {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background-color: #f9683a;
    color: white;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 500;
}

/* Konten di Bawah Gambar */
.card-content {
    padding: 1.25rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Membuat konten mengisi ruang yang tersisa */
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #6c757d;
    margin-bottom: 1rem;
}

.card-meta i {
    font-size: 15px;
    color: #ff5421;
    margin-right: 5px;
}

.date-meta i {
    font-size: 15px;
    color: #ff5421;
    margin-left: 2px;
}

.user-count {
    display: flex;
    align-items: center;
    gap: 0.2rem; /* Jarak antara ikon dan teks */
}

.card-price {
    font-weight: 700;
    color: #343a40;
}

.card-title {
    font-size: 1.25rem;
    font-weight: 700;
    color: #343a40;
    margin: 0 0 0 0;
    line-height: 1.4;
    flex-grow: 1; /* Mendorong footer ke bawah */
}

.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto; /* Mendorong footer ke bagian bawah */
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #6c757d;
    font-size: 0.9rem;
}

.apply-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: #6c757d;
    text-decoration: none;
    transition: color 0.3s ease;
}

.card-title:hover {
    color: #f9683a;
}

.apply-link i {
    margin-left: 0.25rem;
}

.card-title h3 {
    margin-bottom: 0;
}

.error-not-found img {
    width: 100%;
    max-width: 100px;
    margin: 0 auto;
    display: block;
}

.container-img-notfound {
    width: 35%; /* Lebar 80% dari halaman */
    max-width: 900px; /* Tapi jangan lebih lebar dari 900px */
    margin: 0 auto; /* Trik untuk membuat container berada di tengah */
    padding: 0px;
    margin-top: -12rem;
}

/* Container utama untuk navigasi pagination */
.my-pagination-nav {
    display: flex;
    justify-content: center; /* Posisikan pagination di tengah */
    margin-top: 2rem;
    margin-bottom: 2rem;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif;
}

/* Styling untuk list <ul> */
.my-pagination {
    display: flex;
    padding-left: 0;
    list-style: none;
    border-radius: 0.375rem; /* Sedikit lengkungan di sudut */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05); /* Tambahkan sedikit bayangan */
}

/* Styling untuk setiap link dan span di dalam <li> */
.my-page-link {
    position: relative;
    display: block;
    padding: 0.75rem 1rem; /* Ukuran tombol lebih nyaman */
    color: #f9683a; /* Warna teks biru */
    text-decoration: none;
    background-color: #fff;
    border: 1px solid #dee2e6;
    transition: all 0.2s ease-in-out; /* Animasi halus saat hover */
}

/* Hover effect untuk link yang aktif */
.my-page-item:not(.active):not(.disabled) .my-page-link:hover {
    z-index: 2;
    color: #f9683a;
    background-color: #e9ecef;
    border-color: #dee2e6;
}

/* Menghilangkan border ganda antar item */
.my-page-item:not(:first-child) .my-page-link {
    margin-left: -1px;
}

/* Sudut lengkung untuk item pertama dan terakhir */
.my-page-item:first-child .my-page-link {
    border-top-left-radius: 0.375rem;
    border-bottom-left-radius: 0.375rem;
}

.my-page-item:last-child .my-page-link {
    border-top-right-radius: 0.375rem;
    border-bottom-right-radius: 0.375rem;
}

/* Style untuk halaman yang sedang aktif */
.my-page-item.active .my-page-link {
    z-index: 3;
    color: #fff; /* Teks  */
    background-color: #f9683a; /* Latar  */
    border-color: #f9683a;
    cursor: default;
}

/* Style untuk tombol yang non-aktif (disabled) */
.my-page-item.disabled .my-page-link {
    color: #6c757d; /* Warna abu-abu */
    pointer-events: none; /* Non-aktifkan klik */
    background-color: #fff;
    border-color: #dee2e6;
}

.header-container-detail {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    width: 100%; /* Memastikan kontainer menggunakan lebar penuh */
    gap: 2rem; /* Memberi ruang antara section judul dan video */
}

.title-badge-section {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: flex-start; /* Align ke kiri untuk tampilan yang rapi */
    gap: 15px; /* Memberi sedikit ruang antara judul dan lencana */
    width: 55%; /* Memberikan ruang lebih untuk judul */
    min-width: 0; /* Memastikan flex item bisa menyusut */
}

.page-title-detail {
    margin: 0; /* Menghapus margin default dari h1 */
    color: white;
    font-size: 2.25rem; /* Sedikit lebih besar untuk readability */
    font-weight: 700;
    line-height: 1.3; /* Line height yang lebih baik untuk readability */
    text-align: left; /* Align teks ke kiri */
    hyphens: auto; /* Aktifkan pemotongan kata otomatis */
    overflow-wrap: break-word; /* Bungkus kata panjang jika perlu */
    word-wrap: break-word; /* Dukungan lama untuk browser lama */
    max-width: 100%; /* Memastikan tidak overflow */
}

.video-section {
    display: flex;
    justify-content: flex-end;
    align-items: flex-start;
    width: 43%; /* Sedikit lebih kecil dari title section untuk keseimbangan */
    min-width: 0; /* Memastikan flex item bisa menyusut */
}

.video-container {
    position: relative;
    width: 100%;
    /* Rasio 16:9 */
    aspect-ratio: 16 / 9;
    background: #000;
    overflow: hidden;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

.divider {
    border-top: 2px solid rgba(255, 255, 255, 0.15);
    margin: 1.5rem 0;
    z-index: 10;
    width: 100%; /* Memastikan divider full width */
    height: 0;
    border-radius: 1px; /* Sedikit rounded untuk tampilan yang lebih soft */
}

.divider-card {
    border-top: 2px solid rgba(55, 50, 50, 0.201);
    margin-bottom: 3px;
    z-index: 10;
}

/* ======================= 1. Landing Page Styling =======================  */

/* ===========> A. Hero Section <=========== */

/* ===========> B. About Section <=========== */

.about-section {
    margin: 6rem 0;
}

/* --- About Section Styling --- */
.about-section .container {
    display: flex;
    align-items: center;
    gap: 5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.image-collage {
    flex: 1;
    position: relative;
    min-height: 550px;
    min-width: 450px;
}

.content-about {
    flex: 1;
}

/* --- Image Collage Styling --- */
.image-collage img {
    position: absolute;

    object-fit: cover;
}

.about-image-1 {
    /* Banana */
    width: 25%;
    height: auto;
    top: 0;
    left: 0;
    z-index: 5;
    animation: floating 3.5s ease-in-out infinite;
}

.about-image-2 {
    /* Zinc */
    width: 25%;
    height: auto;
    top: 5%;
    right: 0;
    z-index: 6;
    animation: floating2 2.8s ease-in-out infinite;
}

.about-image-3 {
    /* Teacher */
    width: 95%;
    height: auto;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 7;
}

.about-image-4 {
    /* Fruits */
    width: 25%;
    height: auto;
    top: 50%;
    right: 10%;
    z-index: 6;
    animation: floatingY 2.8s ease-in-out infinite;
}

.about-image-5 {
    /* Vitamin */
    width: 25%;
    height: auto;
    top: 50%;
    right: 70%;
    z-index: 6;
    animation: floatingY 3.5s ease-in-out infinite;
}

.sec-title3 .title {
    font-size: 2.5rem !important;
    line-height: 46px;
    font-weight: 700 !important;
    color: #031a3d;
}

/* Animasi floating untuk gambar pisang dan zinc */
@keyframes floating {
    0% {
        transform: translateY(0px) rotate(-5deg);
    }
    50% {
        transform: translateY(-24px) rotate(7deg);
    }
    100% {
        transform: translateY(0px) rotate(-5deg);
    }
}

@keyframes floating2 {
    0% {
        transform: translateY(0px) rotate(5deg);
    }
    50% {
        transform: translateY(-18px) rotate(-8deg);
    }
    100% {
        transform: translateY(0px) rotate(5deg);
    }
}

@keyframes floatingY {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-24px);
    }
    100% {
        transform: translateY(0px);
    }
}

/* --- Content Styling --- */
.pill {
    display: inline-block;
    padding: 6px 16px;
    background-color: #fff0e6;
    color: #ff5421;
    font-size: 18px;
    font-weight: 500;
    border-radius: 16px;
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
}

.content-about h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #031a3d;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.content .description {
    color: #696969;
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2.5rem;
}

/* --- Features List Styling --- */
.features-list {
    display: flex;
    flex-direction: column;
    gap: 1.8rem;
    margin-bottom: 2.5rem;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 1.2rem;
    padding: 20px;
    transition: transform 0.85s cubic-bezier(0.23, 1, 0.32, 1), background 0.3s,
        border 0.3s, border-radius 0.3s, box-shadow 0.3s;
}

.feature-item:hover {
    box-shadow: 0px 20px 70px 0px rgba(0, 0, 0, 0.1);
    transform: scale(1.1);
}

.feature-description {
    margin-bottom: 0;
}

.icon-container {
    flex-shrink: 0;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.icon-container.pink {
    background-color: #fef1f2;
}

.icon-container.pink svg {
    color: #f16179;
}

.icon-container.blue {
    background-color: #e8f1ff;
}

.icon-container.blue svg {
    color: #457ef1;
}

.feature-text h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--heading-color);
}

.feature-text p {
    font-size: 0.95rem;
    color: var(--paragraph-color);
    line-height: 1.6;
}

/* --- CTA Button Styling --- */
.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 14px 28px;
    background-image: linear-gradient(to right, #ff8a5b, #ff5421);
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 84, 33, 0.18),
        0 2px 8px rgba(255, 138, 91, 0.12);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 24px rgba(255, 84, 33, 0.22),
        0 2px 8px rgba(255, 138, 91, 0.18);
    color: #fff;
}

.cta-button svg {
    transition: transform 0.3s ease;
}

.cta-button:hover svg {
    transform: translateX(4px);
}

.post-info {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-wrap: wrap; /* Memungkinkan wrapping pada layar kecil */
    line-height: 1.5; /* Line height yang baik untuk readability */
}
.post-info i {
    margin-right: 0.25rem;
    flex-shrink: 0; /* Mencegah icon menyusut */
}

.edukasi-img {
    width: 100%;
    max-width: 1280px;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

#rs-popular-courses {
    background-image: url("/landing/images/custom/food1.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: 0px -600px;
    z-index: 0;
    position: relative;
}

#rs-popular-courses::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(30, 30, 30, 0.8); /* overlay gelap, bisa diubah opacity */
    z-index: 1;
    pointer-events: none;
}

.sec-title3 {
    z-index: 2 !important; /* pastikan judul di atas overlay */
    position: relative !important;
    color: white !important;
}

.image-part img {
    width: 100% !important;
    max-width: 1280px;
    aspect-ratio: 16/9;
    height: auto;
    object-fit: cover;
    display: block;
    margin: 0 auto;
}

@media (max-width: 1280px) {
    .about-section .container {
        display: flex;
        align-items: center;
        gap: 5rem;
        max-width: 1200px;
        margin: 0 auto;
        padding: 0 4vw; /* Tambahkan padding untuk ruang di sisi */
    }
}

/* Media query untuk layar max 991px */
@media (max-width: 991px) {
    .content-about {
        margin: 0 4vw; /* Mengurangi margin untuk layar kecil */
    }

    .pill {
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 220px;
        width: 100%;
    }

    .pill.w-300 {
        max-width: 300px !important;
    }

    .cta-button {
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 220px;
    }

    .container .text-center .cta-button {
        padding: 14px 8px;
    }

    .about-section .container {
        flex-direction: column;
        gap: 2rem; /* beri jarak vertikal */
        align-items: center; /* opsional: agar konten rata tengah */
    }

    .header-container-detail {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem; /* Ruang yang baik antara title dan video di tablet */
    }

    .video-section {
        display: flex;
        justify-content: center; /* Center video di tablet */
        width: 100%; /* Memastikan video section menggunakan lebar penuh */
        margin-top: 0; /* Reset margin top */
    }

    .title-badge-section {
        width: 100%; /* Full width di tablet */
        text-align: center; /* Center align di tablet untuk tampilan yang lebih rapi */
        display: flex;
        flex-direction: column;
        align-items: center; /* Center align items di tablet */
        gap: 15px; /* Memberi sedikit ruang antara judul dan lencana */
    }

    .page-title-detail {
        font-size: 2rem; /* Ukuran font yang sesuai untuk tablet */
        text-align: center; /* Center align di tablet */
        line-height: 1.3; /* Line height yang baik untuk tablet */
    }

    #image-container {
        display: none; /* Sembunyikan gambar samping pada layar kecil */
    }
}

/* Media query untuk layar kecil */
@media (max-width: 768px) {
    /* ABOUT SECTION */

    /* Hide complex collage on small mobile screens for a cleaner look */
    .image-collage {
        display: none;
    }

    .pill {
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 220px;
        width: 100%;
    }

    .cta-button {
        display: block;
        text-align: center;
        margin-left: auto;
        margin-right: auto;
        max-width: 220px;
    }

    /* ABOUT SECTION [END] */

    .intro-section .intro-tabs .tab-btns {
        width: 100% !important;
        margin: 0 0 0 0 !important;
    }
    .page-title {
        font-size: 2rem;
    }

    .controls-section {
        flex-direction: column;
        align-items: center;
    }

    .search-filter-section {
        flex-direction: column;
        gap: 1rem;
    }

    .search-box input {
        width: 100%;
    }

    .container-img-notfound {
        width: 60%; /* Lebar 60% dari halaman */
        max-width: 900px; /* Tapi jangan lebih lebar dari 900px */
        margin: 0 auto; /* Trik untuk membuat container berada di tengah */
        padding: 0px;
        margin-top: -2rem;
    }

    .header-container-detail {
        flex-direction: column;
        align-items: stretch;
        gap: 1.5rem; /* Ruang yang baik antara title dan video di mobile */
    }

    .video-section {
        display: flex;
        justify-content: center; /* Center video di mobile */
        width: 100%; /* Memastikan video section menggunakan lebar penuh */
        margin-top: 0; /* Reset margin top */
    }

    .title-badge-section {
        width: 100%; /* Full width di mobile */
        text-align: center; /* Center align di mobile untuk tampilan yang lebih rapi */
        display: flex;
        flex-direction: column;
        align-items: center; /* Center align items di mobile */
        gap: 15px; /* Memberi sedikit ruang antara judul dan lencana */
    }

    .page-title-detail {
        font-size: 1.75rem; /* Ukuran font yang lebih kecil untuk mobile */
        text-align: center; /* Center align di mobile */
        line-height: 1.4; /* Line height yang lebih baik untuk mobile */
    }

    .course-badge {
        font-size: 0.8rem; /* Sedikit lebih kecil di mobile */
        padding: 0.4rem 0.8rem;
    }

    .post-info {
        font-size: 0.9rem; /* Sedikit lebih kecil di mobile */
        justify-content: center; /* Center align di mobile */
        text-align: center;
    }

    .divider {
        margin: 1rem 0; /* Margin yang lebih kecil di mobile */
    }
}

.meta-part {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 1.2rem 0 0;
    padding: 1.2rem 0 0;
    font-size: 14px;
    border-top: 1px solid #f4f0f0;
}

.meta-part .user {
    display: inline-block;
    margin-right: 8px;
    color: #363636;
}

.meta-part .user i {
    color: #ff5421;
    font-size: 16px;
    margin-right: 5px;
}

.meta-part .user a {
    color: #363636;
    text-decoration: none;
    font-size: 15px;
    transition: color 0.3s ease;
}

.meta-part .user a:hover {
    color: #ff5421;
}

.meta-part .user a::after {
    content: "\f054";
    font-family: fontawesome;
    font-size: 12px;
    position: relative;
    right: 0px;
    top: 0px;
    display: inline-block;
    margin-left: 3px;
}

.about-header {
    background-image: url("images/custom/bg.jpg");
    background-size: cover;
    background-position: center;
    padding: 2rem 0 4rem 0;
    position: relative;
    height: 550px;

    /*background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem 0 4rem 0;
    position: relative;*/
}

.about-header::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(
            135deg,
            rgba(30, 30, 30, 0.55) 0%,
            rgba(30, 30, 30, 0.65) 100%
        ),
        rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1;
    pointer-events: none;
}

/* Pastikan konten di dalam .about-header berada di atas overlay */
.about-header > * {
    position: relative;
    z-index: 2;
}

/* ======================= PDF Viewer & File Download Styling =======================  */

.pdf-viewer {
    position: relative;
    width: 100%;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pdf-viewer embed {
    border-radius: 0 0 0 0;
}

.pdf-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(248, 249, 250, 0.95);
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.image-viewer {
    position: relative;
    width: 100%;
    background: #f8f9fa;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 300px;
}

.image-viewer img {
    border-radius: 8px;
    transition: opacity 0.3s ease;
}

.file-download {
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
    transition: all 0.3s ease;
}

.file-download:hover {
    border-color: #007bff;
    background: #f0f8ff;
}

.no-media {
    background: #f8f9fa;
    border-radius: 8px;
    border: 2px dashed #dee2e6;
    color: #6c757d;
}

/* Responsive adjustments for PDF viewer */
@media (max-width: 768px) {
    .pdf-viewer embed {
        height: 400px;
    }

    .image-viewer {
        min-height: 200px;
    }

    .video-container {
        aspect-ratio: 16 / 9;
    }

    .pdf-preview-container {
        aspect-ratio: 16 / 9;
    }

    .file-download {
        padding: 2rem 1rem !important;
    }

    .no-media {
        padding: 2rem 1rem !important;
    }
}

@media (max-width: 576px) {
    .pdf-viewer embed {
        height: 300px;
    }

    .image-viewer {
        min-height: 150px;
    }

    .pdf-viewer .btn {
        font-size: 0.875rem;
        padding: 0.5rem 1rem;
    }

    .btn-play-pdf {
        width: 60px !important;
        height: 60px !important;
        font-size: 1.5rem !important;
    }
}

/* ======================= PDF Preview Container & Modal Styling =======================  */

.pdf-preview-container {
    position: relative;
    width: 100%;
    /* Rasio 16:9 sama seperti video-container */
    aspect-ratio: 16 / 9;
    background: #f8f9fa;
    border-radius: 0px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.pdf-preview-container .pdf-thumbnail {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pdf-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.6) 0%,
        rgba(255, 84, 33, 0.3) 50%,
        rgba(0, 0, 0, 0.6) 100%
    );
    backdrop-filter: blur(1px);
    -webkit-backdrop-filter: blur(1px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 1;
    transition: all 0.4s ease;
    z-index: 10;
    pointer-events: auto;
}

.pdf-thumbnail:hover .pdf-overlay {
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
    background: linear-gradient(
        45deg,
        rgba(0, 0, 0, 0.7) 0%,
        rgba(255, 84, 33, 0.4) 50%,
        rgba(0, 0, 0, 0.7) 100%
    );
}

.pdf-thumbnail {
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        #ff5421 0%,
        #ff8765 100%
    ); /* Fallback background */
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.pdf-thumbnail:hover {
    transform: scale(1.02);
}

/* Memastikan tombol bisa diklik pada semua kondisi */
.pdf-thumbnail .btn-play-pdf {
    position: relative;
    z-index: 999 !important;
    pointer-events: auto !important;
}

/* Styling khusus ketika tidak ada text untuk memastikan tombol tetap centered */
.pdf-thumbnail .pdf-overlay {
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Styling untuk pdf-thumbnail dengan background image */
.pdf-thumbnail[style*="background-image"] {
    background-color: #f8f9fa; /* Fallback color */
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
}

.btn-play-pdf {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff5421 0%, #ff8765 100%);
    border: 4px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-size: 2.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(255, 84, 33, 0.4), 0 4px 15px rgba(0, 0, 0, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    position: relative;
    overflow: hidden;
    z-index: 15;
    pointer-events: auto;
}

.btn-play-pdf::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(255, 255, 255, 0.3) 50%,
        transparent 70%
    );
    transform: rotate(45deg) translateX(-100%);
    transition: all 0.6s ease;
    opacity: 0;
    animation: shine 3s infinite;
}

.btn-play-pdf::after {
    content: "";
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border-radius: 50%;
    border: 2px solid rgba(255, 84, 33, 0.5);
    animation: pulse-ring 2s infinite;
    opacity: 0;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.1);
        opacity: 0.7;
    }
    100% {
        transform: scale(1.2);
        opacity: 0;
    }
}

@keyframes shine {
    0% {
        transform: rotate(45deg) translateX(-100%);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: rotate(45deg) translateX(100%);
        opacity: 0;
    }
}

.btn-play-pdf:hover {
    background: linear-gradient(135deg, #e64a1e 0%, #ff5421 100%);
    transform: scale(1.15);
    box-shadow: 0 12px 35px rgba(255, 84, 33, 0.6),
        0 8px 25px rgba(0, 0, 0, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-play-pdf:hover::before {
    opacity: 1;
    transform: rotate(45deg) translateX(100%);
}

.btn-play-pdf:hover::after {
    animation-duration: 1s;
}

.btn-play-pdf:active {
    transform: scale(1.05);
    transition: all 0.1s ease;
}

.btn-play-pdf i {
    margin-left: 4px; /* Offset untuk icon play agar terlihat centered */
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 2;
}

.pdf-actions {
    padding: 1.5rem;
    background: linear-gradient(to bottom, white 0%, #f8f9fa 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.pdf-actions .btn {
    border-radius: 8px;
    font-weight: 500;
    padding: 0.75rem 1.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.pdf-actions .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.pdf-actions .btn-primary {
    background: linear-gradient(135deg, #ff5421 0%, #ff8765 100%);
    border: none;
}

.pdf-actions .btn-primary:hover {
    background: linear-gradient(135deg, #e64a1e 0%, #ff5421 100%);
}

.pdf-actions .btn-outline-primary {
    border: 2px solid #ff5421;
    color: #ff5421;
}

.pdf-actions .btn-outline-primary:hover {
    background: #ff5421;
    border-color: #ff5421;
}

.pdf-actions .btn-outline-secondary {
    border: 2px solid #6c757d;
    color: #6c757d;
}

.pdf-actions .btn-outline-secondary:hover {
    background: #6c757d;
    border-color: #6c757d;
}

/* Modal Styling */
.modal-fullscreen .modal-content {
    border-radius: 0;
}

.modal-controls .btn {
    border-radius: 4px;
}

.modal-header {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-body {
    background: #f8f9fa;
}

/* Responsive adjustments for PDF preview */
@media (max-width: 768px) {
    .pdf-preview-container {
        aspect-ratio: 16 / 9;
    }

    .pdf-actions .btn {
        font-size: 0.875rem;
        padding: 0.6rem 1.2rem;
        margin-bottom: 0.5rem;
    }

    .btn-play-pdf {
        width: 70px;
        height: 70px;
        font-size: 1.8rem;
    }

    .btn-play-pdf::after {
        animation: pulse-ring 2.5s infinite;
    }
}

@media (max-width: 576px) {
    .pdf-actions {
        padding: 1rem;
    }

    .pdf-actions .btn {
        width: 100%;
        margin-bottom: 0.75rem;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }

    .pdf-actions .btn:last-child {
        margin-bottom: 0;
    }

    .btn-play-pdf {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
        border-width: 3px;
    }

    /* Touch-friendly untuk mobile */
    .pdf-thumbnail:active .pdf-overlay {
        backdrop-filter: blur(5px);
        -webkit-backdrop-filter: blur(5px);
    }

    /* Pastikan tombol selalu bisa diklik di mobile */
    .btn-play-pdf {
        pointer-events: auto !important;
        z-index: 20 !important;
    }
}
