:root {
    --primary-color: #11ACDA;
    --primary-hover: #0d8ca9;
    --secondary-color: #6c757d;
    --text-color: #4a5568;
    --heading-color: #1a202c;
    --border-radius: 16px;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --transition-speed: 0.3s;
}



#project-showcase {
    padding: 20px 0;
}
.section-header {
    margin-bottom: 60px;
}
.section-header .subtitle {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.section-header .title {
    font-size: 3rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-top: 10px;
}
@media (max-width: 768px) {
    .section-header .title {
        font-size: 2.2rem;
    }
}
#timeline-nav {
    /* PERUBAHAN: Menghapus 'position: sticky' dan 'top' agar navigasi tetap di atas dan tidak mengikuti scroll */
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    padding: 15px;
    border-radius: 50px;
    box-shadow: var(--shadow);
    margin-bottom: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.timeline-nav-link {
    text-decoration: none;
    color: var(--secondary-color);
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all var(--transition-speed) ease;
}
.timeline-nav-link:hover {
    color: var(--primary-hover);
}
.timeline-nav-link.active {
    background-color: var(--primary-color);
    color: #fff;
    box-shadow: 0 4px 15px rgba(17, 172, 218, 0.4);
}
.year-section {
    display: none;
    margin-bottom: 40px;
}
.year-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--heading-color);
    margin-bottom: 30px;
}
.project-count {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--secondary-color);
    margin-left: 10px;
}
.table-container {
    background: #ffffff;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    padding: 2rem;
    overflow: hidden;
}
.project-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 10px;
}
.project-table thead th {
    text-transform: uppercase;
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--secondary-color);
    letter-spacing: 0.5px;
    text-align: left;
    padding: 1rem 1.5rem;
    border-bottom: 2px solid #e2e8f0;
}
.project-table tbody tr {
    transition: all var(--transition-speed) ease;
    cursor: pointer;
    border-radius: 12px;
}
.project-table tbody tr:hover {
    transform: translateY(-4px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    background-color: #f7faff;
}
.project-table tbody td {
    padding: 1rem 1.5rem;
    vertical-align: middle;
    font-weight: 500;
    border: none;
    border-bottom: 1px solid #eef0f3;
}
.project-table tbody tr td:first-child {
    border-top-left-radius: 12px;
    border-bottom-left-radius: 12px;
}
.project-table tbody tr td:last-child {
    border-top-right-radius: 12px;
    border-bottom-right-radius: 12px;
}
.project-table-img {
    width: 90px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}
/* Simple-DataTables Customization */
.datatable-wrapper {
    padding: 0 !important;
}
.datatable-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    padding: 0 0 1.5rem 0;
    gap: 1rem;
}
.datatable-dropdown,
.datatable-search,
.datatable-buttons {
    width: 100%;
}
@media (min-width: 992px) {

    .datatable-dropdown,
    .datatable-search,
    .datatable-buttons {
        width: auto;
    }
}
.datatable-search {
    order: 1;
    flex-grow: 1;
}
.datatable-dropdown {
    order: 2;
}
.datatable-buttons {
    order: 3;
    text-align: right;
}
.datatable-input,
.datatable-selector {
    border: 1px solid #ced4da;
    border-radius: 50px !important;
    padding: 10px 20px;
    transition: all var(--transition-speed) ease;
}
.datatable-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.25rem rgba(17, 172, 218, 0.25);
}
.datatable-pagination a {
    color: var(--primary-color) !important;
    border-radius: 8px !important;
    margin: 0 2px;
}
.datatable-pagination .active a,
.datatable-pagination .active a:focus,
.datatable-pagination .active a:hover {
    background-color: var(--primary-color) !important;
    color: #fff !important;
}
.datatable-sorter::before,
.datatable-sorter::after {
    opacity: 0.5;
}
.btn-datatable {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    border-radius: 50px;
    padding: 10px 20px;
    font-weight: 500;
    transition: all var(--transition-speed) ease;
}
.btn-datatable:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}
/* Responsive Table for Mobile */
@media (max-width: 992px) {
    .table-container {
        padding: 1rem;
    }

    .project-table thead {
        display: none;
    }

    .project-table tbody,
    .project-table tr,
    .project-table td {
        display: block;
        width: 100%;
    }

    .project-table tr {
        margin-bottom: 1.5rem;
        border: 1px solid #eef0f3;
        border-radius: var(--border-radius);
        padding: 1rem;
        background-color: var(--card-background);
        box-shadow: var(--shadow);
    }

    .project-table td {
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 0.75rem 0.5rem;
        border: none;
        border-bottom: 1px dashed #eef0f3;
        text-align: right;
    }

    .project-table td:last-child {
        border-bottom: none;
    }

    .project-table td::before {
        content: attr(data-label);
        font-weight: 600;
        color: var(--heading-color);
        margin-right: 1rem;
        text-align: left;
    }

    .project-table td:nth-child(2) {
        display: block;
        text-align: center;
    }

    .project-table td:nth-child(2)::before {
        display: none;
    }

    .project-table-img {
        width: 100%;
        height: 180px;
        margin-bottom: 1rem;
    }

    .project-table td:first-child {
        display: none;
        /* Hide the 'No.' column on mobile */
    }
}
/* Modal Styling */
.modal-content {
    border-radius: var(--border-radius);
    border: none;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}
.modal-header {
    border-bottom: none;
    padding: 2rem 2rem 1rem;
}
.modal-project-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--heading-color);
}
.modal-body {
    padding: 0 2rem 2rem;
}
.modal-project-img {
    width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 2rem;
}
.modal-details {
    list-style: none;
    padding: 0;
    margin-bottom: 1.5rem;
}
.modal-details li {
    display: flex;
    align-items: center;
    font-size: 1rem;
    margin-bottom: 15px;
    color: #555;
}
.modal-details svg {
    width: 20px;
    height: 20px;
    color: var(--primary-color);
    margin-right: 15px;
    flex-shrink: 0;
}
.modal-details strong {
    color: var(--heading-color);
    margin-right: 8px;
}
.modal-description {
    font-size: 1rem;
    line-height: 1.8;
    color: #4a5568;
}
.modal .btn-close {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 10;
}








/* =================================
   Projects Page V5 (New Sections)
   ================================= */

/* Featured Projects Section (Reworked) */
#featured-projects-reworked .featured-card {
    border-radius: 16px;
    background-color: #fff;
    box-shadow: 0 10px 30px rgba(0,0,0,0.07);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}
#featured-projects-reworked .featured-card.small-card {
    flex-direction: row;
    align-items: center;
}
#featured-projects-reworked .large-card .featured-media {
    height: 350px;
}
#featured-projects-reworked .small-card .featured-media {
    height: 120px;
    width: 120px;
    flex-shrink: 0;
    border-radius: 16px;
}
.featured-media.video-container,
.featured-media.video-container-small {
    position: relative; padding-bottom: 56.25%; height: 0;
}
.featured-media iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }
.featured-media img { width: 100%; height: 100%; object-fit: cover; }
.featured-content { padding: 1.5rem; }
.small-card .featured-content { padding-left: 1rem; }







/* Project Process Section */
.process-step {
    padding: 2rem 1.5rem;
    background: #fff;
    border-radius: 12px;
    border-bottom: 4px solid transparent;
    transition: all 0.3s ease;
    height: 100%;
}
.process-step:hover {
    transform: translateY(-10px);
    border-bottom-color: #11ACDA;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
}
.process-step span {
    font-size: 3rem;
    font-weight: 700;
    color: #eaf6ff;
    line-height: 1;
}

/* Case Study Section */
#case-study {
    background-color: #0A192F;
    color: #fff;
}
#case-study .text-muted { color: #05070f !important; }
#case-study .text-primary { color: #11ACDA !important; }
#case-study .fa-check-circle { color: #28a745 !important; }


/* =================================
   Projects Page - Innovations & Video Carousel
   ================================= */

/* Innovations Section */
#our-innovations .info-card {
    display: flex; align-items: flex-start; padding: 2rem;
    background-color: #fff; border-radius: 12px;
    border: 1px solid #eef0f3; height: 100%;
    transition: all 0.3s ease;
}
#our-innovations .info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.08);
    border-left: 4px solid #11ACDA;
}
#our-innovations .info-card-icon {
    flex-shrink: 0; width: 60px; height: 60px;
    background-color: #11ACDA; color: #fff; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; margin-right: 1.5rem;
}









/* =================================
    Modern Video Showcase Section (Grid Playlist)
    ================================= */
#project-videos {
    background-color: #fff;
}

.dark-background-wrapper {
    background-color: #35598f;
    border-radius: 16px;
    padding: 3rem;
    position: relative;
    overflow: hidden;
}

/* Layar Video Utama (Tidak Berubah) */
.video-frame-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    background-color: #000;
    border-radius: 12px;
    overflow: hidden;
}

.video-frame-wrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.video-frame-wrapper .placeholder-text {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6c757d;
}

.main-video-info {
    color: #ccd6f6;
}

/* Playlist Video (DESAIN BARU) */
.video-playlist-wrapper {
    height: 500px;
    /* Tinggi total area playlist */
    display: flex;
    flex-direction: column;
}

.playlist-search-box {
    position: relative;
    flex-shrink: 0;
}

.playlist-search-box .form-control {
    background-color: #6185c3;
    border-color: #4a6392;
    color: #fff;
    padding-left: 2.5rem;
    border-radius: 50px;
}

.playlist-search-box .form-control::placeholder {
    color: #feffff;
}

.playlist-search-box .fa-search {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #ffffff;
}

.playlist-grid-container {
    margin-top: 1rem;
    flex-grow: 1;
    overflow-y: auto;
    /* Membuatnya bisa di-scroll ke bawah */
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    /* 2 kolom */
    gap: 1rem;
    padding-right: 10px;
    /* Ruang untuk scrollbar */
}

.playlist-item {
    cursor: pointer;
    border-radius: 8px;
    transition: background-color 0.3s ease;
    border: 1px solid transparent;
}

.playlist-item:hover {
    background-color: #112240;
}

.playlist-item.active {
    background-color: #233554;
    border-color: #11ACDA;
}

.playlist-thumbnail-wrapper {
    height: 90px;
    border-radius: 6px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.playlist-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.playlist-title {
    padding: 0 10px 10px;
    font-size: 0.85rem;
    color: #ccd6f6;
    font-weight: 500;
    text-align: center;
}

.project-item-hidden {
    display: none;
}
