/* Volunteer Page Styles
===================================================== */

/* Main Volunteer Section */
.volunteer {
  background-color: var(--ul-c4);
  padding: clamp(60px, 5.26vw, 100px) 0;
  position: relative;
  overflow: hidden;
}

.volunteer::before,
.volunteer::after {
  content: "";
  position: absolute;
  background-color: var(--white);
  border-radius: 50%;
  z-index: 1;
}

.volunteer::before {
  width: clamp(300px, 26.32vw, 500px);
  aspect-ratio: 1/1;
  top: -15%;
  left: -10%;
  opacity: 0.5;
}

.volunteer::after {
  width: clamp(200px, 15.79vw, 300px);
  aspect-ratio: 1/1;
  bottom: -10%;
  right: -5%;
  opacity: 0.3;
}

/* Volunteer Content Section */
.volunteer__content {
  position: relative;
  z-index: 2;
  padding-right: clamp(15px, 2.1vw, 40px);
}

.volunteer__content .section__content {
  margin-bottom: clamp(25px, 2.1vw, 40px);
}

.volunteer__content .section__content .sub-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ul-primary);
  font-size: clamp(16px, 0.95vw, 18px);
  font-weight: 600;
  margin-bottom: clamp(10px, 0.79vw, 15px);
}

.volunteer__content .section__content .title-animation {
  font-size: clamp(30px, 2.36vw, 45px);
  font-weight: 700;
  font-family: var(--font-quicksand);
  margin-bottom: clamp(15px, 1.26vw, 24px);
  color: var(--ul-black);
  line-height: 1.2;
}

.volunteer__content .section__content p {
  color: var(--ul-p);
  margin-bottom: clamp(10px, 0.79vw, 15px);
}

.volunteer__content .section__content p:last-child {
  margin-bottom: 0;
}

/* Warning Box */
.volunteer__content .warning {
  background-color: rgba(255, 225, 93, 0.2);
  border-left: 4px solid #FFE15D;
  padding: clamp(15px, 1.58vw, 30px);
  border-radius: 0 5px 5px 0;
  display: flex;
  align-items: center;
  margin-bottom: clamp(30px, 2.63vw, 50px);
}

.volunteer__content .warning .line {
  margin-right: 15px;
}

.volunteer__content .warning i {
  color: #FFE15D;
  font-size: clamp(18px, 1.26vw, 24px);
}

.volunteer__content .warning p {
  margin-bottom: 0;
  color: var(--ul-black);
}

/* Progress Bar */
.volunteer__content .progress-wrapper {
  margin-bottom: clamp(30px, 2.63vw, 50px);
}

.volunteer__content .cause__progress {
  margin-bottom: clamp(15px, 1.05vw, 20px);
}

.volunteer__content .cause-progress__bar p {
  font-weight: 600;
  color: var(--ul-black);
  margin-bottom: 10px;
}

.volunteer__content .progress-bar-wrapper {
  background-color: #f0f0f0;
  height: 8px;
  border-radius: 10px;
  position: relative;
  overflow: hidden;
}

.volunteer__content .progress-bar {
  position: relative;
  height: 100%;
  border-radius: 10px;
  background: var(--ul-gradient);
  transition: width 1.5s ease;
}

.volunteer__content .progress-bar-percent {
  position: absolute;
  right: 0;
  top: -30px;
  font-weight: 700;
  color: var(--ul-primary);
}

/* Team Details List */
.volunteer__content .team-details__list {
  margin-bottom: clamp(30px, 2.63vw, 50px);
}

.volunteer__content .team-details__list ul {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
}

@media screen and (max-width: 575px) {
  .volunteer__content .team-details__list ul {
    grid-template-columns: 1fr;
  }
}

.volunteer__content .team-details__list li {
  display: flex;
  align-items: center;
  gap: 10px;
  color: var(--ul-black);
}

.volunteer__content .team-details__list li i {
  color: var(--ul-primary);
  font-size: clamp(14px, 0.89vw, 17px);
}

/* Contact Box */
.volunteer__content .become-volunteer__contact-box {
  display: flex;
  align-items: center;
  padding: clamp(20px, 1.58vw, 30px);
  background-color: var(--ul-c3);
  border-radius: 10px;
}

.volunteer__content .become-volunteer__contact-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  border-radius: 50%;
  background-color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 20px;
}

.volunteer__content .become-volunteer__contact-icon span {
  color: var(--ul-primary);
  font-size: 20px;
}

.volunteer__content .become-volunteer__contact p {
  display: flex;
  flex-direction: column;
  gap: 5px;
  margin-bottom: 0;
}

.volunteer__content .become-volunteer__contact a {
  color: var(--ul-black);
  font-weight: 600;
  transition: color 0.3s ease;
}

.volunteer__content .become-volunteer__contact a:hover {
  color: var(--ul-primary);
}

/* Volunteer Form Section */
.volunteer__form {
  position: relative;
  z-index: 2;
  background-color: var(--white);
  padding: clamp(25px, 2.1vw, 40px);
  border-radius: 10px;
  box-shadow: 0 5px 30px rgba(0, 0, 0, 0.08);
}

/* Alert Messages */
.volunteer__form .alert {
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 5px;
}

.volunteer__form .alert-success {
  background-color: rgba(25, 135, 84, 0.1);
  border: 1px solid rgba(25, 135, 84, 0.2);
  color: #198754;
}

.volunteer__form .alert-danger {
  background-color: rgba(220, 53, 69, 0.1);
  border: 1px solid rgba(220, 53, 69, 0.2);
  color: #dc3545;
}

.volunteer__form-content {
  margin-bottom: clamp(20px, 1.58vw, 30px);
}

.volunteer__form-content .title-animation {
  font-size: clamp(24px, 1.58vw, 30px);
  font-weight: 700;
  font-family: var(--font-quicksand);
  margin-bottom: 10px;
  color: var(--ul-black);
}

.volunteer__form-content p {
  color: var(--ul-p);
  margin-bottom: 0;
}

/* Form Elements */
.volunteer__form form {
  display: flex;
  flex-direction: column;
  gap: clamp(15px, 1.05vw, 20px);
}

.volunteer__form .input-group {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: clamp(15px, 1.05vw, 20px);
}

@media screen and (max-width: 575px) {
  .volunteer__form .input-group {
    grid-template-columns: 1fr;
  }
}

.volunteer__form .input-single {
  position: relative;
}

.volunteer__form .input-single input,
.volunteer__form .input-single textarea {
  width: 100%;
  padding: 15px 15px 15px 45px;
  border: 1px solid #e5e5e5;
  border-radius: 5px;
  font-size: 16px;
  transition: border-color 0.3s ease;
}

.volunteer__form .input-single input:focus,
.volunteer__form .input-single textarea:focus {
  border-color: var(--ul-primary);
}

.volunteer__form .input-single i {
  position: absolute;
  left: 15px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--ul-primary);
  font-size: 18px;
}

.volunteer__form .input-single.alter-input textarea {
  height: 120px;
  resize: none;
  padding-top: 45px;
}

.volunteer__form .input-single.alter-input i {
  top: 25px;
  transform: none;
}

.volunteer__form .form-cta {
  margin-top: 10px;
}

.volunteer__form .btn--primary {
  background-color: var(--ul-primary);
  color: var(--white);
  padding: 15px 30px;
  border-radius: 5px;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: background-color 0.3s ease;
  border: 2px solid transparent;
}

.volunteer__form .btn--primary:hover {
  background-color: transparent;
  color: var(--ul-primary);
  border-color: var(--ul-primary);
}

.volunteer__form .btn--primary i {
  font-size: 14px;
  transition: transform 0.3s ease;
}

.volunteer__form .btn--primary:hover i {
  transform: translateX(5px);
}

/* Responsive Adjustments */
@media screen and (max-width: 1199px) {
  .volunteer__content {
    margin-bottom: 40px;
  }
}

@media screen and (max-width: 767px) {
  .volunteer {
    padding: clamp(40px, 3.16vw, 60px) 0;
  }
  
  .volunteer__content .section__content .title-animation {
    font-size: clamp(24px, 1.58vw, 30px);
  }
} 