/* ==========================================================================
   1. GLOBAL BASE STYLES & TYPOGRAPHY
   ========================================================================== */
html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: #dfdfdf;
  text-align: left;
  color: black;
  font-family: Arial, Helvetica, sans-serif;
  font-size: 20px;
  line-height: 1.7;
  -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}

/* Global Paragraph Spacing & Width Constraints */
p {
  max-width: 800px;
  margin: 0 auto 35px auto;
}

/* Global Responsive Block-Level Images */
.banner-image,
.van-banner {
  width: 100%;
  height: auto;
  display: block;
}


/* ==========================================================================
   2. SITE NAVIGATION & HEADER
   ========================================================================== */
header {
  padding: 20px 0;
}

.main-menu {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 25px;
}

.main-menu a {
  color: black;
  text-decoration: none;
  font-size: 18px;
  font-weight: 700;
}

.main-menu a:hover {
  text-decoration: underline;
}


/* ==========================================================================
   3. STRUCTURAL LAYOUT CONTAINERS
   ========================================================================== */
/* .site-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 1em;
} */

main section,
footer {
  box-sizing: border-box;
  width: 100%;
  
  /* The Magic Formula: */
  padding: 40px calc((100% - 700px) / 2);
}

/* Global Section & Footer Spacing */
/* main section,
footer.contact {
  padding: 30px 30px;
  box-sizing: border-box;
} */

/* Reusable Horizontal Divider Line */
.section-divider {
  margin: 40px 0;
  border: 0;
  border-top: 3px solid #ccc;
}


/* ==========================================================================
   4. CONTENT COMPONENTS & MEDIA
   ========================================================================== */

/* Typography & Lists */
.tagline h3 {
  margin: 0;
  text-align: center;
  line-height: 1.3;
}

ul li {
  margin-bottom: 20px;
}

/* Intro Section Banner */
.mission {
  background: #203EB0;
  color: white;
}

/* Leader Quote / Blockquote */
.leader-quote {
  font-style: italic;
  font-size: 19px;
  line-height: 1.8;
  /* Override for reading readability inside quotes */
  margin: 40px 0 30px 10px;
  padding-left: 30px;
  border-left: 6px solid #ffffff;
  color: #f0f3ff;
  position: relative;
}

.leader-quote::before {
  content: "“";
  font-family: Georgia, serif;
  font-size: 90px;
  color: rgba(255, 255, 255, 0.15);
  position: absolute;
  left: -10px;
  top: -40px;
}

/* Image Captions (Figures) */
figure {
  margin: 0 0 20px 0;
  text-align: center;
}

figcaption {
  font-size: 0.9em;
  color: #555;
  margin-top: 8px;
  font-style: italic;
}

/* Branded Vehicle Banner Image */
.van-banner {
  border: 4px solid #203EB0;
  border-radius: 12px;
  box-sizing: border-box;
}

/* Photo Gallery Grids */
.image-gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
  margin-top: 30px;
  margin-bottom: 30px;
}

.image-gallery img {
  width: 150px;
  height: auto;
  border-radius: 6px;
  transition: transform 0.2s ease;
}

.image-gallery img:hover {
  transform: scale(1.05);
}

/*Icons - Objective List */
/* --- OBJECTIVE ICON LIST --- */
/* .objective-list {
  list-style: none; 
  padding: 0;
  margin: 20px auto;
  max-width: 800px;
}

.objective-list li {
  display: flex;
  align-items: flex-start; 
  gap: 15px;
  margin-bottom: 20px;
}

.objective-icon {
  width: 1.5em;     
  height: 1.5em;
  color: #ffffff;  
  flex-shrink: 0;  
  stroke-width: 2;  
} */

/* Video Containers */
.videos {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 30px;
}

.videos video {
  width: 200px;
  max-width: 90%;
}


/* ==========================================================================
   5. FUNDRAISING & VOLUNTEERING
   ========================================================================== */

/*2 Column - Text / QR Code */
.fundraise-container {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 40px;
  margin-top: 20px;
}

/* .fundraise p line-height and margins removed - fully inherits global p and body */

.qr {
  width: 200px;
  margin-top: 20px;
}

.volunteering {
  background: #203EB0;
  color: white;
}


/* ==========================================================================
   6. SITE FOOTER (CONTACT, INFO & CREDITS)
   ========================================================================== */
footer {
  background: #203EB0;
  color: white;
}

footer .contact-container {
  max-width: 800px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  gap: 50px;
  flex-wrap: wrap;
}

footer .contact-left,
.contact-right {
  flex: 1;
  min-width: 280px;
}

footer .contact-methods {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 25px;
}

footer .contact-row {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 12px;
}

footer .contact-row .action-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  width: 44px;
  height: 44px;
  border-radius: 6px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  font-size: 22px;
  transition: background 0.2s ease;
  flex-shrink: 0;
  filter: brightness(0) invert(1);
}

footer .contact-row .action-icon-btn:hover {
  background: rgba(255, 255, 255, 0.2);
}

footer .stand-out {
  color: white;
  font-size: 28px;
  font-weight: 700;
  user-select: text;
}

footer .contact-address {
  opacity: 0.95;
  margin-top: 20px;
}

/* Official Regulator / OSCR Info Block */
footer .charity-info-block {
  margin-top: 30px;
}

footer .charity-info-block p {
  font-size: 15px;
  margin: 0 0 10px 0;
  line-height: 1.4;
  /* Intentional override to keep small print compact */
}

footer .charity-info-block img {
  height: 100px;
  width: auto;
  display: block;
}

/* Footer Social Icons & Links */
footer .social-icons {
  display: flex;
  gap: 15px;
  margin-bottom: 35px;
}

footer .social-icons img {
  width: 50px;
  height: auto;
}


footer .useful-links a {
  color: white;
  text-decoration: none;
  line-height: 1.8;
  display: inline-block;
}

footer .useful-links a:hover {
  text-decoration: underline;
}

/* Technical Hosting Attribute Sub-Footer */
.hosting-footer {
  width: 100%;
  text-align: center;
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 14px;
}

.hosting-footer a {
  color: white;
  text-decoration: underline;
  font-weight: 700;
}

.hosting-footer a:hover {
  opacity: 0.8;
}


/* ==========================================================================
   7. INTERACTIVE COMPONENTS (LIGHTBOX UI)
   ========================================================================== */
#lightbox {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.9);
  display: none;
  justify-content: space-between;
  align-items: center;
  z-index: 9999;
  cursor: pointer;
}

#lightbox .nav-btn {
  background: rgba(255, 255, 255, 0.2);
  color: white;
  border: none;
  font-size: 2rem;
  padding: 10px 20px;
  cursor: pointer;
  border-radius: 5px;
  transition: background 0.2s;
}

#lightbox .nav-btn:hover {
  background: rgba(255, 255, 255, 0.4);
}

#lightbox img {
  max-width: 90%;
  max-height: 90%;
  border-radius: 8px;
  box-shadow: 0 5px 25px rgba(0, 0, 0, 0.6);
}

/* ==========================================================================
   8. RESPONSIVE MEDIA QUERIES
   ========================================================================== */

@media (max-width: 840px) {
  main section,
  footer {
    padding: 30px 30px;
  }
}   
@media (max-width: 768px) {

body, p, ul, ol, a, blockquote, footer {
        font-size: 28px!important;
    }
  .site-container {
    padding: 0; /* Strips the outer gray margin squeeze */
  }
  .fundraise-container {
    flex-direction: column;
    align-items: center;
    /* Centers QR code */
    gap: 20px;
  }

  /* Strip the deep left padding and margin from lists on mobile */
  .activites-list,
  .objective-list,
  .volunteer-list {
    padding-left: 20px;
    /* Reduces default 40px padding down to a tidy minimum */
    margin-left: 0;
  }

  /* Scale gallery images to full width on mobile screens */
  .image-gallery a.lightbox-link {
    width: 100%;
    max-width: 400px;
    /* Prevents the card from becoming overwhelmingly massive on larger phones */
  }

  .image-gallery img {
    width: 100%;
  }

  /* Disable lightbox interactions on mobile since images are already full width */
  .image-gallery a.lightbox-link {
    pointer-events: none;
    /* Makes the link completely unclickable */
    cursor: default;
    /* Removes the hand pointer cursor */
  }

  footer .contact-container {
    flex-direction: column;
    text-align: center;
  }

  /* Tighten up container margins */
  .contact-methods {
    gap: 8px;
    margin-bottom: 15px;
  }

  footer .contact-row footer .contact-row {
    flex-direction: row;
    /* Keep icon and text side-by-side */
    justify-content: flex-start;
    /* Force left-alignment */
    gap: 10px;
    /* Tighten the gap to save horizontal space */
    margin-bottom: 10px;
    /* Tighter vertical margin between lines */
  }

  footer .stand-out {
    font-size: 30px;
    word-break: break-all;
    /* Safety guard to ensure it handles tight screens gracefully */
  }

  footer .charity-info-block img {
    margin: 10px auto 0 auto;
  }

  footer .social-icons {
    justify-content: center;
    margin-top: 20px;
  }

  .videos video {
    width: 100%;
  }
}