/* ============================================
   DPRD KABUPATEN SUKABUMI - CSS UTAMA
   ============================================ */

:root {
    --dprd-primary: #1a3a5c;
    --dprd-secondary: #c0392b;
    --dprd-accent: #f39c12;
    --dprd-light: #f8f9fa;
    --dprd-dark: #0d1f2d;
}

* { box-sizing: border-box; }

body {
    font-family: 'Poppins', sans-serif;
    color: #333;
    line-height: 1.7;
}

/* Color Utilities */
.bg-dprd-dark { background-color: var(--dprd-dark) !important; }
.bg-dprd-primary { background-color: var(--dprd-primary) !important; }
.text-dprd { color: var(--dprd-primary) !important; }
.text-warning { color: var(--dprd-accent) !important; }

/* ============ TOPBAR ============ */
.topbar { font-size: 0.78rem; }
.topbar a { text-decoration: none; opacity: 0.85; transition: opacity .2s; }
.topbar a:hover { opacity: 1; }

/* ============ NAVBAR ============ */
#mainNav {
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--dprd-secondary);
}
#mainNav.scrolled { box-shadow: 0 4px 20px rgba(0,0,0,.12) !important; }
#mainNav .nav-link {
    font-weight: 500;
    font-size: 0.875rem;
    color: var(--dprd-dark) !important;
    padding: 0.6rem 0.9rem !important;
    transition: color .2s;
    position: relative;
}
#mainNav .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 2px;
    background: var(--dprd-secondary);
    transition: all .3s;
}
#mainNav .nav-link:hover::after,
#mainNav .nav-link.active::after { left: 0.9rem; right: 0.9rem; }
#mainNav .nav-link:hover,
#mainNav .nav-link.active { color: var(--dprd-secondary) !important; }

.dropdown-menu { border: none; box-shadow: 0 10px 40px rgba(0,0,0,.12); border-radius: 8px; }
.dropdown-menu-lg { min-width: 320px; max-height: 80vh; overflow-y: auto; }
.dropdown-item { font-size: 0.85rem; padding: 0.4rem 1.2rem; transition: all .2s; }
.dropdown-item:hover { background-color: var(--dprd-primary); color: #fff !important; padding-left: 1.5rem; }
.dropdown-header { color: var(--dprd-secondary); font-weight: 700; font-size: 0.75rem; text-transform: uppercase; letter-spacing: .5px; }

/* ============ HERO SLIDER ============ */
.hero-slider { position: relative; }
.hero-slide {
    height: 550px;
    background: linear-gradient(135deg, var(--dprd-dark) 0%, var(--dprd-primary) 100%);
    display: flex !important;
    align-items: center;
    position: relative;
    overflow: hidden;
}
.hero-slide::before {
    content: '';
    position: absolute; inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}
.hero-content { position: relative; z-index: 2; }
.hero-badge {
    display: inline-block;
    background: var(--dprd-secondary);
    color: white;
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}
.hero-title { font-size: 2.5rem; font-weight: 700; color: white; line-height: 1.2; }
.hero-title span { color: var(--dprd-accent); }
.hero-desc { color: rgba(255,255,255,0.85); font-size: 1rem; margin-bottom: 1.5rem; }
.swiper-pagination-bullet-active { background: var(--dprd-accent) !important; }
.swiper-button-next, .swiper-button-prev { color: white !important; }

/* ============ SECTION HEADERS ============ */
.section-header { margin-bottom: 2.5rem; }
.section-label {
    display: inline-block;
    background: var(--dprd-secondary);
    color: white;
    padding: 3px 14px;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}
.section-title { font-size: 1.8rem; font-weight: 700; color: var(--dprd-dark); margin-bottom: 0; }
.section-divider {
    width: 50px; height: 4px;
    background: linear-gradient(90deg, var(--dprd-secondary), var(--dprd-accent));
    border-radius: 2px;
    margin-top: 0.75rem;
}

/* ============ BERITA CARDS ============ */
.card-berita {
    border: none;
    border-radius: 12px;
    overflow: hidden;
    transition: transform .3s, box-shadow .3s;
    height: 100%;
    box-shadow: 0 2px 15px rgba(0,0,0,.07);
}
.card-berita:hover { transform: translateY(-5px); box-shadow: 0 15px 40px rgba(0,0,0,.12); }
.card-berita .card-img-wrapper {
    position: relative;
    overflow: hidden;
    height: 200px;
}
.card-berita .card-img-wrapper img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform .4s;
}
.card-berita:hover .card-img-wrapper img { transform: scale(1.06); }
.card-berita .card-category {
    position: absolute;
    top: 10px; left: 10px;
    background: var(--dprd-secondary);
    color: white;
    padding: 2px 10px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}
.card-berita .card-body { padding: 1.2rem; }
.card-berita .card-title { font-size: 0.9rem; font-weight: 600; line-height: 1.5; }
.card-berita .card-title a { color: var(--dprd-dark); text-decoration: none; transition: color .2s; }
.card-berita .card-title a:hover { color: var(--dprd-secondary); }
.card-berita .card-meta { font-size: 0.75rem; color: #888; }

/* ============ BERITA UTAMA (FEATURED) ============ */
.berita-featured {
    border-radius: 12px;
    overflow: hidden;
    position: relative;
    height: 400px;
}
.berita-featured img {
    width: 100%; height: 100%;
    object-fit: cover;
}
.berita-featured .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.85) 0%, transparent 50%);
}
.berita-featured .content {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 1.5rem;
    color: white;
}
.berita-featured .content h3 { font-size: 1.1rem; font-weight: 700; }
.berita-featured .content a { color: white; text-decoration: none; }
.berita-featured .content a:hover { color: var(--dprd-accent); }

/* ============ AGENDA ============ */
.agenda-item {
    padding: 1rem;
    border-left: 3px solid var(--dprd-secondary);
    margin-bottom: 1rem;
    background: #fff;
    border-radius: 0 8px 8px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,.05);
    transition: all .3s;
}
.agenda-item:hover { border-left-color: var(--dprd-accent); transform: translateX(4px); }
.agenda-date { font-size: 0.75rem; color: var(--dprd-secondary); font-weight: 600; }
.agenda-title { font-size: 0.875rem; font-weight: 600; color: var(--dprd-dark); margin: 0.25rem 0; }
.agenda-location { font-size: 0.75rem; color: #888; }

/* ============ GALERI ============ */
.galeri-item {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    cursor: pointer;
}
.galeri-item img {
    width: 100%; height: 200px;
    object-fit: cover;
    transition: transform .4s;
}
.galeri-item:hover img { transform: scale(1.1); }
.galeri-item .galeri-overlay {
    position: absolute;
    inset: 0;
    background: rgba(26, 58, 92, 0.85);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity .3s;
    color: white;
    text-align: center;
    padding: 1rem;
}
.galeri-item:hover .galeri-overlay { opacity: 1; }
.galeri-overlay h6 { font-size: 0.85rem; font-weight: 600; margin-bottom: 0.5rem; }

/* ============ STATS COUNTER ============ */
.stats-section { background: linear-gradient(135deg, var(--dprd-primary), var(--dprd-dark)); }
.stat-item { text-align: center; padding: 2rem 1rem; }
.stat-number { font-size: 2.5rem; font-weight: 700; color: var(--dprd-accent); }
.stat-label { color: rgba(255,255,255,.8); font-size: 0.875rem; margin-top: 0.25rem; }
.stat-icon { font-size: 2rem; color: rgba(255,255,255,.3); margin-bottom: 0.5rem; }

/* ============ PIMPINAN CARDS ============ */
.pimpinan-card {
    text-align: center;
    padding: 1.5rem;
    border-radius: 12px;
    background: white;
    box-shadow: 0 4px 20px rgba(0,0,0,.08);
    transition: transform .3s;
}
.pimpinan-card:hover { transform: translateY(-5px); }
.pimpinan-card img {
    width: 120px; height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--dprd-accent);
    margin-bottom: 1rem;
}
.pimpinan-card .avatar-placeholder {
    width: 120px; height: 120px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--dprd-primary), var(--dprd-secondary));
    display: flex; align-items: center; justify-content: center;
    margin: 0 auto 1rem;
    border: 4px solid var(--dprd-accent);
    font-size: 2.5rem;
    color: white;
}
.pimpinan-jabatan { color: var(--dprd-secondary); font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .5px; }
.pimpinan-nama { font-weight: 700; font-size: 0.95rem; color: var(--dprd-dark); }
.pimpinan-partai { color: #888; font-size: 0.8rem; }

/* ============ PENGUMUMAN ============ */
.pengumuman-item {
    padding: 1rem 1.2rem;
    border-bottom: 1px solid #eee;
    transition: background .2s;
}
.pengumuman-item:hover { background: #f8f9fa; }
.pengumuman-item:last-child { border-bottom: none; }
.pengumuman-item h6 { font-size: 0.875rem; font-weight: 600; margin-bottom: 0.25rem; }
.pengumuman-item h6 a { color: var(--dprd-dark); text-decoration: none; }
.pengumuman-item h6 a:hover { color: var(--dprd-secondary); }

/* ============ LAYANAN CARDS ============ */
.layanan-card {
    border-radius: 12px;
    padding: 2rem 1.5rem;
    text-align: center;
    color: white;
    transition: transform .3s;
    text-decoration: none !important;
    display: block;
}
.layanan-card:hover { transform: translateY(-5px); color: white; }
.layanan-card .icon { font-size: 2.5rem; margin-bottom: 1rem; }
.layanan-card h5 { font-size: 1rem; font-weight: 700; }

/* ============ PAGE HEADER ============ */
.page-header {
    background: linear-gradient(135deg, var(--dprd-dark) 0%, var(--dprd-primary) 100%);
    padding: 3rem 0;
    color: white;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 400px; height: 400px;
    background: rgba(255,255,255,.03);
    border-radius: 50%;
}
.page-header h1 { font-size: 2rem; font-weight: 700; margin: 0; }
.breadcrumb-item { font-size: 0.85rem; }
.breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.5); }
.breadcrumb-item.active { color: var(--dprd-accent); }
.breadcrumb-item a { color: rgba(255,255,255,.8); text-decoration: none; }

/* ============ FOOTER ============ */
.footer-link {
    color: rgba(255,255,255,.7);
    text-decoration: none;
    font-size: 0.875rem;
    display: block;
    padding: 0.2rem 0;
    transition: all .2s;
}
.footer-link:hover { color: var(--dprd-accent); padding-left: 5px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.05); }

/* ============ BACK TO TOP ============ */
.back-to-top {
    position: fixed;
    bottom: 25px; right: 25px;
    width: 42px; height: 42px;
    background: var(--dprd-secondary);
    color: white;
    border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    text-decoration: none;
    opacity: 0;
    visibility: hidden;
    transition: all .3s;
    z-index: 999;
    box-shadow: 0 4px 15px rgba(192,57,43,.4);
}
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--dprd-primary); color: white; transform: translateY(-3px); }

/* ============ BADGES ============ */
.badge-dprd { background-color: var(--dprd-primary); }
.badge-secondary { background-color: var(--dprd-secondary) !important; }

/* ============ BUTTONS ============ */
.btn-dprd {
    background: var(--dprd-primary);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all .3s;
}
.btn-dprd:hover { background: var(--dprd-secondary); color: white; transform: translateY(-2px); }
.btn-dprd-secondary {
    background: var(--dprd-secondary);
    color: white;
    border: none;
    border-radius: 6px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    transition: all .3s;
}
.btn-dprd-secondary:hover { background: var(--dprd-primary); color: white; }
.btn-outline-dprd {
    border: 2px solid var(--dprd-primary);
    color: var(--dprd-primary);
    border-radius: 6px;
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    font-size: 0.875rem;
    background: transparent;
    transition: all .3s;
}
.btn-outline-dprd:hover { background: var(--dprd-primary); color: white; }

/* ============ BERITA TERKINI SIDEBAR ============ */
.berita-list-item {
    display: flex;
    gap: 0.75rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid #eee;
    text-decoration: none;
    transition: background .2s;
}
.berita-list-item:last-child { border-bottom: none; }
.berita-list-item img {
    width: 70px; height: 55px;
    object-fit: cover;
    border-radius: 6px;
    flex-shrink: 0;
}
.berita-list-item .info h6 {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--dprd-dark);
    margin-bottom: 0.2rem;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.berita-list-item .info span { font-size: 0.72rem; color: #888; }
.berita-list-item:hover .info h6 { color: var(--dprd-secondary); }

/* ============ ALERT / NOTIFICATION ============ */
.alert-dprd {
    background: linear-gradient(90deg, var(--dprd-primary), var(--dprd-secondary));
    color: white;
    border: none;
    border-radius: 8px;
}

/* ============ BERITA DETAIL ============ */
.berita-detail-img { border-radius: 12px; max-height: 450px; object-fit: cover; width: 100%; }
.berita-detail-content { font-size: 0.95rem; line-height: 1.9; }
.berita-detail-content img { max-width: 100%; border-radius: 8px; margin: 1rem 0; }
.berita-detail-content p { margin-bottom: 1.2rem; }

/* ============ RESPONSIVE ============ */
@media (max-width: 768px) {
    .hero-slide { height: 350px; }
    .hero-title { font-size: 1.6rem; }
    .section-title { font-size: 1.4rem; }
    .stat-number { font-size: 2rem; }
    .berita-featured { height: 250px; }
    .galeri-item img { height: 160px; }
}

@media (max-width: 576px) {
    .hero-slide { height: 300px; }
    .hero-title { font-size: 1.3rem; }
}

/* ============================================================
   PREMIUM VISUAL ENHANCEMENTS
   ============================================================ */

/* ---- Animated Gradient Background on Hero ---- */
@keyframes heroGradientShift {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* ---- Floating Particles (Canvas based via JS) ---- */
#hero-particles {
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
}

/* ---- Glowing Accent Line on Navbar ---- */
#mainNav {
    border-bottom: 3px solid transparent;
    border-image: linear-gradient(90deg, var(--dprd-secondary), var(--dprd-accent), var(--dprd-secondary)) 1;
}

/* ---- Hero Enhanced ---- */
.hero-slide {
    height: 580px;
}
.hero-title {
    font-size: 2.8rem;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
}
.hero-title span {
    background: linear-gradient(90deg, var(--dprd-accent), #ffdf6e, var(--dprd-accent));
    background-size: 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s linear infinite;
}
@keyframes shimmerText {
    0%   { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* ---- Floating geometric shapes inside hero ---- */
.hero-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.06;
    pointer-events: none;
    animation: floatShape 8s ease-in-out infinite;
}
.hero-shape-1 { width: 350px; height: 350px; background: white; top: -80px; right: -80px; animation-delay: 0s; }
.hero-shape-2 { width: 200px; height: 200px; background: var(--dprd-accent); bottom: -50px; left: 10%; animation-delay: -2s; }
.hero-shape-3 { width: 120px; height: 120px; background: white; top: 40%; right: 20%; animation-delay: -4s; }
@keyframes floatShape {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    33%  { transform: translateY(-20px) rotate(5deg); }
    66%  { transform: translateY(10px) rotate(-3deg); }
}

/* ---- Stats Section Premium ---- */
.stats-section {
    background: linear-gradient(135deg, var(--dprd-dark) 0%, #1e3d6e 50%, var(--dprd-secondary) 100%);
    position: relative;
    overflow: hidden;
}
.stats-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23fff' fill-opacity='0.04'%3E%3Ccircle cx='20' cy='20' r='1.5'/%3E%3C/g%3E%3C/svg%3E");
    pointer-events: none;
}
.stat-item {
    text-align: center;
    padding: 2.5rem 1rem;
    position: relative;
    border-right: 1px solid rgba(255,255,255,0.08);
    transition: transform 0.3s;
}
.stat-item:hover { transform: translateY(-6px); }
.stat-item:last-child { border-right: none; }
.stat-number {
    font-size: 3rem;
    font-weight: 800;
    background: linear-gradient(135deg, var(--dprd-accent), #ffdf6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    display: block;
}
.stat-icon {
    font-size: 1.8rem;
    margin-bottom: 0.75rem;
    display: block;
    color: rgba(255,255,255,0.3);
    transition: color 0.3s;
}
.stat-item:hover .stat-icon { color: var(--dprd-accent); }
.stat-label { font-size: 0.8rem; letter-spacing: 1px; text-transform: uppercase; color: rgba(255,255,255,0.7); }

/* ---- Glassmorphism Cards ---- */
.glass-card {
    background: rgba(255,255,255,0.08);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 16px;
}

/* ---- Berita Cards Enhanced ---- */
.card-berita {
    border-radius: 16px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.card-berita:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 50px rgba(26,58,92,0.15);
}
.card-berita .card-img-wrapper { border-radius: 16px 16px 0 0; }

/* ---- Berita Featured Enhanced ---- */
.berita-featured {
    height: 420px;
    border-radius: 16px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.15);
    transition: transform 0.3s;
}
.berita-featured:hover { transform: translateY(-4px); }

/* ---- Layanan Cards Glassmorphism ---- */
.layanan-card {
    border-radius: 20px;
    padding: 2.5rem 2rem;
    position: relative;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.layanan-card::before {
    content: '';
    position: absolute;
    top: -50px;
    right: -50px;
    width: 180px; height: 180px;
    background: rgba(255,255,255,0.07);
    border-radius: 50%;
    pointer-events: none;
}
.layanan-card::after {
    content: '';
    position: absolute;
    bottom: -30px;
    left: -30px;
    width: 130px; height: 130px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    pointer-events: none;
}
.layanan-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 60px rgba(0,0,0,0.3);
    color: white;
}
.layanan-card .icon {
    font-size: 3rem;
    margin-bottom: 1.25rem;
    display: block;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.2));
}

/* ---- Section Label Enhanced ---- */
.section-label {
    background: linear-gradient(135deg, var(--dprd-secondary), #e74c3c);
    border-radius: 20px;
    padding: 4px 16px;
    font-size: 0.7rem;
    letter-spacing: 2px;
    box-shadow: 0 4px 15px rgba(192,57,43,0.3);
}

/* ---- Section Divider Animated ---- */
.section-divider {
    height: 4px;
    background: linear-gradient(90deg, var(--dprd-secondary), var(--dprd-accent), var(--dprd-secondary));
    background-size: 200%;
    animation: dividerShine 3s linear infinite;
    border-radius: 4px;
}
@keyframes dividerShine {
    0%   { background-position: 0%; }
    100% { background-position: 200%; }
}

/* ---- Button Premium ---- */
.btn-dprd {
    background: linear-gradient(135deg, var(--dprd-primary), #2563a8);
    border: none;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(26,58,92,0.35);
    transition: all 0.3s ease;
    letter-spacing: 0.3px;
}
.btn-dprd:hover {
    background: linear-gradient(135deg, var(--dprd-secondary), #e74c3c);
    box-shadow: 0 8px 25px rgba(192,57,43,0.4);
    transform: translateY(-3px);
}
.btn-dprd-primary {
    background: linear-gradient(135deg, var(--dprd-primary), #2563a8);
    color: white;
    border: none;
    border-radius: 8px;
    padding: 0.6rem 1.5rem;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(26,58,92,0.3);
    transition: all 0.3s;
}
.btn-dprd-primary:hover {
    background: linear-gradient(135deg, #152e4d, var(--dprd-primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(26,58,92,0.4);
    color: white;
}

/* ---- Page Header Enhanced ---- */
.page-header {
    background: linear-gradient(135deg, var(--dprd-dark) 0%, #1e3d6e 50%, var(--dprd-primary) 100%);
    padding: 3.5rem 0;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 450px; height: 450px;
    background: radial-gradient(circle, rgba(243,156,18,0.08) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.page-header::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 300px; height: 300px;
    background: radial-gradient(circle, rgba(255,255,255,0.04) 0%, transparent 70%);
    border-radius: 50%;
    pointer-events: none;
}
.page-header h1 {
    font-size: 2.2rem;
    text-shadow: 0 2px 15px rgba(0,0,0,0.2);
}

/* ---- Pengumuman Item Enhanced ---- */
.pengumuman-item {
    position: relative;
    padding-left: 1.5rem;
    transition: all 0.2s;
}
.pengumuman-item::before {
    content: '';
    position: absolute;
    left: 0; top: 50%;
    transform: translateY(-50%);
    width: 4px; height: 0;
    background: var(--dprd-secondary);
    border-radius: 4px;
    transition: height 0.3s;
}
.pengumuman-item:hover::before { height: 60%; }
.pengumuman-item:hover { background: #fff8f8; padding-left: 2rem; }

/* ---- Galeri Item Enhanced ---- */
.galeri-item {
    border-radius: 12px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}
.galeri-item:hover {
    transform: translateY(-6px);
    box-shadow: 0 15px 35px rgba(26,58,92,0.2);
}
.galeri-item .galeri-overlay {
    background: linear-gradient(135deg, rgba(26,58,92,0.9), rgba(192,57,43,0.8));
    border-radius: 12px;
    transition: opacity 0.35s ease;
}

/* ---- Back to Top Enhanced ---- */
.back-to-top {
    width: 46px; height: 46px;
    background: linear-gradient(135deg, var(--dprd-secondary), #e74c3c);
    box-shadow: 0 6px 20px rgba(192,57,43,0.5);
    font-size: 1rem;
}
.back-to-top:hover {
    background: linear-gradient(135deg, var(--dprd-primary), #2563a8);
    box-shadow: 0 8px 25px rgba(26,58,92,0.5);
    transform: translateY(-4px);
    color: white;
}

/* ---- Agenda Item Enhanced ---- */
.agenda-item {
    border-left: 4px solid var(--dprd-secondary);
    border-radius: 0 10px 10px 0;
    box-shadow: 0 2px 12px rgba(0,0,0,0.05);
    transition: all 0.3s;
}
.agenda-item:hover {
    border-left-color: var(--dprd-accent);
    transform: translateX(6px);
    box-shadow: 0 6px 20px rgba(243,156,18,0.15);
}

/* ---- Footer Enhanced ---- */
.footer-dprd {
    position: relative;
    overflow: hidden;
}
.footer-dprd::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--dprd-secondary), var(--dprd-accent), var(--dprd-secondary));
    background-size: 200%;
    animation: dividerShine 4s linear infinite;
}

/* ---- Running text enhanced ---- */
.marquee-bar {
    background: linear-gradient(90deg, var(--dprd-primary), #1e3d6e, var(--dprd-primary));
    background-size: 200%;
    animation: heroGradientShift 8s ease infinite;
}

/* ---- Card shadow glow on hover ---- */
.card:hover {
    transition: box-shadow 0.3s ease;
}

/* ---- Dropdown menu enhanced ---- */
.dropdown-menu {
    border-radius: 12px;
    box-shadow: 0 15px 50px rgba(0,0,0,0.15);
    border: 1px solid rgba(0,0,0,0.06);
    animation: dropdownFadeIn 0.2s ease;
}
@keyframes dropdownFadeIn {
    from { opacity: 0; transform: translateY(-8px); }
    to   { opacity: 1; transform: translateY(0); }
}
.dropdown-item {
    border-radius: 6px;
    margin: 1px 4px;
    padding: 0.45rem 1rem;
    transition: all 0.2s;
}
.dropdown-item:hover {
    background: linear-gradient(135deg, var(--dprd-primary), #1e3d6e);
    color: #fff !important;
    padding-left: 1.3rem;
    border-radius: 6px;
}

/* ---- Responsive Enhancements ---- */
@media (max-width: 768px) {
    .hero-slide { height: 380px; }
    .hero-title { font-size: 1.7rem; }
    .stat-number { font-size: 2.2rem; }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.08); }
    .stat-item:last-child { border-bottom: none; }
    .layanan-card { margin-bottom: 1rem; }
    .page-header { padding: 2.5rem 0; }
    .page-header h1 { font-size: 1.6rem; }
}
@media (max-width: 576px) {
    .hero-slide { height: 320px; }
    .hero-title { font-size: 1.4rem; }
    .hero-desc { font-size: 0.85rem; }
}

