/* Custom CSS to fix the left cutoff */
/* Apply border-box globally */
html {
  box-sizing: border-box;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  /* Ensure a minimum of 1rem (16px) padding on the sides of the browser window */
  padding-left: 1rem !important;
  padding-right: 1rem !important;

  /* Set a maximum width for all content and center it */
  max-width: 1400px;
  width: 100%; /* Ensure body doesn't overflow viewport */
  margin-left: auto !important;
  /* Centers the content block */
  margin-right: auto !important;
}

/* GLOBAL IMAGE RESET */
img {
  max-width: 100%;
  height: auto;
}



/* HEADER CONTAINER */
.header-bg {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;

  padding: 16px 24px;
  background-color: #f7fdd3;
  border-radius: 50px;
  /* Rounded rectangle */
  border: 1px solid #ddd;
  /* subtle border */
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
  /* soft shadow */

  margin-top: 5px;
  margin-bottom: 5px;
  /* center on page with some top/bottom spacing */
}

/* LOGO + TITLE */
.header-left {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: inherit;
  transition: opacity 0.2s ease;
}

.header-left:hover {
  opacity: 0.8;
  text-decoration: none;
}

/* LOGO */
.header-logo {
  height: 50px;
  width: 50px;
  border-radius: 50%;
  /* keeps logo round */
}

/* SITE TITLE */
.site-title {
  font-size: 22px;
  font-weight: 600;
  color: #333;
  white-space: nowrap;
}

/* Hamburger Toggle Button - Hidden on desktop */
.navbar-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1001;
  transition: transform 0.3s ease;
  order: 2; /* Place after logo on mobile */
}

.navbar-toggle:hover {
  transform: scale(1.1);
}

.navbar-toggle:active {
  transform: scale(0.95);
}

/* Hamburger icon bars */
.hamburger-icon {
  display: block;
  width: 25px;
  height: 3px;
  background-color: #333;
  border-radius: 2px;
  transition: all 0.3s ease;
}

/* Animate hamburger to X when active */
.navbar-toggle.active .hamburger-icon:nth-child(1) {
  transform: rotate(45deg) translate(6px, 6px);
}

.navbar-toggle.active .hamburger-icon:nth-child(2) {
  opacity: 0;
  transform: scale(0);
}

.navbar-toggle.active .hamburger-icon:nth-child(3) {
  transform: rotate(-45deg) translate(6px, -6px);
}

/* NAVIGATION */
.header-right {
  display: flex;
  align-items: center;
  gap: 16px;
}

/* RESPONSIVE MOBILE */
@media (max-width: 768px) {
  .header-bg {
    padding: 16px;
    position: relative;
    margin-top: 5px;
    margin-bottom: 5px;
  }

  .header-left {
    order: 1;
  }

  .site-title {
    font-size: 18px;
  }

  .header-logo {
    height: 40px;
    width: 40px;
  }

  /* Show hamburger button on mobile */
  .navbar-toggle {
    display: flex;
    order: 2;
  }

  .header-right {
    order: 3;
    width: 100%;
    margin-top: 0;
  }
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */

/* Reset and base styles */
.set-page {
  max-width: 100vw;
  margin: 0 auto;
  padding: 20px;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  line-height: 1.6;
  color: #333;
  background-color: #ffffff;
  /* Reserve minimum height to prevent CLS when content loads */
  min-height: 80vh;
}

/* Reduce top spacing for the first title on standard pages */
/* Reduce top spacing for the first title on standard pages */
.set-page > h1:first-child {
  margin-top: 0.5rem;
}

/* Section Card - replaces wp-block-group with background */
.section-card {
  background-color: #F6F6F6;
  border-radius: 12px;
  padding: 1.5rem;
  margin: 1.5rem 0;
}

.section-card ul {
  padding-left: 1.2rem;
}

/* Section Heading - replaces has-secondary-color */
.section-heading {
  color: #345C00;
  font-weight: 600;
}

/* Two Column Layout - replaces wp-block-columns */
.two-column-layout {
  display: flex;
  gap: 2rem;
  flex-wrap: wrap;
  margin-bottom: 1.75em;
}

@media (max-width: 768px) {
  .two-column-layout {
    flex-direction: column;
  }
}

/* Column Sidebar (25%) - replaces wp-block-column with flex-basis:25% */
.column-sidebar {
  flex: 0 0 25%;
  min-width: 200px;
}

/* Column Main (75%) - replaces wp-block-column with flex-basis:75% */
.column-main {
  flex: 1;
  min-width: 300px;
}

/* Fix alignment: remove top margin from the first element in the main column */
.column-main > :first-child {
  margin-top: 0;
}

@media (max-width: 768px) {
  .column-sidebar,
  .column-main {
    flex-basis: 100%;
  }
}

/* Spacer - replaces wp-block-spacer */
.spacer-sm { height: 1rem; }
.spacer-md { height: 2rem; }
.spacer-lg { height: 3rem; }

/* Text Utilities */
.text-center { text-align: center; }
.text-right { text-align: right; }
.text-small { font-size: 0.875em; }
.text-medium { font-size: 1.125em; }

/* Member Button */
.Memberbutton {
  text-align: center;
  margin: 2em 0;
}

.Memberbutton a {
  display: inline-block;
  padding: 1em 2em;
  background-color: #ff9c21;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  font-weight: bold;
  transition: background-color 0.3s;
  font-size: 1.1em;
}

.Memberbutton a:hover {
  background-color: #e6891a;
  text-decoration: none;
}

/* Discount Card */
.discount-card {
  border-radius: 15px;
  padding: 1.5rem;
  margin: 2em 0;
  background-color: #ffffff;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Offer Category Links */
.offer_cat {
  text-align: center;
  margin: 1em 0;
}

.offer_cat a {
  display: inline-block;
  padding: 0.75em 1.5em;
  background-color: #345C00;
  color: #ffffff;
  text-decoration: none;
  border-radius: 5px;
  transition: background-color 0.3s;
  font-weight: 500;
}

.offer_cat a:hover {
  background-color: #2a4a00;
  text-decoration: none;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */

/* Headings */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.3;
}

h1 {
  font-size: 2.5rem;
  margin-top: 0.5em; /* Reduced from default */
}

h2 {
  font-size: 2rem;
  margin-top: 1.5em;
  margin-bottom: 0.75em;
}

h3 {
  margin-top: 2em;
  margin-bottom: 1em;
  font-size: 1.5em;
}

@media (max-width: 768px) {
  h1 {
    font-size: 1.5rem; /* Approx 24px */
  }
  
  h2 {
    font-size: 1.3rem; /* Approx 21px */
  }

  h3 {
    font-size: 1.15rem; /* Approx 18px */
  }
}



/* Lists */
ol, ul {
  margin: 1em 0;
  padding-left: 2em;
}

li {
  margin: 0.5em 0;
}

/* Paragraphs */
p {
  margin: 1em 0;
  line-height: 1.6;
}

/* Links */
a {
  color: #345C00;
  text-decoration: underline;
}

a:hover {
  color: #ff9c21;
  text-decoration: underline;
}

/* Links in buttons should not have underline */
.Memberbutton a,
.offer_cat a,
.discount-card a {
  text-decoration: none;
}

/* Strong text */
strong {
  font-weight: 600;
}

/* Figure styles */
figure {
  margin: 1em 0;
}

/* Superscript */
sup {
  font-size: 0.8em;
  vertical-align: super;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .discount-card {
    padding: 1rem;
  }

  .Memberbutton a {
    padding: 0.75em 1.5em;
    font-size: 1em;
  }
}

/*navbar*/
.navbar {
  padding: 0; /* Remove padding since it's in header-right */
  position: relative;
}

/* LIST RESET */
.navbar-list {
  list-style: none;
  margin: 0;
  padding: 0;

  display: flex;
  gap: 24px;
  /* spacing between menu items */
  align-items: center;
}

/* MENU ITEM */
.navbar-item {
  margin: 0;
  padding: 0;
}

/* LINK STYLE */
.navbar-link {
  text-decoration: none;
  padding: 8px 4px;
  font-size: 16px;
  font-weight: 500;

  color: #333;
  transition: all 0.2s ease;
  position: relative;
}

.navbar-link:hover {
  text-decoration: none;
  /* ensure underline stays removed */
}

/* Underline hover (clean & classy) */
.navbar-link::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 0;
  height: 2px;
  background: #4fa503;
  /* your highlight color */
  transition: width 0.25s ease;
}

.navbar-link:hover::after {
  width: 100%;
}

/* ACTIVE LINK (optional if you set .IsCurrent) */
.navbar-link.active,
.navbar-link[aria-current="page"] {
  color: #0077cc;
  font-weight: 600;
}

/* RESPONSIVE MOBILE STACK */
@media (max-width: 768px) {
  .navbar {
    padding: 0;
    width: 100%;
  }

  /* Hide menu by default on mobile */
  .navbar-list {
    position: absolute;
    top: calc(100% + 8px); /* Position below header */
    left: 16px; /* Match header padding */
    right: 16px; /* Match header padding */
    width: auto;
    background-color: #f7fdd3;
    flex-direction: column;
    gap: 0;
    padding: 0;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease, padding 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 12px;
    z-index: 1000;
  }

  /* Show menu when active */
  .navbar-list.active {
    max-height: 500px;
    opacity: 1;
    padding: 12px 0;
  }

  .navbar-item {
    width: 100%;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
  }

  .navbar-item:last-child {
    border-bottom: none;
  }

  .navbar-link {
    display: block;
    padding: 14px 20px;
    width: 100%;
    font-size: 16px;
  }

  /* Remove the underline animation on mobile */
  .navbar-link::after {
    display: none;
  }

  /* Highlight on tap/hover */
  .navbar-link:active,
  .navbar-link:hover {
    background-color: rgba(79, 165, 3, 0.1);
  }
}

/* Only style the LinkTree menu item */
.navbar-link-external-link .navbar-link {
  padding: 8px 14px;
  border-radius: 8px;

  background: #0077cc;
  color: #ffffff !important;
  font-weight: 600;

  border: 2px solid #005fa3;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.10);

  transition: all 0.25s ease;
}

/* Hover effect */
.navbar-link-external-link .navbar-link:hover {
  background: #005fa3;
  border-color: #004c88;
  transform: translateY(-2px);
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.15);
}

/* Optional tap effect */
.navbar-link-external-link .navbar-link:active {
  transform: translateY(0);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.10);
}

/* ============================================
   INSTAGRAM MASONRY GRID STYLES
   ============================================ */

/* Container using CSS columns for masonry layout */
.masonry-wrapper {
  column-count: 3;
  column-gap: 16px;
  width: 100%;
  margin: 2rem 0;
  /* Reserve minimum height to prevent CLS when Instagram images load */
  min-height: 600px;
}

/* Individual masonry item */
.masonry-item {
  display: inline-block;
  width: 100%;
  margin-bottom: 16px;
  position: relative;
  border-radius: 12px;
  overflow: hidden;
  background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  break-inside: avoid;
}

.masonry-item:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

/* Reset link styling */
.masonry-item a {
  text-decoration: none;
  display: block;
  position: relative;
}

/* Image styling */
.masonry-item img {
  display: block;
  width: 100%;
  height: auto;
  transition: transform 0.3s ease;
}

.masonry-item:hover img {
  transform: scale(1.05);
}

/* Overlay that appears on hover */
.masonry-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 50%, rgba(0, 0, 0, 0) 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem;
  color: white;
}

.masonry-item:hover .masonry-overlay {
  opacity: 1;
}

/* Overlay content */
.overlay-content {
  margin-top: auto;
}

.masonry-overlay p {
  margin: 0 0 0.5rem 0;
  font-size: 0.9rem;
  line-height: 1.4;
  color: white;
}

.post-date {
  font-size: 0.85rem;
  color: rgba(255, 255, 255, 0.8);
  font-weight: 500;
}

/* Interaction stats */
.overlay-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0.5rem;
}

.interaction-stats {
  display: flex;
  gap: 12px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: white;
}

.stat-icon {
  font-size: 1rem;
}

/* Media type badges */
.media-badge {
  position: absolute;
  top: 12px;
  right: 12px;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  color: white;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  z-index: 2;
}

.video-badge {
  background: rgba(220, 38, 38, 0.9);
}

.carousel-badge {
  background: rgba(59, 130, 246, 0.9);
}

/* Empty state */
.empty-state {
  text-align: center;
  padding: 4rem 2rem;
  background: #f9fafb;
  border-radius: 12px;
  margin: 2rem 0;
}

.empty-state p {
  font-size: 1.1rem;
  color: #6b7280;
  margin: 0;
}

/* Responsive breakpoints */
@media (max-width: 800px) {
  .masonry-wrapper {
    column-count: 2;
    column-gap: 12px;
  }

  .masonry-item {
    margin-bottom: 12px;
  }
}

/* Mobile: Switch to horizontal scrollable carousel */
@media (max-width: 768px) {
  .masonry-wrapper {
    display: flex;
    flex-direction: row;
    overflow-x: auto;
    overflow-y: hidden;
    column-count: unset;
    column-gap: unset;
    gap: 1rem;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    padding: 1rem 0;
    margin: 1rem 0;
  }

  .masonry-wrapper::-webkit-scrollbar {
    height: 6px;
  }

  .masonry-wrapper::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
  }

  .masonry-wrapper::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 10px;
  }

  .masonry-wrapper::-webkit-scrollbar-thumb:hover {
    background: #555;
  }

  .masonry-item {
    flex: 0 0 85%;
    max-width: 85%;
    scroll-snap-align: center;
    margin-bottom: 0;
    break-inside: auto;
  }

  /* Always show overlay on mobile for better visibility */
  .masonry-overlay {
    opacity: 1;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.85) 0%, rgba(0, 0, 0, 0.3) 60%, rgba(0, 0, 0, 0) 100%);
  }

  .masonry-overlay p {
    font-size: 0.85rem;
  }
}

/* Accessibility: Keyboard focus states */
.masonry-item a:focus {
  outline: 3px solid #0077cc;
  outline-offset: 2px;
}

.masonry-item a:focus-visible {
  outline: 3px solid #0077cc;
  outline-offset: 2px;
}

/* Accessibility: Reduced motion */
@media (prefers-reduced-motion: reduce) {

  .masonry-item,
  .masonry-item img,
  .masonry-overlay {
    transition: none;
  }

  .masonry-item:hover img {
    transform: none;
  }

  .masonry-item:hover {
    transform: none;
  }
}
/* ============================================
   TABS & POSTS STYLING
   ============================================ */
/* Posts container */
.posts-container {
  max-width: 100%;
  margin: 0 auto;
  padding: 1.25rem 1.25rem 2rem; /* Top: 1.25rem, Sides: 1.25rem (match set-page), Bottom: 2rem */
}

/* Tabs styling */
.tabs-nav {
  display: flex;
  gap: 0;
  margin-bottom: 2rem;
  border-bottom: 2px solid #eee;
}

.tab-btn {
  padding: 12px 24px;
  background: transparent;
  border: none;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 500;
  color: #444;
  transition: all 0.2s ease;
  text-decoration: none; /* Ensure links don't have default underline */
}

.tab-btn:hover {
  color: #e19c38;
}

.tab-btn.active {
  color: #e19c38;
  border-bottom-color: #e19c38;
}

/* Posts list styling */
.posts-list {
  column-count: 3;
  column-gap: 2rem;
  margin: 0;
  padding: 0;
}

.post-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border: 1px solid #eee;
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  margin-bottom: 2rem;
  break-inside: avoid;
}

.post-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.post-image {
  width: 100%;
  height: auto;
  flex-shrink: 0;
  overflow: hidden;
  background-color: #f0f0f0; /* flexible placeholder */
}

.post-image a {
  display: block;
  width: 100%;
  height: auto;
}

.post-image img {
  width: 100%;
  height: auto;
  object-fit: contain; /* Changed from cover to contain to ensure full image visibility */
  display: block;
  transition: transform 0.5s ease;
}

.post-card:hover .post-image img {
  transform: scale(1.05);
}



.post-content {
  flex: 1;
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
}

.post-title {
  margin: 0 0 0.75rem;
  font-size: 1.25rem;
  line-height: 1.4;
  font-weight: 700;
}

.post-title a {
  color: #333;
  text-decoration: none;
  background-image: linear-gradient(120deg, #e19c38 0%, #e19c38 100%);
  background-repeat: no-repeat;
  background-size: 0% 0.1em;
  background-position: 0 100%;
  transition: background-size 0.25s ease-in;
}

.post-title a:hover {
  background-size: 100% 0.1em;
  color: #333;
}

.post-meta {
  font-size: 0.85rem;
  color: #888;
  margin-bottom: 1rem;
}

.post-summary {
  font-size: 0.95rem;
  color: #555;
  line-height: 1.6;
  margin-bottom: 1.5rem;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  flex-grow: 1; /* push footer down */
}

.read-more {
  display: inline-block;
  color: #e19c38;
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
  margin-top: auto; /* align to bottom if using flex column on content */
  align-self: flex-start;
}

.read-more:hover {
  text-decoration: none;
  color: #c68528;
}

@media (max-width: 900px) {
  .posts-list {
    column-count: 2;
  }
}

@media (max-width: 600px) {
  .posts-list {
    column-count: 1;
    gap: 1.5rem;
  }

  .post-image {
    height: auto; /* Keep consistent height based on image */
  }
}

/* Pagination styling */
.pagination {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 40px;
}

.page-link {
  padding: 8px 16px;
  border: 1px solid #ddd;
  border-radius: 4px;
  text-decoration: none;
  color: #333;
  transition: all 0.2s;
}

.page-link:hover {
  background: #e19c38;
  color: white;
  border-color: #e19c38;
}


/* Back to Top Button */
.back-to-top {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding: 0.5rem 1rem;
  background: #f7fdd3;
  border-radius: 8px;
  font-size: 0.85rem;
  color: #345C00;
  text-decoration: none; /* Ensure no underline */
}

.back-to-top:hover {
  background: #e8f5e9;
  text-decoration: none;
  color: #345C00;
}

/* ============================================
   SITE FOOTER
   ============================================ */
.site-footer {
  background-color: #ffffff;
  color: #333;
  padding: 4rem 1.5rem;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  border-top: 1px solid #eaeaea;
  margin-top: 4rem; /* Separation from content */
}

.footer-container {
  display: grid;
  grid-template-columns: 1fr;
  gap: 3rem;
  max-width: 1200px;
  margin: 0 auto;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.footer-logo-img {
  height: 60px;
  width: auto;
  margin-bottom: 0.5rem;
}



.footer-tagline {
  font-size: 0.95rem;
  color: #666;
  line-height: 1.5;
}

.footer-copyright {
  font-size: 0.85rem;
  color: #888;
  margin-top: auto;
}

.footer-socials {
  display: flex;
  gap: 1.25rem;
  margin-top: 0.5rem;
}

.footer-social-link {
  color: #666;
  transition: all 0.2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.footer-social-link svg {
  width: 24px;
  height: 24px;
  fill: currentColor;
}

.footer-social-link:hover {
  color: #000;
  transform: translateY(-2px);
}

.footer-nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 2.5rem;
}

.footer-nav-col {
  display: flex;
  flex-direction: column;
  gap: 0.8rem;
}

.footer-heading {
  font-size: 1rem;
  font-weight: 700;
  color: #111;
  margin-bottom: 0.75rem;
  letter-spacing: 0.02em;
}

.footer-link {
  color: #555;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.15s ease;
}

.footer-link:hover {
  color: #000;
  text-decoration: underline;
}

/* Responsive */
@media (min-width: 768px) {
  .footer-container {
    grid-template-columns: 1fr 2fr; /* Brand | Nav */
    gap: 5rem;
  }

  .footer-nav {
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
  }
  
  .footer-copyright {
      margin-top: 2rem; 
  }
}

@media (min-width: 500px) and (max-width: 767px) {
    .footer-nav {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   BUTTON STYLES
   ============================================ */
.btn {
  display: inline-block;
  padding: 0.75em 1.5em;
  border-radius: 5px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  cursor: pointer;
  border: none;
  line-height: normal;
}

.btn:hover {
  text-decoration: none;
  transform: translateY(-2px);
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn-primary {
  background-color: #345c00;
  color: #ffffff !important;
}

.btn-primary:hover {
  background-color: #2a4a00;
}

/* ============================================
   DONATION MODAL STYLES
   ============================================ */
.donation-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  z-index: 2000;
  display: flex;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
  animation: fadeIn 0.3s ease;
}

.donation-modal {
  background-color: #fff;
  width: 90%;
  max-width: 450px;
  border-radius: 16px;
  padding: 2rem;
  position: relative;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
  transform: translateY(0);
  animation: slideUp 0.3s ease;
  text-align: center;
}

.close-modal-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  background: none;
  border: none;
  font-size: 28px;
  line-height: 1;
  color: #666;
  cursor: pointer;
  padding: 5px;
  transition: color 0.2s;
}

.close-modal-btn:hover {
  color: #000;
}

.modal-header h3 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  color: #345C00;
}

.modal-header p {
  color: #666;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
}

.donation-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 1.5rem;
}

.donation-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  font-size: 1.1rem;
  font-weight: 600;
  color: #345C00;
  background-color: #f7fdd3;
  border: 2px solid #e1eeb0;
  border-radius: 8px;
  cursor: pointer;
  text-decoration: none !important;
  transition: all 0.2s ease;
}

.donation-btn:hover {
  background-color: #345C00;
  color: #fff;
  border-color: #345C00;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(52, 92, 0, 0.2);
}

.custom-btn {
  grid-column: span 2;
  background-color: #fff;
  border-color: #ddd;
  color: #333;
}

.custom-btn:hover {
  background-color: #333;
  color: #fff;
  border-color: #333;
}

.secure-note {
  font-size: 0.8rem;
  color: #888;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
}

@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes slideUp {
  from { transform: translateY(20px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

/* Specific Style for the Trigger Button on the page */
.btn-donate-trigger {
  display: inline-block;
  background-color: #345C00;
  color: #fff !important;
  font-size: 1.2rem;
  font-weight: bold;
  padding: 12px 30px;
  border-radius: 50px;
  text-decoration: none;
  cursor: pointer;
  box-shadow: 0 4px 15px rgba(52, 92, 0, 0.3);
  transition: all 0.3s ease;
  border: none;
}

.btn-donate-trigger:hover {
  background-color: #2a4a00;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(52, 92, 0, 0.4);
}
