
@media (max-width: 1024px) {
  .grid-4 {
    grid-template-columns: repeat(2, 1fr);
  }
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
  }
  .section {
    padding: 64px 0;
  }
}

/* Mobile Devices (Under 768px) */
@media (max-width: 768px) {
  :root {
    --header-height: 70px;
  }
  
  .grid-2, .grid-3, .grid-4 {
    grid-template-columns: 1fr;
  }

  .nav-menu {
    position: fixed;
    top: var(--header-height);
    left: -100%;
    width: 100%;
    height: calc(100vh - var(--header-height));
    background-color: var(--surface);
    flex-direction: column;
    justify-content: flex-start;
    padding: 40px 24px;
    transition: left var(--transition-smooth);
    box-shadow: var(--shadow-lg);
  }

  .nav-menu.active {
    left: 0;
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    min-height: 70vh;
  }

  .hero-btns {
    flex-direction: column;
    width: 100%;
  }

  .btn {
    width: 100%;
  }

  .stat-overlay {
    position: relative;
    bottom: 0;
    left: 0;
    margin-top: -40px;
    width: calc(100% - 32px);
    margin-left: 16px;
  }

  .footer-bottom {
    flex-direction: column;
    text-align: center;
  }
}