body {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

h3 {
  box-sizing: border-box;
  font-family: "Poppins", sans-serif;
  font-size: 24px;
  font-style: normal;
  font-weight: 600;
}

.volunteer-all-area {
  width: 100%;
  margin-bottom: 2rem;

  .volunteer {
    .volunteer-first-text {
      position: relative;
      background-color: #9edae6;
      width: 100%;
      display: flex;
      gap: 1rem;
      border-top-left-radius: 25px;
      border-top-right-radius: 25px;
      align-items: center;

      .volunteer-value-first {
        width: 45%;
        text-align: center;
        padding: 1.2rem 0;

        #volunteer-hours {
          box-sizing: border-box;
          color: #005981;
          font-family: "Poppins", sans-serif;
          font-size: 24px;
          font-style: normal;
          font-weight: 600;
          width: 90%;
          margin: auto;
        }

        #since-January {
          box-sizing: border-box;
          color: #005981;
          font-family: "Poppins", sans-serif;
          font-size: 24px;
          font-style: normal;
          font-weight: 600;
          width: 84%;
          margin: auto;
        }
      }
      .volunteer-number-value {
        span {
          color: #005981;
          font-family: "Poppins", sans-serif;
          font-size: 4rem;
        }
      }

      .log-hours {
        position: absolute;
        text-decoration: none;
        display: flex;
        left: 72%;
        bottom: -18px;
        background: #f1678c;
        padding: 6px 22px;
        border-radius: 31px;
        color: #fff;
        font-weight: 600;
        font-family: "Poppins", sans-serif;
        font-size: 18px;
      }
    }
  }

  .volunteer-second-text {
    background-color: #008fb4;
    width: 100%;
    display: flex;
    gap: 1rem;
    align-items: center;
    padding: 1rem 0;

    .volunteer-value-seconod {
      width: 45%;
      text-align: center;

      #volunteer-hours-second {
        width: 90%;
        margin: auto;
        color: #fff;
      }
      #since-January-second {
        width: 82%;
        margin: auto;
        color: #fff;
      }
    }
    .volunteer-number-value {
      span {
        color: #fff;
        font-family: "Poppins", sans-serif;
        font-size: 4rem;
      }
    }
  }

  /* Progress Bar  */

  .progress-content {
    width: 70%;

    .professional-development {
      width: 97%;
      color: #fff;
      margin: auto;
      padding-top: 4px;
      padding-bottom: 32px;
      text-align: start;
    }
    h4.professional-development {
      font-size: 1rem;
      line-height: 22px;
      margin: 0;
      padding: 0;
    }
  }

  .development-all-area {
    background-color: #005981;
    padding: 1rem;
    border-bottom-left-radius: 25px;
    border-bottom-right-radius: 25px;

    .development-progress {
      display: flex;
      .progress-wrapper {
        margin-bottom: 28px;
        position: relative;
        padding: 0;
      }

      progress {
        width: 100%;
        height: 10px;
        border: 2px solid #008fb4;
        border-radius: 20px;
        background-color: #005981;
        padding: 0;
        margin: 0;
        appearance: none;
        -webkit-appearance: none;
        -moz-appearance: none;
      }

      progress::-webkit-progress-bar {
        background-color: #005981;
        border-radius: 20px;
      }

      progress.pink::-webkit-progress-value {
        background-color: #f7aebd;
        border-radius: 20px;
        height: 100%;
      }

    progress.pink::-moz-progress-bar {
      background-color: #f7aebd;
    }

      progress.yellow::-webkit-progress-value {
        background-color: #ffd58e;
        border-radius: 5px;
        margin: 0;
        padding: 0;
        width: 100%;
      }

    progress.yellow::-moz-progress-bar {
      background-color: #ffd58e;
    }

      progress.blue::-webkit-progress-value {
        background-color: #9edae6;
        border-radius: 20px;
      }

      progress.blue::-moz-progress-bar {
        background-color: #9edae6;
      }

      progress.purple::-webkit-progress-value {
        background-color: #bf97c6;
        border-radius: 20px;
      }

      progress.purple::-moz-progress-bar {
        background-color: #bf97c6;
      }

      progress.pink {
        background-color: #f7aebd;
      }

      progress.yellow {
        background-color: #ffd58e;
      }

      progress.blue {
        background-color: #9edae6;
      }

      progress.purple {
        background-color: #bf97c6;
      }

      .dots {
        display: flex;
        justify-content: space-between;
        position: absolute;
        top: 25px;
        left: 0;
        right: 0;
        padding: 0;
      }

      .dot {
        width: 12px;
        height: 12px;
        border-radius: 50%;
        border: 2px solid #008fb4;
        transition: background 0.3s ease;
      }

      .dot.pink.filled {
        background-color: #f7aebd;
        border: none;
      }
      .dot.yellow.filled {
        background-color: #ffd58e;
        border: none;
      }
      .dot.blue.filled {
        background-color: #9edae6;
        border: none;
      }
      .dot.purple.filled {
        background-color: #bf97c6;
        border: none;
      }
    }
  }
}

.my-pd-area {
  width: 30%;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding-top: 20px;
  gap: 1.5rem;

  .my-pd-img {
    background: #008fb5;
    width: 120px;
    height: 120px;
    border-radius: 50%;

    img {
      width: 100%;
      height: 100%;
      display: flex;
      justify-content: center;
      margin: auto;
      border-radius: 50%;
    }
  }
  .my-pd-btn {
    background: #f1678c;
    padding: 6px 22px;
    border-radius: 31px;
    font-weight: 600;
    font-family: "Poppins", sans-serif;
    font-size: 18px;
    margin-bottom: 30px;
    .pd-link {
      text-decoration: none;
      color: #fff;
    }
  }
}

/* check box  */
.radio-group {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-top: 1rem;
  .radio-label {
    display: flex;
    align-items: center;
    color: white;
    font-weight: bold;
    font-size: 16px;
    cursor: pointer;

    .radio-title {
      box-sizing: border-box;
      color: #fff;
      font-family: "Poppins", sans-serif;
      font-size: 24px;
      font-style: normal;
      font-weight: 600;
      display: inline-flex;
      line-height: 1.25rem;
      text-align: center;
    }
    input[type="radio"] {
      display: none;
    }

    .custom-radio {
      width: 30px;
      height: 30px;
      border-radius: 50%;
      border: 4px solid #00a6c0;
      margin-right: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
    }
    /* Inner dot when checked */
    input[type="radio"]:checked + .custom-radio {
      background-color: #9edae6;
      border-color: #9edae6;
    }
  }

}

/* ----------popup-------------  */
.volunteer-popup-window {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: none;
  z-index: 999;
}
.popup-box {
  width: 40%;
  height: auto;
  background-color: white;
  color: black;
  border: 1px solid black;
  position: absolute;
  top: 25%;
  left: 30%;
  text-align: center;
}
.close-menu {
  font-size: 19px;
  text-align: right;
  padding-right: 20px;
  cursor: pointer;
  font-family: sans-serif;
  color: #005981;
  display: flex;
  font-weight: 700;
  justify-content: end;
  padding-top: 8px;
}
.msg {
  font-family: "Poppins", serif;
  padding: 0 17px;
  letter-spacing: 1px;
  margin-bottom: 1rem;
  font-size: 1.2rem;
}

.my-pd-btn {
  background: #f1678c;
  padding: 10px 26px;
  border-radius: 31px;
  color: #fff;
  font-weight: 600;
  font-family: "Poppins", sans-serif;
  font-size: 21px;
  margin-bottom: 20px;
  border: none;
}

/* <=============== Responsive ===================> */

@media  (max-width: 1206px){
  .volunteer-all-area {
    .volunteer-first-text {
      flex-direction: column;
      gap: 0 !important;
      background-color: #008fb4!important;
      padding: 3rem 0;

      .log-hours {
        left: auto!important;
      }

      span {
        color: white!important;
      }
      .volunteer-value-first {
        width: 100% !important;
        padding: 0!important;
        h3 {
          color: white !important;
        }

      }
    }

    .volunteer-second-text{
      flex-direction: column;
      background-color: #9edae6;
      gap: 0!important;
      padding: 3rem 0;

      h3, span {
        color: #005981!important;
      }
      .volunteer-value-seconod {
        width: 100% !important;
      }
    }
    .development-progress {
      flex-direction: column;
      & .progress-content {
        width: 100%;
      }
      & .my-pd-area {
        width: 100%;
        & .pd-buttons {
          display: flex;
          gap: 1rem;
        }
      }
    }
  }

  .popup-box {
    width: 50%;
    left: 25%;
  }
}

@media  (max-width: 991px){
  .popup-box {
    width: 60%;
    left: 20%;
  }
}

@media  (max-width: 667px){
  .popup-box {
    width: 80%;
    left: 10%;
  }
}

#confetti-btn {
  transition: color 0.3s ease, background 0.3s ease;
}

#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  pointer-events: none;
  z-index: 1;
}
