/* --------------------------------------------------------------
   Root Variables (Consolidated)
-------------------------------------------------------------- */
:root {
  /* Fonts */
  --default-font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue",
                   Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji",
                   "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";

  --heading-font: "Roboto", sans-serif;
  --nav-font: "Inter", sans-serif;

  /* Global Colors */
  --background-color: #ffffff;
  --default-color: #3d4348;
  --heading-color: #3e5055;
  --accent-color: #ff0000;
  --surface-color: #ffffff;
  --contrast-color: #ffffff;
  --raceway-color: #4169e1;

  /* Navigation Colors */
  --nav-color: #ffffff;
  --nav-hover-color: #ffffff;
  --nav-mobile-background-color: #ffffff;

  /* Behavior */
  scroll-behavior: smooth;
}

/* --------------------------------------------------------------
   Optional Theme Toggles
-------------------------------------------------------------- */
.light-background {
  --background-color: #f8fbfc;
  --surface-color: #ffffff;
}

.dark-background {
  --background-color: #060606;
  --default-color: #ffffff;
  --heading-color: #ffffff;
  --surface-color: #252525;
  --contrast-color: #ffffff;
}

/* --------------------------------------------------------------
   Body & Global Typography
-------------------------------------------------------------- */
body {
  color: var(--default-color);
  background-color: var(--background-color);
  font-family: var(--default-font);
  font-size: 17px;
  line-height: 1.4;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  color: var(--heading-color);
  font-family: var(--heading-font);
}

a {
  color: var(--accent-color);
  text-decoration: none;
  transition: 0.3s;
}

a:hover {
  color: color-mix(in srgb, var(--accent-color), transparent 25%);
  text-decoration: none;
}

/* --------------------------------------------------------------
   Footer
-------------------------------------------------------------- */
.footer {
  color: var(--default-color);
  background-color: var(--background-color);
  border-top: 1.5px solid red;
  font-size: 15px;
 
  position: relative;
  line-height: 1.6;
}

.footer .footer-top {
  padding-top: 35px;
}

/* ABOUT SECTION */

.footer .footer-about p {
  font-size: 15px;
  font-family: var(--default-font); /* unify font usage */
  font-weight: 500;
  margin-bottom: 0.75rem;
}

/* HEADINGS */

.footer h5 {
  font-size: 1.0625rem;
  color: #4169e1;
  font-weight: 600;
  padding-bottom: 8px;
  margin-bottom: 0.75rem;
  letter-spacing: 0.2px;
}

/* SOCIAL ICONS */

.footer .social-links a {
  width: 40px;
  height: 40px;
  display: flex;
  font-size: 16px;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  margin-right: 10px;
  transition: 0.3s;
  color: var(--accent-color);
  border: 1px solid var(--accent-color);
}

.footer .social-links a:hover {
  color: var(--accent-color);
  border-color: var(--accent-color);
}

/* LINKS */

.footer .footer-links ul {
  margin: 0;
  padding: 0;
  list-style: none;
}

.footer .footer-links ul li {
  padding: 8px 0;
  font-size: 15px;
}

.footer .footer-links ul li:first-child {
  padding-top: 0;
}

.footer .footer-links ul a {
  color: var(--default-color);
  font-family: var(--default-font);
  font-weight: 500;
  text-decoration: none;
}

.footer .footer-links ul a:hover {
  color: var(--accent-color);
}

/* CONTACT */

.footer .footer-contact p {
  margin-bottom: 6px;
  font-weight: 500;
}

.footer .footer-contact a {
  font-weight: 500;
}

/* COPYRIGHT */

.copyright-text {
  margin-top: 1rem;
  font-size: 14px;
  font-weight: 500;
  opacity: 0.9;
}

/* RESPONSIVENESS */

@media (min-width: 992px) {
  .footer .footer-top .row {
    display: flex;
    justify-content: space-between;
  }
}

@media (max-width: 991px) {
  .footer .footer-top .row {
    display: block;
  }

  .footer .footer-about,
  .footer .footer-links,
  .footer .footer-contact {
    margin-bottom: 30px;
    text-align: left;
  }
}



/* --------------------------------------------------------------
   Sections
-------------------------------------------------------------- */
section,
.section {
  color: var(--default-color);
  background-color: var(--background-color);
  scroll-margin-top: 100px;
 
}

#faq { scroll-margin-top: -5px; }

@media (max-width: 768px) {
  #volunteer { scroll-margin-top: -5px; }
}

/* --------------------------------------------------------------
   Section Titles
-------------------------------------------------------------- */
.section-title {
 padding: 30px 0 18px; /* reduce bottom padding from 30px → 10px */
  margin-bottom: 16px;  /* reduce bottom margin from 30px → 10px */
  position: relative;
}

/* Only the heading + ghosted span are constrained */
.section-title-inner {
  text-align: center;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.section-title-inner h2 {
  font-size: 32px;
  font-weight: 700;
  text-transform: uppercase;
  padding-bottom: 0;
  margin-bottom: 20px;
  position: relative;
  z-index: 2;
}

.section-title-inner span {
  color: color-mix(in srgb, var(--heading-color), transparent 95%);
  position: absolute;
  font-size: 52px;
  font-weight: 700;
  text-transform: uppercase;
  top: 4px;
  left: 0;
  right: 0;
  z-index: 1;
}

.section-title p {
  text-align: start;
  margin-bottom: 0;
  z-index: 2;
  position: relative;
  padding-left: 0.75rem;
  padding-right: 0.75rem;

}

@media (max-width: 575px) {
  .section-title-inner h2 { font-size: 28px; }
  .section-title-inner span { font-size: 38px; }
}
/* --------------------------------------------------------------
   Call To Action
-------------------------------------------------------------- */
#faith { scroll-margin-top: -5px; }

.call-to-action {
  padding: 48px 0;
  position: relative;
  clip-path: inset(0);
  overflow: hidden;
}

.call-to-action img {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  z-index: 1;
}

.call-to-action:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 2;
  background: color-mix(in srgb, var(--background-color), transparent 17%);
}

.call-to-action .container-fluid {
  width: 100vw;
  padding: 0;
  margin-left: calc(-50vw + 50%);
  z-index: 3;
  position: relative;
  overflow-x: hidden;
}

.call-to-action .container {
  position: relative;
  z-index: 4;
}

.call-to-action h3 {
  color: var(--default-color);
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 15px;
  text-align: center;
}

.call-to-action p {
  max-width: 1000px;
  margin: 0 auto 20px;
  padding: 0 15px;
  color: var(--default-color);
  line-height: 1.6;
  font-size: 16px;
}

.vol-info {
  max-width: 700px;
margin-top: 50px;
margin-right: auto;
margin-bottom: 50px;
margin-left: auto;

  text-align: center;
  font-size: 16px;
  border-radius: 8px;
}

/* CTA Responsiveness */
@media (max-width: 1200px) {
  .call-to-action h3 { font-size: 30px; }
  .call-to-action p { font-size: 17px; }
}

@media (max-width: 992px) {
  .call-to-action h3 { font-size: 28px; }
  .call-to-action p { font-size: 16px; }
}

@media (max-width: 768px) {
  .call-to-action { padding: 60px 0; }
  .call-to-action h3 { font-size: 26px; }
  .vol-info { margin: 40px auto; }
}

/* --------------------------------------------------------------
   About Section
-------------------------------------------------------------- */
.about .content .who-we-are {
  text-transform: uppercase;
  color: color-mix(in srgb, var(--default-color), transparent 40%);
}

.about .content h3 {
  font-size: 2rem;
  font-weight: 700;
}

@media (max-width: 576px) {
  .about .content h3 {
    font-size: 1.5rem;
    font-weight: 600;
  }
}

.about .content ul {
  padding: 0;
  list-style: none;
}

.about .content ul li {
  padding-bottom: 10px;
}

.about .content ul i {
  margin-right: 4px;
  font-size: 1.25rem;
  color: var(--accent-color);
}

.about .content p:last-child { margin-bottom: 0; }

.about .content .read-more {
  background: var(--accent-color);
  color: var(--contrast-color);
  font-family: var(--heading-font);
  font-weight: 500;
  font-size: 16px;
  letter-spacing: 1px;
  padding: 12px 24px;
  border-radius: 5px;
  transition: 0.3s;
  display: inline-flex;
  align-items: center;
}

.about .content .read-more i {
  margin-right: 7px;
  font-size: 18px;
  transition: 0.3s;
}

.about .content .read-more:hover {
  background: var(--accent-color);
}

.about .about-images img {
  border-radius: 10px;
}

/* --------------------------------------------------------------
   FAQ Section
-------------------------------------------------------------- */

/* FAQ Section Title */
.faq .section-title {
  padding-bottom: 20px;
}

/* Tabs container: acts like a simple underline nav */
.faq .nav-pills {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
  padding-bottom: 0;
  margin-bottom: 1rem;
  gap: 40px; /* replaces li + li margin hacks */
}

/* Remove Bootstrap pill behavior completely */
.faq .nav-pills .nav-link {
  border-radius: 0;
}

/* Each tab item */
.faq .nav-pills li {
  list-style: none;
}

/* Tab links – clean, no hacks */
.faq .nav-link {
  background: none;
  font-size: 18px;
  font-weight: 400;
  padding: 10px 0;
  color: var(--default-color);
  margin: 0;
  border: 0;
  border-bottom: 3px solid transparent; /* reserve space so nothing jumps */
}

/* Active tab – straight underline, no rounding, no background */
.faq .nav-link.active {
  color: var(--accent-color);
  border-bottom-color: var(--accent-color);
  background: none;
  border-radius: 0;
  box-shadow: none;
}

/* Accordion Items */
.accordion-item {
  border: 1px solid #ff4b5c;
  border-radius: 5px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.accordion-item + .accordion-item {
  border-top: 1px solid #ff4b5c;
}

.accordion-body {
  padding: 1rem;
  color: #333;
}

/* Accordion Buttons */
.accordion-button {
  background-color: #ffffff;
  color: #000;
  border: none;
  margin: 0;
  position: relative;
  transition: background-color 0.3s ease;
}

.accordion-button:hover,
.accordion-button:not(.collapsed) {
  background-color: #fff5f6;
}

.accordion-button:focus {
  box-shadow: none;
}

.accordion-button::after {
  color: #ff4b5c;
}
/* --------------------------------------------------------------
   Volunteer Section
-------------------------------------------------------------- */
.volunteer .volunteer-img {
  margin: 60px 0 0 60px;
  position: relative;
}

.volunteer .volunteer-img img {
  z-index: 2;
  width: auto;
  max-height: 400px;
  border-radius: 10px;
  object-fit: cover;
  position: relative;
}

@media (max-width: 575px) {
  .volunteer .volunteer-img { margin: 30px 0 0 30px; }
}

.volunteer h3 {
  font-size: 32px;
  font-weight: 300;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .volunteer h3 { font-size: 28px; }
}

.volunteer .nav-pills {
  border-bottom: 1px solid color-mix(in srgb, var(--default-color), transparent 85%);
}

.volunteer .nav-pills li + li { margin-left: 40px; }

.volunteer .nav-link {
  background: none;
  font-size: 18px;
  font-weight: 400;
  padding: 12px 0;
  margin-bottom: -2px;
  color: var(--default-color);
}

.volunteer .nav-link.active {
  color: var(--accent-color);
  border-bottom: 3px solid var(--accent-color);
}

@media (max-width: 575px) {
  .volunteer .nav-link { font-size: 16px; }
}

.volunteer .tab-content h4 {
  font-size: 18px;
  font-weight: 700;
}

.volunteer .tab-content i {
  margin-right: 8px;
  font-size: 22px;
  color: var(--accent-color);
}

/* --------------------------------------------------------------
   Client Logos
-------------------------------------------------------------- */
.client-text {
  font-weight: bold;
  color: var(--accent-color);
}

.client-logo-area .section-title-two {
  text-align: center;
  max-width: 550px;
  margin: 0 auto 50px;
}

.client-logo-area .section-title-two span {
  background: var(--primary);
  color: var(--contrast-color);
  display: inline-block;
  margin-bottom: 10px;
  padding: 5px 15px;
  border-radius: 4px;
  text-transform: capitalize;
}

.client-logo-area .section-title-two p {
  color: var(--dark-3);
  margin: -2.5rem 0 1.5rem;
}

@media (max-width: 767px) {
  .single-client { margin-bottom: 35px; }
}

/* --------------------------------------------------------------
   Donate Button (Fixed Vertical)
-------------------------------------------------------------- */
.donate-button {
  position: fixed;
  top: 50%;
  right: -50px;
  transform: translateY(-50%);
  writing-mode: vertical-rl;
  text-orientation: mixed;
  text-align: center;
  z-index: 50;
  color: var(--contrast-color);
  background: var(--accent-color);
  padding: 15px 10px;
  border-radius: 10px 0 0 10px;
  text-transform: uppercase;
  font-weight: bold;
  font-size: 15px;
  text-decoration: none;
  box-shadow: 0 4px 8px rgba(0,0,0,0.6);
  transition: right 0.4s ease-in-out;
}

.donate-button.visible { right: 0; }

.donate-button span {
  display: inline-block;
  transform: rotate(180deg);
  writing-mode: vertical-rl;
  letter-spacing: 1.5px;
}

.donate-button:hover,
.donate-button:focus,
.donate-button:active {
  background: var(--accent-color);
  color: var(--contrast-color);
}

/* --------------------------------------------------------------
   Utilities
-------------------------------------------------------------- */
.img-shadow {
  border-radius: 5px;
  box-shadow: 0 4px 8px rgba(0,0,0,0.5);
}

.white-link,
.white-link:hover,
.white-link:focus,
.white-link:active,
.white-link:visited {
  color: #fff !important;
  text-decoration: underline !important;
  text-underline-offset: 0.3em;
}

/* --------------------------------------------------------------
   Pill Buttons
-------------------------------------------------------------- */
.pill {
  display: inline-block;
  font-weight: 600;
  font-size: clamp(0.875rem, 2vw, 1rem);
  border-radius: 999px;
  padding: 0.5em 1.25em;
  line-height: 1.2;
  cursor: pointer;
  background: transparent;
  white-space: nowrap;
  text-decoration: none;
  opacity: 1 !important;
}

/* Home pill */
.pill-home,
.pill-home:hover,
.pill-home:focus,
.pill-home:active,
.pill-home:visited,
.pill-home:disabled {
  border: 1.6px solid #ff0000 !important;
  color: #ff0000 !important;
  background: transparent !important;
  margin-top: 1rem;
  margin-left: 16px;
}

/* Info pill */
.pill-info,
.pill-info:hover,
.pill-info:focus,
.pill-info:active,
.pill-info:visited,
.pill-info:disabled {
  border: 1.6px solid #ff0000 !important;
  color: #ff0000 !important;
  background: transparent !important;
  font-weight: 600;
  text-transform: uppercase;
}

/* White pill for dark backgrounds */
.pill-white,
.pill-white:hover,
.pill-white:focus,
.pill-white:active,
.pill-white:visited,
.pill-white:disabled {
  border: 1.6px solid #ffffff !important;
  color: #ffffff !important;
  background: transparent !important;
}

/* Small pill */
.pill-small,
.pill-small:hover,
.pill-small:focus,
.pill-small:active,
.pill-small:visited,
.pill-small:disabled {
  border: 1.6px solid #ff0000 !important;
  color: #ff0000 !important;
  background: transparent !important;
  padding: 0.5em 1.2em;
  font-weight: 600;
  margin-left: 16px;
  margin-top: 1rem;
  line-height: 1.3;
}

/* ------------------------------
   SAFARI CHECKBOX COMPAT FIX
   (added inside existing .form-check-input block)
------------------------------ */
.form-check-input {
    width: 1.03125em;
    height: 1.03125em;

    /* ADDED */
    -webkit-appearance: none;
    appearance: none;
}

/* ------------------------------
   MOBILE TAP DELAY FIX
   (placed after button + pill rules)
------------------------------ */
button,
.btn,
.pill {
    /* ADDED */
    touch-action: manipulation;
}
/* ------------------------------ */


/* ------------------------------
   iOS LONG-PRESS PREVENTION
------------------------------ */
img {
    /* ADDED */
    -webkit-touch-callout: none;
}

