@media screen and (max-width: 1200px) {
  #desktop-nav {
    display: none;
  }
  #hamburger-nav {
    display: flex;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
    z-index: 999;

  }
  .hamburger-menu {
    position: fixed;
    z-index: 999;
    display: inline-block;
} 

 #experience,
  .experience-details-container {
    margin-top: 2rem;
  }
  #profile,
  .section-container {
    display: block;
  }
  .arrow {
    display: none;
  }
  section,
  .section-container {
    height: fit-content;
  }
  section {
    margin: 0 5%;
  }
  .section__pic-container {
    width: 275px;
    height: 275px;
    margin: 0 auto 2rem;
  }
  .about-containers {
    margin-top: 0;
  }
}

@media screen and (max-width: 600px) {
  #contact,
  footer {
    height: 40vh;
  }
  #profile {
    height: 0vh;
    margin-bottom: 0;
    margin-top: -100 !important;
    padding-top: 0;
  }
  article {
    font-size: 1rem;
  }
  footer nav {
    height: fit-content;
    margin-bottom: 2rem;
  }
  .about-containers,
  .contact-info-upper-container,
  .btn-container {
    flex-wrap: wrap;
  }
  .contact-info-container {
    margin: 0;
  }
  .contact-info-container p,
  .nav-links1 li a {
    font-size: 1rem;
  }
  .experience-sub-title {
    font-size: 1.25rem;
  }
  .logo {
    font-size: 1.5rem;
    padding-left: 650px;
  }
  .nav-links1 {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .section__pic-container {
    width: auto;
    height: 46vw;
    justify-content: center;
  }
  .section__text__p2 {
    font-size: 1.25rem;
  }
  .title {
    font-size: 2rem;
  }
  .text-container {
    text-align: justify;
  }
}

@media screen and (max-width: 768px) {
  .experience-details-container.about-containers {
    grid-template-columns: 1fr !important; /* One column layout */
    margin: 0 1rem; /* Add some horizontal padding */
  }

  .project-img, .project-imgLLM {
    border-radius: 2rem;
    width: 65%;
    height: auto;           
    object-fit: cover;       /* Maintain aspect ratio */
  }
  .project-imgLLM1 {
    border-radius: 2rem;
    width: 95%;
    height: auto;           
    object-fit: cover;       /* Maintain aspect ratio */
  }

  #experience {
    padding: 2rem 1rem !important;
    height: auto !important;
  }

  .details-container1 {
    padding: 1rem !important;
    font-size: 0.95rem !important;
    line-height: 1.5 !important;
  }

  .details-container1 ul {
    padding-left: 1rem;
    margin-top: 0.5rem;
  }

  .details-container1 li {
    margin-bottom: 0.75rem;
  }

  .details-container1 strong {
    font-size: 1rem !important;
  }

  .details-container1 p {
    margin-bottom: 1rem !important;
  }
  
  .experience-card::before {
  content: '';
  position: absolute;
  inset: 0;
  padding: 2px;
  background: linear-gradient(135deg, #a2a9b1, #bfc1c2);
  border-radius: 1rem;
  z-index: -1;
  mask: 
    linear-gradient(#fff 0 0) content-box, 
    linear-gradient(#fff 0 0);
  mask-composite: exclude;
  -webkit-mask-composite: destination-out;
}

.experience-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.15);
}

.experience-card {
  font-size: 1.5rem;
  padding: 1.25rem 1rem;
  border-radius: 1rem;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
  background: #fff;
  transition: all 0.3s ease;
  position: relative;
}

.experience-card h4 {
  font-size: 1rem;
  margin: 0 0 0.3rem;
  color: #222;
  line-height: 1.25;
}

.experience-card .exp-meta {
  font-size: 0.88rem;
  color: #666;
  margin: 0 0 0.4rem;
  line-height: 1.3;
}

.experience-card ul {
  padding-left: 0.2rem;
  margin: 0;
  font-size: 0.76rem;
  line-height: 1.45;
  color: #333;
}


.experience-card .tags {
  margin-top: 0.7rem;
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.experience-card .tags span {
  background-color: #e7f1fb;
  color: #7d8286;
  font-size: 0.65rem;
  font-weight: 600;
  padding: 0.2rem 0.55rem;
  border-radius: 1rem;
}









}

