/* ============================================================
   campaign.css (FULL)
   Live-safe version with MOBILE FIXES
   Notes:
   - Keeps your current look/colors
   - Fixes "mobile looks like desktop" by preventing forced widths,
     clamping overflow, and adding hard mobile overrides
   - Works with your existing HTML
   ============================================================ */

/* ============================================================
   GLOBAL OVERRIDES
   ============================================================ */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

.section-intro-graphic {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  padding: 0;
}

.section-intro-graphic img {
  display: block;
  width: 100%;
  height: auto;
}

/* Make sure nothing forces desktop width */
.container,
.container-fluid,
.row,
[class*="col-"] {
  max-width: 100%;
}

img, iframe, video {
  max-width: 100%;
  height: auto;
}

body {
  background: #FFFFFF;
  font-family: "Helvetica Neue", Arial, sans-serif;
  color: #333;
  padding-top: 70px !important; /* push content below fixed header */
}

/* Primary color variables */
* {
  --primary-color: #325692 !important;
  --accent-green: #AB8232 !important; /* matches logo gold */
}

/* Kill old dark/template section backgrounds */
.bg-1,
.bg-2,
.story,
.project,
.services,
.testimony {
  background: transparent !important;
}


/* ============================================================
   NEW UNIVERSAL HEADER (DESKTOP + MOBILE)
   One sticky bar with logo, donate buttons, hamburger menu
   ============================================================ */

/* Make sure any old header/nav positioning doesn't interfere */
.lane-donate-bar,
.navbar-main {
  position: static !important;
  top: auto !important;
  box-shadow: none !important;
}

/* HEADER WRAPPER */
#lane-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #325692;
  color: #FFF;
  height: 62px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 12px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
  width: 100%;
  max-width: 100%;
}

/* LOGO */
#lane-header .lane-logo img {
  height: 44px;
  width: auto;
  display: block;
}

/* DONATE BUTTONS, DESKTOP VIEW */
#lane-header .lane-donate-buttons {
  display: flex;
  gap: 6px;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
}

#lane-header .lane-donate-buttons a {
  background: #AB8232;
  color: #FFF !important;
  padding: 6px 12px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  font-size: 13px;
  border: 1px solid #fff;
  white-space: nowrap;
}

#lane-header .lane-donate-buttons a:hover {
  background: #325692;
}

/* HAMBURGER ICON */
#lane-header .lane-menu-toggle {
  font-size: 24px;
  cursor: pointer;
  color: #fff;
  padding: 8px;
  flex: 0 0 auto;
  line-height: 1;
}

/* MOBILE DONATE BUTTON */
#lane-header .lane-mobile-donate {
  display: none;
  background: #fff;
  color: #325692 !important;
  padding: 6px 10px;
  border-radius: 4px;
  font-weight: 700;
  text-decoration: none;
  margin-right: 6px;
  white-space: nowrap;
}

/* Desktop sizing */
@media (min-width: 768px) {
  #lane-header { gap: 16px; }

  #lane-header .lane-logo { flex: 0 0 auto; }

  #lane-header .lane-donate-buttons {
    flex: 1 1 auto;
    justify-content: center;
    flex-wrap: wrap;
    gap: 8px;
  }

  #lane-header .lane-donate-buttons a {
    padding: 8px 18px;
    font-size: 14px;
  }
}

/* Wide desktop */
@media (min-width: 992px) {
  #lane-header .lane-donate-buttons {
    justify-content: space-between;
  }

  #lane-header .lane-donate-buttons a {
    flex: 1 1 0;
    text-align: center;
  }
}

/* Mobile breakpoint */
@media (max-width: 767px) {
  #lane-header .lane-donate-buttons {
    display: none !important;
  }

  #lane-header .lane-mobile-donate {
    display: inline-block !important;
  }

  /* Keep logo + donate + burger from squishing weirdly */
  #lane-header .lane-logo img { height: 38px; }
}

/* ============================================================
   NAV MENU
   IMPORTANT:
   Your JS currently toggles inline style display:block/none.
   This CSS supports BOTH:
   - inline display toggle, and
   - .lane-nav-open class
   ============================================================ */

#lane-nav-menu {
  position: fixed;
  top: 62px;
  left: 0;
  right: 0;
  background: #ffffff;
  box-shadow: 0 4px 14px rgba(0,0,0,0.2);
  z-index: 9998;
  display: none;
  padding: 12px 16px;
  width: 100%;
  max-width: 100%;
}

#lane-nav-menu a {
  display: block;
  padding: 10px 0;
  color: #325692 !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  border-bottom: 1px solid #eee;
  text-decoration: none;
}
#lane-nav-menu a:last-child { border-bottom: none; }

/* When open via class */
#lane-nav-menu.lane-nav-open { display: block; }

/* Desktop nav behavior */
@media (min-width: 992px) {
  #lane-nav-menu {
    padding: 8px 0;
    text-align: center;
  }

  /* If you want the nav always visible on desktop, uncomment:
  #lane-nav-menu { display: flex; }
  */

  #lane-nav-menu.lane-nav-open {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 24px;
  }

  #lane-nav-menu a {
    display: inline-block;
    padding: 8px 18px;
    border-bottom: none;
    border-right: 1px solid #eee;
    text-align: center;
  }

  #lane-nav-menu a:last-child { border-right: none; }
}


/* ============================================================
   MOBILE LAYOUT ENFORCERS
   These prevent the page from behaving like desktop on phones.
   ============================================================ */
@media (max-width: 767px) {
  /* Clamp any accidental fixed widths */
  .container {
    width: 100% !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* Make sure columns stack even if theme overrides Bootstrap */
  .col-sm-6,
  .col-sm-4,
  .col-md-6,
  .col-md-4 {
    width: 100% !important;
    float: none !important;
  }

  /* Reduce big headings */
  .section-heading {
    font-size: 24px !important;
  }

  p.lead {
    font-size: 16px !important;
  }
}


/* ============================================================
   BUTTONS
   ============================================================ */
.btn-primary {
  background-color: #325692 !important;
  border-color: #325692 !important;
  color: #FFFFFF !important;
}

.btn-primary:hover {
  background-color: #AB8232 !important;
  border-color: #AB8232 !important;
}

.btn-default {
  border-color: #325692 !important;
  color: #325692 !important;
  background: transparent !important;
}

.btn-default:hover {
  background-color: #AB8232 !important;
  color: #FFFFFF !important;
  border-color: #AB8232 !important;
}

/* Only force white text on primary buttons */
.btn-primary,
.btn-primary:visited,
.btn-primary:hover,
.btn-primary:focus {
  color: #FFFFFF !important;
}

/* Ensure outline/default buttons stay readable */
.btn-default,
.btn-default:visited,
.btn-default:focus {
  color: #325692 !important;
}


/* ============================================================
   TYPOGRAPHY / SECTION HEADINGS
   ============================================================ */
.section-heading {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 20px;
  letter-spacing: 0.04em;
}

.section-heading span {
  color: #325692;
}

.section p,
.section h1,
.section h2,
.section h3,
.section h4 {
  color: #333;
}


/* ============================================================
   INTRO SECTION (HOME)
   ============================================================ */
.home-intro {
  background: #FFFFFF !important;
  padding: 50px 0 20px;
  color: #333 !important;
}

/* Custom header pattern if used */
.section-header {
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 18px;
  color: #1F8A5B;
}

.section-header span {
  display: block;
  margin-top: 8px;
  letter-spacing: 0.10em;
  color: var(--accent-green) !important;
}


/* ============================================================
   ABOUT PREVIEW
   ============================================================ */
#about-preview {
  background: #F8F8FB !important;
  padding: 60px 0;
  color: #333 !important;
}

#about-preview img {
  border-radius: 8px;
}


/* ============================================================
   PRIORITIES PREVIEW
   ============================================================ */
#priorities-preview,
.home-priorities {
  background: #F8F8F8 !important;
  padding: 40px 0 60px;
  color: #333 !important;
}

.home-priorities .box-icon-1 .icon,
.home-priorities .icon {
  background: #AB8232 !important;
  border-radius: 50%;
  width: 46px;
  height: 46px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.home-priorities .box-icon-1 .icon i,
.home-priorities .icon i {
  color: #FFFFFF !important;
  font-size: 18px;
}

.home-priorities .title {
  color: #325692 !important;
  font-weight: 600;
}

.home-priorities .text { color: #325692; }

.home-priorities .readmore {
  color: #325692;
  font-weight: 500;
  font-size: 13px;
}


/* ============================================================
   ENDORSEMENTS (LIGHT)
   ============================================================ */
#endorsements,
.section.testimony {
  background: #FFFFFF !important;
  color: #333 !important;
  padding: 60px 0;
}

.testimonial-bubble-wrapper {
  display: flex;
  justify-content: center;
  align-items: center;
}

.testimonial-bubble {
  max-width: 640px;
  width: 100%;
  margin: 0 auto;
  background: #F8F8FB;
  border-radius: 16px;
  padding: 24px 26px 20px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.04);
  position: relative;
  text-align: center;
}

.testimonial-bubble::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  border-width: 10px 10px 0 10px;
  border-style: solid;
  border-color: #F8F8FB transparent transparent transparent;
}

.testimonial-avatar { margin-bottom: 12px; }

.testimonial-avatar img {
  width: 82px;
  height: 82px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #E8F7F1;
}

.testimonial-quote { position: relative; margin-bottom: 12px; }

.testimonial-quote .quote-icon {
  font-size: 18px;
  color: #BFE7D6;
  margin-bottom: 8px;
}

.testimonial-quote p {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
  margin: 0;
}

.testimonial-meta { margin-top: 8px; font-size: 13px; }

.testimonial-name {
  display: block;
  font-weight: 700;
  color: #1F8A5B;
}

.testimonial-location { display: block; color: #777; }

#endorsement-slider .owl-dots { margin-top: 20px; }

#endorsement-slider .owl-dot span {
  width: 8px;
  height: 8px;
  background: #DDD !important;
}

#endorsement-slider .owl-dot.active span {
  background: #1F8A5B !important;
}

@media (max-width: 767px) {
  .testimonial-bubble { padding: 20px 16px 18px; }
}


/* ============================================================
   SOCIAL MEDIA SCROLLER (HOME) OPTIONAL
   ============================================================ */
.home-social {
  background: #FFFFFF;
  padding: 40px 0;
}

.social-scroller {
  background: #F8F8FB;
  border-radius: 8px;
  padding: 15px;
  max-height: 360px;
  overflow-y: auto;
  box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.social-item {
  border-bottom: 1px solid #E2E2EE;
  padding-bottom: 10px;
  margin-bottom: 10px;
}

.social-item:last-child {
  border-bottom: none;
  margin-bottom: 0;
  padding-bottom: 0;
}

.social-meta {
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1F8A5B;
  margin-bottom: 4px;
}

.social-meta i { margin-right: 6px; }

.social-item p {
  font-size: 13px;
  color: #555;
  margin-bottom: 4px;
}

.social-item a {
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #1F8A5B;
}


/* ============================================================
   FOOTER
   ============================================================ */
.footer {
  background: #325692 !important;
  padding: 40px 0;
  border-top: none !important;
  text-align: center;
}

.footer-title {
  color: #FFFFFF;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 13px;
}

.footer,
.footer p,
.footer address {
  color: #FFFFFF;
  font-size: 13px;
}

.footer a { color: #FFFFFF !important; }

.footer a:hover {
  color: #AB8232 !important;
  text-decoration: underline;
}

.fcopy {
  border-top: 1px solid #FFFFFF;
  margin-top: 20px;
  padding-top: 15px;
}

/* Social icon layout */
.footer-sosmed,
.navbar-social {
  display: flex;
  gap: 10px;
  align-items: center;
  justify-content: flex-start;
}

.footer-sosmed .item,
.navbar-social .item {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: transparent;
  border: 1px solid rgba(199,181,242,0.35) !important;
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-sosmed .item i,
.navbar-social .item i {
  color: #ffffff !important;
  font-size: 16px;
}

.footer-sosmed .item:hover i,
.footer .item:hover i {
  color: #AB8232 !important;
}

.footer .footer-sosmed .item:hover {
  border-color: #FFFFFF !important;
  background: rgba(255,255,255,0.05) !important;
}

@media (max-width: 767px) {
  .footer-sosmed { justify-content: center !important; }
}


/* ============================================================
   GLOBAL LINK COLORS
   ============================================================ */
a, a:visited { color: #AB8232 !important; }
a:hover, a:focus {
  color: #6F7A85 !important;
  text-decoration: none;
}


/* ============================================================
   TIMELINE (IF USED)
   ============================================================ */
.timeline {
  position: relative;
  margin: 20px 0 0;
  padding-left: 45px;
}

.timeline::before {
  content: "";
  position: absolute;
  left: 18px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: linear-gradient(to bottom, #C89B3C, #1F8A5B);
  opacity: 0.5;
}

.timeline-item { position: relative; margin-bottom: 35px; }

.timeline-bullet {
  position: absolute;
  left: 11px;
  top: 4px;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: #fff;
  border: 3px solid #C89B3C;
  box-shadow: 0 0 0 3px rgba(200,155,60,0.3);
  z-index: 2;
}

.timeline-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  color: #C89B3C;
  margin-bottom: 5px;
  padding-left: 5px;
}

.timeline-title {
  font-size: 16px;
  font-weight: 700;
  margin-bottom: 5px;
  color: #2b1b3a;
  padding-left: 5px;
}

.timeline-body {
  font-size: 14px;
  color: #444;
  padding-left: 5px;
}

.back-to-top-wrapper {
  text-align: center;
  margin: 40px 0;
}


/* ============================================================
   VISUAL PRIORITIES GRID + MODAL
   ============================================================ */
.priorities-visual-wrap { margin-top: 18px; }

.priorities-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 20px;
}

.priority-card {
  border: 0;
  padding: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 6px 20px rgba(0,0,0,0.10);
  position: relative;
}

.priority-card img {
  width: 100%;
  height: auto;
  display: block;
  transform: scale(1.01);
}

.priority-card-overlay {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 12px 12px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.75), rgba(0,0,0,0.05));
}

.priority-card-title {
  color: #fff;
  font-weight: 900;
  font-size: 15px;
  letter-spacing: 0.02em;
}

.priority-card-sub {
  color: rgba(255,255,255,0.92);
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  margin-top: 4px;
}

.priority-card:focus-visible {
  outline: 3px solid #AB8232;
  outline-offset: 3px;
}

@media (max-width: 991px) {
  .priorities-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 600px) {
  .priorities-grid { grid-template-columns: 1fr; }
  .priority-card-title { font-size: 16px; }
}

/* Modal */
.priority-modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 10050;
}

.priority-modal.is-open { display: block; }

.priority-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.70);
}

.priority-modal-content {
  position: relative;
  max-width: 980px;
  width: calc(100% - 30px);
  margin: 80px auto 30px;
  background: #0b1220;
  border-radius: 14px;
  padding: 12px;
  box-shadow: 0 10px 35px rgba(0,0,0,0.35);
}

.priority-modal-content img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 10px;
}

.priority-modal-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 0;
  background: #ffffff;
  color: #111827;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}


/* ============================================================
   MEET PATRICIA PHOTO + BIO LAYOUT
   ============================================================ */
.polaroid-frame {
  background: #ffffff;
  padding: 10px 10px 18px;
  box-shadow: 0 6px 16px rgba(0,0,0,0.18);
  border-radius: 4px;
  border: 1px solid rgba(0,0,0,0.05);
  text-align: center;
  margin-bottom: 25px;
}

.polaroid-frame img {
  display: block;
  width: 100%;
  height: auto;
  border-radius: 3px;
}

.polaroid-caption {
  margin-top: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  color: #555;
}

.polaroid-small-note {
  font-size: 12px;
  color: #777;
  margin-top: 2px;
}

.polaroid-tilt-left { transform: rotate(-2.5deg); }
.polaroid-tilt-right { transform: rotate(2.5deg); }

.meet-photo-wrap { position: relative; }

@media (max-width: 767px) {
  .meet-photo-wrap { margin-top: 25px; }
}

.meet-bio p {
  font-size: 16px;
  line-height: 1.7;
  color: #444;
  margin-bottom: 18px;
}

.meet-bio h1,
.meet-bio h2,
.meet-bio h3 {
  color: #111827;
}
