/* get-involved.css */

.get-involved-section {
  max-width: 1550px;
  margin: 0 auto;
  padding: 2.5rem 1.5rem;
  font-family: 'Open Sans', sans-serif;
}



.serif-text {
  color: #000;
font-family: 'Open Sans', sans-serif;
}

.text-center {
  text-align: center;
}

.mb-12 {
  margin-bottom: 3rem;
}



.mx-auto {
  margin-left: auto;
  margin-right: auto;
}

.alert-success {
  background-color: #d1fae5;
  color: #065f46;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
  text-align: center;
}

.alert-danger {
  background-color: #fee2e2;
  color: #991b1b;
  padding: 1rem 1.5rem;
  border-radius: 0.5rem;
  margin-bottom: 2rem;
  font-weight: 600;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
  border-bottom: 2px solid #c7d2fe;
  padding-bottom: 0.2rem;
  margin-bottom: 2rem;
  justify-content: center;
}

.tab-button {
  font-size: 1.125rem;
  font-weight: 600;
  color: #b71a34;
  background-color: #e0e7ff;
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  outline-offset: 4px;
}
.tabs.gap-2.mb-4 {
    max-width: 500px;
    margin: 0 auto;
}
.tab-button.active {
  background-color: #b71a34;
  color: #fff;
  box-shadow: 0 0 10px #b71a34;
}

.tab-button:hover:not(.active) {
  background-color: #c7d2fe;
}

.tab-content {
  display: none;
  animation: fadeIn 0.5s ease forwards;
  background-color: #fff;
  padding: 2.5rem;
  border-radius: 1.5rem;
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.25);
}

.tab-content.active {
  display: block;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.75rem;
  margin-bottom: 2rem;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="tel"],
textarea {
  width: 100%;
  padding: 0.85rem 1rem;
  border-radius: 12px;
  border: 1.5px solid #c7d2fe;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-family: "Open Sans", sans-serif;
  font-weight: 500;
  background-color: #f9fafb;
  transition: border 0.3s ease, box-shadow 0.3s ease;
}

input:focus,
textarea:focus {
  border-color: #b71a34;
  background: #fff;
  box-shadow: 2px 2px 7px rgba(0, 0, 0, 0.25);;
  outline: none;
}

label {
  font-weight: 600;
  display: block;
  margin-bottom: 0.4rem;
  color: #000;
  font-size: 1.125rem;
  line-height: 1.75rem;
  font-family: "Open Sans", sans-serif;
}


button[type="submit"]:hover {
  background-color: #9e1627;
  box-shadow: 0 0 10px #fff;
}

.btn-partner-submit {
  background-color: #fff;
}

.btn-partner-submit:hover {
  background-color: #9e1627;
}
.get-involved-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #ffff;
  border-radius: 10px;
  padding: 20px 10px;
  gap: 30px;
  flex-wrap: wrap;
  margin-top: 30px;
}

/* Left text section – made bigger */
.get-involved-text {
  flex: 0 0 70%; /* 70% width for content area */
}

.get-involved-text p {
  font-size: 1.1rem;
  color: #333;
  line-height: 1.7;
  margin: 0;
}

/* Alerts styling */
.alert {
  margin-top: 15px;
  padding: 10px 15px;
  border-radius: 6px;
}

.alert.success {
  background: #e7f9ed;
  color: #256b36;
}

.alert.error {
  background: #fdecea;
  color: #a94442;
}

/* Right button section – smaller and aligned */
.get-involved-btn {
  flex: 0 0 25%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.get-involved-btn a {
    background: #b71a34;
    color: #fff;
    padding: 10px 27px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: 400;
    font-size: 1rem;
    transition: 0.3s;
}

.get-involved-btn a:hover {
  background: #a0152c;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  .get-involved-container {
    flex-direction: column;
    text-align: center;
    padding: 25px;
  }

  .get-involved-text {
    flex: 1 1 100%;
  }

  .get-involved-btn {
    flex: 1 1 100%;
    margin-top: 20px;
  }

  .get-involved-btn a {
    width: 100%;
  }
}