.info {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(420px, 0.95fr);
  gap: clamp(56px, 7vw, 130px);
  max-width: 1440px;
  margin: 0 auto;
  padding: 80px clamp(24px, 6vw, 90px);
  background: #fff;
  color: #202020;
}

.section-label {
  margin: 0 0 12px;
  color: #666;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.18em;
}

.section-label::after {
  display: block;
  width: 48px;
  height: 3px;
  margin-top: 12px;
  content: "";
  background: #202020;
}

.info-intro > h2,
.experience > h2 {
  margin: 0;
  font-size: clamp(1.65rem, 2.4vw, 2.2rem);
  line-height: 1.2;
}

.about-layout {
  display: grid;
  grid-template-columns: 150px 1fr;
  gap: 32px;
  align-items: center;
  margin-top: 48px;
}

.aboutme-Img {
  display: flex;
  justify-content: center;
}

.aboutme-Image {
  width: 150px;
  height: 150px;
  margin: 0;
  border: 2px solid #202020;
  border-radius: 50%;
  object-fit: cover;
  object-position: center;
}

.about-content h3 {
  margin: 0 0 12px;
  font-size: 1.65rem;
}

.about-content p:not(.section-label) {
  margin: 0 0 12px;
  color: #494949;
  font-size: 1rem;
  line-height: 1.65;
}

.cv-btn {
  display: inline-block;
  margin-top: 16px;
  padding: 14px 24px;
  border: 2px solid #202020;
  border-radius: 3px;
  background: #202020;
  color: #fff;
  font-size: 0.9rem;
  font-weight: 700;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}

.cv-btn:hover {
  background: #fff;
  color: #202020;
}

.experience {
  padding-left: clamp(30px, 4vw, 65px);
  border-left: 1px solid #d4d4d4;
}

.experience-timeline {
  position: relative;
  margin: 42px 0 0;
  padding: 0 0 0 38px;
  list-style: none;
}

.experience-timeline::before {
  position: absolute;
  top: 8px;
  bottom: 8px;
  left: 6px;
  width: 2px;
  content: "";
  background: #777;
}

.experience-timeline li {
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 24px;
  padding-bottom: 32px;
}

.experience-timeline li::before {
  position: absolute;
  top: 7px;
  left: -38px;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  content: "";
  background: #202020;
}

.experience-timeline h3 {
  margin: 0 0 6px;
  font-size: 1.25rem;
}

.experience-timeline p {
  margin: 0;
  color: #666;
  font-size: 1rem;
}

.experience-timeline time {
  color: #555;
  font-size: 0.9rem;
  white-space: nowrap;
}

/* Tablet and mobile */
@media (max-width: 900px) {
  .info {
      grid-template-columns: 1fr;
      justify-items: center;
      padding: 56px 24px;
      text-align: center;
  }

  .info-intro,
  .experience,
  .about-content {
      width: 100%;
      text-align: center;
  }

  .section-label::after {
      margin: 12px auto 0;
  }

  .about-layout {
      grid-template-columns: 150px minmax(0, 1fr);
      justify-content: center;
      align-items: center;
      width: min(100%, 700px);
      margin: 40px auto 0;
  }

  .aboutme-Img {
      justify-content: center;
  }

  .cv-btn {
      margin-right: auto;
      margin-left: auto;
  }

  .experience {
      padding-top: 56px;
      padding-left: 0;
      border-top: 1px solid #d4d4d4;
      border-left: 0;
  }

  .experience-timeline {
      width: min(100%, 650px);
      margin: 42px auto 0;
      padding: 0;
  }

  /* Remove the left-side timeline */
  .experience-timeline::before {
      display: none;
  }

  .experience-timeline li {
      display: flex;
      flex-direction: column;
      align-items: center;
      gap: 8px;

      padding: 24px 16px 32px;
      text-align: center;
  }

  /* Place timeline dot above each entry */
  .experience-timeline li::before {
      position: static;

      display: block;
      width: 10px;
      height: 10px;
      margin: 0 auto 8px;

      background: #202020;
      border-radius: 50%;

      content: "";
  }

  .experience-timeline time {
      display: block;
      margin-top: 4px;
      white-space: normal;
  }
}

/* Mobile */
@media (max-width: 560px) {
  .info {
      padding: 48px 20px;
  }

  .about-layout {
      grid-template-columns: 1fr;
      gap: 24px;
      margin-top: 32px;
  }

  .aboutme-Img {
      justify-content: center;
  }

  .about-content {
      display: flex;
      flex-direction: column;
      align-items: center;
  }

  .about-content p:not(.section-label) {
      max-width: 500px;
  }

  .cv-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
  }

  @media (max-width: 560px) {
    .experience {
        width: 100%;
        padding: 48px 16px 0;
        border-left: 0;
        text-align: center;
    }

    .experience-timeline {
        position: relative;

        width: min(100%, 520px);
        margin: 36px auto 0;
        padding: 0 0 0 38px;

        list-style: none;
        text-align: left;
    }

    /* Restore the desktop timeline line */
    .experience-timeline::before {
        position: absolute;
        top: 8px;
        bottom: 8px;
        left: 6px;

        display: block;
        width: 2px;

        background: #777777;

        content: "";
    }

    .experience-timeline li {
        position: relative;

        display: grid;
        grid-template-columns: minmax(0, 1fr) auto;
        align-items: start;
        gap: 12px;

        margin: 0;
        padding: 0 0 34px;

        text-align: left;
    }

    .experience-timeline li:last-child {
        padding-bottom: 0;
    }

    /* Restore dots beside the timeline */
    .experience-timeline li::before {
        position: absolute;
        top: 5px;
        left: -39px;
        z-index: 1;

        display: block;
        width: 16px;
        height: 16px;
        margin: 0;

        background: #202020;
        border: 0;
        border-radius: 50%;

        content: "";
        transform: none;
    }

    /* Remove the centred-layout connecting lines */
    .experience-timeline li::after {
        display: none;
    }

    .experience-timeline li > * {
        background: transparent;
    }

    .experience-timeline li > div {
        min-width: 0;
    }

    .experience-timeline h3 {
        margin: 0 0 6px;
        padding: 0;

        font-size: 1.1rem;
        line-height: 1.2;
    }

    .experience-timeline p {
        margin: 0;
        padding: 0;

        font-size: 0.92rem;
        line-height: 1.4;
    }

    .experience-timeline time {
        margin: 0;
        padding: 0;

        font-size: 0.85rem;
        line-height: 1.3;
        text-align: right;
        white-space: nowrap;
    }
  }