/* Astra main header */
.main-header-bar {
  position: fixed;
  top: 0;
  width: 100%;
  z-index: 9999;
  background-color: transparent;
  transition: background-color 0.3s ease, box-shadow 0.3s ease;
}

/* When scrolled */
.main-header-bar.scrolled {
  background-color: #ffff;
  box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

/* Offset page content */
.ast-separate-container #content,
.ast-plain-container #content {
  margin-top: 80px;
}


/* =========================
   FOOTER BUTTONS – SIDE + SMALL
   ========================= */

.footer-buttons {
  display: flex;
  justify-content: flex-start;; /* RIGHT side */
  gap: 10px;
  flex-wrap: wrap;
  margin-top: 10px;
}

/* Smaller buttons */
.footer-buttons .footer-btn {
  padding: 8px 16px;
  font-size: 15px;
  font-weight: 600;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.25s ease;
  display: inline-block;
}

/* Primary button */
.footer-buttons .footer-btn.primary {
  background-color: #2e7d32;
  color: #ffffff;
  box-shadow: 0 4px 10px rgba(46, 125, 50, 0.25);
}

.footer-buttons .footer-btn.primary:hover {
  background-color: #256428;
}

/* Secondary button */
.footer-buttons .footer-btn.secondary {
  background-color: transparent;
  color: #2e7d32;
  border: 1.5px solid #2e7d32;
}

.footer-buttons .footer-btn.secondary:hover {
  background-color: #2e7d32;
  color: #ffffff;
}

/* Mobile: center buttons */
@media (max-width: 768px) {
  .footer-buttons {
    justify-content: flex-start;
  }
}



.gop-container {
  width: 100%;
  padding: 22px 40px;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
}

.gop-left {
  margin-right: auto; /* THIS pushes the other side */
}

.gop-right {
  display: flex;
  justify-content: flex-end;
}

.gop-title {
  font-size: 16px;
  font-weight: 700;
  color: #0b7d3e;
}

.gop-tagline {
  font-size: 14px;
  color: #0b7d3e;
  margin-top: 3px;
}

.gop-right a {
  margin-left: 30px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  color: #1f4fff;
  letter-spacing: 0.5px;
}

/* Mobile Responsive */
@media (max-width: 768px) {
  .gop-footer-inner {
    flex-direction: column;
    text-align: center;
  }

  .gop-col {
    width: 100%;
    margin-bottom: 20px;
  }
}
/* MOBILE FOOTER OPTIMIZATION */
@media (max-width: 768px) {
  /* Main footer container: stack everything vertically */
  .footer {
    display: flex;
    flex-direction: column;
    align-items: center; /* center content */
    text-align: center; /* center text */
    padding: 20px 16px; /* reduce padding for mobile */
  }

  /* Logo + tagline */
  .footer__logo-tagline {
    margin-bottom: 16px;
  }

  /* Footer navigation links */
  .footer__links {
    display: flex;
    flex-direction: column; /* stack links vertically */
    gap: 10px; /* spacing between links */
    margin-bottom: 16px;
  }

  .footer__links a {
    font-size: 16px; /* readable size */
    line-height: 1.5;
  }

  /* Back-to-top button */
  .back-to-top {
    position: fixed;
    right: 12px;
    bottom: 12px;
    width: 36px;
    height: 36px;
  }

  /* Optional: tagline smaller on mobile */
  .footer__tagline {
    font-size: 14px;
    line-height: 1.4;
    margin-top: 4px;
  }
}

/* Remove WordPress Share & Like buttons */
.sharedaddy,
.sd-sharing,
.jetpack-likes-widget-wrapper {
  display: none !important;
}

.scroll-text-wrapper {
  overflow: hidden;
  width: 100%;
  background: transparent;
}

.scroll-text {
  display: flex;
  width: max-content;
  animation: scroll-left 15s linear infinite;
}

.scroll-text span {
  white-space: nowrap;
  font-size: 32px;
  font-weight: 500;
  padding-right: 60px;
  color: #2f4f3f; /* change color if needed */
}
.gop-left { margin-right: auto; }
.gop-right { margin-left: auto; }

/* FULL WIDTH FOOTER */
.gop-footer {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  background: #ffffff;
 
}

/* GRID LAYOUT (prevents collapse) */
.gop-grid {
  display: grid;
  grid-template-columns: 65% 35%;
  align-items: start;
}

/* LEFT */
.gop-title {
  font-size: 18px;
  font-weight: 700;
  color: #0b7d3e;
}

.gop-tagline {
  font-size: 14px;
  margin-top: 4px;
}

.gop-copy {
  font-size: 12px;
  margin-top: 6px;
  color: #0b7d3e;
}

/* RIGHT */
.gop-right {
  display: flex;
  justify-content: flex-end;
  gap: 28px;
}

.gop-right a {
  font-size: 13px;
  font-weight: 700;
  color: #1f4fff;
  text-decoration: none;
  white-space: nowrap;
}

/* MOBILE FIX */
@media (max-width: 768px) {

  .gop-grid {
    grid-template-columns: 60% 40%;
    gap: 12px;
  }

  .gop-right {
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
  }

  .gop-title { font-size: 14px; }
  .gop-tagline { font-size: 12px; }
  .gop-copy { font-size: 10px; }
  .gop-right a { font-size: 12px; }
}

/* Force footer full width on mobile – break Astra containers */
@media (max-width: 768px) {

  .site-footer,
  .ast-footer-overlay,
  .ast-container,
  .ast-row,
  .footer,
  .widget-area,
  .ast-small-footer,
  .ast-small-footer-wrap,
  .ast-small-footer-section {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .gop-footer {
    width: 100% !important;
    margin: 0 !important;
  }

  .gop-grid {
    width: 100% !important;
    grid-template-columns: 65% 35% !important;
  }
}
/* FORCE FOOTER FULL WIDTH — override Astra mobile columns */
@media (max-width: 768px) {

  .site-footer,
  .ast-footer-overlay,
  .ast-container,
  .ast-row,
  .footer,
  .widget-area,
  .ast-small-footer,
  .ast-small-footer-wrap,
  .ast-small-footer-section,
  .ast-footer-row,
  .ast-footer-row-inner {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .gop-footer,
  .gop-grid {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* FORCE FOOTER FULL WIDTH — override Astra mobile columns */
@media (max-width: 768px) {

  .site-footer,
  .ast-footer-overlay,
  .ast-container,
  .ast-row,
  .footer,
  .widget-area,
  .ast-small-footer,
  .ast-small-footer-wrap,
  .ast-small-footer-section,
  .ast-footer-row,
  .ast-footer-row-inner {
    width: 100vw !important;
    max-width: 100vw !important;
    margin-left: calc(-50vw + 50%) !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .gop-footer,
  .gop-grid {
    width: 100% !important;
    max-width: 100% !important;
  }
}

.gop-title {
  font-weight: 700;
  color: #0b7d3e;
  font-size: 18px;
}

.gop-tagline {
  font-size: 14px;
  margin-top: 4px;
}

.gop-copy {
  font-size: 12px;
  margin-top: 6px;
  color: #0b7d3e;
}

.gop-link {
  font-weight: 700;
  color: #1f4fff;
  text-decoration: none;
  display: block;
  text-align: right;
  margin-bottom: 8px;
}
