:root {
    --home-primary: #0f5f54;
    --home-primary-dark: #0b433b;
    --home-accent: #f5b940;
    --home-surface: #ffffff;
    --home-surface-soft: #f6f8f7;
    --home-border: #d9e3e0;
    --home-text: #17312d;
    --home-text-muted: #59706b;
    --home-shadow: 0 20px 60px rgba(10, 33, 29, 0.12);
}

html {
    scroll-behavior: smooth;
}

body {
    background: #eef3f1;
    color: var(--home-text);
    font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}

a {
    text-decoration: none;
}

.homepage-navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(15, 95, 84, 0.08);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.brand-logo {
    height: 48px;
    width: auto;
}

.brand-text {
    color: var(--home-text);
    font-size: 0.98rem;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.hero-section {
    background:
        linear-gradient(135deg, rgba(8, 44, 39, 0.9), rgba(15, 95, 84, 0.74)),
        url("../img/banner.jpeg") center center / cover no-repeat;
    overflow: hidden;
    padding: 5.5rem 0 4.5rem;
    position: relative;
}

.hero-overlay {
    background:
        radial-gradient(circle at top right, rgba(245, 185, 64, 0.28), transparent 30%),
        radial-gradient(circle at bottom left, rgba(255, 255, 255, 0.08), transparent 24%);
    inset: 0;
    position: absolute;
}

.hero-copy {
    color: #fff;
    max-width: 640px;
    position: relative;
}

.hero-kicker,
.section-eyebrow,
.summary-label,
.contact-label {
    display: inline-block;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.hero-kicker {
    color: rgba(255, 255, 255, 0.82);
    margin-bottom: 1rem;
}

.hero-copy h1 {
    font-size: clamp(2.2rem, 4vw, 4.2rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 1.2rem;
}

.hero-copy p {
    color: rgba(255, 255, 255, 0.84);
    font-size: 1.05rem;
    line-height: 1.8;
    margin-bottom: 1.8rem;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
}

.btn-home-primary,
.btn-home-secondary,
.pathway-link {
    border-radius: 999px;
    font-weight: 700;
    padding: 0.8rem 1.3rem;
}

.btn-home-primary {
    background: var(--home-accent);
    border-color: var(--home-accent);
    color: #14302b;
}

.btn-home-primary:hover,
.btn-home-primary:focus {
    background: #f1ae25;
    border-color: #f1ae25;
    color: #14302b;
}

.btn-home-secondary {
    border-color: rgba(255, 255, 255, 0.64);
    color: #fff;
}

.btn-home-secondary:hover,
.btn-home-secondary:focus {
    background: rgba(255, 255, 255, 0.12);
    border-color: #fff;
    color: #fff;
}

.hero-summary-card,
.pathway-card,
.document-card,
.announcement-card,
.help-card,
.schedule-wrapper {
    background: var(--home-surface);
    border: 1px solid rgba(15, 95, 84, 0.08);
    border-radius: 28px;
    box-shadow: var(--home-shadow);
}

.hero-summary-card {
    padding: 1.6rem;
    position: relative;
}

.summary-header {
    align-items: center;
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.summary-logo {
    border-radius: 18px;
    height: 80px;
    object-fit: contain;
    width: 80px;
}

.summary-label {
    color: var(--home-text-muted);
    margin-bottom: 0.35rem;
}

.summary-header h2 {
    color: var(--home-primary-dark);
    font-size: 1.8rem;
    font-weight: 800;
    margin: 0;
}

.summary-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-bottom: 1rem;
}

.summary-item {
    background: var(--home-surface-soft);
    border-radius: 20px;
    padding: 1rem;
}

.summary-number {
    color: var(--home-primary-dark);
    display: block;
    font-size: 1.4rem;
    font-weight: 800;
    margin-bottom: 0.25rem;
}

.summary-item p,
.summary-note,
.section-heading p,
.pathway-card p,
.document-card p,
.announcement-card p,
.help-card p,
.schedule-footer p,
.schedule-activity span {
    color: var(--home-text-muted);
}

.summary-item p,
.summary-note,
.document-card p,
.announcement-card p,
.pathway-card p {
    margin: 0;
}

.pathway-card p {
    margin-bottom: 1.5rem;
}

.summary-note {
    border-top: 1px dashed var(--home-border);
    font-size: 0.95rem;
    padding-top: 1rem;
}

.section-block {
    padding: 4.5rem 0;
}

.section-contrast {
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0), rgba(15, 95, 84, 0.03)),
        #f3f7f5;
}

.intro-section {
    padding-bottom: 1.5rem;
}

.section-heading {
    margin-bottom: 2rem;
    max-width: 760px;
}

.section-heading.text-center {
    margin-left: auto;
    margin-right: auto;
}

.section-eyebrow {
    color: var(--home-primary);
    margin-bottom: 0.75rem;
}

.section-heading h2,
.help-card h2 {
    color: var(--home-primary-dark);
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    letter-spacing: -0.03em;
    margin-bottom: 0.9rem;
}

.section-heading p,
.help-card p {
    font-size: 1rem;
    line-height: 1.75;
}

.pathway-card,
.document-card,
.announcement-card {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding: 1.5rem;
}

.pathway-card-top {
    align-items: flex-start;
    display: flex;
    flex-direction: column;
    gap: 0.9rem;
    margin-bottom: 1rem;
}

.pathway-card h3,
.document-card h3,
.announcement-card h3,
.help-aside h3 {
    color: var(--home-primary-dark);
    font-size: 1.3rem;
    font-weight: 800;
    margin: 0;
}

.announcement-card p {
    margin-bottom: 1.5rem;
}

.pathway-badge {
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.4rem 0.7rem;
}

.pathway-badge-mutasi {
    background: rgba(33, 150, 243, 0.12);
    color: #1d5b95;
}

.pathway-badge-afirmasi {
    background: rgba(40, 167, 69, 0.14);
    color: #1f6a38;
}

.pathway-badge-prestasi {
    background: rgba(245, 185, 64, 0.18);
    color: #855b00;
}

.pathway-badge-zonasi {
    background: rgba(168, 85, 247, 0.14);
    color: #6f2fb0;
}

.pathway-link {
    border-width: 1px;
    display: inline-flex;
    justify-content: center;
    margin-top: auto;
    width: 100%;
}

.schedule-wrapper {
    overflow: hidden;
}

.schedule-table-responsive {
    overflow-x: auto;
}

.schedule-table {
    margin: 0;
    min-width: 920px;
}

.schedule-table thead th {
    background: var(--home-primary-dark);
    border-bottom: 0;
    color: #ffffff;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    padding: 1rem;
    text-transform: uppercase;
}

.schedule-table tbody td {
    border-color: #edf2f0;
    padding: 1rem;
    vertical-align: top;
}

.schedule-activity {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.schedule-activity strong {
    color: var(--home-primary-dark);
}

.schedule-footer {
    align-items: center;
    border-top: 1px solid #edf2f0;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: space-between;
    padding: 1.25rem 1.5rem 1.5rem;
}

.schedule-footer p {
    margin: 0;
}

.document-links {
    display: grid;
    gap: 0.85rem;
    margin-top: 1.3rem;
}

.document-link,
.quick-link {
    align-items: center;
    background: var(--home-surface-soft);
    border: 1px solid transparent;
    border-radius: 18px;
    color: var(--home-text);
    display: flex;
    font-weight: 600;
    justify-content: space-between;
    padding: 0.95rem 1rem;
    transition: all 0.2s ease;
}

.document-link:hover,
.quick-link:hover {
    background: #fff;
    border-color: var(--home-border);
    color: var(--home-primary-dark);
    transform: translateY(-1px);
}

.help-card {
    padding: 2rem;
}

.transparency-section {
    background:
        radial-gradient(circle at top left, rgba(79, 212, 203, 0.1), transparent 24%),
        linear-gradient(180deg, #0f1837, #14214a 60%, #4ddbd0 60%, #4ddbd0 100%);
    overflow: hidden;
    position: relative;
}

.transparency-section::before {
    background-image:
        linear-gradient(rgba(77, 219, 208, 0.08) 1px, transparent 1px),
        linear-gradient(90deg, rgba(77, 219, 208, 0.08) 1px, transparent 1px);
    background-size: 56px 56px;
    content: "";
    inset: 0;
    opacity: 0.55;
    pointer-events: none;
    position: absolute;
}

.transparency-shell {
    position: relative;
    z-index: 1;
}

.transparency-hero {
    align-items: center;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    padding-bottom: 2rem;
    text-align: center;
}

.transparency-partners {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 1.5rem;
    justify-content: center;
    margin-bottom: 1.2rem;
}

.transparency-partner-logo {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 16px;
    height: 112px;
    max-width: 260px;
    object-fit: contain;
    padding: 0.65rem 1rem;
}

.transparency-title-wrap {
    align-items: center;
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 0.75rem;
    text-align: center;
}

.transparency-icon {
    color: #4b74ff;
    font-size: 3rem;
}

.transparency-kicker {
    color: #a9befc;
    display: block;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    margin-bottom: 0.4rem;
    text-transform: uppercase;
}

.transparency-title-wrap > div {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.transparency-hero h2 {
    color: #ffffff;
    font-size: clamp(2.3rem, 6vw, 5rem);
    font-weight: 900;
    letter-spacing: -0.05em;
    line-height: 0.95;
    margin: 0;
    text-transform: uppercase;
}

.transparency-hero p {
    color: #b4c8ff;
    font-size: 1.2rem;
    font-weight: 700;
    margin: 0;
}

.transparency-description {
    color: #dce5ff !important;
    display: block;
    font-size: 1rem !important;
    font-weight: 500 !important;
    line-height: 1.7;
    margin: 0.9rem auto 0;
    max-width: 900px;
    text-align: center;
    width: 100%;
}

.transparency-banner {
    background: rgba(65, 99, 135, 0.88);
    border: 2px solid rgba(178, 211, 255, 0.7);
    border-radius: 18px;
    color: #ffffff;
    font-size: clamp(1rem, 2.4vw, 1.4rem);
    margin: 0 auto 2rem;
    max-width: 1120px;
    padding: 1rem 1.5rem;
    text-align: center;
}

.transparency-board {
    background: rgba(26, 37, 76, 0.88);
    border: 1px solid rgba(180, 200, 255, 0.14);
    border-radius: 28px;
    box-shadow: 0 22px 60px rgba(3, 10, 26, 0.3);
    margin-bottom: 2rem;
    overflow: hidden;
}

.transparency-board-title {
    align-items: center;
    background: #ffffff;
    color: #102247;
    display: flex;
    gap: 1rem;
    padding: 1rem 1.5rem;
}

.transparency-board-title span {
    color: #3047c7;
    font-size: 2rem;
}

.transparency-board-title h3 {
    font-size: clamp(1.4rem, 3vw, 2.3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin: 0;
    text-transform: uppercase;
}

.transparency-list {
    display: grid;
    gap: 1.25rem;
    padding: 1.75rem;
}

.transparency-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(177, 198, 255, 0.1);
    border-radius: 20px;
    padding: 1.25rem 1.25rem 1.35rem;
}

.transparency-item h4 {
    color: #ffffff;
    font-size: 1.7rem;
    font-weight: 400;
    margin: 0 0 0.6rem;
}

.transparency-item p {
    color: #dce5ff;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0;
}

.transparency-footer-card {
    background: #ffffff;
    border-radius: 28px;
    box-shadow: 0 18px 50px rgba(10, 20, 40, 0.18);
    padding: 2rem;
}

.transparency-help {
    position: relative;
}

.transparency-pencil {
    color: #f3bb2d;
    display: inline-flex;
    font-size: 2.7rem;
    margin-bottom: 0.75rem;
    text-shadow: 0 6px 0 rgba(20, 33, 74, 0.16);
}

.transparency-help h3 {
    color: #102247;
    font-size: clamp(1.5rem, 3vw, 2.3rem);
    font-weight: 900;
    letter-spacing: -0.03em;
    margin-bottom: 0.85rem;
}

.transparency-help p {
    color: #41526a;
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.25rem;
}

.transparency-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-bottom: 0.85rem;
}

.transparency-actions .btn-home-secondary {
    border-color: var(--home-primary);
    color: var(--home-primary);
}

.transparency-actions .btn-home-secondary:hover,
.transparency-actions .btn-home-secondary:focus {
    background: rgba(15, 95, 84, 0.08);
    border-color: var(--home-primary);
    color: var(--home-primary-dark);
}

.transparency-url {
    color: #5d6c85;
    display: inline-block;
    font-size: 0.95rem;
    word-break: break-all;
}

.transparency-qr-card {
    align-items: center;
    background: #ffffff;
    border: 12px solid #ffffff;
    border-radius: 28px;
    display: flex;
    justify-content: center;
    margin-left: auto;
    max-width: 320px;
    padding: 0.5rem;
}

.transparency-qr {
    display: block;
    height: auto;
    width: 100%;
}

.contact-grid {
    display: grid;
    gap: 1.25rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    margin-top: 1.5rem;
}

.contact-label {
    color: var(--home-primary);
    margin-bottom: 0.35rem;
}

.contact-grid p {
    margin: 0;
}

.help-aside {
    background: linear-gradient(180deg, rgba(15, 95, 84, 0.08), rgba(15, 95, 84, 0.02));
    border-radius: 24px;
    height: 100%;
    padding: 1.5rem;
}

.help-aside h3 {
    margin-bottom: 1rem;
}

.homepage-footer {
    background: var(--home-primary-dark);
    color: rgba(255, 255, 255, 0.8);
    padding: 1.25rem 0;
}

@media (max-width: 991.98px) {
    .homepage-navbar .container {
        gap: 1rem;
    }

    .brand-text {
        display: none;
    }

    .hero-section {
        padding-top: 4.5rem;
    }

    .transparency-actions {
        display: grid;
    }
}

@media (max-width: 767.98px) {
    .hero-actions,
    .summary-grid,
    .contact-grid,
    .schedule-footer {
        grid-template-columns: 1fr;
    }

    .hero-actions,
    .schedule-footer {
        display: grid;
    }

    .help-card,
    .hero-summary-card,
    .pathway-card,
    .document-card,
    .announcement-card {
        border-radius: 22px;
    }

    .contact-grid {
        display: grid;
    }

    .btn-home-primary,
    .btn-home-secondary,
    .pathway-link {
        width: 100%;
    }

    .transparency-title-wrap {
        align-items: center;
        flex-direction: column;
        text-align: center;
    }

    .transparency-hero {
        text-align: center;
    }

    .transparency-partners {
        justify-content: center;
    }

    .transparency-partner-logo {
        height: 92px;
        max-width: 220px;
    }

    .transparency-board-title {
        align-items: flex-start;
        flex-direction: column;
    }

    .transparency-footer-card {
        padding: 1.5rem;
    }

    .transparency-qr-card {
        margin-left: 0;
        max-width: 100%;
    }
}
