/* =============================================
   DISDUKCAPIL KABUPATEN PATI - STYLESHEET
   ============================================= */

/* CSS Variables */
:root {
    --primary-color: #1e3a5f;
    --primary-dark: #152a45;
    --primary-light: #2d5a8a;
    --secondary-color: #c9a227;
    --secondary-light: #e3bc3d;
    --accent-color: #e74c3c;
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --info-color: #3498db;
    --text-color: #333333;
    --text-light: #666666;
    --text-muted: #999999;
    --bg-light: #f8f9fa;
    --bg-gray: #e9ecef;
    --white: #ffffff;
    --border-color: #dee2e6;
    --shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 5px 30px rgba(0, 0, 0, 0.15);
    --transition: all 0.3s ease;
    --radius: 8px;
    --radius-lg: 12px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--white);
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

ul {
    list-style: none;
}

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

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

/* =============================================
   TOP BAR
   ============================================= */
.top-bar {
    background-color: var(--primary-dark);
    color: var(--white);
    font-size: 13px;
    padding: 8px 0;
}

.top-bar-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.top-bar-left span {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-left i {
    color: var(--secondary-color);
}

.top-bar-right {
    display: flex;
    gap: 12px;
}

.top-bar-right a {
    color: var(--white);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.top-bar-right a:hover {
    background: var(--secondary-color);
    transform: translateY(-2px);
}

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

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

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

.logo img {
    height: 50px;
    width: auto;
}

.logo-text h1 {
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
    line-height: 1.2;
}

.logo-text p {
    font-size: 12px;
    color: var(--text-light);
}

/* Navigation */
.nav-menu > ul {
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu > ul > li > a {
    padding: 10px 18px;
    font-weight: 500;
    color: var(--text-color);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    gap: 5px;
}

.nav-menu > ul > li > a:hover,
.nav-menu > ul > li > a.active {
    background-color: var(--primary-color);
    color: var(--white);
}

.nav-menu > ul > li > a i {
    font-size: 10px;
    transition: var(--transition);
}

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

.dropdown-menu {
    display: block;
    position: absolute;
    top: 100%;
    left: 0;
    background: var(--white);
    min-width: 220px;
    box-shadow: var(--shadow-lg);
    border-radius: var(--radius);
    padding: 10px 0;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: var(--transition);
    z-index: 100;
}

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

.dropdown:hover > a i {
    transform: rotate(180deg);
}

.dropdown-menu li a {
    display: block;
    padding: 10px 20px;
    color: var(--text-color);
    font-size: 14px;
}

.dropdown-menu li a:hover {
    background-color: var(--bg-light);
    color: var(--primary-color);
    padding-left: 25px;
}

/* Menu Toggle */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    color: var(--primary-color);
    cursor: pointer;
}

/* =============================================
   HERO SECTION
   ============================================= */
.hero {
    position: relative;
    height: 600px;
    overflow: hidden;
}

.hero-slider {
    height: 100%;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0;
    transition: opacity 1s ease;
}

.hero-slide.active {
    opacity: 1;
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    color: var(--white);
    width: 90%;
    max-width: 800px;
}

.hero-content h2 {
    font-size: 18px;
    font-weight: 400;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-content h1 {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-content h3 {
    font-size: 28px;
    font-weight: 500;
    margin-bottom: 15px;
    color: var(--secondary-color);
}

.hero-content p {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

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

.hero-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: var(--transition);
}

.indicator.active {
    background: var(--secondary-color);
    transform: scale(1.2);
}

/* =============================================
   BUTTONS
   ============================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 28px;
    font-size: 15px;
    font-weight: 500;
    border-radius: var(--radius);
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition);
}

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

.btn-primary:hover {
    background-color: var(--primary-dark);
    border-color: var(--primary-dark);
    transform: translateY(-2px);
}

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

.btn-secondary:hover {
    background-color: var(--secondary-light);
    border-color: var(--secondary-light);
}

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

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

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

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

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    border-color: #25D366;
}

.btn-whatsapp:hover {
    background-color: #128C7E;
    border-color: #128C7E;
}

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

.btn-block {
    width: 100%;
}

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

.btn-download:hover {
    background-color: #c0392b;
}

/* =============================================
   SECTION STYLES
   ============================================= */
section {
    padding: 80px 0;
}

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

.section-header h2 {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
    position: relative;
    display: inline-block;
}

.section-header h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--secondary-color);
}

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

/* =============================================
   QUICK SERVICES
   ============================================= */
.quick-services {
    background: var(--bg-light);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 25px;
}

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

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

.service-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.service-icon i {
    font-size: 28px;
    color: var(--white);
}

.service-card h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.service-card p {
    font-size: 13px;
    color: var(--text-light);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-light));
}

/* =============================================
   STATISTICS
   ============================================= */
.statistics {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: var(--white);
    padding: 60px 0;
}

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

.stat-card {
    text-align: center;
    padding: 20px;
}

.stat-icon {
    font-size: 40px;
    color: var(--secondary-color);
    margin-bottom: 15px;
}

.stat-number {
    font-size: 42px;
    font-weight: 700;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 16px;
    opacity: 0.9;
}

.stat-year {
    font-size: 12px;
    opacity: 0.7;
    margin-top: 5px;
}

/* =============================================
   ONLINE SERVICES
   ============================================= */
.online-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.online-card {
    background: var(--white);
    padding: 35px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    border: 2px solid transparent;
    transition: var(--transition);
}

.online-card:hover {
    border-color: var(--primary-color);
}

.online-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.online-icon i {
    font-size: 32px;
    color: var(--primary-color);
}

.online-card h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.online-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 20px;
}

/* =============================================
   NEWS SECTION
   ============================================= */
.news-section {
    background: var(--bg-light);
}

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

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

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

.news-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-card.featured .news-image {
    height: 300px;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.news-card:hover .news-image img {
    transform: scale(1.05);
}

.news-category {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    font-size: 12px;
    border-radius: 20px;
}

.news-content {
    padding: 20px;
}

.news-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 12px;
    font-size: 12px;
    color: var(--text-muted);
}

.news-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.news-content h3 {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.4;
}

.news-card.featured .news-content h3 {
    font-size: 22px;
}

.news-content p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.read-more {
    color: var(--primary-color);
    font-size: 14px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.read-more:hover {
    color: var(--secondary-color);
    gap: 10px;
}

.news-more {
    text-align: center;
    margin-top: 40px;
}

/* =============================================
   DOWNLOAD SECTION
   ============================================= */
.download-section {
    background: var(--white);
}

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

.download-card {
    background: var(--bg-light);
    padding: 25px 15px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.download-card:hover {
    background: var(--primary-color);
    color: var(--white);
}

.download-card i {
    font-size: 40px;
    color: var(--accent-color);
    margin-bottom: 15px;
}

.download-card:hover i {
    color: var(--white);
}

.download-card h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.download-card p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.download-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

.download-more {
    text-align: center;
    margin-top: 30px;
}

/* =============================================
   INFO CARDS
   ============================================= */
.info-cards {
    background: var(--bg-light);
    padding: 60px 0;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.info-card {
    background: var(--white);
    padding: 35px 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.info-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.info-icon i {
    font-size: 28px;
    color: var(--white);
}

.info-card h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.info-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.info-card a {
    color: var(--primary-color);
    font-weight: 500;
}

.info-card a:hover {
    color: var(--secondary-color);
}

.status {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    font-size: 13px;
    padding: 5px 12px;
    border-radius: 20px;
}

.status.open {
    background: rgba(39, 174, 96, 0.1);
    color: var(--success-color);
}

.status i {
    font-size: 8px;
}

/* =============================================
   FOOTER
   ============================================= */
.footer {
    background: var(--primary-dark);
    color: var(--white);
    padding-top: 60px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo img {
    height: 50px;
}

.footer-logo h3 {
    font-size: 20px;
    font-weight: 700;
}

.footer-logo p {
    font-size: 12px;
    opacity: 0.8;
}

.footer-about p {
    font-size: 14px;
    opacity: 0.8;
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-social a {
    width: 38px;
    height: 38px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
}

.footer-social a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

.footer-links h4,
.footer-contact h4 {
    font-size: 16px;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 30px;
    height: 2px;
    background: var(--secondary-color);
}

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

.footer-links ul li a {
    font-size: 14px;
    opacity: 0.8;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    opacity: 1;
    padding-left: 5px;
    color: var(--secondary-color);
}

.footer-contact ul li {
    display: flex;
    gap: 12px;
    margin-bottom: 15px;
    font-size: 14px;
}

.footer-contact ul li i {
    color: var(--secondary-color);
    width: 20px;
    margin-top: 3px;
}

.footer-contact ul li span {
    opacity: 0.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.footer-bottom p {
    font-size: 13px;
    opacity: 0.7;
}

.footer-bottom-links {
    display: flex;
    gap: 20px;
}

.footer-bottom-links a {
    font-size: 13px;
    opacity: 0.7;
}

.footer-bottom-links a:hover {
    opacity: 1;
}

/* =============================================
   BACK TO TOP
   ============================================= */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 45px;
    height: 45px;
    background: var(--primary-color);
    color: var(--white);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    z-index: 999;
    box-shadow: var(--shadow);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* =============================================
   WHATSAPP FLOAT
   ============================================= */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25D366;
    color: var(--white);
    padding: 12px 20px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: var(--transition);
}

.whatsapp-float i {
    font-size: 24px;
}

.whatsapp-float span {
    font-size: 14px;
    font-weight: 500;
}

.whatsapp-float:hover {
    transform: scale(1.05);
    background: #128C7E;
}

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

.page-header h1 {
    font-size: 36px;
    margin-bottom: 15px;
}

.breadcrumb {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    opacity: 0.9;
}

.breadcrumb a:hover {
    color: var(--secondary-color);
}

.breadcrumb span:not(:last-child) {
    opacity: 0.7;
}

/* =============================================
   LAYANAN DETAIL
   ============================================= */
.layanan-detail {
    padding: 60px 0;
}

.layanan-detail.alt-bg {
    background: var(--bg-light);
}

.layanan-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.layanan-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.layanan-icon i {
    font-size: 32px;
    color: var(--white);
}

.layanan-title h2 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.layanan-title p {
    color: var(--text-light);
}

.layanan-content {
    margin-top: 30px;
}

/* Tabs */
.layanan-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: var(--bg-gray);
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 40px;
}

.content-main h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.content-main h4 {
    font-size: 16px;
    color: var(--text-color);
    margin: 20px 0 10px;
}

.content-main p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.requirement-list,
.procedure-list {
    margin-left: 0;
}

.requirement-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.requirement-list li i {
    color: var(--success-color);
    margin-top: 3px;
}

.requirement-list li ul {
    margin-top: 8px;
    margin-left: 25px;
}

.requirement-list li ul li {
    border: none;
    padding: 3px 0;
    font-size: 14px;
}

.procedure-list {
    list-style: decimal;
    margin-left: 20px;
}

.procedure-list li {
    padding: 8px 0;
    color: var(--text-light);
}

.result-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
}

.result-list li i {
    color: var(--primary-color);
}

/* Sidebar */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-box {
    background: var(--bg-light);
    padding: 20px;
    border-radius: var(--radius);
}

.info-box h4 {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-box p {
    font-size: 14px;
    color: var(--text-light);
}

.info-box p.free {
    color: var(--success-color);
    font-weight: 700;
    font-size: 18px;
}

.info-box.important {
    background: rgba(231, 76, 60, 0.1);
    border-left: 3px solid var(--accent-color);
}

.info-box.important h4 {
    color: var(--accent-color);
}

/* Alerts */
.alert-info,
.alert-warning {
    padding: 15px 20px;
    border-radius: var(--radius);
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-top: 20px;
}

.alert-info {
    background: rgba(52, 152, 219, 0.1);
    border-left: 3px solid var(--info-color);
}

.alert-info i {
    color: var(--info-color);
    margin-top: 3px;
}

.alert-warning {
    background: rgba(243, 156, 18, 0.1);
    border-left: 3px solid var(--warning-color);
}

.alert-warning i {
    color: var(--warning-color);
    margin-top: 3px;
}

.alert-info p,
.alert-warning p {
    font-size: 14px;
    color: var(--text-color);
}

/* Service Nav */
.service-nav {
    background: var(--bg-light);
    padding: 20px 0;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.service-nav-grid {
    display: flex;
    justify-content: center;
    gap: 15px;
    flex-wrap: wrap;
}

.service-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    padding: 15px 25px;
    background: var(--white);
    border-radius: var(--radius);
    transition: var(--transition);
}

.service-nav-item i {
    font-size: 24px;
    color: var(--primary-color);
}

.service-nav-item span {
    font-size: 13px;
    color: var(--text-color);
}

.service-nav-item:hover {
    background: var(--primary-color);
}

.service-nav-item:hover i,
.service-nav-item:hover span {
    color: var(--white);
}

/* Other Services */
.other-services {
    background: var(--white);
}

.other-services-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 20px;
}

.other-service-card {
    background: var(--bg-light);
    padding: 25px 15px;
    border-radius: var(--radius);
    text-align: center;
    transition: var(--transition);
}

.other-service-card:hover {
    background: var(--primary-color);
    color: var(--white);
}

.other-service-card i {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.other-service-card:hover i {
    color: var(--white);
}

.other-service-card h4 {
    font-size: 14px;
    margin-bottom: 8px;
}

.other-service-card p {
    font-size: 12px;
    color: var(--text-light);
    margin-bottom: 12px;
}

.other-service-card:hover p {
    color: rgba(255, 255, 255, 0.8);
}

.other-service-card a {
    font-size: 12px;
    color: var(--primary-color);
    font-weight: 500;
}

.other-service-card:hover a {
    color: var(--secondary-color);
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    padding: 60px 0;
}

.cta-content {
    text-align: center;
    color: var(--white);
}

.cta-content h2 {
    font-size: 32px;
    margin-bottom: 15px;
}

.cta-content p {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 30px;
}

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

/* =============================================
   PERSYARATAN PAGE
   ============================================= */
.quick-search {
    background: var(--primary-color);
    padding: 40px 0;
}

.search-box {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.search-box h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.search-input {
    display: flex;
    background: var(--white);
    border-radius: 50px;
    overflow: hidden;
}

.search-input input {
    flex: 1;
    padding: 15px 25px;
    border: none;
    font-size: 15px;
    outline: none;
}

.search-input button {
    padding: 15px 25px;
    background: var(--secondary-color);
    border: none;
    color: var(--white);
    cursor: pointer;
}

/* Requirements Table */
.requirements-section {
    padding: 60px 0;
}

.requirements-table-wrapper {
    overflow-x: auto;
}

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

.requirements-table th,
.requirements-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.requirements-table th {
    background: var(--primary-color);
    color: var(--white);
    font-weight: 600;
}

.requirements-table tr:hover {
    background: var(--bg-light);
}

.requirements-table ul {
    margin-left: 15px;
}

.requirements-table ul li {
    list-style: disc;
    padding: 3px 0;
}

.requirements-table td.free {
    color: var(--success-color);
    font-weight: 600;
}

/* Alur Section */
.alur-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.alur-steps {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 15px;
}

.alur-step {
    background: var(--white);
    padding: 25px 20px;
    border-radius: var(--radius);
    text-align: center;
    width: 150px;
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 30px;
    background: var(--secondary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

.step-icon {
    font-size: 32px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.alur-step h4 {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.alur-step p {
    font-size: 12px;
    color: var(--text-light);
}

.alur-arrow {
    color: var(--primary-color);
    font-size: 20px;
}

/* Download Section Page */
.download-section-page {
    padding: 60px 0;
}

.download-category {
    margin-bottom: 40px;
}

.download-category h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.download-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.download-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.download-item:hover {
    background: var(--white);
    box-shadow: var(--shadow);
}

.download-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.download-info i {
    font-size: 32px;
    color: var(--accent-color);
}

.download-info h4 {
    font-size: 15px;
    color: var(--primary-color);
    margin-bottom: 3px;
}

.download-info p {
    font-size: 13px;
    color: var(--text-light);
}

/* FAQ Section */
.faq-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    width: 100%;
    padding: 18px 20px;
    background: var(--white);
    border: none;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--primary-color);
    color: var(--white);
}

.faq-question i {
    transition: var(--transition);
}

.faq-item.active .faq-question {
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius) var(--radius) 0 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    display: none;
    padding: 20px;
    background: var(--white);
    border-radius: 0 0 var(--radius) var(--radius);
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-answer p {
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.7;
}

/* =============================================
   PROFIL PAGE
   ============================================= */
.about-section {
    padding: 60px 0;
}

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

.about-text h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.about-text p {
    color: var(--text-light);
    margin-bottom: 15px;
    line-height: 1.8;
}

.about-image img {
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

/* Visi Misi */
.visi-misi-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.visi-misi-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.visi-card,
.misi-card {
    background: var(--white);
    padding: 40px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.visi-icon,
.misi-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.visi-icon i,
.misi-icon i {
    font-size: 28px;
    color: var(--white);
}

.visi-card h3,
.misi-card h3 {
    font-size: 22px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.visi-card p {
    font-size: 16px;
    color: var(--text-color);
    line-height: 1.8;
    font-style: italic;
}

.misi-card ul {
    list-style: decimal;
    margin-left: 20px;
}

.misi-card ul li {
    padding: 8px 0;
    color: var(--text-light);
    line-height: 1.6;
}

/* Values */
.values-section {
    padding: 60px 0;
}

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

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

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

.value-icon {
    width: 60px;
    height: 60px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
}

.value-icon i {
    font-size: 24px;
    color: var(--primary-color);
}

.value-card h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.value-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* Struktur */
.struktur-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.struktur-image {
    text-align: center;
    margin-bottom: 50px;
}

.struktur-image img {
    max-width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

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

.pejabat-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.pejabat-photo {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid var(--primary-color);
}

.pejabat-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pejabat-card h4 {
    font-size: 14px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.pejabat-card p {
    font-size: 14px;
    color: var(--text-color);
    font-weight: 500;
    margin-bottom: 5px;
}

.pejabat-card span {
    font-size: 12px;
    color: var(--text-muted);
}

/* Tugas Fungsi */
.tugas-fungsi-section {
    padding: 60px 0;
}

.tugas-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 40px;
}

.tugas-card,
.fungsi-card {
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
}

.tugas-card h3,
.fungsi-card h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tugas-card p {
    color: var(--text-light);
    line-height: 1.8;
}

.fungsi-card ul {
    list-style: disc;
    margin-left: 20px;
}

.fungsi-card ul li {
    padding: 5px 0;
    color: var(--text-light);
}

/* Accordion */
.bidang-accordion h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.accordion-item {
    margin-bottom: 10px;
}

.accordion-header {
    width: 100%;
    padding: 18px 20px;
    background: var(--bg-light);
    border: none;
    border-radius: var(--radius);
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    font-size: 15px;
    font-weight: 500;
    transition: var(--transition);
}

.accordion-header:hover {
    background: var(--primary-color);
    color: var(--white);
}

.accordion-item.active .accordion-header {
    background: var(--primary-color);
    color: var(--white);
    border-radius: var(--radius) var(--radius) 0 0;
}

.accordion-item.active .accordion-header i {
    transform: rotate(180deg);
}

.accordion-content {
    display: none;
    padding: 20px;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-top: none;
    border-radius: 0 0 var(--radius) var(--radius);
}

.accordion-item.active .accordion-content {
    display: block;
}

.accordion-content p {
    color: var(--text-light);
    margin-bottom: 15px;
}

.accordion-content ul {
    list-style: disc;
    margin-left: 20px;
}

.accordion-content ul li {
    padding: 5px 0;
    color: var(--text-light);
}

/* Timeline */
.sejarah-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding-left: 30px;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--primary-color);
}

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

.timeline-marker {
    position: absolute;
    left: -36px;
    top: 0;
    width: 15px;
    height: 15px;
    background: var(--secondary-color);
    border-radius: 50%;
    border: 3px solid var(--white);
}

.timeline-content {
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}

.timeline-content h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.timeline-content p {
    font-size: 14px;
    color: var(--text-light);
}

/* =============================================
   INFORMASI PAGE
   ============================================= */
.info-tabs-section {
    background: var(--bg-light);
    padding: 20px 0;
    position: sticky;
    top: 80px;
    z-index: 100;
}

.info-tabs {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.info-tab {
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--border-color);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
}

.info-tab.active,
.info-tab:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

.info-content-section {
    padding: 60px 0;
}

.info-content-section.hidden {
    display: none;
}

/* Featured News */
.featured-news {
    margin-bottom: 50px;
}

.featured-news-card {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.featured-image {
    position: relative;
    height: 400px;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.news-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--accent-color);
    color: var(--white);
    padding: 5px 15px;
    font-size: 12px;
    border-radius: 20px;
}

.featured-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.featured-content .news-meta {
    margin-bottom: 20px;
}

.featured-content .news-meta .category {
    background: var(--primary-color);
    color: var(--white);
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 11px;
}

.featured-content h2 {
    font-size: 26px;
    color: var(--primary-color);
    margin-bottom: 15px;
    line-height: 1.4;
}

.featured-content p {
    color: var(--text-light);
    margin-bottom: 25px;
    line-height: 1.7;
}

/* News Grid Page */
.news-grid-page {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

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

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

.news-card-page .news-image {
    height: 200px;
    position: relative;
}

.news-card-page .news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.category-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    background: var(--primary-color);
    color: var(--white);
    padding: 5px 12px;
    font-size: 11px;
    border-radius: 20px;
}

.news-card-page .news-content {
    padding: 20px;
    position: relative;
}

.news-date {
    position: absolute;
    top: -30px;
    right: 20px;
    background: var(--secondary-color);
    color: var(--white);
    padding: 10px 15px;
    border-radius: var(--radius);
    text-align: center;
}

.news-date .day {
    display: block;
    font-size: 22px;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    display: block;
    font-size: 12px;
    text-transform: uppercase;
}

.news-card-page h3 {
    font-size: 16px;
    color: var(--text-color);
    margin-bottom: 10px;
    line-height: 1.4;
    padding-right: 60px;
}

.news-card-page p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

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

.page-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    transition: var(--transition);
}

.page-link:hover,
.page-link.active {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--white);
}

/* Statistics */
.main-stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-bottom: 50px;
}

.main-stat-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
}

.main-stat-card .stat-icon {
    font-size: 40px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.main-stat-card .stat-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.main-stat-card .stat-label {
    font-size: 14px;
    color: var(--text-light);
}

.stat-change {
    font-size: 12px;
    margin-top: 10px;
}

.stat-change.positive {
    color: var(--success-color);
}

.stat-percentage {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 5px;
}

/* Stats Detail */
.stats-detail-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
}

.stats-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.stats-card h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.stats-item {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
}

.stats-label {
    flex: 1;
    font-size: 14px;
    color: var(--text-color);
    min-width: 150px;
}

.stats-bar {
    flex: 2;
    height: 8px;
    background: var(--bg-gray);
    border-radius: 10px;
    overflow: hidden;
    min-width: 100px;
}

.stats-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light));
    border-radius: 10px;
}

.stats-value {
    font-size: 13px;
    color: var(--text-muted);
    min-width: 100px;
    text-align: right;
}

/* Service Stats */
.service-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.service-stat {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

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

.service-stat .service-icon i {
    font-size: 20px;
    color: var(--white);
}

.service-count {
    display: block;
    font-size: 20px;
    font-weight: 700;
    color: var(--primary-color);
}

.service-name {
    font-size: 12px;
    color: var(--text-light);
}

/* Kecamatan List */
.kecamatan-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.kecamatan-item {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.kecamatan-item .rank {
    width: 30px;
    height: 30px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    font-size: 14px;
    margin-right: 15px;
}

.kecamatan-item .name {
    flex: 1;
    font-weight: 500;
}

.kecamatan-item .population {
    color: var(--primary-color);
    font-weight: 600;
}

.stats-download {
    text-align: center;
    margin-top: 40px;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Regulasi */
.regulasi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.regulasi-category {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.regulasi-category h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 2px solid var(--bg-gray);
}

.regulasi-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.regulasi-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 12px;
    background: var(--bg-light);
    border-radius: var(--radius);
    transition: var(--transition);
}

.regulasi-item:hover {
    background: var(--primary-color);
    color: var(--white);
}

.regulasi-item .regulasi-icon {
    font-size: 28px;
    color: var(--accent-color);
}

.regulasi-item:hover .regulasi-icon {
    color: var(--white);
}

.regulasi-info {
    flex: 1;
}

.regulasi-info h4 {
    font-size: 14px;
    margin-bottom: 3px;
}

.regulasi-info p {
    font-size: 12px;
    color: var(--text-light);
}

.regulasi-item:hover .regulasi-info p {
    color: rgba(255, 255, 255, 0.8);
}

.btn-download-small {
    width: 35px;
    height: 35px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-color);
}

.regulasi-item:hover .btn-download-small {
    background: var(--secondary-color);
    color: var(--white);
}

/* PPID */
.ppid-intro {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    background: var(--bg-light);
    padding: 30px;
    border-radius: var(--radius-lg);
    margin-bottom: 40px;
}

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

.ppid-icon i {
    font-size: 28px;
    color: var(--white);
}

.ppid-text p {
    color: var(--text-light);
    line-height: 1.8;
}

.ppid-officer {
    margin-bottom: 40px;
}

.ppid-officer h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.officer-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 4px solid var(--primary-color);
}

.officer-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.officer-info h4 {
    font-size: 14px;
    color: var(--text-muted);
    margin-bottom: 5px;
}

.officer-info .name {
    font-size: 18px;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 5px;
}

.officer-info .position {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.officer-info .contact {
    font-size: 14px;
    color: var(--text-color);
    margin-bottom: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.officer-info .contact i {
    color: var(--primary-color);
}

/* Category Grid */
.ppid-categories {
    margin-bottom: 40px;
}

.ppid-categories h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

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

.category-card {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.category-card:hover {
    transform: translateY(-5px);
}

.category-card i {
    font-size: 36px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.category-card h4 {
    font-size: 15px;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.category-card p {
    font-size: 13px;
    color: var(--text-light);
    margin-bottom: 15px;
}

/* PPID Request */
.ppid-request h3 {
    font-size: 18px;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.request-steps {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.request-step {
    text-align: center;
    max-width: 150px;
}

.step-num {
    width: 50px;
    height: 50px;
    background: var(--primary-color);
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
    margin: 0 auto 15px;
}

.request-step p {
    font-size: 14px;
    color: var(--text-light);
}

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

/* Gallery */
.gallery-filter {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 10px 20px;
    background: var(--bg-light);
    border: none;
    border-radius: 50px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.filter-btn.active,
.filter-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

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

.gallery-item {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 20px;
    color: var(--white);
    transform: translateY(100%);
    transition: var(--transition);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay h4 {
    font-size: 14px;
    margin-bottom: 5px;
}

.gallery-overlay p {
    font-size: 12px;
    opacity: 0.8;
}

.gallery-more {
    text-align: center;
    margin-top: 30px;
}

/* Video Section */
.video-section {
    margin-top: 60px;
}

.video-section h3 {
    font-size: 20px;
    color: var(--primary-color);
    margin-bottom: 25px;
    text-align: center;
}

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

.video-item {
    cursor: pointer;
}

.video-thumbnail {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
}

.video-thumbnail img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-button i {
    font-size: 24px;
    color: var(--primary-color);
    margin-left: 5px;
}

.video-item h4 {
    font-size: 14px;
    color: var(--text-color);
    margin-top: 12px;
    text-align: center;
}

/* =============================================
   KONTAK PAGE
   ============================================= */
.contact-info-section {
    padding: 60px 0;
}

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

.contact-card {
    background: var(--white);
    padding: 30px 25px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
}

.contact-card.highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-light));
    color: var(--white);
}

.contact-card .contact-icon {
    width: 70px;
    height: 70px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.contact-card.highlight .contact-icon {
    background: rgba(255, 255, 255, 0.2);
}

.contact-card .contact-icon i {
    font-size: 28px;
    color: var(--primary-color);
}

.contact-card.highlight .contact-icon i {
    color: var(--white);
}

.contact-card h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.contact-card.highlight h3 {
    color: var(--white);
}

.contact-card p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 5px;
}

.contact-card.highlight p {
    color: rgba(255, 255, 255, 0.9);
}

.contact-card .big-text {
    font-size: 18px;
    font-weight: 600;
    color: var(--text-color);
}

.contact-card.highlight .big-text {
    color: var(--white);
}

.contact-card .sub-text {
    font-size: 13px;
}

/* Schedule */
.schedule-section {
    background: var(--bg-light);
    padding: 60px 0;
}

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

.schedule-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow);
}

.schedule-card h3 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.schedule-table {
    width: 100%;
    font-size: 14px;
}

.schedule-table tr td {
    padding: 10px 0;
    border-bottom: 1px solid var(--border-color);
}

.schedule-table tr td:first-child {
    color: var(--text-color);
}

.schedule-table tr td:last-child {
    text-align: right;
    color: var(--text-light);
}

.schedule-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-top: 15px;
    padding: 10px;
    background: var(--bg-light);
    border-radius: var(--radius);
}

.schedule-note i {
    color: var(--info-color);
    margin-top: 2px;
}

.schedule-note p {
    font-size: 12px;
    color: var(--text-light);
}

/* Social Section */
.social-section {
    padding: 60px 0;
}

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

.social-card {
    padding: 30px 20px;
    border-radius: var(--radius-lg);
    text-align: center;
    color: var(--white);
    transition: var(--transition);
}

.social-card:hover {
    transform: translateY(-5px) scale(1.02);
}

.social-card.facebook {
    background: #1877F2;
}

.social-card.instagram {
    background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888);
}

.social-card.twitter {
    background: #1DA1F2;
}

.social-card.youtube {
    background: #FF0000;
}

.social-card.tiktok {
    background: #000000;
}

.social-card i {
    font-size: 36px;
    margin-bottom: 15px;
}

.social-card h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.social-card p {
    font-size: 13px;
    opacity: 0.9;
    margin-bottom: 10px;
}

.social-card .follower {
    font-size: 12px;
    opacity: 0.8;
}

/* Map Section */
.map-section {
    background: var(--bg-light);
    padding: 60px 0;
}

.map-container {
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    margin-bottom: 30px;
}

.map-info {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.map-info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
    background: var(--white);
    padding: 20px;
    border-radius: var(--radius);
}

.map-info-item i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 3px;
}

.map-info-item h4 {
    font-size: 15px;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.map-info-item p {
    font-size: 13px;
    color: var(--text-light);
}

/* Contact Form */
.contact-form-section {
    padding: 60px 0;
}

.form-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 50px;
    background: var(--white);
    padding: 50px;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
}

.form-info {
    padding-right: 20px;
}

.form-info h2 {
    font-size: 28px;
    color: var(--primary-color);
    margin-bottom: 15px;
}

.form-info > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-features {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin-bottom: 30px;
}

.feature {
    display: flex;
    gap: 15px;
}

.feature i {
    font-size: 24px;
    color: var(--primary-color);
    margin-top: 3px;
}

.feature h4 {
    font-size: 15px;
    color: var(--text-color);
    margin-bottom: 5px;
}

.feature p {
    font-size: 13px;
    color: var(--text-light);
}

.alternative-contact {
    padding-top: 20px;
    border-top: 1px solid var(--border-color);
}

.alternative-contact p {
    font-size: 14px;
    color: var(--text-light);
    margin-bottom: 15px;
}

.alt-buttons {
    display: flex;
    gap: 10px;
}

.btn-whatsapp-sm {
    background: #25D366;
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

.btn-lapor {
    background: var(--accent-color);
    color: var(--white);
    padding: 10px 20px;
    border-radius: var(--radius);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
}

/* Form Styles */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-color);
}

.required {
    color: var(--accent-color);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-size: 14px;
    font-family: inherit;
    transition: var(--transition);
}

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

.form-group small {
    font-size: 12px;
    color: var(--text-muted);
}

.form-check {
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.form-check input[type="checkbox"] {
    margin-top: 3px;
}

.form-check label {
    font-size: 13px;
    color: var(--text-light);
}

/* Other Channels */
.other-channels {
    background: var(--bg-light);
    padding: 60px 0;
}

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

.channel-card {
    background: var(--white);
    padding: 30px;
    border-radius: var(--radius-lg);
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.channel-card:hover {
    transform: translateY(-5px);
}

.channel-card img {
    height: 50px;
    margin-bottom: 15px;
}

.channel-card h4 {
    font-size: 16px;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.channel-card p {
    font-size: 13px;
    color: var(--text-light);
}

/* =============================================
   RESPONSIVE DESIGN
   ============================================= */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .online-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .news-card.featured {
        grid-column: span 2;
    }

    .download-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pejabat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .other-services-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .main-stats {
        grid-template-columns: repeat(2, 1fr);
    }

    .category-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .gallery-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .contact-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .schedule-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .top-bar-content {
        flex-direction: column;
        text-align: center;
    }

    .top-bar-left {
        justify-content: center;
    }

    .nav-menu {
        position: fixed;
        top: 80px;
        left: 0;
        right: 0;
        background: var(--white);
        padding: 20px;
        box-shadow: var(--shadow-lg);
        display: none;
        max-height: calc(100vh - 80px);
        overflow-y: auto;
    }

    .nav-menu.active {
        display: block;
    }

    .nav-menu ul {
        flex-direction: column;
    }

    .nav-menu > ul > li > a {
        padding: 15px 20px;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        padding-left: 20px;
        display: none;
    }

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

    .menu-toggle {
        display: block;
    }

    .hero {
        height: 500px;
    }

    .hero-content h1 {
        font-size: 28px;
    }

    .hero-content h3 {
        font-size: 20px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .stats-grid {
        grid-template-columns: 1fr 1fr;
    }

    .stat-number {
        font-size: 32px;
    }

    .online-grid {
        grid-template-columns: 1fr;
    }

    .news-grid {
        grid-template-columns: 1fr;
    }

    .news-card.featured {
        grid-column: span 1;
        grid-row: span 1;
    }

    .download-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .info-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .footer-contact ul li {
        justify-content: center;
    }

    .footer-social {
        justify-content: center;
    }

    .footer-bottom-content {
        flex-direction: column;
        text-align: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .visi-misi-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .pejabat-grid {
        grid-template-columns: 1fr;
    }

    .tugas-content {
        grid-template-columns: 1fr;
    }

    .content-grid {
        grid-template-columns: 1fr;
    }

    .service-nav-grid {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }

    .other-services-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .featured-news-card {
        grid-template-columns: 1fr;
    }

    .featured-image {
        height: 250px;
    }

    .news-grid-page {
        grid-template-columns: 1fr;
    }

    .main-stats {
        grid-template-columns: 1fr;
    }

    .stats-detail-grid {
        grid-template-columns: 1fr;
    }

    .regulasi-grid {
        grid-template-columns: 1fr;
    }

    .category-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .video-grid {
        grid-template-columns: 1fr;
    }

    .contact-cards {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .map-info {
        grid-template-columns: 1fr;
    }

    .form-wrapper {
        grid-template-columns: 1fr;
        padding: 30px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .channels-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .officer-card {
        flex-direction: column;
        text-align: center;
    }

    .alur-steps {
        flex-direction: column;
    }

    .alur-arrow {
        transform: rotate(90deg);
    }

    .whatsapp-float span {
        display: none;
    }

    .whatsapp-float {
        padding: 15px;
        border-radius: 50%;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    section {
        padding: 50px 0;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .hero {
        height: 450px;
    }

    .hero-content h1 {
        font-size: 24px;
    }

    .hero-content h2 {
        font-size: 14px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .download-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .other-services-grid {
        grid-template-columns: 1fr;
    }

    .gallery-grid {
        grid-template-columns: 1fr;
    }

    .social-grid {
        grid-template-columns: 1fr;
    }

    .channels-grid {
        grid-template-columns: 1fr;
    }

    .page-header h1 {
        font-size: 28px;
    }

    .layanan-header {
        flex-direction: column;
        text-align: center;
    }

    .layanan-title h2 {
        font-size: 22px;
    }

    .info-tabs {
        flex-direction: column;
    }

    .info-tab {
        width: 100%;
        text-align: center;
    }
}

/* Print Styles */
@media print {
    .top-bar,
    .header,
    .hero,
    .back-to-top,
    .whatsapp-float,
    .footer {
        display: none;
    }

    body {
        font-size: 12pt;
    }

    .container {
        max-width: 100%;
    }
}
