/* =============================================
   PPID MAN Tanjungbalai - Design System
   Modern, Dynamic, Informative
   ============================================= */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

/* ── CSS Variables ── */
:root {
    --primary: #064E3B;
    --primary-light: #065F46;
    --primary-dark: #022C22;
    --secondary: #0D9488;
    --secondary-light: #14B8A6;
    --accent: #F59E0B;
    --accent-light: #FBBF24;
    --accent-dark: #D97706;

    --slate-50: #F8FAFC;
    --slate-100: #F1F5F9;
    --slate-200: #E2E8F0;
    --slate-300: #CBD5E1;
    --slate-400: #94A3B8;
    --slate-500: #64748B;
    --slate-600: #475569;
    --slate-700: #334155;
    --slate-800: #1E293B;
    --slate-900: #0F172A;

    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;

    --font-primary: 'Plus Jakarta Sans', 'Inter', system-ui, -apple-system, sans-serif;
    --font-body: 'Inter', system-ui, -apple-system, sans-serif;

    --shadow-sm: 0 1px 2px 0 rgba(0,0,0,.05);
    --shadow: 0 1px 3px 0 rgba(0,0,0,.1), 0 1px 2px -1px rgba(0,0,0,.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,.1), 0 2px 4px -2px rgba(0,0,0,.1);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,.1), 0 4px 6px -4px rgba(0,0,0,.1);
    --shadow-xl: 0 20px 25px -5px rgba(0,0,0,.1), 0 8px 10px -6px rgba(0,0,0,.1);
    --shadow-glow: 0 0 40px rgba(13, 148, 136, 0.15);

    --radius-sm: 6px;
    --radius: 10px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;

    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s ease;
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--slate-800);
    background: var(--slate-50);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: var(--transition); }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }
h1, h2, h3, h4, h5, h6 { font-family: var(--font-primary); font-weight: 700; line-height: 1.3; }

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

/* ── Navbar ── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: var(--transition);
    padding: 16px 0;
}

.navbar.scrolled {
    background: rgba(6, 78, 59, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: 0 4px 30px rgba(0,0,0,0.15);
    padding: 10px 0;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-brand .brand-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 900;
    color: white;
    font-size: 18px;
    font-family: var(--font-primary);
}

.navbar-brand .brand-text {
    color: white;
}

.navbar-brand .brand-text h1 {
    font-size: 16px;
    font-weight: 800;
    letter-spacing: -0.3px;
}

.navbar-brand .brand-text span {
    font-size: 11px;
    opacity: 0.8;
    font-weight: 400;
    display: block;
    margin-top: -2px;
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-menu a,
.navbar-menu .dropdown > .dropdown-toggle {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
    background: none;
    border: none;
    cursor: pointer;
    font-family: var(--font-body);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.navbar-menu a:hover,
.navbar-menu .dropdown:hover > .dropdown-toggle {
    background: rgba(255,255,255,0.12);
    color: white;
}

.navbar-menu a.active {
    background: rgba(255,255,255,0.15);
    color: white;
}

/* Dropdown */
.dropdown {
    position: relative;
}

.dropdown-toggle::after {
    content: '';
    border: solid rgba(255,255,255,0.6);
    border-width: 0 2px 2px 0;
    display: inline-block;
    padding: 2.5px;
    transform: rotate(45deg);
    margin-left: 4px;
    transition: var(--transition);
}

.dropdown:hover .dropdown-toggle::after {
    transform: rotate(-135deg);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: white;
    border-radius: var(--radius);
    box-shadow: var(--shadow-xl);
    min-width: 220px;
    padding: 8px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    border: 1px solid var(--slate-100);
}

.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu a {
    color: var(--slate-700) !important;
    display: block;
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 13px;
}

.dropdown-menu a:hover {
    background: var(--slate-50) !important;
    color: var(--primary) !important;
}

/* Mobile Menu */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1000;
}

.menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: white;
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

.menu-toggle.active span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
}
.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}
.menu-toggle.active span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
}

/* ── Hero Section ── */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 30%, var(--secondary) 70%, #0F766E 100%);
    position: relative;
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 50%, rgba(245, 158, 11, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(13, 148, 136, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 50% 80%, rgba(6, 78, 59, 0.2) 0%, transparent 50%);
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 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;
    text-align: center;
    color: white;
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 28px;
    animation: fadeInUp 0.8s ease;
}

.hero-badge svg {
    width: 16px;
    height: 16px;
}

.hero h2 {
    font-size: clamp(2.2rem, 5vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 8px;
    animation: fadeInUp 0.8s ease 0.1s both;
    letter-spacing: -1px;
}

.hero h2 .highlight {
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero .hero-subtitle {
    font-size: clamp(1.2rem, 2.5vw, 1.6rem);
    font-weight: 300;
    opacity: 0.9;
    margin-bottom: 20px;
    animation: fadeInUp 0.8s ease 0.2s both;
}

.hero p.hero-desc {
    font-size: 16px;
    opacity: 0.75;
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.8;
    animation: fadeInUp 0.8s ease 0.3s both;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* ── Buttons ── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 14px;
    font-family: var(--font-body);
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
}

.btn svg { width: 18px; height: 18px; }

.btn-primary {
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    color: white;
    box-shadow: 0 4px 14px rgba(245, 158, 11, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.5);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.5);
    transform: translateY(-2px);
}

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

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

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

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

.btn-sm {
    padding: 8px 16px;
    font-size: 13px;
}

/* ── Stats Section ── */
.stats-section {
    padding: 0;
    position: relative;
    z-index: 10;
    margin-top: -60px;
}

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

.stat-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 28px;
    text-align: center;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    border: 1px solid var(--slate-100);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
}

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl), var(--shadow-glow);
}

.stat-card .stat-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    font-size: 24px;
}

.stat-card .stat-icon.green { background: rgba(6, 78, 59, 0.08); color: var(--primary); }
.stat-card .stat-icon.teal { background: rgba(13, 148, 136, 0.08); color: var(--secondary); }
.stat-card .stat-icon.amber { background: rgba(245, 158, 11, 0.08); color: var(--accent); }
.stat-card .stat-icon.blue { background: rgba(59, 130, 246, 0.08); color: var(--info); }

.stat-card .stat-number {
    font-size: 2.2rem;
    font-weight: 800;
    font-family: var(--font-primary);
    color: var(--slate-900);
    line-height: 1;
    margin-bottom: 4px;
}

.stat-card .stat-label {
    font-size: 13px;
    color: var(--slate-500);
    font-weight: 500;
}

/* ── Section Styles ── */
.section {
    padding: 80px 0;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header .section-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(6, 78, 59, 0.06);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 14px;
}

.section-header h2 {
    font-size: 2rem;
    color: var(--slate-900);
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    color: var(--slate-500);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}

.section-dark {
    background: var(--slate-900);
    color: white;
}

.section-dark .section-header h2 { color: white; }
.section-dark .section-header p { color: var(--slate-400); }
.section-dark .section-badge { background: rgba(255,255,255,0.08); color: var(--secondary-light); }

/* ── Sambutan Section ── */
.sambutan-section {
    background: linear-gradient(135deg, var(--slate-50) 0%, white 100%);
}

.sambutan-grid {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 50px;
    align-items: center;
}

.sambutan-photo {
    position: relative;
}

.sambutan-photo .photo-wrapper {
    width: 280px;
    height: 340px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
    position: relative;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    display: flex;
    align-items: center;
    justify-content: center;
}

.sambutan-photo .photo-wrapper .placeholder-icon {
    font-size: 100px;
    opacity: 0.3;
    color: white;
}

.sambutan-photo .photo-decoration {
    position: absolute;
    bottom: -15px;
    right: -15px;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, var(--accent), var(--accent-light));
    border-radius: var(--radius-xl);
    z-index: -1;
    opacity: 0.3;
}

.sambutan-content h3 {
    font-size: 1.6rem;
    margin-bottom: 6px;
    color: var(--slate-900);
}

.sambutan-content .sambutan-title {
    color: var(--secondary);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.sambutan-content .sambutan-text {
    color: var(--slate-600);
    font-size: 15px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.sambutan-content .sambutan-name {
    font-weight: 700;
    color: var(--slate-800);
    font-size: 15px;
}

.sambutan-content .sambutan-nip {
    font-size: 13px;
    color: var(--slate-500);
}

/* ── Info Categories ── */
.info-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.info-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--slate-100);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

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

.info-card .info-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius-lg);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    transition: var(--transition);
}

.info-card:nth-child(1) .info-icon { background: linear-gradient(135deg, #064E3B, #065F46); color: white; }
.info-card:nth-child(2) .info-icon { background: linear-gradient(135deg, #0D9488, #14B8A6); color: white; }
.info-card:nth-child(3) .info-icon { background: linear-gradient(135deg, #3B82F6, #60A5FA); color: white; }
.info-card:nth-child(4) .info-icon { background: linear-gradient(135deg, #F59E0B, #FBBF24); color: white; }

.info-card:hover .info-icon { transform: scale(1.1) rotate(5deg); }

.info-card h3 {
    font-size: 15px;
    color: var(--slate-800);
    margin-bottom: 8px;
}

.info-card p {
    font-size: 13px;
    color: var(--slate-500);
    line-height: 1.6;
    margin-bottom: 14px;
}

.info-card .info-count {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: var(--slate-50);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 13px;
    font-weight: 600;
    color: var(--slate-700);
}

/* ── Berita Cards ── */
.berita-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.berita-card {
    background: white;
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--slate-100);
}

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

.berita-card .berita-img {
    height: 200px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    position: relative;
    overflow: hidden;
}

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

.berita-card .berita-img .berita-date {
    position: absolute;
    bottom: 12px;
    left: 12px;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    color: white;
    padding: 4px 12px;
    border-radius: var(--radius-sm);
    font-size: 12px;
    font-weight: 500;
}

.berita-card .berita-body {
    padding: 22px;
}

.berita-card .berita-body h3 {
    font-size: 16px;
    margin-bottom: 8px;
    color: var(--slate-800);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.berita-card:hover .berita-body h3 { color: var(--primary); }

.berita-card .berita-body p {
    font-size: 14px;
    color: var(--slate-500);
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
    line-height: 1.7;
}

.berita-card .read-more {
    font-size: 13px;
    font-weight: 600;
    color: var(--secondary);
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.berita-card .read-more:hover { gap: 8px; }

/* ── Quick Links ── */
.quick-links {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.quick-link {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 18px 22px;
    border-radius: var(--radius-lg);
    transition: var(--transition);
    color: white;
}

.quick-link:hover {
    background: rgba(255,255,255,0.1);
    transform: translateX(6px);
    border-color: rgba(255,255,255,0.2);
}

.quick-link .ql-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 20px;
}

.quick-link:nth-child(1) .ql-icon { background: rgba(245,158,11,0.2); color: var(--accent-light); }
.quick-link:nth-child(2) .ql-icon { background: rgba(16,185,129,0.2); color: #34D399; }
.quick-link:nth-child(3) .ql-icon { background: rgba(59,130,246,0.2); color: #60A5FA; }
.quick-link:nth-child(4) .ql-icon { background: rgba(239,68,68,0.2); color: #F87171; }

.quick-link .ql-text h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 2px;
}

.quick-link .ql-text span {
    font-size: 12px;
    opacity: 0.6;
}

/* ── Footer ── */
.footer {
    background: var(--slate-900);
    color: white;
    padding: 60px 0 0;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr;
    gap: 40px;
    padding-bottom: 40px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}

.footer-brand h3 {
    font-size: 20px;
    margin-bottom: 6px;
}

.footer-brand .footer-subtitle {
    font-size: 13px;
    color: var(--slate-400);
    margin-bottom: 16px;
}

.footer-brand p {
    font-size: 14px;
    color: var(--slate-400);
    line-height: 1.8;
}

.footer h4 {
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 18px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--slate-300);
}

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

.footer-links a {
    font-size: 14px;
    color: var(--slate-400);
    transition: var(--transition);
}

.footer-links a:hover {
    color: var(--accent);
    padding-left: 6px;
}

.footer-contact li {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
    color: var(--slate-400);
}

.footer-contact li span:first-child {
    font-size: 16px;
    flex-shrink: 0;
}

.footer-bottom {
    padding: 20px 0;
    text-align: center;
    font-size: 13px;
    color: var(--slate-500);
}

/* ── Page Header (Breadcrumb) ── */
.page-header {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary), var(--secondary));
    padding: 120px 0 50px;
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 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");
}

.page-header .container { position: relative; z-index: 2; }

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

.breadcrumb {
    display: flex;
    gap: 8px;
    align-items: center;
    font-size: 14px;
}

.breadcrumb a {
    color: rgba(255,255,255,0.6);
}

.breadcrumb a:hover { color: white; }

.breadcrumb .separator {
    color: rgba(255,255,255,0.3);
}

.breadcrumb .current {
    color: var(--accent);
    font-weight: 500;
}

/* ── Content Page ── */
.content-section {
    padding: 60px 0;
}

.content-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--slate-100);
    margin-bottom: 24px;
}

.content-card h2 {
    font-size: 1.5rem;
    color: var(--slate-900);
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 2px solid var(--slate-100);
}

.content-card p {
    color: var(--slate-600);
    line-height: 1.9;
    margin-bottom: 12px;
}

/* ── Table ── */
.table-wrapper {
    overflow-x: auto;
    margin: 20px 0;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.data-table th {
    background: var(--primary);
    color: white;
    padding: 14px 16px;
    text-align: left;
    font-weight: 600;
    font-size: 13px;
    white-space: nowrap;
}

.data-table th:first-child { border-radius: var(--radius-sm) 0 0 0; }
.data-table th:last-child { border-radius: 0 var(--radius-sm) 0 0; }

.data-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--slate-100);
    color: var(--slate-700);
}

.data-table tr:hover td {
    background: var(--slate-50);
}

.data-table .badge {
    display: inline-block;
    padding: 4px 10px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 600;
}

.badge-success { background: rgba(16,185,129,0.1); color: #059669; }
.badge-warning { background: rgba(245,158,11,0.1); color: #D97706; }
.badge-danger { background: rgba(239,68,68,0.1); color: #DC2626; }
.badge-info { background: rgba(59,130,246,0.1); color: #2563EB; }
.badge-primary { background: rgba(6,78,59,0.08); color: var(--primary); }

/* ── Forms ── */
.form-group {
    margin-bottom: 20px;
}

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

.form-group label .required {
    color: var(--danger);
}

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--slate-200);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: var(--font-body);
    transition: var(--transition);
    background: white;
    color: var(--slate-800);
}

.form-control:focus {
    outline: none;
    border-color: var(--secondary);
    box-shadow: 0 0 0 3px rgba(13, 148, 136, 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='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%2364748B' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 12px center;
    background-size: 16px;
    padding-right: 40px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

/* ── Alert Messages ── */
.alert {
    padding: 14px 20px;
    border-radius: var(--radius);
    margin-bottom: 20px;
    font-size: 14px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    border: 1px solid;
}

.alert-success {
    background: rgba(16,185,129,0.06);
    border-color: rgba(16,185,129,0.15);
    color: #065F46;
}

.alert-danger {
    background: rgba(239,68,68,0.06);
    border-color: rgba(239,68,68,0.15);
    color: #991B1B;
}

.alert-warning {
    background: rgba(245,158,11,0.06);
    border-color: rgba(245,158,11,0.15);
    color: #92400E;
}

/* ── Tracking Result ── */
.tracking-result {
    background: white;
    border-radius: var(--radius-lg);
    padding: 30px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--slate-100);
}

.tracking-timeline {
    position: relative;
    padding-left: 30px;
}

.tracking-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--slate-200);
}

.timeline-item {
    position: relative;
    padding-bottom: 24px;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 4px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--slate-300);
    border: 2px solid white;
}

.timeline-item.active::before {
    background: var(--success);
    box-shadow: 0 0 0 4px rgba(16,185,129,0.15);
}

.timeline-item.current::before {
    background: var(--accent);
    box-shadow: 0 0 0 4px rgba(245,158,11,0.15);
    animation: pulse 2s infinite;
}

/* ── Struktur Org ── */
.org-chart {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.org-card {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px 30px;
    text-align: center;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--slate-100);
    min-width: 250px;
    transition: var(--transition);
}

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

.org-card .org-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    margin: 0 auto 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 28px;
    font-weight: 700;
    font-family: var(--font-primary);
}

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

.org-card .org-position {
    font-size: 13px;
    color: var(--secondary);
    font-weight: 600;
}

.org-card .org-nip {
    font-size: 12px;
    color: var(--slate-400);
    margin-top: 4px;
}

.org-row {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
}

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

/* ── SOP Section ── */
.sop-steps {
    display: grid;
    gap: 20px;
    counter-reset: sop;
}

.sop-step {
    background: white;
    border-radius: var(--radius-lg);
    padding: 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
    box-shadow: var(--shadow);
    border: 1px solid var(--slate-100);
    transition: var(--transition);
    counter-increment: sop;
}

.sop-step:hover {
    transform: translateX(8px);
    box-shadow: var(--shadow-lg);
}

.sop-step .step-number {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    flex-shrink: 0;
    font-family: var(--font-primary);
}

.sop-step h4 {
    font-size: 16px;
    color: var(--slate-800);
    margin-bottom: 6px;
}

.sop-step p {
    font-size: 14px;
    color: var(--slate-500);
    line-height: 1.7;
}

/* ── Pagination ── */
.pagination {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 40px;
}

.pagination a, .pagination span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 600;
    transition: var(--transition);
}

.pagination a {
    background: white;
    color: var(--slate-600);
    border: 1px solid var(--slate-200);
}

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

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

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

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-30px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.6; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ── Responsive ── */
@media (max-width: 1024px) {
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .info-cards { grid-template-columns: repeat(2, 1fr); }
    .berita-grid { grid-template-columns: repeat(2, 1fr); }
    .quick-links { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .sambutan-grid { grid-template-columns: 1fr; text-align: center; }
    .sambutan-photo { display: flex; justify-content: center; }
}

@media (max-width: 768px) {
    .navbar-menu { 
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(6, 78, 59, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 100px;
        padding-bottom: 40px;
        overflow-y: auto;
        gap: 8px;
        z-index: 999;
    }

    .navbar-menu.active { display: flex; }

    .navbar-menu a,
    .navbar-menu .dropdown > .dropdown-toggle {
        font-size: 18px;
        padding: 12px 24px;
        width: 100%;
        justify-content: center;
    }

    .dropdown {
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .dropdown-menu {
        display: none;
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(255,255,255,0.05);
        border: none;
        box-shadow: none;
        width: 100%;
        border-radius: var(--radius);
        margin-top: 8px;
    }

    .dropdown.open .dropdown-menu {
        display: block;
    }

    .dropdown-menu a { 
        color: rgba(255,255,255,0.7) !important; 
        font-size: 15px;
        padding: 10px 20px;
    }

    .menu-toggle { display: block; z-index: 1000; }
    .menu-close { display: block; position: absolute; top: 20px; right: 20px; }

    .hero h2 { font-size: 2rem; }
    .section { padding: 50px 0; }
    .stats-grid { grid-template-columns: 1fr 1fr; }
    .info-cards { grid-template-columns: 1fr; }
    .berita-grid { grid-template-columns: 1fr; }
    .quick-links { grid-template-columns: 1fr; }
    .footer-grid { grid-template-columns: 1fr; }
    .form-row { grid-template-columns: 1fr; }
    .content-card { padding: 24px; }
    .org-row { flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .stats-grid { grid-template-columns: 1fr; }
    .hero-buttons { flex-direction: column; }
    .hero-buttons .btn { width: 100%; justify-content: center; }
}
