/* ==========================================================================
   PROGRAM KERJA PAGE STYLES
   ========================================================================== */

.page-content {
    padding-top: 110px;
    padding-bottom: 60px;
}

/* Header Section */
.program-header {
    margin-bottom: 32px;
}

.page-title {
    font-size: clamp(2.4rem, 4vw, 3.2rem);
    font-weight: 800;
    color: var(--primary-color);
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.page-subtitle {
    font-size: 1rem;
    color: var(--text-gray);
    max-width: 680px;
    line-height: 1.6;
}

/* 30-Day Journey Roadmap Widget */
.roadmap-card {
    background: #EFEFE9;
    border-radius: 24px;
    padding: 32px 36px;
    margin-bottom: 40px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.02);
}

.roadmap-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.roadmap-title {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.roadmap-subtitle {
    font-size: 0.88rem;
    color: var(--text-gray);
}

.roadmap-badge-day {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
}

.progress-track {
    width: 100%;
    height: 12px;
    background: #DCDBCF;
    border-radius: 100px;
    overflow: hidden;
    margin-bottom: 14px;
}

.progress-fill {
    width: 0%; /* Di-animasikan oleh GSAP ke 46.6% (Hari 14 dari 30) */
    height: 100%;
    background: var(--primary-color);
    border-radius: 100px;
    transition: width 0.2s ease;
}

.roadmap-milestones {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-gray);
}

.milestone.active {
    color: var(--text-dark);
}

/* Filter Navigation Tabs */
.filter-nav {
    display: flex;
    gap: 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 36px;
    padding-bottom: 12px;
    overflow-x: auto;
}

.filter-tab {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 0.92rem;
    font-weight: 600;
    color: var(--text-gray);
    cursor: pointer;
    position: relative;
    padding-bottom: 12px;
    transition: color 0.2s ease;
    white-space: nowrap;
}

.filter-tab:hover {
    color: var(--primary-color);
}

.filter-tab.active {
    color: var(--primary-color);
    font-weight: 800;
}

.filter-tab.active::after {
    content: '';
    position: absolute;
    bottom: -13px;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 3px;
}

/* Program Grid Layout */
.program-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    gap: 24px;
}

/* Base Program Card */
.program-card {
    background: #FFFFFF;
    border-radius: 28px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.03);
    border: 1px solid rgba(0, 0, 0, 0.03);
    display: flex;
    flex-direction: column;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.program-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.program-card.vertical {
    grid-column: span 5;
}

.program-card.featured {
    grid-column: span 7;
}

/* Image Container & Badges */
.card-image-container {
    position: relative;
    height: 220px;
    overflow: hidden;
}

.card-image-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.program-card:hover .card-image-container img {
    transform: scale(1.05);
}

.badge-group {
    position: absolute;
    top: 16px;
    z-index: 2;
}

.badge-group.top-left { left: 16px; }
.badge-group.top-right { right: 16px; }

.badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.badge-category.green {
    background: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
}

.badge-category.red {
    background: rgba(255, 255, 255, 0.9);
    color: #C0392B;
}

.badge-status.progress {
    background: #FFF8E7;
    color: #B7791F;
    border: 1px solid rgba(183, 121, 31, 0.2);
}

.badge-status.completed {
    background: #FEF3C7;
    color: #92400E;
    border: 1px solid rgba(146, 64, 14, 0.2);
}

.badge-status.planning {
    background: #F3F4F6;
    color: #4B5563;
    border: 1px solid rgba(75, 85, 99, 0.2);
}

/* Card Body & Information Box */
.card-body {
    padding: 28px;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.card-title {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 10px;
}

.card-desc {
    font-size: 0.88rem;
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 20px;
}

.info-box {
    background: #EFEFEA;
    border-radius: 18px;
    padding: 18px;
    margin-bottom: 24px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: auto;
}

.info-box-grid {
    background: #EFEFEA;
    border-radius: 18px;
    padding: 20px;
    margin-bottom: 24px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-top: auto;
}

.info-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--text-gray);
    margin-bottom: 4px;
}

.info-text {
    font-size: 0.82rem;
    color: var(--text-dark);
    font-weight: 600;
    line-height: 1.45;
}

/* Buttons Inside Cards */
.btn-outline-card {
    background: transparent;
    border: 1px solid #DCDBCF;
    color: var(--text-dark);
    border-radius: 50px;
    padding: 10px 20px;
    text-align: center;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.25s ease;
}

.btn-outline-card:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: #ffffff;
}

.btn-full {
    width: 100%;
}

/* Responsive Rules */
@media (max-width: 992px) {
    .program-card.vertical,
    .program-card.featured {
        grid-column: span 12;
    }
    .info-box-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 600px) {
    .roadmap-card {
        padding: 24px 20px;
    }
    .roadmap-badge-day {
        font-size: 1.5rem;
    }
}