/* ================= VOLUNTEER PORTAL ================= */

.volunteer-portal {
  padding: 100px 20px;
  background: linear-gradient(135deg, #eef2ff, #fff7ed);
}

.volunteer-container {
  max-width: 1200px;
  margin: auto;
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: 60px;
}

/* ================= LEFT PANEL ================= */

.volunteer-info {
  background: linear-gradient(135deg, #4f46e5, #6366f1);
  color: white;
  border-radius: 26px;
  padding: 50px 45px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  box-shadow: 0 25px 60px rgba(0,0,0,0.2);
}

.volunteer-info h2 {
  font-size: 2.3rem;
  margin-bottom: 14px;
}

.volunteer-info p {
  line-height: 1.7;
  opacity: 0.95;
}

.volunteer-benefits {
  margin: 28px 0;
  list-style: none;
}

.volunteer-benefits li {
  margin-bottom: 10px;
  font-size: 0.95rem;
}

.volunteer-illustration img {
  width: 100%;
  max-width: 320px;
  margin-top: 30px;
}

/* ================= FORM CARD ================= */

.volunteer-form-card {
  background: white;
  border-radius: 26px;
  padding: 50px 45px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.15);
}

.volunteer-form-card h3 {
  font-size: 1.8rem;
  margin-bottom: 20px;
}

/* ================= FORM ================= */

.form-section {
  margin-bottom: 22px;
}

.form-section h4 {
  font-size: 1rem;
  margin-bottom: 10px;
  color: #4f46e5;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-group label {
  font-size: 0.85rem;
  margin-bottom: 4px;
  color: #555;
}

.form-group input,
.form-group textarea,
.form-group select {
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid #ddd;
  font-size: 0.9rem;
  outline: none;
  transition: 0.3s;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
  border-color: #4f46e5;
  box-shadow: 0 0 0 3px rgba(79,70,229,0.15);
}

/* ================= CHECKBOX GRID ================= */

.checkbox-group label {
  margin-bottom: 6px;
  font-size: 0.85rem;
}

.checkbox-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.checkbox-grid label {
  background: #f1f5ff;
  border-radius: 10px;
  padding: 8px 10px;
  cursor: pointer;
  transition: 0.3s;
}

.checkbox-grid input {
  margin-right: 6px;
}

.checkbox-grid label:hover {
  background: #e0e7ff;
}

/* ================= SUBMIT BUTTON ================= */

.volunteer-submit {
  margin-top: 18px;
  padding: 12px;
  width: 100%;
  border: none;
  border-radius: 40px;
  background: linear-gradient(135deg, #f59e0b, #fb923c);
  color: white;
  font-weight: 600;
  cursor: pointer;
  transition: 0.4s;
}

.volunteer-submit:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 25px rgba(0,0,0,0.25);
}

.volunteer-info,
.volunteer-form-card {
  opacity: 0;
  transform: translateY(40px);
  transition: 0.9s ease;
}

.volunteer-info.show,
.volunteer-form-card.show {
  opacity: 1;
  transform: translateY(0);
}


/* ================= VOLUNTEER MOBILE ================= */

@media (max-width: 900px) {

  .volunteer-container {
    grid-template-columns: 1fr;
    gap: 40px;
  }

  .volunteer-info,
  .volunteer-form-card {
    padding: 40px 30px;
  }

  .volunteer-info h2 {
    font-size: 2rem;
  }
}

@media (max-width: 600px) {

  .form-row {
    grid-template-columns: 1fr;
  }

  .checkbox-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .volunteer-info,
  .volunteer-form-card {
    padding: 32px 24px;
    border-radius: 20px;
  }

  .volunteer-info h2 {
    font-size: 1.7rem;
  }

  .volunteer-form-card h3 {
    font-size: 1.5rem;
  }

}


