/* Responsive breakpoints */

@media screen and (max-width: 1200px) {
  #desktop-nav {
    display: none;
  }

  #hamburger-nav {
    display: flex;
  }

  .section {
    padding-left: 1.5rem;
    padding-right: 1.5rem;
  }

  .hero-content {
    gap: 3rem;
  }

  .title {
    font-size: 2.5rem;
  }

  .nav-links {
    gap: 1.5rem;
  }
}

@media screen and (max-width: 992px) {
  #scroll-progress {
    height: 2px;
  }

  .hero-content {
    flex-direction: column;
    text-align: center;
  }

  .hero::before {
    width: 220px;
    height: 220px;
    left: -80px;
  }

  .hero::after {
    width: 180px;
    height: 180px;
    right: -60px;
  }

  .section__text {
    text-align: center;
    max-width: 100%;
  }

  .btn-container {
    justify-content: center;
  }

  .hero-contact {
    justify-content: center;
  }

  .socials-container {
    justify-content: center;
  }

  .socials-container a {
    width: 42px;
    height: 42px;
  }

  .section__pic-container {
    width: 280px;
    height: 280px;
  }

  .timeline::before {
    left: 8px;
  }

  .timeline-item {
    padding-left: 40px;
  }

  .timeline-marker {
    width: 14px;
    height: 14px;
    left: 2px;
  }

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

@media screen and (max-width: 768px) {
  .section {
    padding-top: 5rem;
    padding-bottom: 3rem;
    min-height: auto;
  }

  .hero {
    padding-top: 6rem;
    min-height: 90vh;
  }

  .section-title {
    font-size: 1.75rem;
    margin-bottom: 2rem;
  }

  .title {
    font-size: 2.25rem;
  }

  .section__text__p2 {
    font-size: 1.1rem;
  }

  .section__text__p3 {
    font-size: 0.95rem;
  }

  .btn-container {
    flex-direction: column;
    align-items: stretch;
  }

  .btn {
    width: 100%;
  }

  .section__pic-container {
    width: 240px;
    height: 240px;
  }

  .about-card,
  .timeline-content,
  .education-card,
  .achievement-card,
  .project-card,
  .cert-card,
  .volunteer-card {
    padding: 1.5rem;
  }

  .skills-tabs {
    flex-direction: column;
  }

  .tab-btn {
    width: 100%;
  }

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

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

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

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

@media screen and (max-width: 480px) {
  .nav {
    padding: 1rem;
  }

  .logo {
    font-size: 1.25rem;
  }

  .section {
    padding: 4rem 1rem 2rem;
  }

  .hero {
    padding-top: 5rem;
  }

  .hero::before,
  .hero::after {
    opacity: 0.65;
  }

  .title {
    font-size: 1.875rem;
  }

  .section__pic-container {
    width: 200px;
    height: 200px;
  }

  .hero-contact {
    flex-direction: column;
    gap: 0.25rem;
  }

  .socials-container {
    gap: 0.65rem;
  }

  .socials-container a {
    width: 38px;
    height: 38px;
  }

  .icon {
    width: 18px;
    height: 18px;
  }

  .loader {
    padding: 1.4rem 1rem 1.2rem;
  }

  .welcome-subtitle {
    font-size: 0.9rem;
  }

  .footer {
    padding: 1.5rem 1rem;
  }

  .footer-copyright {
    font-size: 0.8rem;
    text-align: center;
  }
}
