.skill-img {
  max-width: 550px;
  width: 100%;
  height: 100%;
  margin: 0 auto;
  position: relative;
}

.skill-img img {
  width: 100%;
  height: auto;
  border-radius: 100%;
}

.skill-sec {
  background-color: #f3f0eb;
  padding: 100px 0px 150px;
  position: relative;
  z-index: 1;
}

.skill-sec::before {
  content: "";
  position: absolute;
  z-index: -1;
  background-image: url("../../../../public/images/rice-plant-color.png");
  background-position: center;
  background-size: cover;
  background-repeat: no-repeat;
  width: 309px;
  height: 286px;
  top: 25px;
  left: 0;
  transform: rotateY(180deg);
}

.skill-content h4 {
  color: var(--green-color);
  font-family: var(--font-dm-display);
  font-size: 20px;
  font-weight: 500;
  margin-bottom: 20px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.skill-content h2 {
  font-size: 42px;
  font-weight: 700;
  color: #000;
  line-height: 46px;
  margin-bottom: 30px;
}

.skill-content p {
  color: #6e7673;
  font-size: 16px;
  font-weight: 400;
}

.skill-one-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.skill-one {
  margin-bottom: 25px;
}

.skill-one-flex p {
  font-size: 16px;
  font-weight: 400;
  color: #000;
  font-family: var(--font-dm-display);
}

.skill-content {
  margin-bottom: 50px;
}

.skill-one .progress {
  height: 6px;
}

.skill-one .progress-bar {
  background-image: -webkit-linear-gradient(
    0deg,
    rgb(39, 141, 69) 0%,
    rgb(248, 195, 44) 100%
  );
}

.skill-img .playBtn {
  background-color: var(--white-color);
  width: 70px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 100%;
  position: absolute;
  top: 243px;
  bottom: 0;
  left: 246px;
  right: 0;
  cursor: pointer;
}
/* Tablet screens (≤991px) */
@media (max-width: 991.98px) {
  .skill-sec {
    padding: 70px 0px 100px;
  }

  .skill-content h2 {
    font-size: 32px;
    line-height: 40px;
    margin-bottom: 20px;
  }

  .skill-content h4 {
    font-size: 18px;
  }

  .skill-content p {
    font-size: 15px;
  }

  .skill-img {
    max-width: 400px;
  }

  .skill-img .playBtn {
    width: 60px;
    height: 60px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Mobile screens (≤767px) */
@media (max-width: 767.98px) {
  .skill-sec {
    padding: 50px 15px 70px;
  }

  .skill-one-flex {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .skill-content h2 {
    font-size: 26px;
    line-height: 34px;
    text-align: center;
  }

  .skill-content h4 {
    font-size: 16px;
    justify-content: center;
    text-align: center;
  }

  .skill-content p {
    font-size: 14px;
    text-align: center;
  }

  .skill-content {
    margin-bottom: 30px;
  }

  .skill-img {
    max-width: 300px;
  }

  .skill-img .playBtn {
    width: 55px;
    height: 55px;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
}

/* Extra small devices (≤575px) */
@media (max-width: 575.98px) {
  .skill-sec {
    padding: 40px 10px 50px;
  }

  .skill-content h2 {
    font-size: 22px;
    line-height: 28px;
  }

  .skill-content h4 {
    font-size: 14px;
    gap: 10px;
  }

  .skill-content p,
  .skill-one-flex p {
    font-size: 13px;
  }

  .skill-img {
    max-width: 240px;
  }

  .skill-img .playBtn {
    width: 45px;
    height: 45px;
  }
}

/* Very small devices (≤400px) */
@media (max-width: 400px) {
  .skill-content h2 {
    font-size: 20px;
    line-height: 26px;
  }

  .skill-content p,
  .skill-one-flex p {
    font-size: 12px;
  }

  .skill-img {
    max-width: 200px;
  }

  .skill-img .playBtn {
    width: 40px;
    height: 40px;
  }
}

