/* RESET */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* GLOBAL */
body {
  font-family: Arial, Helvetica, sans-serif;
  color: #222;
  line-height: 1.6;
  background-color: #ffffff;
  width: 100%;
  overflow-x: hidden;
}

html {
  width: 100%;
  overflow-x: hidden;
}

/* Desktop navigation links */
.nav-links a {
  position: relative;
  color: #222;
  text-decoration: none;
  font-weight: 500;
  padding: 8px 4px;
  transition: color 0.3s ease;
}

.nav-links a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background-color: #8b1c3a;
  transition: width 0.3s ease;
}

.nav-links a:hover {
  color: #8b1c3a;
}

.nav-links a:hover::after {
  width: 100%;
}


.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px;
}

a {
  text-decoration: none;
  color: inherit;
}

img {
  max-width: 100%;
  display: block;
}

/* HEADER */
.site-header {
  background: #8b1c3a;
  color: #ffffff;
  /*padding: 12px 0;*/
  width: 100%;
  position: relative;
}

.header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 40px;
}


/* ===== FLOATING DONATE BUTTON ===== */
.floating-donate-btn {
  position: fixed;
  top: 90px;
  right: 30px;
  background: #8b1c3a;
  color: #ffffff;
  padding: 14px 28px;
  border-radius: 50px;
  font-weight: 600;
  font-size: 1rem;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 16px rgba(139, 28, 58, 0.4);
  z-index: 998;
  transition: all 0.3s ease;
  animation: pulse 2s infinite;
}

.floating-donate-btn:hover {
  background: #74162f;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(139, 28, 58, 0.6);
}

@keyframes pulse {
  0%, 100% {
    box-shadow: 0 4px 16px rgba(139, 28, 58, 0.4);
  }
  50% {
    box-shadow: 0 4px 20px rgba(139, 28, 58, 0.7);
  }
}

/* ===== DONATE DIALOG BOX ===== */
/* ===== DONATE DIALOG OVERLAY ===== */
.donate-dialog-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.72);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 9999;
  padding: 20px;
}

.donate-dialog-overlay.active {
  display: flex;
}

/* ===== DONATE DIALOG ===== */
.donate-dialog {
  /* Solid alternating stripes — guaranteed visible on all browsers */
  background-color: #ffffff;
  background-image: repeating-linear-gradient(
    -45deg,
    #fce8ee 0px,
    #fce8ee 10px,
    #ffffff 10px,
    #ffffff 20px
  );
  border-radius: 14px;
  max-width: 460px;
  width: 100%;
  padding: 20px 28px 20px;
  position: relative;
  box-shadow: 0 8px 40px rgba(139, 28, 58, 0.25), 0 2px 10px rgba(0,0,0,0.15);
  border-top: 5px solid #8b1c3a;
  animation: dialogSlideDown 0.3s ease;
}

@keyframes dialogSlideDown {
  from { transform: translateY(-30px); opacity: 0; }
  to   { transform: translateY(0);     opacity: 1; }
}

/* ===== CLOSE BUTTON ===== */
.donate-dialog-close {
  position: absolute;
  top: 12px;
  right: 12px;
  background: #8b1c3a;
  border: 2px solid #ffffff;
  border-radius: 50%;
  width: 32px;
  height: 32px;
  font-size: 18px;
  line-height: 1;
  color: #ffffff;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.3);
  z-index: 2;
}

.donate-dialog-close:hover {
  background: #74162f;
  transform: scale(1.1);
}

/* ===== HEADING & TAGLINE ===== */
.donate-dialog h2 {
  color: #8b1c3a;
  margin-bottom: 4px;
  font-size: 1.45rem;
  text-align: center;
}

.dialog-tagline {
  text-align: center;
  color: #555;
  font-size: 0.87rem;
  margin-bottom: 14px;
  line-height: 1.5;
}

/* ===== DONATION TYPE SELECTOR ===== */
.donation-type-selector {
  display: flex;
  gap: 10px;
  margin-bottom: 14px;
}

.donation-type-btn {
  flex: 1;
  padding: 9px 8px;
  border: 2px solid #e0e0e0;
  background: #ffffff;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  font-weight: 600;
  font-size: 0.88rem;
  color: #333;
  line-height: 1.3;
}

.donation-type-btn span {
  display: block;
  font-size: 0.76rem;
  margin-top: 2px;
  opacity: 0.8;
  font-weight: 400;
}

.donation-type-btn:hover,
.donation-type-btn.active {
  border-color: #8b1c3a;
  background: #8b1c3a;
  color: #ffffff;
}

/* ===== AMOUNT SECTION ===== */
.donation-amount-section {
  margin-bottom: 12px;
}

.donation-amount-section label {
  display: block;
  font-weight: 600;
  font-size: 0.88rem;
  margin-bottom: 7px;
  color: #333;
}

.amount-input-wrapper {
  display: flex;
  align-items: stretch;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  overflow: hidden;
  margin-bottom: 9px;
  transition: border-color 0.3s ease;
}

.amount-input-wrapper:focus-within {
  border-color: #8b1c3a;
}

.currency-prefix {
  padding: 0 13px;
  font-weight: 700;
  font-size: 1.05rem;
  color: #8b1c3a;
  background: rgba(139, 28, 58, 0.08);
  border-right: 2px solid #e0e0e0;
  display: flex;
  align-items: center;
  flex-shrink: 0;
}

.amount-input {
  flex: 1;
  padding: 9px 12px;
  border: none;
  background: transparent;
  font-size: 1rem;
  color: #333;
  outline: none;
  min-width: 0;
}

/* Quick Amount Grid */
.quick-amounts {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 7px;
}

.quick-amount-btn {
  padding: 7px 4px;
  border: 2px solid #e0e0e0;
  background: #ffffff;
  border-radius: 6px;
  font-weight: 600;
  font-size: 0.8rem;
  color: #333;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.quick-amount-btn:hover {
  border-color: #8b1c3a;
  background: #f8f0f3;
  color: #8b1c3a;
}

.quick-amount-btn.active {
  border-color: #8b1c3a;
  background: #8b1c3a;
  color: #ffffff;
}

/* ===== DONOR INFO ===== */
.donor-info-section {
  margin-bottom: 12px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

.donor-input {
  padding: 9px 13px;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  font-size: 0.93rem;
  color: #333;
  transition: border-color 0.3s ease;
  background: #fff;
}

.donor-input:focus {
  outline: none;
  border-color: #8b1c3a;
}

/* ===== SUBMIT BUTTON ===== */
.donate-submit-btn {
  width: 100%;
  padding: 12px;
  background: #8b1c3a;
  color: #ffffff;
  border: none;
  border-radius: 8px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: all 0.3s ease;
  letter-spacing: 0.3px;
}

.donate-submit-btn:hover {
  background: #74162f;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(139, 28, 58, 0.4);
}

.donate-submit-btn:active {
  transform: translateY(0);
}

.donate-submit-btn:disabled {
  background: #ccc;
  cursor: not-allowed;
  box-shadow: none;
}

/* ===== DONATE NOTE ===== */
.donate-note {
  text-align: center;
  font-size: 0.79rem;
  color: #999;
  margin-top: 9px;
  line-height: 1.5;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .floating-donate-btn {
    top: 70px;
    right: 15px;
    padding: 12px 24px;
    font-size: 0.9rem;
  }

  .donate-dialog {
    padding: 20px 18px 18px;
  }

  .donation-type-selector {
    gap: 8px;
  }

  .quick-amounts {
    grid-template-columns: repeat(2, 1fr);
  }
}

/* ===== LOGO (IMAGE + TEXT) ===== */

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 0;
  flex-shrink: 0;
}

.logo-image {
  height: 60px;
  width: auto;
  display: block;
}

.logo-text {
  font-size: 1.5rem;
  font-weight: 700;
  white-space: nowrap;
  color: #ffffff;
}


.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 70px;
  position: relative;
}

.logo {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0;
  flex-shrink: 0;
}

.main-nav ul {
  display: flex;
  list-style: none;
  gap: 0;
  padding: 0;
  margin: 0;
  flex-wrap: nowrap;
  align-items: center;
}

.main-nav ul li {
  white-space: nowrap;
  position: relative;
}

.main-nav ul li a {
  text-decoration: none;
  font-size: 1rem;
  padding: 25px 18px;
  color: #ffffff;
  font-weight: 500;
  display: block;
  transition: background-color 0.3s ease;
}

.main-nav ul li a:hover {
  background-color: rgba(255, 255, 255, 0.1);
}

/* Dropdown Menu Styles */
.main-nav .has-dropdown {
  position: relative;
}

.main-nav .dropdown {
  position: absolute;
  top: 100%;
  left: 0;
  background: #8b1c3a;
  min-width: 220px;
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
  opacity: 0;
  visibility: hidden;
  transform: translateY(-10px);
  transition: all 0.3s ease;
  z-index: 1000;
  display: block;
  padding: 0;
  margin: 0;
}

.main-nav .has-dropdown:hover .dropdown {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.main-nav .dropdown li {
  display: block;
  width: 100%;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.main-nav .dropdown li:last-child {
  border-bottom: none;
}

.main-nav .dropdown li a {
  padding: 12px 20px;
  font-size: 0.95rem;
  white-space: nowrap;
}

.main-nav .dropdown li a:hover {
  background-color: rgba(255, 255, 255, 0.15);
  padding-left: 24px;
}

.main-nav a.active {
  border-bottom: 2px solid #ffffff;
}

.menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 2rem;
  color: #ffffff;
  cursor: pointer;
  padding: 10px;
  line-height: 1;
  z-index: 1001;
  flex-shrink: 0;
}


 /* Page hero banner */
    .page-hero {
      background: #8b1c3a;
      color: #fff;
      padding: 70px 0 60px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .page-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: repeating-linear-gradient(
        -45deg,
        rgba(255,255,255,0.04) 0px, rgba(255,255,255,0.04) 10px,
        transparent 10px, transparent 20px
      );
      pointer-events: none;
    }
    .page-hero h2 { font-size: 2.6rem; margin-bottom: 14px; position: relative; }
    .page-hero p  { font-size: 1.1rem; opacity: .88; max-width: 640px; margin: 0 auto; line-height: 1.7; position: relative; }

    /* Section badge pill */
    .section-badge {
      display: inline-block;
      background: #fce8ee;
      color: #8b1c3a;
      font-size: .78rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 5px 16px;
      border-radius: 20px;
      margin-bottom: 14px;
    }

    /* Centred section header */
    .section-header { text-align: center; margin-bottom: 46px; }
    .section-header h2, .section-header h3 { font-size: 2rem; color: #1a1a1a; margin-bottom: 12px; }
    .section-header p { color: #666; max-width: 620px; margin: 0 auto; line-height: 1.7; font-size: .97rem; }

    /* Hide old flat page-intro (replaced by page-hero) */
    .page-intro { display: none; }




/* HERO */
.hero {
  background: #f8f0f3;
  padding: 80px 0;
}

.hero-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.hero-text h2 {
  font-size: 2.4rem;
  margin-bottom: 20px;
}

.hero-actions {
  margin-top: 30px;
  display: flex;
  gap: 15px;
}

.hero-image {
  position: relative;
  width: 100%;
  height: 400px;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 1s ease-in-out;
}

.hero-slide.active {
  opacity: 1;
}

/* SLIDER DOTS */
.slider-dots {
  position: absolute;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 10px;
}

.slider-dots button {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
}

.slider-dots button.active {
  background: #ffffff;
}



.btn {
  display: inline-block;
  padding: 14px 32px;
  border-radius: 6px;
  font-weight: 600;
  cursor: pointer;
  text-align: center;
  transition: all 0.25s ease;
}

.primary-btn {
  background: #8b1c3a;
  color: #ffffff;
}

.primary-btn:hover {
  background-color: #74162f;
  transform: translateY(-2px);
}

.secondary-btn {
  border: 2px solid #8b1c3a;
  color: #8b1c3a;
  background: transparent;
}

.secondary-btn:hover {
  background-color: #8b1c3a;
  color: #ffffff;
}

/* IMPACT */
.impact {
  padding: 80px 0;
}

.impact h3 {
  text-align: center;
  margin-bottom: 50px;
  font-size: 2rem;
}

.impact-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.impact-card {
  padding: 30px;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.impact-card {
  background: #ffffff;
  border-radius: 10px;
  padding: 24px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.impact-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}


/* CTA */
.cta {
  background: #8b1c3a;
  color: #ffffff;
  padding: 70px 0;
  text-align: center;
}

/* VIDEO SECTION */
.video-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.video-section h3 {
  text-align: center;
  margin-bottom: 40px;
  font-size: 2rem;
}

.video-wrapper {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.video-wrapper iframe {
  width: 100%;
  height: 315px;
  border-radius: 8px;
}

/* SURVIVOR STORIES SECTION */
.survivor-stories {
  padding: 80px 20px;
  background-color: #f9f9f9;
  text-align: center;
}

.survivor-slider {
  overflow: hidden;
  position: relative;
  margin-top: 40px;
  padding: 0 60px;
  /* Add padding for navigation buttons */
}

.survivor-track {
  display: flex;
  transition: transform 1s ease;
}

.survivor-slide {
  min-width: 100%;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.survivor-card {
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
  height: 300px;
  display: flex;
  flex-direction: column;
}

.survivor-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 12px 32px rgba(139, 28, 58, 0.2);
}

.survivor-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-radius: 10px;
  margin-bottom: 12px;
  object-position: center center;
  flex-shrink: 0;
}

.survivor-card h3 {
  font-size: 1rem;
  margin: 0 0 4px 0;
}

.survivor-card p {
  font-size: 0.85rem;
  margin: 0;
  color: #666;
}

/* SURVIVOR NAVIGATION BUTTONS */
.survivor-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(139, 28, 58, 0.9);
  color: #fff;
  border: none;
  font-size: 24px;
  padding: 0;
  width: 45px;
  height: 45px;
  cursor: pointer;
  border-radius: 50%;
  z-index: 20;
  transition: background 0.3s ease, transform 0.2s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.survivor-nav:hover {
  background: #74162f;
  transform: translateY(-50%) scale(1.1);
}

.survivor-nav:active {
  transform: translateY(-50%) scale(0.95);
}

.survivor-nav.prev {
  left: 10px;
}

.survivor-nav.next {
  right: 10px;
}

/* MODAL STYLING */
.survivor-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 999;
}

.survivor-modal.active {
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal-content {
  background: #fff;
  padding: 30px;
  max-width: 500px;
  width: 90%;
  max-height: 70vh;
  border-radius: 12px;
  text-align: center;
  position: relative;
  overflow-y: auto;
  z-index: 2;
}

.modal-content img {
  width: 100%;
  max-height: 300px;
  object-fit: contain;
  object-position: center center;
  border-radius: 8px;
  margin-bottom: 20px;
}

.modal-content h3 {
  margin-bottom: 16px;
  color: #8b1c3a;
}

.modal-content p {
  line-height: 1.6;
  color: #555;
}

.modal-scroll-hint {
  font-size: 0.85rem;
  color: #999;
  margin-top: 20px;
  font-style: italic;
}

.close-modal {
  position: absolute;
  top: 10px;
  right: 12px;
  font-size: 28px;
  cursor: pointer;
  background: none;
  border: none;
  color: #666;
  transition: color 0.3s ease;
}

.close-modal:hover {
  color: #8b1c3a;
}

body.modal-open,
html.modal-open {
  overflow: hidden;
  height: 100%;
}

/*
.modal-content {
  max-height: 90vh;
  overflow-y: auto;
}
*/

/* HAMBURGER MENU */
.hamburger {
  cursor: pointer;
}

.hamburger span {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #222;
  margin: 5px 0;
  transition: all 0.3s ease;
}

.hamburger:hover span {
  background-color: #8b1c3a;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(5px, 5px);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* ===== ENHANCED FOOTER STYLES ===== */

.site-footer {
  background: #222;
  color: #ffffff;
  padding: 50px 0 20px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Footer Top Section */
.footer-top {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 30px;
}

.footer-column {
  text-align: left;
}

.footer-column h4 {
  color: #ffffff;
  margin-bottom: 20px;
  font-size: 1.1rem;
}

.footer-column p {
  line-height: 1.6;
  color: #cccccc;
  font-size: 0.95rem;
}

/* Footer Links */
.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 10px;
}

.footer-links a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease, padding-left 0.3s ease;
  display: inline-block;
}

.footer-links a:hover {
  color: #ffffff;
  padding-left: 5px;
}

/* Footer Contact */
.footer-contact {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-contact li {
  margin-bottom: 12px;
  color: #cccccc;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Social Media Links */
.social-media-links {
  display: flex;
  gap: 15px;
  margin-bottom: 15px;
  flex-wrap: wrap;
}

.social-media-links a {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  transition: all 0.3s ease;
  text-decoration: none;
}

.social-media-links a:hover {
  background: #8b1c3a;
  transform: translateY(-3px);
}

.social-media-links svg {
  width: 20px;
  height: 20px;
}

.newsletter-prompt {
  font-size: 0.9rem;
  color: #cccccc;
  margin-top: 10px;
}

/* Footer Bottom */
.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-top: 20px;
  font-size: 0.9rem;
  color: #cccccc;
  flex-wrap: wrap;
}

.footer-bottom p {
  margin: 0;
}

.footer-legal {
  display: flex;
  gap: 10px;
  align-items: center;
}

.footer-legal a {
  color: #cccccc;
  text-decoration: none;
  transition: color 0.3s ease;
}

.footer-legal a:hover {
  color: #ffffff;
}

.footer-legal span {
  color: #666;
}

/* Footer Responsive */
@media (max-width: 1024px) {
  .footer-top {
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .footer-top {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .footer-column {
    text-align: center;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 15px;
    text-align: center;
  }
  
  .social-media-links {
    justify-content: center;
  }
  
  .footer-links,
  .footer-contact {
    text-align: center;
  }
}


/* ===== PARTNERS SECTION STYLES ===== */

.partners-section {
  padding: 80px 0;
  background: #f8f8f8;
}

.partners-section .section-title {
  text-align: center;
  margin-bottom: 16px;
  font-size: 2rem;
  color: #222;
}

.partners-grid {
  display: grid;
  grid-template-columns: repeat(4, 227px);
  grid-template-rows: repeat(2, 222px);
  gap: 50px 60px;
  margin: 50px auto;
  justify-content: center;
  max-width: 1200px;
}

.partner-logo {
  background: #ffffff;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  width: 227px;
  height: 222px;
  padding: 15px;
}

.partner-logo:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
}

.partner-logo img {
  max-width: 100%;
  max-height: 100%;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: grayscale(100%);
  opacity: 0.7;
  transition: all 0.3s ease;
}

.partner-logo:hover img {
  filter: grayscale(0%);
  opacity: 1;
}

.partner-cta {
  text-align: center;
  margin-top: 50px;
}

.partner-cta p {
  font-size: 1.1rem;
  margin-bottom: 20px;
  color: #555;
}

/* Partners Responsive */
@media (max-width: 1200px) {
  .partners-grid {
    grid-template-columns: repeat(4, 1fr);
    grid-template-rows: auto;
    max-width: 90%;
  }
  
  .partner-logo {
    width: 100%;
    height: auto;
    aspect-ratio: 227 / 222;
    padding: 15px;
  }
}

@media (max-width: 1024px) {
  .partners-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
  }
}

@media (max-width: 768px) {
  .partners-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
  }
}

@media (max-width: 500px) {
  .partners-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

/* ===== SCROLL TO TOP/BOTTOM BUTTONS ===== */
.scroll-to-top,
.scroll-to-bottom {
  position: fixed;
  right: 30px;
  width: 50px;
  height: 50px;
  background: #8b1c3a;
  color: #ffffff;
  border: none;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  z-index: 999;
  opacity: 0;
  visibility: hidden;
}

.scroll-to-top {
  bottom: 90px;
}

.scroll-to-bottom {
  bottom: 30px;
}

.scroll-to-top.visible,
.scroll-to-bottom.visible {
  opacity: 1;
  visibility: visible;
}

.scroll-to-top:hover,
.scroll-to-bottom:hover {
  background: #74162f;
  transform: scale(1.1);
}

.scroll-to-top:active,
.scroll-to-bottom:active {
  transform: scale(0.95);
}

/* Smooth scroll behavior */
html {
  scroll-behavior: smooth;
}


/* ===== ABOUT PAGE ===== */

.page-intro {
  padding: 40px 0;
  background: #f8f0f3;

}

.page-intro h2 {
  margin-bottom: 16px;
}

.about-section {
  padding: 45px 0;

}

.about-section.light-bg {
  background: #f4f4f4;
}

.page-intro+.about-section {
  padding-top: 30px;
}

.about-section+.founder-section {
  padding-top: 30px;
}

.two-column {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.two-column img {
  width: 100%;
  border-radius: 12px;
}

/* Who We Are Section with Full-Width Background Slider */
#who-we-are {
  position: relative;
  overflow: hidden;
}

.who-we-are-background {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.who-we-are-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: opacity 1.5s ease-in-out;
}

.who-we-are-slide.active {
  opacity: 1;
}

.who-we-are-slide img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Overlay to darken background for better text readability */
.who-we-are-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  z-index: 2;
}

/* Content on top of background */
#who-we-are .container {
  position: relative;
  z-index: 3;
  padding: 80px 20px;
}

#who-we-are .two-column {
  display: block;
  max-width: 800px;
  margin: 0 auto;
  text-align: center;
}

#who-we-are h3 {
  color: #ffffff;
  font-size: 2.5rem;
  margin-bottom: 30px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

#who-we-are p {
  color: #ffffff;
  font-size: 1.1rem;
  line-height: 1.8;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
}

/* Image Slider Navigation Arrows */
.image-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(139, 28, 58, 0.8);
  color: #fff;
  border: none;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  cursor: pointer;
  font-size: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.3s ease, transform 0.2s ease;
  z-index: 10;
}

.image-nav:hover {
  background: #74162f;
  transform: translateY(-50%) scale(1.1);
}

.image-nav.prev {
  left: 20px;
}

.image-nav.next {
  right: 20px;
}

.values-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
  margin-top: 32px;
}

.value-card {
  background: #fff;
  padding: 24px;
  border-radius: 12px;
  text-align: center;
}

/* ===== FOUNDER SECTION ===== */

.founder-section {
  background: #fff;
}

.founder-image {
  display: flex;
  align-items: center;
  justify-content: center;
}

.founder-image img {
  width: 300px;
  height: 300px;
  object-fit: cover;
  border-radius: 50%;
  border: 4px solid #8b1c3a;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.1);
}

.founder-message h3 {
  margin-bottom: 16px;
}

.founder-message p {
  margin-bottom: 14px;
  line-height: 1.6;
}

.founder-name {
  margin-top: 20px;
  font-weight: 600;
}

/* ===== TEAM CARD ===== */
.team-card {
  text-align: center;
}

.team-card img {
  width: 150px;
  height: 150px;
  object-fit: cover;
  border-radius: 50%;
  margin: 0 auto 16px;
  object-position: center top;
  border: 3px solid #8b1c3a;
}

.team-card .role {
  font-size: 0.95rem;
  color: #666;
}

.team-card h4 {
  margin: 8px;
}


/* ===== TEAM STATIC LAYOUT ===== */

.team-slider {
  overflow: hidden;
}

.team-track {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 30px;
}

/* Responsive */
@media (max-width: 1024px) {
  .team-track {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .team-track {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .team-track {
    grid-template-columns: 1fr;
  }
}


/* ===== CORE VALUES + TEAM SIDE-BY-SIDE ===== */



/* Make cards balanced in both sections */
.core-values-section .impact-grid,
.team-section .impact-grid {
  grid-template-columns: repeat(2, 1fr);
}

/* Default impact-grid for other sections */
.impact-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  margin-top: 32px;
}



/* ===== CORE VALUE CARD (TEAM-STYLE) ===== */

.value-card {
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.value-card h4 {
  min-height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}

.value-card p {
  font-size: 0.9rem;
  line-height: 1.6;
}

.value-icon {
  width: 80px;
  height: 80px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  background: #f4f6f8;
  font-size: 36px;
  line-height: 1;
  flex-shrink: 0;
}




/* ===== RESPONSIVE ===== */

@media (max-width: 900px) {
  .two-column {
    grid-template-columns: 1fr;
  }

  .values-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 500px) {
  .values-grid {
    grid-template-columns: 1fr;
  }
}




@media (max-width: 500px) {

  .core-values-section .impact-grid,
  .team-section .impact-grid {
    grid-template-columns: 1fr;
  }
}



/* MOBILE MEDIA QUERIES */
@media (max-width: 768px) {
  .hero-content {
    grid-template-columns: 1fr;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .logo-image {
    height: 45px;
  }

  .site-header {
    padding: 8px 0;
  }

  .header-content {
    gap: 12px;
  }

  .logo {
    flex: 1;
    min-width: 0;
  }

  @media (max-width: 480px) {
    .logo-image {
      height: 38px;
    }

    .logo-text {
      font-size: 1rem;
    }

    .logo {
      gap: 8px;
    }
  }

  .impact-cards {
    grid-template-columns: 1fr;
  }

  .main-nav {
    display: none;
    position: static;
  }

  .main-nav.active {
    display: block !important;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #8b1c3a;
    width: 100%;
    z-index: 1000;
  }

  .main-nav.active ul {
    flex-direction: column;
    gap: 0;
    padding: 0;
  }

  .main-nav.active ul li {
    width: 100%;
    text-align: left;
  }

  .main-nav.active ul li a {
    display: block;
    padding: 12px 20px;
  }

  /* Mobile Dropdown Styles */
  .main-nav.active .dropdown {
    position: static;
    opacity: 1;
    visibility: visible;
    transform: none;
    box-shadow: none;
    background: rgba(0, 0, 0, 0.2);
    display: none;
  }

  .main-nav.active .has-dropdown:hover .dropdown,
  .main-nav.active .has-dropdown.active .dropdown {
    display: block;
  }

  .main-nav.active .dropdown li a {
    padding-left: 40px;
    font-size: 0.9rem;
  }

  .main-nav.active .dropdown li a:hover {
    padding-left: 44px;
  }

  .menu-toggle {
    display: block !important;
    font-size: 2rem !important;
    min-width: 44px;
    min-height: 44px;
  }

  .video-wrapper {
    grid-template-columns: 1fr;
  }

  .video-wrapper iframe {
    height: 250px;
  }

  .survivor-slide {
    grid-template-columns: repeat(2, 1fr);
  }

  .survivor-slider {
    padding: 0 50px;
  }

  .survivor-nav {
    font-size: 18px;
    padding: 10px 12px;
  }
}

@media (max-width: 600px) {
  .survivor-slide {
    grid-template-columns: 1fr;
  }

  .survivor-slider {
    padding: 0 40px;
  }
}


   /* ── Page Hero ── */
    .programs-hero {
      background: #8b1c3a;
      color: #fff;
      padding: 70px 0 60px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }

    .programs-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: repeating-linear-gradient(
        -45deg,
        rgba(255,255,255,0.04) 0px,
        rgba(255,255,255,0.04) 10px,
        transparent 10px,
        transparent 20px
      );
      pointer-events: none;
    }

    .programs-hero h2 {
      font-size: 2.6rem;
      margin-bottom: 14px;
      position: relative;
    }

    .programs-hero p {
      font-size: 1.1rem;
      opacity: 0.88;
      max-width: 640px;
      margin: 0 auto 30px;
      line-height: 1.7;
      position: relative;
    }

    /* ── Tab Nav ── */
    .programs-tab-nav {
      display: flex;
      justify-content: center;
      gap: 0;
      background: #fff;
      border-bottom: 3px solid #e8e8e8;
      position: sticky;
      top: 0;
      z-index: 100;
      box-shadow: 0 2px 12px rgba(0,0,0,0.07);
    }

    .tab-btn {
      padding: 18px 40px;
      background: none;
      border: none;
      border-bottom: 3px solid transparent;
      margin-bottom: -3px;
      font-size: 1rem;
      font-weight: 600;
      color: #555;
      cursor: pointer;
      transition: all 0.25s ease;
      display: flex;
      align-items: center;
      gap: 8px;
    }

    .tab-btn:hover {
      color: #8b1c3a;
      background: #fdf4f6;
    }

    .tab-btn.active {
      color: #8b1c3a;
      border-bottom-color: #8b1c3a;
      background: #fdf4f6;
    }

    .tab-btn .tab-icon {
      font-size: 1.2rem;
    }

    /* ── Section shared ── */
    .programs-section {
      display: none;
      padding: 70px 0;
    }

    .programs-section.active {
      display: block;
    }

    .section-header {
      text-align: center;
      margin-bottom: 55px;
    }

    .section-badge {
      display: inline-block;
      background: #fce8ee;
      color: #8b1c3a;
      font-size: 0.8rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 5px 16px;
      border-radius: 20px;
      margin-bottom: 14px;
    }

    .section-header h2 {
      font-size: 2.1rem;
      color: #1a1a1a;
      margin-bottom: 14px;
    }

    .section-header p {
      color: #666;
      font-size: 1rem;
      max-width: 620px;
      margin: 0 auto;
      line-height: 1.7;
    }

    /* ============================================================
       1. EDUCATION SECTION
    ============================================================ */
    #education {
      background: #fff;
    }

    /* Gallery grid */
    .edu-gallery {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 28px;
    }

    .edu-card {
      background: #fff;
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 4px 20px rgba(0,0,0,0.08);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      cursor: pointer;
    }

    .edu-card:hover {
      transform: translateY(-6px);
      box-shadow: 0 12px 32px rgba(139,28,58,0.14);
    }

    .edu-card-img {
      width: 100%;
      height: 220px;
      object-fit: cover;
      display: block;
      background: #f0dde3;
    }

    /* Placeholder image when photo not yet available */
    .edu-card-img-placeholder {
      width: 100%;
      height: 220px;
      background: linear-gradient(135deg, #fce8ee 0%, #f0dde3 100%);
      display: flex;
      flex-direction: column;
      align-items: center;
      justify-content: center;
      gap: 10px;
      color: #8b1c3a;
      overflow: hidden;
      flex-shrink: 0;
    }

    .edu-card-img-placeholder .ph-icon {
      font-size: 2.8rem;
      opacity: 0.6;
    }

    .edu-card-img-placeholder span {
      font-size: 0.8rem;
      opacity: 0.5;
      font-weight: 600;
      text-transform: uppercase;
      letter-spacing: 1px;
    }

    .edu-card-body {
      padding: 22px;
    }

    .edu-card-tag {
      display: inline-block;
      font-size: 0.72rem;
      font-weight: 700;
      text-transform: uppercase;
      letter-spacing: 1px;
      color: #8b1c3a;
      background: #fce8ee;
      padding: 3px 10px;
      border-radius: 12px;
      margin-bottom: 10px;
    }

    .edu-card-body h3 {
      font-size: 1.05rem;
      color: #1a1a1a;
      margin-bottom: 8px;
      line-height: 1.4;
    }

    .edu-card-body p {
      font-size: 0.9rem;
      color: #666;
      line-height: 1.6;
    }

    .edu-card-meta {
      display: flex;
      align-items: center;
      gap: 6px;
      margin-top: 14px;
      font-size: 0.82rem;
      color: #999;
    }

    /* Featured / wide card (spans 2 cols) */
    .edu-card.featured {
      grid-column: span 2;
      display: grid;
      grid-template-columns: 1fr 1fr;
    }

    .edu-card.featured .edu-card-img,
    .edu-card.featured .edu-card-img-placeholder {
      height: 100%;
      min-height: 260px;
    }

    /* ── Education CTA strip ── */
    .edu-cta-strip {
      margin-top: 50px;
      background: #8b1c3a;
      border-radius: 14px;
      padding: 36px 40px;
      display: flex;
      align-items: center;
      justify-content: space-between;
      gap: 24px;
      color: #fff;
      flex-wrap: wrap;
    }

    .edu-cta-strip h3 {
      font-size: 1.3rem;
      margin-bottom: 6px;
    }

    .edu-cta-strip p {
      opacity: 0.85;
      font-size: 0.95rem;
    }

    .edu-cta-strip a {
      background: #fff;
      color: #8b1c3a;
      padding: 12px 28px;
      border-radius: 8px;
      font-weight: 700;
      white-space: nowrap;
      transition: all 0.25s ease;
      text-decoration: none;
      display: inline-block;
      flex-shrink: 0;
    }

    .edu-cta-strip a:hover {
      background: #fce8ee;
      transform: translateY(-2px);
    }

    /* ============================================================
       2. ADVOCACY SECTION
    ============================================================ */
    #advocacy {
      background: #fafafa;
    }

    /* Pillars grid */
    .advocacy-pillars {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-bottom: 60px;
    }

    .pillar-card {
      background: #fff;
      border-radius: 14px;
      padding: 32px 26px;
      text-align: center;
      box-shadow: 0 4px 18px rgba(0,0,0,0.07);
      border-top: 4px solid #8b1c3a;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .pillar-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 30px rgba(139,28,58,0.12);
    }

    .pillar-icon {
      width: 64px;
      height: 64px;
      background: #fce8ee;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.8rem;
      margin: 0 auto 18px;
    }

    .pillar-card h3 {
      font-size: 1.1rem;
      color: #1a1a1a;
      margin-bottom: 10px;
    }

    .pillar-card p {
      font-size: 0.9rem;
      color: #666;
      line-height: 1.65;
    }

    /* Timeline */
    .advocacy-timeline-title {
      text-align: center;
      font-size: 1.5rem;
      color: #1a1a1a;
      margin-bottom: 36px;
    }

    .advocacy-timeline {
      position: relative;
      max-width: 780px;
      margin: 0 auto 60px;
      padding-left: 40px;
    }

    .advocacy-timeline::before {
      content: "";
      position: absolute;
      left: 12px;
      top: 0;
      bottom: 0;
      width: 3px;
      background: linear-gradient(to bottom, #8b1c3a, #fce8ee);
      border-radius: 3px;
    }

    .timeline-item {
      position: relative;
      padding: 0 0 36px 28px;
    }

    .timeline-item::before {
      content: "";
      position: absolute;
      left: -35px;
      top: 4px;
      width: 14px;
      height: 14px;
      background: #8b1c3a;
      border-radius: 50%;
      border: 3px solid #fff;
      box-shadow: 0 0 0 2px #8b1c3a;
    }

    .timeline-year {
      display: inline-block;
      font-size: 0.78rem;
      font-weight: 700;
      color: #8b1c3a;
      background: #fce8ee;
      padding: 3px 10px;
      border-radius: 10px;
      margin-bottom: 8px;
      letter-spacing: 0.5px;
    }

    .timeline-item h4 {
      font-size: 1rem;
      color: #1a1a1a;
      margin-bottom: 6px;
    }

    .timeline-item p {
      font-size: 0.9rem;
      color: #666;
      line-height: 1.6;
    }

    /* Advocacy CTA */
    .advocacy-cta {
      background: linear-gradient(135deg, #8b1c3a 0%, #5c1027 100%);
      border-radius: 14px;
      padding: 50px 40px;
      text-align: center;
      color: #fff;
    }

    .advocacy-cta h3 {
      font-size: 1.6rem;
      margin-bottom: 12px;
    }

    .advocacy-cta p {
      opacity: 0.85;
      margin-bottom: 26px;
      font-size: 0.97rem;
      max-width: 500px;
      margin-left: auto;
      margin-right: auto;
    }

    .advocacy-cta-btns {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
    }

    .advocacy-cta-btns a {
      padding: 13px 30px;
      border-radius: 8px;
      font-weight: 700;
      transition: all 0.25s ease;
      text-decoration: none;
      display: inline-block;
    }

    .advocacy-cta-btns .btn-white {
      background: #fff;
      color: #8b1c3a;
    }

    .advocacy-cta-btns .btn-white:hover {
      background: #fce8ee;
      transform: translateY(-2px);
    }

    .advocacy-cta-btns .btn-outline-white {
      background: transparent;
      border: 2px solid rgba(255,255,255,0.7);
      color: #fff;
    }

    .advocacy-cta-btns .btn-outline-white:hover {
      background: rgba(255,255,255,0.1);
      transform: translateY(-2px);
    }

    /* ============================================================
       3. RESEARCH SECTION
    ============================================================ */
    #research {
      background: #fff;
    }

    /* Stats row */
    .research-stats {
      display: grid;
      grid-template-columns: repeat(4, 1fr);
      gap: 20px;
      margin-bottom: 60px;
    }

    .stat-box {
      text-align: center;
      padding: 24px 16px;
      background: #fdf4f6;
      border-radius: 12px;
      border-bottom: 3px solid #8b1c3a;
    }

    .stat-number {
      font-size: 2.2rem;
      font-weight: 800;
      color: #8b1c3a;
      line-height: 1;
      margin-bottom: 6px;
    }

    .stat-label {
      font-size: 0.85rem;
      color: #666;
      line-height: 1.4;
    }

    /* Publication list */
    .publications-title {
      font-size: 1.5rem;
      color: #1a1a1a;
      margin-bottom: 28px;
      padding-bottom: 14px;
      border-bottom: 2px solid #f0dde3;
    }

    .publication-list {
      display: flex;
      flex-direction: column;
      gap: 18px;
      margin-bottom: 50px;
    }

    .publication-card {
      display: grid;
      grid-template-columns: auto 1fr auto;
      gap: 20px;
      align-items: start;
      padding: 24px;
      background: #fafafa;
      border: 1px solid #eee;
      border-left: 4px solid #8b1c3a;
      border-radius: 0 10px 10px 0;
      transition: box-shadow 0.25s ease, transform 0.25s ease;
    }

    .publication-card:hover {
      box-shadow: 0 6px 24px rgba(139,28,58,0.1);
      transform: translateX(4px);
    }

    .pub-year {
      font-size: 0.82rem;
      font-weight: 700;
      color: #8b1c3a;
      background: #fce8ee;
      padding: 4px 10px;
      border-radius: 10px;
      white-space: nowrap;
      height: fit-content;
      margin-top: 2px;
    }

    .pub-body h3 {
      font-size: 1rem;
      color: #1a1a1a;
      margin-bottom: 6px;
      line-height: 1.45;
    }

    .pub-authors {
      font-size: 0.85rem;
      color: #888;
      margin-bottom: 6px;
      font-style: italic;
    }

    .pub-journal {
      font-size: 0.85rem;
      color: #555;
      font-weight: 600;
    }

    .pub-tags {
      display: flex;
      gap: 6px;
      flex-wrap: wrap;
      margin-top: 10px;
    }

    .pub-tag {
      font-size: 0.72rem;
      font-weight: 600;
      padding: 3px 9px;
      background: #f0dde3;
      color: #8b1c3a;
      border-radius: 10px;
      text-transform: uppercase;
      letter-spacing: 0.5px;
    }

    .pub-link {
      flex-shrink: 0;
      display: inline-flex;
      align-items: center;
      gap: 6px;
      padding: 9px 18px;
      background: #8b1c3a;
      color: #fff;
      border-radius: 7px;
      font-size: 0.85rem;
      font-weight: 600;
      text-decoration: none;
      transition: all 0.25s ease;
      height: fit-content;
      white-space: nowrap;
    }

    .pub-link:hover {
      background: #74162f;
      transform: translateY(-2px);
    }

    .pub-link svg {
      width: 14px;
      height: 14px;
      flex-shrink: 0;
    }

    /* Research CTA */
    .research-collab {
      background: #fdf4f6;
      border-radius: 14px;
      padding: 48px 40px;
      display: grid;
      grid-template-columns: 1fr auto;
      gap: 30px;
      align-items: center;
    }

    .research-collab h3 {
      font-size: 1.4rem;
      color: #1a1a1a;
      margin-bottom: 10px;
    }

    .research-collab p {
      color: #666;
      font-size: 0.95rem;
      line-height: 1.65;
    }

    .research-collab a {
      background: #8b1c3a;
      color: #fff;
      padding: 14px 30px;
      border-radius: 8px;
      font-weight: 700;
      text-decoration: none;
      white-space: nowrap;
      transition: all 0.25s ease;
      display: inline-block;
    }

    .research-collab a:hover {
      background: #74162f;
      transform: translateY(-2px);
    }

    /* ============================================================
       RESPONSIVE
    ============================================================ */
    @media (max-width: 1024px) {
      .edu-gallery {
        grid-template-columns: repeat(2, 1fr);
      }
      .edu-card.featured {
        grid-column: span 2;
      }
      .research-stats {
        grid-template-columns: repeat(2, 1fr);
      }
    }

    @media (max-width: 768px) {
      .programs-hero h2 { font-size: 1.8rem; }
      .programs-hero p { font-size: 0.95rem; }

      .tab-btn { padding: 14px 20px; font-size: 0.9rem; }
      .tab-btn .tab-icon { display: none; }

      .programs-section { padding: 50px 0; }

      .edu-gallery {
        grid-template-columns: 1fr;
      }
      .edu-card.featured {
        grid-column: span 1;
        display: flex;
        flex-direction: column;
      }
      .edu-card.featured .edu-card-img,
      .edu-card.featured .edu-card-img-placeholder {
        height: 220px;
      }

      .edu-cta-strip {
        flex-direction: column;
        text-align: center;
        padding: 28px 24px;
        
        
      }

      .advocacy-pillars {
        grid-template-columns: 1fr;
      }

      .research-stats {
        grid-template-columns: repeat(2, 1fr);
      }

      .publication-card {
        grid-template-columns: 1fr;
        gap: 12px;
      }

      .pub-link {
        width: fit-content;
      }

      .research-collab {
        grid-template-columns: 1fr;
        text-align: center;
      }

      .advocacy-cta {
        padding: 36px 24px;
      }

      .advocacy-timeline {
        padding-left: 30px;
      }
    }

    @media (max-width: 480px) {
      .programs-tab-nav {
        overflow-x: auto;
        justify-content: flex-start;
      }
      .tab-btn {
        padding: 14px 16px;
        white-space: nowrap;
      }
      .research-stats {
        grid-template-columns: 1fr 1fr;
      }
    }

      /* ============================================================
       GET INVOLVED PAGE — scoped styles only
    ============================================================ */

    /* ── Page Hero ── */
    .gi-hero {
      background: #8b1c3a;
      color: #fff;
      padding: 70px 0 60px;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .gi-hero::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: repeating-linear-gradient(
        -45deg,
        rgba(255,255,255,0.04) 0px,
        rgba(255,255,255,0.04) 10px,
        transparent 10px,
        transparent 20px
      );
      pointer-events: none;
    }
    .gi-hero h2 {
      font-size: 2.6rem;
      margin-bottom: 14px;
      position: relative;
    }
    .gi-hero p {
      font-size: 1.1rem;
      opacity: 0.88;
      max-width: 620px;
      margin: 0 auto;
      line-height: 1.7;
      position: relative;
    }

    /* ── Anchor offset so sticky header doesn't cover section headings ── */
    .gi-section {
      scroll-margin-top: 70px;
    }


    /* ============================================================
       1. VOLUNTEER — full-bleed background image, dimmed overlay
    ============================================================ */
    .volunteer-section {
      position: relative;
      min-height: 560px;
      display: flex;
      align-items: center;
      overflow: hidden;
      background-color: #1a1a1a; /* fallback while image loads */
    }

    /* The background image — swap src in the inline style below */
    .volunteer-bg {
      position: absolute;
      inset: 0;
      background-image: url('images/volunteer-bg.jpg');
      background-size: cover;
      background-position: center top;
      background-repeat: no-repeat;
      /* Dim the image so text is always legible */
      filter: brightness(0.38);
      transform: scale(1.03); /* slight zoom-out from edges */
      transition: transform 8s ease;
    }
    .volunteer-section:hover .volunteer-bg {
      transform: scale(1.0);
    }

    /* Dark gradient on top of the dim for extra legibility at edges */
    .volunteer-overlay {
      position: absolute;
      inset: 0;
      background: linear-gradient(
        135deg,
        rgba(139, 28, 58, 0.55) 0%,
        rgba(0, 0, 0, 0.45) 100%
      );
    }

    .volunteer-content {
      position: relative;
      z-index: 2;
      color: #fff;
      max-width: 680px;
      padding: 80px 0;
    }

    .vol-badge {
      display: inline-block;
      background: rgba(255,255,255,0.18);
      border: 1px solid rgba(255,255,255,0.35);
      color: #fff;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 1.8px;
      text-transform: uppercase;
      padding: 5px 16px;
      border-radius: 20px;
      margin-bottom: 20px;
      -webkit-backdrop-filter: blur(4px);
      backdrop-filter: blur(4px);
    }

    .volunteer-content h2 {
      font-size: 2.4rem;
      line-height: 1.25;
      margin-bottom: 18px;
      text-shadow: 0 2px 12px rgba(0,0,0,0.4);
    }

    .volunteer-content p {
      font-size: 1.05rem;
      line-height: 1.75;
      opacity: 0.92;
      margin-bottom: 14px;
      text-shadow: 0 1px 6px rgba(0,0,0,0.3);
    }

    .vol-perks {
      display: flex;
      flex-wrap: wrap;
      gap: 10px;
      margin: 22px 0 34px;
    }

    .vol-perk {
      display: flex;
      align-items: center;
      gap: 7px;
      background: rgba(255,255,255,0.12);
      border: 1px solid rgba(255,255,255,0.25);
      -webkit-backdrop-filter: blur(4px);
      backdrop-filter: blur(4px);
      color: #fff;
      font-size: 0.88rem;
      font-weight: 500;
      padding: 7px 14px;
      border-radius: 20px;
    }

    .vol-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #fff;
      color: #8b1c3a;
      font-weight: 700;
      font-size: 1rem;
      padding: 15px 36px;
      border-radius: 8px;
      text-decoration: none;
      transition: all 0.25s ease;
      box-shadow: 0 4px 20px rgba(0,0,0,0.25);
    }
    .vol-btn:hover {
      background: #fce8ee;
      transform: translateY(-3px);
      box-shadow: 0 8px 28px rgba(0,0,0,0.3);
    }
    .vol-btn svg {
      width: 18px;
      height: 18px;
      flex-shrink: 0;
    }

    /* Photo credit placeholder notice */
    .vol-photo-note {
      position: absolute;
      bottom: 12px;
      right: 16px;
      z-index: 3;
      font-size: 0.72rem;
      color: rgba(255,255,255,0.45);
    }


    /* ============================================================
       2. DONATE SECTION
    ============================================================ */
    .donate-section {
      padding: 90px 0;
      background: #fff;
    }

    .donate-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 70px;
      align-items: center;
    }

    .donate-text .section-badge {
      display: inline-block;
      background: #fce8ee;
      color: #8b1c3a;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 5px 16px;
      border-radius: 20px;
      margin-bottom: 16px;
    }

    .donate-text h2 {
      font-size: 2rem;
      color: #1a1a1a;
      margin-bottom: 16px;
      line-height: 1.3;
    }

    .donate-text p {
      color: #555;
      font-size: 0.97rem;
      line-height: 1.75;
      margin-bottom: 14px;
    }

    .donate-impact-list {
      list-style: none;
      padding: 0;
      margin: 24px 0 34px;
      display: flex;
      flex-direction: column;
      gap: 12px;
    }

    .donate-impact-list li {
      display: flex;
      align-items: flex-start;
      gap: 12px;
      font-size: 0.93rem;
      color: #333;
      line-height: 1.5;
    }

    .impact-icon {
      width: 32px;
      height: 32px;
      background: #fce8ee;
      border-radius: 50%;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 0.95rem;
      flex-shrink: 0;
      margin-top: 1px;
    }

    .donate-open-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #8b1c3a;
      color: #fff;
      font-weight: 700;
      font-size: 1.05rem;
      padding: 16px 38px;
      border-radius: 8px;
      border: none;
      cursor: pointer;
      transition: all 0.25s ease;
      box-shadow: 0 4px 16px rgba(139,28,58,0.3);
      text-decoration: none;
    }
    .donate-open-btn:hover {
      background: #74162f;
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(139,28,58,0.4);
    }
    .donate-open-btn svg {
      width: 18px;
      height: 18px;
    }

    /* Donation visual / cards panel */
    .donate-visual {
      display: flex;
      flex-direction: column;
      gap: 16px;
    }

    .donate-tier-card {
      background: #fafafa;
      border: 1px solid #eee;
      border-left: 4px solid #8b1c3a;
      border-radius: 0 10px 10px 0;
      padding: 20px 22px;
      display: flex;
      align-items: center;
      gap: 18px;
      transition: box-shadow 0.25s ease, transform 0.25s ease;
      cursor: pointer;
    }
    .donate-tier-card:hover {
      box-shadow: 0 6px 22px rgba(139,28,58,0.1);
      transform: translateX(4px);
    }

    .tier-amount {
      font-size: 1.5rem;
      font-weight: 800;
      color: #8b1c3a;
      min-width: 90px;
      line-height: 1;
    }

    .tier-body h4 {
      font-size: 0.93rem;
      color: #1a1a1a;
      margin-bottom: 3px;
    }

    .tier-body p {
      font-size: 0.83rem;
      color: #777;
      line-height: 1.5;
      margin: 0;
    }

    .donate-secure-note {
      display: flex;
      align-items: center;
      gap: 8px;
      font-size: 0.82rem;
      color: #999;
      margin-top: 4px;
    }


    /* ============================================================
       3. FUNDRAISE SECTION
    ============================================================ */
    .fundraise-section {
      padding: 90px 0;
      background: #f8f0f3;
    }

    .fundraise-header {
      text-align: center;
      margin-bottom: 52px;
    }

    .fundraise-header .section-badge {
      display: inline-block;
      background: #fce8ee;
      color: #8b1c3a;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 5px 16px;
      border-radius: 20px;
      margin-bottom: 16px;
    }

    .fundraise-header h2 {
      font-size: 2rem;
      color: #1a1a1a;
      margin-bottom: 14px;
    }

    .fundraise-header p {
      color: #666;
      max-width: 580px;
      margin: 0 auto;
      line-height: 1.7;
      font-size: 0.97rem;
    }

    .fundraise-ideas {
      display: grid;
      grid-template-columns: repeat(3, 1fr);
      gap: 24px;
      margin-bottom: 50px;
    }

    .fundraise-card {
      background: #fff;
      border-radius: 14px;
      padding: 30px 26px;
      box-shadow: 0 4px 18px rgba(0,0,0,0.07);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }
    .fundraise-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 12px 30px rgba(139,28,58,0.11);
    }

    .fundraise-icon {
      width: 58px;
      height: 58px;
      background: #fce8ee;
      border-radius: 14px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.6rem;
      margin-bottom: 18px;
    }

    .fundraise-card h3 {
      font-size: 1rem;
      color: #1a1a1a;
      margin-bottom: 8px;
    }

    .fundraise-card p {
      font-size: 0.88rem;
      color: #666;
      line-height: 1.65;
    }

    .fundraise-cta {
      text-align: center;
    }

    .fundraise-cta a {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #8b1c3a;
      color: #fff;
      font-weight: 700;
      font-size: 1rem;
      padding: 15px 36px;
      border-radius: 8px;
      text-decoration: none;
      transition: all 0.25s ease;
      box-shadow: 0 4px 16px rgba(139,28,58,0.28);
    }
    .fundraise-cta a:hover {
      background: #74162f;
      transform: translateY(-3px);
    }


    /* ============================================================
       4. PARTNER WITH US
    ============================================================ */
    .partner-section {
      padding: 90px 0;
      background: #fff;
    }

    .partner-inner {
      display: grid;
      grid-template-columns: 1fr 1fr;
      gap: 70px;
      align-items: center;
    }

    /* Left visual column — stacked benefit boxes */
    .partner-visual {
      display: flex;
      flex-direction: column;
      gap: 14px;
    }

    .partner-benefit {
      display: flex;
      align-items: flex-start;
      gap: 16px;
      background: #fafafa;
      border: 1px solid #f0dde3;
      border-radius: 12px;
      padding: 18px 20px;
      transition: box-shadow 0.25s, transform 0.25s;
    }
    .partner-benefit:hover {
      box-shadow: 0 6px 20px rgba(139,28,58,0.09);
      transform: translateX(4px);
    }

    .pb-icon {
      width: 44px;
      height: 44px;
      background: #fce8ee;
      border-radius: 10px;
      display: flex;
      align-items: center;
      justify-content: center;
      font-size: 1.2rem;
      flex-shrink: 0;
    }

    .pb-text h4 {
      font-size: 0.93rem;
      color: #1a1a1a;
      margin-bottom: 3px;
    }

    .pb-text p {
      font-size: 0.84rem;
      color: #777;
      line-height: 1.55;
      margin: 0;
    }

    /* Right text column */
    .partner-text .section-badge {
      display: inline-block;
      background: #fce8ee;
      color: #8b1c3a;
      font-size: 0.78rem;
      font-weight: 700;
      letter-spacing: 1.5px;
      text-transform: uppercase;
      padding: 5px 16px;
      border-radius: 20px;
      margin-bottom: 16px;
    }

    .partner-text h2 {
      font-size: 2rem;
      color: #1a1a1a;
      margin-bottom: 16px;
      line-height: 1.3;
    }

    .partner-text p {
      color: #555;
      font-size: 0.97rem;
      line-height: 1.75;
      margin-bottom: 14px;
    }

    .partner-types {
      display: flex;
      flex-wrap: wrap;
      gap: 8px;
      margin: 20px 0 32px;
    }

    .partner-type-tag {
      font-size: 0.82rem;
      font-weight: 600;
      padding: 6px 14px;
      background: #fce8ee;
      color: #8b1c3a;
      border-radius: 20px;
    }

    .partner-btn {
      display: inline-flex;
      align-items: center;
      gap: 10px;
      background: #8b1c3a;
      color: #fff;
      font-weight: 700;
      font-size: 1.05rem;
      padding: 15px 36px;
      border-radius: 8px;
      text-decoration: none;
      transition: all 0.25s ease;
      box-shadow: 0 4px 16px rgba(139,28,58,0.28);
    }
    .partner-btn:hover {
      background: #74162f;
      transform: translateY(-3px);
      box-shadow: 0 8px 24px rgba(139,28,58,0.38);
    }
    .partner-btn svg {
      width: 18px;
      height: 18px;
    }


    /* ============================================================
       CLOSING CTA BANNER
    ============================================================ */
    .gi-closing-cta {
      background: linear-gradient(135deg, #8b1c3a 0%, #5c1027 100%);
      color: #fff;
      padding: 70px 0;
      text-align: center;
      position: relative;
      overflow: hidden;
    }
    .gi-closing-cta::before {
      content: "";
      position: absolute;
      inset: 0;
      background-image: repeating-linear-gradient(
        -45deg,
        rgba(255,255,255,0.04) 0px,
        rgba(255,255,255,0.04) 10px,
        transparent 10px,
        transparent 20px
      );
      pointer-events: none;
    }
    .gi-closing-cta h2 {
      font-size: 2rem;
      margin-bottom: 14px;
      position: relative;
    }
    .gi-closing-cta p {
      opacity: 0.85;
      margin-bottom: 32px;
      max-width: 520px;
      margin-left: auto;
      margin-right: auto;
      line-height: 1.7;
      position: relative;
    }
    .gi-closing-btns {
      display: flex;
      gap: 16px;
      justify-content: center;
      flex-wrap: wrap;
      position: relative;
    }
    .gi-closing-btns a,
    .gi-closing-btns button {
      padding: 14px 32px;
      border-radius: 8px;
      font-weight: 700;
      font-size: 1rem;
      cursor: pointer;
      transition: all 0.25s ease;
      text-decoration: none;
      display: inline-block;
    }
    .gi-btn-white {
      background: #fff;
      color: #8b1c3a;
      border: none;
    }
    .gi-btn-white:hover {
      background: #fce8ee;
      transform: translateY(-2px);
    }
    .gi-btn-outline {
      background: transparent;
      border: 2px solid rgba(255,255,255,0.6);
      color: #fff;
    }
    .gi-btn-outline:hover {
      background: rgba(255,255,255,0.1);
      transform: translateY(-2px);
    }

    /* ============================================================
       RESPONSIVE
    ============================================================ */
    @media (max-width: 900px) {
      .donate-inner,
      .partner-inner {
        grid-template-columns: 1fr;
        gap: 40px;
      }
      /* On mobile, visual panel comes after text */
      .donate-visual { order: -1; }
    }

    @media (max-width: 768px) {
      .gi-hero h2      { font-size: 1.8rem; }
      .gi-hero p       { font-size: 0.95rem; }

      .volunteer-content h2 { font-size: 1.7rem; }
      .volunteer-content    { padding: 60px 0; }

      .fundraise-ideas {
        grid-template-columns: 1fr;
      }

      .donate-section,
      .fundraise-section,
      .partner-section { padding: 60px 0; }

      .gi-closing-cta { padding: 50px 0; }
      .gi-closing-cta h2 { font-size: 1.6rem; }
    }

    @media (max-width: 480px) {
      .vol-perks { flex-direction: column; }
      .donate-tier-card { flex-wrap: wrap; }
      .partner-types { gap: 6px; }
    }

    /* ═══════════════════════════════════════════
   COOKIE CONSENT BANNER
   ═══════════════════════════════════════════ */
.cookie-banner {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 99999;
  background: #1a0a10;
  color: #f5e8ec;
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  box-shadow: 0 -4px 24px rgba(0,0,0,0.35);
  border-top: 3px solid #8b1c3a;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  flex-wrap: wrap;
}

.cookie-banner.visible {
  transform: translateY(0);
}

.cookie-banner.hidden {
  display: none;
}

.cookie-banner-text {
  flex: 1;
  font-size: 0.88rem;
  line-height: 1.6;
  color: #e8d0d8;
  min-width: 200px;
}

.cookie-banner-text a {
  color: #f0a0b8;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.cookie-banner-text a:hover {
  color: #fff;
}

.cookie-banner-actions {
  display: flex;
  gap: 10px;
  flex-shrink: 0;
  flex-wrap: wrap;
}

.cookie-btn-accept {
  background: #8b1c3a;
  color: #fff;
  border: none;
  padding: 9px 22px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
  white-space: nowrap;
}

.cookie-btn-accept:hover {
  background: #74162f;
  transform: translateY(-1px);
}

.cookie-btn-decline {
  background: transparent;
  color: #c090a0;
  border: 1px solid #5a2a38;
  padding: 9px 18px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
  white-space: nowrap;
}

.cookie-btn-decline:hover {
  border-color: #c090a0;
  color: #e8d0d8;
}

@media (max-width: 600px) {
  .cookie-banner {
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 18px;
    gap: 14px;
  }
  .cookie-banner-actions {
    width: 100%;
  }
  .cookie-btn-accept,
  .cookie-btn-decline {
    flex: 1;
    text-align: center;
  }
}