@media screen and (max-width: 1400px) {
  #profile {
    min-height: 100vh;
    min-height: 100dvh;
    margin-bottom: 0;
  }
  .about-containers {
    flex-wrap: wrap;
  }
}

@media screen and (max-width: 1200px) {
  #desktop-nav {
    display: none;
  }
  #hamburger-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 1.5rem;
  }
  #experience,
  .experience-details-container {
    margin-top: 0.5rem;
  }
  #about {
    padding-bottom: 0.5rem;
  }
  .section-container {
    display: block;
  }
  #profile {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
    min-height: 100vh;
    min-height: 100dvh;
    text-align: center;
  }
  #profile .arrow {
    bottom: 3rem;
  }
  section,
  .section-container {
    height: fit-content;
  }
  section {
    margin: 0 5%;
  }
  .section__pic-container {
    width: 275px;
    height: 275px;
    margin: 0 auto 2rem;
    border-radius: 50%;
    overflow: hidden;
  }
  .about-containers {
    margin-top: 0;
  }
  .certifications-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
  }
}

@media screen and (max-width: 600px) {
  #contact,
  footer {
    height: 40vh;
  }
  .article-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.6rem 1rem;
  }
  article {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 0.5rem;
    width: 100%;
  }
  article .icon {
    width: 16px;
    height: 16px;
    flex-shrink: 0;
  }
  article h3 {
    font-size: 0.77rem !important;
    font-weight: 400 !important;
    padding: 0 !important;
    margin: 0;
  }
  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-links li a {
    font-size: 0.78rem;
  }
  .experience-sub-title {
    font-size: 1.25rem;
  }
  .logo {
    font-size: 1.5rem;
  }
  .nav-links {
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
  }
  .section__pic-container {
    width: 220px;
    height: 220px;
    min-width: unset;
    min-height: unset;
    margin: 0 auto 1.5rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .section__pic-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 15%;
  }
  .section__text__p1 {
    display: none;
  }
  .section__text__p2 {
    font-size: 1.25rem;
  }
  .title {
    font-size: 1.4rem;
    white-space: nowrap;
  }
  .text-container {
    text-align: justify;
  }
  .about-bio {
    font-size: 0.77rem;
  }
  .timeline {
    padding-left: 1.5rem;
  }
  .timeline-item {
    flex-direction: column;
    gap: 0.25rem;
  }
  .timeline-dot {
    left: -1.5rem;
  }
  .timeline-role {
    font-size: 0.85rem;
  }
  .timeline-company {
    font-size: 0.72rem;
  }
  .timeline-date {
    font-size: 0.7rem;
    white-space: normal;
  }
  .certifications-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }
  .cert-desktop-only {
    display: none;
  }
  .cert-card img {
    width: 64px;
    height: 64px;
  }
  .cert-name {
    font-size: 0.74rem;
  }
  .cert-issuer {
    font-size: 0.66rem;
  }
  .cert-link {
    font-size: 0.68rem;
  }
  .project-title {
    font-size: 0.9rem;
  }
  .color-container .article-container {
    display: block;
    width: 100%;
  }
  .project-img {
    width: 100%;
    height: auto;
    max-height: 280px;
    object-fit: contain;
    background-color: rgb(250, 250, 250);
    border-radius: 1rem;
    display: block;
  }
  .project-img.ipf-img {
    background-color: rgb(1, 15, 35);
  }
  .project-img.healthcare-img {
    background-color: rgb(0, 24, 63);
  }
  .project-img.biliary-img {
    background-color: rgb(0, 11, 30);
  }
  .color-container {
    width: 100%;
    box-sizing: border-box;
  }
}
