/* /assets/css/style.css (VERSI FINAL - SEMUA FITUR LENGKAP) */

/* === IMPORT FONT & VARIABEL GLOBAL === */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500;700&display=swap');

:root {
    --primary-color: #0d47a1; --secondary-color: #1e88e5; --accent-color: #ffab00;
    --text-color: #34495e; --text-light: #ecf0f1; --bg-light: #f4f6f9; --white: #ffffff;
    --success: #27ae60; --danger: #c0392b; --border-radius: 12px;
    --shadow-light: 0 4px 15px rgba(0, 0, 0, 0.05); --shadow-medium: 0 8px 30px rgba(0, 0, 0, 0.1);
    --gradient-primary: linear-gradient(45deg, var(--secondary-color), var(--primary-color));
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; line-height: 1.7; color: var(--text-color); background-color: var(--bg-light); -webkit-font-smoothing: antialiased; }
.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* === HEADER & NAVIGASI === */
.main-header { background-color: rgba(255, 255, 255, 0.8); backdrop-filter: blur(10px); border-bottom: 1px solid rgba(0,0,0,0.05); padding: 15px 0; position: sticky; top: 0; z-index: 1000; }
.navbar { display: flex; justify-content: space-between; align-items: center; }
.logo { display: flex; align-items: center; text-decoration: none; }
.logo img { height: 50px; margin-right: 15px; }
.logo-text h1 { font-size: 1.2rem; color: var(--primary-color); }
.logo-text p { font-size: 0.8rem; }
.nav-links { list-style: none; display: flex; gap: 35px; }
.nav-links a { text-decoration: none; color: var(--primary-color); font-weight: 600; position: relative; padding-bottom: 5px; }
.nav-links a::after { content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px; background: var(--accent-color); transition: width 0.3s ease; }
.nav-links a:hover::after, .nav-links a.active::after { width: 100%; }
.header-search { flex-grow: 1; max-width: 350px; margin: 0 30px; }
.header-search form { position: relative; }
.header-search input { width: 100%; padding: 10px 40px 10px 20px; border: 1px solid transparent; background: #edf2f7; border-radius: 50px; }
.header-search input:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.1); background: var(--white); }
.header-search button { position: absolute; right: 5px; top: 50%; transform: translateY(-50%); background: var(--primary-color); color: var(--white); border: none; border-radius: 50%; width: 32px; height: 32px; cursor: pointer; display: flex; align-items: center; justify-content: center; }
.hamburger-menu { display: none; }

/* /assets/css/style.css (Ganti semua CSS slider sebelumnya dengan ini) */

/* === SLIDER GAMBAR SEDERHANA & RESPONSIVE === */
.simple-slider-container {
    position: relative;
    width: 100%;
    overflow: hidden; /* Sembunyikan slide yang di luar container */
    border-radius: var(--border-radius);
    margin: 40px 0; /* Beri jarak atas dan bawah */
    box-shadow: var(--shadow-medium);
}

.simple-slider-track {
    display: flex; /* Buat semua slide berjajar horizontal */
    transition: transform 0.5s ease-in-out; /* Animasi geser */
}

.simple-slide {
    min-width: 100%;
    position: relative;
}

.simple-slide img {
    display: block;
    width: 100%;
    height: auto; /* Tinggi gambar menyesuaikan lebar agar tidak terdistorsi */
    aspect-ratio: 16 / 9; /* Jaga rasio aspek gambar (opsional, sesuaikan) */
    object-fit: cover; /* Pastikan gambar mengisi area tanpa distorsi */
}

.simple-slide-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 40px;
    color: var(--white);
    text-align: center;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
    z-index: 2;
}

.simple-slide-content h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.7);
}
.simple-slide-content p {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Tombol Navigasi */
.slider-btn-simple {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0,0,0,0.4);
    color: white;
    border: none;
    border-radius: 50%;
    width: 45px;
    height: 45px;
    font-size: 1.2rem;
    cursor: pointer;
    z-index: 10;
    transition: background-color 0.3s;
}
.slider-btn-simple:hover {
    background-color: rgba(0,0,0,0.6);
}
.slider-btn-simple.prev { left: 15px; }
.slider-btn-simple.next { right: 15px; }

/* --- Penyesuaian Responsif untuk Slider Sederhana --- */
@media (max-width: 768px) {
    .simple-slide-content {
        padding: 20px;
    }
    .simple-slide-content h1 {
        font-size: 1.8rem;
    }
    .simple-slide-content p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .simple-slide-content p {
        display: none; /* Sembunyikan paragraf di layar sangat kecil */
    }
}
/* === SECTION UMUM === */
.section, .featured-services, .news-section, .section-structure { padding: 80px 0; }
.section-title { font-size: 2.5rem; color: var(--primary-color); margin-bottom: 60px; text-align: center; position: relative; }
.section-title::after { content: ''; width: 80px; height: 4px; background: var(--gradient-primary); position: absolute; bottom: -20px; left: 50%; transform: translateX(-50%); border-radius: 2px; }

/* === LAYANAN UNGGULAN === */
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(270px, 1fr)); gap: 30px; }
.service-card { background: var(--white); padding: 35px; border-radius: var(--border-radius); box-shadow: var(--shadow-light); text-align: center; transition: all 0.4s ease; position: relative; overflow: hidden; z-index: 1; }
.service-card::before { content: ''; position: absolute; top: -50%; left: -50%; width: 100%; height: 100%; background: var(--gradient-primary); transform-origin: bottom right; transform: rotate(-90deg); transition: transform 0.5s ease; z-index: -1; }
.service-card:hover { transform: translateY(-10px); box-shadow: var(--shadow-medium); color: var(--white); }
.service-card:hover::before { transform: rotate(0deg); }
.service-card .icon { font-size: 3.5rem; color: var(--primary-color); margin-bottom: 20px; transition: color 0.4s ease; }
.service-card:hover .icon { color: var(--white); }
.service-card h3, .service-card p, .service-card a { transition: color 0.4s ease; }
.service-card h3 { font-size: 1.3rem; margin-bottom: 15px; }
.service-card:hover h3 { color: var(--white); }
.service-card p { color: #666; }
.service-card:hover p { color: var(--text-light); }
.service-card a { text-decoration: none; color: var(--secondary-color); font-weight: 600; }
.service-card:hover a { color: var(--accent-color); }

/* === BIDANG & UPT (HIGH-TECH) === */
.section-structure { background-color: #1a253c; }
.section-structure .section-title { color: var(--white); }
.structure-tabs { display: flex; justify-content: center; gap: 15px; margin-bottom: 50px; }
.tab-link { padding: 12px 30px; font-size: 1.1rem; font-weight: 600; color: var(--text-light); background-color: rgba(255, 255, 255, 0.1); border: 1px solid rgba(255, 255, 255, 0.2); border-radius: 50px; cursor: pointer; }
.tab-link.active { background: var(--gradient-primary); color: var(--white); border-color: transparent; box-shadow: 0 5px 15px rgba(2, 85, 206, 0.3); }
.tab-content.active { display: block; } .tab-content { display: none; animation: fadeIn 0.6s; }
.structure-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 30px; }
.structure-card { background: rgba(255, 255, 255, 0.05); border: 1px solid rgba(255, 255, 255, 0.1); padding: 30px; border-radius: var(--border-radius); text-align: center; position: relative; overflow: hidden; transform-style: preserve-3d; transition: transform 0.1s ease-out; }
.structure-card::before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: radial-gradient(300px circle at var(--mouse-x) var(--mouse-y), rgba(255, 255, 255, 0.1), transparent 40%); z-index: 1; opacity: 0; transition: opacity 0.3s ease; }
.structure-card:hover::before { opacity: 1; }
.structure-icon, .structure-card h4, .structure-card p { position: relative; z-index: 2; transform: translateZ(20px); }
.structure-icon { font-size: 3rem; margin-bottom: 20px; background: var(--gradient-primary); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.structure-card h4 { font-size: 1.3rem; color: var(--white); margin-bottom: 15px; min-height: 50px; }
.structure-card p { color: #bdc3c7; }

/* === BERITA TERKINI === */
.news-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.news-card { background: var(--white); border-radius: var(--border-radius); overflow: hidden; box-shadow: var(--shadow-light); transition: all 0.3s; display: flex; flex-direction: column; }
.news-card:hover { transform: translateY(-8px); box-shadow: var(--shadow-medium); }
.news-card-img-container { position: relative; height: 220px; overflow: hidden; background-color: #e9ecef; }
.news-card img { width: 100%; height: 100%; object-fit: contain; transition: transform 0.4s ease; }
.news-card:hover img { transform: scale(1.05); }
.news-content { padding: 25px; flex-grow: 1; display: flex; flex-direction: column; }
.news-meta { font-size: 0.85rem; color: #7f8c8d; margin-bottom: 10px; }
.news-content h3 { flex-grow: 1; font-size: 1.25rem; }
.news-content h3 a { text-decoration: none; color: var(--primary-color); }
.news-content .read-more { display: inline-block; margin-top: auto; color: var(--secondary-color); font-weight: 600; text-decoration: none; }

/* === FOOTER (FINAL) === */
.main-footer { background-color: #1a253c; color: var(--text-light); padding: 60px 0 20px 0; font-size: 0.95rem; }
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 40px; padding-bottom: 40px; border-bottom: 1px solid rgba(255, 255, 255, 0.1); }
.footer-col h4 { font-size: 1.3rem; margin-bottom: 25px; color: var(--white); position: relative; padding-bottom: 10px; }
.footer-col h4::after { content: ''; position: absolute; bottom: 0; left: 0; width: 40px; height: 3px; background: var(--accent-color); border-radius: 2px; }
.footer-col ul { list-style: none; padding: 0; }
.footer-col li { margin-bottom: 12px; }
.footer-col a { text-decoration: none; color: #bdc3c7; transition: all 0.3s ease; display: inline-block; }
.footer-col a:hover { color: var(--accent-color); transform: translateX(5px); }
.copyright { text-align: center; padding-top: 25px; font-size: 0.9rem; color: #7f8c8d; }

/* === HALAMAN INTERNAL (PROFIL, PENGADUAN, DLL) === */
.page-header { background: var(--gradient-primary); padding: 50px 0; color: var(--white); text-align: center; }
.page-header h1 { font-family: 'Orbitron', sans-serif; font-size: 2.8rem; }
.main-content { padding: 80px 0; }
.page-content { background: var(--white); padding: 40px; border-radius: var(--border-radius); box-shadow: var(--shadow-light); }
.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(--border-radius); }
.card-misi li { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.card-misi li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--success); font-size: 1.5rem; }
.pagination { display: flex; justify-content: center; margin-top: 40px; list-style: none; padding: 0; }
.pagination a { padding: 10px 15px; margin: 0 5px; border: 1px solid #ddd; border-radius: 5px; text-decoration: none; color: var(--primary-color); }
.pagination a.current, .pagination a:hover { background-color: var(--primary-color); color: var(--white); }
.berita-detail-header .meta-info { color: #777; display: flex; gap: 20px; }
.berita-detail-img { width: 100%; max-height: 450px; object-fit: cover; border-radius: var(--border-radius); margin-bottom: 30px; }
.berita-detail-content { line-height: 1.8; font-size: 1.1rem; }
.search-results-summary { margin-bottom: 30px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.search-result-item { padding-bottom: 20px; border-bottom: 1px solid #f0f0f0; }
.search-result-item h3 a { text-decoration: none; color: var(--primary-color); }
.highlight { background-color: var(--accent-color); padding: 2px 4px; border-radius: 4px; }

/* === FORM PENGADUAN & CEK STATUS === */
.form-wrapper-modern { background-color: var(--white); padding: 30px 40px; border-radius: var(--border-radius); box-shadow: var(--shadow-medium); max-width: 800px; margin: 40px auto; border-top: 5px solid var(--primary-color); }
.form-header-modern { text-align: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #f0f0f0; }
.step-indicator { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 40px; padding: 0 10%; }
.step { text-align: center; color: #ccc; flex-shrink: 0; }
.step.active { color: var(--primary-color); }
.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.5rem; margin: 0 auto 10px; }
.step.active .step-icon { border-color: var(--primary-color); background-color: #e3f2fd; }
.step.completed .step-icon { border-color: var(--success); background-color: #e8f5e9; }
.step p { font-weight: 600; font-size: 0.9rem; }
.step-line { flex-grow: 1; height: 3px; background-color: #ccc; margin: 0 15px; position: relative; top: 25px; }
.step-line.completed { background-color: var(--success); }
.form-step { display: none; animation: fadeIn 0.6s; }
.form-step.active { display: block; }
.form-group { margin-bottom: 22px; position: relative; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 25px; }
.modern-form label { display: block; margin-bottom: 8px; font-weight: 600; }
.modern-form input, .modern-form textarea { width: 100%; padding: 14px 18px; border: 1px solid #ddd; border-radius: 5px; font-size: 1rem; }
.modern-form input:focus, .modern-form textarea:focus { outline: none; border-color: var(--primary-color); box-shadow: 0 0 0 4px rgba(13, 71, 161, 0.1); }
.form-navigation { display: flex; justify-content: space-between; align-items: center; margin-top: 30px; border-top: 1px solid #f0f0f0; padding-top: 20px; }
.btn-next, .btn-prev, .btn-submit-modern { padding: 12px 30px; border: none; border-radius: 5px; font-weight: 600; cursor: pointer; }
.btn-prev { background-color: #e9ecef; } .btn-next { background: var(--primary-color); color: var(--white); } .btn-submit-modern { background: var(--success); color: var(--white); }
.error-message { color: var(--danger); font-size: 0.85rem; display: none; margin-top: 5px; }
input.invalid, textarea.invalid { border-color: var(--danger) !important; }
.summary-box li { padding: 10px 0; border-bottom: 1px solid #eee; display: flex; justify-content: space-between; }
.message-box { padding: 20px; border-radius: var(--border-radius); margin-bottom: 25px; border-left: 5px solid; }
.message-box.success { background-color: #e8f5e9; border-color: #4caf50; }
.message-box.error { background-color: #ffebee; border-color: #f44336; }
.ticket-code { background-color: var(--primary-color); color: var(--white); padding: 10px 20px; text-align: center; border-radius: 5px; margin: 15px 0; }
.check-status-form { display: flex; gap: 10px; margin-top: 20px; }
.check-status-form input { flex-grow: 1; padding: 14px 18px; border: 1px solid #ccc; border-radius: 5px; font-size: 1.1rem; }
.check-status-form button { padding: 0 25px; background-color: var(--primary-color); color: var(--white); border: none; cursor: pointer; border-radius: 5px; }
.complaint-summary { background: #f4f6f9; padding: 25px; border-radius: var(--border-radius); margin-bottom: 40px; border-left: 5px solid var(--secondary-color); }
.summary-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 15px 30px; }
.status-badge { padding: 5px 12px; border-radius: 20px; font-size: 0.9rem; color: var(--white); width: fit-content; }
.status-badge.dikirim { background-color: #2196f3; } .status-badge.diproses { background-color: #ff9800; }
.status-badge.selesai { background-color: #4caf50; } .status-badge.ditolak { background-color: #f44336; }
.timeline-wrapper { max-width: 800px; margin: 0 auto; }
.timeline-wrapper h4 { text-align: center; font-size: 1.8rem; color: var(--primary-color); }
.timeline { position: relative; padding-left: 30px; border-left: 3px solid #e0e0e0; }
.timeline-item { position: relative; margin-bottom: 30px; }
.timeline-icon { position: absolute; left: -48px; top: 0; width: 45px; height: 45px; background-color: var(--primary-color); color: white; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 1.4rem; }
.timeline-content { background: var(--white); padding: 20px; border-radius: var(--border-radius); box-shadow: var(--shadow-light); }
@keyframes fadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
/* /assets/css/style.css (Tambahkan kode ini sebelum Media Queries) */

/* === HALAMAN PPID MODERN === */
.ppid-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px auto;
}

.ppid-intro h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.ppid-intro p {
    font-size: 1.1rem;
    color: #666;
}

.ppid-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.ppid-card {
    background-color: var(--white);
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    padding: 30px;
    display: flex;
    flex-direction: column;
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ppid-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-color);
}

.ppid-icon {
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
   
}

.ppid-content {
    display: flex;
    flex-direction: column;
    flex-grow: 1; /* Pastikan konten mengisi kartu */
}

.ppid-content h3 {
    font-size: 1.4rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.ppid-content p {
    color: #666;
    flex-grow: 1; /* Dorong tombol ke bawah */
    margin-bottom: 25px;
}

.btn-ppid {
    display: inline-block;
    width: fit-content;
    padding: 10px 20px;
    background-color: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    margin-top: auto; /* Tombol selalu di bawah */
}

.ppid-card:hover .btn-ppid {
    background-color: var(--secondary-color);
    color: var(--white);
}

/* Kartu khusus untuk Permohonan Informasi */
.ppid-card.highlight {
    background: var(--primary-color);
    border-color: var(--primary-color);
}
.ppid-card.highlight .ppid-icon,
.ppid-card.highlight .ppid-content h3,
.ppid-card.highlight .ppid-content p {
    color: var(--white) !important;
    background: none; /* Hilangkan efek gradien ikon */
    -webkit-text-fill-color: initial;
}
.ppid-card.highlight .btn-ppid {
    background-color: var(--accent-color);
    border-color: var(--accent-color);
    color: var(--primary-color);
}
.ppid-card.highlight:hover .btn-ppid {
    background-color: var(--white);
}

/* /assets/css/style.css (Tambahkan kode ini sebelum Media Queries) */

/* === NAVIGASI DROPDOWN === */
.nav-links li {
    position: relative; /* Diperlukan agar submenu bisa diposisikan */
}

.nav-links .dropdown a i {
    font-size: 0.7em; /* Ukuran ikon panah */
    margin-left: 5px;
    transition: transform 0.3s ease;
}

/* Submenu dropdown (sembunyi secara default) */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: -20px; /* Atur posisi agar pas */
    background-color: var(--white);
    list-style: none;
    padding: 10px 0;
    margin-top: 10px; /* Jarak dari menu utama */
    min-width: 220px; /* Lebar minimum submenu */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-medium);
    animation: fadeIn 0.3s ease-out;
}

.dropdown-menu li a {
    padding: 12px 20px;
    display: block;
    width: 100%;
    white-space: nowrap; /* Pastikan teks tidak terpotong */
}

/* Tampilkan submenu saat li.dropdown di-hover (hanya di desktop) */
@media (min-width: 993px) {
    .dropdown:hover > .dropdown-menu {
        display: block;
    }
    .dropdown:hover > a i {
        transform: rotate(180deg); /* Putar ikon panah saat hover */
    }
}

/* --- Penyesuaian Dropdown untuk Tampilan Mobile --- */
@media (max-width: 992px) {
    .nav-menu-wrapper .nav-links {
        /* Hapus display: flex agar dropdown bisa di-toggle */
        display: block; 
    }

    .dropdown > a {
        display: flex; /* Agar panah bisa diatur */
        justify-content: space-between;
        align-items: center;
    }

    .dropdown-menu {
        /* Reset style untuk mobile */
        display: none; /* Tetap sembunyi */
        position: static; /* Hapus posisi absolut */
        box-shadow: none;
        margin: 0;
        padding-left: 20px; /* Beri indentasi */
        min-width: 100%;
        border-radius: 0;
        background-color: #f9fafb; /* Warna latar sedikit beda */
    }
    
    .dropdown-menu.show {
        display: block; /* Tampilkan submenu jika ada class 'show' */
    }
}

/* /assets/css/style.css (Tambahkan kode ini sebelum Media Queries) */

/* /assets/css/style.css (Ganti blok CSS profil pegawai dengan ini) */

/* === HALAMAN PROFIL PEGAWAI (VERSI KECIL & RINGKAS) === */
.profile-search-container {
    margin-bottom: 40px;
    position: relative;
}
#profileSearch {
    width: 100%;
    padding: 15px 20px;
    font-size: 1.1rem;
    border-radius: 50px;
    border: 1px solid #ddd;
    background-color: var(--white);
}

.profile-grid {
    display: grid;
    /* Perkecil minmax agar kartu yang lebih kecil bisa muat lebih banyak */
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px; /* Kurangi jarak antar kartu */
}

.profile-card {
    background: #1a253c;
    border-radius: var(--border-radius);
    padding: 20px; /* PERKECIL: Padding kartu dikurangi */
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 20px; /* PERKECIL: Jarak antara foto dan konten */
}

.profile-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: var(--shadow-medium);
}

.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(--secondary-color) 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: #1a253c;
    border-radius: calc(var(--border-radius) - 2px);
    z-index: 2;
}

.profile-card-img {
    position: relative;
    z-index: 3;
    width: 80px;  /* PERKECIL: Ukuran foto dari 100px menjadi 80px */
    height: 80px;
    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 15px rgba(30, 136, 229, 0.4);
}

.profile-card-content {
    position: relative;
    z-index: 3;
    text-align: left;
    flex-grow: 1;
}

.profile-name {
    color: var(--white);
    font-size: 1.1rem; /* PERKECIL: Ukuran font nama */
    margin-bottom: 5px;
}

.profile-jabatan {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.9rem; /* PERKECIL: Ukuran font jabatan */
}

.profile-nip {
    color: #bdc3c7;
    font-size: 0.8rem; /* PERKECIL: Ukuran font NIP */
    font-family: monospace;
}

/* Penyesuaian Responsif untuk tata letak baru */
@media (max-width: 500px) {
    .profile-card {
        flex-direction: column;
        text-align: center;
    }
    .profile-card-content {
        text-align: center;
    }
    .profile-grid {
        /* Sesuaikan minmax agar pas di layar mobile */
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    }
}
/* =========================================================================
   MEDIA QUERIES (RESPONSIVE FINAL)
========================================================================== */
@media (max-width: 992px) {
    .header-search, .nav-links { display: none; }
    .hamburger-menu { display: block; background: none; border: none; font-size: 1.5rem; color: var(--primary-color); cursor: pointer; z-index: 1001; }
    .nav-menu-wrapper { position: fixed; top: 0; right: -100%; width: 70%; max-width: 300px; height: 100vh; background: var(--white); box-shadow: var(--shadow-medium); padding-top: 80px; transition: right 0.4s ease; z-index: 1000; }
    .nav-menu-wrapper.active { right: 0; }
    .nav-menu-wrapper .nav-links { display: flex; flex-direction: column; gap: 0; align-items: flex-start; }
    .nav-menu-wrapper .nav-links li { width: 100%; }
    .nav-menu-wrapper .nav-links a { padding: 15px 25px; display: block; width: 100%; border-bottom: 1px solid #f0f0f0; }
    .visi-misi-container { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .container { padding: 0 15px; }
    .section, .featured-services, .news-section, .section-structure, .main-content { padding: 60px 0; }
    .hero-slider-container { height: 80vh; }
    .hero-content h1 { font-size: 2.2rem; }
    .section-title { font-size: 2rem; }
    .footer-grid { text-align: center; }
    .footer-col h4::after { left: 50%; transform: translateX(-50%); }
    .form-wrapper-modern, .page-content { padding: 25px 20px; }
    .form-grid, .summary-grid { grid-template-columns: 1fr; }
    .step p { display: none; }
    .check-status-form { flex-direction: column; }
}
/* /assets/css/style.css (Tambahan untuk Ikon Media Sosial) */

/* === IKON MEDIA SOSIAL DI FOOTER (HIGH-TECH) === */
.social-links {
    list-style: none;
    padding: 0;
    display: flex; /* Sejajarkan ikon secara horizontal */
    gap: 15px; /* Jarak antar ikon */
}

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 45px;
    height: 45px;
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--white);
    border-radius: 50%; /* Membuat ikon menjadi bulat */
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Efek Hover Modern (Glow & Pop-out) */
.social-links a:hover {
    transform: translateY(-5px) scale(1.1); /* Angkat ikon sedikit */
    color: var(--white);
}

.social-links .social-instagram:hover {
    background: #d62976; /* Warna gradien Instagram */
    box-shadow: 0 0 15px #d62976; /* Efek Glow */
}
.social-links .social-facebook:hover {
    background: #1877F2; /* Warna Facebook */
    box-shadow: 0 0 15px #1877F2;
}
.social-links .social-youtube:hover {
    background: #FF0000; /* Warna YouTube */
    box-shadow: 0 0 15px #FF0000;
}
/* /assets/css/style.css */

/* --- Tampilan Mobile (<= 768px) --- */
@media (max-width: 768px) {
    /* ... (kode responsif lain yang sudah ada) ... */
    
    .footer-grid {
        text-align: center; /* Ini membuat judul dan paragraf rata tengah */
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    /* TAMBAHKAN BARIS DI BAWAH INI */
    .social-links {
        justify-content: center; /* Ini membuat ikon-ikonnya rata tengah */
    }
}
/* /assets/css/style.css (Tambahkan kode ini jika belum ada) */

/* === MODAL UNTUK TAMPILAN PDF (HIGH-TECH) === */
.pdf-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 9999; /* Pastikan di atas segalanya */
    
    /* Sembunyikan secara default */
    display: none; 
    opacity: 0;
    
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

/* Class 'show' akan ditambahkan oleh JavaScript untuk menampilkan modal */
.pdf-modal-overlay.show {
    display: flex; /* Tampilkan dengan flexbox */
    opacity: 1;
}

.pdf-modal-content {
    background-color: var(--white);
    width: 80%;
    height: 90vh;
    max-width: 900px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 40px rgba(0,0,0,0.2);
    position: relative;
    padding: 15px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.pdf-modal-overlay.show .pdf-modal-content {
    transform: scale(1); /* Efek pop-up */
}

.pdf-modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    width: 40px;
    height: 40px;
    background: var(--white);
    border: none;
    border-radius: 50%;
    font-size: 2rem;
    line-height: 1;
    color: var(--primary-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
}

.pdf-modal-close:hover {
    transform: scale(1.1) rotate(90deg);
    background-color: var(--danger);
    color: var(--white);
}

#pdfViewer {
    width: 100%;
    height: 100%;
    border: none;
    border-radius: 8px; /* Sesuaikan agar sudut iframe tumpul */
}

/* Mencegah background scroll saat modal aktif */
body.modal-open {
    overflow: hidden;
}
/* /assets/css/style.css (Tambahan untuk Halaman Informasi PPID) */

/* === HALAMAN INFORMASI PPID (AKORDEON) === */

/* Bungkus kartu di halaman ppid.php dengan link */
.ppid-card-link {
    text-decoration: none;
    color: inherit;
}

.accordion-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 15px; /* Jarak antar item akordeon */
}

.accordion-item {
    background-color: var(--white);
    border: 1px solid #e9ecef;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-light);
    overflow: hidden; /* Penting untuk animasi */
    transition: all 0.3s ease;
}

.accordion-item:hover {
    box-shadow: var(--shadow-medium);
    border-color: var(--secondary-color);
}

.accordion-header {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: transparent;
    border: none;
    cursor: pointer;
    text-align: left;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--primary-color);
}

.accordion-icon {
    font-size: 1.2rem;
    color: var(--secondary-color);
    transition: transform 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.accordion-item.active .accordion-icon {
    transform: rotate(180deg);
}

.accordion-content {
    max-height: 0; /* Sembunyikan konten secara default */
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.25, 0.8, 0.25, 1), padding 0.4s ease;
    padding: 0 25px;
}
.accordion-content p {
    margin-bottom: 20px;
    line-height: 1.8;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: var(--gradient-primary);
    color: var(--white);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(2, 85, 206, 0.3);
}