@media (max-width: 1024px) {
  /* NAVIGATION */
  #desktop-nav {
    display: none;
  }

  #hamburger-nav {
    display: flex !important;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 1.5rem;
    margin-top: 1rem;
    position: sticky;
    top: 0;
    z-index: 1000;
  }

  nav {
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }

  body.dark-mode nav {
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .nav-links-1 li,
  .nav-links-2 li {
    font-size: 1rem;
  }

  /* SECTION SPACING */
  .section {
    margin-top: 3vh;
    padding-top: 0;
    padding-bottom: 3vh;
  }

  .section-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
    padding: 0 1rem;
  }

  /* SECTION HEADINGS */
  .centered-text {
    margin-top: 1rem;
    margin-bottom: 1rem; /* ✅ reduced space below subtitle/title */
    text-align: center;
  }

  .centered-text .section-title {
    font-size: 2rem;
  }

  .centered-text .section-subtitle {
    font-size: 0.95rem;
  }

  /* HERO SECTION */
  .profile-image {
    width: 18rem;
    order: -1;
    margin: 0 auto 1.5rem;
  }

  .text-content {
    width: 100%;
    text-align: left;
  }

  .text-content h1 {
    font-size: 2rem;
  }

  .text-content p {
    font-size: 1rem;
    line-height: 1.5;
  }

  .location-availability p {
    font-size: 0.95rem;
  }

  .social-links i {
    width: 22px;
    height: 22px;
  }

  /* ABOUT SECTION */
  .about-container {
    flex-direction: column;
    align-items: center;
    text-align: left;
    margin-bottom: 1rem;
  }

  .about-image-styled {
    margin-bottom: 1.5rem;
  }

  .about-text {
    width: 100%;
    margin-bottom: 1rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .highlight-box {
    flex: 1 1 100%;
  }

  /* SKILLS SECTION */
  .skills-grid {
    justify-content: center;
    gap: 1.5rem;
  }

  .skill-item {
    width: 80px;
  }

  .skill-item img {
    width: 56px;
    height: 56px;
  }

  .skill-item p {
    font-size: 1rem;
  }


  /* EXPERIENCE SECTION */

  .experience-card {
    flex-direction: column;
    align-items: flex-start;
    padding: 1.25rem;
    gap: 1rem;
    width: 100%;
    box-sizing: border-box;
    margin-top: 0 !important; /* ✅ eliminate gap below heading */
  }

  .experience-logo img {
    width: 160px;
    height: auto;
  }

  .experience-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.3rem;
  }

  .experience-header h3 {
    font-size: 1.15rem;
  }

  .experience-header span {
    font-size: 0.95rem;
  }

  .experience-company {
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
    text-align: left;
  }

  .experience-details {
    width: 100%;
    padding-left: 1rem;
    padding-right: 1rem;
    text-align: left; /* ✅ Ensures left alignment */
  }

  .experience-details li {
    font-size: 0.95rem;
    color: #ccc;
    line-height: 1.5;
    list-style-position: inside; /* ✅ fixes bullet gap */
    margin-left: 0; /* ✅ eliminate bullet gap */
  }

  .experience-skills {
    font-size: 0.9rem;
    padding-left: 0.5rem;
    padding-right: 0.5rem;
    color: #aaa;
  }

  /* SOCIAL LINKS */
  .social-links {
    justify-content: center;
  }

  .work-projects {
    flex-direction: column;
    gap: 2rem;
  }

  .project-box {
    max-width: 100%;
    width: 100%;
    min-height: auto;
    margin-top: 2.5rem;
  }

  .project-thumbnail {
    height: 160px;
    object-fit: contain;
  }

  .highlight-content h3 {
    font-size: 1.2rem;
  }

  .highlight-content p,li{
    text-align: left;
  }

  .highlight-content p,
  .highlight-content ul,
  .experience-skills {
    font-size: 0.95rem;
  }

  .preview-label {
    font-size: 0.7rem;
    top: 6px;
    left: 6px;
  }

  /* Contact Section Responsive */
  .contact-container {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 2rem;
  }

  .contact-logo img {
    height: 130px;
  }

  .contact-row {
    justify-content: center;
    flex-wrap: wrap;
    font-size: 0.9rem;
  }

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

  .contact-footer {
    font-size: 0.7rem;
  }

}

