/* =========================================================
   RESPONSIVE LAYOUT
   Keep all breakpoint overrides in one place for easier editing.
   ========================================================= */
@media (max-width: 1024px) {
  .fullstack-grid,
  .aiml-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  #hamburger {
    display: inline-flex;
  }

  .hero-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .about-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

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

  .fullstack-grid,
  .aiml-grid {
    grid-template-columns: 1fr;
  }

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

  .footer-col {
    align-items: center;
  }

  .btn-resume {
    justify-self: center;
  }

  .gh-strip {
    padding: 14px 18px;
    gap: 12px;
    display: grid;
    grid-template-columns: 1fr 1fr;
  }

  .gh-strip-divider {
    display: none;
  }

  .gh-strip-item {
    min-width: unset;
  }

  .gh-strip-link {
    grid-column: 1 / -1;
    text-align: center;
    margin-left: 0;
  }

  .gh-board {
    padding: 16px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
}

@media (max-width: 480px) {
  .section {
    padding: 70px 18px;
  }

  .hero {
    padding-top: 130px;
  }

  .hero-text h1 {
    font-size: 2.2rem;
  }

  .hero-photo-frame {
    width: min(280px, 86vw);
    margin: 0 auto;
  }

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

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

  .contact-form > div {
    flex-direction: column;
  }
}
