/* VOLUNTEER PAGE CUSTOM STYLES */

/* Typography & Colors */
:root {
  --primary-color: #b91c1c; /* Deep Red */
  --accent-color: #f5f0e6;  /* Light Cream Background */
  --highlight-color: #facc15; /* Golden Yellow */
  --text-color: #2d2d2d;
  --font-hindi: 'Crimson Text', serif;
  --font-english: 'Poppins', sans-serif;
}

/* General Reset */
.volunteer-hero-section,
.why-volunteer-section,
.volunteer-roles-section,
.volunteer-form-section,
.cta-section {
  padding: 60px 20px;
  background-color: var(--accent-color);
  color: var(--text-color);
}

.section-title {
  font-size: 3rem;
  font-family: var(--font-hindi);
  text-align: center;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.section-title .english-title {
  font-family: var(--font-english);
  font-size: 1.4rem;
  display: block;
  margin-top: 5px;
  color: #444;
}

.section-subtitle {
  text-align: center;
  font-family: var(--font-english);
  font-size: 1.1rem;
  color: #444;
  margin-top: 5px;
}

.om-symbol {
  font-size: 3rem;
  text-align: center;
  margin-top: 20px;
  color: var(--primary-color);
}

/* Section Headings */
.section-heading {
  font-family: var(--font-hindi);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 20px;
  text-align: center;
}

.section-text {
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
  text-align: center;
  font-family: var(--font-english);
  line-height: 1.6;
}

/* Volunteer Cards */
.volunteer-cards {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 30px;
  margin-top: 30px;
}

.volunteer-card {
  background-color: white;
  border: 1px solid #ddd;
  border-radius: 16px;
  padding: 25px;
  width: 250px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.volunteer-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.volunteer-card i {
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.volunteer-card h4 {
  font-family: var(--font-hindi);
  font-size: 1.2rem;
  margin-bottom: 5px;
}

.volunteer-card p {
  font-family: var(--font-english);
  font-size: 0.95rem;
  color: #555;
}

/* Volunteer Form Section */
.volunteer-form-section {
  background-color: #fff;
}

form {
  max-width: 700px;
  margin: 0 auto;
  background-color: var(--accent-color);
  padding: 30px;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

.form-group {
  margin-bottom: 20px;
}

label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-family: var(--font-hindi);
  color: var(--primary-color);
}

input,
select,
textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid #ccc;
  font-family: var(--font-english);
  font-size: 1rem;
  background-color: #fff;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 2px rgba(185, 28, 28, 0.2);
}

textarea {
  resize: vertical;
}

/* Submit Button */
.btn-submit {
  background-color: var(--primary-color);
  color: #fff;
  padding: 12px 24px;
  border: none;
  font-family: var(--font-english);
  font-size: 1rem;
  border-radius: 10px;
  cursor: pointer;
  transition: background-color 0.3s ease;
  display: block;
  margin: 0 auto;
}

.btn-submit:hover {
  background-color: #991b1b;
}

/* CTA Section */
.cta-section {
  text-align: center;
  background: linear-gradient(135deg, #fdf6e3, #fce8e8);
}

.cta-heading {
  font-family: var(--font-hindi);
  font-size: 2rem;
  color: var(--primary-color);
  margin-bottom: 10px;
}

.cta-subtext {
  font-family: var(--font-english);
  font-size: 1rem;
  margin-bottom: 20px;
}

.cta-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
}

.btn {
  background-color: var(--primary-color);
  color: white;
  padding: 12px 20px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  font-family: var(--font-english);
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #7f1d1d;
}

.btn-donate {
  background-color: var(--highlight-color);
  color: #000;
}

.btn-donate:hover {
  background-color: #eab308;
}

.btn-contact {
  background-color: var(--primary-color);
  color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  .volunteer-cards {
    flex-direction: column;
    align-items: center;
  }

  .volunteer-card {
    width: 90%;
  }

  form {
    padding: 20px;
  }
}

/* Fade-in Animation */
.fade-init {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 1s ease, transform 1s ease;
}

.fade-in {
  opacity: 1;
  transform: translateY(0);
}

/* Om Symbol Animation */
.om-bounce {
  animation: omBounce 1s ease;
}

@keyframes omBounce {
  0% {
    transform: scale(1);
  }
  25% {
    transform: scale(1.15);
  }
  50% {
    transform: scale(0.95);
  }
  100% {
    transform: scale(1);
  }
}

/* Form Validation Error */
.input-error {
  border-color: red !important;
  background-color: #ffeaea;
}
