/* ============================================================
   Portal Kanwil Ditjenim Sultra - Frontend CSS
   Inspired by imigrasi.go.id official portal
   ============================================================ */

/* ---- Google Fonts ---- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=Montserrat:wght@600;700;800;900&display=swap');

/* ============================================================
   CSS VARIABLES / DESIGN TOKENS
   ============================================================ */
:root {
    --primary: #003366;
    --primary-dark: #001f3f;
    --primary-light: #004488;
    --primary-rgb: 0, 51, 102;
    --accent-gold: #C5A44E;
    --accent-gold-light: #D4B96A;
    --accent-blue: #0066CC;
    --accent-blue-light: #E8F4FD;
    --white: #FFFFFF;
    --bg-light: #F8FAFC;
    --bg-section: #F1F5F9;
    --text-dark: #1A202C;
    --text-body: #374151;
    --text-muted: #6B7280;
    --text-light: #9CA3AF;
    --border: #E5E7EB;
    --border-light: #F3F4F6;
    --success: #10B981;
    --warning: #F59E0B;
    --danger: #EF4444;
    --info: #3B82F6;
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06);
    --shadow: 0 4px 12px rgba(0,0,0,0.08);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.12);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.15);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-heading: 'Montserrat', 'Inter', sans-serif;
    --header-height: 80px;
    --topbar-height: 40px;
}

/* ============================================================
   RESET & BASE
   ============================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    color: var(--text-body);
    background: var(--white);
    line-height: 1.7;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-x: hidden;
}

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

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

ul, ol {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    color: var(--text-dark);
    line-height: 1.3;
    font-weight: 700;
}

/* ============================================================
   UTILITY CLASSES
   ============================================================ */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 48px;
}

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

.section-title h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-gold-light));
    border-radius: 2px;
}

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

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 28px;
    border-radius: var(--radius-sm);
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    border: 2px solid transparent;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    border-color: var(--primary);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary));
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.35);
}

.btn-gold {
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
    color: var(--white);
}

.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(197, 164, 78, 0.4);
}

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

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

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

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

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

.btn-lg {
    padding: 16px 36px;
    font-size: 16px;
}

.text-primary { color: var(--primary); }
.text-gold { color: var(--accent-gold); }
.text-muted { color: var(--text-muted); }
.text-center { text-align: center; }

.bg-light { background: var(--bg-light); }
.bg-section { background: var(--bg-section); }
.bg-primary { background: var(--primary); }
.bg-dark { background: var(--primary-dark); }

/* ============================================================
   TOP ANNOUNCEMENT BAR (imigrasi.go.id style)
   ============================================================ */
.topbar-announcement {
    background: #F1F5F9;
    padding: 6px 0;
    text-align: center;
    font-size: 12px;
    color: #333;
    letter-spacing: 0.3px;
    position: relative;
    z-index: 1001;
    border-bottom: 1px solid #E5E7EB;
}

.topbar-announcement span {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    font-weight: 500;
}

.topbar-announcement i {
    color: #0066CC;
    font-size: 14px;
}

/* ============================================================
   HEADER / NAVBAR (imigrasi.go.id centered layout)
   ============================================================ */
.header {
    background: linear-gradient(135deg, var(--primary-dark) 0%, var(--primary) 100%);
    height: var(--header-height);
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

/* Left: Hamburger Menu */
.header-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 0 0 auto;
}

.nav-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 8px;
    z-index: 1002;
}

.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
    transition: var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

.nav-toggle-label {
    color: var(--white);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.5px;
    cursor: pointer;
}

/* Center: Logo + Brand */
.header-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
}

.header-logo {
    height: 42px;
    width: auto;
}

.header-brand-text {
    line-height: 1.3;
}

.header-brand-text .ministry {
    display: block;
    font-size: 11px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    letter-spacing: 0.2px;
}

.header-brand-text .office {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--white);
    font-family: var(--font-heading);
}

/* Right: Language Selector */
.header-right {
    flex: 0 0 auto;
}

.lang-switcher {
    display: flex;
    align-items: center;
    gap: 2px;
    background: rgba(255,255,255,0.1);
    border-radius: var(--radius-full);
    padding: 3px;
}

.lang-switcher a {
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.lang-switcher a.active {
    background: var(--accent-gold);
    color: var(--primary-dark);
}

.lang-switcher a:hover:not(.active) {
    color: var(--white);
}

.lang-divider {
    display: none;
}

/* ============================================================
   NAVIGATION DRAWER (Sidebar Menu)
   ============================================================ */
.nav-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    backdrop-filter: blur(4px);
}

.nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.nav-drawer {
    position: fixed;
    top: 0;
    left: 0;
    width: 360px;
    max-width: 90vw;
    height: 100vh;
    background: var(--white);
    z-index: 2001;
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    transform: translateX(-100%);
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    box-shadow: 4px 0 30px rgba(0,0,0,0.15);
}

.nav-drawer.active {
    transform: translateX(0);
}

.nav-drawer-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 24px;
    border-bottom: 1px solid var(--border);
    background: var(--primary-dark);
    color: var(--white);
}

.nav-drawer-header h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
}

.nav-drawer-close {
    background: none;
    border: none;
    color: var(--white);
    font-size: 28px;
    cursor: pointer;
    display: flex;
    align-items: center;
    padding: 4px;
    transition: var(--transition);
}

.nav-drawer-close:hover {
    color: var(--accent-gold);
    transform: rotate(90deg);
}

.nav-drawer-menu {
    flex: 1;
    padding: 12px 0;
}

.nav-drawer-item {
    border-bottom: 1px solid var(--border-light);
}

.nav-drawer-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    color: var(--text-dark);
    transition: var(--transition);
}

.nav-drawer-link:hover {
    background: var(--accent-blue-light);
    color: var(--primary);
    padding-left: 28px;
}

.nav-drawer-arrow {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.nav-drawer-item.open .nav-drawer-arrow {
    transform: rotate(90deg);
}

.nav-drawer-submenu {
    display: none;
    background: var(--bg-light);
    padding: 4px 0;
}

.nav-drawer-item.open .nav-drawer-submenu {
    display: block;
}

.nav-drawer-submenu li a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 24px 10px 40px;
    font-size: 14px;
    color: var(--text-body);
    transition: var(--transition);
}

.nav-drawer-submenu li a:hover {
    color: var(--primary);
    background: var(--accent-blue-light);
    padding-left: 44px;
}

.nav-drawer-submenu li a i {
    color: var(--accent-gold);
    font-size: 17px;
}

/* Drawer Footer */
.nav-drawer-footer {
    padding: 20px 24px;
    background: var(--bg-section);
    border-top: 1px solid var(--border);
}

.nav-drawer-contact p {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 6px;
}

.nav-drawer-contact p i {
    color: var(--accent-gold);
    font-size: 16px;
}

.nav-drawer-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
}

.nav-drawer-social a {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: var(--primary);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: var(--transition);
}

.nav-drawer-social a:hover {
    background: var(--accent-gold);
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ============================================================
   HERO SLIDER
   ============================================================ */
.hero-slider {
    position: relative;
    height: 560px;
    overflow: hidden;
    background: var(--primary-dark);
}

.hero-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

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

.hero-slide-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    transform: scale(1.05);
    transition: transform 8s ease;
}

.hero-slide.active .hero-slide-bg {
    transform: scale(1);
}

.hero-slide-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(0,15,40,0.75) 0%, rgba(0,51,102,0.55) 100%);
}

.hero-slide-content {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 20px;
    z-index: 2;
}

.hero-slide-content h1 {
    font-size: 42px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 16px;
    max-width: 800px;
    text-shadow: 0 2px 20px rgba(0,0,0,0.3);
    line-height: 1.2;
}

.hero-slide-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.9);
    max-width: 600px;
    margin-bottom: 28px;
}

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

.hero-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 2px solid transparent;
}

.hero-dot.active {
    background: var(--accent-gold);
    border-color: var(--white);
    transform: scale(1.2);
}

.hero-arrows {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    display: flex;
    justify-content: space-between;
    padding: 0 24px;
    z-index: 5;
    pointer-events: none;
}

.hero-arrow {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition);
    pointer-events: all;
    border: 1px solid rgba(255,255,255,0.2);
}

.hero-arrow:hover {
    background: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: scale(1.1);
}

/* ============================================================
   FLOATING SERVICE CARDS
   ============================================================ */
.services-floating {
    margin-top: -60px;
    position: relative;
    z-index: 10;
    padding-bottom: 40px;
}

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

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

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--accent-gold));
    transform: scaleX(0);
    transition: var(--transition);
}

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

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card-icon {
    width: 64px;
    height: 64px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--accent-blue-light), #dbeafe);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 28px;
    color: var(--primary);
    transition: var(--transition);
}

.service-card:hover .service-card-icon {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

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

.service-card p {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.service-card .card-arrow {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 600;
    color: var(--primary);
}

.service-card:hover .card-arrow {
    color: var(--accent-gold);
    gap: 8px;
}

/* ============================================================
   QUICK LINKS / PLATFORM SECTION
   ============================================================ */
.quick-links {
    padding: 60px 0;
    background: var(--bg-light);
}

.quick-links-title {
    text-align: center;
    margin-bottom: 36px;
}

.quick-links-title h3 {
    font-size: 20px;
    color: var(--text-dark);
    font-weight: 600;
}

.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.quick-link-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 32px 24px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border: 1px solid var(--border);
    position: relative;
    overflow: hidden;
}

.quick-link-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.quick-link-card-icon {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 16px;
    font-size: 32px;
    color: var(--white);
    transition: var(--transition);
}

.quick-link-card:hover .quick-link-card-icon {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
}

.quick-link-card-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
    border-radius: 4px;
}

.quick-link-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 6px;
}

.quick-link-card p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ============================================================
   NEWS SECTION — Horizontal Slider (imigrasi.go.id style)
   ============================================================ */
.news-section {
    padding: 80px 0 60px;
    background: var(--white);
}

.news-layout {
    display: flex;
    align-items: flex-start;
    gap: 40px;
}

/* Left Column: Title + Arrows */
.news-header-col {
    flex: 0 0 220px;
    padding-top: 10px;
    position: sticky;
    top: 100px;
}

.news-main-title {
    font-size: 32px;
    font-weight: 800;
    color: var(--primary-dark);
    line-height: 1.25;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.news-subtitle {
    font-size: 15px;
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 28px;
}

.news-nav-arrows {
    display: flex;
    gap: 10px;
}

.news-arrow {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    background: var(--white);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    transition: var(--transition);
}

.news-arrow:hover {
    background: var(--primary);
    color: var(--white);
}

/* Right Column: Card Slider */
.news-slider-wrapper {
    flex: 1;
    overflow: hidden;
    min-width: 0;
}

.news-slider {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding-bottom: 12px;
    /* Hide scrollbar */
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.news-slider::-webkit-scrollbar {
    display: none;
}

/* Individual News Card */
.news-slide-card {
    flex: 0 0 280px;
    scroll-snap-align: start;
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: 0 2px 12px rgba(0,0,0,0.06);
    border: 1px solid var(--border-light);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    text-decoration: none;
}

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

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

.news-slide-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.news-slide-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 2;
}

.badge-siaran_pers {
    background: var(--primary);
    color: var(--white);
}

.badge-berita {
    background: var(--accent-gold);
    color: var(--white);
}

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

.news-slide-body {
    padding: 18px 20px 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-slide-date {
    font-size: 12px;
    color: var(--accent-gold);
    font-weight: 600;
    margin-bottom: 8px;
}

.news-slide-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 8px;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    transition: var(--transition);
}

.news-slide-card:hover .news-slide-title {
    color: var(--primary);
}

.news-slide-excerpt {
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.55;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 14px;
    flex: 1;
}

.news-slide-readmore {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 13px;
    font-weight: 700;
    color: var(--white);
    background: var(--primary);
    padding: 8px 18px;
    border-radius: var(--radius);
    transition: var(--transition);
    width: fit-content;
}

.news-slide-readmore i {
    font-size: 16px;
    transition: transform 0.3s ease;
}

.news-slide-card:hover .news-slide-readmore {
    background: var(--primary-dark);
}

.news-slide-card:hover .news-slide-readmore i {
    transform: translateX(3px);
}

/* ============================================================
   LINK TERKAIT / RELATED LINKS BANNER
   ============================================================ */
.related-links {
    padding: 60px 0;
    background: var(--bg-section);
}

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

.related-link-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 24px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 100px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    transition: var(--transition);
    text-align: center;
    font-weight: 600;
    color: var(--primary);
    font-size: 14px;
}

.related-link-item img {
    max-height: 50px;
    width: auto;
    object-fit: contain;
}

.related-link-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

/* ============================================================
   BANNER INFORMASI — 2 KOLOM (setelah Kabar Terkini)
   ============================================================ */
.banner-info-section {
    padding: 40px 0;
    background: #f4f7fb;
}

.banner-info-grid {
    display: grid;
    gap: 20px;
}
.banner-info-grid.two-col {
    grid-template-columns: 1fr 1fr;
}
.banner-info-grid.one-col {
    grid-template-columns: 1fr;
    max-width: 700px;
    margin: 0 auto;
}

.banner-info-item {
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 18px rgba(0,30,80,0.12);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.banner-info-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0,30,80,0.18);
}

.banner-info-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.banner-info-img-wrap {
    position: relative;
    overflow: hidden;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 180px;
}

.banner-info-img {
    width: 100%;
    height: auto;
    max-width: 100%;
    display: block;
    object-fit: contain;
    transition: transform 0.3s ease;
}
.banner-info-item:hover .banner-info-img {
    transform: scale(1.02);
}

.banner-info-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(0deg, rgba(0,20,60,0.82) 0%, transparent 100%);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    padding: 28px 20px 16px;
    letter-spacing: 0.01em;
}

@media (max-width: 640px) {
    .banner-info-grid.two-col {
        grid-template-columns: 1fr;
    }
    .banner-info-section {
        padding: 28px 0;
    }
}

/* ============================================================
   CTA SECTION — M-PASPOR (imigrasi.go.id style)
   ============================================================ */
.cta-section {
    padding: 0;
    background: linear-gradient(135deg, #001a33 0%, var(--primary-dark) 40%, var(--primary) 100%);
    position: relative;
    overflow: hidden;
    min-height: 420px;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(197,164,78,0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-section::after {
    content: '';
    position: absolute;
    bottom: -80px;
    left: -80px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0,100,200,0.1) 0%, transparent 70%);
    border-radius: 50%;
}

.cta-layout {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    gap: 60px;
    position: relative;
    z-index: 2;
    min-height: 420px;
}

.cta-phone {
    flex: 0 0 380px;
    max-width: 380px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.cta-phone-img {
    width: 100%;
    max-width: 360px;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 10px 30px rgba(0,0,0,0.25));
    animation: ctaFloat 4s ease-in-out infinite;
}

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

.cta-content {
    flex: 1;
    text-align: left;
    position: relative;
    z-index: 2;
    padding: 60px 0;
}

.cta-content h2 {
    font-size: 36px;
    color: var(--white);
    margin-bottom: 16px;
    line-height: 1.3;
    font-weight: 800;
}

.cta-highlight {
    color: var(--accent-gold);
}

.cta-content p {
    font-size: 18px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 32px;
    max-width: 500px;
    line-height: 1.7;
}

.cta-badges {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-badge {
    display: inline-flex;
    align-items: center;
    background: #000;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 8px;
    padding: 8px 16px 8px 12px;
    color: #fff;
    transition: var(--transition);
    gap: 10px;
    text-decoration: none;
    min-width: 150px;
}

.cta-badge:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.4);
    border-color: rgba(255,255,255,0.5);
    background: #1a1a1a;
}

.cta-badge-icon {
    font-size: 28px;
    line-height: 1;
}

.cta-badge-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.cta-badge-text small {
    font-size: 9px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

.cta-badge-text strong {
    font-size: 16px;
    font-weight: 700;
    letter-spacing: 0.3px;
}

/* ============================================================
   FOOTER
   ============================================================ */
.footer {
    background: var(--primary-dark);
    color: rgba(255,255,255,0.85);
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

.footer-main {
    padding: 64px 0 40px;
    position: relative;
    z-index: 2;
}

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

.footer-brand img {
    height: 56px;
    margin-bottom: 16px;
}

.footer-brand h3 {
    font-size: 18px;
    color: var(--white);
    margin-bottom: 8px;
    font-weight: 700;
}

.footer-brand p {
    font-size: 14px;
    line-height: 1.6;
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.footer-contact-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 12px;
    font-size: 14px;
}

.footer-contact-item i {
    color: var(--accent-gold);
    font-size: 18px;
    margin-top: 2px;
}

.footer h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--accent-gold);
    border-radius: 2px;
}

.footer-links a {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 0;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

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

.footer-links a i {
    font-size: 12px;
    color: var(--accent-gold);
}

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

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

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

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

.footer-bottom .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255,255,255,0.5);
}

.footer-bottom a {
    color: rgba(255,255,255,0.5);
}

.footer-bottom a:hover {
    color: var(--accent-gold);
}

/* ============================================================
   BREADCRUMB
   ============================================================ */
.breadcrumb-section {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    padding: 40px 0;
    position: relative;
    overflow: hidden;
}

.breadcrumb-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 38.59l2.83-2.83 1.41 1.41L1.41 40H0v-1.41zM0 20l4-4 2 2-4 4-2-2zm20-16l4-4 2 2-4 4-2-2zM0 0h1.41l-2 2L-1 .59 0 0z'/%3E%3C/g%3E%3C/svg%3E");
}

.breadcrumb-content {
    position: relative;
    z-index: 2;
}

.breadcrumb-content h1 {
    font-size: 28px;
    color: var(--white);
    margin-bottom: 10px;
    font-weight: 800;
}

.breadcrumb-nav {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: rgba(255,255,255,0.7);
}

.breadcrumb-nav a {
    color: rgba(255,255,255,0.7);
}

.breadcrumb-nav a:hover {
    color: var(--accent-gold);
}

.breadcrumb-nav .separator {
    color: var(--accent-gold);
}

.breadcrumb-nav .current {
    color: var(--white);
    font-weight: 600;
}

/* ============================================================
   PAGE CONTENT: BERITA DETAIL
   ============================================================ */
.article-content {
    padding: 60px 0;
}

.article-wrapper {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.article-main img.article-featured {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--radius-lg);
    margin-bottom: 24px;
}

.article-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.article-meta-item {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: var(--text-muted);
}

.article-meta-item i {
    color: var(--accent-gold);
}

.article-body {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-body);
}

.article-body p {
    margin-bottom: 16px;
}

.article-body h2, .article-body h3 {
    margin: 28px 0 12px;
    color: var(--primary);
}

.article-body ul, .article-body ol {
    padding-left: 24px;
    margin-bottom: 16px;
    list-style: disc;
}

.article-body li {
    margin-bottom: 6px;
}

.article-share {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border);
}

.article-share span {
    font-weight: 600;
    color: var(--text-dark);
}

.share-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 16px;
    transition: var(--transition);
}

.share-btn:hover {
    transform: translateY(-2px);
}

.share-btn.fb { background: #1877F2; }
.share-btn.tw { background: #1DA1F2; }
.share-btn.wa { background: #25D366; }
.share-btn.ig { background: #E1306C; }

/* Sidebar */
.sidebar-widget {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.sidebar-widget h3 {
    font-size: 18px;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 2px solid var(--accent-gold);
}

.sidebar-news-item {
    display: flex;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border-light);
}

.sidebar-news-item:last-child {
    border-bottom: none;
}

.sidebar-news-thumb {
    width: 80px;
    height: 60px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
}

.sidebar-news-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.sidebar-news-info h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-dark);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.sidebar-news-info span {
    font-size: 12px;
    color: var(--text-muted);
}

/* ============================================================
   LAYANAN (SERVICES) PAGE
   ============================================================ */
.services-page {
    padding: 60px 0;
}

.services-list {
    display: grid;
    gap: 24px;
}

.service-detail-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
    display: flex;
    gap: 28px;
    transition: var(--transition);
}

.service-detail-card:hover {
    box-shadow: var(--shadow-lg);
    border-color: var(--primary);
}

.service-detail-icon {
    width: 80px;
    height: 80px;
    border-radius: var(--radius);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    color: var(--white);
    flex-shrink: 0;
}

.service-detail-info h3 {
    font-size: 20px;
    color: var(--primary);
    margin-bottom: 8px;
}

.service-detail-info p {
    color: var(--text-muted);
    margin-bottom: 12px;
}

/* ============================================================
   PROFIL / PEJABAT
   ============================================================ */
.profil-section {
    padding: 60px 0;
}

.profil-content {
    max-width: 900px;
    margin: 0 auto;
}

.profil-block {
    margin-bottom: 40px;
}

.profil-block h3 {
    font-size: 24px;
    color: var(--primary);
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 3px solid var(--accent-gold);
    display: inline-block;
}

.profil-block p {
    font-size: 16px;
    line-height: 1.8;
}

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

.pejabat-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow);
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--border-light);
}

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

.pejabat-card-photo {
    height: 240px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--bg-light), var(--border));
}

.pejabat-card-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.pejabat-card:hover .pejabat-card-photo img {
    transform: scale(1.05);
}

.pejabat-card-info {
    padding: 20px;
}

.pejabat-card-info h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 6px;
}

.pejabat-card-info p {
    font-size: 13px;
    color: var(--accent-gold);
    font-weight: 600;
}

.pejabat-card-info .nip {
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 4px;
}

/* ============================================================
   GALERI
   ============================================================ */
.galeri-section {
    padding: 60px 0;
}

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

.galeri-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    position: relative;
    height: 260px;
    cursor: pointer;
    box-shadow: var(--shadow);
}

.galeri-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.galeri-item-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 60%);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 20px;
    transition: var(--transition);
}

.galeri-item:hover .galeri-item-overlay {
    background: linear-gradient(to top, rgba(0,51,102,0.85) 0%, rgba(0,51,102,0.3) 100%);
}

.galeri-item-overlay h4 {
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
}

.galeri-item-overlay p {
    color: rgba(255,255,255,0.8);
    font-size: 13px;
    margin-top: 4px;
}

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

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

.video-card-embed {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-card-embed iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
}

.video-card-info {
    padding: 16px 20px;
}

.video-card-info h4 {
    font-size: 15px;
    color: var(--text-dark);
}

/* ============================================================
   FAQ SECTION
   ============================================================ */
.faq-section {
    padding: 60px 0;
}

.faq-categories {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    justify-content: center;
    margin-bottom: 40px;
}

.faq-cat-btn {
    padding: 8px 20px;
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--text-body);
    transition: var(--transition);
}

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

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

.faq-item {
    background: var(--white);
    border-radius: var(--radius);
    margin-bottom: 12px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item.active {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 24px;
    cursor: pointer;
    font-weight: 600;
    color: var(--text-dark);
    font-size: 15px;
    transition: var(--transition);
}

.faq-item.active .faq-question {
    color: var(--primary);
    background: var(--accent-blue-light);
}

.faq-question i {
    font-size: 20px;
    transition: var(--transition);
    color: var(--accent-gold);
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
}

.faq-answer-inner {
    padding: 0 24px 20px;
    font-size: 15px;
    color: var(--text-body);
    line-height: 1.7;
}

/* ============================================================
   PRODUK HUKUM
   ============================================================ */
.hukum-section {
    padding: 60px 0;
}

.hukum-tabs {
    display: flex;
    gap: 4px;
    margin-bottom: 32px;
    flex-wrap: wrap;
}

.hukum-tab {
    padding: 10px 20px;
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    border: 2px solid var(--border);
    background: var(--white);
    color: var(--text-body);
    transition: var(--transition);
}

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

.hukum-list {
    display: grid;
    gap: 16px;
}

.hukum-item {
    background: var(--white);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    transition: var(--transition);
}

.hukum-item:hover {
    box-shadow: var(--shadow);
    border-color: var(--primary);
}

.hukum-item-info h4 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.hukum-item-info span {
    font-size: 13px;
    color: var(--text-muted);
}

.hukum-item .btn {
    flex-shrink: 0;
}

/* ============================================================
   KONTAK
   ============================================================ */
.kontak-section {
    padding: 60px 0;
}

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

.kontak-info-card {
    display: flex;
    gap: 16px;
    padding: 24px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-light);
    margin-bottom: 16px;
    transition: var(--transition);
}

.kontak-info-card:hover {
    box-shadow: var(--shadow);
    border-color: var(--accent-gold);
}

.kontak-info-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    color: var(--white);
    flex-shrink: 0;
}

.kontak-info-text h4 {
    font-size: 15px;
    color: var(--text-dark);
    margin-bottom: 4px;
}

.kontak-info-text p {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.5;
}

.kontak-map {
    border-radius: var(--radius-lg);
    overflow: hidden;
    height: 300px;
    margin-top: 24px;
    box-shadow: var(--shadow);
}

.kontak-map iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.contact-form {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 36px;
    box-shadow: var(--shadow);
    border: 1px solid var(--border-light);
}

.contact-form h3 {
    font-size: 22px;
    color: var(--primary);
    margin-bottom: 24px;
}

.form-group {
    margin-bottom: 20px;
}

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

.form-control {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid var(--border);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-primary);
    color: var(--text-dark);
    transition: var(--transition);
    background: var(--white);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1);
}

textarea.form-control {
    min-height: 140px;
    resize: vertical;
}

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

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

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

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

/* ============================================================
   FLASH MESSAGES
   ============================================================ */
.alert {
    padding: 16px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: #ECFDF5;
    color: #065F46;
    border: 1px solid #A7F3D0;
}

.alert-danger {
    background: #FEF2F2;
    color: #991B1B;
    border: 1px solid #FECACA;
}

.alert-warning {
    background: #FFFBEB;
    color: #92400E;
    border: 1px solid #FDE68A;
}

.alert-info {
    background: #EFF6FF;
    color: #1E40AF;
    border: 1px solid #BFDBFE;
}

/* ============================================================
   SCROLL TO TOP
   ============================================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition);
    opacity: 0;
    visibility: hidden;
    z-index: 999;
}

.scroll-top.visible {
    opacity: 1;
    visibility: visible;
}

.scroll-top:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background: linear-gradient(135deg, var(--accent-gold), var(--accent-gold-light));
}

/* ============================================================
   LOADING SKELETON
   ============================================================ */
.skeleton {
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
    border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1024px) {
    .services-grid { grid-template-columns: repeat(2, 1fr); }
    .news-grid { grid-template-columns: repeat(2, 1fr); }
    .pejabat-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: repeat(2, 1fr); }
    .related-links-grid { grid-template-columns: repeat(2, 1fr); }
    .article-wrapper { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    :root {
        --header-height: 64px;
    }

    .topbar-left span:not(:first-child) { display: none; }

    .nav-toggle { display: flex; }

    .nav-menu {
        position: fixed;
        top: 0;
        right: -320px;
        width: 300px;
        height: 100vh;
        background: var(--white);
        flex-direction: column;
        padding: 80px 20px 20px;
        box-shadow: var(--shadow-xl);
        transition: var(--transition);
        overflow-y: auto;
        z-index: 1001;
        align-items: stretch;
    }

    .nav-menu.active {
        right: 0;
    }

    .nav-link {
        padding: 12px 16px;
        border-bottom: 1px solid var(--border-light);
    }

    .nav-dropdown {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        box-shadow: none;
        border: none;
        background: var(--bg-light);
        border-radius: var(--radius-sm);
        display: none;
    }

    .nav-item.open .nav-dropdown {
        display: block;
    }

    .hero-slider { height: 400px; }
    .hero-slide-content h1 { font-size: 26px; }
    .hero-slide-content p { font-size: 15px; }

    .services-floating { margin-top: -40px; }
    .services-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .service-card { padding: 20px 16px; }

    .section { padding: 40px 0; }

    .quick-links-grid { grid-template-columns: 1fr; }
    .news-grid { grid-template-columns: 1fr; }
    .kontak-grid { grid-template-columns: 1fr; }
    .pejabat-grid { grid-template-columns: repeat(2, 1fr); }
    .galeri-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-grid { grid-template-columns: 1fr; }
    .related-links-grid { grid-template-columns: 1fr 1fr; }

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

    .footer-bottom .container {
        flex-direction: column;
        text-align: center;
        gap: 8px;
    }

    /* FAQ Responsive */
    .faq-layout {
        grid-template-columns: 1fr !important;
    }
    .faq-sidebar {
        flex-direction: row !important;
        overflow-x: auto;
        gap: 0 !important;
        border-right: none !important;
        border-bottom: 1px solid #e0e0e0;
        padding-right: 0 !important;
        padding-bottom: 16px;
    }
    .faq-sidebar-link {
        white-space: nowrap;
        padding: 10px 16px !important;
        border-bottom: 3px solid transparent !important;
        border-left: none !important;
    }
    .faq-sidebar-link.active {
        border-bottom-color: var(--primary) !important;
        border-left-color: transparent !important;
    }
}

@media (max-width: 480px) {
    .services-grid { grid-template-columns: 1fr; }
    .pejabat-grid { grid-template-columns: 1fr; }
    .galeri-grid { grid-template-columns: 1fr; }
    .related-links-grid { grid-template-columns: 1fr; }
    .hero-slider { height: 340px; }
    .hero-slide-content h1 { font-size: 22px; }
}

/* ============================================================
   FAQ PAGE — Matching imigrasi.go.id Design
   ============================================================ */

/* Breadcrumb Bar */
.faq-breadcrumb-bar {
    background: linear-gradient(135deg, #00264d 0%, #004080 50%, #1a6bb5 100%);
    padding: 14px 0;
    border-bottom: 3px solid var(--accent-gold);
}

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

.faq-breadcrumb-nav a {
    color: #7ab8e8;
    text-decoration: none;
    transition: color 0.2s;
    font-weight: 500;
}

.faq-breadcrumb-nav a:hover {
    color: var(--accent-gold);
    text-decoration: underline;
}

.faq-bc-arrow {
    color: #5a9fd4;
    font-size: 16px;
    display: flex;
    align-items: center;
}

.faq-bc-current {
    color: #ffffff;
    font-weight: 600;
}

/* Main FAQ Section */
.faq-main-section {
    padding: 48px 0 60px;
    background: #ffffff;
    min-height: 500px;
}

.faq-layout {
    display: grid;
    grid-template-columns: 260px 1fr;
    gap: 0;
    align-items: start;
}

/* Sidebar */
.faq-sidebar {
    display: flex;
    flex-direction: column;
    gap: 0;
    border-right: 1px solid #e5e7eb;
    padding-right: 32px;
    position: sticky;
    top: 100px;
}

.faq-sidebar-link {
    display: block;
    padding: 14px 16px 14px 0;
    font-size: 15px;
    color: #1a6bb5;
    text-decoration: none;
    transition: all 0.25s ease;
    border-left: 3px solid transparent;
    padding-left: 16px;
    font-weight: 500;
    line-height: 1.4;
}

.faq-sidebar-link:hover {
    color: var(--primary);
    background: #f0f7ff;
}

.faq-sidebar-link.active {
    color: var(--primary-dark);
    font-weight: 700;
    border-left-color: var(--primary);
    background: transparent;
}

/* Q&A Content Area */
.faq-content-area {
    padding-left: 40px;
}

.faq-qa-block {
    margin-bottom: 48px;
    padding-bottom: 40px;
    border-bottom: 1px solid #f0f0f0;
}

.faq-qa-block:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.faq-question-title {
    font-size: 26px;
    font-weight: 700;
    color: #1a1a2e;
    line-height: 1.35;
    margin-bottom: 20px;
    letter-spacing: -0.3px;
}

.faq-answer-text {
    font-size: 16px;
    line-height: 1.85;
    color: #374151;
}

.faq-answer-text p {
    margin-bottom: 12px;
}

.faq-answer-text ul,
.faq-answer-text ol {
    padding-left: 24px;
    margin-bottom: 12px;
}

.faq-answer-text li {
    margin-bottom: 6px;
}

/* Empty State */
.faq-empty {
    text-align: center;
    padding: 80px 20px;
    color: #9ca3af;
}

.faq-empty i {
    font-size: 56px;
    margin-bottom: 16px;
    display: block;
    color: #d1d5db;
}

.faq-empty p {
    font-size: 16px;
}

/* Last Updated Bar */
.faq-updated-bar {
    background: linear-gradient(135deg, #1a3a5c 0%, #2d5a8a 100%);
    padding: 16px 0;
}

.faq-updated-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-updated-inner span {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    font-weight: 500;
}

.faq-actions {
    display: flex;
    gap: 12px;
}

.faq-actions button {
    background: none;
    border: none;
    color: rgba(255,255,255,0.75);
    font-size: 22px;
    cursor: pointer;
    transition: all 0.2s;
    padding: 4px;
    display: flex;
    align-items: center;
}

.faq-actions button:hover {
    color: var(--accent-gold);
    transform: scale(1.15);
}

/* ============================================================
   RESPONSIVE — CTA M-PASPOR
   ============================================================ */
@media (max-width: 1024px) {
    .cta-layout {
        gap: 40px;
    }
    .cta-phone {
        flex: 0 0 300px;
    }
    .cta-phone-img {
        width: 280px;
    }
    .cta-content h2 {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .cta-layout {
        flex-direction: column;
        text-align: center;
        gap: 0;
        min-height: auto;
    }
    .cta-phone {
        flex: none;
        order: 1;
    }
    .cta-phone-img {
        width: 240px;
        max-height: 300px;
        margin-top: 10px;
    }
    .cta-content {
        order: 2;
        text-align: center;
        padding: 40px 0 50px;
    }
    .cta-content h2 {
        font-size: 26px;
    }
    .cta-content p {
        margin-left: auto;
        margin-right: auto;
    }
    .cta-badges {
        justify-content: center;
    }
    .cta-section {
        min-height: auto;
    }
}

@media (max-width: 480px) {
    .cta-phone-img {
        width: 200px;
        max-height: 250px;
    }
    .cta-content h2 {
        font-size: 22px;
    }
    .cta-content p {
        font-size: 15px;
    }
    .cta-badges {
        flex-direction: column;
        align-items: center;
    }
    .cta-badge {
        min-width: 180px;
        justify-content: center;
    }
}

/* ============================================================
   RESPONSIVE — NEWS SLIDER
   ============================================================ */
@media (max-width: 1024px) {
    .news-header-col {
        flex: 0 0 180px;
    }
    .news-main-title {
        font-size: 26px;
    }
    .news-slide-card {
        flex: 0 0 250px;
    }
}

@media (max-width: 768px) {
    .news-layout {
        flex-direction: column;
        gap: 24px;
    }
    .news-header-col {
        flex: none;
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 16px;
        position: static;
    }
    .news-main-title {
        font-size: 24px;
        flex: 1;
    }
    .news-main-title br {
        display: none;
    }
    .news-subtitle {
        display: none;
    }
    .news-nav-arrows {
        margin-bottom: 0;
    }
    .news-slide-card {
        flex: 0 0 260px;
    }
}

@media (max-width: 480px) {
    .news-slide-card {
        flex: 0 0 240px;
    }
    .news-main-title {
        font-size: 20px;
    }
}

/* ============================================================
   PASPOR RI PAGE (imigrasi.go.id style)
   ============================================================ */
.paspor-hero {
    background: linear-gradient(135deg, #001a33 0%, #003366 50%, #00508a 100%);
    padding: 40px 0 48px;
    color: #fff;
}
.paspor-hero-title {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 20px;
    color: #fff;
}
.paspor-toggle {
    display: flex;
    align-items: center;
    gap: 12px;
}
.paspor-toggle-label {
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.5);
    cursor: pointer;
    transition: color 0.3s;
}
.paspor-toggle-label.active { color: #fff; }
.paspor-toggle-switch {
    width: 52px;
    height: 28px;
    background: rgba(255,255,255,0.25);
    border-radius: 14px;
    cursor: pointer;
    position: relative;
    transition: background 0.3s;
}
.paspor-toggle-switch.active { background: var(--accent-gold); }
.paspor-toggle-knob {
    width: 22px;
    height: 22px;
    background: #fff;
    border-radius: 50%;
    position: absolute;
    top: 3px;
    left: 3px;
    transition: transform 0.3s;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}
.paspor-toggle-switch.active .paspor-toggle-knob { transform: translateX(24px); }

/* Category Tabs */
.paspor-tabs-section {
    background: linear-gradient(180deg, #00508a 0%, #003366 100%);
    padding: 0 0 8px;
}
.paspor-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}
.paspor-tab {
    padding: 14px 24px;
    background: transparent;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 6px 6px 0 0;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    white-space: nowrap;
}
.paspor-tab:hover { background: rgba(255,255,255,0.1); color: #fff; }
.paspor-tab.active {
    background: #fff;
    color: var(--primary);
    border-color: #fff;
}

/* Content Layout */
.paspor-content-section { padding: 48px 0 64px; background: var(--bg-light); }
.paspor-layout {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 48px;
    align-items: start;
}
.paspor-sidebar {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.paspor-sidebar-link {
    padding: 10px 16px;
    color: var(--primary);
    font-size: 15px;
    font-weight: 500;
    border-left: 3px solid transparent;
    transition: all 0.2s;
    text-decoration: none;
}
.paspor-sidebar-link:hover { background: rgba(0,51,102,0.05); border-left-color: var(--primary); }
.paspor-sidebar-link.active {
    font-weight: 700;
    border-left-color: var(--primary);
    color: var(--primary);
    border-bottom: 2px solid var(--primary);
}

/* Content Sections */
.paspor-tab-content { display: none; }
.paspor-tab-content.active { display: block; }
.paspor-section { margin-bottom: 40px; }
.paspor-section h2 {
    font-size: 28px;
    font-weight: 800;
    color: var(--text);
    margin-bottom: 20px;
}
.paspor-section ol { padding-left: 24px; }
.paspor-section ol li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--text);
    font-size: 15px;
}
.paspor-section p {
    line-height: 1.7;
    color: var(--text);
    font-size: 15px;
    margin-bottom: 16px;
}
.paspor-note {
    background: #f8f9fa;
    border-left: 4px solid var(--accent-gold);
    padding: 16px 20px;
    border-radius: 0 8px 8px 0;
}
.paspor-note p { margin-bottom: 8px; }

/* Biaya Table */
.paspor-biaya-table {
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.biaya-row {
    display: flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 16px 20px;
    transition: var(--transition);
}
.biaya-row:hover { box-shadow: var(--shadow-sm); border-color: var(--primary); }
.biaya-num {
    width: 36px;
    height: 36px;
    background: var(--primary);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 14px;
    flex-shrink: 0;
}
.biaya-info { flex: 1; font-size: 15px; color: var(--text); }
.biaya-price {
    font-size: 16px;
    font-weight: 700;
    color: var(--primary);
    white-space: nowrap;
}
.paspor-updated {
    margin-top: 32px;
    font-size: 13px;
    color: var(--text-muted);
}

@media (max-width: 768px) {
    .paspor-hero-title { font-size: 24px; }
    .paspor-layout { grid-template-columns: 1fr; gap: 24px; }
    .paspor-sidebar { position: static; flex-direction: row; overflow-x: auto; gap: 0; }
    .paspor-sidebar-link { white-space: nowrap; border-left: none; border-bottom: 3px solid transparent; padding: 8px 14px; font-size: 13px; }
    .paspor-sidebar-link.active { border-left: none; border-bottom-color: var(--primary); }
    .paspor-tabs { overflow-x: auto; flex-wrap: nowrap; }
    .paspor-tab { font-size: 12px; padding: 10px 16px; }
    .biaya-row { flex-direction: column; align-items: flex-start; gap: 8px; }
    .paspor-section h2 { font-size: 22px; }
}

/* ============================================================
   VISA CARD GRID (Daftar Visa Indonesia)
   ============================================================ */
.visa-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
}
.visa-card {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    background: #fff;
    border: 1px solid var(--border);
    border-radius: 10px;
    transition: all 0.25s ease;
    cursor: default;
}
.visa-card:hover {
    border-color: var(--primary);
    box-shadow: 0 4px 16px rgba(0,51,102,0.1);
    transform: translateY(-2px);
}
.visa-code {
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 48px;
    height: 36px;
    padding: 0 10px;
    background: linear-gradient(135deg, var(--primary), #00508a);
    color: #fff;
    font-weight: 800;
    font-size: 13px;
    border-radius: 6px;
    letter-spacing: 0.5px;
    flex-shrink: 0;
}
.visa-name {
    font-size: 14px;
    font-weight: 500;
    color: var(--text);
    line-height: 1.4;
}

/* Layanan section ul/li styling */
.paspor-section ul {
    padding-left: 24px;
}
.paspor-section ul li {
    margin-bottom: 10px;
    line-height: 1.7;
    color: var(--text);
    font-size: 15px;
}
.paspor-section h4 {
    font-size: 17px;
    font-weight: 700;
    color: var(--text);
    margin: 20px 0 12px;
}

@media (max-width: 768px) {
    .visa-card-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   KANWIL SULSEL SPECIFIC 100% MATCH LAYOUT
   ============================================================ */

/* HERO KANWIL */
.hero-kanwil {
    position: relative;
    height: 80vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    background-color: var(--primary-dark);
}

.hero-kanwil-bg {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.9;
}

.hero-kanwil-container {
    position: relative;
    z-index: 10;
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-kanwil-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-radius: 12px;
    padding: 40px;
    max-width: 650px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-kanwil-card h1 {
    font-family: var(--font-heading);
    font-size: 32px;
    font-weight: 800;
    color: var(--white);
    margin-bottom: 8px;
    line-height: 1.2;
}

.hero-kanwil-subtitle {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 30px;
}

.hero-kanwil-menus {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.hero-menu-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(0, 0, 0, 0.4);
    padding: 16px 20px;
    border-radius: 6px;
    text-decoration: none;
    transition: var(--transition);
    border: 1px solid transparent;
}

.hero-menu-item:hover {
    background: rgba(0, 0, 0, 0.6);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

.hero-menu-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.hero-menu-text strong {
    color: var(--white);
    font-size: 15px;
    font-weight: 700;
}

.hero-menu-text span {
    color: rgba(255, 255, 255, 0.7);
    font-size: 12px;
}

.hero-menu-item i {
    color: var(--white);
    font-size: 20px;
}

/* PENGUMUMAN BANNER */
.pengumuman-banner {
    display: flex;
    background: #EAEAEA;
    height: 40px;
    align-items: center;
    position: relative;
    z-index: 20;
    border-bottom: 1px solid #ddd;
}

.pengumuman-label {
    background: #003366;
    height: 100%;
    display: flex;
    align-items: center;
    padding: 0 40px 0 20px;
    position: relative;
    z-index: 2;
}

.pengumuman-label::after {
    content: '';
    position: absolute;
    right: -20px;
    top: 0;
    border-top: 40px solid #003366;
    border-right: 20px solid transparent;
}

.pengumuman-label span {
    color: #FFD700;
    font-weight: 800;
    font-size: 14px;
    letter-spacing: 2px;
}

.pengumuman-ticker {
    flex: 1;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px 0 40px;
    height: 100%;
}

.ticker-text span {
    font-size: 13px;
    color: #333;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ticker-arrows {
    display: flex;
    gap: 4px;
}

.ticker-arrows i {
    color: #fff;
    cursor: pointer;
    font-size: 18px;
}

/* KABAR TERKINI SECTION */
.kabar-terkini-section {
    padding: 40px 0;
    background: var(--white);
}

.kabar-terkini-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #000;
    padding-bottom: 10px;
    margin-bottom: 24px;
}

.kabar-title-wrapper {
    display: flex;
    align-items: center;
    gap: 10px;
}

.kabar-icon {
    color: #FFD700;
    font-size: 24px;
}

.kabar-title {
    font-size: 18px;
    font-weight: 800;
    color: #000;
    margin: 0;
}

.btn-index-berita {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    border: 1px solid #333;
    padding: 6px 12px;
    border-radius: 4px;
    font-size: 12px;
    font-weight: 600;
    color: #333;
    transition: var(--transition);
}

.btn-index-berita:hover {
    background: #003366;
    color: #fff;
    border-color: #003366;
}

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

.kabar-card {
    border: 1px solid var(--border);
    border-radius: 4px;
    overflow: hidden;
    transition: var(--transition);
}

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

.kabar-image {
    height: 200px;
    overflow: hidden;
}

.kabar-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.kabar-content {
    padding: 16px;
}

.kabar-card-title {
    font-size: 14px;
    font-weight: 600;
    color: #222;
    line-height: 1.4;
    margin: 0;
}

@media (max-width: 992px) {
    .pengumuman-label { padding: 0 20px 0 10px; }
    .kabar-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .pengumuman-banner { flex-direction: column; height: auto; }
    .pengumuman-label { width: 100%; justify-content: center; padding: 10px; }
    .pengumuman-label::after { display: none; }
    .pengumuman-ticker { width: 100%; padding: 10px; }
    .kabar-grid { grid-template-columns: 1fr; }
    .hero-kanwil-card { margin: 0 10px; padding: 20px; }
}

/* ============================================================
   LAYANAN KHUSUS (NEW UIX)
   ============================================================ */
.layanan-khusus {
    background: var(--white);
    padding: 60px 0;
}

.layanan-khusus-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.layanan-khusus-col {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.center-col {
    flex: 0 0 auto;
    max-width: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.center-col img {
    width: 100%;
    max-width: 280px;
    height: auto;
    object-fit: contain;
}

.layanan-item {
    text-align: center;
}

.layanan-item i {
    font-size: 48px;
    color: #003366;
    margin-bottom: 12px;
}

.layanan-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: #003366;
    margin-bottom: 10px;
}

.layanan-item p {
    font-size: 13px;
    color: #555;
    line-height: 1.6;
}

.layanan-khusus-buttons {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-top: 60px;
}

.layanan-khusus-buttons a {
    padding: 16px 32px;
    text-align: center;
    font-weight: 700;
    font-size: 13px;
    color: #fff;
    border-radius: 4px;
    transition: var(--transition);
    line-height: 1.4;
    width: 100%;
    max-width: 350px;
}

.btn-info-dark {
    background: #34495E;
}

.btn-info-dark:hover {
    background: #2C3E50;
    transform: translateY(-2px);
}

.btn-info-light {
    background: #BDC3C7;
}

.btn-info-light:hover {
    background: #AAB7B8;
    transform: translateY(-2px);
}

@media (max-width: 992px) {
    .layanan-khusus-wrapper {
        flex-direction: column;
    }
    .center-col {
        order: -1;
        margin-bottom: 20px;
    }
    .layanan-khusus-buttons {
        flex-direction: column;
        align-items: center;
    }
    .pejabat-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 576px) {
    .pejabat-grid {
        grid-template-columns: 1fr;
    }
}


