:root {
  --primary-color: #00a4d8;
  --secondary-color: #2c3177;
  --accent-color: #d5227e;
}

body {
  font-family: 'Roboto', sans-serif;
  color: #333;
  background-color: #fff;
  padding-top: 55px;
  /* Adjust based on navbar height */
}

.hero-heading {
  font-weight: 800;
}

.hero-text {
  font-weight: 500;
}

/* Buttons */
.btn-primary {
  background-color: var(--primary-color);
  border-color: var(--primary-color);
}

.btn-primary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

.btn-accent {
  color: #fff !important;
  background-color: var(--accent-color); /* example accent color */
  border: 1px solid var(--accent-color);
  text-decoration: none;
  transition: all 0.3s ease;
}
.btn-accent:hover, .btn-accent:focus {
  background-color: #fff;
  color: var(--accent-color);
  border-color: var(--accent-color);
}

a.btn-accent:visited {
  color: #fff !important;
}


.btn-secondary {
  background-color: var(--secondary-color);
  border-color: var(--secondary-color);
}

.btn-secondary:hover {
  background-color: var(--accent-color);
  border-color: var(--accent-color);
}

/* Navbar */
.navbar {
  background-color: var(--secondary-color);
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
  /* subtle shadow */
  z-index: 1030;
  /* stay above content */
}

.nav-link {
  color: #2c3177 !important;
}

.nav-link:hover {
  color: #007caa;
  /* var(--primary-color) !important; */
}

/* Section Headings */
h1,
h2,
h3 {
  color: var(--secondary-color);
}

/* Donate Buttons */
.donate-btn {
  background-color: background-color: #00a4d9;
  border: none;
  color: #fff;
}

.donate-btn:hover {
  background-color: var(--primary-color);
  color: #fff;
}

/* Fallback */
.bg-primary-custom {
  background-color: var(--primary-color) !important;
}

.bg-secondary-custom {
  background-color: var(--secondary-color) !important;
}

.bg-accent-custom {
  background-color: var(--accent-color) !important;
}

section.bg-dark h2,
section.bg-dark h1,
section.bg-dark h3 {
  color: #ffffff !important;
}





html {
  scroll-behavior: smooth;
}

.sticky-bottom {
  position: sticky;
  bottom: 0;
  z-index: 1020;
}

.nav-link.active {
  font-weight: bold;
  color: #d5227e !important;
}



#donate input[type="text"] {
  padding: 0.5rem 1rem;
  border-radius: 5px;
  border: 1px solid #ccc;
}


.wpcf7-list-item {
  margin-right: 1rem;
}

.wpcf7-list-item-label {
  cursor: pointer;
}


.text-justify {
  text-align: justify;
}


:root {
  --navbar-height: 70px;
  /* adjust if needed */
}

section {
  scroll-margin-top: var(--navbar-height);
}



/* Fix spacing/alignment of one-third fields */
.wpforms-one-third {
  display: inline-block;
  width: 32%;
  margin-right: 2%;
  vertical-align: top;
  box-sizing: border-box;
}

/* Remove margin from last field in row */
.wpforms-one-third:nth-child(3n) {
  margin-right: 0;
}

/* Ensure 'first' field doesn't clear the row weirdly */
.wpforms-one-third.first {
  clear: none !important;
  margin-left: 0 !important;

}

.wpforms-one-third.middle {
  clear: none !important;
  margin-left: 0 !important;
}

.wpforms-one-third.last {
  clear: none !important;
  margin-left: 0 !important;
}

/* Responsive stacking on small screens */
@media (max-width: 767px) {
  .wpforms-one-third {
    width: 100% !important;
    margin-right: 0 !important;
    margin-bottom: 15px;
  }
}

.match-wpforms {
  width: 100%;
  padding: 8px 14px;
  font-size: 16px;
  line-height: 1.5;
  color: #333;
  background-color: #fff;
  border: 1px solid #ccc;
  border-radius: 3px;
  transition: border-color 0.2s ease-in-out, box-shadow 0.2s ease-in-out;
  box-sizing: border-box;
}

.match-wpforms:focus {
  border-color: #7e9abb;
  outline: none;
  box-shadow: 0 0 0 1px #7e9abb;
}

.accordion-body {
  text-align: justify;
}

.accordion-button {
  font-weight: bold;
  /* Make text bold */
  font-size: 1.25rem;
  /* Increase font size */
  line-height: 1.4;
  /* Better line height */
  color: #333333;
  /* Darker text for readability */
}



a {
  color: #2c3177;
  /* original link color */
  text-decoration: underline;
}

a:hover,
a:focus {
  color: #d5227e;
  /* hover color */
  text-decoration: none;
}

.bg-primary-custom {
  background-color: #00a4d8 !important;
}

#contact a {
  color: #ffffff;
  text-decoration: underline;
  transition: color 0.3s ease;
}

#contact a:hover {
  color: #f6f6f6;
  text-decoration: none;
}

#contact .text-white-50 {
  color: rgba(255, 255, 255, 0.5) !important;
}

#contact .fab {
  font-size: 1.25rem;
}

#contact .fab:hover {
  color: #f6f6f6;
}


#contact .fab {
  transition: transform 0.3s ease, color 0.3s ease;
}

#contact .fab:hover {
  transform: scale(1.2);
}
