body {
  margin: 0;
  font-family: 'Montserrat', Arial, Helvetica, sans-serif;
  background: #ffffff;
  color: #111;
}

header {
  background: #0824d4;
  color: #fff;
  text-align: center;
  padding: 2rem 1rem;
}

.logo {
  height: 120px;
  display: block;
  margin: 0 auto 1rem auto;
}

nav {
  margin-top: 1rem;
}

nav a {
  color: #fff;
  margin: 0 15px;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.2rem;
}

.intro-image {
  margin: 0;
  text-align: center;
  color: white;
  background: #0824d4;
  padding: 2rem;
}

.intro-image img.desktop-only {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
}

.mobile-text {
  display: none;
}

.infographics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  margin: 2rem auto;
  max-width: 1200px;
  gap: 2rem;
  padding: 0 1rem;
}

.infographic {
  background: #0824d4;
  color: white;
  flex: 1 1 45%;
  min-width: 300px;
  text-align: center;
  padding: 3rem 2rem;
  border-radius: 10px;
}

.infographic h2 {
  font-size: 4rem;
  margin: 0 0 1.5rem 0;
}

.infographic p {
  font-size: 1.2rem;
  font-weight: bold;
  text-transform: uppercase;
  line-height: 1.6;
}

.about-section {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  background: #000;
  color: white;
  padding: 3rem 2rem;
}

.about-left, .about-right {
  flex: 1 1 45%;
  min-width: 300px;
  margin-bottom: 2rem;
}

.social-icons {
  display: flex;
  gap: 1rem;
  margin-bottom: 1rem;
}

.social-btn {
  width: 50px;
  height: 50px;
  background: #0824d4;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  text-decoration: none;
  font-size: 1.5rem;
}

.follow-text {
  font-size: 1.5rem;
  font-weight: 700;
  margin-bottom: 2rem;
  font-family: 'Montserrat', sans-serif;
}

.about-section p {
  font-size: 1.2rem;
  line-height: 1.8;
  font-family: 'Montserrat', sans-serif;
}

.signup-form {
  background: white;
  color: black;
  border: 3px solid #0824d4;
  border-radius: 12px;
  padding: 2rem;
}

.signup-form h3 {
  margin-top: 0;
  color: black;
  font-weight: bold;
}

.signup-form label {
  display: block;
  margin-top: 1rem;
  margin-bottom: 0.5rem;
  font-weight: bold;
  color: black;
}

.signup-form input,
.signup-form select {
  width: 100%;
  padding: 0.8rem;
  border: 2px solid #ccc;
  border-radius: 6px;
  font-size: 1rem;
}

.signup-form button {
  margin-top: 1.5rem;
  width: 100%;
  padding: 1rem;
  background: #0824d4;
  color: white;
  font-weight: bold;
  border: none;
  border-radius: 6px;
  font-size: 1.2rem;
  cursor: pointer;
}

/* Remove white strip and style footer globally */
section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Standardised footer styling across all pages */
footer {
  margin-top: 0 !important;
  padding: 60px 20px !important; /* Taller footer */
  background-color: #e0e0e0 !important;
  text-align: center !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 2em !important; /* Much larger text */
  font-weight: normal !important;
  color: black !important;
}

@media (max-width: 768px) {
  .intro-image img.desktop-only {
    display: none;
  }
  .mobile-text {
    display: block;
  }
}

button:hover, .btn:hover {
    background-color: #444;
    color: white;
    transform: scale(1.05);
    transition: all 0.3s ease;
}



/* Button Hover Effect */
button, .btn, nav a {
  transition: background-color 0.3s, color 0.3s;
}



/* Updated Hover Effect */
nav a:hover, button:hover, .btn:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease-in-out;
}

/* Footer Styles */
/* Remove white strip and style footer globally */
section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Standardised footer styling across all pages */
footer {
  margin-top: 0 !important;
  padding: 60px 20px !important; /* Taller footer */
  background-color: #e0e0e0 !important;
  text-align: center !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 2em !important; /* Much larger text */
  font-weight: normal !important;
  color: black !important;
}

footer p {
  margin: 0;
  font-size: 1rem !important;
  font-weight: bold !important;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
  /* Center mailing list */
  .mailing-list, #mailing-list, form.mailing-list {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    text-align: center;
    width: 90%;
  }

  /* Center infographics */
  .infographics {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
  }

  /* Header nav buttons side by side */
  nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
  }

  nav a {
    display: inline-block;
    margin: 5px;
  }
}

/* Mobile Fixes */
@media (max-width: 768px) {

  /* Add spacing between sections on home page */
  section {
    margin-bottom: 2rem;
  }

  /* Centralize infographics on donate page */
  .donate-page .infographics,
  body.donate .infographics {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    width: 90%;
  }

  /* Header buttons left to right */
  nav {
    display: flex;
    flex-direction: row;
    justify-content: center;
    flex-wrap: nowrap;
    overflow-x: auto;
    gap: 10px;
  }

  nav a {
    white-space: nowrap;
    margin: 0 5px;
  }
}

/* Extra spacing between sections on mobile */
@media (max-width: 768px) {
  section {
    margin-bottom: 2.5rem !important;
  }
}

/* Center infographics on Donate page */
.infographics {
  justify-content: center !important;
  text-align: center;
}

/* Header buttons left to right on mobile */
@media (max-width: 768px) {
  nav {
    display: flex !important;
    justify-content: space-around;
    flex-wrap: nowrap;
  }
  nav a {
    flex: 1;
    text-align: center;
    margin: 0 5px !important;
  }
}

/* Fix uneven infographics on Donate page for mobile */
@media (max-width: 768px) {
  .infographics {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 1.5rem !important;
    margin: 0 auto !important;
  }
  .infographics img,
  .infographics div {
    max-width: 90% !important;
    margin: 0 auto !important;
  }
}


/* Ensure infographics are centered under the heading on donate and home pages */
.donate-section .infographics,
.home-section .infographics {
  margin-top: 20px;
  justify-content: center;
}

/* Mobile view adjustments */
@media (max-width: 768px) {
  .infographics {
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
  }
  .infographic {
    flex: 1 1 100%;
    max-width: 90%;
  }
}

/* Desktop view spacing */
@media (min-width: 769px) {
  .infographics {
    justify-content: space-between;
  }
  .infographic {
    flex: 1 1 30%;
    max-width: 30%;
  }
}


/* Force nav to stay horizontal on all devices */
nav {
  display: flex;
  justify-content: center;
  gap: 1rem;
  flex-wrap: wrap; /* allows wrapping if too many buttons */
}

@media (max-width: 768px) {
  nav {
    flex-direction: row !important;
  }
}


/* Ensure Donate page infographics are directly under the heading on mobile */
.donate-section h2 {
  margin-bottom: 1rem;
}

.donate-section .infographics {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.5rem;
  margin-top: 0;
  padding-top: 0;
}

@media (min-width: 769px) {
  .donate-section .infographics {
    flex-direction: row;
    justify-content: center;
    gap: 2rem;
  }
}


/* Mobile-only override for Donate page infographics */
@media (max-width: 768px) {
  .donate-section .infographics {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .donate-section .infographic {
    width: 90% !important;
    max-width: 400px !important;
    min-width: unset !important;
    margin: 0 auto !important;
    text-align: center !important;
  }
}


@media (max-width: 768px) {
  .donate-section .infographics {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 auto !important;
  }

  .donate-section .infographic {
    width: 100% !important;
    max-width: 90% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
  }
}


@media (max-width: 768px) {
  body .donate-section .infographics {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
  }

  body .donate-section .infographics .infographic {
    width: 90% !important;
    max-width: 400px !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    float: none !important;
  }
}


@media (max-width: 768px) {
  .donate-section .infographics {
    display: block !important; /* override inline flex */
    text-align: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .donate-section .infographic {
    display: block !important;
    width: 90% !important;
    max-width: 400px !important;
    margin: 1rem auto !important;
    float: none !important;
  }
}


@media (max-width: 768px) {
  .donate-section .infographics {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
    margin: 0 auto !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .donate-section .infographic {
    width: 90% !important;
    min-width: unset !important; /* remove min-width pushing off-screen */
    max-width: 400px !important;
    margin: 1rem auto !important;
    box-sizing: border-box !important;
  }
}


.donate-section .infographics {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 2rem;
  margin-top: 20px;
}

.donate-section .infographic {
  background: #0824d4;
  color: white;
  text-align: center;
  flex: 1 1 250px;
  max-width: 300px;
  padding: 2rem;
  border-radius: 10px;
}

.donate-section .infographic h3 {
  font-family: 'Montserrat', sans-serif;
  font-size: 2rem;
  margin-bottom: 1rem;
  font-weight: bold;
}

.donate-section .infographic p {
  font-size: 1rem;
  font-weight: bold;
  line-height: 1.6;
}

@media (max-width: 768px) {
  .donate-section .infographics {
    flex-direction: column;
    align-items: center;
  }

  .donate-section .infographic {
    width: 90%;
    max-width: 400px;
  }
}


.donate-section {
  background-color: white !important;
  padding: 60px 20px;
  text-align: center;
}

.donate-section h2 {
  color: black !important;
  font-family: 'Montserrat', sans-serif;
  font-size: 42px;
  font-weight: bold;
  margin-bottom: 20px;
}


.donate-intro {
  background-color: black;
  color: white;
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
}

.donate-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 2rem;
}

.donate-text {
  flex: 1 1 45%;
  min-width: 300px;
}

.donate-text h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
}

.donate-text p {
  font-size: 20px;
  margin-bottom: 20px;
}

.donate-button-desktop {
  flex: 1 1 45%;
  min-width: 300px;
}

.donate-button-mobile {
  display: none;
}

@media (max-width: 768px) {
  .donate-content {
    flex-direction: column;
    text-align: center;
  }

  .donate-button-desktop {
    display: none;
  }

  .donate-button-mobile {
    display: block;
    margin-top: 20px;
  }
}


.donate-intro {
  background-color: black;
  color: white;
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.donate-content {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto;
}

.donate-text {
  flex: 1 1 45%;
  min-width: 300px;
}

.donate-text h2 {
  font-size: 48px;
  font-weight: bold;
  margin-bottom: 20px;
}

.donate-text p {
  font-size: 20px;
  margin-bottom: 20px;
}

.donate-button-desktop {
  flex: 1 1 45%;
  min-width: 300px;
}

.donate-button-mobile {
  display: none;
}

@media (max-width: 768px) {
  .donate-content {
    flex-direction: column;
    text-align: center;
  }

  .donate-button-desktop {
    display: none;
  }

  .donate-button-mobile {
    display: block;
    margin-top: 20px;
  }
}


.donate-intro {
  background-color: black;
  color: white;
  padding: 60px 20px;
  font-family: 'Montserrat', sans-serif;
  text-align: center;
}

.donate-intro h2 {
  font-size: 56px;
  font-weight: bold;
  margin-bottom: 20px;
  color: white;
}

.donate-intro p {
  font-size: 20px;
  margin-bottom: 30px;
  color: white;
}

.donate-button {
  display: flex;
  justify-content: center;
}

.donate-button iframe {
  margin: 0 auto;
}


/* Remove white strip between last section and footer site-wide */
section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Remove white strip and style footer globally */
section:last-of-type {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* Standardised footer styling across all pages */
footer {
  margin-top: 0 !important;
  padding: 60px 20px !important; /* Taller footer */
  background-color: #e0e0e0 !important;
  text-align: center !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 2em !important; /* Much larger text */
  font-weight: normal !important;
  color: black !important;
}

/* Global responsive adjustments */
body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
}

/* Ensure images and sections scale on mobile */
img {
  max-width: 100%;
  height: auto;
}

section {
  box-sizing: border-box;
}

/* Responsive navigation */
nav {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  nav {
    justify-content: space-around;
    gap: 1rem;
  }

  h1 {
    font-size: 1.8em;
  }

  h2 {
    font-size: 1.5em;
  }

  p {
    font-size: 1em;
  }
}


/* Force Donate page and all footers to be consistent */
footer {
  margin-top: 0 !important;
  padding: 60px 20px !important; /* Taller footer */
  background-color: #e0e0e0 !important;
  text-align: center !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 2em !important; /* Much larger text */
  font-weight: normal !important;
  color: black !important;
}


/* Footer adjustments specific to spacing and alignment */
footer {
  margin-top: 0 !important;
  padding: 60px 20px !important; /* Taller footer */
  background-color: #e0e0e0 !important;
  text-align: center !important;
  font-family: 'Montserrat', sans-serif !important;
  font-size: 2em !important; /* Much larger text */
  font-weight: normal !important;
  color: black !important;
}

/* Add spacing above footer content */
section:last-of-type {
  margin-bottom: 20px !important;
  padding-bottom: 20px !important;
}
