/* ==========================================================================
   Megamil Tech & AI - Responsive Stylesheet
   ========================================================================== */

@media (max-width: 1024px) {
  .hero h1 {
    font-size: 2.75rem;
  }

  .spotlight-card,
  .about-grid,
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

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

@media (max-width: 768px) {
  .section-padding {
    padding: 4rem 0;
  }

  .section-header h2 {
    font-size: 2rem;
  }

  .hero {
    padding-top: calc(var(--header-height) + 2rem);
  }

  .hero h1 {
    font-size: 2.125rem;
  }

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

  .hero-metrics {
    grid-template-columns: 1fr;
    gap: 1.25rem;
    padding: 1.5rem;
  }

  .mobile-toggle {
    display: block;
  }

  .nav-links {
    position: fixed;
    top: var(--header-height);
    left: 0;
    width: 100%;
    background: rgba(10, 13, 20, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glow);
    flex-direction: column;
    padding: 2rem;
    gap: 1.5rem;
    transform: translateY(-150%);
    transition: var(--transition-normal);
    opacity: 0;
    pointer-events: none;
  }

  .nav-links.active {
    transform: translateY(0);
    opacity: 1;
    pointer-events: all;
  }

  .spotlight-card {
    padding: 2rem;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
}

@media (max-width: 480px) {
  .hero h1 {
    font-size: 1.85rem;
  }

  .hero-cta {
    flex-direction: column;
    width: 100%;
  }

  .hero-cta .btn {
    width: 100%;
  }

  .cases-grid {
    grid-template-columns: 1fr;
  }
}
