/* =========================================================
   BANK SAMPAH MTSN 2 TUBAN - MAIN STYLESHEET (FULL CLEAN)
   ========================================================= */

:root {
    --primary-900: #0d2818;
    --primary-800: #164227;
    --primary-700: #1b4332;
    --primary-600: #2d6a4f;
    --accent-500: #52b788;
    --accent-400: #74c69d;
    --accent-100: #d8f3dc;
    --neutral-900: #0f172a;
    --neutral-800: #1e293b;
    --neutral-600: #475569;
    --neutral-100: #f8fafc;
    --neutral-50: #ffffff;
	--neutral-25: #dcf5e4;
    --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 10px 25px -5px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 20px 35px -10px rgba(13, 40, 24, 0.12);
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-main);
    color: var(--neutral-800);
    background-color: var(--neutral-100);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1240px;
    margin: 0 auto;
}

/* TOP BAR HEADER KECIL RESPONSIVE */
.top-bar {
    background: var(--primary-900);
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.78rem;
    padding: 0.4rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    position: relative;
    z-index: 1001;
}

.top-bar-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.5rem;
}

.top-bar-left, 
.top-bar-right {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    white-space: nowrap;
}

.top-bar-badge {
    background: rgba(82, 183, 136, 0.2);
    border: 1px solid rgba(82, 183, 136, 0.3);
    color: var(--accent-100);
    padding: 0.15rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    font-size: 0.7rem;
}

.top-bar-link {
    color: var(--accent-100);
    text-decoration: none;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    transition: all 0.25s ease;
}

.top-bar-link:hover {
    color: var(--accent-400);
    text-decoration: underline;
}

.top-bar-divider {
    color: rgba(255, 255, 255, 0.3);
    font-size: 0.65rem;
}

.top-bar-divider-v {
    width: 1px;
    height: 12px;
    background: rgba(255, 255, 255, 0.2);
}

.top-bar-time {
    font-weight: 600;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.75rem;
    letter-spacing: 0.01em;
}

.top-bar-time-mobile {
    display: none;
}

.top-bar-socials {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.social-icon {
    color: rgba(255, 255, 255, 0.75);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    transition: all 0.25s ease;
}

.social-icon:hover {
    color: var(--accent-100);
    background: var(--primary-600);
    transform: translateY(-2px);
}

/* MAIN HEADER & NAVIGATION */
.header-sticky {
    position: sticky;
    top: 0;
    z-index: 1000;
	background: var(--neutral-50);
    backdrop-filter: blur(12px);
	color: #fff;
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(45, 106, 79, 0.1);
    transition: all 0.3s ease;
}

.header-sticky.scrolled {
    box-shadow: var(--shadow-md);
    background: rgba(237, 245, 235, 1);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
}

.brand-icon {
    width: 42px;
    height: 42px;
    background: var(--primary-700);
    color: var(--accent-100);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    box-shadow: var(--shadow-sm);
}

.brand-text h1 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--primary-900);
    line-height: 1.1;
}
.brand-text h3 {
    font-size: 1rem;
    font-weight: 800;
    color: var(--neutral-50);
    line-height: 1.1;
}
.brand-text span {
    font-size: 0.75rem;
    color: var(--primary-600);
    font-weight: 600;
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    font-size: 1.6rem;
    color: var(--primary-900);
    cursor: pointer;
    padding: 0.25rem 0.5rem;
}

.nav-menu {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-link {
    text-decoration: none;
    color: var(--neutral-600);
    font-weight: 600;
    font-size: 0.95rem;
    transition: color 0.25s ease;
    position: relative;
    padding: 0.5rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background: var(--accent-500);
    transition: width 0.3s ease;
}

.nav-link:hover, .nav-link.active {
    color: var(--primary-700);
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

.btn-header {
    background: var(--primary-700);
    color: var(--neutral-50);
    padding: 0.25rem 1.6rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.88rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.btn-header:hover {
    background: var(--primary-600);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* HERO SECTION */
.hero {
    position: relative;
    padding: 5.5rem 0 4.5rem;
    background: linear-gradient(135deg, var(--primary-900) 0%, var(--primary-700) 60%, var(--primary-600) 100%);
    color: var(--neutral-50);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -10%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(82, 183, 136, 0.25) 0%, rgba(0,0,0,0) 70%);
    border-radius: 50%;
    pointer-events: none;
}

.hero-content {
    max-width: 820px;
    margin: 0 auto;
    text-align: center;
    position: relative;
    z-index: 2;
}

.badge-hero {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(216, 243, 220, 0.15);
    border: 1px solid rgba(82, 183, 136, 0.3);
    color: var(--accent-100);
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    backdrop-filter: blur(8px);
}

.hero h2 {
    font-size: 2.8rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 1.25rem;
    letter-spacing: -0.02em;
}

.hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.88);
    margin-bottom: 2rem;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.btn-primary-hero {
    background: var(--accent-500);
    color: var(--primary-900);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 800;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    box-shadow: 0 10px 20px rgba(82, 183, 136, 0.3);
}

.btn-primary-hero:hover {
    background: var(--accent-400);
    transform: translateY(-3px);
}

.btn-secondary-hero {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: var(--neutral-50);
    padding: 0.85rem 2rem;
    border-radius: 50px;
    font-weight: 700;
    text-decoration: none;
    transition: all 0.3s ease;
    white-space: nowrap;
    backdrop-filter: blur(5px);
}

.btn-secondary-hero:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

/* STATS & DUAL DIAGRAM SECTION */
.stats-section {
    margin-top: -3.5rem;
    position: relative;
    z-index: 10;
}

.stats-wrapper-pro {
    background: var(--neutral-50);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    padding: 2rem;
    border: 1px solid rgba(45, 106, 79, 0.12);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.chart-header-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid rgba(45, 106, 79, 0.1);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.chart-header-top h3 {
    font-size: 1.2rem;
    color: var(--primary-900);
    font-weight: 800;
}

.live-dot-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(45, 106, 79, 0.08);
    color: var(--primary-700);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 0.3rem 0.75rem;
    border-radius: 50px;
    text-transform: uppercase;
}

.pulse {
    width: 8px;
    height: 8px;
    background-color: #22c55e;
    border-radius: 50%;
    animation: pulse-animation 2s infinite;
}

@keyframes pulse-animation {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 8px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.dual-chart-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
    margin-bottom: 0.5rem;
    align-items: center;
}

.chart-card-side {
    background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 100%);
    border-radius: var(--radius-md);
    padding: 1.25rem;
    border: 1px solid rgba(82, 183, 136, 0.2);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.chart-card-header {
    margin-bottom: 0.75rem;
    text-align: center;
    width: 100%;
}

.chart-card-header h4 {
    font-size: 1rem;
    color: var(--primary-800);
    font-weight: 700;
}

/* UKURAN CANVAS DIAGRAM PROPORSIONAL */
.canvas-wrapper-pie {
    position: relative;
    width: 100% !important;
    max-width: 250px !important;
    height: 240px !important;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.canvas-wrapper-bar {
    position: relative;
    width: 100% !important;
    height: 240px !important;
    margin: 0 auto;
}

.canvas-wrapper-pie canvas,
.canvas-wrapper-bar canvas {
    width: 100% !important;
    height: 100% !important;
    max-width: 100% !important;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    background: var(--neutral-50);
    padding: 1.25rem 1rem;
    border-radius: var(--radius-md);
    border: 1px solid rgba(45, 106, 79, 0.08);
    margin-top: -0.5rem;
}

.stat-card {
    text-align: center;
    padding: 0.75rem;
    border-right: 1px solid var(--neutral-100);
}

.stat-card:last-child {
    border-right: none;
}

.stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-700);
    margin-bottom: 0.2rem;
}

.stat-label {
    font-size: 0.85rem;
    color: var(--neutral-600);
    font-weight: 600;
}

/* VISI, MISI & CTA SECTIONS */
.section-padding {
    padding: 5.5rem 0;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-subtitle {
    color: var(--primary-600);
    font-size: 0.85rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 0.5rem;
    display: block;
}

.section-header h3 {
    font-size: 2.2rem;
    color: var(--primary-900);
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.section-header p {
    color: var(--neutral-600);
    font-size: 1rem;
}

.visi-banner {
    background: linear-gradient(120deg, var(--primary-800), var(--primary-600));
    color: var(--neutral-50);
    border-radius: var(--radius-lg);
    padding: 3rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
    margin-bottom: 3rem;
}

.visi-text {
    font-size: 1.35rem;
    font-weight: 700;
    line-height: 1.6;
    max-width: 950px;
    margin: 0 auto;
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.pillar-card {
    background: var(--neutral-50);
    border-radius: var(--radius-md);
    padding: 1.75rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0, 0, 0, 0.04);
    transition: all 0.3s ease;
}

.pillar-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--accent-500);
}

.pillar-icon {
    font-size: 2.2rem;
    margin-bottom: 1rem;
}

.pillar-card h4 {
    font-size: 1.15rem;
    color: var(--primary-900);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.pillar-card p {
    color: var(--neutral-600);
    font-size: 0.9rem;
}

.misi-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.misi-item {
    background: var(--neutral-50);
    border-radius: var(--radius-md);
    padding: 2rem;
    box-shadow: var(--shadow-sm);
    border: 1px solid rgba(0,0,0,0.05);
    display: grid;
    grid-template-columns: 70px 1fr 280px;
    gap: 1.5rem;
    align-items: center;
    transition: all 0.3s ease;
}

.misi-item:hover {
    box-shadow: var(--shadow-lg);
    border-left: 5px solid var(--accent-500);
}

.misi-num-badge {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary-600);
    background: var(--accent-100);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.misi-body h4 {
    font-size: 1.25rem;
    color: var(--primary-900);
    margin-bottom: 0.5rem;
    font-weight: 800;
}

.misi-tag {
    display: inline-block;
    background: var(--neutral-100);
    color: var(--primary-700);
    padding: 0.2rem 0.75rem;
    border-radius: 50px;
    font-size: 0.72rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
}

.misi-action-box {
    background: var(--neutral-100);
    border-left: 4px solid var(--primary-600);
    padding: 1rem;
    border-radius: var(--radius-sm);
}

.misi-action-box h5 {
    font-size: 0.8rem;
    color: var(--primary-700);
    margin-bottom: 0.25rem;
    font-weight: 800;
    text-transform: uppercase;
}

.misi-action-box p {
    font-size: 0.85rem;
    color: var(--neutral-800);
    font-weight: 600;
}

.cta-section {
    background: linear-gradient(135deg, var(--primary-800), var(--primary-900));
    color: var(--neutral-50);
    border-radius: var(--radius-lg);
    padding: 3.5rem 2rem;
    text-align: center;
    box-shadow: var(--shadow-lg);
}

.cta-section h3 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
}

.cta-section p {
    font-size: 1rem;
    color: var(--accent-100);
    margin-bottom: 1.75rem;
}

.cta-section .btn-primary-hero {
    white-space: nowrap;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

/* FOOTER SEKAT-SEKAT */
footer {
    background: var(--primary-900);
    color: var(--neutral-50);
    padding: 4rem 0 2rem;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-500), var(--primary-600), var(--accent-400));
}

.footer-grid-sekat {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
    gap: 1.25rem;
    margin-bottom: 2.5rem;
}

.sekat-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-md);
    padding: 1.75rem 1.5rem;
    display: flex;
    flex-direction: column;
}

.sekat-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 1rem 0;
    line-height: 1.6;
}

.sekat-badge-status {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    background: rgba(82, 183, 136, 0.12);
    border: 1px solid rgba(82, 183, 136, 0.25);
    color: var(--accent-100);
    font-size: 0.75rem;
    padding: 0.35rem 0.75rem;
    border-radius: 50px;
    width: fit-content;
}

.status-dot {
    width: 7px;
    height: 7px;
    background-color: var(--accent-500);
    border-radius: 50%;
}

.sekat-title {
    font-size: 1rem;
    color: var(--neutral-50);
    font-weight: 800;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.sekat-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.65rem;
}

.sekat-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.88rem;
    font-weight: 600;
    transition: color 0.25s ease;
}

.sekat-links a:hover {
    color: var(--accent-400);
}

.contact-sekat {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 0.65rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.75);
}

.footer-bottom-sekat {
    background: rgba(0, 0, 0, 0.2);
    border-radius: var(--radius-md);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* FULL RESPONSIVE BREAKPOINTS (HP & TABLET) */
@media (max-width: 992px) {
    .dual-chart-grid {
        grid-template-columns: 1fr;
    }

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

@media (max-width: 768px) {
    /* Top Bar Mobile Optimization */
    .top-bar {
        padding: 0.3rem 0;
    }

    .top-bar-container {
        padding: 0 0.25rem;
        gap: 0.25rem;
    }

    .top-bar-time-desktop {
        display: none;
    }

    .top-bar-time-mobile {
        display: block;
        font-size: 0.68rem;
        font-weight: 700;
        color: var(--accent-100);
    }

    .top-bar-badge {
        font-size: 0.62rem;
        padding: 0.1rem 0.35rem;
    }

    .top-bar-link {
        font-size: 0.68rem;
    }

    .social-icon {
        width: 18px;
        height: 18px;
    }

    .social-icon svg {
        width: 10px;
        height: 10px;
    }

    /* Navigation Mobile Toggle */
    .mobile-menu-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 60px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 60px);
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(15px);
        flex-direction: column;
        align-items: center;
        padding-top: 2.5rem;
        gap: 1.5rem;
        transition: left 0.35s ease;
        box-shadow: var(--shadow-lg);
    }

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

    .btn-header {
        display: none;
    }

    /* Layout Content Mobile */
    .hero {
        padding: 3.5rem 0 2.5rem;
    }

    .hero h2 {
        font-size: 1.75rem;
    }

    .hero p {
        font-size: 0.92rem;
    }

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

    .canvas-wrapper-pie {
        max-width: 200px !important;
        height: 200px !important;
    }

    .canvas-wrapper-bar {
        height: 200px !important;
    }

    .chart-card-side {
        padding: 1rem 0.5rem !important;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.5rem;
        margin-top: 0;
    }

    .stat-card {
        border-right: none;
        padding: 0.5rem;
    }

    .stat-value {
        font-size: 1.4rem;
    }

    .stat-label {
        font-size: 0.72rem;
    }

    .visi-banner {
        padding: 1.75rem 1rem;
    }

    .visi-text {
        font-size: 1.05rem;
    }

    .misi-item {
        grid-template-columns: 1fr;
        padding: 1.25rem;
    }

    .misi-num-badge {
        width: 45px;
        height: 45px;
        font-size: 1.3rem;
    }

    .cta-section {
        padding: 2.25rem 1rem;
    }

    .cta-section h3 {
        font-size: 1.45rem;
    }

    .cta-section p {
        font-size: 0.9rem;
    }

    .cta-section .btn-primary-hero {
        font-size: 0.85rem;
        padding: 0.75rem 1.25rem;
        width: 100%;
    }

    .footer-grid-sekat {
        grid-template-columns: 1fr;
    }

    .footer-bottom-sekat {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}