/*Fundraise for us Page styles*/
body .fundraise-body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #f9f9f9;
  color: #333;
}

header.fundraise-header {
  text-align: center;
  background-color: #ff3399;
  color: white;
  padding: 50px 20px;
}

.fundraise-header h1 {
  margin: 0;
  font-size: 36px;
}

.fundraise-header p {
  font-size: 18px;
  margin-top: 10px;
}

.fundraise-steps {
  padding: 50px 20px;
  background-color: white;
  text-align: center;
}

.fundraise-steps h2 {
  margin-bottom: 20px;
}

.fundraise-steps-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.step {
  background-color: #f1f1f1;
  border-radius: 8px;
  padding: 20px;
  max-width: 300px;
  text-align: center;
}

.step img {
  max-width: 100px;
  margin-bottom: 15px;
}

.step h3 {
  margin-bottom: 10px;
}

/* Fundraise on Social Media Section */
.fundraise-social {
  background-color: #f1f1f1;
  padding: 20px;
  margin: 20px 0;
}

.fundraise-social h2 {
  text-align: center;
  color: #333;
  margin-bottom: 20px;
}

.social-platforms {
  display: flex;
  justify-content: center;
  gap: 20px;
  align-items: center;
}

.social-platforms .platform {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 15px;
  width: calc(50% - 10px);
  min-height: 200px; /* Set a minimum height */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.6);
}

.platform-logo {
  width: 40px;
  height: 40px;
  object-fit: cover;
  border-radius: 50%; /* Optional if the logos are square */
  justify-content: center;
  align-items: center;
  display: flex;
  margin: 0 auto;
  margin-bottom: 3px;
}

.platform h3 {
  color: #444;
  margin-bottom: 10px;
  text-align: center;
}

.platform ol {
  padding-left: 20px;
  color: #555;
}

.platform ol li {
  margin-bottom: 8px;
}

.social-platforms .toggle-details {
  display: block;
  padding: 8px 12px;
  background-color: #007bff;
  color: #fff;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-align: center;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

.toggle-details:hover {
  background-color: #0056b3;
}

.social-platforms #instagram-details,
.social-platforms #facebook-details p {
  margin-top: 10px;
  padding: 5px;
  background: #e7f5ff;
  border-left: 4px solid #007bff;
  color: #333;
  border-radius: 4px;
  text-align: center;
  font-size: small;
}

.fundraise-call-to-action {
  text-align: center;
  padding: 50px 20px;
  background-color: #ff3399;
  color: white;
}

.fundraise-call-to-action h2 {
  margin-bottom: 10px;
}

.fundraise-cta-button {
  background-color: white;
  color: #ff3399;
  border: none;
  padding: 15px 30px;
  border-radius: 5px;
  cursor: pointer;
  font-size: 16px;
  margin-top: 20px;
  font-weight: bold;
}

.fundraise-cta-button:hover {
  background-color: #ffb0d0;
}

.success-stories {
  padding: 50px 20px;
  background-color: #f9f9f9;
}

.stories-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
}

.story {
  background-color: white;
  border-radius: 8px;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
  max-width: 300px;
  padding: 20px;
  text-align: center;
}

.story img {
  border-radius: 8px;
  margin-bottom: 15px;
}

footer.fundraise-footer {
  text-align: center;
  padding: 20px;
  background-color: #333;
  color: white;
}

.fundraise footer a {
  color: #ff7b7b;
  text-decoration: none;
}

/* Add styles for the popup form */
.popup-overlay {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9999;
  justify-content: center;
  align-items: center;
}

.popup-form {
  background: #fff;
  padding: 28px;
  border-radius: 8px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0px 5px 15px rgba(0, 0, 0, 0.3);
}

.popup-form h3 {
  text-align: center;
  margin-bottom: 15px;
  font-size: 1.5rem;
  color: #333;
}

.popup-form label {
  display: block;
  font-size: 0.9rem;
  margin-bottom: 5px;
  color: #555;
}

.popup-form input,
.popup-form textarea {
  width: 100%;
  padding: 10px;
  margin-bottom: 15px;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 0.9rem;
}

.popup-form textarea {
  resize: none;
  height: 80px;
}

.popup-form button {
  display: block;
  width: 100%;
  background-color: #4caf50;
  color: white;
  padding: 10px;
  font-size: 1rem;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.popup-form button:hover {
  background-color: #45a049;
}

.popup-form .close-btn {
  display: block;
  text-align: center;
  margin-top: 10px;
  font-size: 0.9rem;
  color: #888;
  cursor: pointer;
}

.popup-form .close-btn:hover {
  text-decoration: underline;
}

/* Add responsive styles for the Fundraise for Us page */
@media (max-width: 1024px) {
  /* Adjust header for smaller screens */
  header.fundraise-header {
    padding: 40px 15px;
  }

  .fundraise-header h1 {
    font-size: 28px;
  }

  .fundraise-header p {
    font-size: 16px;
  }

  /* Adjust steps section for medium screens */
  .fundraise-steps-container {
    flex-direction: column;
    gap: 15px;
  }

  .step {
    max-width: 90%;
    margin: 0 auto;
  }

  /* Social platforms adjustment */
  .social-platforms {
    flex-direction: column;
    gap: 15px;
  }

  .social-platforms .platform {
    width: 90%;
    margin: 0 auto;
  }

  /* Success stories adjustment */
  .stories-container {
    flex-direction: column;
    gap: 15px;
  }

  .story {
    max-width: 90%;
    margin: 0 auto;
  }
}

@media (max-width: 768px) {
  /* Further adjustments for mobile devices */
  header.fundraise-header {
    padding: 30px 10px;
  }

  .fundraise-header h1 {
    font-size: 24px;
  }

  .fundraise-header p {
    font-size: 14px;
  }

  .fundraise-steps {
    padding: 30px 10px;
  }

  .step {
    padding: 15px;
  }

  /* Social platforms for mobile */
  .social-platforms {
    gap: 10px;
  }

  .social-platforms .platform {
    padding: 10px;
  }

  /* Call-to-action section */
  .fundraise-call-to-action {
    padding: 30px 10px;
  }

  .fundraise-cta-button {
    padding: 10px 20px;
    font-size: 14px;
  }

  /* Popup form for mobile */
  .popup-form {
    width: 95%;
    padding: 20px;
  }

  .popup-form h3 {
    font-size: 1.25rem;
  }

  .popup-form button {
    padding: 8px;
    font-size: 0.9rem;
  }

  /* Footer */
  footer.fundraise-footer {
    padding: 15px;
    font-size: 14px;
  }
}

@media (max-width: 480px) {
  /* Extra small devices (phones) */
  .fundraise-header h1 {
    font-size: 20px;
  }

  .fundraise-header p {
    font-size: 12px;
  }

  .fundraise-steps h2,
  .fundraise-social h2,
  .fundraise-call-to-action h2 {
    font-size: 18px;
  }

  .fundraise-cta-button {
    padding: 8px 16px;
    font-size: 12px;
  }

  .social-platforms .platform {
    min-height: 150px;
  }

  .popup-form {
    padding: 15px;
  }
}

/*Contact-us form Submit Allert */
.alert {
  width: 100%; /* Takes full width of its parent */
  max-width: 400px; /* Adjust to match form width */
  padding: 12px;
  border-radius: 5px;
  font-size: 14px;
  font-weight: bold;
  text-align: center;
  margin: 0 auto 10px; /* Centers the alert */
  transition: opacity 0.3s ease-in-out;
}

/* Hide alert initially */
.d-none {
  display: none;
}

/* Success Alert */
.alert-success {
  background-color: #d4edda;
  color: #155724;
  border: 1px solid #c3e6cb;
}

/* Error Alert */
.alert-danger {
  background-color: #f8d7da;
  color: #721c24;
  border: 1px solid #f5c6cb;
}

/* Responsive Design */
@media (max-width: 768px) {
  .alert {
    font-size: 13px;
    padding: 10px;
  }
}

@media (max-width: 480px) {
  .alert {
    font-size: 12px;
    padding: 8px;
  }
}
