/* ===== TABLET (800px and below) ===== */
@media (max-width: 800px) {
  .hero-section {
    padding: 3rem 0;
  }

  .hero-inner {
    grid-template-columns: 1fr;
  }

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

  .hero-image img {
    width: 100%;
    max-width: 300px;
    height: auto;
  }

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

@media (max-width: 1024px) {
  .header-inner {
    justify-content: space-evenly;
  }
}

/* ===== MOBILE (560px and below) ===== */
@media (max-width: 560px) {
  .header-navbar {
    position: static;
  }

  .header-inner {
    justify-content: center;
  }

  .hero-section {
    background-image: url(../assets/Image/Warm\ Voxel\ Landscape\ with\ Sun\ and\ Waterfall.png);
    padding: 2rem 0;
  }

  .section-education,
  .skill-section,
  #mini-projects,
  #project,
  #project-blog,
  #contact {
    padding: 2rem 0;
  }

  .section-title {
    font-size: 28px;
  }

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

  .button {
    padding: 12px 18px;
  }
}

.contact-card a {
  overflow-wrap: anywhere;
}
