/* Donor Section */
.donor-section {
  padding: 20em 2em;
  margin-top: -8.2em;
  text-align: center;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  background-image: url('src/images/wholepagebg.png');
  background-size: cover;
  background-attachment: fixed;
  position: relative;
  overflow: hidden;
}

/* Badge */
.donor-badge {
  background: #D62828;
  color: #fff;
  border: none;
  border-radius: 30px;
  padding: 6px 16px;
  font-size: 14px;
  cursor: default;
  margin-bottom: 1em;
  margin-top: 8em !important;
}

/* Title */
.donor-title {
  font-size: 65px;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  font-weight: 700;
  line-height: 65px;
  color: #1e2939;
  margin-bottom: 0.5em;
  margin-top: 25px;
}

.donor-title .highlight {
  color: #ef4444;
}

input#agree {
  width: 13px;
}

.donor-subtitle {
  font-size: 20px;
  line-height: 1.6;
  color: #4a5565;
  margin-bottom: 2rem;
  font-weight: 400;
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
}


.donor-form {
  gap: 13px;
  max-width: 600px;
  margin: 0 auto;
  text-align: left;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Form */
.donor-form {
  max-width: 700px;
  margin: 0 auto;
  text-align: left;
}

.donor-form label {
  display: block;
  font-weight: 700;
  margin-bottom: 0.4em;
  color: #111827;
  margin-top: 31px;
}

.donor-form .required {
  color: #ef4444;
}

.donor-form input {
  width: 100%;
  padding: 15px;
  border-radius: 50px;
  border: 1px solid #d1d5db;
  outline: none;
  font-size: 1em;
}

.donor-form select {
  width: 100%;
  padding: 1em;
  padding-right: 2.5em;
  /* arrow ke liye extra space */
  border-radius: 50px;
  border: 1px solid #d1d5db;
  outline: none;
  font-size: 1em;
  background: #fff;
  /* arrow control */
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("data:image/svg+xml;utf8,<svg fill='black' height='16' viewBox='0 0 24 24' width='16' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/></svg>");
  background-repeat: no-repeat;
  background-position: right 1em center;
  background-size: 1em;
}

/* Checkbox */
.donor-checkbox {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.95em;
  color: #374151;
  justify-content: center;
  padding-top: 2em;
  padding-bottom: 2em;
}

/* Button */
.donor-btn {
  padding: 0.8em 2.5em;
  border-radius: 30px;
  background: linear-gradient(to right, #0e9f6e, #28a745);
  color: #fff;
  font-size: 1em;
  font-weight: 600;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
  display: block;
  margin: 0 auto;
}

.donor-btn:hover {
  opacity: 0.9;
}

/* 📱 Responsive Donor Section */
@media (max-width: 1024px) {
  .donor-title {
    font-size: 48px;
    line-height: 55px;
  }

  .donor-subtitle {
    font-size: 1em;
  }

  .donor-form {
    max-width: 90%;
  }
}

@media (max-width: 768px) {
  .donor-section {
    padding-top: 13em;
    padding-bottom: 3em;
    margin-top: -4em;
  }

  .donor-title {
    font-size: 40px;
    line-height: 48px;
  }

  .donor-subtitle {
    font-size: 0.95em;
    margin-bottom: 2em;
  }

  .donor-form {
    max-width: 100%;
    gap: 10px;
  }

  .donor-checkbox {
    font-size: 0.85em;
    flex-direction: row;
    align-items: flex-start;
    text-align: left;
  }

  .donor-btn {
    width: 100%;
    /* 👈 full width button on mobile */
    font-size: 0.95em;
    padding: 0.9em;
  }
}

@media (max-width: 480px) {
  .donor-title {
    font-size: 32px;
    line-height: 40px;
  }

  .donor-checkbox {
    display: flex;
    flex-direction: row;
  }

  .donor-subtitle {
    font-size: 0.9em;
    line-height: 1.4;
  }

  .donor-form label {
    font-size: 0.9em;
  }

  .donor-form input,
  .donor-form select {
    padding: 0.8em 1em;
    font-size: 0.9em;
  }

  .donor-checkbox {
    font-size: 0.8em;
    flex-direction: row !important;
    gap: 5px;
  }

  .donor-btn {
    font-size: 0.9em;
    padding: 0.8em;
  }
}