/* ========== Responsive ========== */
@media (max-width: 1024px) {
  .hero-name { font-size: 3.5rem; }
  .skills-grid, .projects-grid { grid-template-columns: repeat(2, 1fr); }
  .cert-grid { grid-template-columns: repeat(2, 1fr); }
}

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

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

  .whatsapp-float {
    width: 50px;
    height: 50px;
    font-size: 1.4rem;
    bottom: 20px;
    right: 20px;
  }

  .whatsapp-tooltip { display: none; }

  .nav-links {
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    flex-direction: column;
    padding: 24px;
    gap: 16px;
    transform: translateY(-100%);
    opacity: 0;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
  }

  .nav-links.open {
    transform: translateY(0);
    opacity: 1;
  }

  .hamburger { display: flex; }

  .hero-container {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
  }

  .hero-tagline { margin: 0 auto 32px; }
  .hero-buttons { justify-content: center; }
  .hero-socials { justify-content: center; }
  .hero-name { font-size: 2.8rem; }
  .hero-avatar-wrapper { width: 220px; height: 220px; }
  .hero-avatar { font-size: 4rem; }

  .badge-1 { top: 5%; right: -5%; }
  .badge-2 { bottom: 10%; left: -5%; }
  .badge-3 { display: none; }

  .scroll-indicator { display: none; }

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

  .about-image-wrapper {
    width: 280px;
    height: 340px;
  }

  .about-stats { justify-content: center; }

  .skills-grid, .projects-grid {
    grid-template-columns: 1fr;
  }

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

  .gallery-btn {
    width: 40px;
    height: 40px;
    font-size: 0.95rem;
  }

  .gallery-prev { left: 10px; }
  .gallery-next { right: 10px; }

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

  .cta-content p { margin: 0 auto 28px; }
  .cta-buttons { justify-content: center; }
  .cta-socials { justify-content: center; }
  .cta-visual { display: none; }
}

@media (max-width: 480px) {
  .section { padding: 50px 0; }
  .hero-name { font-size: 2.2rem; }
  .hero-title { font-size: 1rem; }
  .hero-tagline { font-size: 0.95rem; }
  .btn { padding: 12px 24px; font-size: 0.9rem; }
  .btn-large { padding: 14px 28px; }
  .about-image-wrapper { width: 220px; height: 280px; }
  .about-stats { flex-direction: column; gap: 12px; }
  .cert-grid { grid-template-columns: 1fr; }
  .cta-content h2 { font-size: 1.6rem; }
  .cta-buttons { flex-direction: column; align-items: center; }
  .gallery-caption { padding: 20px 16px 16px; }
  .gallery-caption h3 { font-size: 1rem; }
  .gallery-dots { bottom: 65px; }
}
