/* ============================================================
   PPM - Public Website Styles
   Mobile-first, Bootstrap 5.3
   ============================================================ */

:root {
    --ppm-primary: #4f46e5;
    --ppm-primary-dark: #3730a3;
    --ppm-primary-light: #eef2ff;
    --ppm-accent: #f59e0b;
    --ppm-accent-dark: #b45309;
    --ppm-ink: #0f172a;
    --ppm-muted: #64748b;
    --ppm-soft: #f8faff;
    --ppm-border: #e5e7eb;
    --ppm-radius: 1rem;
    --ppm-radius-lg: 1.5rem;
    --ppm-shadow: 0 10px 30px rgba(30, 27, 75, .07);
    --ppm-shadow-hover: 0 18px 45px rgba(30, 27, 75, .14);
    --bs-primary: #4f46e5;
    --bs-primary-rgb: 79, 70, 229;
    --bs-link-color: #4f46e5;
    --bs-link-hover-color: #3730a3;
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
    color: var(--ppm-ink);
    background: #fff;
    line-height: 1.7;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6,
.navbar-brand,
.section-title,
.hero-title,
.cta-title,
.footer-title {
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    letter-spacing: -.02em;
}

a {
    text-decoration: none;
    transition: color .2s ease, opacity .2s ease;
}

img {
    max-width: 100%;
}

section[id] {
    scroll-margin-top: 88px;
}

.skip-link {
    position: absolute;
    left: 1rem;
    top: -100px;
    z-index: 2000;
    background: var(--ppm-primary);
    color: #fff;
    padding: .6rem 1rem;
    border-radius: .5rem;
}

.skip-link:focus {
    top: 1rem;
    color: #fff;
}

/* ------------------------------------------------------------
   Bootstrap overrides
   ------------------------------------------------------------ */
.btn {
    border-radius: .75rem;
    font-weight: 500;
    padding: .6rem 1.1rem;
    transition: transform .2s ease, box-shadow .2s ease, background-color .2s ease;
}

.btn:hover {
    transform: translateY(-1px);
}

.btn-primary {
    --bs-btn-bg: var(--ppm-primary);
    --bs-btn-border-color: var(--ppm-primary);
    --bs-btn-hover-bg: var(--ppm-primary-dark);
    --bs-btn-hover-border-color: var(--ppm-primary-dark);
    --bs-btn-active-bg: var(--ppm-primary-dark);
    --bs-btn-active-border-color: var(--ppm-primary-dark);
    --bs-btn-focus-shadow-rgb: 79, 70, 229;
    box-shadow: 0 8px 20px rgba(79, 70, 229, .2);
}

.btn-outline-primary {
    --bs-btn-color: var(--ppm-primary);
    --bs-btn-border-color: var(--ppm-primary);
    --bs-btn-hover-bg: var(--ppm-primary);
    --bs-btn-hover-border-color: var(--ppm-primary);
    --bs-btn-active-bg: var(--ppm-primary);
    --bs-btn-active-border-color: var(--ppm-primary);
}

.btn-warning {
    --bs-btn-bg: var(--ppm-accent);
    --bs-btn-border-color: var(--ppm-accent);
    --bs-btn-hover-bg: #d97706;
    --bs-btn-hover-border-color: #d97706;
    --bs-btn-active-bg: #b45309;
    --bs-btn-active-border-color: #b45309;
}

.text-primary {
    color: var(--ppm-primary) !important;
}

.bg-primary {
    background-color: var(--ppm-primary) !important;
}

.form-control,
.form-select {
    border-radius: .75rem;
    border-color: #dbe1ea;
    padding: .7rem .9rem;
}

.form-control:focus,
.form-select:focus {
    border-color: rgba(79, 70, 229, .55);
    box-shadow: 0 0 0 .25rem rgba(79, 70, 229, .12);
}

.form-label {
    font-weight: 600;
    font-size: .9rem;
    margin-bottom: .45rem;
}

.dropdown-menu {
    --bs-dropdown-link-active-bg: var(--ppm-primary-light);
    --bs-dropdown-link-active-color: var(--ppm-primary-dark);
}

/* ------------------------------------------------------------
   Navbar
   ------------------------------------------------------------ */
.site-navbar {
    min-height: 76px;
    transition: box-shadow .25s ease;
    z-index: 1030;
    background: #0f172a !important;
    box-shadow: 0 4px 24px rgba(15, 23, 42, 0.25);
}

.site-navbar.scrolled {
    box-shadow: 0 6px 30px rgba(30, 27, 75, 0.30);
}

.navbar-brand {
    max-width: 255px;
    font-weight: 700;
    font-size: 1rem;
    line-height: 1.2;
    color: var(--ppm-ink);
}

.brand-icon {
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border-radius: 13px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.3rem;
    background: linear-gradient(135deg, var(--ppm-primary), #7c3aed);
    box-shadow: 0 6px 16px rgba(79, 70, 229, .28);
}

.navbar .nav-link {
    position: relative;
    font-size: .93rem;
    font-weight: 500;
    color: #334155;
    padding: .65rem .8rem !important;
    border-radius: .5rem;
    transition: color .2s ease;
}

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

.navbar .nav-link.active::after {
    content: "";
    position: absolute;
    left: .8rem;
    right: .8rem;
    bottom: .25rem;
    height: 2px;
    border-radius: 2px;
    background: var(--ppm-primary);
}

/* Navbar biru — semua teks putih */
.site-navbar .nav-link {
    color: rgba(255, 255, 255, 0.85) !important;
}
.site-navbar .nav-link:hover,
.site-navbar .nav-link.active {
    color: #fff !important;
}
.site-navbar .nav-link.active::after {
    background: #fff !important;
}
.site-navbar .navbar-brand,
.site-navbar .brand-text {
    color: #fff !important;
}
.site-navbar .dropdown-toggle,
.site-navbar [class*="user-btn"] {
    color: #fff !important;
    border-color: rgba(255,255,255,0.35) !important;
    background: rgba(255,255,255,0.12) !important;
}
.site-navbar .navbar-toggler {
    border-color: rgba(255,255,255,0.35);
    color: #fff;
}
.site-navbar .navbar-toggler-icon {
    filter: invert(1);
}

.navbar-toggler:focus {
    box-shadow: none;
}

.user-name {
    max-width: 150px;
}

.btn-user {
    background: var(--ppm-primary-light);
    color: var(--ppm-primary-dark);
    border: 1px solid #e0e7ff;
    padding: .35rem .65rem .35rem .4rem;
    font-size: .88rem;
}

.user-avatar {
    width: 30px;
    height: 30px;
    flex: 0 0 30px;
    border-radius: 50%;
    background: var(--ppm-primary);
    color: #fff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.flash-container {
    position: relative;
    z-index: 1040;
    margin-top: 1rem;
}

/* ------------------------------------------------------------
   Hero
   ------------------------------------------------------------ */
.hero-section {
    position: relative;
    display: flex;
    align-items: center;
    min-height: 640px;
    padding: clamp(4rem, 9vw, 7rem) 0;
    background-color: #312e81;
    background-image: var(--hero-bg);
    background-size: cover;
    background-position: center;
    overflow: hidden;
}

.hero-section::before {
    content: "";
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 78% 20%, rgba(245, 158, 11, .22), transparent 28%),
        linear-gradient(110deg, rgba(30, 27, 75, .96) 0%, rgba(49, 46, 129, .88) 48%, rgba(79, 70, 229, .66) 100%);
}

.hero-section::after {
    content: "";
    position: absolute;
    width: 420px;
    height: 420px;
    right: -130px;
    bottom: -190px;
    border: 1px solid rgba(255, 255, 255, .18);
    border-radius: 50%;
    box-shadow: 0 0 0 45px rgba(255, 255, 255, .035), 0 0 0 90px rgba(255, 255, 255, .025);
}

.hero-inner {
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: .45rem;
    margin-bottom: 1.15rem;
    padding: .45rem .9rem;
    border: 1px solid rgba(255, 255, 255, .24);
    border-radius: 999px;
    color: #fde68a;
    background: rgba(255, 255, 255, .08);
    backdrop-filter: blur(8px);
    font-size: .82rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.hero-title {
    max-width: 850px;
    margin-bottom: 1.1rem;
    color: #fff;
    font-size: clamp(2.2rem, 5.6vw, 4.15rem);
    font-weight: 800;
    line-height: 1.1;
}

.hero-subtitle {
    max-width: 720px;
    margin-bottom: 0;
    color: rgba(255, 255, 255, .82);
    font-size: clamp(1rem, 1.8vw, 1.14rem);
    line-height: 1.8;
}

.hero-stats {
    margin-top: .5rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: .8rem;
    padding: 1rem;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: var(--ppm-radius);
    color: #fff;
    background: rgba(255, 255, 255, .1);
    backdrop-filter: blur(12px);
}

.stat-icon {
    width: 45px;
    height: 45px;
    flex: 0 0 45px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(245, 158, 11, .22);
    color: #fcd34d;
    font-size: 1.15rem;
}

.stat-number {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 1.45rem;
    font-weight: 700;
    line-height: 1.1;
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, .7);
    font-size: .74rem;
    line-height: 1.35;
}

/* ------------------------------------------------------------
   Sections
   ------------------------------------------------------------ */
.section {
    padding: clamp(3.5rem, 7vw, 5.5rem) 0;
}

.section-soft {
    background: var(--ppm-soft);
}

.section-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
}

.section-heading-center {
    justify-content: center;
    text-align: center;
}

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

.section-heading-compact {
    margin-bottom: 1.2rem;
}

.section-eyebrow {
    display: inline-block;
    margin-bottom: .5rem;
    color: var(--ppm-primary);
    font-size: .77rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.section-title {
    margin-bottom: .55rem;
    font-size: clamp(1.6rem, 3.1vw, 2.35rem);
    font-weight: 700;
    line-height: 1.2;
}

.section-subtitle {
    max-width: 680px;
    margin-bottom: 0;
    color: var(--ppm-muted);
    font-size: .98rem;
}

.content-card {
    border: 1px solid rgba(226, 232, 240, .8);
    border-radius: var(--ppm-radius);
    box-shadow: var(--ppm-shadow);
    overflow: hidden;
    transition: transform .25s ease, box-shadow .25s ease;
}

.content-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ppm-shadow-hover);
}

.card-image-wrap {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: var(--ppm-primary-light);
}

.card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .4s ease;
}

.content-card:hover .card-image {
    transform: scale(1.035);
}

.card-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--ppm-primary);
    background: linear-gradient(135deg, #eef2ff, #e0e7ff);
    font-size: 3rem;
}

.card-badge {
    position: absolute;
    left: .85rem;
    top: .85rem;
    padding: .32rem .7rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--ppm-primary-dark);
    font-size: .72rem;
    font-weight: 700;
    box-shadow: 0 4px 12px rgba(15, 23, 42, .1);
}

.content-card .card-body {
    padding: 1.3rem;
}

.content-card .card-title {
    margin-bottom: .6rem;
    font-weight: 600;
    line-height: 1.4;
}

.content-card .card-title a {
    color: var(--ppm-ink);
}

.content-card .card-title a:hover {
    color: var(--ppm-primary);
}

.card-text {
    color: var(--ppm-muted);
    font-size: .91rem;
    line-height: 1.7;
}

.meta-line {
    display: flex;
    flex-wrap: wrap;
    gap: .45rem 1rem;
    margin-bottom: .7rem;
    color: #7c8799;
    font-size: .77rem;
}

.card-link {
    color: var(--ppm-primary);
    font-size: .88rem;
    font-weight: 600;
}

.soal-card {
    background: #fff;
}

.jenjang-badge {
    display: inline-flex;
    align-items: center;
    padding: .32rem .7rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .04em;
}

.jenjang-sd {
    color: #047857;
    background: #d1fae5;
}

.jenjang-smp {
    color: #1d4ed8;
    background: #dbeafe;
}

.jenjang-sma {
    color: #b45309;
    background: #fef3c7;
}

.download-count {
    color: #7c8799;
    font-size: .75rem;
}

.empty-state {
    padding: 3.5rem 1rem;
    border: 1px dashed #cbd5e1;
    border-radius: var(--ppm-radius);
    text-align: center;
    color: var(--ppm-muted);
    background: rgba(248, 250, 252, .7);
}

.empty-state i {
    display: block;
    margin-bottom: .7rem;
    color: #94a3b8;
    font-size: 2.4rem;
}

.empty-state p {
    margin: 0;
}

/* ------------------------------------------------------------
   Event
   ------------------------------------------------------------ */
.event-card {
    display: flex;
    flex-direction: column;
    border-radius: var(--ppm-radius);
    overflow: hidden;
    background: #fff;
    border: 1px solid rgba(226, 232, 240, .8);
    box-shadow: var(--ppm-shadow);
    transition: transform .25s ease, box-shadow .25s ease;
}

.event-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--ppm-shadow-hover);
}

.event-poster {
    aspect-ratio: 16 / 9;
    background: var(--ppm-primary-light);
    overflow: hidden;
}

.event-poster img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 28%;
}

.event-body {
    padding: 1.4rem;
}

.event-date {
    display: inline-flex;
    align-items: center;
    margin-bottom: .65rem;
    padding: .3rem .65rem;
    border-radius: .5rem;
    color: var(--ppm-accent-dark);
    background: #fffbeb;
    font-size: .77rem;
    font-weight: 700;
}

/* ------------------------------------------------------------
   Partner & testimonial
   ------------------------------------------------------------ */
.partner-card {
    min-height: 112px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border: 1px solid #e7eaf0;
    border-radius: var(--ppm-radius);
    background: #fff;
    box-shadow: 0 5px 18px rgba(15, 23, 42, .04);
    transition: transform .25s ease, box-shadow .25s ease, border-color .25s ease;
}

.partner-card:hover {
    transform: translateY(-3px);
    border-color: #c7d2fe;
    box-shadow: 0 12px 30px rgba(79, 70, 229, .1);
}

.partner-card img {
    max-height: 78px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    filter: saturate(.85);
    transition: filter .25s ease;
}

.partner-card:hover img {
    filter: saturate(1);
}

.partner-placeholder {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--ppm-primary), #7c3aed);
    font-family: "Poppins", sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.testimonial-card {
    position: relative;
    padding: 1.6rem;
    border: 1px solid #e7eaf0;
    border-radius: var(--ppm-radius);
    background: #fff;
    box-shadow: var(--ppm-shadow);
    overflow: hidden;
}

.quote-icon {
    position: absolute;
    top: .65rem;
    right: 1rem;
    color: #e0e7ff;
    font-size: 3.2rem;
    line-height: 1;
}

.testimonial-text {
    position: relative;
    z-index: 1;
    min-height: 96px;
    color: #475569;
    font-size: .93rem;
    font-style: italic;
}

.testimonial-person {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin-top: 1.2rem;
}

.testimonial-avatar {
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--ppm-primary-light);
}

.avatar-fallback {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: var(--ppm-primary);
    font-size: 1.2rem;
}

.testimonial-person strong {
    display: block;
    font-size: .9rem;
}

.testimonial-person span {
    display: block;
    color: var(--ppm-muted);
    font-size: .76rem;
}

/* ------------------------------------------------------------
   Announcement
   ------------------------------------------------------------ */
.announcement-section {
    padding: 2rem 0;
    background: #fffbeb;
    border-bottom: 1px solid #fde68a;
}

.announcement-item {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1rem 1.1rem;
    border: 1px solid #fde68a;
    border-radius: var(--ppm-radius);
    background: #fff;
    box-shadow: 0 4px 16px rgba(180, 83, 9, .05);
}

.announcement-item.is-important {
    border-color: #fcd34d;
    background: #fffdf5;
}

.announcement-item h3 {
    color: #78350f;
}

.announcement-item p {
    color: #854d0e;
    font-size: .88rem;
}

.announcement-icon {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #b45309;
    background: #fef3c7;
    font-size: 1.1rem;
}

/* ------------------------------------------------------------
   CTA
   ------------------------------------------------------------ */
.cta-section {
    padding: 1rem 0 clamp(3rem, 7vw, 5rem);
}

.cta-box {
    position: relative;
    padding: clamp(2rem, 5vw, 3.5rem);
    border-radius: var(--ppm-radius-lg);
    color: #fff;
    background:
        radial-gradient(circle at 90% 20%, rgba(245, 158, 11, .25), transparent 24%),
        linear-gradient(120deg, #312e81, #4f46e5 62%, #6d28d9);
    box-shadow: 0 22px 55px rgba(49, 46, 129, .24);
    overflow: hidden;
}

.cta-box::after {
    content: "";
    display: none;
}

.cta-title {
    position: relative;
    z-index: 1;
    margin-bottom: .65rem;
    font-size: clamp(1.6rem, 3vw, 2.3rem);
    font-weight: 700;
}

.cta-text {
    position: relative;
    z-index: 1;
    max-width: 700px;
    color: rgba(255, 255, 255, .8);
}

.cta-box .btn {
    position: relative;
    z-index: 1;
}

/* ------------------------------------------------------------
   Footer
   ------------------------------------------------------------ */
.site-footer {
    padding: 4rem 0 1.5rem;
    color: #cbd5e1;
    background: #0f172a;
}

.footer-brand {
    color: #fff;
    font-family: "Poppins", sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
}

.footer-brand:hover {
    color: #fff;
}

.footer-desc {
    color: #94a3b8;
    font-size: .88rem;
    line-height: 1.8;
}

.footer-title {
    margin-bottom: 1rem;
    color: #fff;
    font-size: .95rem;
    font-weight: 600;
}

.footer-links,
.footer-contact {
    margin: 0;
    padding: 0;
    list-style: none;
}

.footer-links li {
    margin-bottom: .55rem;
}

.footer-links a,
.footer-contact a {
    color: #94a3b8;
    font-size: .87rem;
}

.footer-links a:hover,
.footer-contact a:hover {
    color: #fbbf24;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: .7rem;
    margin-bottom: .75rem;
    color: #94a3b8;
    font-size: .87rem;
}

.footer-contact i {
    margin-top: .2rem;
    color: #fbbf24;
}

.footer-social a {
    width: 38px;
    height: 38px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 11px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #cbd5e1;
    background: rgba(255, 255, 255, .04);
}

.footer-social a:hover {
    color: #fff;
    border-color: var(--ppm-primary);
    background: var(--ppm-primary);
    transform: translateY(-2px);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 1.25rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
    color: #64748b;
    font-size: .8rem;
}

.wa-float {
    position: fixed;
    right: 1rem;
    bottom: 1rem;
    z-index: 1020;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: #25d366;
    box-shadow: 0 10px 25px rgba(37, 211, 102, .35);
    font-size: 1.55rem;
}

.wa-float:hover {
    color: #fff;
    transform: translateY(-3px) scale(1.03);
}

/* ------------------------------------------------------------
   Page header, forms, lists
   ------------------------------------------------------------ */
.page-hero {
    position: relative;
    padding: clamp(2.5rem, 6vw, 4.5rem) 0;
    background:
        radial-gradient(circle at 90% 15%, rgba(245, 158, 11, .14), transparent 22%),
        linear-gradient(120deg, #eef2ff, #f8faff 60%, #fffbeb);
    border-bottom: 1px solid #eef0f5;
}

.page-hero h1 {
    max-width: 850px;
    margin-bottom: .6rem;
    font-size: clamp(1.8rem, 4vw, 2.8rem);
    font-weight: 700;
}

.page-hero p {
    max-width: 760px;
    margin-bottom: 0;
    color: var(--ppm-muted);
}

.breadcrumb {
    --bs-breadcrumb-divider-color: #94a3b8;
    margin-bottom: .9rem;
    font-size: .8rem;
}

.breadcrumb a {
    color: var(--ppm-primary);
}

.filter-bar {
    padding: 1rem;
    border: 1px solid #e7eaf0;
    border-radius: var(--ppm-radius);
    background: #fff;
    box-shadow: 0 6px 24px rgba(15, 23, 42, .04);
}

.filter-bar .form-control,
.filter-bar .form-select {
    background-color: #f8fafc;
}

.auth-section {
    padding: clamp(2.5rem, 6vw, 5rem) 0;
    background:
        radial-gradient(circle at 10% 10%, rgba(79, 70, 229, .08), transparent 26%),
        radial-gradient(circle at 90% 90%, rgba(245, 158, 11, .1), transparent 25%),
        var(--ppm-soft);
    min-height: calc(100vh - 76px);
}

.auth-card {
    border: 0;
    border-radius: var(--ppm-radius-lg);
    box-shadow: 0 25px 70px rgba(15, 23, 42, .12);
    overflow: hidden;
}

.auth-card .card-body {
    padding: clamp(1.5rem, 4vw, 2.6rem);
}

.auth-icon {
    width: 58px;
    height: 58px;
    border-radius: 17px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--ppm-primary), #7c3aed);
    font-size: 1.45rem;
    box-shadow: 0 10px 24px rgba(79, 70, 229, .25);
}

.auth-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    font-weight: 700;
}

.auth-divider {
    display: flex;
    align-items: center;
    gap: .8rem;
    margin: 1.2rem 0;
    color: #94a3b8;
    font-size: .8rem;
}

.auth-divider::before,
.auth-divider::after {
    content: "";
    height: 1px;
    flex: 1;
    background: #e2e8f0;
}

.info-panel {
    border: 1px solid #e7eaf0;
    border-radius: var(--ppm-radius);
    background: #fff;
    box-shadow: var(--ppm-shadow);
}

.info-panel .card-body {
    padding: 1.4rem;
}

.profile-avatar {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    background: linear-gradient(135deg, var(--ppm-primary), #7c3aed);
    font-size: 1.9rem;
}

.dashboard-stat {
    padding: 1.2rem;
    border: 1px solid #e7eaf0;
    border-radius: var(--ppm-radius);
    background: #fff;
    box-shadow: var(--ppm-shadow);
}

.dashboard-stat i {
    display: inline-flex;
    width: 40px;
    height: 40px;
    align-items: center;
    justify-content: center;
    margin-bottom: .7rem;
    border-radius: 11px;
    color: var(--ppm-primary);
    background: var(--ppm-primary-light);
}

.dashboard-stat strong {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 1.55rem;
    line-height: 1.2;
}

.dashboard-stat span {
    color: var(--ppm-muted);
    font-size: .8rem;
}

.detail-content {
    color: #334155;
    font-size: 1rem;
    line-height: 1.9;
}

.detail-content p {
    margin-bottom: 1.15rem;
}

.article-detail-image {
    width: 100%;
    max-height: 520px;
    object-fit: cover;
    border-radius: var(--ppm-radius);
    box-shadow: var(--ppm-shadow);
}

.sidebar-sticky {
    position: sticky;
    top: 96px;
}

.contact-card {
    height: 100%;
    padding: 1.3rem;
    border: 1px solid #e7eaf0;
    border-radius: var(--ppm-radius);
    background: #fff;
    box-shadow: var(--ppm-shadow);
}

.contact-card .contact-icon {
    width: 45px;
    height: 45px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: .8rem;
    border-radius: 12px;
    color: var(--ppm-primary);
    background: var(--ppm-primary-light);
    font-size: 1.1rem;
}

.pagination {
    --bs-pagination-color: var(--ppm-primary);
    --bs-pagination-hover-color: var(--ppm-primary-dark);
    --bs-pagination-focus-color: var(--ppm-primary-dark);
    --bs-pagination-active-bg: var(--ppm-primary);
    --bs-pagination-active-border-color: var(--ppm-primary);
    --bs-pagination-border-radius: .65rem;
}

.page-link {
    min-width: 38px;
    text-align: center;
    border-radius: .65rem !important;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity .55s ease, transform .55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: none;
}

/* ------------------------------------------------------------
   Responsive
   ------------------------------------------------------------ */
@media (max-width: 991.98px) {
    .navbar-collapse {
        margin-top: .8rem;
        padding: .8rem 0 .4rem;
        border-top: 1px solid #eef0f5;
    }

    .navbar .nav-link {
        padding: .65rem .2rem !important;
    }

    .navbar .nav-link.active::after {
        left: .2rem;
        right: auto;
        width: 28px;
    }

    .auth-actions {
        margin-top: .6rem;
    }

    .section-heading {
        align-items: flex-start;
    }

    .hero-section {
        min-height: auto;
    }

    .stat-card {
        flex-direction: column;
        align-items: flex-start;
        gap: .55rem;
        height: 100%;
        padding: .8rem;
    }

    .stat-icon {
        width: 36px;
        height: 36px;
        flex-basis: 36px;
        font-size: .95rem;
    }

    .stat-number {
        font-size: 1.2rem;
    }
}

@media (max-width: 767.98px) {
    body {
        font-size: .95rem;
    }

    .navbar-brand {
        max-width: 220px;
        font-size: .92rem;
    }

    /* Sembunyikan teks brand di mobile, cukup tampilkan logo/icon */
    .navbar-brand .brand-text {
        display: none !important;
    }

    .brand-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
    }

    .hero-title {
        font-size: clamp(2rem, 9vw, 3rem);
    }

    .hero-subtitle {
        font-size: .96rem;
    }

    .section-heading {
        flex-direction: column;
    }

    .section-heading .btn {
        align-self: flex-start;
    }

    .section-heading-center {
        align-items: center;
    }

    .section-heading-center .btn {
        align-self: center;
    }

    .cta-box .text-lg-end {
        text-align: left !important;
    }

    .testimonial-text {
        min-height: 0;
    }

    .wa-float {
        width: 50px;
        height: 50px;
        right: .8rem;
        bottom: .8rem;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        padding: 3rem 0 3.5rem;
    }

    .hero-stats {
        margin-top: 0;
    }

    .stat-card {
        padding: .7rem;
    }

    .stat-label {
        font-size: .66rem;
    }

    .stat-number {
        font-size: 1.05rem;
    }

    .card-image-wrap {
        aspect-ratio: 16 / 9;
    }

    .event-poster {
        aspect-ratio: 4 / 3;
    }

    .footer-bottom {
        font-size: .72rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }

    *,
    *::before,
    *::after {
        animation-duration: .01ms !important;
        transition-duration: .01ms !important;
    }
}

/* ============================================================
   Badge & Utility
   ============================================================ */
.badge-soft {
    display: inline-flex;
    align-items: center;
    gap: .3rem;
    padding: .3rem .65rem;
    border-radius: 999px;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
}

.badge-soft-primary {
    background: #eef2ff;
    color: #4338ca;
}

.badge-soft-success {
    background: #dcfce7;
    color: #15803d;
}

.badge-soft-warning {
    background: #fef3c7;
    color: #b45309;
}

.badge-soft-danger {
    background: #fee2e2;
    color: #b91c1c;
}

.badge-soft-info {
    background: #e0f2fe;
    color: #0369a1;
}

.badge-soft-secondary {
    background: #f1f5f9;
    color: #475569;
}

/* ============================================================
   Auth Pages
   ============================================================ */
.auth-page {
    background:
        radial-gradient(circle at 10% 20%, rgba(79, 70, 229, .08), transparent 28rem),
        radial-gradient(circle at 90% 80%, rgba(245, 158, 11, .09), transparent 24rem),
        #fff;
}

.auth-section {
    padding: 4rem 0 5rem;
}

.auth-visual {
    position: relative;
    overflow: hidden;
    padding: 3rem;
    border-radius: var(--ppm-radius-lg);
    background:
        linear-gradient(135deg, rgba(79, 70, 229, .96), rgba(55, 48, 163, .96)),
        #4f46e5;
    color: #fff;
    box-shadow: 0 30px 60px rgba(55, 48, 163, .24);
}

.auth-visual::before,
.auth-visual::after {
    content: "";
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}

.auth-visual::before {
    width: 240px;
    height: 240px;
    right: -70px;
    top: -80px;
}

.auth-visual::after {
    width: 180px;
    height: 180px;
    left: -60px;
    bottom: -80px;
}

.auth-visual-login {
    background:
        linear-gradient(135deg, rgba(15, 23, 42, .95), rgba(55, 48, 163, .95)),
        #0f172a;
}

.auth-visual > * {
    position: relative;
    z-index: 1;
}

.auth-visual-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin-bottom: 1.4rem;
    border-radius: 1.2rem;
    background: rgba(255, 255, 255, .16);
    font-size: 1.8rem;
    backdrop-filter: blur(8px);
}

.auth-visual h1 {
    font-size: clamp(2rem, 3vw, 2.7rem);
    font-weight: 700;
    margin-bottom: .9rem;
}

.auth-visual p {
    max-width: 34rem;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, .82);
}

.auth-benefits {
    display: grid;
    gap: .75rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.auth-benefits li {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    font-weight: 500;
}

.auth-benefits i {
    color: #fbbf24;
    font-size: 1.05rem;
    line-height: 1.7;
}

.auth-card {
    padding: 2rem;
    border: 1px solid rgba(229, 231, 235, .9);
    border-radius: var(--ppm-radius-lg);
    background: #fff;
    box-shadow: 0 24px 55px rgba(30, 27, 75, .1);
}

.auth-card-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 54px;
    height: 54px;
    margin-bottom: .8rem;
    border-radius: 1rem;
    background: var(--ppm-primary-light);
    color: var(--ppm-primary);
    font-size: 1.45rem;
}

.auth-card h2 {
    font-size: 1.55rem;
    font-weight: 700;
    margin-bottom: .3rem;
}

.auth-card .form-label {
    font-size: .82rem;
    font-weight: 600;
    color: #334155;
}

.input-icon-wrap {
    position: relative;
}

.input-icon-wrap > i {
    position: absolute;
    left: 1rem;
    top: 50%;
    z-index: 2;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: .95rem;
    pointer-events: none;
}

.input-icon-wrap > .form-control {
    padding-left: 2.65rem;
}

.input-icon-wrap > .form-control:has(+ .password-toggle) {
    padding-right: 2.8rem;
}

.password-toggle {
    position: absolute;
    right: .55rem;
    top: 50%;
    transform: translateY(-50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 2rem;
    height: 2rem;
    border: 0;
    border-radius: .5rem;
    background: transparent;
    color: #64748b;
}

.password-toggle:hover {
    background: #f1f5f9;
    color: var(--ppm-primary);
}

.auth-footer-note {
    display: flex;
    align-items: flex-start;
    gap: .5rem;
    margin-top: 1.4rem;
    padding-top: 1.1rem;
    border-top: 1px solid var(--ppm-border);
    color: var(--ppm-muted);
    font-size: .78rem;
}

.auth-footer-note i {
    color: #16a34a;
    font-size: 1rem;
}

.demo-login-box {
    margin-top: 1.4rem;
    padding: 1rem 1.1rem;
    border: 1px dashed rgba(79, 70, 229, .35);
    border-radius: var(--ppm-radius);
    background: linear-gradient(135deg, rgba(79, 70, 229, .07), rgba(14, 165, 233, .07));
}

.demo-login-head {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: .5rem;
    margin-bottom: .6rem;
}

.demo-login-badge {
    display: inline-flex;
    align-items: center;
    gap: .35rem;
    padding: .3rem .6rem;
    border-radius: 999px;
    background: var(--ppm-primary);
    color: #fff;
    font-size: .72rem;
    font-weight: 600;
    letter-spacing: .02em;
}

.demo-login-hint {
    color: var(--ppm-muted);
    font-size: .72rem;
}

.demo-login-box p {
    margin-bottom: .25rem;
    color: #475569;
    font-size: .8rem;
}

.demo-login-box code {
    padding: .1rem .35rem;
    border-radius: .35rem;
    background: #fff;
    color: var(--ppm-primary);
    font-size: .78rem;
}

/* ============================================================
   User Dashboard & Profile
   ============================================================ */
.user-page {
    background: #f7f8fc;
}

.dashboard-section {
    padding: 2.5rem 0 5rem;
}

.dashboard-hero {
    position: relative;
    overflow: hidden;
    padding: 2rem;
    margin-bottom: 1.5rem;
    border-radius: var(--ppm-radius-lg);
    background: linear-gradient(135deg, #3730a3, #4f46e5 58%, #6366f1);
    color: #fff;
    box-shadow: 0 22px 50px rgba(55, 48, 163, .22);
}

.dashboard-hero::after {
    content: "";
    position: absolute;
    width: 280px;
    height: 280px;
    right: -80px;
    bottom: -150px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .1);
}

.dashboard-hero > * {
    position: relative;
    z-index: 1;
}

.dashboard-hero h1 {
    margin-bottom: .35rem;
    font-size: clamp(1.65rem, 3vw, 2.35rem);
    font-weight: 700;
}

.dashboard-hero p {
    margin-bottom: 0;
    color: rgba(255, 255, 255, .8);
}

.dashboard-eyebrow {
    display: inline-block;
    margin-bottom: .35rem;
    color: #fbbf24;
    font-size: .72rem;
    font-weight: 700;
    letter-spacing: .12em;
    text-transform: uppercase;
}

.dashboard-avatar {
    width: 86px;
    height: 86px;
    flex: 0 0 86px;
    border: 4px solid rgba(255, 255, 255, .35);
    border-radius: 50%;
    background: #fff;
    object-fit: cover;
}

.dashboard-stat {
    display: flex;
    align-items: center;
    gap: .85rem;
    height: 100%;
    padding: 1.1rem;
    border: 1px solid var(--ppm-border);
    border-radius: var(--ppm-radius);
    background: #fff;
    box-shadow: 0 8px 24px rgba(30, 27, 75, .05);
}

.dashboard-stat-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    flex: 0 0 46px;
    border-radius: .9rem;
    font-size: 1.25rem;
}

.dashboard-stat strong {
    display: block;
    font-family: "Poppins", sans-serif;
    font-size: 1.35rem;
    line-height: 1.15;
}

.dashboard-stat span:last-child {
    display: block;
    color: var(--ppm-muted);
    font-size: .75rem;
    line-height: 1.35;
}

.dashboard-card {
    padding: 1.4rem;
    border: 1px solid var(--ppm-border);
    border-radius: var(--ppm-radius);
    background: #fff;
    box-shadow: 0 10px 30px rgba(30, 27, 75, .05);
}

.dashboard-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.dashboard-card-head h2 {
    display: flex;
    align-items: center;
    margin: 0;
    font-size: .98rem;
    font-weight: 700;
}

.dashboard-card-head h2 i {
    color: var(--ppm-primary);
}

.dashboard-table thead th {
    padding-top: .5rem;
    padding-bottom: .5rem;
    border-bottom-color: var(--ppm-border);
    color: var(--ppm-muted);
    font-size: .7rem;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
}

.dashboard-table tbody td {
    padding-top: .8rem;
    padding-bottom: .8rem;
    border-bottom-color: #f1f5f9;
}

.dashboard-table tbody tr:last-child td {
    border-bottom: 0;
}

.dashboard-empty {
    padding: 2.5rem 1rem;
    text-align: center;
}

.dashboard-empty > i {
    display: block;
    margin-bottom: .6rem;
    color: #cbd5e1;
    font-size: 2.5rem;
}

.dashboard-empty h3 {
    font-size: 1rem;
    font-weight: 700;
}

.dashboard-empty p {
    max-width: 26rem;
    margin: 0 auto .9rem;
    color: var(--ppm-muted);
    font-size: .85rem;
}

.dashboard-profile-list {
    display: grid;
    gap: .65rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dashboard-profile-list li {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 1rem;
    padding-bottom: .65rem;
    border-bottom: 1px solid #f1f5f9;
    font-size: .82rem;
}

.dashboard-profile-list li:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.dashboard-profile-list span {
    color: var(--ppm-muted);
}

.dashboard-profile-list strong {
    max-width: 65%;
    font-weight: 600;
    text-align: right;
    overflow-wrap: anywhere;
}

.dashboard-article-list {
    display: grid;
    gap: .85rem;
    margin: 0;
    padding: 0;
    list-style: none;
}

.dashboard-article-list a {
    display: grid;
    gap: .15rem;
    padding-bottom: .85rem;
    border-bottom: 1px solid #f1f5f9;
    color: var(--ppm-ink);
}

.dashboard-article-list li:last-child a {
    padding-bottom: 0;
    border-bottom: 0;
}

.dashboard-article-list a:hover strong {
    color: var(--ppm-primary);
}

.dashboard-article-list strong {
    font-size: .82rem;
    font-weight: 600;
    line-height: 1.45;
    transition: color .2s ease;
}

.dashboard-article-cat {
    color: var(--ppm-primary);
    font-size: .66rem;
    font-weight: 700;
    letter-spacing: .05em;
    text-transform: uppercase;
}

.profile-hero {
    background: linear-gradient(135deg, #0f172a, #3730a3 60%, #4f46e5);
}

.profile-preview {
    width: 72px;
    height: 72px;
    border: 1px solid var(--ppm-border);
    border-radius: 50%;
    background: #f8fafc;
    object-fit: cover;
}

.profile-tip {
    display: flex;
    align-items: flex-start;
    gap: .6rem;
    padding: .9rem;
    border-radius: .8rem;
    background: #f0fdf4;
    color: #166534;
}

.profile-tip i {
    font-size: 1.05rem;
    line-height: 1.5;
}

.profile-tip p {
    margin: 0;
    font-size: .76rem;
    line-height: 1.5;
}

@media (max-width: 991.98px) {
    .auth-section {
        padding: 3rem 0 4rem;
    }

    .auth-card {
        padding: 1.5rem;
    }
}

@media (max-width: 575.98px) {
    .dashboard-section {
        padding: 1.5rem 0 3.5rem;
    }

    .dashboard-hero {
        padding: 1.4rem;
    }

    .dashboard-avatar {
        width: 70px;
        height: 70px;
        flex-basis: 70px;
    }

    .dashboard-stat {
        align-items: flex-start;
        padding: .9rem;
    }

    .dashboard-stat-icon {
        width: 38px;
        height: 38px;
        flex-basis: 38px;
        font-size: 1rem;
    }

    .dashboard-stat strong {
        font-size: 1.1rem;
    }

    .auth-card {
        padding: 1.25rem;
    }
}

/* ============================================================
   Public Detail & Partner Pages
   ============================================================ */
.article-content {
    color: #334155;
    font-size: 1.02rem;
    line-height: 1.9;
    overflow-wrap: anywhere;
}

.article-content:first-letter {
    color: var(--ppm-primary-dark);
}

.event-poster {
    position: relative;
}

.partner-page-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    height: 100%;
    padding: 1.5rem 1.25rem 1.25rem;
    border: 1.5px solid #e7eaf0;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 4px 20px rgba(15, 23, 42, .05);
    text-align: center;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease;
}

.partner-page-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 36px rgba(79, 70, 229, .12);
    border-color: var(--ppm-primary);
}

.partner-page-card .partner-card {
    width: 100%;
    min-height: 130px;
    border: 0;
    box-shadow: none;
    background: #f4f6ff;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: .75rem;
    transition: background .22s;
}

.partner-page-card:hover .partner-card,
.partner-page-card .partner-card:hover {
    transform: none;
    box-shadow: none;
    background: #eaedff;
}

.partner-page-card .partner-card img {
    max-height: 90px;
    width: auto;
    max-width: 100%;
    object-fit: contain;
}

.partner-page-name {
    margin: .9rem 0 .2rem;
    font-size: .92rem;
    font-weight: 700;
    color: var(--ppm-dark);
    line-height: 1.4;
}

.partner-page-link {
    color: var(--ppm-muted);
    font-size: .78rem;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    transition: color .15s;
}

.partner-page-link:hover {
    color: var(--ppm-primary);
    text-decoration: underline;
}

.partner-page-link.text-danger:hover {
    color: #b91c1c !important;
}

/* ------------------------------------------------------------
   Logo brand berupa gambar (dari Settings > Brand & SEO)
   ------------------------------------------------------------ */
.brand-icon.has-image {
    width: auto;
    flex: 0 0 auto;
    border-radius: 0;
    background: transparent;
    box-shadow: none;
}

.brand-icon.has-image img {
    display: block;
    height: 42px;
    width: auto;
    max-width: 150px;
    object-fit: contain;
}

/* Footer berlatar gelap: logo diberi alas putih agar tetap terbaca */
.site-footer .brand-icon.has-image {
    padding: 6px 8px;
    border-radius: 10px;
    background: #fff;
}

.site-footer .brand-icon.has-image img {
    height: 36px;
}

@media (max-width: 575.98px) {
    .brand-icon.has-image img {
        height: 36px;
        max-width: 120px;
    }
}

/* ------------------------------------------------------------
   Input rating bintang (halaman Testimoni Saya)
   ------------------------------------------------------------ */
.star-input {
    display: inline-flex;
    flex-direction: row-reverse;
    gap: .25rem;
}

.star-input input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.star-input label {
    cursor: pointer;
    color: #d6d6e0;
    font-size: 1.75rem;
    line-height: 1;
    transition: color .15s ease, transform .15s ease;
}

.star-input label:hover,
.star-input label:hover ~ label,
.star-input input:checked ~ label {
    color: #f59e0b;
}

.star-input label:hover {
    transform: scale(1.1);
}

.star-input input:focus-visible + label {
    outline: 2px solid var(--ppm-primary);
    outline-offset: 2px;
    border-radius: 4px;
}

/* ------------------------------------------------------------
   Ajakan menulis testimoni (halaman utama)
   ------------------------------------------------------------ */
.testimonial-cta {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    max-width: 760px;
    margin: 2.5rem auto 0;
    padding: 1.1rem 1.25rem;
    border: 1px solid #e9e9ef;
    border-radius: 14px;
    background: #fff;
}

.testimonial-cta strong {
    display: block;
    color: var(--ppm-ink);
    font-size: 1rem;
}

.testimonial-cta span {
    color: var(--ppm-muted);
    font-size: .9rem;
}

.testimonial-cta .btn {
    border-radius: 10px;
    font-weight: 600;
}

@media (max-width: 575.98px) {
    .testimonial-cta .btn {
        width: 100%;
    }
}

/* ============================================================
   Background Enhancement - Lebih Menarik dari Polos Putih
   ============================================================ */

/* Body: subtle dot pattern biru muda */
body {
    background-color: #f6f8ff;
    background-image:
        radial-gradient(circle at 1px 1px, rgba(99, 102, 241, .08) 1px, transparent 0);
    background-size: 28px 28px;
}

/* Section putih biasa -> soft blue-tinted background */
.section {
    background: linear-gradient(180deg, #f6f8ff 0%, #eef2ff 100%);
}

/* Section-soft -> warna biru muda yang lebih tegas */
.section-soft {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(99, 102, 241, .06) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 20%, rgba(165, 180, 252, .08) 0%, transparent 45%),
        linear-gradient(180deg, #eef2ff 0%, #e8edff 100%);
}

/* Section artikel: wave pattern tipis */
#konten-terbaru {
    background:
        radial-gradient(circle at 5% 80%, rgba(79, 70, 229, .05) 0%, transparent 35%),
        radial-gradient(circle at 95% 20%, rgba(245, 158, 11, .05) 0%, transparent 30%),
        linear-gradient(160deg, #f6f8ff 0%, #eef2ff 60%, #f0f4ff 100%);
    position: relative;
}

#konten-terbaru::before {
    content: "";
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(135deg, rgba(99, 102, 241, .03) 25%, transparent 25%),
        linear-gradient(225deg, rgba(99, 102, 241, .03) 25%, transparent 25%),
        linear-gradient(315deg, rgba(99, 102, 241, .03) 25%, transparent 25%),
        linear-gradient(45deg, rgba(99, 102, 241, .03) 25%, transparent 25%);
    background-size: 48px 48px;
    pointer-events: none;
}

/* Section soal: biru sedikit lebih gelap */
#soal {
    background:
        radial-gradient(circle at 90% 10%, rgba(79, 70, 229, .07) 0%, transparent 35%),
        linear-gradient(180deg, #e8edff 0%, #dde5ff 100%);
}

/* Section event: putih bersih dengan border atas */
#event {
    background:
        radial-gradient(circle at 10% 90%, rgba(245, 158, 11, .06) 0%, transparent 35%),
        radial-gradient(circle at 85% 15%, rgba(79, 70, 229, .06) 0%, transparent 30%),
        linear-gradient(160deg, #f6f8ff 0%, #eef2ff 100%);
    border-top: 2px solid rgba(99, 102, 241, .08);
    border-bottom: 2px solid rgba(99, 102, 241, .08);
}

/* Section partner */
#partner {
    background:
        radial-gradient(ellipse at 50% 0%, rgba(99, 102, 241, .1) 0%, transparent 55%),
        linear-gradient(180deg, #e8edff 0%, #dde5ff 100%);
}

/* Section testimoni: warna hangat sedikit */
#testimoni {
    background:
        radial-gradient(circle at 20% 30%, rgba(245, 158, 11, .06) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(79, 70, 229, .06) 0%, transparent 40%),
        linear-gradient(160deg, #f6f8ff 0%, #eef2ff 100%);
}

/* Card jadi lebih kontras di atas background berwarna */
.content-card,
.event-card,
.dashboard-card,
.testimonial-card,
.soal-card {
    background: #ffffff;
    box-shadow: 0 4px 20px rgba(79, 70, 229, .08), 0 1px 4px rgba(0, 0, 0, .04);
}

.content-card:hover,
.event-card:hover {
    box-shadow: 0 16px 48px rgba(79, 70, 229, .14), 0 4px 12px rgba(0, 0, 0, .06);
}

/* Page-hero: biru gradient lebih vivid */
.page-hero {
    background:
        radial-gradient(ellipse at 80% 0%, rgba(99, 102, 241, .18) 0%, transparent 45%),
        radial-gradient(ellipse at 20% 100%, rgba(245, 158, 11, .1) 0%, transparent 35%),
        linear-gradient(135deg, #e0e7ff 0%, #eef2ff 50%, #f0f4ff 100%);
    border-bottom: 1px solid rgba(99, 102, 241, .15);
}

/* Halaman user/pengguna juga ikut */
.user-page {
    background:
        radial-gradient(circle at 1px 1px, rgba(99, 102, 241, .07) 1px, transparent 0),
        #eef2ff;
    background-size: 28px 28px, auto;
}

/* Auth section */
.auth-section {
    background:
        radial-gradient(circle at 10% 10%, rgba(79, 70, 229, .1), transparent 26rem),
        radial-gradient(circle at 90% 90%, rgba(245, 158, 11, .09), transparent 24rem),
        linear-gradient(160deg, #eef2ff 0%, #f6f8ff 100%);
}

/* Announcement section */
.announcement-section {
    background:
        radial-gradient(circle at 90% 50%, rgba(245, 158, 11, .08) 0%, transparent 40%),
        #fffbeb;
}

/* Soal/card di list halaman */
.filter-bar {
    background: #ffffff;
    border-color: rgba(99, 102, 241, .15);
    box-shadow: 0 4px 20px rgba(79, 70, 229, .07);
}

/* Partner card di halaman public */
.partner-page-card {
    background: #ffffff;
    border-color: rgba(99, 102, 241, .12);
    box-shadow: 0 4px 20px rgba(79, 70, 229, .07);
}

.partner-page-card:hover {
    box-shadow: 0 16px 40px rgba(79, 70, 229, .15);
    border-color: var(--ppm-primary);
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider-wrap {
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.28), 0 8px 24px rgba(0, 0, 0, 0.16);
    position: relative;
}

.hero-slider-img {
    width: 100%;
    display: block;
    max-height: 420px;
    object-fit: contain;
}

.hero-slider-wrap .carousel-caption {
    background: linear-gradient(to top, rgba(0,0,0,0.55), transparent);
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1rem 1rem 0.75rem;
    border-radius: 0;
    text-align: left;
}

.hero-slider-indicators {
    bottom: 8px;
    margin: 0;
    justify-content: center;
    gap: 4px;
}

.hero-slider-indicators [data-bs-target] {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.5);
    border: none;
    opacity: 1;
    transition: background-color 0.3s ease, transform 0.3s ease;
}

.hero-slider-indicators .active {
    background-color: #fff;
    transform: scale(1.3);
}

.hero-slider-wrap .carousel-control-prev,
.hero-slider-wrap .carousel-control-next {
    width: 40px;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.hero-slider-wrap:hover .carousel-control-prev,
.hero-slider-wrap:hover .carousel-control-next {
    opacity: 0.8;
}

.hero-slider-wrap .carousel-control-prev-icon,
.hero-slider-wrap .carousel-control-next-icon {
    width: 32px;
    height: 32px;
    background-color: rgba(0,0,0,0.4);
    border-radius: 50%;
    background-size: 50%;
}
