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

body {
  padding-top: 82px;
}

/* ── Navbar ── */
.navbar {
  background-color: #003d20;
  display: flex;
  padding: 24px 24px;
  align-items: center;
  justify-content: space-between;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 999;
}

/* ── Logo image ── */
.nav-logo img {
  width: 150px;
  display: block;
}

/* ── Hamburger button ── */
.hamburger {
  background: none;
  border: none;
  color: #cca300;
  font-size: 1.8rem;
  cursor: pointer;
  display: block;
  padding: 8px 12px;
  position: relative;
  z-index: 1000;
}

/* ── Hide nav links on mobile by default ── */
.nav-links {
  display: none;
  list-style: none;
}

/* ── All nav links ── */
.nav-links a {
  color: white;
  text-decoration: none;
  font-size: 1rem;
}

/* ── Donate button ── */
.donate-btn {
  background-color: #cca300;
  color: #003d20 !important;
  padding: 8px 16px;
  border-radius: 6px;
  font-weight: bold;
}

/* ── Mobile dropdown when open ── */
.nav-links.open {
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background-color: #003d20;
  padding: 100px 0 32px 0;
  animation: slideDown 0.3s ease;
  z-index: 998;
  justify-content: flex-start;
  align-items: center;
}

.nav-links.open li {
  padding: 12px 24px;
  border-bottom: none;
  text-align: center;
}
/* ── Nav socials ── */
.nav-socials {
  display: none;        /* hidden on mobile */
}

.nav-socials a {
  display: inline-flex;
  align-items: center;
  padding: 4px;
}

.nav-socials a:hover svg {
  opacity: 0.7;
}

/* ── Show socials on desktop with a left border as divider ── */
@media (min-width: 768px) {
  .nav-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 24px;
    border-left: 2px solid rgba(255,255,255,0.2);  /* ← divider between links and socials */
    margin-left: 8px;
  }
}
/* ── Mobile socials in navbar bar ── */
.nav-socials-mobile {
  display: flex;
  align-items: center;
  gap: 16px;
}

.nav-socials-mobile a {
  display: inline-flex;
  align-items: center;
}

/* ── Hide mobile socials on desktop since nav-socials handles it ── */
@media (min-width: 768px) {
  .nav-socials-mobile {
    display: none;
  }
}

/* ── Desktop divider ── */
@media (min-width: 768px) {
  .nav-socials {
    gap: 12px;
    padding-left: 24px;
    border-left: 2px solid rgba(255,255,255,0.2);
    margin-left: 8px;
  }
}

/* ── Show socials on desktop with a left border as divider ── */
@media (min-width: 768px) {
  .nav-socials {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-left: 24px;
    border-left: 2px solid rgba(255,255,255,0.2);  /* ← divider between links and socials */
    margin-left: 8px;
  }
}

/* ── Slide down animation ── */
@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ── DESKTOP: 768px and wider ── */
@media (min-width: 768px) {
  .navbar {
    justify-content: center;
    gap: 48px;
  }

  .hamburger {
    display: none;
  }

  .nav-links {
    display: flex !important;
    flex-direction: row;
    gap: 32px;
    list-style: none;
  }
}
/* ← media query ends HERE, nothing inside it below this line */

/* ── Hero Section ── */
.hero {
  width: 100%;
  height: 100vh;
  background-image: url('photos/main_pic.webp');
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: flex;
  align-items: flex-end;        /* ← was center, now pushes to bottom */
  justify-content: flex-start;  /* ← add this to pin it to the left */
  padding: 48px 32px;
  position: relative;
}

/* ── Dark overlay ── */
.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.35);
  z-index: 0;
}

/* ── Text content ── */
.hero-content {
  position: relative;
  z-index: 1;
}

.hero-content h1 {
  color: white;
  font-size: 2.5rem;
  font-weight: bold;
  text-shadow: 2px 2px 8px rgba(0,0,0,0.5);
}

.hero-content p {
  color: white;
  font-size: 1.2rem;
  margin-top: 8px;
  text-shadow: 1px 1px 6px rgba(0,0,0,0.5);
}

/* ── Hero donate button ── */
.hero-btn {
  display: inline-block;
  margin-top: 24px;
  background-color: #cca300;
  color: #003d20;
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Desktop hero ── */
@media (min-width: 768px) {
  .hero {
    padding-bottom: 130px;
    padding-right: 20px;
    background-position: center center;
    align-items: flex-end;      /* ← make sure it stays bottom on desktop too */
  }

  .hero-content h1 {
    font-size: 4rem;
  }

  .hero-content p {
    font-size: 1.5rem;
  }
}

/* ── About Section ── */
.about {
  display: flex;
  flex-direction: column;        /* stacks on mobile */
  background-color: white;
}

.about-text {
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.about-logo {
  width: 180px;
  margin-bottom: 24px;
  justify-content: center;
}

.about-text h2 {
  font-size: 1.8rem;
  color: #003d20;
  margin-bottom: 16px;
}

.about-text p {
  color: #444;
  font-size: 1rem;
  line-height: 1.7;              /* makes text easier to read */
  margin-bottom: 16px;
}

.about-btn {
  display: inline-block;
  margin-top: 8px;
  background-color: #003d20;
  color: white;
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
  text-align: center;
  border-style: solid;
  border-color: #cca300;
  border-width: 7px;
}

.about-image {
  width: 100%;
}

.about-image img {
  width: 100%;
  height: 500px;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ── About desktop: side by side ── */
@media (min-width: 768px) {
  .about {
    flex-direction: row;          /* side by side on desktop */
    min-height: 600px;
  }

  .about-text {
    width: 50%;
    padding: 80px 60px;
  }

  .about-image {
    width: 50%;
  }

  .about-image img {
    height: 100%;
  }
}
/* ── Issues Section ── */
.issues {
  background-color: #f0f2f5;
  padding: 64px 32px;
}

.issues-title {
  text-align: center;
  font-size: 2.5rem;
  color: #003d20;
  margin-bottom: 48px;
}

/* ── Accordion ── */
.accordion {
  max-width: 800px;
  margin: 0 auto;
}

.accordion-item {
  border-top: 2px solid #cca300;
}

.accordion-item:last-child {
  border-bottom: 2px solid #cca300;
}

.accordion-btn {
  width: 100%;
  background: none;
  border: none;
  padding: 24px 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
  cursor: pointer;
  font-size: 1.1rem;
  color: #003d20;
  font-weight: 600;
  text-align: left;
}

.accordion-icon {
  font-size: 1.8rem;
  color: #cca300;
  font-weight: 300;
  transition: transform 0.3s ease;  /* smooth rotation */
  line-height: 1;
}

/* ── Hidden content by default ── */
.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, padding 0.3s ease;
}

.accordion-content p {
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
  padding-bottom: 24px;
}

/* ── Open state ── */
.accordion-item.open .accordion-content {
  max-height: 300px;             /* big enough to fit any content */
}

.accordion-item.open .accordion-icon {
  transform: rotate(45deg);      /* rotates + into × when open */
}

/* ── Desktop ── */
@media (min-width: 768px) {
  .issues {
    padding: 80px 48px;
  }

  .issues-title {
    font-size: 3rem;
  }
}
/* ── Endorsements Preview Section ── */
.endorsements-preview {
  background-color: #003d20;
  padding: 64px 32px;
}

.endorsements-title {
  text-align: center;
  font-size: 2.5rem;
  color: white;
  margin-bottom: 48px;
}

/* ── Grid: stacked on mobile ── */
.endorsements-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* ── Card styles ── */
.card {
  border-style: solid;
  border-width: 5px;
  border-color: #cca300;
  background-color: #003d20;
  width: 200px;
  height: 385px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
  border-radius: 20px;
  overflow: hidden;
}

.photo {
  width: 100%;
  height: 200px;
  object-fit: cover;
  object-position: top;
  display: block;
  border-bottom-left-radius: 20px;
  border-bottom-right-radius: 20px;
}

#john {
  object-position: right;
}

.name {
  text-align: center;
  color: white;
  width: 100%;
  padding: 12px 16px 0 16px;
  margin: 0;
  box-sizing: border-box;
}

.position {
  text-align: center;
  color: gray;
  width: 100%;
  padding: 8px 16px 0 16px;
  box-sizing: border-box;
}

/* ── View all button ── */
.endorsements-cta {
  text-align: center;
  margin-top: 48px;
}

.endorsements-btn {
  display: inline-block;
  background-color: #cca300;
  color: #003d20;
  padding: 14px 36px;
  border-radius: 6px;
  font-weight: bold;
  text-decoration: none;
  font-size: 1rem;
  letter-spacing: 1px;
  text-transform: uppercase;
}

/* ── Desktop: three cards in a row ── */
@media (min-width: 768px) {
  .endorsements-preview {
    padding: 80px 48px;
  }

  .endorsements-title {
    font-size: 3rem;
  }

  .endorsements-grid {
    flex-direction: row;
    justify-content: space-evenly;  /* ← evenly spaces all three cards */
    align-items: flex-start;
  }
}
/* ── Footer ── */
.footer {
  background-color: #003d20;
  border-top: 5px solid #cca300;
  padding: 48px 32px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* ── Footer logo ── */
.footer-logo {
  width: 160px;
}

/* ── Social icons ── */
.footer-socials {
  display: flex;
  gap: 24px;
  align-items: center;
}

.footer-socials a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 2px solid rgba(255,255,255,0.3);
  transition: border-color 0.2s ease;
}

.footer-socials a:hover {
  border-color: #cca300;
}

/* ── Footer nav links ── */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 16px 24px;
}

.footer-links a {
  color: rgba(255,255,255,0.8);
  text-decoration: none;
  font-size: 0.95rem;
}

.footer-links a:hover {
  color: #cca300;
}

/* ── Legal disclaimer ── */
.footer-legal {
  border: 3px solid #cca300;
  border-radius: 6px;
  padding: 10px 24px;
}

.footer-legal p {
  color: rgba(255,255,255,0.7);
  font-size: 0.85rem;
  text-align: center;
}

/* ── Desktop footer ── */
@media (min-width: 768px) {
  .footer {
    padding: 64px 48px;
  }

  .footer-links {
    gap: 16px 40px;
  }
}
/* ── About Page ── */
.about-page {
  padding: 64px 32px;
  background-color: #f0f2f5;
  min-height: 77vh;
}

.about-page-title {
  text-align: center;
  font-size: 2.5rem;
  color: #003d20;
  margin-bottom: 48px;
  margin-top: 24px;
}

/* ── The bordered card box ── */
.about-card {
  display: flex;
  flex-direction: column;
  border: 5px solid #cca300;
  border-radius: 16px;
  overflow: hidden;
  max-width: 1100px;
  margin: 0 auto;
  background-color: white;
}

/* ── Image side ── */
.about-card-image img {
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: top;
  display: block;
}

/* ── Text side ── */
.about-card-text {
  padding: 40px 32px;
}

.about-card-text h2 {
  font-size: 1.8rem;
  color: #003d20;
  margin-bottom: 20px;
}

.about-card-text p {
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

/* ── Desktop: side by side inside the card ── */
@media (min-width: 768px) {
  .about-page {
    padding: 80px 48px;
  }

  .about-page-title {
    font-size: 3rem;
  }

  .about-card {
    flex-direction: row;
  }

  .about-card-image {
    width: 40%;
    flex-shrink: 0;
  }

  .about-card-image img {
    height: 100%;
  }

  .about-card-text {
    width: 60%;
    padding: 48px 48px;
  }
}
/* ── Endorsements Page ── */
.endorsements-page {
  background-color: #f0f2f5;
  padding: 64px 32px;
}

.endorsements-page-title {
  text-align: center;
  font-size: 2.5rem;
  color: #003d20;
  margin-top: 24px;
  margin-bottom: 48px;
}

/* ── Each category block ── */
.endorsements-section {
  border: 5px solid #cca300;
  border-radius: 16px;
  padding: 40px 32px;
  margin-bottom: 48px;
  background-color: white;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
}

.endorsements-section-title {
  text-align: center;
  font-size: 1.6rem;
  color: #003d20;
  margin-bottom: 32px;
}

/* ── Cards grid: stacked on mobile ── */
.endorsements-section-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
}

/* ── Desktop: single row ── */
@media (min-width: 768px) {
  .endorsements-page {
    padding: 80px 48px;
  }

  .endorsements-page-title {
    font-size: 3rem;
  }

  .endorsements-section-grid {
    flex-direction: row;
    justify-content: center;
    flex-wrap: wrap;
    gap: 32px;
  }
}
/* ── Under Construction ── */
.under-construction-page {
  background-color: #f0f2f5;
  padding: 80px 32px;
  min-height: 60vh;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* .under-construction-box {
  border: 5px solid #cca300;
  border-radius: 16px;
  padding: 48px 64px;
  background-color: white;
  text-align: center;
}

.under-construction-box h2 {
  font-size: 2rem;
  color: #003d20;
  margin-bottom: 16px;
}

.under-construction-box p {
  color: #444;
  font-size: 1.1rem;
} */
/* ── Issues Page ── */
.issues-page {
  background-color: #f0f2f5;
  padding: 64px 32px;
}

.issues-page-title {
  text-align: center;
  font-size: 2.5rem;
  color: #003d20;
  margin-top: 24px;
  margin-bottom: 48px;
}

/* ── Issue cards list ── */
.issues-list {
  display: flex;
  flex-direction: column;
  gap: 32px;
  max-width: 900px;
  margin: 0 auto;
}

/* ── Individual issue card ── */
.issue-card {
  background-color: white;
  border: 5px solid #cca300;
  border-radius: 16px;
  padding: 40px 40px;
  position: relative;
}

/* ── Gold accent line under heading ── maybe remove */

.issue-card h2 {
  font-size: 1.6rem;
  color: #003d20;
  margin-bottom: 16px;
}

.issue-card p {
  color: #444;
  font-size: 1rem;
  line-height: 1.8;
  margin-bottom: 16px;
}

.issue-card p:last-child {
  margin-bottom: 0;
}

/* ── Desktop ── */
@media (min-width: 768px) {
  .issues-page {
    padding: 80px 48px;
  }

  .issues-page-title {
    font-size: 3rem;
  }

  .issue-card {
    padding: 48px 56px;
  }
}
/* ── Scroll fade in ── */
.issue-card {
  opacity: 0;
  transform: translateY(30px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

.issue-card.visible {
  opacity: 1;
  transform: translateY(0);
}