.hero-bg {
    background: linear-gradient(
        135deg,
        rgba(30, 64, 175, 0.88),
        rgba(220, 38, 38, 0.72)
    ),
    url('https://i.ibb.co.com/ZpTW2Pr5/Gemini-Generated-Image-yliffiyliffiylif.png');
    background-size: cover;
    background-position: center;
    min-height: 92vh;
}
/* Smooth scrolling dan transisi */
html {
    scroll-behavior: smooth;
}

.page-section {
    display: none;
    animation: fadeIn 0.5s ease-in-out;
}

.page-section.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.dropdown-desktop {
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px) scale(0.98);
    pointer-events: none;
    transition: opacity 0.25s ease, transform 0.25s ease, visibility 0.25s ease;
}

.dropdown-desktop.open {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
    pointer-events: auto;
}

.dropdown-mobile {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(-6px);
    pointer-events: none;
    transition: max-height 0.3s ease, opacity 0.25s ease, transform 0.25s ease, margin-top 0.25s ease;
}

.dropdown-mobile.open {
    max-height: 500px;
    opacity: 1;
    transform: translateY(0);
    pointer-events: auto;
    margin-top: 8px;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 0.75rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}

.choice-card,
.program-card {
    position: relative;
    align-items: center;
}

.choice-card {
    min-height: 52px;
}

.program-card {
    min-height: 58px;
}

.choice-card:has(input:checked),
.program-card:has(input:checked) {
    background-color: #eff6ff;
    border-color: #2563eb;
    border-width: 2px;
    box-shadow: 0 8px 18px rgba(37, 99, 235, 0.10);
    transform: translateY(-1px);
}

.choice-card:has(input:checked) span,
.program-card:has(input:checked) span {
    color: #1d4ed8;
    font-weight: 700;
}

.choice-card:has(input:checked)::after,
.program-card:has(input:checked)::after {
    content: "✓";
    position: absolute;
    top: 50%;
    right: 10px;
    transform: translateY(-50%);
    width: 22px;
    height: 22px;
    border-radius: 9999px;
    background-color: #2563eb;
    color: #ffffff;
    font-size: 12px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 10px rgba(37, 99, 235, 0.25);
}

.soft-checkbox {
    appearance: none;
    -webkit-appearance: none;
    width: 17px;
    height: 17px;
    min-width: 17px;
    border: 1.5px solid #cbd5e1;
    border-radius: 6px;
    background-color: #ffffff;
    opacity: 0.35;
    margin-top: 0;
    transition: all 0.2s ease;
    cursor: pointer;
}

.soft-checkbox:hover {
    opacity: 0.65;
    border-color: #93c5fd;
}

.soft-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.15);
}

.soft-checkbox:checked {
    opacity: 0.95;
    border-color: #2563eb;
    background-color: #2563eb;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='none'%3E%3Cpath d='M5 10.5L8.5 14L15 7.5' stroke='white' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: center;
    background-size: 12px 12px;
}

.program-grid {
    grid-auto-rows: 1fr;
}

.program-card .program-label {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.25;
    padding-right: 2px;
}

.nav-pill {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 44px;
    padding: 0 18px;
    border-radius: 9999px;
    color: #334155;
    font-weight: 600;
    letter-spacing: -0.01em;
    transition: all 0.25s ease;
    position: relative;
}

.nav-pill:hover {
    color: #0f172a;
    background: linear-gradient(180deg, rgba(248, 250, 252, 0.98), rgba(241, 245, 249, 0.95));
    box-shadow: inset 0 0 0 1px rgba(148, 163, 184, 0.18);
}

.nav-pill-active {
    color: #2563eb !important;
    background: linear-gradient(180deg, rgba(219, 234, 254, 0.95), rgba(239, 246, 255, 0.96));
    box-shadow:
        0 10px 24px rgba(37, 99, 235, 0.10),
        inset 0 0 0 1px rgba(37, 99, 235, 0.14);
}

.nav-cta-group {
    display: flex;
    align-items: center;
    gap: 12px;
}

.nav-cta-admin,
.nav-cta-outline,
.nav-cta-primary {
    height: 46px;
    border-radius: 9999px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    transition: all 0.25s ease;
    white-space: nowrap;
}

.nav-cta-admin {
    color: #475569;
    background: linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.96));
    border: 1px solid rgba(203, 213, 225, 0.9);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.nav-cta-admin:hover {
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 12px 28px rgba(15, 23, 42, 0.09);
}

.nav-cta-outline {
    color: #2563eb;
    background: rgba(255,255,255,0.9);
    border: 1px solid rgba(37, 99, 235, 0.18);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.05);
}

.nav-cta-outline:hover {
    background: #eff6ff;
    border-color: rgba(37, 99, 235, 0.28);
    transform: translateY(-1px);
}

.nav-cta-primary {
    color: #ffffff;
    border: 1px solid transparent;
    background: linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow: 0 14px 32px rgba(37, 99, 235, 0.24);
}

.nav-cta-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 18px 38px rgba(37, 99, 235, 0.30);
}

/* ===== Premium Navbar Upgrade ===== */
.premium-navbar-shell {
    position: relative;
    border-radius: 28px;
    padding: 0 18px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.92));
    border: 1px solid rgba(255, 255, 255, 0.86);
    box-shadow:
        0 24px 60px rgba(15, 23, 42, 0.13),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    overflow: visible;
}

.premium-navbar-shell::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;
    background:
        linear-gradient(120deg, rgba(37, 99, 235, 0.12), transparent 32%, rgba(220, 38, 38, 0.10));
    opacity: 0.65;
}

.premium-brand {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    gap: 11px;
    min-width: 0;
    flex-shrink: 0;
    cursor: pointer;
}

.premium-brand-logo {
    width: 42px;
    height: 42px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    background:
        linear-gradient(180deg, #ffffff, #f8fafc);
    border: 1px solid rgba(226, 232, 240, 0.9);
    box-shadow:
        0 12px 24px rgba(15, 23, 42, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.premium-brand-text {
    font-weight: 900;
    font-size: 24px;
    line-height: 1;
    letter-spacing: -0.045em;
    white-space: nowrap;
}

.nav-pill {
    height: 44px;
    padding: 0 18px;
    border-radius: 9999px;
    color: #334155;
    font-weight: 700;
    letter-spacing: -0.015em;
    background: transparent;
    position: relative;
    z-index: 1;
}

.nav-pill:hover {
    color: #0f172a;
    background: rgba(255, 255, 255, 0.74);
    box-shadow:
        inset 0 0 0 1px rgba(148, 163, 184, 0.16),
        0 10px 22px rgba(15, 23, 42, 0.05);
}

.nav-pill-active {
    color: #2563eb !important;
    background:
        linear-gradient(180deg, rgba(219, 234, 254, 0.96), rgba(239, 246, 255, 0.96));
    box-shadow:
        0 12px 28px rgba(37, 99, 235, 0.12),
        inset 0 0 0 1px rgba(37, 99, 235, 0.16);
}

.premium-nav-dropdown-btn {
    gap: 8px;
}

.premium-dropdown {
    padding: 10px;
    border-radius: 24px;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.96));
    border: 1px solid rgba(226, 232, 240, 0.85);
    box-shadow:
        0 26px 70px rgba(15, 23, 42, 0.18),
        inset 0 1px 0 rgba(255, 255, 255, 0.96);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
}

.premium-dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 13px;
    text-align: left;
    padding: 12px 13px;
    border-radius: 18px;
    color: #334155;
    transition: all 0.22s ease;
}

.premium-dropdown-item:hover {
    background: #f8fafc;
    color: #1d4ed8;
    transform: translateX(3px);
    box-shadow: inset 0 0 0 1px rgba(226, 232, 240, 0.8);
}

.premium-dropdown-icon {
    width: 39px;
    height: 39px;
    min-width: 39px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
}

.nav-cta-group {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-cta-admin,
.nav-cta-outline,
.nav-cta-primary {
    height: 46px;
    border-radius: 9999px;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 0 18px;
    transition: all 0.25s ease;
    white-space: nowrap;
    letter-spacing: -0.01em;
}

.nav-cta-admin {
    color: #475569;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.96), rgba(248, 250, 252, 0.96));
    border: 1px solid rgba(203, 213, 225, 0.9);
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.nav-cta-admin:hover {
    color: #0f172a;
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(15, 23, 42, 0.10);
}

.nav-cta-outline {
    color: #2563eb;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid rgba(37, 99, 235, 0.20);
    box-shadow: 0 10px 24px rgba(37, 99, 235, 0.05);
}

.nav-cta-outline:hover {
    background: #eff6ff;
    border-color: rgba(37, 99, 235, 0.30);
    transform: translateY(-1px);
}

.nav-cta-primary {
    color: #ffffff;
    border: 1px solid transparent;
    background:
        linear-gradient(135deg, #2563eb, #3b82f6);
    box-shadow:
        0 16px 36px rgba(37, 99, 235, 0.28),
        inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.nav-cta-primary:hover {
    transform: translateY(-1px);
    box-shadow:
        0 20px 44px rgba(37, 99, 235, 0.34),
        inset 0 1px 0 rgba(255, 255, 255, 0.25);
}

@media (max-width: 1100px) {
    .premium-brand-text {
        font-size: 21px;
    }

    .nav-pill {
        padding: 0 13px;
        font-size: 14px;
    }

    .nav-cta-admin,
    .nav-cta-outline,
    .nav-cta-primary {
        padding: 0 14px;
        font-size: 14px;
    }
}

@media (max-width: 767px) {
    .premium-navbar-shell {
        border-radius: 24px;
        padding: 0 14px;
    }

    .premium-brand-logo {
        width: 38px;
        height: 38px;
        border-radius: 15px;
    }

    .premium-brand-text {
        font-size: 14px;
        letter-spacing: -0.035em;
    }
}

/* ===== Premium Mobile Menu ===== */
.premium-mobile-menu-link {
    width: 100%;
    min-height: 44px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: 16px;
    color: #334155;
    font-weight: 700;
    letter-spacing: -0.01em;
    transition: all 0.22s ease;
}

.premium-mobile-menu-link:hover {
    color: #1d4ed8;
    background: rgba(239, 246, 255, 0.9);
    box-shadow: inset 0 0 0 1px rgba(37, 99, 235, 0.08);
}

.premium-mobile-dropdown {
    margin-left: 0;
    margin-top: 8px;
    background:
        linear-gradient(180deg, rgba(255,255,255,0.96), rgba(248,250,252,0.96));
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 20px;
    padding: 8px;
    box-shadow: inset 0 1px 0 rgba(255,255,255,0.95);
}

.premium-mobile-dropdown.open {
    max-height: 520px;
}

.premium-mobile-dropdown-item {
    width: 100%;
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 11px 12px;
    border-radius: 15px;
    color: #334155;
    font-size: 14px;
    font-weight: 650;
    text-align: left;
    transition: all 0.22s ease;
}

.premium-mobile-dropdown-item i {
    width: 20px;
    text-align: center;
}

.premium-mobile-dropdown-item:hover {
    background: #eff6ff;
    color: #1d4ed8;
    transform: translateX(2px);
}

/* ===== Admin Dashboard Cards ===== */
.admin-menu-card {
    width: 100%;
    min-height: 196px;
    background: #ffffff;
    border: 1px solid rgba(226, 232, 240, 0.9);
    border-radius: 28px;
    padding: 24px;
    box-shadow:
        0 12px 30px rgba(15, 23, 42, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
    transition: all 0.25s ease;
}

.admin-menu-card:hover {
    transform: translateY(-4px);
    border-color: rgba(37, 99, 235, 0.20);
    box-shadow:
        0 22px 46px rgba(15, 23, 42, 0.10),
        inset 0 1px 0 rgba(255, 255, 255, 0.95);
}

.admin-menu-card:active {
    transform: translateY(-1px);
}

.admin-menu-icon {
    width: 48px;
    height: 48px;
    border-radius: 17px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 19px;
    margin-bottom: 20px;
}