@media screen and (max-width: 1000px) {
  /* ================= NAVBAR ================= */
  nav {
    flex-direction: column;
    height: auto;
    padding: 10px 0;
  }

  nav ul {
    flex-direction: column;
    align-items: center;
  }

  nav ul li {
    margin: 10px 0;
  }

  /* ================= HERO / FIRST SECTION ================= */
  .firstSection {
    flex-direction: column-reverse;
    text-align: center;
    padding: 20px 10px;
  }

  .firstSection img {
    width: 70%;
    max-width: 300px;
    margin: 20px auto 0 auto;
    display: block;
  }

  .firstSection h1,
  .firstSection h2,
  .firstSection p {
    font-size: 1rem;
    line-height: 1.4;
  }

  .firstSection button {
    width: 80%;
    max-width: 250px;
    margin: 10px auto;
  }

  /* ================= ABOUT SECTION ================= */
  .aboutSection {
    flex-direction: column;
    text-align: center;
    padding: 20px;
  }

  .aboutSection > div {
    width: 90%;
  }

  .RightSection img {
    width: 60%;
    margin-top: 20px;
  }

  /* ================= PROJECTS SECTION ================= */
  .secondSection {
    padding: 20px;
    text-align: center;
  }

  .secondSection h1 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .secondSection .box {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    height: auto;
    background: none;
    margin: 0;
  }

  .secondSection .vertical {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    text-align: center;
    background: none;
    padding: 15px;
  }

  .secondSection .image-top {
    width: 50px;
    margin: 0 auto 10px;
    display: block;
  }

  .secondSection .vertical-title {
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
    color: white;
  }

  .secondSection .vertical-desc {
    font-size: 0.9rem;
    line-height: 1.5;
    color: #ccc;
  }

  /* ================= EDUCATION SECTION ================= */
  .thirdSection {
    padding: 20px;
    text-align: center;
  }

  .thirdSection h1 {
    font-size: 1.3rem;
    margin-bottom: 20px;
  }

  .thirdSection .box {
    flex-direction: column;
    align-items: center;
    gap: 20px;
    height: auto;
    background: none;
    padding: 0;
  }

  .thirdSection .vertical {
    width: 100%;
    height: auto;
    margin-bottom: 30px;
    text-align: center;
    background: none;
  }

  .thirdSection .image-top {
    position: static;
    display: block;
    width: 50px;
    margin: 0 auto 10px;
  }

  .thirdSection .vertical-title {
    position: static;
    font-size: 1rem;
    font-weight: bold;
    margin-bottom: 5px;
  }

  .thirdSection .vertical-desc {
    position: static;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 5px 0;
    text-align: center;
  }

  /* ================= SKILLS SECTION ================= */
  .skillachSection {
    flex-direction: column;
    align-items: center;
    padding: 20px;
  }

  .skillachSection .vertical {
    display: none;
  }

  .Left,
  .Right {
    width: 90%;
    margin-bottom: 20px;
    text-align: center;
  }

  /* ================= FOOTER ================= */
  .footer {
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
  }

  .footer > div {
    width: auto;
    margin-bottom: 20px;
  }
}
