:root {
    --primary: #1e3a5f;
    --primary-light: #2c5282;
    --primary-dark: #1a365d;
    --secondary: #e53e3e;
    --secondary-light: #fc8181;
    --accent: #ed8936;
    --success: #38a169;
    --warning: #d69e2e;
    --danger: #e53e3e;
    --dark: #1a202c;
    --gray-100: #f7fafc;
    --gray-200: #edf2f7;
    --gray-300: #e2e8f0;
    --gray-400: #cbd5e0;
    --gray-500: #a0aec0;
    --gray-600: #718096;
    --gray-700: #4a5568;
    --gray-800: #2d3748;
    --gray-900: #1a202c;
    --white: #ffffff;
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,0.1), 0 10px 10px -5px rgba(0,0,0,0.04);
    --radius: 8px;
    --radius-lg: 12px;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    line-height: 1.6;
    color: var(--gray-800);
    background: var(--gray-100);
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* =============================================
   NAVBAR
   ============================================= */
.navbar {
    background: var(--white);
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
}

/* Logo sejajar dengan judul web */
.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.nav-brand img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    flex-shrink: 0;
}

.nav-brand .nav-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--primary);
}

.navbar-brand img {
    height: 45px;
    width: 45px;
    object-fit: contain;
}

.navbar-brand span {
    line-height: 1.2;
}

.navbar-brand small {
    display: block;
    font-size: 0.7rem;
    font-weight: 400;
    color: var(--gray-600);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 5px;
}

.nav-links a {
    padding: 8px 16px;
    border-radius: var(--radius);
    transition: var(--transition);
    font-weight: 500;
    font-size: 0.9rem;
    color: var(--gray-700);
}

.nav-links a:hover,
.nav-links a.active {
    background: var(--primary);
    color: var(--white);
}

/* Dropdown submenu (tanpa animasi, langsung tampil) */
.nav-item-dropdown {
    position: relative;
}

.nav-caret {
    font-size: 0.65rem;
    margin-left: 4px;
}

.nav-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 220px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-lg);
    padding: 6px;
    z-index: 1001;
}

/* Submenu HANYA muncul saat parent diklik (class .open dari JS).
   focus-within dipertahankan agar navigasi keyboard tetap bisa. */
.nav-item-dropdown.open .nav-dropdown,
.nav-item-dropdown:focus-within .nav-dropdown {
    display: block;
}

.nav-item-dropdown.open .nav-caret {
    transform: rotate(180deg);
}

.nav-dropdown a {
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius);
    font-size: 0.88rem;
    white-space: nowrap;
}

.nav-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--primary);
}

/* =============================================
   AGENDA / KEGIATAN CARDS (dipakai beranda + halaman kegiatan)
   ============================================= */
.agenda-card {
    display: flex;
    gap: 20px;
    background: #fff;
    border-radius: 12px;
    padding: 20px;
    border-left: 4px solid var(--primary);
    box-shadow: var(--shadow);
    height: auto;
}

.agenda-date {
    text-align: center;
    min-width: 70px;
}

.agenda-date .day {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
}

.agenda-date .month {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
}

.agenda-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 20px;
    align-items: start;
}

.agenda-grid .agenda-card {
    flex-direction: column;
    gap: 12px;
}

.agenda-grid .agenda-date {
    display: flex;
    align-items: center;
    gap: 12px;
    text-align: left;
}

.agenda-grid .agenda-date .day {
    font-size: 1.7rem;
}

@media (max-width: 768px) {
    .agenda-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1440 320"><path fill="%23ffffff" fill-opacity="0.05" d="M0,96L48,112C96,128,192,160,288,186.7C384,213,480,235,576,213.3C672,192,768,128,864,128C960,128,1056,192,1152,208C1248,224,1344,192,1392,176L1440,160L1440,320L1392,320C1344,320,1248,320,1152,320C1056,320,960,320,864,320C768,320,672,320,576,320C480,320,384,320,288,320C192,320,96,320,48,320L0,320Z"></path></svg>') no-repeat bottom;
    background-size: cover;
}

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

.hero h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

.btn {
    display: inline-block;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    transition: var(--transition);
    cursor: pointer;
    border: 2px solid transparent;
    text-align: center;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
}

.btn-secondary:hover {
    background: #c53030;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: var(--white);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--primary);
}

.btn-success {
    background: var(--success);
    color: var(--white);
}

.btn-success:hover {
    background: #2f855a;
}

.btn-warning {
    background: var(--warning);
    color: var(--white);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1.1rem;
}

/* =============================================
   SECTIONS
   ============================================= */
.section {
    padding: 60px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 40px;
}

.section-title h2 {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.section-title p {
    color: var(--gray-600);
    font-size: 1.05rem;
}

/* =============================================
   CARDS
   ============================================= */
.card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.card-body {
    padding: 20px;
}

.card-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.card-text {
    color: var(--gray-600);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
    color: var(--gray-500);
}

/* Grid */
.grid-3 {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

/* =============================================
   BADGE
   ============================================= */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-primary { background: #ebf4ff; color: var(--primary); }
.badge-success { background: #c6f6d5; color: var(--success); }
.badge-warning { background: #fefcbf; color: #975a16; }
.badge-danger { background: #fed7d7; color: var(--danger); }

/* =============================================
   FORM
   ============================================= */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    color: var(--gray-700);
    font-size: 0.9rem;
}

.form-control {
    width: 100%;
    padding: 10px 14px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius);
    font-size: 0.95rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(30, 58, 95, 0.1);
}

textarea.form-control {
    min-height: 120px;
    resize: vertical;
}

select.form-control {
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23718096' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    padding-right: 36px;
}

/* =============================================
   TABLE
   ============================================= */
.table-container {
    overflow-x: auto;
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

table {
    width: 100%;
    border-collapse: collapse;
}

table th,
table td {
    padding: 12px 16px;
    text-align: left;
    border-bottom: 1px solid var(--gray-200);
}

table th {
    background: var(--primary);
    color: var(--white);
    font-weight: 600;
    font-size: 0.85rem;
    text-transform: uppercase;
}

table tr:hover {
    background: var(--gray-100);
}

table tr:last-child td {
    border-bottom: none;
}

/* =============================================
   ALERT
   ============================================= */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.alert-danger {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
}

.alert-warning {
    background: #fefcbf;
    color: #744210;
    border: 1px solid #f6e05e;
}

.alert-info {
    background: #bee3f8;
    color: #2a4365;
    border: 1px solid #90cdf4;
}

/* =============================================
   MODAL
   ============================================= */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    justify-content: center;
    align-items: center;
}

.modal-overlay.active {
    display: flex;
}

.modal {
    background: var(--white);
    border-radius: var(--radius-lg);
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    padding: 30px;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.modal-header h3 {
    font-size: 1.3rem;
    color: var(--primary);
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--gray-500);
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--gray-900);
    color: var(--gray-400);
    padding: 50px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer h4 {
    color: var(--white);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.footer p {
    font-size: 0.9rem;
    line-height: 1.8;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 10px;
}

.footer ul a {
    color: var(--gray-400);
    transition: var(--transition);
    font-size: 0.9rem;
}

.footer ul a:hover {
    color: var(--white);
    padding-left: 5px;
}

.footer-bottom {
    border-top: 1px solid var(--gray-700);
    padding-top: 20px;
    text-align: center;
    font-size: 0.85rem;
}

/* Brand footer: tata letak sama seperti header (logo sejajar judul) */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    margin-bottom: 6px;
}

.footer-brand img {
    height: 44px;
    width: 44px;
    object-fit: contain;
    border-radius: 8px;
    flex-shrink: 0;
    background: #fff;
}

.footer-brand .footer-logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.footer-brand strong {
    color: #fff;
    font-size: 1.05rem;
    display: block;
    line-height: 1.3;
}

.footer-brand small {
    color: var(--gray-400);
    font-size: 0.72rem;
    display: block;
    line-height: 1.4;
}

/* Ikon sosial media footer: besar & berjarak */
.footer-social {
    display: flex;
    gap: 16px;
    margin-top: 18px;
    align-items: center;
}

.footer-social a {
    width: 46px;
    height: 46px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.35rem;
    color: #fff;
}

.footer-social a:hover {
    background: var(--primary);
    color: #fff;
}

/* Hubungi Kami: ikon sejajar teks, jarak min. 2 spasi */
.footer-contact {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    margin-bottom: 14px;
}

.footer-contact li i {
    width: 22px;
    text-align: center;
    margin-top: 4px;
    flex-shrink: 0;
    color: var(--accent);
}

.footer-contact li span {
    line-height: 1.7;
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--gray-800);
    color: var(--gray-400);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--primary);
    color: var(--white);
}

/* =============================================
   ADMIN LAYOUT
   ============================================= */
.admin-wrapper {
    display: flex;
    min-height: 100vh;
}

.sidebar {
    width: 260px;
    background: var(--primary-dark);
    color: var(--white);
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    overflow-y: auto;
    z-index: 100;
}

.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    text-align: center;
}

.sidebar-header h3 {
    font-size: 1.1rem;
    margin-top: 8px;
}

.sidebar-header small {
    font-size: 0.75rem;
    opacity: 0.7;
}

.sidebar-menu {
    padding: 15px 0;
}

.sidebar-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 20px;
    color: var(--gray-300);
    transition: var(--transition);
    font-size: 0.9rem;
}

.sidebar-menu a:hover,
.sidebar-menu a.active {
    background: rgba(255,255,255,0.1);
    color: var(--white);
    border-left: 3px solid var(--accent);
}

.sidebar-menu .menu-divider {
    height: 1px;
    background: rgba(255,255,255,0.1);
    margin: 10px 20px;
}

.sidebar-menu .menu-label {
    padding: 10px 20px 5px;
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-500);
}

/* Grup sidebar lipat (klik untuk muncul/menyembunyikan) */
.side-group {
    margin-bottom: 4px;
}

.side-group-toggle {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 10px 20px 6px;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--gray-400);
}

.side-group-toggle span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.side-group-toggle:hover {
    color: var(--white);
}

.side-caret {
    font-size: 0.65rem;
}

.side-group.open .side-caret {
    transform: rotate(180deg);
}

.side-group-items {
    display: none;
}

.side-group.open .side-group-items {
    display: block;
}

.admin-main {
    flex: 1;
    margin-left: 260px;
    background: var(--gray-100);
}

.admin-topbar {
    background: var(--white);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 50;
}

.admin-topbar h1 {
    font-size: 1.3rem;
    color: var(--gray-800);
}

.admin-topbar .user-info {
    display: flex;
    align-items: center;
    gap: 10px;
}

.admin-content {
    padding: 30px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    display: flex;
    align-items: center;
    gap: 15px;
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--white);
}

.stat-info h3 {
    font-size: 1.5rem;
    color: var(--gray-800);
}

.stat-info p {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* =============================================
   PENGUMUMAN TICKER
   ============================================= */
.ticker-wrap {
    background: var(--secondary);
    color: var(--white);
    padding: 10px 0;
    overflow: hidden;
}

.ticker {
    display: flex;
    animation: ticker 30s linear infinite;
    white-space: nowrap;
}

.ticker-item {
    padding: 0 50px;
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes ticker {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* =============================================
   KONTAK SECTION
   ============================================= */
.kontak-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.kontak-info {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}

.kontak-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.kontak-detail h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--gray-800);
}

.kontak-detail p {
    color: var(--gray-600);
    font-size: 0.9rem;
}

/* =============================================
   ORGANIZATION CHART
   ============================================= */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 30px;
}

.org-level {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.org-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    box-shadow: var(--shadow);
    min-width: 160px;
    transition: var(--transition);
}

.org-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.org-card img {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 10px;
    border: 3px solid var(--primary);
}

.org-card h4 {
    font-size: 0.95rem;
    color: var(--gray-800);
    margin-bottom: 4px;
}

.org-card p {
    font-size: 0.8rem;
    color: var(--primary);
    font-weight: 600;
}

.org-connector {
    width: 2px;
    height: 30px;
    background: var(--primary);
    margin: 0 auto;
}

/* =============================================
   CALENDAR
   ============================================= */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
}

.event-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    transition: var(--transition);
}

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

.event-date {
    background: var(--primary);
    color: var(--white);
    padding: 15px;
    text-align: center;
}

.event-date .day {
    font-size: 2rem;
    font-weight: 700;
    line-height: 1;
}

.event-date .month {
    font-size: 0.85rem;
    text-transform: uppercase;
}

.event-info {
    padding: 20px;
}

.event-info h3 {
    font-size: 1.05rem;
    margin-bottom: 8px;
    color: var(--gray-800);
}

.event-info p {
    font-size: 0.85rem;
    color: var(--gray-600);
    margin-bottom: 5px;
}

/* =============================================
   VOTING
   ============================================= */
.voting-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 360px));
    gap: 25px;
    justify-content: center;
}

.kandidat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
    overflow: hidden;
    text-align: center;
    transition: var(--transition);
    width: 100%;
    max-width: 380px;
    justify-self: center;
}

.kandidat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.kandidat-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid var(--primary);
    margin: 20px auto 10px;
}

.kandidat-card h3 {
    font-size: 1.1rem;
    padding: 0 20px;
    color: var(--gray-800);
}

.kandidat-card .nomor {
    display: inline-block;
    background: var(--primary);
    color: var(--white);
    width: 30px;
    height: 30px;
    line-height: 30px;
    border-radius: 50%;
    font-weight: 700;
    margin: 8px 0;
}

.kandidat-card .visi-misi {
    padding: 15px 20px;
    text-align: left;
    font-size: 0.85rem;
    color: var(--gray-600);
}

.vote-btn {
    margin: 15px 20px 20px;
    display: block;
    width: calc(100% - 40px);
}

/* =============================================
   LOGIN PAGE
   ============================================= */
.login-page {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.login-box {
    background: var(--white);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
    padding: 40px;
    width: 100%;
    max-width: 420px;
}

.login-box h2 {
    text-align: center;
    color: var(--primary);
    margin-bottom: 10px;
}

.login-box .subtitle {
    text-align: center;
    color: var(--gray-600);
    margin-bottom: 30px;
    font-size: 0.9rem;
}

.login-box .logo {
    text-align: center;
    margin-bottom: 20px;
}

/* =============================================
   PAGINATION
   ============================================= */
.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 30px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
}

.pagination a {
    background: var(--white);
    color: var(--gray-700);
    box-shadow: var(--shadow);
}

.pagination a:hover {
    background: var(--primary);
    color: var(--white);
}

.pagination .active {
    background: var(--primary);
    color: var(--white);
}

/* =============================================
   PAGE HEADER
   ============================================= */
.page-header {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: var(--white);
    padding: 50px 0;
    text-align: center;
}

.page-header h1 {
    font-size: 2.2rem;
    margin-bottom: 10px;
}

.page-header .breadcrumb {
    font-size: 0.9rem;
    opacity: 0.8;
}

.page-header .breadcrumb a {
    color: var(--white);
    opacity: 0.8;
}

.page-header .breadcrumb a:hover {
    opacity: 1;
}

/* =============================================
   UNDUHAN LIST
   ============================================= */
.download-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-item {
    display: flex;
    align-items: center;
    gap: 15px;
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.download-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-lg);
}

.download-icon {
    width: 50px;
    height: 50px;
    border-radius: var(--radius);
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    flex-shrink: 0;
}

.download-info {
    flex: 1;
}

.download-info h4 {
    font-size: 1rem;
    margin-bottom: 4px;
    color: var(--gray-800);
}

.download-info p {
    font-size: 0.8rem;
    color: var(--gray-600);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: var(--white);
        flex-direction: column;
        padding: 10px;
        box-shadow: var(--shadow-lg);
    }
    
    .nav-links.active {
        display: flex;
    }

    .nav-item-dropdown {
        width: 100%;
    }

    .nav-dropdown {
        display: none;
        position: static;
        box-shadow: none;
        padding: 0 0 0 12px;
        min-width: 0;
    }

    .nav-item-dropdown.open .nav-dropdown {
        display: block;
    }

    .nav-toggle {
        display: block;
    }
    
    .hero h1 {
        font-size: 1.8rem;
    }
    
    .hero p {
        font-size: 1rem;
    }
    
    .grid-3,
    .grid-2,
    .kontak-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .sidebar {
        width: 0;
        overflow: hidden;
    }

    .sidebar.active {
        width: 260px;
        max-width: 85vw;
    }

    .sidebar.active .sidebar-menu {
        max-height: calc(100vh - 130px);
        overflow-y: auto;
        padding-bottom: 30px;
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .admin-content {
        padding: 15px;
    }
    
    .org-level {
        flex-direction: column;
        align-items: center;
    }
}

/* =============================================
   PAGE LOADER - DINONAKTIFKAN (tanpa animasi loading)
   ============================================= */
.page-loader,
.loader-spinner,
.loader-text,
.loader-dots { display: none !important; }

/* =============================================
   SCROLL REVEAL - aktif saat scroll (atas/bawah).
   Hanya disembunyikan bila JS jalan (html.js) agar
   konten tetap tampil jika JS mati.
   ============================================= */
html.js .reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .reveal-left {
    opacity: 0;
    transform: translateX(-40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .reveal-right {
    opacity: 0;
    transform: translateX(40px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .reveal-scale {
    opacity: 0;
    transform: scale(0.92);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .reveal.visible,
html.js .reveal-left.visible,
html.js .reveal-right.visible,
html.js .reveal-scale.visible {
    opacity: 1;
    transform: none;
}

/* Judul section & page header ikut animasi scroll di semua halaman */
html.js .section-title,
html.js .page-header {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}
html.js .section-title.visible,
html.js .page-header.visible {
    opacity: 1;
    transform: none;
}

/* =============================================
   MODERN BUTTON EFFECTS
   ============================================= */
.btn {
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s ease;
    z-index: -1;
}

.btn:hover::before {
    left: 100%;
}

.btn:active {
    transform: scale(0.95);
}

/* =============================================
   CARD HOVER EFFECTS
   ============================================= */
.card {
    position: relative;
    overflow: hidden;
}

.card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.card:hover::after {
    transform: scaleX(1);
}

/* =============================================
   NAVBAR ANIMATIONS
   ============================================= */
.navbar {
    transition: all 0.3s ease;
}

.navbar.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(10px);
}

.nav-links a {
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 70%;
}

/* =============================================
   HERO / FLOAT / GLOW / SHIMMER / RIPPLE - DINONAKTIFKAN
   ============================================= */
.hero, .hero h1, .hero p, .hero-buttons,
.float, .glow, .count-up, .shimmer, .ripple-effect {
    animation: none !important;
}
.float { transform: none !important; }

/* =============================================
   PARALLAX SECTION
   ============================================= */
.parallax-section {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* =============================================
   TYPING EFFECT
   ============================================= */
.typing {
    overflow: hidden;
    border-right: 3px solid var(--primary);
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blinkCaret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blinkCaret {
    from, to { border-color: transparent; }
    50% { border-color: var(--primary); }
}

/* =============================================
   HOVER LIFT
   ============================================= */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

/* =============================================
   GRADIENT TEXT
   ============================================= */
.gradient-text {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* =============================================
   BORDER ANIMATION
   ============================================= */
.border-animate {
    position: relative;
}

.border-animate::before,
.border-animate::after {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    border: 2px solid transparent;
    transition: all 0.4s ease;
}

.border-animate::before {
    top: 0;
    left: 0;
    border-top-color: var(--primary);
    border-left-color: var(--primary);
}

.border-animate::after {
    bottom: 0;
    right: 0;
    border-bottom-color: var(--secondary);
    border-right-color: var(--secondary);
}

.border-animate:hover::before,
.border-animate:hover::after {
    width: 100%;
    height: 100%;
}

/* =============================================
   SMOOTH SCROLL
   ============================================= */
html {
    scroll-behavior: smooth;
}

/* =============================================
   SELECTION COLOR
   ============================================= */
::selection {
    background: var(--primary);
    color: white;
}

::-moz-selection {
    background: var(--primary);
    color: white;
}

/* =============================================
   SCROLLBAR CUSTOM
   ============================================= */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--gray-100);
}

::-webkit-scrollbar-thumb {
    background: var(--primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}
