/* =====================================================
   LPM Universitas Al-Falah Assunniyyah — Main Stylesheet
   Emerald Green & Warm Gold Theme (Matched to Logo)
   NOTE: Navbar styles are in navbar.css
   ===================================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ─── CSS Variables ─── */
:root {
    --primary: #0e6c3b;              /* Rich Emerald Green (Logo main frame & book base) */
    --primary-light: #168a4e;        /* Lighter Emerald Green */
    --primary-dark: #074725;         /* Deep Forest Green */
    --accent-green: #33a950;         /* Bright Leaf Green (Logo book top layer) */
    --secondary: #c59b27;            /* Elegant Gold (Logo text & star) */
    --secondary-light: #e2b73a;      /* Light Gold */
    --accent: #eabf44;               /* Golden Accent */
    --dark: #061d13;                 /* Dark Emerald Night (Topbar & Footer) */
    --white: #ffffff;
    --bg1: #f6f9f7;                  /* Subtle Emerald Tinted Light Background */
    --bg2: #ebf3ee;                  /* Soft Emerald Tinted Section Background */
    --txt1: #092015;                 /* Dark Greenish Slate Text */
    --txt2: #243d30;                 /* Body Text */
    --txt3: #526c5f;                 /* Muted Text */
    --grad: linear-gradient(135deg, #074725 0%, #0e6c3b 50%, #168a4e 100%);
    --grad-gold: linear-gradient(135deg, #c59b27 0%, #e2b73a 100%);
    --radius: 16px;
    --shadow: 0 4px 20px rgba(14, 108, 59, 0.08);
    --shadow-md: 0 8px 40px rgba(14, 108, 59, 0.14);
    --shadow-gold: 0 4px 20px rgba(197, 155, 39, 0.3);
    --bg-dark: #f6f9f7;
    --bg-surface: #ffffff;
    --bg-glass: rgba(6, 29, 19, 0.92);
    --primary-emerald: #0e6c3b;
    --primary-glow: #168a4e;
    --accent-gold: #c59b27;
    --accent-glow: #e2b73a;
    --text-main: #092015;
    --text-muted: #526c5f;
    --border-light: rgba(14, 108, 59, 0.1);
    --nav-h: 68px;
    --topbar-h: 36px;
    --header-total: calc(var(--topbar-h) + var(--nav-h));
}

[data-theme="dark"] {
    --primary: #c59b27;
    --primary-light: #e2b73a;
    --secondary: #0e6c3b;
    --secondary-light: #168a4e;
    --accent: #eabf44;
    --dark: #03120b;
    --white: #0a2618;
    --bg1: #03120b;
    --bg2: #072014;
    --txt1: #f2f8f4;
    --txt2: #a5c2b2;
    --txt3: #6e8e7e;
    --grad: linear-gradient(135deg, #051a10 0%, #0c3d22 100%);
    --grad-gold: linear-gradient(135deg, #0e6c3b 0%, #168a4e 100%);
    --bg-dark: #03120b;
    --bg-surface: #0a2618;
    --bg-glass: rgba(3, 18, 11, 0.95);
    --primary-emerald: #c59b27;
    --primary-glow: #e2b73a;
    --accent-gold: #0e6c3b;
    --accent-glow: #168a4e;
    --text-main: #f2f8f4;
    --text-muted: #a5c2b2;
    --border-light: rgba(255, 255, 255, 0.08);
    --shadow: 0 4px 20px rgba(0,0,0,.4);
    --shadow-md: 0 8px 40px rgba(0,0,0,.5);
}

/* ─── Reset ─── */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Inter', 'Plus Jakarta Sans', sans-serif;
    background: var(--bg1);
    color: var(--txt1);
    line-height: 1.6;
    transition: background .3s, color .3s;
    overflow-x: hidden;
}
a { text-decoration: none; color: inherit; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

/* ─── Scrollbar ─── */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg2); }
::-webkit-scrollbar-thumb { background: var(--primary); border-radius: 10px; }

/* Navbar styles moved to navbar.css */

/* =====================================================
   HERO
   ===================================================== */
.hero {
    position: relative; min-height: 100vh;
    display: flex; align-items: center;
    overflow: hidden;
    padding-top: var(--header-total);
}

/* Animated gradient background */
.hero-bg {
    position: absolute; inset: 0; z-index: 0;
    background: linear-gradient(135deg, #061d13 0%, #074725 40%, #0e6c3b 70%, #061d13 100%);
    background-size: 400% 400%;
    animation: gradShift 12s ease infinite;
}
@keyframes gradShift {
    0%,100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Geometric decorations */
.hero-deco {
    position: absolute; inset: 0; z-index: 1; overflow: hidden;
}
.hero-deco::before {
    content: ''; position: absolute;
    width: 600px; height: 600px; border-radius: 50%;
    background: radial-gradient(circle, rgba(197, 155, 39, .15) 0%, transparent 70%);
    top: -100px; right: -100px;
    animation: pulseDeco 6s ease-in-out infinite;
}
.hero-deco::after {
    content: ''; position: absolute;
    width: 400px; height: 400px; border-radius: 50%;
    background: radial-gradient(circle, rgba(14, 108, 59, .35) 0%, transparent 70%);
    bottom: -50px; left: -50px;
    animation: pulseDeco 8s ease-in-out infinite reverse;
}
@keyframes pulseDeco {
    0%,100% { transform: scale(1); opacity: .7; }
    50% { transform: scale(1.15); opacity: 1; }
}

/* Floating particles */
.particles { position: absolute; inset: 0; z-index: 1; }
.particle {
    position: absolute; border-radius: 50%;
    background: rgba(197, 155, 39, .6);
    animation: float linear infinite;
}
@keyframes float {
    0% { transform: translateY(100vh) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) rotate(360deg); opacity: 0; }
}

/* Hero slider */
.hero-slider { position: absolute; inset: 0; z-index: 0; }
.hero-slide { position: absolute; inset: 0; opacity: 0; transition: opacity 1.2s ease; }
.hero-slide.active { opacity: 1; }
.hero-slide img { width: 100%; height: 100%; object-fit: cover; }
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(135deg, rgba(6, 29, 19, .9) 0%, rgba(14, 108, 59, .75) 50%, rgba(6, 29, 19, .65) 100%);
}

/* Hero content */
.hero-content {
    position: relative; z-index: 2;
    max-width: 1200px; margin: 0 auto; padding: 2rem;
    width: 100%;
}
.hero-badge {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(196,149,58,.15); border: 1px solid rgba(196,149,58,.3);
    color: var(--accent); border-radius: 50px; padding: .4rem 1rem;
    font-size: .78rem; font-weight: 600; letter-spacing: .5px; text-transform: uppercase;
    margin-bottom: 1.5rem;
    animation: fadeUp .6s ease both;
}
.hero-content h1 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(2.2rem, 5vw, 4rem); font-weight: 800;
    color: #fff; line-height: 1.15; letter-spacing: -.02em;
    margin-bottom: 1.2rem;
    animation: fadeUp .6s ease .1s both;
}
.hero-content h1 span { color: var(--accent); }
.hero-content p {
    font-size: 1.05rem; color: rgba(255,255,255,.8);
    max-width: 580px; line-height: 1.75; margin-bottom: 2rem;
    animation: fadeUp .6s ease .2s both;
}
.hero-actions {
    display: flex; gap: 1rem; flex-wrap: wrap; margin-bottom: 3rem;
    animation: fadeUp .6s ease .3s both;
}
.btn-primary {
    display: inline-flex; align-items: center; gap: 8px;
    background: var(--grad-gold); color: var(--dark);
    border: none; border-radius: 50px;
    padding: .75rem 1.75rem; font-size: .9rem; font-weight: 700;
    cursor: pointer; transition: transform .2s, box-shadow .2s;
    box-shadow: var(--shadow-gold);
}
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(196,149,58,.45); }
.btn-secondary {
    display: inline-flex; align-items: center; gap: 8px;
    background: rgba(255,255,255,.1); color: #fff;
    border: 1px solid rgba(255,255,255,.25); border-radius: 50px;
    padding: .75rem 1.75rem; font-size: .9rem; font-weight: 600;
    cursor: pointer; transition: background .2s, transform .2s;
    backdrop-filter: blur(10px);
}
.btn-secondary:hover { background: rgba(255,255,255,.18); transform: translateY(-2px); }

/* Hero stats */
.hero-stats {
    display: flex; gap: 1.5rem; flex-wrap: wrap;
    animation: fadeUp .6s ease .4s both;
}
.hero-stat {
    background: rgba(255,255,255,.08);
    border: 1px solid rgba(255,255,255,.12);
    border-radius: 16px; padding: 1rem 1.4rem;
    backdrop-filter: blur(10px);
    min-width: 110px;
    transition: background .2s, transform .2s;
}
.hero-stat:hover { background: rgba(255,255,255,.14); transform: translateY(-3px); }
.hero-stat .number {
    display: block; font-size: 1.8rem; font-weight: 800;
    background: var(--grad-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1;
}
.hero-stat .label { font-size: .72rem; color: rgba(255,255,255,.7); margin-top: .3rem; display: block; font-weight: 500; }

/* Hero slider dots */
.hero-dots {
    position: absolute; bottom: 2rem; left: 50%; transform: translateX(-50%);
    z-index: 2; display: flex; gap: 8px;
}
.hero-dot {
    width: 8px; height: 8px; border-radius: 50%;
    background: rgba(255,255,255,.4); cursor: pointer;
    transition: background .3s, width .3s;
}
.hero-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* ─── Animations ─── */
@keyframes fadeUp {
    from { opacity: 0; transform: translateY(24px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes fadeIn {
    from { opacity: 0; } to { opacity: 1; }
}

/* =====================================================
   SECTIONS
   ===================================================== */
.section { padding: 5rem 0; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

.section-header { text-align: center; margin-bottom: 3rem; }
.badge-label {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(30,58,95,.1); color: var(--primary);
    border: 1px solid rgba(30,58,95,.15);
    border-radius: 50px; padding: .35rem 1rem;
    font-size: .75rem; font-weight: 700; text-transform: uppercase; letter-spacing: .6px;
    margin-bottom: .75rem;
}
[data-theme="dark"] .badge-label { background: rgba(196,149,58,.15); color: var(--secondary-light); border-color: rgba(196,149,58,.2); }
.section-header h2 {
    font-family: 'Plus Jakarta Sans', sans-serif;
    font-size: clamp(1.6rem, 3.5vw, 2.4rem); font-weight: 800;
    color: var(--txt1); letter-spacing: -.02em; margin-bottom: .75rem;
}
.section-header h2 span { color: var(--primary); }
[data-theme="dark"] .section-header h2 span { color: var(--secondary); }
.section-header p { color: var(--txt3); font-size: 1rem; max-width: 540px; margin: 0 auto; }

/* Card grid */
.card-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 1.5rem; }
.card-grid-2 { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 1.5rem; }
.card-grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.5rem; }

.card {
    background: var(--bg-surface); border-radius: var(--radius);
    border: 1px solid var(--border-light); box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
    overflow: hidden;
}
.card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }

/* =====================================================
   PROFIL SECTION
   ===================================================== */
.profil-grid {
    display: grid; grid-template-columns: 280px 1fr; gap: 3rem; align-items: center;
}
.profil-photo {
    text-align: center;
}
.profil-photo-frame {
    width: 220px; height: 260px; margin: 0 auto 1.2rem;
    border-radius: 20px; overflow: hidden;
    border: 4px solid var(--secondary);
    box-shadow: 0 8px 32px rgba(196,149,58,.3);
    position: relative;
}
.profil-photo-frame::after {
    content: ''; position: absolute; inset: 0;
    background: linear-gradient(to bottom, transparent 60%, rgba(10,22,40,.4));
}
.profil-photo-frame img { width: 100%; height: 100%; object-fit: cover; }
.profil-photo h4 { font-weight: 700; color: var(--txt1); margin-bottom: .2rem; }
.profil-photo small { color: var(--secondary); font-size: .8rem; font-weight: 600; letter-spacing: .3px; }
.profil-photo-placeholder {
    width: 100%; height: 100%;
    background: var(--grad);
    display: flex; align-items: center; justify-content: center;
    font-size: 4rem; color: rgba(255,255,255,.6);
}

.profil-text p { color: var(--txt2); line-height: 1.8; margin-bottom: 1.5rem; }
.visi-misi h3 {
    font-size: 1rem; font-weight: 700; color: var(--primary); margin-bottom: .5rem;
    display: flex; align-items: center; gap: 8px;
}
[data-theme="dark"] .visi-misi h3 { color: var(--secondary); }
.visi-misi p { color: var(--txt2); margin-bottom: 1rem; font-size: .93rem; }
.visi-misi ul { display: flex; flex-direction: column; gap: .4rem; }
.visi-misi ul li {
    display: flex; align-items: flex-start; gap: 8px;
    color: var(--txt2); font-size: .9rem;
}
.visi-misi ul li::before {
    content: '✓'; color: var(--secondary); font-weight: 700; flex-shrink: 0; margin-top: 2px;
}

/* =====================================================
   ORG CHART
   ===================================================== */
.org-chart { display: flex; flex-direction: column; align-items: center; gap: 0; }
.org-level { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; position: relative; padding: 1rem 0; }
.org-connector { width: 2px; height: 40px; background: var(--border-light); margin: 0 auto; }
.org-hline {
    width: 85%; height: 2px; background: var(--border-light); margin: 0 auto;
    position: relative; top: 1px;
}

.org-card {
    background: var(--bg-surface);
    border-radius: 14px; padding: 1rem; text-align: center;
    border: 1px solid var(--border-light);
    box-shadow: var(--shadow); min-width: 140px; max-width: 160px;
    transition: transform .2s, box-shadow .2s;
    cursor: default;
}
.org-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); }
.org-card img {
    width: 70px; height: 70px; border-radius: 50%; object-fit: cover;
    margin: 0 auto .6rem; border: 3px solid var(--border-light);
}
.org-card-rektor { border-top: 3px solid var(--primary); }
.org-card-ketua { border-top: 3px solid var(--secondary); }
.org-card-sekretaris { border-top: 3px solid var(--primary-light); }
.org-card-kapus { border-top: 3px solid var(--accent); }
.org-card-staf { border-top: 3px solid var(--txt3); }
.org-card h4 { font-size: .75rem; font-weight: 700; color: var(--txt1); margin-bottom: .2rem; line-height: 1.3; }
.org-card .org-position { font-size: .7rem; font-weight: 700; color: var(--primary); display: block; margin-bottom: .15rem; }
[data-theme="dark"] .org-card .org-position { color: var(--secondary); }
.org-card small { font-size: .65rem; color: var(--txt3); }

.org-avatar {
    width: 70px; height: 70px; border-radius: 50%;
    background: var(--grad);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.5rem; color: rgba(255,255,255,.7);
    margin: 0 auto .6rem;
    border: 3px solid rgba(255,255,255,.1);
}

/* =====================================================
   STANDAR SPMI
   ===================================================== */
.standard-card { padding: 1.5rem; display: flex; gap: 1rem; align-items: flex-start; }
.std-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 12px; background: var(--grad);
    display: flex; align-items: center; justify-content: center;
    color: #fff; font-size: 1.1rem;
}
.std-info { flex: 1; }
.std-info h3 { font-size: .95rem; font-weight: 700; color: var(--txt1); margin-bottom: .4rem; }
.std-info p { font-size: .82rem; color: var(--txt3); line-height: 1.6; }

/* Badges */
.badge {
    display: inline-block; padding: .2rem .65rem;
    border-radius: 50px; font-size: .68rem; font-weight: 700;
    letter-spacing: .3px; margin-bottom: .5rem;
}
.badge-blue { background: rgba(30,58,95,.1); color: var(--primary); }
.badge-gold { background: rgba(196,149,58,.1); color: var(--secondary); }
.badge-green { background: rgba(22,163,74,.1); color: #16a34a; }
[data-theme="dark"] .badge-blue { background: rgba(42,90,140,.2); color: var(--primary-light); }
[data-theme="dark"] .badge-gold { background: rgba(196,149,58,.2); color: var(--secondary-light); }

/* =====================================================
   DOKUMEN MUTU
   ===================================================== */
.doc-card { padding: 1.2rem; display: flex; align-items: center; gap: 1rem; }
.doc-icon {
    width: 48px; height: 48px; flex-shrink: 0;
    border-radius: 12px; background: rgba(196,149,58,.1);
    display: flex; align-items: center; justify-content: center;
    color: var(--secondary); font-size: 1.2rem;
}
.doc-info { flex: 1; }
.doc-info h4 { font-size: .9rem; font-weight: 700; color: var(--txt1); margin-bottom: .3rem; }
.doc-info small { font-size: .75rem; color: var(--txt3); }
.doc-download {
    display: inline-flex; align-items: center; gap: 6px;
    background: var(--grad-gold); color: var(--dark);
    border-radius: 8px; padding: .45rem .9rem;
    font-size: .78rem; font-weight: 700; white-space: nowrap;
    transition: transform .2s, box-shadow .2s;
    flex-shrink: 0;
}
.doc-download:hover { transform: translateY(-1px); box-shadow: var(--shadow-gold); }

/* =====================================================
   AKREDITASI TABLE
   ===================================================== */
.acc-table-wrap {
    background: var(--bg-surface); border-radius: var(--radius);
    box-shadow: var(--shadow); overflow: hidden;
    border: 1px solid var(--border-light);
}
.acc-table-wrap table { width: 100%; border-collapse: collapse; }
.acc-table-wrap th {
    background: var(--grad); color: #fff;
    padding: .85rem 1rem; font-size: .8rem; font-weight: 700; text-align: left;
    white-space: nowrap;
}
.acc-table-wrap td {
    padding: .75rem 1rem; font-size: .82rem; color: var(--txt2);
    border-bottom: 1px solid var(--border-light);
    vertical-align: middle;
}
.acc-table-wrap tr:last-child td { border-bottom: none; }
.acc-table-wrap tr:hover td { background: var(--bg2); }
.acc-scroll { overflow-x: auto; }

/* Akreditasi badge */
.badge-unggul { background: rgba(22,163,74,.12); color: #16a34a; }
.badge-bs { background: rgba(59,130,246,.12); color: #2563eb; }
.badge-b { background: rgba(234,179,8,.12); color: #a16207; }
.badge-c { background: rgba(239,68,68,.12); color: #dc2626; }

/* =====================================================
   BERITA / NEWS
   ===================================================== */
.news-card {
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
}
.news-img {
    height: 180px; overflow: hidden; position: relative;
    flex-shrink: 0;
}
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform .4s ease; }
.news-card:hover .news-img img { transform: scale(1.05); }

.news-body {
    padding: 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.news-meta { display: flex; align-items: center; gap: .5rem; margin-bottom: .7rem; flex-wrap: wrap; flex-shrink: 0; }
.news-date { font-size: .72rem; color: var(--txt3); display: flex; align-items: center; gap: 4px; }
.news-body h3 {
    font-size: .95rem; font-weight: 700; color: var(--txt1);
    line-height: 1.4; margin-bottom: .5rem;
    min-height: 2.7rem; /* Tetapkan min-height untuk 2 baris agar judul 1 baris tidak menggeser paragraf */
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.news-body p {
    font-size: .82rem; color: var(--txt3); line-height: 1.6;
    min-height: 3.9rem; /* Tetapkan min-height untuk 3 baris agar paragraf seragam */
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin-bottom: .75rem;
}
.news-link {
    display: inline-flex; align-items: center; gap: 4px;
    margin-top: auto; /* Selalu di bagian paling bawah news-body */
    color: var(--primary); font-size: .8rem; font-weight: 600;
    transition: gap .2s;
    align-self: flex-start;
    flex-shrink: 0;
}
.news-link:hover { gap: 8px; color: var(--secondary); }
[data-theme="dark"] .news-link { color: var(--secondary); }

/* News placeholder bg */
.news-placeholder {
    width: 100%; height: 100%;
    display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: rgba(255,255,255,.6);
}

/* =====================================================
   STATISTIK / COUNTER
   ===================================================== */
.stats-section {
    background: var(--grad);
    padding: 4rem 0;
    position: relative; overflow: hidden;
}
.stats-section::before {
    content: ''; position: absolute;
    width: 500px; height: 500px; border-radius: 50%;
    background: rgba(196,149,58,.08);
    top: -200px; right: -100px;
}
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 2rem; }
.stat-item { text-align: center; }
.stat-number {
    font-size: 3rem; font-weight: 800;
    background: var(--grad-gold); -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    background-clip: text; line-height: 1; display: block; margin-bottom: .5rem;
}
.stat-label { color: rgba(255,255,255,.8); font-size: .9rem; font-weight: 500; }

/* =====================================================
   SIKLUS PPEPP
   ===================================================== */
.ppepp-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1.2rem; }
.ppepp-card {
    background: var(--bg-surface); border-radius: 16px;
    padding: 1.5rem 1rem; text-align: center;
    border: 1px solid var(--border-light); box-shadow: var(--shadow);
    transition: transform .25s, box-shadow .25s;
    position: relative; overflow: hidden;
}
.ppepp-card::before {
    content: ''; position: absolute; inset: 0;
    background: var(--grad); opacity: 0; transition: opacity .25s;
}
.ppepp-card:hover::before { opacity: 1; }
.ppepp-card:hover { transform: translateY(-4px); box-shadow: var(--shadow-md); }
.ppepp-card:hover * { color: #fff !important; }
.ppepp-card:hover .ppepp-icon { background: rgba(255,255,255,.2); color: #fff; }
.ppepp-icon {
    width: 60px; height: 60px; border-radius: 16px;
    background: var(--bg2); display: flex; align-items: center; justify-content: center;
    font-size: 1.4rem; color: var(--primary); margin: 0 auto 1rem;
    transition: background .25s, color .25s;
    position: relative; z-index: 1;
}
[data-theme="dark"] .ppepp-icon { background: rgba(255,255,255,.07); }
.ppepp-step {
    position: absolute; top: .75rem; right: .75rem;
    width: 24px; height: 24px; border-radius: 50%;
    background: var(--grad-gold); color: var(--dark);
    font-size: .7rem; font-weight: 800;
    display: flex; align-items: center; justify-content: center;
    z-index: 1;
}
.ppepp-card h3 { font-size: .9rem; font-weight: 700; color: var(--txt1); margin-bottom: .4rem; position: relative; z-index: 1; }
.ppepp-card p { font-size: .75rem; color: var(--txt3); line-height: 1.5; position: relative; z-index: 1; }

/* =====================================================
   PENGUMUMAN / ANNOUNCEMENT
   ===================================================== */
.announcement-item {
    display: flex; gap: 1rem; align-items: flex-start;
    padding: 1rem 1.2rem;
    border-bottom: 1px solid var(--border-light);
    transition: background .15s;
}
.announcement-item:last-child { border-bottom: none; }
.announcement-item:hover { background: var(--bg2); }
[data-theme="dark"] .announcement-item:hover { background: rgba(255,255,255,.04); }
.ann-icon {
    width: 40px; height: 40px; flex-shrink: 0; border-radius: 10px;
    background: rgba(30,58,95,.1); display: flex; align-items: center; justify-content: center;
    color: var(--primary); font-size: .9rem;
}
[data-theme="dark"] .ann-icon { background: rgba(196,149,58,.15); color: var(--secondary); }
.ann-content h4 { font-size: .88rem; font-weight: 600; color: var(--txt1); margin-bottom: .25rem; line-height: 1.4; }
.ann-content small { font-size: .72rem; color: var(--txt3); }

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--dark);
    padding: 4rem 0 0;
    border-top: 1px solid rgba(255,255,255,.06);
}
.footer-grid {
    display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 3rem;
    margin-bottom: 3rem;
}
.footer-brand img { height: 50px; margin-bottom: 1rem; }
.footer-brand h3 { font-size: 1rem; font-weight: 700; color: #fff; margin-bottom: .25rem; }
.footer-brand p { font-size: .82rem; color: rgba(255,255,255,.5); line-height: 1.7; margin-top: .75rem; }
.footer-col h4 { font-size: .85rem; font-weight: 700; color: #fff; margin-bottom: 1rem; letter-spacing: .3px; }
.footer-col ul { display: flex; flex-direction: column; gap: .5rem; }
.footer-col ul li a {
    font-size: .8rem; color: rgba(255,255,255,.5);
    transition: color .2s;
    display: flex; align-items: center; gap: 6px;
}
.footer-col ul li a:hover { color: var(--secondary-light); }
.footer-col ul li a i { font-size: .65rem; }
.footer-bottom {
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 1.5rem 0; margin-top: 0;
    display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 1rem;
}
.footer-bottom p { font-size: .78rem; color: rgba(255,255,255,.4); }
.footer-bottom .footer-links { display: flex; gap: 1.5rem; }
.footer-bottom .footer-links a { font-size: .75rem; color: rgba(255,255,255,.4); transition: color .2s; }
.footer-bottom .footer-links a:hover { color: var(--secondary-light); }

/* Social icons */
.social-links { display: flex; gap: .5rem; margin-top: 1rem; }
.social-link {
    width: 36px; height: 36px; border-radius: 10px;
    background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.6); display: flex; align-items: center; justify-content: center;
    font-size: .85rem; transition: background .2s, color .2s, transform .2s;
}
.social-link:hover { background: var(--secondary); color: var(--dark); transform: translateY(-2px); }

/* =====================================================
   BACK TO TOP
   ===================================================== */
.back-to-top {
    position: fixed; bottom: 2rem; right: 2rem; z-index: 900;
    width: 44px; height: 44px; border-radius: 12px;
    background: var(--grad-gold); color: var(--dark);
    display: flex; align-items: center; justify-content: center;
    box-shadow: var(--shadow-gold); cursor: pointer; border: none;
    font-size: .9rem; transition: transform .2s, opacity .3s;
    opacity: 0; pointer-events: none;
}
.back-to-top.visible { opacity: 1; pointer-events: auto; }
.back-to-top:hover { transform: translateY(-3px); }

/* News & Pengumuman Grid */
.news-pengumuman-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    align-items: stretch;
}
.news-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    align-items: stretch;
    flex: 1;
}

/* =====================================================
   SCROLL ANIMATIONS
   ===================================================== */
.reveal { opacity: 0; transform: translateY(30px); transition: opacity .6s ease, transform .6s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-delay-1 { transition-delay: .1s; }
.reveal-delay-2 { transition-delay: .2s; }
.reveal-delay-3 { transition-delay: .3s; }
.reveal-delay-4 { transition-delay: .4s; }

/* =====================================================
   RESPONSIVE MEDIA QUERIES
   ===================================================== */
@media (max-width: 1200px) {
    .nav-links { gap: 0; }
    .nav-link { padding: .5rem .55rem; font-size: .76rem; }
}

@media (max-width: 1024px) {
    .news-pengumuman-grid { grid-template-columns: 1fr; }
    .profil-grid { grid-template-columns: 1fr; text-align: center; }
    .profil-photo-frame { margin: 0 auto 1.5rem; }
    .ppepp-grid { grid-template-columns: repeat(3, 1fr); }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .card-grid-3 { grid-template-columns: 1fr 1fr; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

@media (max-width: 768px) {
    .section { padding: 3.5rem 0; }
    .hero-content { padding: 1.25rem; }
    .hero-content h1 { font-size: clamp(1.8rem, 5vw, 2.5rem); }
    .hero-stats { gap: .75rem; }
    .hero-stat { min-width: 90px; padding: .75rem 1rem; }
    .news-cards-grid { grid-template-columns: 1fr; }
    .ppepp-grid { grid-template-columns: 1fr 1fr; }
    .card-grid-3 { grid-template-columns: 1fr; }
    .acc-scroll table { min-width: 700px; }
    .footer-grid { grid-template-columns: 1fr; gap: 2rem; }
}

@media (max-width: 576px) {
    .doc-card { flex-direction: column; text-align: center; align-items: center; }
    .doc-download { width: 100%; justify-content: center; }
}

@media (max-width: 480px) {
    .hero-actions { flex-direction: column; }
    .hero-actions .btn-primary, .hero-actions .btn-secondary { width: 100%; justify-content: center; }
    .stats-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
    .ppepp-grid { grid-template-columns: 1fr; }
    .hero-content h1 { font-size: 1.75rem; }
    .card-grid { grid-template-columns: 1fr; }
    .card-grid-2 { grid-template-columns: 1fr; }
    .container { padding: 0 1rem; }
}

/* =====================================================
   DARK MODE BG TRANSITIONS
   ===================================================== */
.section-light { background: #fff; }
.section-light[data-theme="dark"],
[data-theme="dark"] .section-light { background: var(--bg-surface); }
