/* General Styling */
body {
  font-family: "Arial", sans-serif;
  margin: 0;
  padding: 0;
  background-color: #fef5f9;
  color: #333;
}

h2,
h3 {
  color: #ff3399;
}

ul,
li {
  color: #444;
}

/* Header */
.header {
  background-color: #ff3399;
  color: #fff;
  text-align: center;
  padding: 2rem;
  margin-bottom: 2rem;
}

.header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

.header p {
  font-size: 1.2rem;
}

/* Involvement Container */
.involvement-container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 1rem;
}

/* Why Partner Section */
.why-partner {
  margin-bottom: 2rem;
}

.why-partner ul {
  margin: 1rem 0;
  padding-left: 1.5rem;
}

.why-partner ul li {
  margin-bottom: 0.5rem;
  list-style: disc;
}

/* Ways to Get Involved */
.ways-involved {
  margin-bottom: 2rem;
}

.involvement-options {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
}

.option {
  background-color: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  padding: 1rem;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.option h3 {
  margin-top: 0;
}

.option p {
  margin-bottom: 0;
}

/* Contact Form */
.contact-us {
  text-align: center;
  margin-bottom: 2rem;
}

.contact-form {
  max-width: 600px;
  margin: 0 auto;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 8px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.contact-form .form-group {
  margin-bottom: 1rem;
  text-align: left;
}

.contact-form label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: bold;
}

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 0.5rem;
  border: 1px solid #ddd;
  border-radius: 4px;
}

.contact-form button {
  background-color: #ff3399;
  color: #fff;
  border: none;
  padding: 0.8rem 1.5rem;
  border-radius: 4px;
  cursor: pointer;
  transition: background-color 0.3s;
}

.contact-form button:hover {
  background-color: #e0729e;
}

/*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;
  }
}

/* Footer */
.footer {
  text-align: center;
  padding: 1rem;
  background-color: #ff3399;
  color: #fff;
}

/* Responsive Design */
@media (max-width: 768px) {
  /* Header adjustments */
  .header {
    padding: 1.5rem;
  }

  .header h1 {
    font-size: 2rem;
  }

  .header p {
    font-size: 1rem;
  }

  /* Involvement options adjustments */
  .involvement-options {
    grid-template-columns: 1fr;
  }

  /* Contact form adjustments */
  .contact-form {
    padding: 1rem;
  }

  .contact-form input,
  .contact-form textarea {
    padding: 0.3rem;
  }

  .contact-form button {
    padding: 0.7rem 1rem;
  }
}

@media (min-width: 1024px) {
  .header h1 {
    font-size: 3rem;
  }

  .header p {
    font-size: 1.3rem;
  }
}
