* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.6; transform: scale(0.9); }
}
@keyframes spin { 
    to { transform: rotate(360deg); }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
.animate-fade-up {
    animation: fadeInUp 0.6s ease forwards;
}

/* Custom scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: #f1f5f9; }
::-webkit-scrollbar-thumb { background: #CBD5E1; border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: #94a3b8; }

/* Utility classes */
.desktop-nav { display: flex; }
.mobile-menu-btn { display: none !important; }
@media (max-width: 768px) {
    .desktop-nav { display: none !important; }
    .mobile-menu-btn { display: flex !important; }
    .mobile-dropdown { display: block; }
}
@media (min-width: 769px) {
    .mobile-dropdown { display: none !important; }
}

/* Transition untuk halaman */
.page-container {
    transition: opacity 0.2s ease;
}
button {
    cursor: pointer;
}
.hover-link:hover {
    color: #F09E20 !important;
}

/* Leaflet Control Margin Top */
.leaflet-control-zoom {
    margin-top: 80px !important;
}
.leaflet-control-layers {
    margin-top: 80px !important;
}

/* Leaflet Tabel Popup */
.custom-popup { font-family: 'Inter', sans-serif; min-width: 280px; }
.custom-popup h3 { margin: 0 0 8px 0; color: #0A2647; font-weight: 700; border-left: 4px solid #F5A623; padding-left: 12px; }
.popup-table { width: 100%; border-collapse: collapse; font-size: 12px; margin-top: 8px; }
.popup-table td { padding: 4px 6px; border-bottom: 1px solid #e5e7eb; vertical-align: top; }
.popup-table td:first-child { font-weight: 600; color: #1e293b; width: 35%; background-color: #f8fafc; }
.popup-table td:last-child { color: #334155; }
.popup-badge { display: inline-block; background: #F5A62320; color: #F5A623; padding: 2px 8px; border-radius: 20px; font-size: 11px; font-weight: 600; margin-bottom: 10px; }


/* ======================== NAVIGATION BAR ======================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    backdrop-filter: blur(12px);
}

/* Navbar background berdasarkan scroll */
.navbar-scrolled {
    background: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(0, 0, 0, 0.06);
}

.navbar-transparent {
    background: rgba(10, 38, 71, 0.92);
    box-shadow: none;
    border-bottom: none;
}

/* Container navbar */
.nav-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
    height: 68px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

/* Logo */
.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
}

.nav-logo-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: linear-gradient(135deg, #F5A623, #E8941A);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nav-logo-icon i {
    color: #fff;
    font-size: 20px;
}

.nav-logo-title {
    font-size: 15px;
    font-weight: 700;
    transition: color 0.2s;
}

.nav-logo-title-light {
    color: #fff;
}

.nav-logo-title-dark {
    color: #0A2647;
}

.nav-logo-subtitle {
    font-size: 10.5px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-logo-subtitle-light {
    color: rgba(255, 255, 255, 0.75);
}

.nav-logo-subtitle-dark {
    color: #64748b;
}

/* Desktop navigation */
.desktop-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.nav-link {
    letter-spacing: 0.04em;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px 14px;
    border-radius: 8px;
    font-size: 15px;
    transition: all 0.2s;
}

.nav-link-light {
    color: rgba(255, 255, 255, 0.88);
}

.nav-link-dark {
    color: #374151;
}

.nav-link-active {
    color: #F5A623;
    font-weight: 600;
}

.nav-link-inactive-light {
    font-weight: 500;
}

.nav-link-inactive-dark {
    font-weight: 500;
}

.nav-link:hover {
    background: rgba(10, 38, 71, 0.06);
}

/* Mobile menu button */
.mobile-menu-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    display: none;
}

.mobile-menu-btn-light {
    color: #fff;
}

.mobile-menu-btn-dark {
    color: #0A2647;
}

.mobile-menu-btn i {
    font-size: 24px;
}

/* Mobile dropdown */
.mobile-dropdown {
    display: none;
    background: #fff;
    border-top: 1px solid #e5e7eb;
    padding: 12px 24px 16px;
}

.mobile-nav-link {
    display: block;
    width: 100%;
    text-align: left;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px 12px;
    border-radius: 8px;
    font-size: 15px;
    margin-bottom: 2px;
}

.mobile-nav-link-active {
    color: #F5A623;
    font-weight: 600;
}

.mobile-nav-link-inactive {
    color: #374151;
    font-weight: 400;
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-nav {
        display: none !important;
    }
    .mobile-menu-btn {
        display: flex !important;
    }
}


/* ======================== FOOTER ======================== */
.main-footer {
    background: linear-gradient(160deg, #071e3d 0%, #0A2647 50%, #0d2e56 100%);
    color: #fff;
    padding-top: 60px;
    padding-bottom: 0;
}

.footer-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 40px;
    padding-bottom: 48px;
}

/* Brand section */
.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 16px;
}

.footer-logo {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: linear-gradient(135deg, #F5A623, #E8941A);
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer-logo i {
    color: #fff;
    font-size: 20px;
}

.footer-brand-text .title {
    font-size: 15px;
    font-weight: 700;
}

.footer-brand-text .sub {
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.55);
}

.footer-description {
    font-size: 13.5px;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.7;
    max-width: 260px;
}

.social-icons {
    margin-top: 20px;
    display: flex;
    gap: 10px;
}

.social-icon {
    width: 34px;
    height: 34px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
}

/* Footer headings */
.footer-heading {
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1.2px;
    color: #F5A623;
    margin-bottom: 18px;
}

.footer-nav-link {
    display: flex;
    align-items: center;
    gap: 6px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    cursor: pointer;
    padding: 5px 0;
}

.footer-nav-link i {
    font-size: 12px;
}

.footer-service-item {
    color: rgba(255, 255, 255, 0.6);
    font-size: 14px;
    padding: 5px 0;
}

.footer-contact-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 14px;
}

.footer-contact-item i {
    color: #F5A623;
    width: 20px;
}

.footer-contact-item span {
    color: rgba(255, 255, 255, 0.6);
    font-size: 13.5px;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 20px 0;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.4);
}

/* Responsive */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 10px;
        text-align: center;
    }
}


/* ========== HOME PAGE ========== */

/* Hero Section */
.hero-section {
    position: relative;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
}
.hero-slide {
    position: absolute;
    inset: 0;
    transition: opacity 1s ease;
}
.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(7,30,61,0.2) 0%, rgba(10,38,71,0.15) 60%, rgba(0,0,0,0.4) 100%);
}
.hero-content {
    position: relative;
    z-index: 2;
    height: 100%;
    display: flex;
    align-items: center;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 24px;
}
.hero-text {
    max-width: 680px;
}
.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(245,166,35,0.2);
    border: 1px solid rgba(245,166,35,0.4);
    border-radius: 100px;
    padding: 6px 14px;
    margin-bottom: 24px;
}
.hero-tag-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #F5A623;
    animation: pulse 2s infinite;
}
.hero-tag-text {
    font-size: 12.5px;
    font-weight: 600;
    color: #F5A623;
}
.hero-title {
    font-size: clamp(36px,5vw,64px);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    white-space: pre-line;
}
.hero-subtitle {
    font-size: 18px;
    color: rgba(255,255,255,0.78);
    margin: 20px 0 36px;
}
.hero-buttons {
    display: flex;
    gap: 14px;
    flex-wrap: wrap;
}
.hero-btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, #F5A623, #E8941A);
    border: none;
    color: #fff;
    font-weight: 700;
    cursor: pointer;
}
.hero-btn-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    background: rgba(255,255,255,0.1);
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #fff;
    font-weight: 600;
    cursor: pointer;
    backdrop-filter: blur(8px);
}
.hero-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(255,255,255,0.12);
    border: 1.5px solid rgba(255,255,255,0.25);
    color: #fff;
    cursor: pointer;
    z-index: 3;
}
.hero-nav-left {
    left: 24px;
}
.hero-nav-right {
    right: 24px;
}
.hero-dots {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 3;
}
.hero-dot {
    width: 8px;
    height: 8px;
    border-radius: 100px;
    background: rgba(255,255,255,0.45);
    border: none;
    transition: all 0.3s;
    cursor: pointer;
}
.hero-dot.active {
    width: 28px;
    background: #F5A623;
}
.hero-gradient-bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 120px;
    background: linear-gradient(to top, #f8fafc, transparent);
}

/* Stats Section */
.stats-section {
    background: #f8fafc;
    padding: 64px 24px;
}
.stats-container {
    max-width: 1280px;
    margin: 0 auto;
}
.stats-header {
    text-align: center;
    margin-bottom: 48px;
}
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #F5A623;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-title {
    font-size: clamp(26px,3.5vw,38px);
    font-weight: 800;
    color: #0A2647;
}
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px,1fr));
    gap: 20px;
}
.stat-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 1px 12px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.05);
    display: flex;
    flex-direction: column;
    gap: 16px;
    transition: all 0.5s ease;
}
.stat-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stat-icon i {
    font-size: 22px;
}
.stat-number {
    display: flex;
    align-items: baseline;
    gap: 4px;
    margin-bottom: 4px;
}
.stat-value {
    font-size: 36px;
    font-weight: 800;
    letter-spacing: -1px;
    line-height: 1;
}
.stat-unit {
    font-size: 14px;
    font-weight: 600;
}
.stat-label {
    font-size: 13.5px;
    color: #64748b;
    font-weight: 500;
}
.stat-progress {
    height: 3px;
    border-radius: 100px;
    overflow: hidden;
}
.stat-progress-bar {
    height: 100%;
    border-radius: 100px;
    transition: width 1s ease;
}

/* About Preview */
.about-preview {
    background: #fff;
    padding: 80px 24px;
}
.about-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px,1fr));
    gap: 64px;
    align-items: center;
}
.about-image-wrapper {
    position: relative;
}
.about-image-bg {
    position: absolute;
    inset: -16px 16px 16px -16px;
    border-radius: 20px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    z-index: 0;
}
.about-image {
    width: 100%;
    border-radius: 16px;
    object-fit: cover;
    height: 400px;
    position: relative;
    z-index: 1;
    box-shadow: 0 16px 48px rgba(10,38,71,0.18);
}
.about-stats-card {
    position: absolute;
    bottom: 28px;
    right: -12px;
    z-index: 2;
    background: #fff;
    border-radius: 14px;
    padding: 16px 20px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.14);
    display: flex;
    gap: 12px;
    align-items: center;
    min-width: 180px;
}
.about-stats-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: #FFFBEB;
    display: flex;
    align-items: center;
    justify-content: center;
}
.about-stats-value {
    font-size: 20px;
    font-weight: 800;
    color: #0A2647;
    line-height: 1;
}
.about-stats-label {
    font-size: 12px;
    color: #64748b;
    margin-top: 3px;
}
.about-text h2 {
    font-size: clamp(26px,3vw,38px);
    font-weight: 800;
    color: #0A2647;
    letter-spacing: -0.5px;
    line-height: 1.2;
    margin-bottom: 20px;
}
.about-text p {
    font-size: 15.5px;
    color: #64748b;
    line-height: 1.75;
    margin-bottom: 16px;
}
.checklist-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    margin-bottom: 18px;
    color: #10B981;
}
.checklist-icon {
    color: #10B981;
    flex-shrink: 0;
    margin-top: 2px;
}
.checklist-text {
    font-size: 14.5px;
    color: #374151;
}
.btn-dark {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 10px;
    background: #0A2647;
    border: none;
    color: #fff;
    font-size: 14.5px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

/* Features Section */
.features-section {
    background: #f8fafc;
    padding: 80px 24px;
}
.features-container {
    max-width: 1280px;
    margin: 0 auto;
}
.features-header {
    text-align: center;
    margin-bottom: 56px;
}
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px,1fr));
    gap: 24px;
}
.feature-card {
    background: #fff;
    border-radius: 16px;
    padding: 32px 28px;
    box-shadow: 0 1px 12px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
    transition: 0.25s;
}
.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.feature-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.feature-icon svg, .feature-icon i {
    font-size: 24px;
    color: #0A2647;
}
.feature-title {
    font-size: 16px;
    font-weight: 700;
    color: #0A2647;
    margin-bottom: 10px;
}
.feature-desc {
    font-size: 14px;
    color: #64748b;
    line-height: 1.65;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #071e3d 0%, #0A2647 60%, #0d3568 100%);
    padding: 80px 24px;
    position: relative;
    overflow: hidden;
}
.cta-bg-circle1 {
    position: absolute;
    top: -80px;
    right: -80px;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: rgba(245,166,35,0.06);
}
.cta-bg-circle2 {
    position: absolute;
    bottom: -60px;
    left: -60px;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: rgba(59,130,246,0.08);
}
.cta-content {
    max-width: 700px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 1;
}
.cta-title {
    font-size: clamp(28px,4vw,44px);
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}
.cta-description {
    font-size: 16px;
    color: rgba(255,255,255,0.65);
    line-height: 1.7;
    margin-bottom: 36px;
}
.cta-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}
.cta-btn-primary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    background: linear-gradient(135deg, #F5A623, #E8941A);
    border: none;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(245,166,35,0.4);
    transition: 0.25s;
}
.cta-btn-secondary {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: 10px;
    background: transparent;
    border: 1.5px solid rgba(255,255,255,0.3);
    color: #fff;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.25s;
}

/* ========== MAP PAGE ========== */
.map-sidebar {
    width: 280px;
    background: #fff;
    border-right: 1px solid #e5e7eb;
    overflow-y: auto;
    padding: 16px;
    flex-shrink: 0;
    transition: width 0.3s ease;
}
.map-sidebar.closed {
    width: 0;
    padding: 0;
    overflow: hidden;
}
.sidebar-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}
.sidebar-logo {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: linear-gradient(135deg, #0A2647, #1a4a8a);
    display: flex;
    align-items: center;
    justify-content: center;
}
.sidebar-logo i {
    color: #fff;
    font-size: 16px;
}
.sidebar-title {
    font-size: 14px;
    font-weight: 700;
}
.sidebar-subtitle {
    font-size: 11px;
    color: #94a3b8;
}
.sidebar-divider {
    border: none;
    border-top: 1px solid #e5e7eb;
    margin: 12px 0;
}

.map-search-container {
    position: relative;
    margin-bottom: 20px;
}
.map-search-icon {
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: #9CA3AF;
    font-size: 14px;
    pointer-events: none;
}
.map-search-input {
    width: 100%;
    padding: 8px 25px 8px 36px;
    border-radius: 8px;
    border: 1.5px solid #e5e7eb;
    font-size: 13.5px;
    color: #374151;
    outline: none;
    transition: all 0.2s;
    background: #fff;
}
.map-search-input:focus {
    border-color: #F5A623;
    box-shadow: 0 0 0 3px rgba(245,166,35,0.2);
}
.map-search-input::placeholder {
    color: #9CA3AF;
}

.map-search-clear {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    color: #999;
    font-size: 14px;
    z-index: 2;
}

.map-search-clear:hover {
    color: #333;
}

/* Suggestion dropdown */
.suggestions-container {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #fff;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-top: 4px;
    max-height: 250px;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.suggestion-item {
    display: flex;
    align-items: flex-start;  /* agar ikon tetap di atas, teks tidak di tengah vertikal */
    gap: 8px;
    padding: 10px 12px;
    cursor: pointer;
    font-size: 13px;
    color: #374151;
    transition: background 0.2s;
    border-bottom: 1px solid #f1f5f9;
}
.suggestion-item:last-child {
    border-bottom: none;
}
.suggestion-item:hover {
    background: #f8fafc;
}
.suggestion-item.active {
    background: #EFF6FF;
    color: #0A2647;
    font-weight: 500;
}
.suggestion-icon {
    flex-shrink: 0;
    margin-top: 2px;  /* sedikit turun agar sejajar dengan baris pertama teks */
}
.suggestion-name {
    flex: 1;
    word-break: break-word;   /* memungkinkan pemotongan kata jika perlu */
    line-height: 1.4;
}
.suggestion-status {
    flex-shrink: 0;
    margin-left: 8px;
    font-size: 11px;
    color: #94a3b8;
    white-space: nowrap;
}

.layer-section-title {
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #94a3b8;
    margin: 20px 0 12px 0;
}
.layer-group {
    margin-bottom: 20px;
}
.layer-group-header {
    font-size: 12px;
    font-weight: 700;
    color: #374151;
    margin-bottom: 8px;
}
.layer-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.layer-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.2s;
}
.layer-item-active {
    background: #f8fafc;
    border: 1px solid #e5e7eb;
}
.layer-item-inactive {
    background: transparent;
    border: 1px solid transparent;
}
.layer-color {
    margin-bottom: 1px;
}
.layer-name {
    flex: 1;
    font-size: 13px;
}
.layer-name-active {
    color: #374151;
}
.layer-name-inactive {
    color: #9CA3AF;
}
.layer-eye {
    font-size: 14px;
}
.layer-eye-active {
    color: #3B82F6;
}
.layer-eye-inactive {
    color: #D1D5DB;
}
.map-canvas {
    padding-top: 68px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    background: #f1f5f9;
}

/* ========== DATA PAGE - Gaya dari renderData() ========== */

/* Container utama */
.data-page {
    padding-top: 68px;
    background: #f8fafc;
    min-height: 100vh;
}

/* Header gradien */
.data-header {
    background: linear-gradient(135deg, #071e3d, #0A2647);
    padding: 48px 24px 32px;
}
.data-header .header-container {
    max-width: 1280px;
    margin: 0 auto;
}
.data-header .data-tag {
    color: #F5A623;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}
.data-header h1 {
    color: #fff;
    font-size: clamp(28px, 3.5vw, 42px);
    font-weight: 800;
    margin: 8px 0;
}
.data-header p {
    color: rgba(255,255,255,0.6);
    max-width: 540px;
}

/* Section dalam container */
.data-section {
    max-width: 1280px;
    margin: 0 auto;
    padding: 32px 24px;
}

/* Card prioritas (tabel dengan border, shadow) */
.priority-card {
    background: #fff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 1px 12px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.05);
    margin-bottom: 24px;
}
.priority-header {
    padding: 20px 20px 16px;
    border-bottom: 1px solid #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.priority-title {
    font-size: 15px;
    font-weight: 700;
    color: #0A2647;
    margin-bottom: 2px;
}
.priority-sub {
    font-size: 12.5px;
    color: #94a3b8;
}
.priority-table {
    width: 100%;
    border-collapse: collapse;
    overflow-x: auto;
}
.priority-table th {
    background: #f8fafc;
    border-bottom: 1px solid #e5e7eb;
    padding: 12px 16px;
    text-align: left;
    font-size: 12px;
    font-weight: 700;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.priority-table td {
    padding: 14px 16px;
    font-size: 13.5px;
    border-bottom: 1px solid #f1f5f9;
}
.priority-table tr {
    cursor: pointer;
    transition: background 0.15s;
    background: transparent;
}
.priority-table tr:hover {
    background: #f8fafc;
}
.road-name {
    font-weight: 600;
    color: #0A2647;
}
.road-length {
    color: #374151;
}
.badge-rusak {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 100px;
    background: #FEF2F2;
    color: #7F1D1D;
    font-size: 12px;
    font-weight: 600;
}
.badge-sedang {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 10px;
    border-radius: 100px;
    background: #FFFBEB;
    color: #78350F;
    font-size: 12px;
    font-weight: 600;
}
.priority-high {
    padding: 3px 12px;
    border-radius: 100px;
    background: #FEF2F2;
    color: #B91C1C;
    font-size: 12px;
    font-weight: 700;
}
.priority-medium {
    padding: 3px 12px;
    border-radius: 100px;
    background: #FFFBEB;
    color: #92400E;
    font-size: 12px;
    font-weight: 700;
}
.priority-low {
    padding: 3px 12px;
    border-radius: 100px;
    background: #ECFDF5;
    color: #166534;
    font-size: 12px;
    font-weight: 700;
}
.budget-amount {
    font-weight: 600;
    color: #374151;
}

/* Catatan prioritas (alert box) */
.note-box {
    background: linear-gradient(135deg, #FEF9EC, #FFFBEF);
    border: 1px solid #FDE68A;
    border-radius: 12px;
    padding: 16px 20px;
    display: flex;
    gap: 12px;
    align-items: flex-start;
    margin-bottom: 30px;
}
.note-icon {
    flex-shrink: 0;
    margin-top: 1px;
    color: #D97706;
}
.note-title {
    font-size: 13.5px;
    font-weight: 700;
    color: #92400E;
    margin-bottom: 4px;
}
.note-text {
    font-size: 13px;
    color: #78350F;
    line-height: 1.6;
}

/* Grid chart (kondisi & perkerasan) */
.charts-grid {
    display: flex;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.chart-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 1px 12px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.05);
    flex: 1;
    min-width: 280px;
}
.chart-title {
    font-size: 15px;
    font-weight: 700;
    color: #0A2647;
    margin-bottom: 4px;
}
.chart-sub {
    font-size: 12.5px;
    color: #94a3b8;
    margin-bottom: 20px;
}
.chart-visual {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}
.donut-svg {
    width: 160px;
    height: 160px;
}
.donut-svg path {
    cursor: pointer;
    transition: opacity 0.2s;
}
.donut-svg text {
    font-family: 'Inter', sans-serif;
}
.legend-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    flex: 1;
    min-width: 120px;
}
.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
}
.legend-color {
    width: 10px;
    height: 10px;
    border-radius: 3px;
    flex-shrink: 0;
}
.legend-label {
    font-size: 12.5px;
    color: #374151;
    flex: 1;
}
.legend-value {
    font-size: 13px;
    font-weight: 700;
    color: #0A2647;
}

/* Tren & program cards */
.trend-program-grid {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 0;
}
.trend-card, .program-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px;
    box-shadow: 0 1px 12px rgba(0,0,0,0.07);
    border: 1px solid rgba(0,0,0,0.05);
    flex: 1;
    min-width: 280px;
}
.trend-item, .program-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 16px;
}
.trend-header, .program-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 6px;
    align-items: center;
}
.trend-year, .program-name {
    font-size: 13px;
    color: #374151;
    font-weight: 500;
}
.trend-value, .program-percent {
    font-size: 13px;
    font-weight: 700;
    color: #0A2647;
}
.progress-bar-bg {
    height: 10px;
    background: #f1f5f9;
    border-radius: 100px;
    overflow: hidden;
}
.progress-bar-fill {
    height: 100%;
    border-radius: 100px;
    transition: width 1s;
}

/* KPI grid */
.kpi-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-top: 24px;
}
.kpi-card {
    background: #fff;
    border-radius: 14px;
    padding: 20px;
    box-shadow: 0 1px 8px rgba(0,0,0,0.06);
    border: 1px solid rgba(0,0,0,0.04);
}
.kpi-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
}
.kpi-header i{
    color: #5592F6;
}
.kpi-label {
    font-size: 12.5px;
    color: #64748b;
    font-weight: 500;
}
.kpi-value {
    font-size: 24px;
    font-weight: 800;
    color: #0A2647;
    margin-bottom: 4px;
}
.kpi-trend {
    font-size: 12px;
    font-weight: 600;
}
.trend-up {
    color: #10B981;
}
.trend-down {
    color: #b92910;
}
.trend-neutral {
    color: #6B7280;
}

/* ========== ABOUT PAGE ========== */
.about-page {
    padding-top: 68px;
}
.about-header {
    background: linear-gradient(135deg, #071e3d, #0A2647);
    padding: 48px 24px 32px;
}
.about-header-container {
    max-width: 1280px;
    margin: 0 auto;
}
.about-header-tag {
    color: #F5A623;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}
.about-header-title {
    color: #fff;
    font-size: 40px;
    font-weight: 800;
    margin-top: 8px;
}
.about-achievements {
    background: #f8fafc;
    padding: 48px 24px;
}
.achievements-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 24px;
    text-align: center;
}
.achievement-icon {
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: linear-gradient(135deg, #EFF6FF, #DBEAFE);
    margin: 0 auto 14px;
    display: flex;
    align-items: center;
    justify-content: center;
}
.achievement-icon i {
    font-size: 22px;
    color: #0A2647;
}
.achievement-value {
    font-size: 32px;
    font-weight: 800;
    color: #0A2647;
}
.achievement-label {
    font-size: 14px;
    color: #64748b;
}
.vision-mission-section {
    padding: 80px 24px;
    background: #fff;
}
.vision-mission-container {
    max-width: 1280px;
    margin: 0 auto;
}
.section-header {
    text-align: center;
    margin-bottom: 56px;
}
.section-tag {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    color: #F5A623;
    text-transform: uppercase;
    margin-bottom: 10px;
}
.section-title {
    font-size: clamp(26px, 3.5vw, 38px);
    font-weight: 800;
    color: #0A2647;
    letter-spacing: -0.5px;
}
.vm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 24px;
}
.vision-card {
    background: linear-gradient(135deg, #0A2647, #1a4a8a);
    border-radius: 20px;
    padding: 36px 32px;
    color: #fff;
    position: relative;
    overflow: hidden;
}
.vision-bg-circle {
    position: absolute;
    bottom: -40px;
    right: -40px;
    width: 160px;
    height: 160px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.04);
}
.vision-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: rgba(245, 166, 35, 0.2);
    border: 1px solid rgba(245, 166, 35, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    position: relative;
    z-index: 1;
}
.vision-icon i {
    font-size: 24px;
    color: #F5A623;
}
.vision-card h3 {
    font-size: 20px;
    font-weight: 800;
    margin-bottom: 16px;
    position: relative;
    z-index: 1;
}
.vision-text {
    font-size: 15.5px;
    color: rgba(255, 255, 255, 0.78);
    line-height: 1.75;
    position: relative;
    z-index: 1;
}
.mission-card {
    background: #f8fafc;
    border-radius: 20px;
    padding: 36px 32px;
    border: 1px solid #e5e7eb;
}
.mission-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: #EFF6FF;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}
.mission-icon i {
    font-size: 24px;
    stroke: #0A2647;
}
.mission-card h3 {
    font-size: 20px;
    font-weight: 800;
    color: #0A2647;
    margin-bottom: 16px;
}
.mission-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.mission-item {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    color: #10B981;
}
.mission-check {
    flex-shrink: 0;
    margin-top: 2px;
    width: 16px;
    height: 16px;
    stroke: #10B981;
}
.mission-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}
.team-section {
    padding: 80px 24px;
    background: #fff;
}
.team-container {
    max-width: 1280px;
    margin: 0 auto;
}
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}
.team-card {
    text-align: center;
    padding: 32px 20px;
    border-radius: 16px;
    border: 1px solid #f1f5f9;
    background: #fafbfc;
    transition: 0.25s;
}
.team-card:hover {
    box-shadow: 0 8px 24px rgba(0,0,0,0.08);
    transform: translateY(-4px);
}
.team-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 16px;
    border: 3px solid #DBEAFE;
}
.team-name {
    font-size: 15px;
    font-weight: 700;
    color: #0A2647;
    margin-bottom: 6px;
}
.team-role {
    font-size: 13px;
    color: #64748b;
    background: #EFF6FF;
    border-radius: 100px;
    padding: 4px 12px;
    display: inline-block;
}

/* ========== CONTACT PAGE ========== */
.contact-page {
    padding-top: 68px;
}
.contact-header {
    background: linear-gradient(135deg, #071e3d, #0A2647);
    padding: 64px 24px;
}
.contact-header-container {
    max-width: 1280px;
    margin: 0 auto;
}
.contact-header-tag {
    color: #F5A623;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
}
.contact-header-title {
    color: #fff;
    font-size: 28px;
    font-weight: 800;
    margin-top: 8px;
}
@media (min-width: 768px) {
    .contact-header-title {
        font-size: 36px;
    }
}
.contact-content {
    max-width: 1280px;
    margin: 0 auto;
    padding: 48px 24px;
}
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 48px;
}
.contact-card {
    background: #fff;
    border-radius: 14px;
    padding: 24px;
    box-shadow: 0 1px 10px rgba(0,0,0,0.06);
    transition: transform 0.2s, box-shadow 0.2s;
}
.contact-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.1);
}
.contact-card-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}
.contact-card-icon i {
    font-size: 20px;
}
.contact-card-title {
    font-size: 13px;
    font-weight: 700;
    color: #64748b;
    margin-bottom: 8px;
    letter-spacing: 0.3px;
}
.contact-card-detail {
    font-size: 14px;
    color: #0A2647;
    line-height: 1.6;
    font-weight: 500;
}
.contact-form-map {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
.contact-form-container {
    background: #fff;
    border-radius: 20px;
    padding: 36px;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
}
.contact-form-title {
    font-size: 20px;
    font-weight: 800;
    color: #0A2647;
    margin-bottom: 24px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 14px;
}
.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 12px 14px;
    border-radius: 10px;
    border: 1.5px solid #e5e7eb;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    transition: all 0.2s;
    background: #fff;
    outline: none;
}
.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    border-color: #F5A623;
    box-shadow: 0 0 0 3px rgba(245,166,35,0.2);
}
.contact-form textarea {
    resize: vertical;
    min-height: 100px;
}
.contact-submit-btn {
    background: #0A2647;
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 15px;
    font-weight: 600;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s;
}
.contact-submit-btn:hover {
    background: #1a4a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10,38,71,0.2);
}
.contact-submit-btn:active {
    transform: translateY(0);
}
.success-message {
    text-align: center;
    padding: 40px 20px;
}
.success-icon {
    font-size: 48px;
    color: #10B981;
    margin-bottom: 16px;
}
.success-title {
    font-size: 20px;
    font-weight: 700;
    color: #0A2647;
    margin-bottom: 8px;
}
.reset-btn {
    margin-top: 20px;
    background: #0A2647;
    color: #fff;
    padding: 10px 20px;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    font-weight: 600;
    transition: 0.2s;
}
.reset-btn:hover {
    background: #1a4a8a;
}
.contact-map {
    background: #fff;
    border-radius: 20px;
    min-height: 480px;
    position: relative;
    box-shadow: 0 2px 16px rgba(0,0,0,0.08);
    overflow: hidden;
}
.contact-map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}