:root {
  --primary: #c40001;
  --primary-dark: #a30001;
  --secondary: #000;
  --dark: #0f172a;
  --light: #f8fafc;
  --body-color: #000;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  font-family: "DM Sans", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  color: var(--body-color);
  background-color: #fff;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
  width: 100%;
  max-width: 100vw;
}

/* Prevent horizontal scroll on mobile */
iframe, video, embed, object {
  max-width: 100%;
}

/* Ensure long words/URLs wrap */
p, li, td, th, .text-break {
  word-wrap: break-word;
  overflow-wrap: break-word;
}

a {
  color: var(--primary);
  text-decoration: none;
}

a:hover { color: var(--primary-dark); }

img {
  max-width: 100%;
  height: auto;
}

/* Section spacing */
.section { padding: clamp(32px, 5vw, 56px) 0; }
.section-sm { padding: clamp(24px, 4vw, 40px) 0; }

.bg-soft { background-color: var(--light); }
.bg-dark-alt { background-color: #0c0c0c; }
.text-muted { color: var(--secondary) !important; }

/* Buttons */
.btn-primary {
  background-color: var(--primary);
  border-color: var(--primary);
  padding: 0.65rem 1.5rem;
  font-weight: 500;
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--primary-dark);
  border-color: var(--primary-dark);
}

.btn-outline-primary {
  color: var(--primary);
  border-color: var(--primary);
}

.btn-outline-primary:hover { background-color: var(--primary); border-color: var(--primary); color: #fff; }

/* Full hero wrapper */
.hero-wrapper {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  background-color: #1a1a1a;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  color: #fff;
}

/* Hero slider - 4 rotating background images */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-slider .carousel,
.hero-slider .carousel-inner,
.hero-slider .carousel-item {
  height: 100%;
  min-height: 100%;
}

.hero-slider .carousel-item {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.hero-slider-controls {
  position: absolute;
  inset: 0;
  z-index: 3;
  pointer-events: none;
}

.hero-slider-controls .carousel-control-prev,
.hero-slider-controls .carousel-control-next {
  pointer-events: auto;
}

.hero-slider-controls .carousel-control-prev,
.hero-slider-controls .carousel-control-next {
  width: 48px;
  height: 48px;
  top: 50%;
  transform: translateY(-50%);
  bottom: auto;
  opacity: 0.8;
  border-radius: 50%;
  background: rgba(0,0,0,0.3);
}

.hero-slider-controls .carousel-control-prev { left: 1rem; }
.hero-slider-controls .carousel-control-next { right: 1rem; }

@media (max-width: 575px) {
  .hero-slider-controls .carousel-control-prev,
  .hero-slider-controls .carousel-control-next { display: none; }
}

.hero-slider-controls .carousel-control-prev:hover,
.hero-slider-controls .carousel-control-next:hover { opacity: 1; background: rgba(0,0,0,0.5); }

/* Smooth fade transition for hero slider */
.hero-slider .carousel-fade .carousel-item {
  opacity: 0;
  transition: opacity 1.2s ease-in-out;
}
.hero-slider .carousel-fade .carousel-item.active {
  opacity: 1;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(0,0,0,0.3) 0%,
    rgba(0,0,0,0.4) 40%,
    rgba(0,0,0,0.75) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  min-height: 0;
  padding-top: 6rem; /* Space for fixed header */
}

.topbar-compact {
  font-size: 0.8rem;
  color: rgba(255,255,255,0.8);
  flex-shrink: 0;
}

.topbar-compact a:hover { color: #fff; }

/* Nav over hero */
.navbar-hero {
  padding: 1rem 0;
}

/* Nav – fixed. Home: transparent at top, solid when scrolled. Other pages: solid always */
.navbar-scroll {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0.75rem 0;
  background: rgba(0, 0, 0, 0.92);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: background 0.3s ease, backdrop-filter 0.3s ease;
}

/* Home page: transparent at top */
body.page-home .navbar-scroll:not(.navbar-scroll--scrolled) {
  background: transparent;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
}

.navbar-hero .container {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  justify-content: space-between;
}

.navbar-brand-hero {
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
}

.navbar-brand-hero:hover { opacity: 0.9; }

.navbar-brand-hero img {
  height: 70px;
  width: auto;
  object-fit: contain;
  border-radius: 6px;
}

@media (max-width: 575px) {
  .navbar-brand-hero img { height: 56px; }
}

.navbar-toggler-hero {
  display: flex;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  padding: 8px;
  cursor: pointer;
}

.navbar-toggler-hero span {
  width: 24px;
  height: 2px;
  background: #fff;
  border-radius: 1px;
}


.navbar-collapse-hero {
  width: 100%;
}

.navbar-nav-hero {
  list-style: none;
  margin: 0;
  padding: 1rem 0 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.navbar-nav-hero a {
  color: rgba(255,255,255,0.9);
  padding: 0.5rem 0;
  display: block;
}

.navbar-nav-hero a:hover { color: #fff; }

.btn-hero-cta,
.nav-cta-btn {
  background: var(--primary) !important;
  color: #fff !important;
  padding: 0.5rem 1rem !important;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  white-space: nowrap;
}

.btn-hero-cta:hover,
.nav-cta-btn:hover { background: var(--primary-dark) !important; color: #fff !important; }

/* Mobile: logo | button | toggler. Button visible after logo, not in menu. */
@media (max-width: 991px) {
  .navbar-brand-hero { order: 1; }
  .nav-cta-btn { order: 2; margin-left: auto; margin-right: 0.5rem; }
  .navbar-toggler-hero { order: 3; }
  .navbar-collapse-hero {
    order: 4;
    flex-basis: 100%;
    margin-left: 0;
  }
}

@media (min-width: 992px) {
  .navbar-toggler-hero { display: none; }
  .navbar-collapse-hero {
    display: flex !important;
    width: auto;
    padding: 0;
    margin-left: 3rem;
    order: 2;
  }
  .nav-cta-btn { order: 3; margin-left: auto; }
  .navbar-nav-hero {
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    padding: 0;
  }
  .navbar-nav-hero a { padding: 0.25rem 0; }
}

/* Hero body */
.hero-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 0 4rem;
  min-height: 0;
  width: 100%;
}

.hero-body .container {
  text-align: center;
}

.hero-inner {
  max-width: 680px;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}

.hero-tagline {
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1rem;
  font-weight: 500;
}

.hero-title {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 700;
  line-height: 1.15;
  margin-bottom: 1.25rem;
  color: #fff;
  letter-spacing: -0.02em;
}

.hero-subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  line-height: 1.6;
  color: rgba(255,255,255,0.9);
  margin-bottom: 1.75rem;
  max-width: 520px;
  margin-left: auto;
  margin-right: auto;
}

/* Hero blocks (Restless-style alternating sections) */
.hero-block {
  min-height: 70vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
  padding: clamp(32px, 5vw, 56px) 0;
}

.hero-block::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(0,0,0,0.75) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-block .container { position: relative; z-index: 2; }
.hero-block h2 { font-size: clamp(1.75rem, 4vw, 2.5rem); color: #fff; font-weight: 700; }
.hero-block p { color: rgba(255,255,255,0.9); font-size: 1.1rem; }

/* Page hero (inner pages) */
.page-hero {
  min-height: 50vh;
  display: flex;
  align-items: center;
  background-size: cover;
  background-position: center;
  position: relative;
}

.page-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0.5), rgba(0,0,0,0.7));
}

.page-hero .container { position: relative; z-index: 2; color: #fff; }
.page-hero h1 { font-size: clamp(1.75rem, 4vw, 2.5rem); font-weight: 700; }

/* Cards */
.pill-card,
.info-card {
  border-radius: 16px;
  padding: clamp(24px, 4vw, 32px);
  height: 100%;
  background: #fff;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  transition: box-shadow 0.2s, transform 0.2s;
}

.pill-card:hover,
.info-card:hover {
  box-shadow: 0 12px 40px rgba(0,0,0,0.08);
}

.pill-icon,
.info-card .icon-circle {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(196, 0, 1, 0.1);
  color: var(--primary);
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.stat-card {
  border-radius: 16px;
  padding: 1.5rem;
  background: #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.04);
  text-align: center;
}

/* Floating counter widget - overlaps hero and next section */
.counter-widget {
  position: relative;
  z-index: 10;
  margin-top: -70px;
  margin-bottom: -30px;
  padding: 1.5rem 0;
}

.counter-widget .container {
  background: var(--primary);
  border-radius: 16px;
  padding: 1.5rem 2rem;
  box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

.counter-item {
  text-align: center;
  color: #fff;
}

.counter-num {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 0.25rem;
  color: #fff;
}

.counter-label {
  font-size: 0.85rem;
  opacity: 0.95;
  margin: 0;
  color: rgba(255,255,255,0.95);
}

.section-after-counter {
  padding-top: 2.5rem;
}

@media (max-width: 767px) {
  .counter-widget { margin-top: -50px; }
  .counter-widget .container { padding: 1.25rem 1rem; }
  .counter-num { font-size: 1.5rem; }
}

.image-card img {
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(0,0,0,0.1);
}

/* Who we are - 4-photo slider */
/* Who We Are – premium section */
.who-section {
  padding: clamp(48px, 8vw, 80px) 0;
  background: linear-gradient(180deg, var(--light) 0%, #fff 50%, rgba(196, 0, 1, 0.03) 100%);
}

.who-section__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: center;
}

@media (min-width: 992px) {
  .who-section__grid {
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
  }
}

.who-section__badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.25rem;
}

.who-section__title {
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  color: var(--dark);
  line-height: 1.15;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
}

.who-section__text {
  font-size: 1.1rem;
  color: var(--secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  max-width: 520px;
}

.who-section__meta {
  display: flex;
  align-items: baseline;
  gap: 0.5rem;
  margin-bottom: 2rem;
}

.who-section__year {
  font-size: 2.5rem;
  font-weight: 800;
  color: var(--primary);
  line-height: 1;
}

.who-section__label {
  font-size: 0.9rem;
  color: var(--secondary);
  font-weight: 500;
}

.who-section__cta {
  box-shadow: 0 8px 24px rgba(196, 0, 1, 0.3);
}

.who-section__cta:hover {
  box-shadow: 0 12px 32px rgba(196, 0, 1, 0.4);
}

/* Bento-style image grid */
.who-section__images {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: auto auto;
  gap: 1rem;
  max-width: 560px;
  margin-left: auto;
}

.who-section__img {
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.12);
  position: relative;
}

.who-section__img::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.2);
  pointer-events: none;
}

.who-section__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.who-section__img:hover img {
  transform: scale(1.05);
}

.who-section__img--main {
  grid-column: 1 / -1;
  aspect-ratio: 16/9;
}

.who-section__img--secondary,
.who-section__img--tertiary {
  aspect-ratio: 4/3;
}

@media (max-width: 991px) {
  .who-section__images {
    margin-left: 0;
    max-width: 100%;
  }
}

/* Badge */
.badge-soft {
  display: inline-block;
  background: rgba(196, 0, 1, 0.12);
  color: var(--primary);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.8rem;
}

/* Section headings */
.section-head {
  text-align: center;
  max-width: 640px;
  margin: 0 auto 1.75rem;
}

.section-head h2 { font-weight: 700; color: var(--dark); }
.section-head p { color: var(--secondary); }

/* Focus card (Restless-style) */
.focus-card {
  background: #fff;
  border-radius: 16px;
  padding: 2rem;
  height: 100%;
  border: 1px solid #e2e8f0;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.focus-card:hover {
  border-color: rgba(196, 0, 1, 0.3);
  box-shadow: 0 8px 30px rgba(0,0,0,0.06);
}

.focus-card h4 { font-weight: 600; color: var(--dark); }
.focus-card h5 { font-size: 0.95rem; color: var(--secondary); font-weight: 500; }

/* Our Pillars page – premium cards with images */
.pillars-section {
  padding: clamp(48px, 8vw, 80px) 0;
}

.pillars-head__badge {
  display: inline-block;
  background: rgba(196, 0, 1, 0.12);
  color: var(--primary);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.pillars-head__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  letter-spacing: -0.02em;
}

.pillars-head__lead {
  font-size: 1.1rem;
  color: var(--secondary);
  max-width: 560px;
  margin: 0 auto;
  line-height: 1.65;
}

.pillars-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 992px) {
  .pillars-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
}

.pillar-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.12);
}

.pillar-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.pillar-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.pillar-card:hover .pillar-card__img img {
  transform: scale(1.06);
}

.pillar-card__body {
  padding: 1.75rem 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.pillar-card__label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.pillar-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.35rem;
}

.pillar-card__subtitle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--secondary);
  margin-bottom: 1rem;
  opacity: 0.9;
}

.pillar-card__text {
  font-size: 0.95rem;
  color: var(--secondary);
  line-height: 1.65;
  margin-bottom: 1.25rem;
  flex: 1;
}

.pillar-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--secondary);
}

.pillar-card__list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.5rem;
  line-height: 1.5;
}

.pillar-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

/* Pillar card variants */
.pillar-card--border {
  border-top: 5px solid var(--secondary);
}

.pillar-card--secondary .pillar-card__body {
  background: var(--secondary);
}

.pillar-card--secondary .pillar-card__label,
.pillar-card--secondary .pillar-card__title,
.pillar-card--secondary .pillar-card__subtitle,
.pillar-card--secondary .pillar-card__text,
.pillar-card--secondary .pillar-card__list {
  color: #fff !important;
}

.pillar-card--secondary .pillar-card__text,
.pillar-card--secondary .pillar-card__list {
  opacity: 0.9;
}

.pillar-card--secondary .pillar-card__list li::before {
  background: var(--primary);
}

.pillar-card--primary .pillar-card__body {
  background: var(--primary);
}

.pillar-card--primary .pillar-card__label,
.pillar-card--primary .pillar-card__title,
.pillar-card--primary .pillar-card__subtitle,
.pillar-card--primary .pillar-card__text,
.pillar-card--primary .pillar-card__list {
  color: #fff !important;
}

.pillar-card--primary .pillar-card__text,
.pillar-card--primary .pillar-card__list {
  opacity: 0.95;
}

.pillar-card--primary .pillar-card__list li::before {
  background: #fff;
}

/* Integrated Impact – 3 photos + content */
.integrated-wrap {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  align-items: center;
}

@media (min-width: 992px) {
  .integrated-wrap {
    flex-direction: row;
    align-items: center;
    gap: 3rem;
  }
}

.integrated-photos {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.75rem;
  width: 100%;
  max-width: 420px;
}

@media (min-width: 992px) {
  .integrated-photos {
    flex-shrink: 0;
    max-width: 380px;
  }
}

/* 2 on top, 1 centered below */
.integrated-photos--stack {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  max-width: 420px;
}

.integrated-photos__row--top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.integrated-photos__row--center {
  display: flex;
  justify-content: center;
  padding: 0 15%;
}

.integrated-photos__row--center .integrated-photos__img {
  max-width: 100%;
  flex: 0 1 auto;
}

.integrated-photos__img {
  border-radius: 14px;
  overflow: hidden;
  aspect-ratio: 1;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.integrated-photos__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.integrated-photos__img:hover img {
  transform: scale(1.08);
}

.integrated-content {
  flex: 1;
  min-width: 0;
}

/* Signature Programs page – premium cards */
.sig-prog-section {
  padding: clamp(48px, 8vw, 72px) 0;
}

.sig-prog-card {
  border-radius: 20px;
  padding: 2.5rem 2.25rem;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  overflow: hidden;
  position: relative;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  text-align: center;
}

.sig-prog-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: var(--primary);
}

.sig-prog-card:hover {
  transform: translateY(-8px);
}

.sig-prog-card__title {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 1.25rem;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.sig-prog-card__text {
  font-size: 1.05rem;
  line-height: 1.7;
  margin-bottom: 1.5rem;
}

.sig-prog-card__list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.95rem;
  display: inline-block;
  text-align: left;
}

.sig-prog-card__list li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.65rem;
  line-height: 1.55;
}

.sig-prog-card__list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

/* Card 1: white with black top accent + border */
.sig-prog-card--border {
  background-color: #fff !important;
  border: 1px solid #e2e8f0;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.1);
}

.sig-prog-card--border::before {
  background: #000;
}

.sig-prog-card--border .sig-prog-card__title {
  color: var(--dark) !important;
}

.sig-prog-card--border .sig-prog-card__text,
.sig-prog-card--border .sig-prog-card__list {
  color: var(--secondary) !important;
}

.sig-prog-card--border .sig-prog-card__list li::before {
  background: var(--primary);
}

.sig-prog-card--border:hover {
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.15);
}

/* Card 2: black background */
.sig-prog-card--secondary {
  background-color: #000 !important;
  border: none;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.3);
}

.sig-prog-card--secondary::before {
  background: var(--primary);
}

.sig-prog-card--secondary .sig-prog-card__title,
.sig-prog-card--secondary .sig-prog-card__text,
.sig-prog-card--secondary .sig-prog-card__list {
  color: #fff !important;
}

.sig-prog-card--secondary .sig-prog-card__text,
.sig-prog-card--secondary .sig-prog-card__list {
  opacity: 0.92;
}

.sig-prog-card--secondary .sig-prog-card__list li::before {
  background: var(--primary);
}

.sig-prog-card--secondary:hover {
  box-shadow: 0 28px 64px rgba(0, 0, 0, 0.45);
}

/* Card 3: primary red background */
.sig-prog-card--primary {
  background-color: var(--primary) !important;
  border: none;
  box-shadow: 0 16px 48px rgba(196, 0, 1, 0.35);
}

.sig-prog-card--primary::before {
  background: #000;
}

.sig-prog-card--primary .sig-prog-card__title,
.sig-prog-card--primary .sig-prog-card__text,
.sig-prog-card--primary .sig-prog-card__list {
  color: #fff !important;
}

.sig-prog-card--primary .sig-prog-card__text,
.sig-prog-card--primary .sig-prog-card__list {
  opacity: 0.96;
}

.sig-prog-card--primary .sig-prog-card__list li::before {
  background: #fff;
}

.sig-prog-card--primary:hover {
  box-shadow: 0 28px 64px rgba(196, 0, 1, 0.45);
}

/* Partnership cards – image-top design */
.partnerships-section {
  padding: clamp(48px, 8vw, 72px) 0;
}

.partner-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.partner-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(0, 0, 0, 0.12);
}

.partner-card__img {
  aspect-ratio: 4 / 3;
  overflow: hidden;
}

.partner-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.partner-card:hover .partner-card__img img {
  transform: scale(1.06);
}

.partner-card__body {
  padding: 1.75rem 1.75rem 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.partner-card__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.partner-card__text {
  font-size: 0.95rem;
  line-height: 1.65;
  color: var(--secondary);
  margin: 0;
}

/* Card 1: white with black top border */
.partner-card--border {
  border-top: 6px solid var(--secondary);
}

/* Card 2: black background */
.partner-card--secondary .partner-card__body {
  background: var(--secondary);
}

.partner-card--secondary .partner-card__title {
  color: #fff !important;
}

.partner-card--secondary .partner-card__text {
  color: rgba(255, 255, 255, 0.9) !important;
}

/* Card 3: primary background */
.partner-card--primary .partner-card__body {
  background: var(--primary);
}

.partner-card--primary .partner-card__title {
  color: #fff !important;
}

.partner-card--primary .partner-card__text {
  color: rgba(255, 255, 255, 0.95) !important;
}

/* News & Updates page */
.news-section {
  padding: clamp(48px, 8vw, 72px) 0;
}

.news-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .news-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 992px) {
  .news-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

.news-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  border-top: 4px solid var(--primary);
}

.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.news-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .news-card__img img {
  transform: scale(1.05);
}

.news-card__body {
  padding: 1.5rem 1.75rem 2rem;
  flex: 1;
}

.news-card__date {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.5rem;
}

.news-card__title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.news-card__excerpt {
  font-size: 0.95rem;
  color: var(--secondary);
  line-height: 1.6;
  margin-bottom: 0.75rem;
}

.news-card__toggle {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--primary);
  text-decoration: none;
}

.news-card__toggle:hover {
  color: var(--primary-dark);
}

.news-card__content {
  font-size: 0.95rem;
  color: var(--secondary);
  line-height: 1.65;
}

/* Contact page cards */
.contact-section {
  padding: clamp(48px, 8vw, 72px) 0;
}

.contact-card {
  display: flex;
  flex-direction: column;
  border-radius: 20px;
  overflow: hidden;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.35s ease, box-shadow 0.35s ease;
  height: 100%;
}

.contact-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.12);
}

.contact-card__img {
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.contact-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.contact-card:hover .contact-card__img img {
  transform: scale(1.04);
}

.contact-card__body {
  padding: 1.75rem 1.75rem 2rem;
  flex: 1;
}

.contact-card__title {
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.25rem;
}

.contact-card__address {
  font-size: 0.95rem;
  color: var(--secondary);
  margin-bottom: 0.5rem;
}

.contact-card__contact {
  font-size: 0.95rem;
  margin-bottom: 0.5rem;
}

.contact-card__contact a {
  color: var(--primary);
}

.contact-card__contact a:hover {
  color: var(--primary-dark);
}

.contact-card__map {
  margin-top: 1.5rem;
  border-radius: 12px;
}

/* Office card: white with black top border */
.contact-card--office {
  border-top: 6px solid var(--secondary);
}

/* Form card: primary left border */
.contact-card--form {
  border-left: 6px solid var(--primary);
}

.contact-card--form .contact-card__body {
  padding: 2rem 2rem 2.25rem;
}

.contact-card--form .contact-card__title {
  margin-bottom: 1.5rem;
}

/* Partnership modal */
.partnership-modal .modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.2);
}

.partnership-modal .modal-header {
  border-bottom: 1px solid #e2e8f0;
  padding: 1.5rem 1.75rem;
}

.partnership-modal .modal-body {
  padding: 1.75rem 1.75rem 2rem;
}

.partnership-modal .btn-close {
  font-size: 0.75rem;
}

/* Mission & Vision cards */
.mission-vision-card {
  border-top: 4px solid var(--primary);
  border-bottom: 4px solid var(--secondary);
  border-radius: 16px;
}

/* Media cards – image-top design */
.media-card {
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: none;
}

.media-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 20px 50px rgba(196, 0, 1, 0.12);
}

.media-card__img {
  aspect-ratio: 4/3;
  overflow: hidden;
  position: relative;
}

.media-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.media-card:hover .media-card__img img {
  transform: scale(1.08);
}

.media-card__img::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 60%;
  background: linear-gradient(to top, rgba(0,0,0,0.4), transparent);
  pointer-events: none;
}

.media-card__body {
  padding: 1.5rem 1.75rem;
}

.media-card__body h3 {
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 0.5rem;
}

/* Media card variants */
.media-card--primary-border {
  border-bottom: 4px solid var(--primary);
}

.media-card--secondary-border {
  border-bottom: 4px solid var(--secondary);
}

.media-card--secondary-bg {
  background-color: #000;
}

.media-card--secondary-bg .media-card__body,
.media-card--secondary-bg .media-card__meta {
  color: #fff !important;
}

.media-card--secondary-bg .media-card__body h3,
.media-card--secondary-bg .media-card__body .fw-medium {
  color: rgba(255, 255, 255, 0.95) !important;
}

.media-card--secondary-bg .media-card__body .text-muted {
  color: rgba(255, 255, 255, 0.85) !important;
}

.media-card--secondary-bg .btn-outline-primary {
  border-color: #fff;
  color: #fff;
}

.media-card--secondary-bg .btn-outline-primary:hover {
  background-color: #fff;
  color: #000;
  border-color: #fff;
}

.media-card--primary-bg {
  background-color: var(--primary);
}

.media-card--primary-bg .media-card__body,
.media-card--primary-bg .media-card__meta {
  color: #fff !important;
}

.media-card--primary-bg .media-card__body h3,
.media-card--primary-bg .media-card__body .fw-medium {
  color: rgba(255, 255, 255, 0.95) !important;
}

.media-card--primary-bg .media-card__body .text-muted {
  color: rgba(255, 255, 255, 0.9) !important;
}

.media-card--primary-bg .btn-outline-primary {
  border-color: #fff;
  color: #fff;
}

.media-card--primary-bg .btn-outline-primary:hover {
  background-color: #fff;
  color: var(--primary);
  border-color: #fff;
}

.media-card__body .media-card__meta {
  font-size: 0.8rem;
  color: var(--primary);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-bottom: 0.75rem;
}

/* Mission/vision media cards – image strip at top */
.mv-media-card {
  border-radius: 20px;
  overflow: hidden;
  height: 100%;
  background: #fff;
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mv-media-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 16px 40px rgba(196, 0, 1, 0.1);
}

.mv-media-card__img {
  height: 140px;
  overflow: hidden;
}

.mv-media-card__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.mv-media-card:hover .mv-media-card__img img {
  transform: scale(1.05);
}

.mv-media-card__body {
  padding: 1.75rem;
}

.mv-media-card__body h4 {
  color: var(--dark);
  font-weight: 600;
  margin-bottom: 0.75rem;
}

/* Legacy media cards – image accent */
/* Join Us – minimal text cards */
.join-card {
  padding: 2rem;
  border-radius: 16px;
  border: none;
  height: 100%;
  transition: box-shadow 0.3s;
}

.join-card:hover {
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.join-card--white {
  background: #fff;
  border: 1px solid #e2e8f0;
}

.join-card--white .join-card__title { color: var(--dark); }
.join-card--white .join-card__text { color: var(--secondary); }

.join-card--primary {
  background: var(--primary);
  color: #fff;
}

.join-card--primary .join-card__title { color: #fff; }
.join-card--primary .join-card__text { color: rgba(255, 255, 255, 0.9); }

.join-card--secondary {
  background: #000;
  color: #fff;
}

.join-card--secondary .join-card__title { color: #fff; }
.join-card--secondary .join-card__text { color: rgba(255, 255, 255, 0.85); }

.join-card__title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.75rem;
}

.join-card__text {
  font-size: 0.95rem;
  margin: 0;
  line-height: 1.6;
}

/* Signature program cards – new design */
.sig-card {
  display: flex;
  flex-direction: column;
  height: 100%;
  background: #fff;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  position: relative;
}

.sig-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 24px 56px rgba(196, 0, 1, 0.15);
}

.sig-card__img-wrap {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
}

.sig-card__img-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
}

.sig-card:hover .sig-card__img-wrap img {
  transform: scale(1.1);
}

.sig-card__badge {
  position: absolute;
  top: 1rem;
  left: 1rem;
  background: var(--primary);
  color: #fff;
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  padding: 0.4rem 0.85rem;
  border-radius: 6px;
}

.sig-card--secondary-border .sig-card__badge {
  background: #000;
}

.sig-card__body {
  padding: 1.5rem 1.75rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.sig-card__body h3 {
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--dark);
  margin-bottom: 0.5rem;
}

.sig-card__body p {
  margin-bottom: 1rem;
}

.sig-card__detail-list {
  list-style: none;
  padding: 0;
  margin: 0;
  font-size: 0.9rem;
  color: var(--secondary);
}

.sig-card__detail-list li {
  position: relative;
  padding-left: 1.25rem;
  margin-bottom: 0.4rem;
  line-height: 1.5;
}

.sig-card__detail-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0.5em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--primary);
}

.sig-card__link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-weight: 600;
  font-size: 0.9rem;
  color: var(--primary);
  text-decoration: none;
  transition: gap 0.2s ease;
}

.sig-card__link:hover {
  color: var(--primary-dark);
  gap: 0.75rem;
}

.sig-card__link::after {
  content: '→';
}

/* Sig card border variants */
.sig-card--primary-border {
  border-left: 5px solid var(--primary);
}

.sig-card--secondary-border {
  border-left: 5px solid #000;
}

/* Community voices with image */
.voices-media {
  display: flex;
  gap: 2rem;
  align-items: stretch;
  flex-wrap: wrap;
}

.voices-media__img {
  flex: 0 0 200px;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0,0,0,0.12);
}

.voices-media__img img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
}

.voices-media .testimonial-block {
  flex: 1;
  min-width: 280px;
}

@media (max-width: 767px) {
  .voices-media { flex-direction: column; align-items: center; }
  .voices-media__img { flex: 0 0 auto; max-width: 180px; }
}

/* Challenge card */
.challenge-card {
  padding: 1.5rem;
  background: #fff;
  border-radius: 12px;
  border-left: 4px solid var(--primary);
  height: 100%;
}

.challenge-card h6 { font-size: 0.85rem; color: var(--primary); font-weight: 600; text-transform: uppercase; letter-spacing: 0.05em; }

/* Forge a Legacy section */
.forge-legacy {
  background: linear-gradient(180deg, rgba(196, 0, 1, 0.03) 0%, var(--light) 50%, #fff 100%);
}

.forge-legacy .section-head .lead {
  font-size: 1.1rem;
  color: var(--secondary);
  max-width: 640px;
  margin: 0 auto;
}

.legacy-card {
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  padding: 2rem 1.75rem;
  height: 100%;
  border: none;
  border-top: 4px solid var(--primary);
  box-shadow: 0 4px 24px rgba(0,0,0,0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.legacy-card::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(160deg, rgba(196, 0, 1, 0.04) 0%, transparent 50%);
  border-radius: inherit;
  pointer-events: none;
}

.legacy-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 48px rgba(196, 0, 1, 0.12);
  border-top-color: var(--primary-dark);
}

.legacy-card__icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  font-weight: 700;
  font-size: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 1;
}

.legacy-card:hover .legacy-card__icon {
  background: var(--primary-dark);
}

.legacy-card h3,
.legacy-card p { position: relative; z-index: 1; }
.legacy-card h3 { color: var(--dark); margin-bottom: 0.75rem; }

/* Testimonial */
.testimonial-block {
  background: var(--light);
  border-radius: 16px;
  padding: 2.5rem;
  border-left: 4px solid var(--primary);
}

.testimonial-block blockquote {
  font-size: 1.2rem;
  font-style: italic;
  color: var(--dark);
  margin: 0 0 1rem;
}

.testimonial-block cite { color: var(--secondary); font-style: normal; }

/* CTA strip */
.cta-strip {
  background: var(--dark);
  color: #fff;
  padding: clamp(2rem, 5vw, 3rem);
  border-radius: 16px;
  position: relative;
}

.cta-strip--with-bg {
  background-size: cover;
  background-position: center;
}

.cta-strip--with-bg::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(15, 23, 42, 0.92) 0%, rgba(15, 23, 42, 0.75) 100%);
  border-radius: inherit;
  z-index: 0;
}

.cta-strip--with-bg .row { position: relative; z-index: 1; }

.cta-strip h3 { color: #fff; font-weight: 600; }

/* Footer */
.footer-links a {
  color: rgba(255,255,255,0.8);
  display: block;
  margin-bottom: 0.5rem;
}

.footer-links a:hover { color: #fff; }

/* Form */
.form-control:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 0.2rem rgba(196, 0, 1, 0.15);
}

/* ========== About Page ========== */

/* Who We Are – About page */
.about-who {
  padding: clamp(56px, 10vw, 88px) 0;
  background: #fff;
}

.about-who__wrap {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  align-items: start;
}

@media (min-width: 992px) {
  .about-who__wrap {
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
  }
}

.about-who__badge {
  display: inline-block;
  padding: 0.35rem 0.9rem;
  border: 2px solid var(--primary);
  color: var(--primary);
  font-weight: 700;
  font-size: 0.7rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.about-who__title {
  font-size: clamp(1.75rem, 3.5vw, 2.5rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
  line-height: 1.25;
}

.about-who__lead {
  font-size: 1.15rem;
  line-height: 1.75;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.about-who__main p {
  font-size: 1.05rem;
  line-height: 1.75;
  color: var(--secondary);
  margin-bottom: 1.25rem;
}

.about-who__quote {
  margin: 1.75rem 0;
  padding: 1.5rem 1.75rem;
  border-top: 3px solid var(--primary);
  border-bottom: 3px solid var(--primary);
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  font-style: italic;
}

/* Image column – vertical stack */
.about-who__imgs {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.about-who__img {
  border-radius: 8px;
  overflow: hidden;
}

.about-who__img--1 {
  aspect-ratio: 16/10;
}

.about-who__img--2 {
  aspect-ratio: 16/9;
}

.about-who__img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

@media (min-width: 768px) and (max-width: 991px) {
  .about-who__imgs {
    flex-direction: row;
    flex-wrap: wrap;
  }

  .about-who__img--1 {
    width: 100%;
  }

  .about-who__img--2 {
    flex: 1;
    min-width: 200px;
  }
}

/* Vision & Mission */
.about-vm {
  padding: clamp(48px, 8vw, 72px) 0;
  background: var(--light);
}

.about-vm__grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2rem;
}

@media (min-width: 768px) {
  .about-vm__grid {
    grid-template-columns: 1fr 1fr;
  }
}

.about-vm__card {
  position: relative;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  min-height: 100%;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.about-vm__card:hover {
  transform: translateY(-4px);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.1);
}

.about-vm__card-accent {
  height: 6px;
  width: 100%;
}

.about-vm__card--vision .about-vm__card-accent {
  background: linear-gradient(90deg, var(--primary) 0%, var(--primary-dark) 100%);
}

.about-vm__card--mission .about-vm__card-accent {
  background: linear-gradient(90deg, var(--dark) 0%, #1e293b 100%);
}

.about-vm__card-body {
  padding: 2rem 2.25rem;
}

.about-vm__card-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
}

.about-vm__card-text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--secondary);
  margin: 0;
}

/* Theory of Change */
.about-toc {
  padding: clamp(48px, 8vw, 80px) 0;
}

.about-toc__header {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  margin-bottom: 3rem;
}

@media (min-width: 768px) {
  .about-toc__header {
    flex-direction: row;
    align-items: flex-start;
    gap: 2rem;
    max-width: 100%;
  }
}

.about-toc__header-img {
  flex-shrink: 0;
  width: 100%;
  max-width: 320px;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.about-toc__header-img img {
  display: block;
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.about-toc__header-text {
  flex: 1;
  min-width: 0;
}

@media (min-width: 768px) {
  .about-toc__header-text {
    flex: 1 1 65%;
    max-width: none;
  }
}

.about-toc__badge {
  display: inline-block;
  background: rgba(196, 0, 1, 0.12);
  color: var(--primary);
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.8rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.about-toc__title {
  font-size: clamp(2rem, 4vw, 2.75rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1rem;
  letter-spacing: -0.02em;
}

.about-toc__intro {
  font-size: 1.15rem;
  color: var(--secondary);
  line-height: 1.7;
  margin: 0;
}

/* Flow design – horizontal steps with connecting line */
.about-toc__flow {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin-bottom: 2.5rem;
}

@media (min-width: 768px) {
  .about-toc__flow {
    flex-direction: row;
    align-items: stretch;
    gap: 0;
  }
}

.about-toc__step {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  flex: 1;
  position: relative;
}

@media (min-width: 768px) {
  .about-toc__step {
    flex-direction: column;
  }
}

.about-toc__node {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--primary);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  font-weight: 800;
  flex-shrink: 0;
  margin-bottom: 1.25rem;
  box-shadow: 0 8px 24px rgba(196, 0, 1, 0.3);
  transition: transform 0.3s ease;
}

.about-toc__step:hover .about-toc__node {
  transform: scale(1.08);
}

.about-toc__card {
  padding: 1.75rem 1.5rem;
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
  width: 100%;
  text-align: left;
}

.about-toc__step--border .about-toc__card {
  border-top: 5px solid var(--secondary);
}

.about-toc__step--secondary .about-toc__card {
  background: var(--secondary);
}

.about-toc__step--secondary .about-toc__card .about-toc__step-title,
.about-toc__step--secondary .about-toc__card p {
  color: #fff !important;
}

.about-toc__step--secondary .about-toc__card p {
  opacity: 0.9;
}

.about-toc__step--primary .about-toc__card {
  background: var(--primary);
}

.about-toc__step--primary .about-toc__card .about-toc__step-title,
.about-toc__step--primary .about-toc__card p {
  color: #fff !important;
}

.about-toc__step--primary .about-toc__card p {
  opacity: 0.95;
}

.about-toc__step-title {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 0.75rem;
}

.about-toc__card p {
  font-size: 0.95rem;
  color: var(--secondary);
  line-height: 1.7;
  margin: 0;
}

/* Connector line between steps */
.about-toc__connector {
  display: none;
  width: 40px;
  flex-shrink: 0;
  align-self: center;
  position: relative;
}

@media (min-width: 768px) {
  .about-toc__connector {
    display: block;
  }
}

.about-toc__connector::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--primary), rgba(196, 0, 1, 0.4));
  transform: translateY(-50%);
}

.about-toc__connector::after {
  content: '→';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--primary);
  background: #fff;
  padding: 0 4px;
}

.about-toc__tagline {
  max-width: 640px;
  margin: 0 auto;
  padding: 2rem;
  font-size: 1.15rem;
  font-weight: 600;
  color: var(--dark);
  text-align: center;
  background: rgba(196, 0, 1, 0.06);
  border-radius: 16px;
}

/* Governance */
.about-gov {
  padding: clamp(48px, 8vw, 72px) 0;
  background: var(--light);
}

.about-gov__inner {
  max-width: 720px;
  margin: 0 auto;
}

.about-gov__badge {
  display: inline-block;
  background: var(--primary);
  color: #fff;
  padding: 0.35rem 1rem;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.75rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
}

.about-gov__title {
  font-size: clamp(1.75rem, 3.5vw, 2.25rem);
  font-weight: 700;
  color: var(--dark);
  margin-bottom: 1.5rem;
}

.about-gov__text {
  font-size: 1.05rem;
  line-height: 1.8;
  color: var(--secondary);
  margin-bottom: 1rem;
}

.about-gov__text:last-child {
  margin-bottom: 0;
}

/* Responsive utilities */
.hero-compact { min-height: 55vh; }
.hero-compact .hero-body { padding: 2rem 0 3rem; }

@media (max-width: 767px) {
  .hero-wrapper { min-height: 100svh; }
  .hero-compact { min-height: 50vh; }
  .hero-compact .hero-body { padding: 1.5rem 0 2rem; }
  .section-head { margin: 0 auto 1.5rem; }
  .hero-title { font-size: clamp(1.75rem, 6vw, 2.25rem); }
}

/* Nav collapse: show on lg, collapse on smaller screens */
@media (min-width: 992px) {
  .navbar-collapse-hero.collapse { display: flex !important; height: auto !important; }
}

/* Navbar collapse JS target */
[data-bs-toggle="collapse"] {
  cursor: pointer;
}

/* Extra responsive safeguards – prevent horizontal scroll */
@media (max-width: 575px) {
  .modal-dialog {
    margin: 0.5rem;
    max-width: calc(100vw - 1rem);
  }
  .integrated-photos--stack {
    max-width: 100%;
  }
  .integrated-photos__row--center {
    padding: 0 10%;
  }
}

/* Ensure main content respects viewport (without stretching container) */
main {
  max-width: 100%;
}
