/* ── Base ── */
:root {
  --bs-red: #FF4040;
  --bs-blue: #FF4040;
  --bs-primary: #FF4040;
  --bs-primary-rgb: 255, 64, 64;
  --bs-danger: #FF4040;
  --bs-danger-rgb: 255, 64, 64;
  --bs-form-invalid-color: #FF4040;
  --bs-form-invalid-border-color: #FF4040;
  --cbcc-blue: #002c5f;
}

h1, h2, h3, h4,
.h1, .h2, .h3, .h4 {
  color: var(--cbcc-blue);
}

.btn-primary {
    --bs-btn-bg: var(--cbcc-red);
    --bs-btn-border-color: var(--cbcc-red);
    --bs-btn-hover-bg: #e63939;
    --bs-btn-hover-border-color: #e63939;
    --bs-btn-active-bg: #cc3333;
    --bs-btn-active-border-color: #cc3333;
    --bs-btn-disabled-bg: #FF4040;
    --bs-btn-disabled-border-color: #FF4040;
    --bs-btn-focus-shadow-rgb: 255, 64, 64;
    border-radius: 18px;
}

.btn-danger {
  --bs-btn-bg: #FF4040;
  --bs-btn-border-color: #FF4040;
  --bs-btn-hover-bg: #e63939;
  --bs-btn-hover-border-color: #e63939;
  --bs-btn-active-bg: #cc3333;
  --bs-btn-active-border-color: #cc3333;
  --bs-btn-disabled-bg: #FF4040;
  --bs-btn-disabled-border-color: #FF4040;
  --bs-btn-focus-shadow-rgb: 255, 64, 64;
}

.text-danger,
.link-danger,
.text-primary,
.link-primary {
  color: #FF4040 !important;
}

.border-danger,
.border-primary {
  border-color: #FF4040 !important;
}

.bg-danger,
.bg-primary {
  background-color: #FF4040 !important;
}

html {
  font-size: 14px;
  position: relative;
  min-height: 100%;
  overflow-x: hidden;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

body {
  overflow-x: hidden;
}

a {
  color: #0077cc;
}

a.navbar-brand {
  white-space: nowrap;
  text-align: left;
  color: #212529;
  font-weight: 700;
}
.navbar.site-navbar {
    margin-bottom: 0 !important;
}
.site-navbar {
  position: relative;
  z-index: 1030;
  background-color: #fff;
}

.site-navbar .navbar-brand:hover,
.site-navbar .navbar-brand:focus {
  color: #000;
}

.site-navbar .nav-link {
  color: var(--cbcc-blue);
  font-weight: 600;
  padding-left: 1rem;
  padding-right: 1rem;
  margin-left: 0.35rem;
  margin-right: 0.35rem;
}

.site-navbar .nav-link:hover,
.site-navbar .nav-link:focus {
  color: #001a3a;
}

.site-navbar .navbar-nav {
  gap: 0.35rem;
  align-items: center;
}

.site-navbar .navbar-toggler {
  border-color: rgba(0, 0, 0, 0.15);
}

.btn:focus,
.btn:active:focus,
.btn-link.nav-link:focus,
.form-control:focus,
.form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

.form-floating > .form-control-plaintext::placeholder,
.form-floating > .form-control::placeholder {
  color: var(--bs-secondary-color);
  text-align: end;
}

.form-floating > .form-control-plaintext:focus::placeholder,
.form-floating > .form-control:focus::placeholder {
  text-align: start;
}

.border-top {
  border-top: 1px solid #e5e5e5;
}

.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

.footer {
  width: 100%;
  white-space: nowrap;
  background-color: #002c5f;
  color: #fff;
}

.footer a {
  text-decoration: none;
  color: #fff;
}

.footer-text-logo {
  font-size: 34px;
  color: #fff;
  font-weight: 700;
  margin-bottom: 0;
}

.footer-social {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-top: 1rem;
}

.footer-social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0.9;
  transition: opacity 0.2s ease, transform 0.2s ease;
}

.footer-social-link:hover,
.footer-social-link:focus {
  color: #fff;
  opacity: 1;
  transform: translateY(-2px);
}

.footer-social-link svg {
  display: block;
}

.footer-join-btn {
  display: inline-block;
  margin-top: 1.25rem;
  padding: 0.65rem 1.75rem;
  background-color: #fff;
  color: #002c5f !important;
  font-weight: 700;
  font-size: 0.95rem;
  border-radius: 0.5rem;
  text-decoration: none;
  transition: background-color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
}

.footer-join-btn:hover,
.footer-join-btn:focus {
  background-color: #f0f4f8;
  color: #002c5f !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.15);
}

.footer-copyright {
  margin-top: 2rem;
  margin-bottom: 0;
  text-align: center;
  font-size: 0.875rem;
  opacity: 0.85;
  white-space: normal;
}

.padding020 {
  padding-top: 20px;
  padding-bottom: 20px;
}

/* ── Brand buttons / nav ── */
.btn-primary {
  color: #fff;
  background-color: var(--cbcc-red);
  border-color: var(--cbcc-red);
  transition: all 0.3s;
}

.btn-primary:hover {
  background-color: #e63939;
  border-color: #e63939;
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(255, 64, 64, 0.25);
}

.nav-pills .nav-link.active,
.nav-pills .show > .nav-link {
  color: #fff;
  background-color: #FF4040;
  border-color: #FF4040;
}

/* ── Full-bleed page headers ── */
.full-bleed-header {
  width: 100vw;
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: 420px;
  overflow: hidden;
  z-index: 1;
}

.header-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-size: cover;
  background-position: center 30%;
  z-index: 1;
  transition: transform 15s ease;
}

.full-bleed-header:hover .header-bg {
  transform: scale(1.05);
}

.header-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 2;
  background-color: rgba(0, 0, 0, 0.15);
}

.header-box {
  background-color: rgba(0, 44, 95, 0.85);
  max-width: 900px;
  width: 95%;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  padding: 3rem !important;
}

.header-title {
  font-size: 3rem;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.15);
}

.header-desc {
  font-size: 1.15rem;
  line-height: 1.6;
  font-weight: 300;
  opacity: 0.95;
  max-width: 800px;
}

@media (max-width: 768px) {
  .full-bleed-header {
    height: auto;
    min-height: 380px;
  }

  .header-box {
    padding: 2rem 1.5rem !important;
  }

  .header-title {
    font-size: 2.25rem;
  }

  .header-desc {
    font-size: 0.95rem;
    line-height: 1.5;
  }
}

/* ── Main logo ── */
.main-logo {
  max-width: 300px;
  object-fit: contain;
}

/* ── Vision & Mission carousel ── */
#cbccCarousel {
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08) !important;
  border-radius: 16px !important;
  background-color: #f8f9fa;
}

#cbccCarousel .carousel-item {
  height: 520px;
  overflow: hidden;
}

#cbccCarousel .carousel-item img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: center;
  transition: transform 10s ease;
}

#cbccCarousel .carousel-item.active img {
  transform: scale(1.05);
}

.custom-carousel-btn {
  width: 12% !important;
  opacity: 0 !important;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
}

#cbccCarousel:hover .custom-carousel-btn {
  opacity: 0.75 !important;
}

.custom-carousel-btn:hover {
  opacity: 1 !important;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 2.75rem !important;
  height: 2.75rem !important;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.15));
}

/* ── News / events card images ── */
.news-card-image {
  max-height: 160px;
  object-fit: cover;
  width: 100%;
}

.news-detail-image {
  max-height: 400px;
  object-fit: cover;
}

.hero-image {
  width: 100%;
  max-height: 600px;
  object-fit: cover;
}

.badge-fit {
  width: fit-content;
}

.card {
    border: 1px solid var(--cbcc-border);
    border-radius: 10px;
    background: #fff;
    color: #364554;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: var(--cbcc-shadow-sm);
}

/* ── Membership ── */
.membership-section {
  padding: 60px 0;
  margin-top: 40px;
}

.membership-card {
    background: #fff;
    border-radius: 15px;
    padding: 30px;
    height: 100%;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    text-align: center;

    border: 1px solid var(--cbcc-border);
    border-top: 4px solid var(--cbcc-red);
    border-radius: 10px;
    background: #fff;
    color: #364554;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: var(--cbcc-shadow-sm);
}

.membership-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.1);
}

.membership-title {
  font-weight: 700;
  font-size: 1.25rem;
  color: #002c5f;
  margin-bottom: 20px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.membership-text {
  color: #495057;
  font-size: 0.95rem;
  line-height: 1.6;
  margin-bottom: 25px;
  flex-grow: 1;
}

.membership-link {
  display: inline-block;
  padding: 10px 20px;
  background-color: #002c5f;
  color: #fff;
  text-decoration: none;
  border-radius: 50px;
  font-weight: 600;
  font-size: 0.85rem;
  transition: all 0.2s;
}

.membership-link:hover {
  background-color: #004085;
  color: #fff;
  text-decoration: none;
  box-shadow: 0 5px 15px rgba(0, 44, 95, 0.3);
}

.section-title {
  text-align: center;
  font-weight: 800;
  font-size: 2.25rem;
  color: #212529;
  margin-bottom: 50px;
  position: relative;
}

.section-title::after {
  content: '';
  width: 50px;
  height: 3px;
  background: #002c5f;
  position: absolute;
  bottom: -15px;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 2px;
}

.form-section {
  background-color: #fcfcfc;
}

.form-container {
  background: #fff;
  padding: 50px;
  border-radius: 20px;
  box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
}

.subtitle {
  color: #6c757d;
  font-size: 1.1rem;
}

.form-label {
  font-weight: 600;
  color: #333;
  font-size: 0.9rem;
}

.form-control {
  padding: 12px 15px;
  border-radius: 8px;
  border: 1px solid #dee2e6;
  transition: all 0.2s;
}

.form-control:focus {
  border-color: #002c5f;
  box-shadow: 0 0 0 0.25rem rgba(0, 44, 95, 0.1);
}

.form-check-input:checked {
  background-color: #002c5f;
  border-color: #002c5f;
}

.success-icon {
  display: inline-block;
  width: 100px;
  height: 100px;
  line-height: 100px;
  background: #e9f7ef;
  border-radius: 50%;
}

.success-icon i {
  font-size: 4rem;
}

/* Honeypot (hidden from users) */
.h-pot {
  opacity: 0;
  position: absolute;
  top: 0;
  left: 0;
  height: 0;
  width: 0;
  z-index: -1;
  overflow: hidden;
}

/* ── Partner logos ── */
.partners-row .col {
  min-height: 100px;
}

.partner-logo {
  max-width: 140px;
  max-height: 80px;
  width: auto;
  height: auto;
  object-fit: contain;
  padding: 10px;
}

/* ── Executive committee cards ── */
.committee-member {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.committee-card {
  position: relative;
  overflow: hidden;
  background: #e9ecef;
  flex-shrink: 0;
}

.committee-card-photo {
  display: block;
  width: 100%;
  height: 480px;
  object-fit: cover;
  object-position: center top;
}

.committee-card-panel {
  position: absolute;
  left: 0;
  bottom: 80px;
  width: min(88%, 210px);
  padding: 0.85rem 1rem;
  background: #fff;
  color: #212529;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.committee-card-name {
  margin: 0 0 0.25rem;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.25;
  color: #002c5f;
}

.committee-card-role {
  margin: 0 0 0.65rem;
  font-size: 0.85rem;
  line-height: 1.35;
  color: #495057;
}

.committee-card-email,
.committee-card-linkedin {
  display: block;
  font-size: 0.8rem;
  line-height: 1.4;
  word-break: break-word;
  color: #002c5f;
  text-decoration: none;
}

.committee-card-email {
  margin-bottom: 0.35rem;
}

.committee-card-linkedin {
  font-weight: 600;
  text-decoration: underline;
}

.committee-card-email:hover,
.committee-card-linkedin:hover {
  color: #004085;
}

.committee-cv {
  margin-top: 1.25rem;
  color: #333;
  font-size: 0.9rem;
  line-height: 1.55;
}

.committee-cv p {
  margin-bottom: 0.85rem;
}

.committee-cv h3 {
  margin: 1rem 0 0.4rem;
  font-size: 0.95rem;
  font-weight: 700;
  color: #002c5f;
}

.committee-cv ul {
  margin: 0 0 0.85rem;
  padding-left: 1.1rem;
}

.committee-cv li {
  margin-bottom: 0.4rem;
}

/* ── Committee gallery ── */
.committee-gallery {
  position: relative;
  height: 600px;
  overflow: hidden;
  background: #111;
}

.committee-gallery .carousel-inner,
.committee-gallery .carousel-item {
  height: 100%;
}

.committee-gallery-img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top;
}

.committee-gallery-btn {
  width: 3.5rem;
  opacity: 0.85;
}

.committee-gallery-btn:hover {
  opacity: 1;
}

.committee-gallery-btn .carousel-control-prev-icon,
.committee-gallery-btn .carousel-control-next-icon {
  width: 2rem;
  height: 2rem;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, 0.45));
}

@media (max-width: 1199.98px) {
  .committee-card-photo {
    height: 480px;
  }

  .committee-card-panel {
    bottom: 160px;
  }

  .committee-gallery {
    height: 360px;
  }
}

@media (max-width: 575.98px) {
  .committee-card-photo {
    height: 420px;
  }

  .committee-card-panel {
    bottom: 120px;
    width: min(90%, 220px);
  }

  .committee-gallery {
    height: 260px;
    margin-top: 2rem;
  }
}

/* ── Full-width section banners ── */
.page-section-banner {
  width: 100vw;
  position: relative;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  background-color: #002c5f;
  color: #fff;
  padding: 1.25rem 0;
  margin-bottom: 1.5rem;
}

.page-section-banner-title {
  margin: 0;
  color: #fff;
  font-size: 1.75rem;
  font-weight: 700;
  line-height: 1.3;
}

/* ── Objectives cards ── */
.objectives-grid {
  align-items: stretch;
}

.objective-card {
  height: 100%;
  padding: 1.5rem 1.25rem;
  border: 1px solid #002c5f;
  background: #fff;
  color: #212529;
  font-size: 1.05rem;
  line-height: 1.55;
}

/* 4 columns: share vertical borders */
@media (min-width: 1200px) {
  .objectives-grid > [class*="col-"] + [class*="col-"] .objective-card {
    border-left-width: 0;
  }
}

/* 2x2: share borders between neighbours */
@media (min-width: 768px) and (max-width: 1199.98px) {
  .objectives-grid > [class*="col-"]:nth-child(even) .objective-card {
    border-left-width: 0;
  }

  .objectives-grid > [class*="col-"]:nth-child(n+3) .objective-card {
    border-top-width: 0;
  }
}

.objective-card p {
  margin: 0;
}

.objective-card strong {
  color: #002c5f;
  font-weight: 700;
}

/* ── Event details button ── */
.event-card-body {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  width: 100%;
  height: 100%;
}

.event-card-main {
  flex: 1 1 auto;
  min-width: 0;
}

.details-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  flex-shrink: 0;
  min-width: 5.5rem;
  padding: 0.65rem 1rem;
  background-color: var(--cbcc-blue, #002c5f);
  color: #fff !important;
  font-weight: 700;
  font-size: 0.9rem;
  text-decoration: none;
  border-radius: 50px;
  transition: background-color 0.2s ease;
}

.details-btn:hover,
.details-btn:focus {
  background-color: #001a3a;
  color: #fff !important;
  text-decoration: none;
}

.active > .page-link, .page-link.active, .page-link:hover {
    background-color: var(--cbcc-red);
    border-color: var(--cbcc-red);
}
/* ── Mission layout ── */
.mission-copy {
    font-size: 1.05rem;
    line-height: 1.6;
    color: #212529;
}

.mission-copy p {
  margin-bottom: 1rem;
}

.mission-copy ul {
  padding-left: 1.15rem;
  margin-bottom: 0;
}

.mission-copy li {
  margin-bottom: 0.85rem;
}

.mission-copy strong {
  color: #002c5f;
}

/* ── Home hero ── */
.home-hero {
  position: relative;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  min-height: min(78vh, 720px);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.home-hero-overlay {
  display: flex;
  align-items: center;
  min-height: inherit;
  padding: 3.5rem 0;
  background: linear-gradient(
    90deg,
    rgba(0, 0, 0, 0.55) 0%,
    rgba(0, 0, 0, 0.35) 45%,
    rgba(0, 0, 0, 0.15) 100%
  );
}

.home-hero-copy {
  max-width: 900px;
  text-align: left;
}

.home-hero-title {
  margin: 0 0 1rem;
  color: #FFFFFF !important;
  font-size: clamp(2rem, 4.5vw, 3.25rem);
  font-weight: 800;
  line-height: 1.15;
  font-family: var(--cbcc-heading-font);
}

.home-hero-tagline {
  margin: 0 0 1.5rem;
  color: #fff;
  font-size: clamp(1.05rem, 2vw, 1.35rem);
  font-weight: 400;
  line-height: 1.5;
}

.home-hero-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.75rem 1.75rem;
  background-color: var(--cbcc-red);
  color: #fff !important;
  font-weight: 700;
  font-size: 1rem;
  text-decoration: none;
  border-radius: 18px;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.home-hero-btn:hover,
.home-hero-btn:focus {
  background-color: #e63939;
  color: #fff !important;
  text-decoration: none;
  transform: translateY(-2px);
}

@media (max-width: 767.98px) {
  .home-hero {
    min-height: 60vh;
  }

  .home-hero-overlay {
    padding: 2.5rem 0;
    background: rgba(0, 0, 0, 0.45);
  }
}

/* ── Contact hero ── */
.contact-hero {
  position: relative;
  min-height: 420px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin: 3rem 0;
}

.contact-hero-overlay {
  display: flex;
  align-items: center;
  min-height: 420px;
  padding: 3rem;
  background-color: rgba(0, 0, 0, 0.33);
}

.contact-columns {
  align-items: stretch;
  padding: 100px;
  
}

.contact-col {
    height: 100%;
    text-align: center;
    color: #fff;
    padding: 0.5rem 1rem;
    background-color: rgba(0, 44, 95, 0.65);
    border-radius: 18px;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2) !important;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.contact-col-title {
  margin: 0 0 1rem;
  color: #fff !important;
  font-size: 1.75rem;
  font-weight: 700;
}

.contact-col-text {
  margin: 0;
  font-size: 1.05rem;
  line-height: 1.55;
}

.contact-col-text a,
.contact-social-list a {
  color: #fff;
  text-decoration: underline;
}

.contact-col-text a:hover,
.contact-social-list a:hover {
  color: #fff;
  opacity: 0.85;
}

.contact-social-list {
  list-style: none;
  margin: 0;
  padding: 0;
  font-size: 1.05rem;
  line-height: 1.7;
}

@media (max-width: 767.98px) {
  .contact-hero,
  .contact-hero-overlay {
    min-height: 0;

  }

  .contact-col {
    padding: 1rem 0.5rem;
  }

  .container img{
    max-width: 100%;
  }
}


@media (max-width: 450px) {
  .main-logo {
    max-width: 220px;
    object-fit: contain;
}

  .contact-hero-overlay {
    padding: 0;
  }

  .contact-columns {
    padding: 50px;
  }
}




/* ==========================================================
   ABOUT US — VISUAL REFRESH
   Append to the end of site.css
   ========================================================== */

:root {
    --cbcc-blue: #002c5f;
    --cbcc-blue-dark: #001f43;
    --cbcc-red: #D81132;
    --cbcc-surface: #f4f7fa;
    --cbcc-border: #dce4ec;
    --cbcc-text-muted: #596675;
    --cbcc-shadow-sm: 0 8px 24px rgba(0, 44, 95, 0.08);
    --cbcc-shadow-lg: 0 18px 48px rgba(0, 44, 95, 0.15);
}
:root {
    --cbcc-heading-font: "Libre Baskerville", Georgia, "Times New Roman", serif;
}

.page-section-banner-title,
.team-gallery-heading h2, h1.header-title, h2.mb-4, h2.section-title {
    font-family: var(--cbcc-heading-font);
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Section headings
   Replaces the heavy full-width blue strips
   ---------------------------------------------------------- */
h2.text-center-enforced::before {
    content:none !important;
    
}
h2.text-center-enforced {
    text-align: center !important;
}

.page-section-banner {
    width: auto;
    margin: 0 0 2rem;
    padding: 3.5rem 0 0;
    background: transparent;
    color: var(--cbcc-blue);
}

    .page-section-banner .container {
        position: relative;
    }

.page-section-banner-title, h2.mb-4, h2.section-title {
    position: relative;
    margin: 0;
    padding-left: 1.25rem;
    color: var(--cbcc-blue);
    font-size: clamp(1.8rem, 3vw, 2.5rem);
    font-weight: 750;
    line-height: 1.2;
    letter-spacing: -0.025em;
    text-align: left;
}
    h2.section-title {
        margin-bottom: 30px;
    }
.subtitle.align-left {
    text-align: left;
}

    .page-section-banner-title::before, h2.mb-4::before, h2.section-title::before {
        content: "";
        position: absolute;
        top: 0.1em;
        bottom: 0.1em;
        left: 0;
        width: 4px;
        border-radius: 999px;
        background: var(--cbcc-red);
    }
    h2.section-title::after {
        content: none;
    }


/* Mission
   ---------------------------------------------------------- */

.mission-layout {
    --bs-gutter-x: 3.5rem;
    padding-bottom: 1.5rem;
}

.mission-copy {
    color: #263442;
    font-size: 1rem;
    line-height: 1.75;
}

    .mission-copy p {
        margin-bottom: 1.15rem;
    }

    .mission-copy ul {
        display: grid;
        gap: 0.9rem;
        margin-top: 1.5rem;
        padding: 0;
        list-style: none;
    }

    .mission-copy li {
        position: relative;
        margin: 0;
        padding: 1rem 1rem 1rem 1.25rem;
        border-left: 3px solid var(--cbcc-red);
        background: var(--cbcc-surface);
    }

    .mission-copy strong {
        color: var(--cbcc-blue);
    }

#missionGallery {
    position: sticky;
    top: 2rem;
    height: auto;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 14px;
    background: #111;
    box-shadow: var(--cbcc-shadow-lg);
}

    #missionGallery .carousel-inner,
    #missionGallery .carousel-item {
        height: 100%;
    }

    #missionGallery .committee-gallery-img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: top;
    }


/* Objectives
   ---------------------------------------------------------- */

.objectives-grid {
    --bs-gutter-x: 1.25rem;
    --bs-gutter-y: 1.25rem;
}

.objective-card {
    position: relative;
    height: 100%;
    min-height: 165px;
    padding: 1.75rem 1.5rem;
    overflow: hidden;
    border: 1px solid var(--cbcc-border);
    border-top: 4px solid var(--cbcc-red);
    border-radius: 10px;
    background: #fff;
    color: #364554;
    font-size: 1rem;
    line-height: 1.6;
    box-shadow: var(--cbcc-shadow-sm);
    transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease;
}

    .objective-card::after {
        content: "";
        position: absolute;
        right: -30px;
        bottom: -30px;
        width: 90px;
        height: 90px;
        border-radius: 50%;
        background: rgba(0, 44, 95, 0.035);
    }

    .objective-card:hover {
        transform: translateY(-5px);
        border-color: rgba(0, 44, 95, 0.18);
        border-top-color: var(--cbcc-red);
        box-shadow: 0 16px 34px rgba(0, 44, 95, 0.13);
    }

    .objective-card p {
        position: relative;
        z-index: 1;
        margin: 0;
    }

    .objective-card strong {
        display: block;
        margin-bottom: 0.45rem;
        color: var(--cbcc-blue);
        font-size: 1.1rem;
    }
    .objective-card strong {
        font-family: var(--cbcc-heading-font);
        font-size: 1.05rem;
        line-height: 1.4;
    }

/* Cancel the old shared-border rules */
.objectives-grid .objective-card {
    border-left-width: 1px !important;
    border-top-width: 4px !important;
}


/* Team
   ---------------------------------------------------------- */

.committee-grid {
    align-items: start;
}

.committee-member {
    height: auto;
}

.committee-card {
    position: relative;
    overflow: hidden;
    border-radius: 12px;
    background: #e9eef3;
    box-shadow: var(--cbcc-shadow-sm);
}

.committee-card-photo {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 4 / 5;
    object-fit: cover;
    object-position: center top;
    transition: transform 0.45s ease;
}

.committee-card:hover .committee-card-photo {
    transform: scale(1.025);
}

.committee-card::after {
    content: "";
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    height: 42%;
    pointer-events: none;
    background: linear-gradient( to top, rgba(0, 31, 67, 0.32), transparent );
}

.committee-card-panel {
    position: absolute;
    z-index: 2;
    right: 1rem;
    bottom: 1rem;
    left: 1rem;
    width: auto;
    padding: 1.1rem 1.15rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.96);
    color: #212529;
    box-shadow: 0 10px 28px rgba(0, 31, 67, 0.16);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.committee-card-name {
    margin: 0 0 0.25rem;
    color: var(--cbcc-blue);
    font-size: 1.05rem;
}

.committee-card-role {
    margin-bottom: 0.6rem;
    color: var(--cbcc-text-muted);
}

.committee-card-email,
.committee-card-linkedin {
    color: var(--cbcc-blue);
}

.committee-card-linkedin {
    width: fit-content;
    margin-top: 0.15rem;
    text-decoration-color: rgba(0, 44, 95, 0.35);
    text-underline-offset: 3px;
}

.committee-cv {
    margin-top: 1.5rem;
    color: #3e4b58;
    font-size: 0.94rem;
    line-height: 1.7;
}

    .committee-cv p {
        margin-bottom: 1rem;
    }

    .committee-cv h3 {
        margin-top: 1.4rem;
        color: var(--cbcc-blue);
        font-size: 1rem;
    }


/* Standalone team gallery
   ---------------------------------------------------------- */

.team-gallery-section {
    width: 100vw;
    position: relative;
    margin: 1rem calc(50% - 50vw) 0;
    padding: 4rem 0 4.5rem;
    background: linear-gradient( 135deg, #f5f8fb 0%, #edf3f8 100% );
}

.team-gallery-heading {
    margin-bottom: 1.75rem;
}

    .team-gallery-heading span {
        display: block;
        margin-bottom: 0.45rem;
        color: var(--cbcc-red);
        font-size: 0.78rem;
        font-weight: 750;
        letter-spacing: 0.13em;
        text-transform: uppercase;
    }

    .team-gallery-heading h2 {
        margin: 0;
        color: var(--cbcc-blue);
        font-size: clamp(1.8rem, 3vw, 2.5rem);
        font-weight: 750;
        letter-spacing: -0.025em;
    }

.team-gallery-section .committee-gallery {
    height: auto;
    aspect-ratio: 16 / 8.5;
    overflow: hidden;
    border-radius: 14px;
    background: var(--cbcc-blue-dark);
    box-shadow: var(--cbcc-shadow-lg);
}

    .team-gallery-section .committee-gallery .carousel-inner,
    .team-gallery-section .committee-gallery .carousel-item {
        height: 100%;
    }

.team-gallery-section .committee-gallery-img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top;
}

.committee-gallery-btn {
    width: 4.5rem;
    opacity: 0;
    transition: opacity 0.2s ease, background-color 0.2s ease;
}

.committee-gallery:hover .committee-gallery-btn,
.committee-gallery:focus-within .committee-gallery-btn {
    opacity: 0.9;
}

.committee-gallery-btn:hover {
    background: rgba(0, 31, 67, 0.12);
    opacity: 1;
}


/* Responsive adjustments
   ---------------------------------------------------------- */

@media (max-width: 1199.98px) {
    .committee-card-photo {
        height: auto;
    }

    .committee-card-panel {
        bottom: 1rem;
    }
}

@media (max-width: 991.98px) {
    .mission-layout {
        --bs-gutter-x: 1.5rem;
    }

    #missionGallery {
        position: relative;
        top: auto;
        max-height: none;
        aspect-ratio: 16 / 10;
    }

    .objective-card {
        min-height: 145px;
    }
}

@media (max-width: 767.98px) {
    .page-section-banner {
        padding-top: 2.75rem;
        margin-bottom: 1.5rem;
    }

    .page-section-banner-title {
        font-size: 1.8rem;
    }

    .mission-copy {
        font-size: 0.98rem;
        line-height: 1.65;
    }

    .team-gallery-section {
        padding: 3rem 0;
    }

        .team-gallery-section .committee-gallery {
            aspect-ratio: 4 / 3;
        }

    .committee-gallery-btn {
        width: 3.5rem;
        opacity: 0.85;
    }
}

@media (max-width: 575.98px) {
    .committee-card-photo {
        height: auto;
        aspect-ratio: 4 / 4.8;
    }

    .committee-card-panel {
        right: 0.75rem;
        bottom: 0.75rem;
        left: 0.75rem;
    }

    #missionGallery {
        aspect-ratio: 4 / 3;
    }

    .team-gallery-section .committee-gallery {
        aspect-ratio: 1 / 1;
    }
}


/* Collapsed biographies */
.committee-grid:not(.is-expanded) .committee-cv {
    position: relative;
    max-height: 500px;
    overflow: hidden;
}

    /* Soft fade at the bottom of truncated biographies */
    .committee-grid:not(.is-expanded) .committee-cv.is-overflowing::after {
        content: "";
        position: absolute;
        right: 0;
        bottom: 0;
        left: 0;
        height: 110px;
        pointer-events: none;
        background: linear-gradient( to bottom, rgba(255, 255, 255, 0), #fff 85% );
    }

/* Expanded state */
.committee-grid.is-expanded .committee-cv {
    max-height: none;
    overflow: visible;
}

/* Hidden by default; JavaScript shows it only where needed */
.committee-read-more {
    display: none;
    align-items: center;
    gap: 0.5rem;
    width: fit-content;
    margin-top: 0.75rem;
    padding: 0.25rem 0;
    border: 0;
    border-bottom: 2px solid var(--cbcc-red, #ff4040);
    background: transparent;
    color: var(--cbcc-blue, #002c5f);
    font: inherit;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.4;
    cursor: pointer;
}

    .committee-read-more.is-visible {
        display: inline-flex;
    }

    .committee-read-more::after {
        content: "";
        width: 0.5rem;
        height: 0.5rem;
        border-right: 2px solid currentColor;
        border-bottom: 2px solid currentColor;
        transform: translateY(-2px) rotate(45deg);
        transition: transform 0.2s ease;
    }

.committee-grid.is-expanded .committee-read-more::after {
    transform: translateY(2px) rotate(225deg);
}

.committee-read-more:hover,
.committee-read-more:focus-visible {
    color: var(--cbcc-red, #ff4040);
}

.committee-read-more:focus-visible {
    outline: 2px solid var(--cbcc-blue, #002c5f);
    outline-offset: 5px;
}
@media (max-width: 767.98px) {
    .committee-grid:not(.is-expanded) .committee-cv {
        max-height: 360px;
    }
}

