:root {
    --primary-blue: #003869;
    --gold-gradient: linear-gradient(135deg, #D4AF37 0%, #F1D27B 100%);
    --blue-gradient: linear-gradient(135deg, #003869 0%, #0056a3 100%);
    --white: #ffffff;
    --text-dark: #0f172a;
    --text-gray: #64748b;
}

.programs {
    padding: 100px 5%;
    background-color: #ffffff;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.programs::before {
    content: '';
    position: absolute;
    top: 15%;
    right: -5%;
    width: 650px;
    height: 650px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.18) 0%, transparent 70%);
    filter: blur(90px);
    z-index: -1;
    animation: moveBlob 18s infinite alternate;
}

.programs::after {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(0, 56, 105, 0.05) 0%, transparent 70%);
    filter: blur(80px);
    z-index: -1;
}

.programs-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2;
}

.program-switcher {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin: -40px auto 60px;
    position: relative;
    z-index: 20;
}

.switch-btn {
    padding: 16px 45px;
    border-radius: 50px;
    border: 1px solid rgba(0, 56, 105, 0.1);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    color: var(--primary-blue);
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
}

.switch-btn.active {
    background: var(--blue-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 0 12px 30px rgba(0, 56, 105, 0.25);
}

.tab-content {
    display: none;
    animation: fadeIn 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.programs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 35px;
}

.program-card {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(0, 56, 105, 0.15);
    border-radius: 35px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    padding: 0 0 40px 0;
    transition: 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.03);
}

.program-card:hover {
    transform: translateY(-12px);
    border-color: #D4AF37;
    box-shadow: 0 25px 50px rgba(0, 56, 105, 0.1);
    background: rgba(255, 255, 255, 1);
}

.card-banner {
    width: 100%;
    height: 260px;
    overflow: hidden;
    margin-bottom: 30px;
    border-bottom: 1px solid rgba(0, 56, 105, 0.05);
}

.card-banner img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.6s ease;
}

.program-card:hover .card-banner img {
    transform: scale(1.08);
}

.program-card h3 {
    font-size: 1.85rem;
    font-weight: 800;
    color: var(--primary-blue);
    margin-bottom: 15px;
    padding: 0 35px;
}

.program-desc {
    color: var(--text-gray);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 25px;
    padding: 0 35px;
}

.program-materi {
    margin-top: auto;
    padding: 0 35px;
}

.program-materi h4 {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #D4AF37;
    margin-bottom: 15px;
    font-weight: 800;
}

.program-materi ul {
    list-style: none;
    margin-bottom: 25px;
}

.program-materi ul li {
    font-size: 0.95rem;
    color: var(--text-dark);
    font-weight: 500;
    position: relative;
    padding-left: 25px;
    margin-bottom: 10px;
}

.program-materi ul li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: #D4AF37;
    font-weight: bold;
}

.skill-container {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 35px;
}

.skill-pill {
    background: rgba(0, 56, 105, 0.06);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 700;
    border: 1px solid rgba(0, 56, 105, 0.1);
    transition: 0.3s;
}

.program-card:hover .skill-pill {
    background: white;
    border-color: #D4AF37;
}

.btn-wa {
    align-self: flex-start;
    margin-left: 35px;
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: #25D366;
    color: white;
    text-decoration: none;
    padding: 14px 28px;
    border-radius: 18px;
    font-weight: 700;
    font-size: 0.95rem;
    transition: 0.4s;
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}

.btn-wa:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 12px 25px rgba(37, 211, 102, 0.3);
    filter: brightness(1.1);
}

@media (max-width: 992px) {
    .programs-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .program-card {
        padding-bottom: 35px;
    }

    .card-banner {
        height: 220px;
    }

    .program-card h3, 
    .program-desc, 
    .program-materi, 
    .btn-wa {
        padding-left: 25px;
        padding-right: 25px;
    }

    .btn-wa {
        margin-left: 25px;
        width: calc(100% - 50px);
        justify-content: center;
    }
}