/* ===== Brand theme (maroon & gold with white accents) ===== */
:root{
  --maroon: #7B1E23;
  --maroon-dark: #5A0E12;
  --gold: #CFAE2E;
  --gold-soft: #FFF6DA; /* soft section background */
  --ink: #1E1B1B;

  /* Hook into Bootstrap variables where possible */
  --bs-primary: var(--maroon);
  --bs-primary-rgb: 123,30,35;
  --bs-link-color: var(--maroon);
  --bs-link-hover-color: var(--maroon-dark);
}

/* Global link + button color */
a { color: var(--maroon); }
a:hover { color: var(--maroon-dark); }

/* Buttons */
.btn-primary{
  --bs-btn-bg: var(--maroon);
  --bs-btn-border-color: var(--maroon);
  --bs-btn-hover-bg: var(--maroon-dark);
  --bs-btn-hover-border-color: var(--maroon-dark);
  --bs-btn-focus-shadow-rgb: var(--bs-primary-rgb);
}
.btn-outline-primary{
  --bs-btn-color: var(--maroon);
  --bs-btn-border-color: var(--maroon);
  --bs-btn-hover-bg: var(--maroon);
  --bs-btn-hover-border-color: var(--maroon);
  --bs-btn-hover-color: #fff;
}

/* Utility accents */
.text-gold { color: var(--gold) !important; }
.bg-brand-soft { background-color: var(--gold-soft) !important; }

/* Section heading accent bar (gold underline) */
.section-title-accent{ position: relative; }
.section-title-accent::after{
  content:"";
  display:block;
  width:72px;
  height:4px;
  margin:.5rem auto 0;
  background: var(--gold);
  border-radius:4px;
}

/* Cards: subtle maroon top border & hover lift */
.card-accent{ border-top: 4px solid rgba(123,30,35,.15); }
.card-accent:hover{ transform: translateY(-3px); transition: transform .2s ease; }

/* Focus ring (gold for accessibility) */
:focus-visible{
  outline: 3px solid var(--gold);
  outline-offset: 2px;
}

/* Hero background + overlay */
.hero-bg{
  background-image: url('https://images.unsplash.com/photo-1523580846011-d3a5bc25702b?q=80&w=1600&auto=format&fit=crop');
  background-size: cover;
  background-position: center;
  min-height: 60vh;
}
@media (max-width: 575.98px){
  .hero-bg{ min-height: 70vh; }
}
.hero-overlay{
  /* stronger gradient for clear brand 
  background: linear-gradient(90deg, rgba(123,30,35,.78) 0%, rgba(207,174,46,.45) 100%);*/
}

/* ===== Footer (maroon, gold, white) ===== */
.site-footer{
  background: linear-gradient(135deg, #4C0D11 0%, var(--maroon) 60%);
  color: #fff;
}
.site-footer .brand-bar{
  height: 4px;
  background: linear-gradient(90deg, var(--gold), #ffffff);
}
.site-footer h2,
.site-footer h3{ color:#fff; }
.site-footer a{ color:#fff; text-decoration:none; }
.site-footer a:hover{ color: var(--gold); }
.site-footer .footer-hr{ border-color: rgba(255,255,255,.2); }






/* ---------- Global responsiveness helpers ---------- */
img, video { max-width: 100%; height: auto; }

/* Responsive type scale for hero + sections */
.hero-title { font-size: clamp(1.75rem, 2.4vw + 1rem, 3rem); line-height: 1.15; }
.hero-lead  { font-size: clamp(1rem, 1.1vw + .6rem, 1.375rem); }

/* Make section spacing scale by viewport size */
.section-pad { padding-block: clamp(2rem, 4vw, 4rem); }

/* Card polish on small screens */
.card .card-body { padding: clamp(1rem, 2.5vw, 1.25rem); }

/* News cards: ensure equal heights without overflow */
.card.h-100 { display: flex; flex-direction: column; }
.card.h-100 .card-img-top { aspect-ratio: 3 / 2; object-fit: cover; }

/* Testimonials: limit width and center on all sizes */
.testimonials-wrap { max-width: 920px; margin-inline: auto; }

/* Hero image container keeps full width and height relative to viewport */
.hero-wrap {
  margin-top: 0;               /* no gap above hero */
  position: relative;
  width: 100%;
  min-height: min(75vh, 760px);
  display: grid;
}

/* Hero image fills and crops from the top (so bottom is cut if needed) */
.hero-img {
  width: 100%; height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

/* Text overlay sits at the very top of the image on all devices */
.hero-overlay-content {
  position: absolute; inset: 0;
  display: grid; align-content: start; justify-items: center;
  padding-top: clamp(1rem, 6vw, 4rem);   /* spacing from top scales */
  padding-inline: 1rem;
  text-align: center;
}

/* Improve grid behavior for “Explore / Impact / News” sections */
@media (max-width: 575.98px) {
  .row.g-4 { --bs-gutter-x: 1rem; --bs-gutter-y: 1rem; }
}

/* Remove left accent line per your request */
.section-title-accent { border-left: none !important; padding-left: 0 !important; }

/* Navbar tweaks so it doesn't overlap the hero on small screens */
.site-header { position: relative; z-index: 3; }

/* Make breadcrumb and small text wrap better on tiny screens */
.breadcrumb { flex-wrap: wrap; row-gap: .25rem; }


