/* Donate Page Specific Styles */

/* Hero Section */
.donate-hero {
  position: relative;
  height: 500px;
  overflow: hidden;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 100%;
}

.village-girls-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    45deg,
    rgba(44, 90, 160, 0.8),
    rgba(30, 58, 138, 0.6)
  );
  display: flex;
  align-items: center;
  justify-content: center;
}

.hero-content {
  text-align: center;
  color: white;
  padding: 40px;
  max-width: 800px;
}

.hero-content h1 {
  font-size: 3rem;
  font-weight: 700;
  margin-bottom: 20px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
  font-size: 1.5rem;
  margin-bottom: 15px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.hindi-subtitle {
  font-size: 1.2rem !important;
  font-style: italic;
  opacity: 0.9;
}

/* Donation Form Section */
.donation-form-section {
  padding: 80px 0;
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.form-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.form-header {
  background: linear-gradient(135deg, #2c5aa0, #1e3a8a);
  color: white;
  padding: 40px;
  text-align: center;
}

.form-header h2 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 15px;
}

.form-header i {
  color: #fbbf24;
  animation: heartbeat 2s infinite;
}

@keyframes heartbeat {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}

.form-header p {
  font-size: 1.2rem;
  opacity: 0.9;
}

.donation-form {
  padding: 40px;
}

/* 80G Certificate Checkbox Styling */
.certificate-check {
  background: linear-gradient(135deg, #fef3c7, #fbbf24);
  border: 2px solid #f59e0b;
  border-radius: 15px;
  padding: 20px;
  margin: 20px 0;
  position: relative;
  transition: all 0.3s ease;
}

.certificate-check:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(245, 158, 11, 0.3);
}

.certificate-check .form-check-input {
  width: 1.5rem;
  height: 1.5rem;
  border: 2px solid #d97706;
  border-radius: 6px;
  margin-top: 15px;
  margin-left: 10px;

  flex-shrink: 0;
}

.certificate-check .form-check-input:checked {
  background-color: #059669;
  border-color: #059669;
}

.certificate-check .form-check-label {
  font-size: 1.1rem;
  color: #92400e;
  cursor: pointer;
  margin-left: 10px;
}

.certificate-check .form-check-label strong {
  font-weight: 700;
  color: #78350f;
  display: block;
}

.certificate-check .form-check-label small {
  color: #a16207;
  font-style: italic;
}

/* Certificate fields transition */
#certificateFields {
  transition: all 0.5s ease;
  opacity: 0;
  transform: translateY(-10px);
}

#certificateFields[style*="block"] {
  opacity: 1;
  transform: translateY(0);
}

.form-label {
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
  font-size: 1rem;
}

.required {
  color: #e74c3c;
  font-weight: bold;
}

.form-control {
  padding: 15px;
  border: 2px solid #e5e7eb;
  border-radius: 10px;
  font-size: 1rem;
  transition: all 0.3s ease;
}

.form-control:focus {
  border-color: #2c5aa0;
  box-shadow: 0 0 0 0.2rem rgba(44, 90, 160, 0.25);
}

.amount-buttons {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.amount-btn {
  border-radius: 25px;
  font-weight: 600;
  padding: 10px 20px;
  transition: all 0.3s ease;
  border: 2px solid #2c5aa0;
  color: #2c5aa0;
}

.amount-btn:hover,
.amount-btn.active {
  background: #2c5aa0;
  color: white;
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(44, 90, 160, 0.3);
}

.form-actions {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-top: 30px;
  flex-wrap: wrap;
}

.btn-lg {
  padding: 15px 40px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  transition: all 0.3s ease;
}

.btn-success {
  background: linear-gradient(135deg, #10b981, #059669);
  border: none;
  box-shadow: 0 5px 15px rgba(16, 185, 129, 0.3);
}

.btn-success:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(16, 185, 129, 0.4);
}

.btn-secondary {
  background: #6b7280;
  border: none;
  box-shadow: 0 5px 15px rgba(107, 114, 128, 0.3);
}

.btn-secondary:hover {
  background: #4b5563;
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(107, 114, 128, 0.4);
}

/* Motivational Section */
.motivation-section {
  padding: 80px 0;
  background: white;
}

.motivation-card {
  background: linear-gradient(135deg, #fff7ed, #fef3c7);
  border: 3px solid #fbbf24;
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  height: 100%;
  transition: all 0.3s ease;
  box-shadow: 0 10px 30px rgba(251, 191, 36, 0.1);
}

.motivation-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(251, 191, 36, 0.2);
  border-color: #f59e0b;
}

.motivation-icon {
  width: 80px;
  height: 80px;
  background: linear-gradient(135deg, #fbbf24, #f59e0b);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 25px;
  box-shadow: 0 10px 20px rgba(251, 191, 36, 0.3);
}

.motivation-icon i {
  font-size: 2rem;
  color: white;
}

.motivation-card h4 {
  color: #92400e;
  font-weight: 700;
  font-size: 1.5rem;
  margin-bottom: 15px;
  font-family: "Devanagari", serif;
}

.motivation-card p {
  color: #78350f;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 10px;
  line-height: 1.6;
}

.motivation-card .english {
  color: #a16207;
  font-style: italic;
  font-size: 0.95rem;
  font-weight: 500;
}

.quote-section {
  background: linear-gradient(135deg, #1e3a8a, #2c5aa0);
  border-radius: 20px;
  padding: 50px;
  color: white;
  box-shadow: 0 15px 35px rgba(30, 58, 138, 0.3);
}

.quote-section .blockquote {
  font-size: 1.4rem;
  font-weight: 500;
  line-height: 1.8;
  margin: 0;
}

.quote-section .blockquote-footer {
  color: #fbbf24;
  font-size: 1.1rem;
  font-weight: 600;
  margin-top: 20px;
}

.quote-section .blockquote-footer cite {
  font-style: normal;
  font-weight: 700;
}

/* Active navigation state */
.nav-link.active {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 25px;
}

/* Responsive Design */
@media (max-width: 768px) {
  .hero-content h1 {
    font-size: 2rem;
  }

  .hero-content p {
    font-size: 1.2rem;
  }

  .hindi-subtitle {
    font-size: 1rem !important;
  }

  .form-header h2 {
    font-size: 2rem;
    flex-direction: column;
    gap: 10px;
  }

  .donation-form {
    padding: 30px 20px;
  }

  .form-actions {
    flex-direction: column;
    align-items: center;
  }

  .btn-lg {
    width: 100%;
    max-width: 300px;
  }

  .amount-buttons {
    justify-content: center;
  }

  .motivation-card {
    margin-bottom: 30px;
  }

  .quote-section {
    padding: 30px 20px;
  }

  .quote-section .blockquote {
    font-size: 1.2rem;
  }
}

@media (max-width: 480px) {
  .donate-hero {
    height: 400px;
  }

  .hero-content {
    padding: 20px;
  }

  .hero-content h1 {
    font-size: 1.8rem;
  }

  .form-header {
    padding: 30px 20px;
  }

  .amount-btn {
    flex: 1;
    min-width: 80px;
  }
}
