:root {
    --p-primary: #0d7a3e;
    --p-primary-dark: #095e2f;
    --p-primary-darker: #064523;
    --p-accent: #f5a623;
    --p-light: #eefaf3;
    --p-muted: #6b7c72;
    --p-dark: #17352a;
    --p-text: #2b3a33;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Nunito Sans', 'Segoe UI', system-ui, sans-serif;
    color: var(--p-text);
    background: #fff;
    line-height: 1.7;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    color: var(--p-dark);
    font-weight: 700;
}

.text-brand { color: var(--p-primary); }
.text-gold { color: var(--p-accent); }

/* Navbar */
.p-nav {
    background: #fff;
    box-shadow: 0 2px 16px rgba(6, 69, 35, .08);
    position: sticky;
    top: 0;
    z-index: 1030;
}

.p-nav .navbar-brand {
    font-weight: 800;
    color: var(--p-primary-darker);
    display: flex;
    align-items: center;
    gap: .6rem;
}

.p-nav .brand-badge {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p-primary), var(--p-primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.p-nav .brand-text small {
    display: block;
    color: var(--p-primary);
    font-weight: 700;
    letter-spacing: .03em;
}

.p-nav .navbar-nav .nav-link {
    color: var(--p-dark);
    font-weight: 600;
    padding: .6rem .9rem;
    border-radius: 8px;
    transition: .2s;
}

.p-nav .navbar-nav .nav-link:hover,
.p-nav .navbar-nav .nav-link.active {
    color: var(--p-primary);
    background: var(--p-light);
}

.btn-brand {
    background: var(--p-primary);
    border-color: var(--p-primary);
    color: #fff;
    font-weight: 700;
    border-radius: 10px;
    padding: .55rem 1.2rem;
}

.btn-brand:hover { background: var(--p-primary-dark); color: #fff; }

.btn-outline-brand {
    border: 2px solid var(--p-primary);
    color: var(--p-primary);
    font-weight: 700;
    border-radius: 10px;
    padding: .5rem 1.1rem;
}

.btn-outline-brand:hover { background: var(--p-primary); color: #fff; }

/* Hero */
.p-hero {
    background:
        radial-gradient(1200px 500px at 90% -10%, rgba(245, 166, 35, .15), transparent 60%),
        linear-gradient(135deg, var(--p-primary-darker), var(--p-primary-dark) 60%, var(--p-primary));
    color: #fff;
    padding: 5.5rem 0 6rem;
    position: relative;
    overflow: hidden;
}

.p-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255,255,255,.08) 1.2px, transparent 1.2px);
    background-size: 26px 26px;
    opacity: .5;
}

.p-hero .container { position: relative; z-index: 1; }

.p-hero .hero-kicker {
    display: inline-flex;
    align-items: center;
    gap: .4rem;
    background: rgba(255,255,255,.12);
    border: 1px solid rgba(255,255,255,.25);
    padding: .4rem 1rem;
    border-radius: 50rem;
    font-weight: 700;
    font-size: .85rem;
    color: #ffe9b8;
}

.p-hero h1 {
    color: #fff;
    font-size: clamp(1.9rem, 4vw, 3.1rem);
    font-weight: 800;
    line-height: 1.25;
}

.p-hero .hero-sub { font-size: 1.15rem; color: rgba(255,255,255,.9); }

.p-hero .hero-jenjang {
    display: flex;
    flex-wrap: wrap;
    gap: .6rem;
    margin: 1.2rem 0;
}

.p-hero .hero-jenjang span {
    background: rgba(255,255,255,.15);
    border: 1px solid rgba(255,255,255,.3);
    color: #fff;
    padding: .45rem 1rem;
    border-radius: 50rem;
    font-weight: 700;
    font-size: .9rem;
}

/* CTA kontras di atas hero hijau */
.p-hero .btn-brand {
    background: #fff;
    border-color: #fff;
    color: var(--p-primary-dark);
}
.p-hero .btn-brand:hover {
    background: var(--p-light);
    border-color: var(--p-light);
    color: var(--p-primary-darker);
}

.hero-app-card {
    background: rgba(255,255,255,.1);
    border: 1px solid rgba(255,255,255,.22);
    border-radius: 18px;
    padding: 1.1rem 1.3rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: .9rem;
    text-decoration: none;
    transition: .2s;
    backdrop-filter: blur(6px);
}

.hero-app-card:hover { background: rgba(255,255,255,.18); color: #fff; }
.hero-app-card .app-icon { font-size: 2rem; }

/* Section helpers */
.p-section { padding: 4.5rem 0; }
.p-section-alt { background: var(--p-light); }
.section-title { font-size: clamp(1.4rem, 3vw, 2.1rem); font-weight: 800; }
.section-sub { color: var(--p-muted); max-width: 640px; margin: .4rem auto 0; }
.p-kicker {
    display: inline-block;
    color: var(--p-primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .14em;
    font-size: .8rem;
    margin-bottom: .4rem;
}

/* Stats cards */
.stat-card {
    background: #fff;
    border-radius: 16px;
    border: 1px solid rgba(13, 122, 62, .12);
    box-shadow: 0 6px 24px rgba(6, 69, 35, .06);
    padding: 1.4rem;
    height: 100%;
}

.stat-card .stat-num { font-size: 2rem; font-weight: 800; color: var(--p-primary-dark); }

.stat-box-big {
    background: linear-gradient(135deg, var(--p-primary), var(--p-primary-dark));
    color: #fff;
    border-radius: 18px;
    padding: 1.6rem;
    text-align: center;
}

.stat-box-big .num { font-size: 2.4rem; font-weight: 800; }

/* Unit cards */
.unit-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(13, 122, 62, .12);
    box-shadow: 0 8px 26px rgba(6, 69, 35, .07);
    padding: 1.8rem 1.4rem;
    text-align: center;
    height: 100%;
    transition: .25s;
}

.unit-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(6, 69, 35, .14); }

.unit-card .unit-logo {
    width: 84px;
    height: 84px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: var(--p-light);
    color: var(--p-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.2rem;
    font-weight: 800;
}

.unit-card .unit-pendaftar { font-size: 1.9rem; font-weight: 800; color: var(--p-primary-dark); }
.unit-card .sisa-kuota {
    display: inline-block;
    background: #fff5e0;
    color: #a06a00;
    padding: .2rem .8rem;
    border-radius: 50rem;
    font-weight: 700;
    font-size: .85rem;
    margin-top: .4rem;
}

.thankyou-banner {
    background: linear-gradient(135deg, var(--p-primary-darker), var(--p-primary-dark));
    color: #fff;
    border-radius: 22px;
    padding: 2.4rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Feature bullets (profil) */
.profil-feature { display: flex; gap: .7rem; align-items: flex-start; }
.profil-feature i { color: var(--p-primary); font-size: 1.2rem; }

/* Jenjang cards */
.jenjang-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(13, 122, 62, .12);
    box-shadow: 0 8px 26px rgba(6, 69, 35, .07);
    overflow: hidden;
    height: 100%;
    transition: .25s;
}

.jenjang-card:hover { transform: translateY(-6px); }
.jenjang-card .card-top {
    background: linear-gradient(135deg, var(--p-primary), var(--p-primary-dark));
    color: #fff;
    text-align: center;
    padding: 1.4rem 1rem;
    font-weight: 800;
}

.jenjang-card .card-body { padding: 1.4rem; }

/* Harapan grid */
.harapan-item {
    display: flex;
    gap: .9rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid rgba(13, 122, 62, .1);
    padding: 1.1rem;
    height: 100%;
    box-shadow: 0 4px 16px rgba(6, 69, 35, .05);
}

.harapan-item .h-icon {
    flex-shrink: 0;
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: var(--p-light);
    color: var(--p-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

/* Program unggulan */
.program-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(13, 122, 62, .12);
    box-shadow: 0 8px 26px rgba(6, 69, 35, .07);
    overflow: hidden;
    height: 100%;
    transition: .25s;
}

.program-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(6, 69, 35, .14); }
.program-card img { width: 100%; height: 180px; object-fit: cover; }
.program-card .card-body { padding: 1.3rem; }

/* Core value & keunggulan */
.value-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(13, 122, 62, .12);
    box-shadow: 0 8px 26px rgba(6, 69, 35, .07);
    padding: 1.6rem;
    height: 100%;
}

.value-card .v-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--p-primary), var(--p-primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Fasilitas */
.facility-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    height: 100%;
    box-shadow: 0 8px 26px rgba(6, 69, 35, .12);
}

.facility-card img { width: 100%; height: 240px; object-fit: cover; }
.facility-card .fc-overlay {
    position: absolute;
    inset: auto 0 0 0;
    padding: 1rem 1.1rem;
    background: linear-gradient(transparent, rgba(4, 45, 23, .88));
    color: #fff;
}

/* Testimoni */
.testi-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(13, 122, 62, .12);
    box-shadow: 0 8px 26px rgba(6, 69, 35, .07);
    padding: 1.6rem;
    height: 100%;
}

.testi-card .quote-mark { color: var(--p-accent); font-size: 2rem; }

/* Alumni */
.alumni-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(13, 122, 62, .12);
    box-shadow: 0 8px 26px rgba(6, 69, 35, .07);
    padding: 1.2rem;
    height: 100%;
    text-align: center;
    transition: .25s;
}

.alumni-card:hover { transform: translateY(-5px); }
.alumni-card .al-avatar {
    width: 74px;
    height: 74px;
    margin: 0 auto .8rem;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--p-light);
}

/* Footer */
.p-footer {
    background: var(--p-primary-darker);
    color: rgba(255,255,255,.82);
    padding: 3.5rem 0 0;
}

.p-footer h5 { color: #fff; font-weight: 700; margin-bottom: 1rem; }
.p-footer a { color: rgba(255,255,255,.82); text-decoration: none; }
.p-footer a:hover { color: var(--p-accent); }
.p-footer .footer-contact li { display: flex; gap: .6rem; margin-bottom: .6rem; }
.p-footer .social a {
    width: 38px; height: 38px;
    border-radius: 50%;
    background: rgba(255,255,255,.1);
    display: inline-flex; align-items: center; justify-content: center;
    margin-right: .4rem; transition: .2s;
}
.p-footer .social a:hover { background: var(--p-accent); color: var(--p-primary-darker); }
.p-footer .copyright {
    border-top: 1px solid rgba(255,255,255,.12);
    padding: 1rem 0;
    margin-top: 2.5rem;
    text-align: center;
    font-size: .9rem;
}

/* Forms */
.p-form-card {
    background: #fff;
    border-radius: 20px;
    border: 1px solid rgba(13, 122, 62, .12);
    box-shadow: 0 12px 36px rgba(6, 69, 35, .08);
    padding: 2rem;
}

.p-form-card .form-label { font-weight: 700; color: var(--p-dark); }
.p-form-card .form-control,
.p-form-card .form-select {
    border-radius: 10px;
    padding: .6rem .9rem;
    border: 1px solid #d9e4de;
}
.p-form-card .form-control:focus,
.p-form-card .form-select:focus {
    border-color: var(--p-primary);
    box-shadow: 0 0 0 .2rem rgba(13, 122, 62, .12);
}

/* Survey Likert */
.likert-row {
    background: #fff;
    border: 1px solid rgba(13, 122, 62, .12);
    border-radius: 14px;
    padding: 1.1rem 1.2rem;
    margin-bottom: 1rem;
}

.likert-options { display: flex; flex-wrap: wrap; gap: .5rem; margin-top: .8rem; }
.likert-options label {
    flex: 1 1 110px;
    text-align: center;
    border: 2px solid #d9e4de;
    border-radius: 10px;
    padding: .55rem .4rem;
    cursor: pointer;
    font-weight: 700;
    font-size: .85rem;
    transition: .15s;
    color: var(--p-muted);
}

.likert-options input { display: none; }
.likert-options input:checked + span,
.likert-options label:has(input:checked) { background: var(--p-primary); border-color: var(--p-primary); color: #fff; }

.success-banner {
    background: linear-gradient(135deg, var(--p-primary), var(--p-primary-dark));
    color: #fff;
    border-radius: 22px;
    padding: 2.6rem;
    text-align: center;
}
.success-banner .big-check { font-size: 4rem; }

/* Page hero kecil */
.page-hero {
    background: linear-gradient(135deg, var(--p-primary-darker), var(--p-primary));
    color: #fff;
    padding: 3.2rem 0;
}
.page-hero h1 { color: #fff; font-weight: 800; }

/* Tabel pendaftar */
.p-table { border-radius: 16px; overflow: hidden; border: 1px solid rgba(13,122,62,.12); }
.p-table table { margin: 0; }
.p-table thead th { background: var(--p-light); color: var(--p-primary-dark); font-weight: 700; }

@media (max-width: 768px) {
    .p-section { padding: 3rem 0; }
}

/* Tab unit (program & fasilitas) */
.unit-tabs { gap: .5rem; }
.unit-tabs .nav-link {
    color: var(--p-primary-dark);
    font-weight: 700;
    border-radius: 50rem;
    padding: .5rem 1.25rem;
    border: 1.5px solid rgba(13,122,62,.25);
}
.unit-tabs .nav-link.active {
    background: var(--p-primary);
    border-color: var(--p-primary);
    color: #fff;
}

/* Helper */
.bg-brand { background-color: var(--p-primary) !important; }

/* Brosur & Biaya cards (home) */
.success-check-circle {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--p-primary), var(--p-primary-dark));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.4rem;
}
.biaya-preview {
    border: 1px solid rgba(13, 122, 62, .12);
    border-radius: 14px;
    overflow: hidden;
    background: var(--p-light);
    padding: .5rem;
}
.biaya-preview img { width: 100%; max-height: 520px; object-fit: contain; }
.brosur-card {
    background: #fff;
    border-radius: 18px;
    border: 1px solid rgba(13, 122, 62, .12);
    box-shadow: 0 8px 26px rgba(6, 69, 35, .07);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: .25s;
}
.brosur-card:hover { transform: translateY(-6px); box-shadow: 0 16px 40px rgba(6, 69, 35, .14); }
.brosur-head {
    background: linear-gradient(135deg, var(--p-primary), var(--p-primary-dark));
    color: #fff;
    text-align: center;
    padding: 1rem;
    font-weight: 800;
}
.brosur-body { padding: 1.2rem; display: flex; flex-direction: column; flex: 1; }
.brosur-thumb {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 1rem;
    background: var(--p-light);
    height: 160px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.brosur-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.brosur-thumb--doc { color: var(--p-primary); }
.brosur-thumb--doc i { font-size: 3rem; }
.brosur-thumb--empty { color: #b9c7c0; }
.brosur-thumb--empty i { font-size: 2.6rem; }
.brosur-empty-text { margin-top: auto; }
.file-badge {
    position: absolute;
    top: .5rem;
    right: .5rem;
    background: var(--p-accent);
    color: #fff;
    font-size: .7rem;
    font-weight: 800;
    padding: .15rem .55rem;
    border-radius: 50rem;
    letter-spacing: .05em;
}

/* Header shadow on scroll */
.p-nav.scrolled {
    box-shadow: 0 6px 24px rgba(6, 69, 35, .16);
}
@media (prefers-reduced-motion: no-preference) {
    .p-nav { transition: box-shadow .25s ease; }
}

/* Timeline langkah selanjutnya */
.next-steps { list-style: none; padding: 0; margin: 0; }
.next-steps li {
    position: relative;
    padding: 0 0 1.4rem 3rem;
    border-left: 2px solid rgba(13,122,62,.2);
}
.next-steps li:last-child { border-left-color: transparent; padding-bottom: 0; }
.next-steps .ns-icon {
    position: absolute;
    left: -18px;
    top: -2px;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--p-primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.05rem;
}
.next-steps li:last-child .ns-icon { background: var(--p-accent); }

/* Star rating (survey) */
.rating-stars { display: inline-flex; flex-direction: row-reverse; gap: .15rem; }
.rating-stars input { position: absolute; opacity: 0; pointer-events: none; }
.rating-stars label {
    color: #d9e2dd;
    cursor: pointer;
    font-size: 1.8rem;
    line-height: 1;
    transition: color .15s ease, transform .15s ease;
}
.rating-stars label:hover,
.rating-stars label:hover ~ label,
.rating-stars input:checked ~ label {
    color: #ffc107;
}
.rating-stars label:hover { transform: scale(1.15); }
