/*VOLUNTEER REGISTER*/

.volunteer-register {
  padding: 40px 0;

  background: #f8fbff;
}

/*========================
Wrapper
========================*/

.register-wrapper {
  background: #fff;

  border-radius: 30px;

  padding: 60px;

  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.08);

  overflow: hidden;
}

/*========================
Progress
========================*/

.form-progress {
  position: relative;

  display: flex;

  justify-content: space-between;

  align-items: center;

  margin: 60px 0;
}

.progress-line {
  position: absolute;

  top: 28px;

  left: 8%;

  width: 84%;

  height: 4px;

  background: #e8edf5;

  border-radius: 50px;
}

.progress-active {
  position: absolute;

  top: 28px;

  left: 8%;

  width: 0%;

  height: 4px;

  background: linear-gradient(90deg, var(--accent), var(--accent));

  border-radius: 50px;

  transition: 0.4s;
}

.step {
  position: relative;

  z-index: 2;

  display: flex;

  flex-direction: column;

  align-items: center;

  width: 25%;
}

.circle {
  width: 60px;

  height: 60px;

  border-radius: 50%;

  background: #fff;

  border: 2px solid #d9e2ef;

  display: flex;

  align-items: center;

  justify-content: center;

  font-size: 24px;

  color: #9aa5b1;

  transition: 0.35s;
}

.step.active .circle {
  background: linear-gradient(135deg, var(--primary), #245dc9);

  border-color: transparent;

  color: #fff;

  box-shadow: 0 12px 30px rgba(36, 93, 201, 0.35);
}

.step span {
  margin-top: 15px;

  font-weight: 600;

  color: #666;

  text-align: center;
}

.step.active span {
  color: var(--primary);
}

/*========================
Steps
========================*/

.form-step {
  display: none;

  animation: fadeSlide 0.45s ease;
}

.form-step.active {
  display: block;
}

@keyframes fadeSlide {
  from {
    opacity: 0;

    transform: translateY(20px);
  }

  to {
    opacity: 1;

    transform: translateY(0);
  }
}

.form-step h3 {
  font-size: 34px;

  font-weight: 700;

  margin-bottom: 10px;

  color: #222;
}

.form-step > p {
  color: #666;
}

/*========================
Inputs
========================*/

.form-control,
.form-select {
  height: 58px;

  border-radius: 14px;

  border: 1px solid #dbe4ef;

  padding: 0 18px;

  transition: 0.3s;
}

textarea.form-control {
  height: auto;

  min-height: 140px;

  padding-top: 15px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);

  box-shadow: none;
}

label {
  font-weight: 600;

  margin-bottom: 10px;

  color: #333;
}

/*========================
Upload
========================*/

input[type="file"] {
  padding: 14px;
}

/*========================
Buttons
========================*/

.form-buttons {
  display: flex;

  justify-content: space-between;

  align-items: center;

  margin-top: 45px;
}

.next-btn,
.prev-btn,
.submit-btn {
  border: none;

  padding: 15px 34px;

  border-radius: 50px;

  font-weight: 600;

  transition: 0.35s;
}

.next-btn {
  background: linear-gradient(90deg, var(--primary), #245dc9);

  color: #fff;
}

.next-btn:hover {
  background: linear-gradient(90deg, var(--accent), #ff9800);
}

.prev-btn {
  background: #eef5ff;

  color: var(--primary);
}

.prev-btn:hover {
  background: var(--primary);

  color: #fff;
}

.submit-btn {
  background: linear-gradient(90deg, #0b8f49, #27ae60);

  color: #fff;
}

.submit-btn:hover {
  transform: translateY(-3px);

  box-shadow: 0 15px 30px rgba(39, 174, 96, 0.35);
}

/*====================================
VOLUNTEER REGISTER
PART 2
====================================*/

/*========================
Interest Grid
========================*/

.interest-grid {
  display: grid;

  grid-template-columns: repeat(4, 1fr);

  gap: 18px;

  margin-top: 10px;
}

.interest-item {
  position: relative;

  cursor: pointer;
}

.interest-item input {
  display: none;
}

.interest-item span {
  display: flex;

  justify-content: center;

  align-items: center;

  text-align: center;

  min-height: 80px;

  padding: 18px;

  background: #fff;

  border: 2px solid #e6edf5;

  border-radius: 16px;

  font-weight: 600;

  transition: 0.35s;
}

.interest-item:hover span {
  transform: translateY(-5px);

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
}

.interest-item input:checked + span {
  background: linear-gradient(135deg, var(--primary), #245dc9);

  color: #fff;

  border-color: transparent;
}

/*========================
Declaration
========================*/

.declaration-box {
  background: #f8fbff;

  padding: 35px;

  border-radius: 22px;

  border-left: 5px solid var(--primary);

  margin-top: 10px;
}

.declaration-box h5 {
  font-size: 24px;

  font-weight: 700;

  margin-bottom: 15px;

  color: var(--primary);
}

.declaration-box p {
  color: #666;

  line-height: 1.8;

  margin-bottom: 20px;
}

.form-check {
  display: flex;

  align-items: flex-start;

  gap: 12px;
}

.form-check-input {
  width: 22px;

  height: 22px;

  margin-top: 3px;

  cursor: pointer;
}

.form-check-label {
  line-height: 1.8;

  color: #555;
}

.form-check-label a {
  color: var(--primary);

  font-weight: 600;

  text-decoration: none;
}

.form-check-label a:hover {
  color: var(--accent);
}

/*========================
Upload Fields
========================*/

input[type="file"] {
  background: #f8fbff;

  border: 2px dashed #d6e4f4;

  padding: 18px;

  border-radius: 16px;

  transition: 0.35s;
}

input[type="file"]:hover {
  border-color: var(--primary);

  background: #eef5ff;
}

/*========================
Textarea
========================*/

textarea.form-control {
  resize: none;
}

/*========================
Section Title
========================*/

.volunteer-register .section-title h2 {
  font-size: 46px;

  font-weight: 700;
}

.volunteer-register .section-title p {
  max-width: 700px;

  margin: auto;

  color: #666;

  line-height: 1.8;
}

/*========================
Icons Inside Buttons
========================*/

.next-btn i,
.prev-btn i,
.submit-btn i {
  margin-left: 8px;
}

.prev-btn i {
  margin-right: 8px;

  margin-left: 0;
}

/*========================
Hover Animation
========================*/

.form-control:hover,
.form-select:hover {
  border-color: var(--primary);
}

/*========================
Responsive
========================*/

@media (max-width: 1199px) {
  .interest-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 991px) {
  .register-wrapper {
    padding: 40px;
  }

  .form-progress {
    margin: 40px 0;
  }

  .form-step h3 {
    font-size: 30px;
  }

  .interest-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .progress-line,
  .progress-active {
    left: 10%;

    width: 80%;
  }

  .circle {
    width: 55px;

    height: 55px;
  }

  .step span {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .volunteer-register {
    padding: 70px 0;
  }

  .register-wrapper {
    padding: 25px;

    border-radius: 20px;
  }

  .volunteer-register .section-title h2 {
    font-size: 30px;
  }

  .form-progress {
    overflow-x: auto;

    gap: 25px;

    padding-bottom: 15px;
  }

  .form-progress::-webkit-scrollbar {
    display: none;
  }

  .progress-line,
  .progress-active {
    display: none;
  }

  .step {
    min-width: 90px;
  }

  .circle {
    width: 50px;

    height: 50px;

    font-size: 20px;
  }

  .step span {
    font-size: 13px;
  }

  .form-step h3 {
    font-size: 24px;
  }

  .form-buttons {
    flex-direction: column;

    gap: 15px;
  }

  .next-btn,
  .prev-btn,
  .submit-btn {
    width: 100%;

    justify-content: center;
  }

  .interest-grid {
    grid-template-columns: 1fr;
  }

  .declaration-box {
    padding: 25px;
  }
}

@media (max-width: 576px) {
  .form-control,
  .form-select {
    height: 52px;
  }

  label {
    font-size: 14px;
  }

  .declaration-box h5 {
    font-size: 22px;
  }

  .declaration-box p {
    font-size: 14px;
  }
}
