@media screen and (max-width: 1400px) {
    #profile {
      height: 83vh;
      margin-bottom: 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 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: 83vh;
      margin-bottom: 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-links li a {
      font-size: 1rem;
    }
    .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: auto;
      height: 46vw;
      justify-content: center;
    }
    .section__text__p2 {
      font-size: 1.25rem;
    }
    .title {
      font-size: 2rem;
    }
    .text-container {
      text-align: center; /* Center text on mobile */
      margin: 0 auto; /* Center the container horizontally */
      padding: 0 15px; /* Add some padding for better readability */
      width: 100%; /* Make sure it uses full width */
    }
  
    /* Adjust paragraph spacing for readability */
    .text-container p {
      line-height: 1.6; /* Ensure enough space between lines */
      margin-bottom: 1rem; /* Spacing between paragraphs */
    }
  }



  @media screen and (max-width: 1200px) {
    #profile, .section-container {
      margin: 0 2rem; /* Better margins on smaller screens */
    }
  
    .title {
      font-size: 2.5rem; /* Adjust title size */
    }
  
    .about-containers {
      flex-direction: column; /* Stack sections on smaller screens */
    }
  }
  
/* Media query specifically for profile-pic.png */
@media screen and (max-width: 600px) {
  .section__pic-container .profile-pic {
    width: 100%; /* Make the image take the full width of the container */
    height: auto; /* Maintain the aspect ratio */
    border-radius: 50%; /* Ensure the image remains circular */
    object-fit: cover; /* Ensures that the image fills the container without distortion */
  }

  /* Adjust the container holding the profile image */
  .section__pic-container {
    width: 80%; /* Adjust container width on mobile */
    max-width: 300px; /* Set a maximum width */
    margin: 0 auto; /* Center the image container */
  }

  /* Additional adjustments to text size for mobile view */
  .section__text__p1, .section__text__p2 {
    font-size: 1.2rem; /* Reduce text size */
  }

  .title {
    font-size: 2.5rem; /* Adjust title size on mobile */
  }
}

  
  @media screen and (max-width: 600px) {
    .ripple {
      transform: scale(10); /* Smaller ripple on mobile */
    }
    
    .particle {
      width: 3px;
      height: 3px; /* Smaller particles */
    }
  }
  @media screen and (max-width: 600px) {
    body {
      background-color: white; /* Light mode by default */
      color: black;
    }
  
    /* Additional media query styles for mobile view */
    #profile {
      height: auto;
    }
  }
  
  /* Media query for dark mode */
  @media screen and (max-width: 600px) {
    body.dark-mode {
      background-color: #121212; /* Dark mode background */
      color: #f1f1f1; /* Light text */
    }
  }
  