/* PT. NUSANTARA PAPER INDONESIA - RESPONSIVE MATRIX */

@media (max-width: 1024px) {
    .grid-layout-4 { grid-template-columns: repeat(2, 1fr); }
    .grid-layout-3 { grid-template-columns: repeat(2, 1fr); }
    .footer-container { grid-template-columns: repeat(2, 1fr); gap:30px; }
    .hero-title { font-size: 2.4rem; }
    .blog-main-layout { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
    .nav-menu {
        position: fixed; top: 80px; left: -100%; width: 100%; height: calc(100vh - 80px);
        background: var(--white); flex-direction: column; align-items: center; padding: 40px 0;
        transition: 0.4s ease; box-shadow: 0 10px 20px rgba(0,0,0,0.05); z-index: 999;
    }
    .nav-menu.active { left: 0; }
    .nav-menu-toggle { display: block !important; cursor: pointer; }
    .nav-menu-toggle .bar { display: block; width: 25px; height: 3px; margin: 5px auto; background: var(--text-primary); transition: 0.3s; }
    
    .grid-layout-4, .grid-layout-3, .grid-layout-2 { grid-template-columns: 1fr; }
    .grid-layout-2-sub { grid-template-columns: 1fr; }
    .timeline-modern::before { left: 20px; }
    .timeline-item { flex-direction: row !important; }
    .timeline-panel { width: calc(100% - 60px); }
    .timeline-badge { width: 45px; height: 45px; font-size: 0.85rem; box-shadow: none; margin-right: 15px; }
    
    .footer-container { grid-template-columns: 1fr; }
    .hero-title { font-size: 1.9rem; }
    .hero-btns { flex-direction: column; width: 100%; }
    .btn { width: 100%; justify-content: center; }
    .btn-nav span { display: none; }
    .btn-nav { padding: 10px; border-radius: 50%; }
    .btn-nav i { margin: 0; font-size: 1.2rem; }
    .masonry-grid-wrapper { column-count: 1; }
}

/* Toggle Menu Animation helper */
.nav-menu-toggle { display: none; }