/* Responsive CSS for portfolio website */

/* Mobile styles (max-width: 600px) */
@media (max-width: 600px) {
  body,
  .portfolio {
    height: auto;
  }

  .nav-content {
    flex-direction: row;
    height: auto;
    padding: 10px;
  }

  .list-item {
    background-color: #e5e7eb;
    height: 135px;
    width: 385px;
  }
  .list-item ul {
    flex-direction: column;
    gap: 10px;
  }

  .home-content {
    flex-direction: column;
    padding: 2rem 1rem 4rem 1rem;
    height: auto;
  }

  .profile-img {
    width: 100%;
    height: 300px;
    border-radius: 15px;
    box-shadow: 0 0 20px red;
  }

  .home-content .home {
    width: 100%;
    font-size: 2rem;
    padding: 10px 0;
  }

  .home .social-icons {
    justify-content: center;
    gap: 15px;
    margin: 20px 0;
  }

  .home .btn {
    padding: 10px 20px;
    font-size: 16px;
    margin-top: 15px;
  }

  .about-item {
    flex-direction: column;
    padding: 1rem;
  }

  .about-content {
    width: 100%;
  }

  .image {
    height: 200px;
    width: 150px;
    position: absolute;
    top: -65px;
    left: -30px;
    right: auto;
  }

  .vdo video {
    width: 100%;
    height: auto;
    border-radius: 15px;
  }

  .service-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .service-card {
    width: fit-content;
  }

  .information {
    flex-direction: column;
    padding: 1rem;
  }

  .personal-info,
  .skills {
    width: 100%;
    margin-bottom: 2rem;
  }

  h4 {
    font-size: 16px;
    font-weight: 700;
  }

  .edu {
    line-height: 15px;
    font-size: 13px;
    font-weight: 300;
  }

  .education {
    width: 47%;
  }

  .educ {
    position: absolute;
    width: 150px;
    height: 200px;
    top: -10%;
    right: 5%;
  }

  .timeline {
    padding: 1rem;
  }

  .project-lists {
    padding: 1rem;
  }

  .projects {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .contact-me {
    flex-direction: column;
    padding: 1rem;
  }

  .contact-item {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
  }
  .contact-information {
    width: 100%;
    box-sizing: border-box;
    padding: 10px;
  }

  .send-message {
    width: 100%;
  }

  footer .footer-content {
    text-align: center;
    padding: 1rem;
  }
}

/* Tablet styles (max-width: 900px) */
@media (max-width: 900px) and (min-width: 601px) {
  .nav-content {
    flex-direction: row;
    flex-wrap: wrap;
    height: auto;
    padding: 10px 20px;
  }

  .list-item {
    background-color: #e5e7eb;
    height: 135px;
    max-width: 900px;
  }

  .list-item ul {
    gap: 30px;
  }

  .home-content {
    flex-direction: row;
    flex-wrap: wrap;
    padding: 3rem 5%;
    height: auto;
  }

  .profile-img {
    width: 350px;
    height: 400px;
    border-radius: 20px;
  }

  .home-content .home {
    width: 50%;
    font-size: 2.5rem;
    padding: 20px 0;
  }

  .education {
    padding: 10px 5px;
    position: relative;
    width: 42%;
  }

  .left-container {
    left: 3.5%;
  }

  .service-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .projects {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    width: auto;
  }

  .project-items {
    width: calc(50% - 10px);
  }

  .information {
    flex-direction: row;
    gap: 20px;
  }
  .span2 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    margin-top: 15px;
    margin-left: 350px;
  }

  .span1 {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 150px;
    margin-top: 5px;
    margin-left: 300px;
  }

  .personal-info,
  .skills {
    width: 50%;
  }

  .contact-me {
    flex-direction: column;
    gap: 20px;
  }
}

/* Desktop styles (min-width: 901px) */
@media (min-width: 901px) {
  /* Keep existing styles, no changes needed */
}
