@media screen and (max-width: 1400px) {
    #profile {
      height: 83vh;
      margin-bottom: clamp(2rem, 5vw, 6rem);
    }
    .about-containers {
      flex-wrap: wrap;
    }
    #contact,
    #projects {
      height: fit-content;
    }
  }
  
  @media screen and (max-width: 1200px) {
    #desktop-nav {
      display: none;
    }
    #hamburger-nav {
      display: flex;
    }
    #experience,
    .experience-details-container {
      margin-top: 2rem;
    }
    #profile,
    .section-container {
      display: block;
    }
    .arrow {
      display: none;
    }
    section,
    .section-container {
      height: fit-content;
    }
    section {
      margin: 0 clamp(1rem, 5vw, 5%);
    }
    .section__pic-container {
      width: clamp(200px, 30vw, 275px);
      height: clamp(200px, 30vw, 275px);
      margin: 0 auto 2rem;
    }
    .about-containers {
      margin-top: 0;
    }
  }
  
  @media screen and (max-width: 600px) {
    #contact,
    footer {
      height: 40vh;
    }
    #profile {
      height: auto;
      min-height: 83vh;
      margin-bottom: 0;
      padding-bottom: 2rem;
    }
    article {
      font-size: clamp(0.9rem, 3vw, 1rem);
    }
    footer nav {
      height: fit-content;
      margin-bottom: 2rem;
    }
    .about-containers,
    .contact-info-upper-container,
    .btn-container {
      flex-wrap: wrap;
      flex-direction: column;
    }
    .btn-container .btn {
      width: 100%;
      max-width: 280px;
    }
    .contact-info-container {
      margin: 0;
    }
    .contact-info-container p,
    .nav-links li a {
      font-size: clamp(0.9rem, 3vw, 1rem);
    }
    .experience-sub-title {
      font-size: clamp(1.1rem, 4vw, 1.25rem);
    }
    .logo {
      font-size: clamp(1.2rem, 4vw, 1.5rem);
    }
    .nav-links {
      flex-direction: column;
      gap: 0.5rem;
      text-align: center;
    }
    .section__pic-container {
      width: clamp(180px, 50vw, 250px);
      height: clamp(180px, 50vw, 250px);
      min-width: 180px;
      min-height: 180px;
      max-width: 250px;
      max-height: 250px;
      justify-content: center;
    }
    .section__text__p2 {
      font-size: clamp(1.1rem, 4vw, 1.25rem);
    }
    .title {
      font-size: clamp(1.75rem, 6vw, 2rem);
    }
    .text-container {
      text-align: justify;
    }
    .idea-input-container {
      flex-direction: column;
    }
    .idea-submit-btn {
      width: 100%;
    }
    .idea-input {
      width: 100%;
      min-width: 100%;
    }
  }


  /* Case Studies responsive */
@media (max-width: 768px) {
    .case-studies-container {
      flex-direction: column;
      align-items: center;
    }
  
    .case-study-card {
      max-width: 100%;
    }
  }
  
  @media (max-width: 600px) {
    .facts-container {
      grid-template-columns: 1fr;
      gap: 1rem;
    }
    .fact-card-inner {
      height: clamp(180px, 40vw, 200px);
    }
    .fact-icon {
      height: clamp(80px, 20vw, 120px);
    }
  }
  
  @media (min-width: 1921px) {
    section {
      max-width: var(--max-container-width);
      margin-left: auto;
      margin-right: auto;
    }
    .projects-grid,
    .facts-container {
      max-width: 1200px;
      margin-left: auto;
      margin-right: auto;
    }
  }
  