/* ================================================================
   DINAS PERHUBUNGAN PROVINSI SULAWESI TENGAH
   Design System v2.0 - Corporate Premium
   ================================================================ */

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

/* === VARIABEL GLOBAL === */
:root {
    /* Warna Utama */
    --primary:       #0a2463;
    --primary-light: #1565C0;
    --accent:        #F59E0B;
    --accent-dark:   #D97706;

    /* Warna Netral */
    --dark:          #0F172A;
    --dark-card:     #1a253c;
    --text-body:     #374151;
    --text-muted:    #6B7280;
    --text-light:    #F1F5F9;
    --bg-body:       #F8FAFC;
    --bg-section:    #EFF6FF;
    --white:         #ffffff;
    --border:        #E2E8F0;

    /* Status */
    --success:  #059669;
    --danger:   #DC2626;
    --warning:  #D97706;
    --info:     #0284C7;

    /* Lain-lain */
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.08), 0 1px 2px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 16px rgba(0,0,0,0.10), 0 2px 6px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 40px rgba(0,0,0,0.12), 0 4px 12px rgba(0,0,0,0.08);
    --gradient-primary: linear-gradient(135deg, #0a2463 0%, #1565C0 100%);
    --gradient-accent:  linear-gradient(135deg, #F59E0B 0%, #EF4444 100%);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; font-size: 16px; }
body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    line-height: 1.7;
    color: var(--text-body);
    background-color: var(--bg-body);
    -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { text-decoration: none; color: inherit; }
ul { list-style: none; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 24px; }

/* ================================================================
   TOP BAR
   ================================================================ */
.top-bar {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 8px 0;
    font-size: 0.8rem;
    border-bottom: 2px solid var(--accent);
}
.top-bar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.top-bar-left, .top-bar-right {
    display: flex;
    align-items: center;
    gap: 20px;
}
.top-bar-left span, .top-bar-right a {
    color: rgba(255,255,255,0.75);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: color var(--transition);
}
.top-bar-right a:hover { color: var(--accent); }
.top-bar-right .btn-admin {
    background: var(--accent);
    color: var(--dark) !important;
    font-weight: 700;
    padding: 4px 14px;
    border-radius: 20px;
    font-size: 0.78rem;
    letter-spacing: 0.3px;
}
.top-bar-right .btn-admin:hover {
    background: var(--accent-dark);
    color: var(--white) !important;
}

/* ================================================================
   HEADER & NAVIGASI
   ================================================================ */
.main-header {
    background-color: var(--white);
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 999;
    box-shadow: 0 2px 12px rgba(10,36,99,0.10);
    border-bottom: 1px solid var(--border);
}
.navbar { display: flex; justify-content: space-between; align-items: center; gap: 20px; }

/* Logo */
.logo { display: flex; align-items: center; gap: 14px; flex-shrink: 0; }
.logo img { height: 52px; }
.logo-text h1 {
    font-size: 1.05rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
}
.logo-text p {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.2px;
}

/* Search */
.header-search { flex-grow: 1; max-width: 300px; margin: 0 20px; }
.header-search form { position: relative; }
.header-search input {
    width: 100%;
    padding: 9px 44px 9px 18px;
    border: 1.5px solid var(--border);
    background: var(--bg-body);
    border-radius: 50px;
    font-family: inherit;
    font-size: 0.88rem;
    transition: all var(--transition);
}
.header-search input:focus {
    outline: none;
    border-color: var(--primary-light);
    background: var(--white);
    box-shadow: 0 0 0 4px rgba(21,101,192,0.1);
}
.header-search button {
    position: absolute;
    right: 6px;
    top: 50%;
    transform: translateY(-50%);
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.82rem;
    transition: opacity var(--transition);
}
.header-search button:hover { opacity: 0.85; }

/* Nav Links */
.nav-links { display: flex; gap: 6px; align-items: center; }
.nav-links li { position: relative; }
.nav-links > li > a {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 8px 14px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--dark);
    letter-spacing: 0.4px;
    border-radius: var(--radius-sm);
    transition: all var(--transition);
    white-space: nowrap;
}
.nav-links > li > a:hover, .nav-links > li > a.active {
    color: var(--primary);
    background: var(--bg-section);
}
.nav-links > li > a.active { color: var(--primary-light); }

/* Dropdown */
.nav-links .dropdown a i { font-size: 0.65em; transition: transform var(--transition); }
.dropdown-menu {
    display: none;
    position: absolute;
    top: calc(100% + 8px);
    left: 0;
    background: var(--white);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
    padding: 8px;
    min-width: 220px;
    border: 1px solid var(--border);
    animation: fadeDown 0.25s ease-out;
}
@keyframes fadeDown { from { opacity:0; transform:translateY(-8px); } to { opacity:1; transform:translateY(0); } }
.dropdown-menu li a {
    padding: 10px 16px;
    display: block;
    border-radius: var(--radius-sm);
    font-size: 0.88rem;
    font-weight: 500;
    color: var(--text-body);
    transition: all var(--transition);
}
.dropdown-menu li a:hover { background: var(--bg-section); color: var(--primary); }
@media (min-width: 993px) {
    .dropdown:hover > .dropdown-menu { display: block; }
    .dropdown:hover > a i { transform: rotate(180deg); }
}

/* Hamburger */
.hamburger-menu {
    display: none;
    background: none;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    padding: 6px 10px;
    font-size: 1.3rem;
    color: var(--primary);
    cursor: pointer;
    z-index: 1001;
    transition: all var(--transition);
}
.hamburger-menu:hover { background: var(--bg-section); }

/* ================================================================
   HERO SLIDER
   ================================================================ */
.simple-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden;
    background: var(--dark);
    max-height: 580px;
}
.simple-slider-track { display: flex; transition: transform 0.6s cubic-bezier(0.45, 0, 0.55, 1); }
.simple-slide {
    min-width: 100%;
    position: relative;
}
.simple-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 16/5.5;
    object-fit: cover;
    display: block;
    opacity: 0.82;
}
.simple-slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 30px 20px;
    background: linear-gradient(to right, rgba(10,36,99,0.72) 0%, rgba(10,36,99,0.3) 60%, transparent 100%);
    color: var(--white);
}
.simple-slide-content h2 {
    font-size: 2.4rem;
    font-weight: 800;
    text-shadow: 0 2px 8px rgba(0,0,0,0.5);
    line-height: 1.2;
    margin-bottom: 12px;
}
.simple-slide-content p {
    font-size: 1.1rem;
    opacity: 0.92;
    text-shadow: 0 1px 4px rgba(0,0,0,0.5);
    max-width: 600px;
}

/* Slider Dots */
.slider-dots {
    position: absolute;
    bottom: 16px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}
.slider-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.45);
    border: none; cursor: pointer;
    transition: all var(--transition);
    padding: 0;
}
.slider-dot.active { background: var(--accent); width: 24px; border-radius: 4px; }

/* Navigasi Button */
.slider-btn-simple {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.18);
    backdrop-filter: blur(6px);
    color: var(--white);
    border: 1.5px solid rgba(255,255,255,0.35);
    border-radius: 50%;
    width: 48px; height: 48px;
    font-size: 1rem;
    cursor: pointer;
    z-index: 10;
    transition: all var(--transition);
    display: flex; align-items: center; justify-content: center;
}
.slider-btn-simple:hover { background: rgba(255,255,255,0.32); transform: translateY(-50%) scale(1.08); }
.slider-btn-simple.prev { left: 20px; }
.slider-btn-simple.next { right: 20px; }

/* ================================================================
   STATS COUNTER SECTION
   ================================================================ */
.stats-strip {
    background: var(--gradient-primary);
    padding: 42px 0;
    position: relative;
    overflow: hidden;
}
.stats-strip::before {
    content: '';
    position: absolute;
    top: -60px; right: -60px;
    width: 220px; height: 220px;
    background: rgba(255,255,255,0.06);
    border-radius: 50%;
}
.stats-strip::after {
    content: '';
    position: absolute;
    bottom: -80px; left: -40px;
    width: 280px; height: 280px;
    background: rgba(255,255,255,0.04);
    border-radius: 50%;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    position: relative; z-index: 1;
}
.stat-item {
    text-align: center;
    color: var(--white);
    padding: 20px 10px;
    border-right: 1px solid rgba(255,255,255,0.15);
}
.stat-item:last-child { border-right: none; }
.stat-icon {
    font-size: 2.2rem;
    color: var(--accent);
    margin-bottom: 12px;
}
.stat-number {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1;
    color: var(--white);
    display: block;
}
.stat-suffix {
    font-size: 2rem;
    font-weight: 800;
    color: var(--accent);
}
.stat-label {
    font-size: 0.88rem;
    opacity: 0.82;
    margin-top: 6px;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* ================================================================
   SECTION UMUM
   ================================================================ */
.section { padding: 90px 0; }
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-label {
    display: inline-block;
    background: rgba(21,101,192,0.1);
    color: var(--primary-light);
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 18px;
    border-radius: 20px;
    margin-bottom: 14px;
}
.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1.2;
    margin-bottom: 14px;
}
.section-title span { color: var(--accent); }
.section-subtitle {
    font-size: 1rem;
    color: var(--text-muted);
    max-width: 540px;
    margin: 0 auto;
}

/* ================================================================
   LAYANAN UNGGULAN
   ================================================================ */
.featured-services { padding: 90px 0; background: var(--bg-body); }
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 28px;
}
.service-card {
    background: var(--white);
    border-radius: var(--radius-md);
    padding: 36px 28px;
    box-shadow: var(--shadow-sm);
    border: 1.5px solid var(--border);
    border-top: 4px solid var(--primary);
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.service-card:nth-child(2) { border-top-color: #059669; }
.service-card:nth-child(3) { border-top-color: #7C3AED; }
.service-card:nth-child(4) { border-top-color: var(--accent); }
.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition);
    border-radius: inherit;
    z-index: 0;
}
.service-card:hover::after { opacity: 1; }
.service-card > * { position: relative; z-index: 1; }
.service-icon {
    width: 64px; height: 64px;
    background: var(--bg-section);
    border-radius: var(--radius-sm);
    display: flex; align-items: center; justify-content: center;
    font-size: 1.7rem;
    color: var(--primary);
    margin-bottom: 22px;
    transition: all var(--transition);
}
.service-card:nth-child(2) .service-icon { background: #ECFDF5; color: #059669; }
.service-card:nth-child(3) .service-icon { background: #F5F3FF; color: #7C3AED; }
.service-card:nth-child(4) .service-icon { background: #FFFBEB; color: var(--accent); }
.service-card:hover .service-icon { background: rgba(255,255,255,0.2); color: var(--white); }
.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 12px;
    transition: color var(--transition);
}
.service-card:hover h3 { color: var(--white); }
.service-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 22px;
    transition: color var(--transition);
    line-height: 1.65;
}
.service-card:hover p { color: rgba(255,255,255,0.85); }
.service-card a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-weight: 700;
    font-size: 0.88rem;
    color: var(--primary-light);
    transition: all var(--transition);
}
.service-card:hover a { color: var(--accent); }

/* ================================================================
   BIDANG & UPTD
   ================================================================ */
.section-structure {
    padding: 90px 0;
    background-color: var(--dark-card);
    position: relative;
    overflow: hidden;
}
.section-structure::before {
    content: '';
    position: absolute;
    top: -100px; right: -100px;
    width: 400px; height: 400px;
    background: radial-gradient(circle, rgba(245,158,11,0.08) 0%, transparent 70%);
}
.section-structure .section-header .section-label {
    background: rgba(245,158,11,0.15);
    color: var(--accent);
}
.section-structure .section-title { color: var(--white); }
.section-structure .section-subtitle { color: rgba(255,255,255,0.55); }

.structure-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 50px;
}
.tab-link {
    padding: 11px 32px;
    font-size: 0.92rem;
    font-weight: 700;
    color: rgba(255,255,255,0.6);
    background: rgba(255,255,255,0.07);
    border: 1.5px solid rgba(255,255,255,0.12);
    border-radius: 50px;
    cursor: pointer;
    font-family: inherit;
    transition: all var(--transition);
}
.tab-link:hover { color: var(--white); background: rgba(255,255,255,0.12); }
.tab-link.active {
    background: var(--gradient-primary);
    color: var(--white);
    border-color: transparent;
    box-shadow: 0 4px 20px rgba(21,101,192,0.4);
}
.tab-content { display: none; animation: fadeIn 0.5s ease; }
.tab-content.active { display: block; }
@keyframes fadeIn { from { opacity:0; transform:translateY(16px); } to { opacity:1; transform:translateY(0); } }

.structure-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
    gap: 24px;
}
.structure-card {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 30px;
    border-radius: var(--radius-md);
    text-align: center;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
.structure-card:hover {
    background: rgba(255,255,255,0.09);
    border-color: rgba(245,158,11,0.35);
    transform: translateY(-6px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.3);
}
.structure-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 3px;
    background: var(--gradient-accent);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.structure-card:hover::before { transform: scaleX(1); }
.structure-icon {
    font-size: 2.6rem;
    margin-bottom: 18px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    display: block;
}
.structure-card h4 {
    font-size: 1.05rem;
    color: var(--white);
    margin-bottom: 12px;
    font-weight: 700;
    min-height: 44px;
}
.structure-card p { color: rgba(255,255,255,0.5); font-size: 0.87rem; line-height: 1.65; }

/* ================================================================
   BERITA TERKINI
   ================================================================ */
.news-section {
    padding: 90px 0;
    background: var(--bg-section);
}
.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 28px;
}
.news-card {
    background: var(--white);
    border-radius: var(--radius-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: all var(--transition);
    display: flex;
    flex-direction: column;
}
.news-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.news-card-img-container {
    position: relative;
    height: 210px;
    overflow: hidden;
    background: var(--bg-section);
}
.news-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.news-card:hover img { transform: scale(1.06); }
.news-card-badge {
    position: absolute;
    top: 14px; left: 14px;
    background: var(--accent);
    color: var(--dark);
    font-size: 0.72rem;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 20px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.news-content { padding: 24px; flex-grow: 1; display: flex; flex-direction: column; }
.news-meta {
    font-size: 0.8rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
}
.news-meta i { color: var(--primary-light); }
.news-content h3 {
    font-size: 1.07rem;
    font-weight: 700;
    margin-bottom: 14px;
    flex-grow: 1;
    line-height: 1.5;
}
.news-content h3 a { color: var(--primary); transition: color var(--transition); }
.news-content h3 a:hover { color: var(--primary-light); }
.read-more {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--primary-light);
    margin-top: auto;
    transition: gap var(--transition);
}
.read-more:hover { gap: 10px; }

/* Section "Lihat Semua" button */
.section-action {
    text-align: center;
    margin-top: 48px;
}
.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 13px 32px;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    transition: all var(--transition);
}
.btn-outline:hover {
    background: var(--primary);
    color: var(--white);
}

/* ================================================================
   CTA SECTION
   ================================================================ */
.cta-section {
    padding: 80px 0;
    background: var(--gradient-primary);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.cta-section::before, .cta-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255,255,255,0.06);
}
.cta-section::before { width: 300px; height: 300px; top:-100px; left:-80px; }
.cta-section::after  { width: 400px; height: 400px; bottom:-150px; right:-100px; }
.cta-inner { position: relative; z-index: 1; }
.cta-section h2 {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 14px;
}
.cta-section p {
    font-size: 1rem;
    color: rgba(255,255,255,0.8);
    margin-bottom: 36px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}
.cta-buttons { display: flex; justify-content: center; gap: 16px; flex-wrap: wrap; }
.btn-white {
    background: var(--white);
    color: var(--primary);
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.btn-white:hover { background: var(--accent); color: var(--dark); transform: translateY(-3px); }
.btn-outline-white {
    background: transparent;
    color: var(--white);
    padding: 13px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.92rem;
    border: 2px solid rgba(255,255,255,0.6);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all var(--transition);
}
.btn-outline-white:hover { background: rgba(255,255,255,0.15); border-color: var(--white); }

/* ================================================================
   FOOTER
   ================================================================ */
.main-footer {
    background-color: var(--dark);
    color: var(--text-light);
    padding: 70px 0 0 0;
    position: relative;
}
.main-footer::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary) 0%, var(--accent) 50%, var(--primary) 100%);
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand .footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 18px;
}
.footer-brand .footer-logo img { height: 48px; }
.footer-brand .footer-logo-text h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1.2;
}
.footer-brand .footer-logo-text p {
    font-size: 0.72rem;
    color: rgba(255,255,255,0.5);
}
.footer-brand > p {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    line-height: 1.8;
    margin-bottom: 20px;
}
.footer-contact-info { display: flex; flex-direction: column; gap: 10px; }
.footer-contact-info li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.87rem;
    color: rgba(255,255,255,0.6);
}
.footer-contact-info li i { color: var(--accent); margin-top: 3px; }

.footer-col h4 {
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 22px;
    position: relative;
    padding-bottom: 12px;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}
.footer-col h4::after {
    content: '';
    position: absolute;
    bottom: 0; left: 0;
    width: 32px; height: 2px;
    background: var(--accent);
    border-radius: 2px;
}
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul li a {
    font-size: 0.88rem;
    color: rgba(255,255,255,0.55);
    transition: all var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-col ul li a::before {
    content: '›';
    font-size: 1.1rem;
    color: var(--accent);
    opacity: 0;
    transition: opacity var(--transition);
}
.footer-col ul li a:hover { color: var(--white); padding-left: 4px; }
.footer-col ul li a:hover::before { opacity: 1; }

/* Social Media */
.social-links { display: flex; gap: 12px; margin-top: 4px; }
.social-links a {
    width: 42px; height: 42px;
    border-radius: 50%;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.14);
    color: var(--white);
    display: flex; align-items: center; justify-content: center;
    font-size: 1rem;
    transition: all var(--transition);
}
.social-links a:hover { transform: translateY(-4px); }
.social-links .social-instagram:hover { background: #d62976; border-color: #d62976; box-shadow: 0 4px 20px rgba(214,41,118,0.45); }
.social-links .social-facebook:hover  { background: #1877F2; border-color: #1877F2; box-shadow: 0 4px 20px rgba(24,119,242,0.45); }
.social-links .social-youtube:hover   { background: #FF0000; border-color: #FF0000; box-shadow: 0 4px 20px rgba(255,0,0,0.45); }

/* Copyright */
.copyright {
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}
.copyright p {
    font-size: 0.83rem;
    color: rgba(255,255,255,0.35);
}
.copyright a { color: var(--accent); }

/* ================================================================
   HALAMAN INTERNAL (page-header, visi-misi, dll)
   ================================================================ */
.page-header {
    background: var(--gradient-primary);
    padding: 60px 0;
    color: var(--white);
    text-align: center;
    position: relative;
    overflow: hidden;
}
.page-header::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%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; }
.page-header h1 {
    font-size: 2.4rem;
    font-weight: 800;
    margin-bottom: 8px;
}
.page-header p {
    font-size: 1rem;
    opacity: 0.8;
}
.breadcrumb {
    display: flex;
    justify-content: center;
    gap: 8px;
    align-items: center;
    font-size: 0.85rem;
    margin-top: 12px;
    color: rgba(255,255,255,0.65);
}
.breadcrumb a { color: rgba(255,255,255,0.75); }
.breadcrumb a:hover { color: var(--accent); }
.breadcrumb-sep { color: rgba(255,255,255,0.4); }

.main-content { padding: 80px 0; }
.page-content {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
}
.visi-misi-container { display: grid; grid-template-columns: 1fr 1.5fr; gap: 40px; align-items: flex-start; }
.card-visi { background: var(--gradient-primary); color: var(--white); padding: 40px; border-radius: var(--radius-md); }
.card-misi li { display: flex; align-items: flex-start; gap: 14px; margin-bottom: 20px; }
.card-misi li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--success); font-size: 1.3rem; margin-top: 2px; }

/* Pagination */
.pagination { display: flex; justify-content: center; margin-top: 40px; gap: 6px; }
.pagination a {
    padding: 9px 15px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--primary);
    font-size: 0.88rem;
    font-weight: 600;
    transition: all var(--transition);
}
.pagination a.current, .pagination a:hover {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
}

/* Berita Detail */
.berita-detail-header .meta-info { color: var(--text-muted); display: flex; gap: 20px; flex-wrap: wrap; margin-top: 8px; }
.berita-detail-img { width: 100%; max-height: 450px; object-fit: cover; border-radius: var(--radius-md); margin-bottom: 30px; }
.berita-detail-content { line-height: 1.9; font-size: 1.05rem; }

/* Search */
.search-results-summary { margin-bottom: 28px; border-bottom: 1px solid var(--border); padding-bottom: 14px; }
.search-result-item { padding-bottom: 22px; border-bottom: 1px solid #f0f0f0; margin-bottom: 22px; }
.search-result-item h3 a { color: var(--primary); }
.highlight { background-color: rgba(245,158,11,0.25); padding: 2px 5px; border-radius: 4px; }

/* ================================================================
   FORM PENGADUAN & CEK STATUS
   ================================================================ */
.form-wrapper-modern {
    background: var(--white);
    padding: 36px 44px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    max-width: 800px;
    margin: 40px auto;
    border-top: 4px solid var(--primary);
}
.form-header-modern { text-align: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid var(--border); }
.step-indicator { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; padding: 0 8%; }
.step { text-align: center; color: #ccc; flex-shrink: 0; }
.step.active  { color: var(--primary); }
.step.completed { color: var(--success); }
.step-icon { width: 50px; height: 50px; border: 2px solid; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; margin: 0 auto 10px; }
.step.active .step-icon    { border-color: var(--primary); background: var(--bg-section); }
.step.completed .step-icon { border-color: var(--success); background: #ECFDF5; }
.step p { font-weight: 600; font-size: 0.88rem; }
.step-line { flex-grow: 1; height: 3px; background: #ddd; margin: 0 12px; position: relative; top: 25px; border-radius: 2px; }
.step-line.completed { background: var(--success); }
.form-step { display: none; animation: fadeIn 0.5s ease; }
.form-step.active { display: block; }
.form-group { margin-bottom: 22px; position: relative; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.modern-form label { display: block; margin-bottom: 8px; font-weight: 600; font-size: 0.9rem; }
.modern-form input, .modern-form textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 0.95rem;
    font-family: inherit;
    transition: all var(--transition);
}
.modern-form input:focus, .modern-form textarea:focus {
    outline: none;
    border-color: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(21,101,192,0.1);
}
.form-navigation { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; border-top: 1px solid var(--border); padding-top: 22px; }
.btn-next, .btn-prev, .btn-submit-modern { padding: 11px 28px; border: none; border-radius: var(--radius-sm); font-weight: 700; cursor: pointer; font-family: inherit; font-size: 0.92rem; }
.btn-prev { background: #f1f5f9; color: var(--text-body); }
.btn-next { background: var(--gradient-primary); color: var(--white); }
.btn-submit-modern { background: var(--success); color: var(--white); }
.error-message { color: var(--danger); font-size: 0.82rem; display: none; margin-top: 5px; }
input.invalid, textarea.invalid { border-color: var(--danger) !important; }
.summary-box li { padding: 10px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; }
.message-box { padding: 18px 22px; border-radius: var(--radius-sm); margin-bottom: 22px; border-left: 4px solid; }
.message-box.success { background: #ECFDF5; border-color: var(--success); }
.message-box.error   { background: #FEF2F2; border-color: var(--danger); }
.ticket-code { background: var(--gradient-primary); color: var(--white); padding: 10px 20px; text-align: center; border-radius: var(--radius-sm); margin: 14px 0; font-weight: 700; letter-spacing: 2px; }
.check-status-form { display: flex; gap: 10px; margin-top: 20px; }
.check-status-form input { flex-grow: 1; padding: 13px 18px; border: 1.5px solid var(--border); border-radius: var(--radius-sm); font-size: 1rem; font-family: inherit; }
.check-status-form button { padding: 0 26px; background: var(--gradient-primary); color: var(--white); border: none; cursor: pointer; border-radius: var(--radius-sm); font-weight: 700; font-size: 0.92rem; }
.complaint-summary { background: var(--bg-section); padding: 24px; border-radius: var(--radius-sm); margin-bottom: 36px; border-left: 4px solid var(--primary-light); }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px 28px; }
.status-badge { padding: 5px 14px; border-radius: 20px; font-size: 0.82rem; font-weight: 600; color: var(--white); width: fit-content; }
.status-badge.dikirim  { background: var(--info); }
.status-badge.diproses { background: var(--warning); }
.status-badge.selesai  { background: var(--success); }
.status-badge.ditolak  { background: var(--danger); }
.timeline-wrapper { max-width: 800px; margin: 0 auto; }
.timeline { position: relative; padding-left: 28px; border-left: 3px solid var(--border); }
.timeline-item { position: relative; margin-bottom: 28px; }
.timeline-icon { position: absolute; left: -46px; top: 0; width: 40px; height: 40px; background: var(--gradient-primary); color: var(--white); border-radius: 50%; display: flex; align-items: center; justify-content: center; }
.timeline-content { background: var(--white); padding: 20px; border-radius: var(--radius-sm); box-shadow: var(--shadow-sm); border: 1px solid var(--border); }

/* ================================================================
   PPID
   ================================================================ */
.ppid-intro { text-align: center; max-width: 780px; margin: 0 auto 56px; }
.ppid-intro h2 { font-size: 2rem; color: var(--primary); margin-bottom: 14px; font-weight: 800; }
.ppid-intro p { color: var(--text-muted); }
.ppid-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 28px; }
.ppid-card {
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-md);
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-sm);
    transition: all var(--transition);
}
.ppid-card:hover { transform: translateY(-7px); box-shadow: var(--shadow-lg); border-color: var(--primary-light); }
.ppid-icon { font-size: 3rem; margin-bottom: 18px; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.ppid-content h3 { font-size: 1.2rem; color: var(--primary); margin-bottom: 12px; font-weight: 700; }
.ppid-content p { color: var(--text-muted); flex-grow: 1; margin-bottom: 22px; font-size: 0.9rem; }
.btn-ppid { display: inline-block; width: fit-content; padding: 10px 22px; background: transparent; border: 2px solid var(--primary-light); color: var(--primary-light); border-radius: 50px; font-weight: 700; font-size: 0.88rem; transition: all var(--transition); margin-top: auto; }
.ppid-card:hover .btn-ppid { background: var(--gradient-primary); color: var(--white); border-color: transparent; }
.ppid-card.highlight { background: var(--gradient-primary); border-color: var(--primary); }
.ppid-card.highlight .ppid-icon, .ppid-card.highlight .ppid-content h3, .ppid-card.highlight .ppid-content p { color: var(--white) !important; background: none; -webkit-text-fill-color: initial; }
.ppid-card.highlight .btn-ppid { background: var(--accent); border-color: var(--accent); color: var(--dark); }
.ppid-card-link { text-decoration: none; color: inherit; }

/* Accordion */
.accordion-container { max-width: 880px; margin: 0 auto; display: flex; flex-direction: column; gap: 14px; }
.accordion-item { background: var(--white); border: 1.5px solid var(--border); border-radius: var(--radius-md); overflow: hidden; transition: all var(--transition); }
.accordion-item:hover { box-shadow: var(--shadow-md); border-color: var(--primary-light); }
.accordion-header { width: 100%; padding: 20px 24px; display: flex; justify-content: space-between; align-items: center; background: transparent; border: none; cursor: pointer; text-align: left; font-size: 1.05rem; font-weight: 700; color: var(--primary); font-family: inherit; }
.accordion-icon { color: var(--primary-light); transition: transform 0.4s ease; }
.accordion-item.active .accordion-icon { transform: rotate(180deg); }
.accordion-content { max-height: 0; overflow: hidden; transition: max-height 0.4s ease, padding 0.4s ease; padding: 0 24px; }
.accordion-content p { margin-bottom: 18px; color: var(--text-body); }

/* PDF Modal */
.pdf-modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.72); backdrop-filter: blur(6px); z-index: 9999; display: none; opacity: 0; align-items: center; justify-content: center; transition: opacity 0.3s ease; }
.pdf-modal-overlay.show { display: flex; opacity: 1; }
.pdf-modal-content { background: var(--white); width: 82%; height: 90vh; max-width: 920px; border-radius: var(--radius-md); box-shadow: var(--shadow-lg); position: relative; padding: 14px; transform: scale(0.92); transition: transform 0.3s ease; }
.pdf-modal-overlay.show .pdf-modal-content { transform: scale(1); }
.pdf-modal-close { position: absolute; top: -16px; right: -16px; width: 40px; height: 40px; background: var(--white); border: none; border-radius: 50%; font-size: 1.8rem; line-height: 1; color: var(--primary); cursor: pointer; display: flex; align-items: center; justify-content: center; box-shadow: var(--shadow-md); transition: all var(--transition); }
.pdf-modal-close:hover { background: var(--danger); color: var(--white); transform: scale(1.1) rotate(90deg); }
#pdfViewer { width: 100%; height: 100%; border: none; border-radius: 8px; }
body.modal-open { overflow: hidden; }

/* ================================================================
   PROFIL PEGAWAI
   ================================================================ */
.profile-search-container { margin-bottom: 36px; }
#profileSearch { width: 100%; padding: 14px 20px; font-size: 1rem; border-radius: 50px; border: 1.5px solid var(--border); background: var(--white); font-family: inherit; transition: all var(--transition); }
#profileSearch:focus { outline: none; border-color: var(--primary-light); box-shadow: 0 0 0 4px rgba(21,101,192,0.1); }
.profile-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(340px, 1fr)); gap: 22px; }
.profile-card { background: var(--dark-card); border-radius: var(--radius-md); padding: 22px; position: relative; overflow: hidden; transition: transform var(--transition); display: flex; align-items: center; gap: 20px; border: 1px solid rgba(255,255,255,0.07); }
.profile-card:hover { transform: translateY(-5px) scale(1.015); box-shadow: var(--shadow-lg); }
.profile-card-border { content: ''; position: absolute; top: 50%; left: 50%; width: 200%; height: 200%; z-index: 1; background: conic-gradient(from 0deg, transparent 0%, var(--primary-light) 10%, transparent 25%); animation: rotate-border 6s linear infinite; }
@keyframes rotate-border { from { transform: translate(-50%, -50%) rotate(0deg); } to { transform: translate(-50%, -50%) rotate(360deg); } }
.profile-card::after { content: ''; position: absolute; top: 2px; left: 2px; right: 2px; bottom: 2px; background: var(--dark-card); border-radius: calc(var(--radius-md) - 2px); z-index: 2; }
.profile-card-img { position: relative; z-index: 3; width: 78px; height: 78px; flex-shrink: 0; }
.profile-card-img img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 3px solid var(--white); box-shadow: 0 0 14px rgba(21,101,192,0.4); }
.profile-card-content { position: relative; z-index: 3; text-align: left; flex-grow: 1; }
.profile-name  { color: var(--white); font-size: 1.05rem; font-weight: 700; margin-bottom: 4px; }
.profile-jabatan { color: var(--accent); font-weight: 600; font-size: 0.87rem; margin-bottom: 6px; }
.profile-nip { color: rgba(255,255,255,0.45); font-size: 0.78rem; font-family: monospace; }

/* ================================================================
   NAVIGASI DROPDOWN (MOBILE)
   ================================================================ */
@media (max-width: 992px) {
    .header-search { display: none; }
    .nav-links { display: none; }
    .hamburger-menu { display: flex; }
    .nav-menu-wrapper {
        position: fixed;
        top: 0; right: -100%;
        width: 75%; max-width: 300px;
        height: 100vh;
        background: var(--white);
        box-shadow: var(--shadow-lg);
        padding-top: 70px;
        transition: right 0.4s cubic-bezier(0.4, 0, 0.2, 1);
        z-index: 1000;
        overflow-y: auto;
    }
    .nav-menu-wrapper.active { right: 0; }
    .nav-menu-wrapper .nav-links {
        display: flex;
        flex-direction: column;
        gap: 0;
    }
    .nav-menu-wrapper .nav-links li { width: 100%; }
    .nav-menu-wrapper .nav-links > li > a {
        padding: 16px 24px;
        border-radius: 0;
        border-bottom: 1px solid var(--border);
        font-size: 0.95rem;
    }
    .dropdown-menu {
        display: none;
        position: static;
        box-shadow: none;
        border: none;
        border-radius: 0;
        margin: 0;
        padding-left: 20px;
        min-width: 100%;
        background: var(--bg-section);
        animation: none;
    }
    .dropdown-menu.show { display: block; }
    .dropdown > a { justify-content: space-between; }
    .visi-misi-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .top-bar .container { flex-direction: column; gap: 6px; text-align: center; }
    .stats-grid { grid-template-columns: repeat(2, 1fr); }
    .stat-item { border-right: none; border-bottom: 1px solid rgba(255,255,255,0.12); }
    .stat-item:nth-child(2n) { border-right: none; }
    .stat-item:last-child, .stat-item:nth-last-child(2) { border-bottom: none; }
    .section, .featured-services, .news-section, .section-structure { padding: 64px 0; }
    .section-title { font-size: 1.8rem; }
    .footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .footer-col { text-align: center; }
    .footer-col ul li a { justify-content: center; }
    .social-links { justify-content: center; }
    .copyright { flex-direction: column; text-align: center; }
    .form-wrapper-modern, .page-content { padding: 24px 18px; }
    .form-grid, .summary-grid { grid-template-columns: 1fr; }
    .step p { display: none; }
    .check-status-form { flex-direction: column; }
    .simple-slide img { aspect-ratio: 16/7; }
    .simple-slide-content h2 { font-size: 1.5rem; }
    .simple-slide-content p { font-size: 0.9rem; }
    .cta-section h2 { font-size: 1.6rem; }
    .profile-grid { grid-template-columns: 1fr; }
}

@media (max-width: 500px) {
    .stats-grid { grid-template-columns: 1fr; }
    .stat-item { border-bottom: 1px solid rgba(255,255,255,0.12); border-right: none; }
    .profile-card { flex-direction: column; text-align: center; }
    .profile-card-content { text-align: center; }
    .simple-slide-content p { display: none; }
}