/* ==========================
   RESET & BASE
========================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: Arial, sans-serif;
  background-color: #fff;
  color: #333;
  line-height: 1.6;
}

/* ==========================
   GLOBAL STRUCTURE
========================== */
.container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}


/* Image Protection Styles */
img.protected-img {
  pointer-events: none;
  -webkit-user-drag: none;
  user-drag: none;
}




/* ==========================
   HEADER
========================== */
.main-header {
  background-color: #fff;
  border-bottom: 1px solid #ddd;
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0.5rem 0;
  margin-bottom: 2.5rem; /* Unified spacing */
}

.nav-flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.logo-area {
  display: flex;
  align-items: center;
  flex: 0 0 auto;
}

.logo-area img {
  max-height: 52px;
  width: auto;
}

.nav-links {
  flex: 1 1 auto;
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-links a {
  text-decoration: none;
  color: #007acc;
  font-weight: bold;
  font-size: 1.05rem;
}

.donate-area {
  display: flex;
  justify-content: flex-end;
  flex: 0 0 auto;
}

.donate-btn {
  background-color: #007acc;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 5px;
  text-decoration: none;
  font-weight: bold;
}

/* ==========================
   TOP BANNER
========================== */
.top-banner-section {
  background-color: #0074b8;
  color: white;
  font-size: 13px;
  padding: 6px 0;
}

.banner-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 2.5rem;
}

.banner-v2-text {
  font-size: 1rem;
  line-height: 1.4;
  font-weight: 500;
  margin-left: 13rem;
}

.banner-contact {
  font-size: 1rem;
  color: white;
  text-decoration: underline;
  padding-left: 1rem;
  white-space: nowrap;
}

/* ==========================
   HERO SECTION
========================== */
.hero {
  padding: 3rem 0;
  background-color: #f5f9fc;
}

.hero-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}

.hero-text {
  flex: 1;
}

.hero-text h1 {
  font-size: 2rem;
  color: #007acc;
  margin-bottom: 1rem;
}

.hero-text p {
  font-size: 1.1rem;
  margin-bottom: 1rem;
}

.hero-image {
  flex: 1;
  text-align: center;
}

.hero-image img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
}

/* ==========================
   MISSION SECTION
========================== */
.program-section {
  background-color: #f9f9f9;
  padding: 2rem 0;
}

.program-inner {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  flex-wrap: wrap;
  gap: 2rem;
}

.program-section.reverse .program-inner {
  flex-direction: row-reverse;
}

.program-image {
  flex: 1;
  text-align: center;
}

.program-image img.align-left-hard {
  margin-left: -2.5rem; /* align image left edge */
}

@media (min-width: 768px) {
  .program-section.reverse .program-image {
    align-self: flex-start;
    margin-left: -1.5rem;
  }
}

.program-text {
  flex: 1;
  padding-left: 0.5rem;
}

.program-text h2 {
  color: #007acc;
  margin-bottom: 0.5rem;
}

.program-text p {
  font-size: 20px;
  font-weight: 500;
  line-height: 1.6;
  color: #333;
  margin-bottom: 1.5rem;
  font-family: Arial, sans-serif;
  max-width: 850px;
}


/* ==========================
   CORE VALUES / IMPACT SECTION
========================== */
.impact {
  background-color: #f0f8ff;
  padding: 2rem 0;
}

.impact-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  gap: 2rem;
  max-width: 1100px;
  margin: 0 auto;
}

.impact-box {
  background: #ffffff;
  border-radius: 10px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
  padding: 2rem;
  flex: 1 1 250px;
  max-width: 300px;
  text-align: center;
  transition: transform 0.3s ease;
}

.impact-box:hover {
  transform: translateY(-5px);
}

.impact-box i {
  font-size: 2rem;
  color: #007acc;
  margin-bottom: 1rem;
}

.impact-box h3 {
  font-size: 1.2rem;
  font-weight: bold;
  color: #003366;
  margin-bottom: 0.5rem;
}

.impact-box p {
  font-size: 1rem;
  color: #444;
  line-height: 1.6;
}

/* ==========================
   SECTION HEADINGS
========================== */
h2 {
  font-size: 1.75rem;
  color: #007acc;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ==========================
   BUTTONS
========================== */
.btn {
  background-color: #007acc;
  color: white;
  padding: 0.5rem 1.2rem;
  border: none;
  border-radius: 4px;
  font-weight: bold;
  font-size: 0.9rem;
  text-decoration: none;
  display: inline-block;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #005f99;
}

/* ==========================
   FOOTER
========================== */
.main-footer {
  background-color: #003f5c;
  color: white;
  text-align: center;
  padding: 2rem 0;
}

.footer-contact img {
  height: 50px;
  margin-bottom: 1rem;
}

.footer-contact p {
  margin: 0.25rem 0;
}

.social-icons {
  margin: 1rem 0;
}

.social-icons a {
  color: white;
  margin: 0 0.5rem;
  font-size: 1.2rem;
}

.footer-note {
  font-size: 0.85rem;
  color: #ccc;
}

/* ==========================
   ANIMATION
========================== */
.fade-in {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.fade-in.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ==========================
   RESPONSIVE
========================== */
@media (max-width: 768px) {
  .hero-inner,
  .program-inner {
    flex-direction: column;
    text-align: center;
  }

  .nav-flex {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .logo-area,
  .donate-area {
    justify-content: center;
  }

  .nav-links {
    justify-content: center;
  }
}


html {
  overflow-y: scroll; /* Reserve scrollbar space */
}

/* ==========================
   Sticky footer baseline setup
========================== */


/* Sticky footer baseline setup */
html, body {
  height: 100%;
  margin: 0;
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

main {
  flex: 1;
}



/* ==========================
   Board Button Styling
========================== */
.board-button-container {
  text-align: center;
  margin-top: 2rem;
}


/* ========================
   Meet the Board Button
======================== */
.meet-board-btn {
  display: block;
  margin: 2rem auto 3rem auto;
  padding: 12px 24px;
  background-color: #007acc;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 1rem;  /* Matches paragraph text like MISSION STATEMENT */
  font-family: Arial, sans-serif;
  text-align: center;
  text-decoration: none;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.meet-board-btn:hover {
  background-color: #005fa3;
}



img {
  -webkit-user-drag: none;
  user-drag: none;
}

.section-subtitle {
  font-size: 1.05rem;
  font-weight: 500;
  color: #333;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.5rem;
  font-family: Arial, sans-serif;
}






.social-icons {
  display: flex;
  gap: 1rem;
  justify-content: center;
  margin-top: 1rem;
}

.icon-tooltip {
  position: relative;
  display: inline-block;
}

.icon-tooltip .tooltip {
  visibility: hidden;
  opacity: 0;
  width: max-content;
  background-color: #333;
  color: #fff;
  text-align: center;
  border-radius: 4px;
  padding: 4px 8px;
  position: absolute;
  bottom: 125%;
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  transition: opacity 0.3s;
  font-size: 0.75rem;
  white-space: nowrap;
}

.icon-tooltip:hover .tooltip {
  visibility: visible;
  opacity: 1;
}




/* Force Bluesky SVG to display in correct blue */
.bluesky-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  filter: brightness(0) saturate(100%) invert(37%) sepia(70%) saturate(733%) hue-rotate(176deg) brightness(92%) contrast(90%);
}

.youtube-icon {
  width: 24px;
  height: 24px;
  vertical-align: middle;
  /* Apply red filter (YouTube red) */
  filter: brightness(0) saturate(100%) invert(22%) sepia(99%) saturate(7494%) hue-rotate(358deg) brightness(96%) contrast(112%);
}




@media (max-width: 768px) {
  .top-banner-section .banner-content {
    flex-direction: column;
    text-align: center;
    padding: 0 1rem;
  }

  .banner-v2-text {
    margin-left: 0;
    font-size: 0.95rem;
  }

  .banner-contact {
    padding-top: 0.5rem;
  }

  .container {
    padding: 0 1rem;
    width: 100%;
    box-sizing: border-box;
  }

  .main-header .container {
    flex-direction: column;
    align-items: center;
  }

  .nav-flex {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  .logo-area,
  .donate-area {
    justify-content: center;
  }

  .nav-links {
    justify-content: center;
    flex-wrap: wrap; /* ✅ enables horizontal wrap */
    gap: 1rem;
    text-align: center;
  }

  .donate-area {
    margin-top: 1rem;
  }
}






