	/* ---------------------------------------------------------
   GLOBAL VARIABLES
--------------------------------------------------------- */
:root {
  --color-bg: #ffffff;
  --color-primary: #0834b5;
  --color-primary-dark: #041f6e;
  --color-accent: #f4a261;
  --color-text: #222222;
  --color-muted: #555555;
  --color-hero-bg: #f0fcff;
  --color-card-bg: #f1f1f1;

  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  --font-dm: "DM Sans", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;

  --max-width: 1100px;
  --radius-card: 16px;
  --shadow-soft: 0 4px 8px rgba(0, 0, 0, 0.15);
}

/* ---------------------------------------------------------
   RESET + BASE
--------------------------------------------------------- */
* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: var(--font-body);
  background: var(--color-bg);	
  color: var(--color-text);
  line-height: 1.6;
}

a {
  color: var(--color-primary-dark);
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

a:focus-visible,
button:focus-visible {
  outline: 3px solid var(--color-accent);
  outline-offset: 2px;
}

/* ---------------------------------------------------------
   HEADER
--------------------------------------------------------- */
header {
  border-bottom: 1px solid #e0e0e0;
  background: #f9fafb;
  position: sticky;
  top: 0;
  z-index: 10;
}

.top-bar {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.4rem 1rem;
  display: flex;
  justify-content: flex-end;
  gap: 0.5rem;
}

/* ---------------------------------------------------------
   FLAG LANGUAGE SWITCHER
--------------------------------------------------------- */
.lang-switch {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.lang-switch .flag {
  width: 32px;
  height: auto;
  cursor: pointer;
  transition: transform 0.2s ease;
}

.lang-switch .flag:hover {
  transform: scale(1.1);
}

.lang-switch .flag.active {
  outline: 3px solid var(--color-accent);
  border-radius: 4px;
}

/* ---------------------------------------------------------
   NAVIGATION
--------------------------------------------------------- */
.nav-wrapper {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0.75rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  position: relative;
}

.logo-area {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.logo-area img {
  width: 90px;
  height: auto;
  align: right;
}

.site-title {
  font-size: 1.1rem;
  font-weight: 700;
}

.site-tagline {
  font-size: 0.9rem;
  color: var(--color-muted);
}

nav {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.nav-links {
  display: flex;
  gap: 0.5rem;
  list-style: none;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.nav-links button {
  border-radius: 999px;
  border: 1px solid var(--color-primary);
  background: #ffffff;
  color: var(--color-primary-dark);
  padding: 0.35rem 0.75rem;
  cursor: pointer;
  font-size: 0.85rem;
  white-space: nowrap;
}

.nav-links button:hover {
  background: #e9f0ff;
}

.menu-toggle {
  display: none;
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}

.videos-section {
  text-align: center;
}
.bold-text {
  font-weight: bold;
}
.videos-section .bold-text {
  font-weight: bold;
}

/* ---------------------------------------------------------
   MAIN LAYOUT
--------------------------------------------------------- */
main {
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 1.5rem 1rem 3rem;
}

/* ---------------------------------------------------------
   HERO SECTION
--------------------------------------------------------- */
.hero {
  margin-top: 3rem;
  gap: 2rem;
  align-items: center;
  padding: 2rem 1.5rem;
  background: var(--color-hero-bg);
  border-radius: 12px;
  margin-bottom: 2.5rem;
}

.hero-title {
  margin-bottom: 1rem;
  font-family: var(--font-dm);
  font-weight: 700;
  font-size: clamp(2rem, 3vw, 2.6rem);
  line-height: 1.3;
  color: #000080;
}

.hero-text{
  font-family: var(--font-dm);
  font-weight: 400;
  font-size: 1rem;
  color: #0d034e;
  text-align: justify;
}

.hero-text.narrow {
  max-width: 500px;
  text-align: justify;
}

.hero-subtext{
  max-width: 500px;
  text-align: justify;
}


.hero-support {
  font-family: var(--font-dm);
  font-weight: 400;
  font-size: 1.05rem;
  line-height: 1.4;
  color: #0d034e;
  margin-bottom: 1.25rem;
}


.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}





/* ---------------------------------------------------------
   SECTIONS
--------------------------------------------------------- */
.section {
  margin-top: 3rem;
}

.section-title {
  margin-bottom: 1rem;
  font-family: var(--font-dm);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1.2;
  color: #000080;
}

.section-title_noline {
  font-family: var(--font-dm);
  font-weight: 700;
  font-size: 2.1rem;
  line-height: 1.2;
  color: #000080;
}



.section-text {
  font-family: var(--font-dm);
  font-weight: 400;
  font-size: 1rem;
  color: #0d034e;
  text-align: justify; 
}
.section-subtext {
  font-family: var(--font-dm);
  font-weight: 400;
  font-size: 1rem;
  color: #0d034e;
  text-align: justify;
}


.section-text.narrow {
  max-width: 800px;
  text-align: justify;
}

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

.image-center {
  display: flex;
  justify-content: center;
  margin: 1.5rem 0;
}

.image-center img {
  max-width: 100%;
  height: auto;
}

/* ---------------------------------------------------------
   TWO-COLUMN LAYOUT
--------------------------------------------------------- */
.two-column {
  display: grid;
  grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr);
  gap: 2rem;
  align-items: center;
  margin-top: 2rem;
}

.two-column.reverse {
  grid-template-columns: minmax(0, 1fr) minmax(0, 1.4fr);
}

/* ---------------------------------------------------------
   SUBHEADINGS
--------------------------------------------------------- */
.subheading {
  font-family: var(--font-dm);
  font-weight: 700;
  font-size: 1.6rem;
  color: #000080;
  margin-bottom: 0.75rem;
}

/* ---------------------------------------------------------
   CARDS
--------------------------------------------------------- */
.card-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.card {
  background: var(--color-card-bg);
  border-radius: var(--radius-card);
  padding: 1rem 1rem 1.25rem;
  box-shadow: var(--shadow-soft);
  display: flex;
  flex-direction: column;
  height: 100%;
}

.card p {
  font-family: var(--font-dm);
  font-size: 0.95rem;
  color: #000000;
  line-height: 1.5;
}

/* ---------------------------------------------------------
   BUTTONS
--------------------------------------------------------- */
.btn-primary {
  border-radius: 30px;
  background: var(--color-primary);
  color: #ffffff;
  font-family: var(--font-dm);
  font-size: 1rem;
  border: none;
  padding: 0.6rem 1.4rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
}

.btn-primary:hover {
  background: var(--color-primary-dark);
}

.btn-secondary {
  border-radius: 30px;
  background: #ffffff;
  color: var(--color-primary-dark);
  font-family: var(--font-dm);
  font-size: 1rem;
  border: 1px solid var(--color-primary);
  padding: 0.6rem 1.4rem;
  cursor: pointer;
}

/* ---------------------------------------------------------
   LINKS
--------------------------------------------------------- */
.link-large {
  font-family: var(--font-dm);
  font-size: 1rem;
  color: #0d034e;
  text-decoration: underline;
  text-align: center;
  display: inline-block;
  margin-top: 0.5rem;
}

/* ---------------------------------------------------------
   THANKS BADGE
--------------------------------------------------------- */
.thanks-badge {
  margin-top: 2rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.6rem 1rem;
  border-radius: 999px;
  border: 1px solid #d7d7d9;
  background: #ffffff;
  font-size: 0.9rem;
}

.thanks-list {
  margin-top: 0.5rem;
  font-size: 0.9rem;
  color: #0d034e;
}

/* ---------------------------------------------------------
   SCROLL TO TOP BUTTON
--------------------------------------------------------- */
.scroll-to-top {
  position: fixed;
  right: 1.5rem;
  bottom: 1.5rem;
  border-radius: 999px;
  border: none;
  background: var(--color-primary);
  color: #ffffff;
  padding: 0.5rem 1rem;
  font-size: 0.9rem;
  cursor: pointer;
  box-shadow: var(--shadow-soft);
  display: none;
}

/* ---------------------------------------------------------
   FOOTER
--------------------------------------------------------- */
footer {
  border-top: 1px solid #e0e0e0;
  background: #f9fafb;
  padding: 1.5rem 1rem;
  font-size: 0.9rem;
}

.footer-inner {
  max-width: var(--max-width);
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  color: var(--color-muted);
  align-items: center;   /* ← centers all footer content */
}

/* ---------------------------------------------------------
   RESPONSIVE BEHAVIOR
--------------------------------------------------------- */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
  }

  .hero-image {
    order: -1;
  }

  .two-column,
  .two-column.reverse {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 800px) {
  nav {
    position: absolute;
    inset: 60px 0 auto 0;
    background: #f9fafb;
    padding: 0.75rem 1rem 1rem;
    border-bottom: 1px solid #e0e0e0;
    flex-direction: column;
    align-items: flex-start;
    display: none;
  }

  nav.open {
    display: flex;
  }

  .nav-links {
    flex-direction: column;
    align-items: flex-start;
  }

  .menu-toggle {
    display: block;
  }
}


/* General typography */
body {
  font-family: 'Segoe UI', Arial, sans-serif;
  line-height: 1.6;
  color: #333;
  margin: 0;
  padding: 0;
}

/* Section headers */
section h2 {
  border-bottom: 2px solid #ccc;
  padding-bottom: 0.3em;
  margin-top: 1.5em;
  margin-bottom: 1em;
  font-weight: 600;
}

/* Card layout for abstracts/articles */
.card {
  border: 1px solid #ddd;
  border-radius: 6px;
  padding: 1em;
  margin-bottom: 1.2em;
  background-color: #fafafa;
  box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.card h4 {
  margin-top: 0;
  font-size: 1.1em;
  color: #004080; /* matches index.html accent color */
}

.card p {
  margin: 0.5em 0;
}

/* Generic image + text layout */
.img-left,
.img-right {
  display: flex;
  align-items: flex-start;
  gap: 20px;
  margin: 20px 0;
  text-align: justify;
}

/* Image on the left */
.img-left img {
  order: 0;
}

/* Image on the right */
.img-right img {
  order: 1;
}

/* Image sizing */
.img-left img,
.img-right img {
  width: 220px;
  height: auto;
  border-radius: 6px;
}

/* Responsive behavior */
@media (max-width: 768px) {
  .img-left,
  .img-right {
    flex-direction: column;
    text-align: left;
  }

  .img-left img,
  .img-right img {
    width: 100%;
    max-width: 350px;
    margin: 0 auto;
  }
}




/* Links */
a {
  color: #004080;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

/* Archive collapsible section */
details {
  margin-top: 1em;
}

details summary {
  cursor: pointer;
  font-weight: 500;
  color: #004080;
}

.img-left img.mmb-small,
.img-right img.mmb-small {
  width: 70px;
  height: auto;
}

.img-left img.p2f_logo-small,
.img-right img.p2f_logo-smalll {
  width: 80px;
  height: auto;
}

l
.img-left img.Albert_Shirly-small,
.img-right img.Albert_Shirly-small {
  width: 900px;
  height: auto;
  
.donate-canada {
  text-align: center;
  margin: 20px 0;
}

.donate-canada a {
  display: flex;
  align-items: center;
  gap: 15px; /* spacing between text and logo */
  text-decoration: none; /* optional */
}

.donate-canada p {
  margin: 0; /* removes default paragraph spacing */
}

.donate-canada {
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: center;
  gap: 15px;
  width: auto !important;
}
/* Base class for all zoomable images */
.zoomable {
  position: relative;
  z-index: 1;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  cursor: zoom-in;
}

/* Hover effect */
.zoomable:active {
  transform: scale(1.6);        /* Adjust zoom level */
  z-index: 20;                  /* Bring above text */
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

/* Prevent layout shift inside flex containers */
.img-left .zoomable,
.img-right .zoomable,
.img-center .zoomable {
  display: block;
}
/*
Optional: smoother behavior on mobile (no hover) .img
@media (hover: none) {
  .zoomable:active {
    transform: none;
    box-shadow: none;
  }
}*/
.zoom-wrapper {
  position: relative;
  display: inline-block;
  pointer-events: none; /* allow hover to reach the image */
}

.zoom-wrapper img {
  pointer-events: auto; /* restore events on the image itself */
}