.about {
  padding: 2rem 2rem;
}

.about h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  text-align: center;
  cursor: default;
}

.title {
  font-size: clamp(1.75rem, 5vw, 4rem);
  margin-bottom: 2rem;
  transition: all 0.3s ease;
  position: relative;
}

.title:hover {
  color: #fff;
}

.title::after {
  content: "";
  position: absolute;
  width: 0;
  height: 3px;
  bottom: 3px;
  left: 0;
  background-color: #8b5cf6;
  transition: width 0.3s ease;
}

.title:hover::after {
  width: 100%;
}

.about-content {
  display: flex;
  gap: 4rem;
  margin-top: 7rem;
  align-items: center;
}

.profile-image {
  flex: 1;
  max-width: 300px;
}

.profile-image img {
  width: 100%;
  height: auto;
  border-radius: 0;
  transition: transform 0.3s ease;
}

.about-text {
  flex: 1;
  cursor: default;
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  list-style: none;
  margin-top: 1.5rem;
  cursor: pointer;
}

.skills-list li {
  background: #8b5cf6;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.9rem;
  transition: 0.3s ease;
  color: #ddd;
}

.skills-list li:hover {
  background: #7b4ce6;
  color: #fff;
  cursor: default;
}

@media (max-width: 1200px) {
  .profile-image {
    max-width: 280px;
  }
}

@media (max-width: 1000px) {
  .profile-image {
    max-width: 250px;
  }

  .about-content {
    gap: 3rem;
  }

  .about-text h1 {
    font-size: 2.75rem;
  }

  .about-text p {
    font-size: 1rem;
  }

  .skills-list li {
    font-size: 0.75rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 800px) {
  .about {
    padding: 1rem 2rem !important;
  }

  .title {
    text-align: center;
  }

  .about-content {
    flex-direction: column;
    gap: 3.6rem;
    align-items: center;
  }

  .profile-image {
    max-width: 250px;
    margin: 0 auto;
  }

  .about-text h1 {
    font-size: 2.9rem;
  }

  .about-text p {
    font-size: 1.25rem;
  }

  .skills-list li {
    font-size: 1rem;
    padding: 0.4rem 0.8rem;
  }
}

@media (max-width: 480px) {
  .profile-image {
    max-width: 200px;
  }

  .about-content {
    gap: 1.5rem;
  }
}
