/* ======================================
   VOLUNTEER SECTION – GLOBAL
====================================== */

.volunteer-section {
  position: relative;
  padding: 100px 20px;
  overflow: hidden;
  background: linear-gradient(135deg, #f9fbff, #ffffff);
  font-family: "Inter", sans-serif;
}

/* Background image effect */
.volunteer-bg-effects {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.volunteer-bg-effects img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: blur(10px) brightness(0.6);
}

/* ======================================
   MAIN CONTAINER
====================================== */

.volunteer-container {
  position: relative;
  z-index: 2;
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 70px;
  align-items: center;
}

/* ======================================
   LEFT IMAGE
====================================== */

.volunteer-image {
  display: flex;
  justify-content: center;
  position: relative;
}

.image-frame {
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.35);
  transform: rotate(-2deg);
}

.image-frame img {
  width: 100%;
  max-width: 420px;
  display: block;
}

.image-glow {
  position: absolute;
  width: 360px;
  height: 360px;
  background: radial-gradient(circle, rgba(255,183,3,0.45), transparent 70%);
  filter: blur(50px);
  z-index: -1;
}

/* ======================================
   FORM WRAPPER
====================================== */

.volunteer-form-wrapper {
  background: rgba(255,255,255,0.96);
  border-radius: 24px;
  padding: 50px 45px;
  box-shadow: 0 35px 90px rgba(0,0,0,0.25);
  backdrop-filter: blur(6px);
}

/* Header */
.form-header h2 {
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #111;
}

.form-header p {
  font-size: 1rem;
  color: #555;
  margin-bottom: 40px;
}

/* Section titles */
.form-section-title {
  font-size: 1.1rem;
  font-weight: 700;
  margin: 35px 0 20px;
  color: #fb5607;
  position: relative;
}

.form-section-title::after {
  content: "";
  width: 50px;
  height: 3px;
  background: linear-gradient(90deg, #ffb703, #fb5607);
  display: block;
  margin-top: 6px;
  border-radius: 5px;
}

/* ======================================
   INPUT GROUPS
====================================== */

.input-group {
  position: relative;
  margin-bottom: 28px;
}

.input-group input,
.input-group textarea {
  width: 100%;
  padding: 14px 10px;
  border: none;
  border-bottom: 2px solid #ddd;
  background: transparent;
  font-size: 1rem;
  outline: none;
  resize: none;
}

.input-group textarea {
  min-height: 100px;
}

/* Floating label */
.input-group label {
  position: absolute;
  left: 10px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.95rem;
  color: #777;
  pointer-events: none;
  transition: 0.3s ease;
}

.input-group textarea + label {
  top: 18px;
  transform: none;
}

.input-group input:focus + label,
.input-group input:valid + label,
.input-group textarea:focus + label,
.input-group textarea:valid + label {
  top: -6px;
  font-size: 0.8rem;
  color: #fb5607;
}

/* Focus line */
.focus-line {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 0;
  background: linear-gradient(90deg, #ffb703, #fb5607);
  transition: width 0.4s ease;
}

.input-group input:focus ~ .focus-line,
.input-group textarea:focus ~ .focus-line {
  width: 100%;
}

/* ======================================
   FILE INPUTS
====================================== */

.file-input {
  margin-bottom: 30px;
}

.file-label {
  display: flex;
  align-items: center;
  gap: 14px;
  cursor: pointer;
}

.file-label input {
  display: none;
}

.file-btn {
  padding: 10px 18px;
  border-radius: 25px;
  background: linear-gradient(135deg, #ffb703, #fb5607);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  white-space: nowrap;
}

.file-name {
  font-size: 0.85rem;
  color: #555;
}

/* ======================================
   CHECKBOX GROUP (SKILLS)
====================================== */

.checkbox-group {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px 20px;
  margin-bottom: 30px;
}

.checkbox-group label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  color: #444;
  cursor: pointer;
}

.checkbox-group input {
  accent-color: #fb5607;
}

/* ======================================
   SUBMIT BUTTON
====================================== */

.volunteer-btn {
  position: relative;
  width: 100%;
  padding: 15px;
  border-radius: 35px;
  border: none;
  background: linear-gradient(135deg, #ffb703, #fb5607);
  color: #fff;
  font-size: 1.05rem;
  font-weight: 800;
  cursor: pointer;
  overflow: hidden;
  box-shadow: 0 15px 35px rgba(251,86,7,0.5);
}

.volunteer-btn span {
  position: relative;
  z-index: 2;
}

.btn-wave {
  position: absolute;
  inset: 0;
  background: rgba(255,255,255,0.18);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
}

.volunteer-btn:hover .btn-wave {
  transform: translateX(0);
}

/* ======================================
   RESPONSIVE
====================================== */

@media (max-width: 992px) {
  .volunteer-container {
    grid-template-columns: 1fr;
    gap: 60px;
  }

  .volunteer-image {
    order: -1;
  }

  .image-frame {
    transform: rotate(0);
  }
}

@media (max-width: 576px) {
  .volunteer-form-wrapper {
    padding: 35px 25px;
  }

  .form-header h2 {
    font-size: 2.1rem;
  }

  .form-section-title {
    font-size: 1rem;
  }

  .volunteer-btn {
    font-size: 0.95rem;
  }
}
