/* =======================
   HEADER
   ======================= */
.main-navigation .sub-menu {
    background-color: #ffffff !important;
}
.main-navigation .sub-menu a {
    color: #1b1b1b !important;
}
/* ----------------------------------------------------
   PREMIUM DROPDOWN MENU — Combines styles 1 + 2 + 3
----------------------------------------------------- */

/* Dropdown container */
.main-navigation .sub-menu {
    background: #e6f5e6; /* soft green background */
    border-radius: 14px;
    padding: 12px 0;
    box-shadow: 0 14px 28px rgba(0,0,0,0.12);
    animation: dropdownFade 0.25s ease-out;
    overflow: hidden;
    border-top: 3px solid #6fd477; /* Accent border (Option 2) */
}

/* Dropdown links */
.main-navigation .sub-menu a {
    padding: 15px 26px;
    font-size: 15px;
    color: #1b1b1b;
    position: relative;
    display: block;
    transition: all 0.28s ease;
}

/* Hover effects: slide + soft background (Option 1 + Option 3) */
.main-navigation .sub-menu a:hover {
    background: rgba(0,0,0,0.06);
    padding-left: 34px; /* slide effect from Option 3 */
}

/* Left highlight bar (Option 3) */
.main-navigation .sub-menu a:hover::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 4px;
    background: #55a955; /* strong green */
    border-radius: 0 4px 4px 0;
}

/* Optional: add a subtle divider between items (Option 2) */
.main-navigation .sub-menu li:not(:last-child) a {
    border-bottom: 1px solid rgba(0,0,0,0.05);
}

/* Fade animation */
@keyframes dropdownFade {
    from {
        opacity: 0;
        transform: translateY(-6px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}





/* Base desktop header */
.site-header {
  background-color: #ffffff;
  text-align: center;
}

.site-header .site-branding,
.site-header .site-logo,
.site-header .custom-logo-link {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}

.site-header .site-branding img {
  margin: 0 auto;
  display: block;
  float: none;
}

.site-header .main-navigation {
  text-align: center;
}

.site-header .main-navigation ul {
  display: inline-block;
  margin: 0 auto;
  padding: 0;
}

/* Mobile/tablet header */
@media (max-width: 768px) {
  #masthead .col-full {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 10px 20px;
  }

  .site-header .site-branding {
    margin: 0 0 15px 0;
  }

  .menu-toggle {
    display: block;
    margin: 0 auto 0 0;
  }

  .main-navigation ul {
    display: none; /* hide desktop menu */
  }
}


/* =======================
   JOURNEY SECTION
   ======================= */
.journey-section {
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  margin-right: calc(-50vw + 50%);
  background: #e6f5e6;
  margin-top: -70px;
  padding: 80px 0;
  box-sizing: border-box;
  overflow: hidden;
}

/* main flex layout */
.journey-content {
  display: flex;
  justify-content: space-between;
  align-items: stretch;
  gap: 60px;
  max-width: 100%;
  margin: 0;
  padding: 0 0 0 80px;
  box-sizing: border-box;
  min-height: 600px;
}

/* text side - left aligned */
.journey-text {
  flex: 0 0 600px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
  max-width: 600px;
}

/* image side - right aligned */
.journey-image {
  flex: 1;
  display: flex;
  margin: -80px calc(-50vw + 50%) -80px 0; /* breaks out to right edge */
  margin-right: calc(-50vw + 50%); /* ensures it reaches the edge */
}

.journey-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 0;
}
/* button group - left aligned */
.button-group {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0; /* remove gap completely */
}

.button-group a {
  display: block;
  line-height: 0; /* removes extra space around images in links */
  margin-bottom: 10px; /* controlled spacing */
}

.button-group a:last-child {
  margin-bottom: 0; /* no margin on last button */
}

.button-group img {
  width: 220px;
  height: auto;
  display: block;
  transition: transform 0.2s ease;
}

.button-group img:hover {
  transform: scale(1.05);
}

/* =======================
   RESPONSIVE STYLES
   ======================= */
@media (max-width: 1024px) {
  .journey-section {
    padding: 60px 0;
  }
  
  .journey-content {
    flex-direction: column;
    align-items: center;
    gap: 40px;
    padding: 0 40px;
  }
  
  .journey-text {
    align-items: center;
    text-align: center;
    width: 100%;
  }
  
  .journey-text h1, 
  .journey-text h4, 
  .journey-text p {
    text-align: center;
    max-width: 100%;
  }
  
  .button-group {
    align-items: center;
  }
  
  .journey-image {
    justify-content: center;
    width: 100%;
    max-width: 600px;
  }
  
  .journey-image img {
    width: 100%;
  }
}

@media (max-width: 768px) {
  .journey-content {
    padding: 0 20px;
  }
  
  .journey-text h1 {
    font-size: 2rem;
  }
  
  .journey-text h4 {
    font-size: 1.1rem;
  }
  
  .button-group img {
    width: 200px;
  }
}



/* =======================
   CONTACT FORM
   ======================= */

.contact-form {
  max-width: 1000px;
  margin: 5px auto 60px auto;
}

.contact-form h3 {
  margin: 40px 0 20px 0;
}

#jp-form-fbc0a1f02755a2ea0f257102d49fcf2ddde10dfc {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
}

#jp-form-fbc0a1f02755a2ea0f257102d49fcf2ddde10dfc label {
  display: block;
  font-weight: 600;
  margin-bottom: 6px;
  color: #333 !important;
}

#jp-form-fbc0a1f02755a2ea0f257102d49fcf2ddde10dfc input[type="text"],
#jp-form-fbc0a1f02755a2ea0f257102d49fcf2ddde10dfc input[type="email"],
#jp-form-fbc0a1f02755a2ea0f257102d49fcf2ddde10dfc textarea {
  width: 100% !important;
  padding: 10px !important;
  margin-bottom: 16px !important;
  border: 1px solid #ccc !important;
  border-radius: 6px !important;
  font-size: 16px !important;
}

#jp-form-fbc0a1f02755a2ea0f257102d49fcf2ddde10dfc .grunion-radio-options {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

#jp-form-fbc0a1f02755a2ea0f257102d49fcf2ddde10dfc input[type="submit"] {
  background: #0073aa !important;
  color: #fff !important;
  border: none !important;
  padding: 12px 20px !important;
  border-radius: 6px !important;
  font-size: 16px !important;
  cursor: pointer !important;
}

#jp-form-fbc0a1f02755a2ea0f257102d49fcf2ddde10dfc input[type="submit"]:hover {
  background: #005f8d !important;
}


/* =======================
   LOCATION BUTTONS
   ======================= */

body.home .location-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  max-width: 1200px;
  margin: 0 auto;
}

body.home .location-buttons a {
  flex: 0 0 23%; /* 4 per row desktop */
  text-align: center;
}

body.home .location-buttons img {
  width: 100%;
  max-width: 250px;
  border-radius: 12px;
  transition: transform 0.2s ease;
}

body.home .location-buttons a:hover img {
  transform: scale(1.05);
}

/* Tablet - 3 per row */
@media (max-width: 992px) {
  body.home .location-buttons a {
    flex: 0 0 30%;
  }
}

/* Mobile - 2 per row */
@media (max-width: 768px) {
  body.home .location-buttons a {
    flex: 0 0 45%;
  }
}

/* Small mobile - 1 per row */
@media (max-width: 480px) {
  body.home .location-buttons a {
    flex: 0 0 100%;
    max-width: 250px;
    margin: 0 auto;
  }
}


/* =======================
   OTHER BUTTONS (GLOBAL)
   ======================= */

.other-buttons {
  display: flex !important;
  justify-content: center;
  flex-wrap: wrap;
  gap: 15px;
  margin: 30px auto;
  max-width: 1200px;
}

.other-buttons a {
  flex: 1 1 22%;
  max-width: 22%;
  text-align: center;
  display: flex;
  justify-content: center;
}

.other-buttons a img {
  width: 100%;
  height: auto;
  transition: transform 0.2s ease;
}

.other-buttons a:hover img {
  transform: scale(1.05);
}

/* Tablet */
@media (max-width: 768px) {
  .other-buttons a {
    flex: 1 1 45%;
    max-width: 45%;
  }
}

/* Mobile */
@media (max-width: 480px) {
  .other-buttons a {
    flex: 1 1 90%;
    max-width: 90%;
  }
}

/* =======================
   SERVICES
   ======================= */
/* Services page two-column grid (text left, image right) */
.services-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

.services-grid {
  display: flex;
  gap: 40px;
  align-items: flex-start;
  margin-bottom: 60px; /* space below grid before full-width section */
}

.services-text {
  flex: 2;
  text-align: left;
}

.services-image {
  flex: 1;
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.services-image img {
  max-width: 100%;
  max-height: 390px;
  object-fit: cover;
  border-radius: 6px;
}

/* Full-width Semaglutide section (includes chart) */
.semaglutide-full {
  width: 100%;
  margin-top: 20px;
  padding: 24px;
  box-sizing: border-box;
}

/* Highlight box styling */
.highlight-box {
  border: 2px solid rgba(60, 215, 107, 1);
  border-radius: 8px;
  background-color: rgba(238, 242, 203, 0.3);
  padding: 16px 20px; /* slightly less vertical padding */
  line-height: 1.4;   /* tighter spacing for multiline text */
}

/* Chart image inside bordered box */
.semaglutide-chart {
  margin-top: 30px;
  text-align: center;
}

.semaglutide-chart img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
}

/* Responsive: stack on smaller screens */
@media (max-width: 768px) {
  .services-grid {
    flex-direction: column;
  }

  .services-image {
    margin-top: 20px;
  }
}
.purple-highlight {
  background-color: rgba(130, 108, 246, 0.25);
  padding: 2px 4px;
  border-radius: 4px;
}

/* Base desktop footer */
.site-footer {
  background-color: rgba(238,242,203,0.7);
  text-align: center;
}

/* =======================
   B VITAMIN INJECTIONS
   ======================= */
.benefit-icon {
  width: 50px;        /* Adjust the size as needed */
  height: 50px;
  object-fit: contain; /* Keeps proportions correct */
}
.cards-container {
  display: flex;          /* put cards in a row */
  flex-direction: row;    /* horizontal direction */
  gap: 16px;              /* space between cards */
  overflow-x: auto;       /* allow horizontal scrolling on small screens */
}

.card {
  flex: 0 0 auto;         /* prevents shrinking, keeps width fixed */
  width: 160px;           /* adjust card width */
  background: white;
  padding: 12px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

.benefit-icon {
  width: 32px;            /* control icon size */
  height: 32px;
  margin-bottom: 8px;
  object-fit: contain;
}
.vitamin-injections {
  margin-top: 60px; /* or any spacing you want */
}
/* Make all icons larger and apply green color filter */
.benefit-icon {
  width: 60px;          /* increase size */
  height: 60px;
  margin-bottom: 10px;
  object-fit: contain;
  filter: brightness(0) saturate(100%) invert(50%) sepia(88%) saturate(319%) hue-rotate(74deg) brightness(95%) contrast(90%);
  /* adjust filter to match your green tone */
}

/* Card layout (keeps them side by side) */
.cards-container {
  display: flex;
  flex-wrap: wrap;       /* allows wrapping on smaller screens */
  justify-content: center;
  gap: 20px;             /* spacing between cards */
  margin-bottom: 40px;   /* spacing between sections */
}

/* Each individual card */
[class^="card-"] {
  flex: 0 0 auto;
  width: 160px;
  background: white;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[class^="card-"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Section headings */
h3.b-vitamins-heading {
  font-size: 1.4rem;
  color: #2b7a4b;
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
}
.benefit-icon {
  display: block;
  margin: 0 auto 10px auto; /* centers horizontally, adds bottom space */
}
/* Sermorelin cards layout (same as the others) */
.cards-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 20px;
  margin-bottom: 40px;
}

/* Sermorelin individual cards */
[class^="card-"] {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex: 0 0 auto;
  width: 160px;
  background: white;
  padding: 14px;
  border-radius: 12px;
  text-align: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

[class^="card-"]:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 10px rgba(0,0,0,0.15);
}

/* Sermorelin icon style (same as benefit-icon) */
.benefit-icon,
.semorelin-benefit-icon {
  width: 60px;
  height: 60px;
  margin-bottom: 10px;
  object-fit: contain;
  display: block;
  margin-left: auto;
  margin-right: auto;
  filter: brightness(0) saturate(100%) invert(50%) sepia(88%) saturate(319%) hue-rotate(74deg) brightness(95%) contrast(90%);
}

/* ---------------------------------------------------
   Section headings (kept from your original CSS)
   --------------------------------------------------- */
h3 {
  font-size: 1.4rem;
  color: #2b7a4b; /* your green */
  text-align: center;
  margin-top: 40px;
  margin-bottom: 20px;
  font-weight: 700;
}

/* ---------------------------------------------------
   Grid: award image (left) + award CTA (right),
         then full-width Open CTA on second row
   HTML expected order (children of .cta-grid):
     1: .cta-image (award image)
     2: .cta-section.cta-award (award CTA)
     3: .cta-section.cta-open (open CTA that spans both columns)
   --------------------------------------------------- */
.cta-grid {
  display: grid;
  grid-template-columns: 1fr 1fr; /* left column, right column */
  grid-auto-rows: auto;
  gap: 30px;
  align-items: center;
  margin: 40px 0;
}

/* Place items explicitly (defensive in case HTML order changes) */
.cta-grid > .cta-image:first-of-type {
  grid-column: 1 / 2; /* left column */
  grid-row: 1;
}
.cta-grid > .cta-section.cta-award {
  grid-column: 2 / 3; /* right column */
  grid-row: 1;
}
.cta-grid > .cta-section.cta-open {
  grid-column: 1 / -1; /* span both columns */
  grid-row: 2;
}

/* Make mobile stack cleanly */
@media (max-width: 768px) {
  .cta-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  /* Natural flow: image -> award CTA -> open CTA */
  .cta-grid > .cta-image:first-of-type,
  .cta-grid > .cta-section.cta-award,
  .cta-grid > .cta-section.cta-open {
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    width: 100%;
    max-width: 760px;
    box-sizing: border-box;
  }

  /* Reduce padding for smaller screens */
  .cta-section {
    padding: 28px 18px;
  }

  .cta-image {
    padding: 12px;
  }
}

/* ---------------------------------------------------
   CTA SECTION (kept and merged with your styles)
   --------------------------------------------------- */
.cta-section {
  background: linear-gradient(135deg, #6fd477 0%, #5bc463 100%);
  color: #fff;
  text-align: center;
  padding: 40px 20px;
  border-radius: 16px;
  box-shadow: 0 4px 15px rgba(111, 212, 119, 0.3);
  min-height: 160px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

/* Award CTA - updated background color */
.cta-section.cta-award {
  background: linear-gradient(135deg, #6fd477 0%, #5bc463 100%);
  box-shadow: 0 6px 18px rgba(255, 211, 107, 0.25);
  color: #fff;
}


/* Open CTA - keep green brand gradient (this one spans full width) */
.cta-section.cta-open {
  background: linear-gradient(135deg, #6fd477 0%, #5bc463 100%);
  color: #fff;
}

/* CTA Titles */
.cta-section h4 {
  margin: 0 0 20px 0;
  font-size: 1.5rem;
  font-weight: 600;
  line-height: 1.4;
}

/* CTA Button (kept from original) */
.cta-section a {
  display: inline-block;
  background: #fff;
  color: #6fd477;
  font-weight: 700;
  font-size: 1.2rem;
  text-decoration: none;
  padding: 16px 40px;
  border-radius: 50px;
  margin-top: 10px;
  transition: all 0.28s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Make the award CTA button color feel gold */
.cta-section.cta-award a {
  color: #6fd477;
}

/* Hover state + small lift (kept) */
.cta-section a:hover {
  background: #f0f0f0;
  color: #5bc463;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
}

/* Bounce animation (kept) */
@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

.cta-section a:hover {
  animation: bounce 0.6s ease;
}
/* ---------------------------------------------------
   CTA IMAGE — standalone, no box, no background
   --------------------------------------------------- */
.cta-image {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;          /* remove card padding */
  border: none;        /* no border */
  background: none;    /* no background */
  box-shadow: none;    /* no shadow */
  min-height: unset;   /* remove forced height */
}

/* Remove special background/border previously applied */
.cta-grid > .cta-image:first-of-type {
  border: none;
  background: none;
}

/* Image sizing — full size but constrained to container naturally */
.cta-image img {
  max-width: 100%;      /* allow full width of its column */
  height: auto;
  display: block;
  margin: 0;
  object-fit: contain;
  border-radius: 0;      /* no rounding unless you want it */
}

/* Optional: smaller screens */
@media (max-width: 480px) {
  .cta-image img {
    max-width: 100%;
  }
}

.purple-highlight {
  margin-top: 20px;
  display: inline-block; /* needed so margin works */
}


/* ---------------------------------------------------
   Location Section – soft, clean, modern
   --------------------------------------------------- */

/* Main wrapper */
.location-section {
  background: #f7f7f7;          
  color: #333;                  
  text-align: center;
  padding: 10px 20px;
  border-radius: 12px;
  margin: 10px 0;
  border: 1px solid #e8e8e8;
  box-sizing: border-box;
}

/* Title line */
.location-section .location-title strong {
  display: block;
  font-size: 1.25rem;
  margin-bottom: 6px;
  color: #2a635a;
  font-weight: 700;
}

/* Subtitle line */
.location-section .location-name {
  font-size: 1rem;
  margin-bottom: 18px;
  color: #444;
}

/* Link block — using grid-safe margin spacing */
.location-section .location-links {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;              /* responsive wrapping */
  margin-bottom: 12px;
}

/* Each link gets spacing manually */
.location-section .location-links a {
  margin: 6px 8px;              /* safe spacing instead of gap */
}

/* Unified link styling */
.location-section a.address,
.location-section a.phone {
  color: #2a8a78;
  text-decoration: none;
  font-weight: 600;
  padding: 6px 10px;
  border-radius: 8px;
  transition: color .15s ease, background-color .15s ease;
  background: transparent;
  display: inline-block;        /* prevents layout quirks inside grids */
}

/* Hover state */
.location-section a.address:hover,
.location-section a.phone:hover {
  color: #1a5f53;
  background: rgba(26,95,83,0.06);
}

/* Description paragraph */
.location-section .confit-hours {
  margin-top: 10px;
  font-size: 0.95rem;
  color: #555;
  line-height: 1.45;
  max-width: 820px;
  margin-left: auto;
  margin-right: auto;
  padding: 0 12px;
}

/* Ensure text centering even if builder overwrites it */
.location-section,
.location-section .location-content {
  text-align: center !important;
}

/* Strong override for link color if builder is rude */
html body .location-section a {
  color: #2a8a78 !important;
}
/* ---------------------------------------------------
   Locations Grid – fixed two columns
   --------------------------------------------------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* always 2 columns */
  column-gap: 30px;  /* horizontal spacing between columns */
  row-gap: 30px;     /* vertical spacing between rows */
  margin: 40px 0;
}

/* Responsive: switch to single column on small screens */
@media (max-width: 700px) {
  .locations-grid {
    grid-template-columns: 1fr;  /* stack vertically */
    column-gap: 0;
  }
}
/* ---------------------------------------------------
   Locations Grid – responsive two columns
   --------------------------------------------------- */
.locations-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr); /* 2 columns on desktop */
  column-gap: 30px;  /* horizontal spacing */
  row-gap: 30px;     /* vertical spacing */
  margin: 40px 0;
}

/* On smaller screens, stack into 1 column */
@media (max-width: 900px) {
  .locations-grid {
    grid-template-columns: 1fr; /* single column */
    column-gap: 0;
  }
}





/* ---------------------------------------------------
   Utility: make sure images & CTAs are visually aligned
   when their heights differ (keeps the grid tidy)
   --------------------------------------------------- */
.cta-grid > .cta-image,
.cta-grid > .cta-section {
  align-self: stretch;
}

/* Ensure CTA content aligns vertically centered */
.cta-grid > .cta-section {
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}
.green-highlight {
  background: #d8f9e0;
  color: #2b7a4b;
  padding: 3px 8px;
  border-radius: 6px;
  font-weight: 700;
  box-shadow: 0 0 6px rgba(91, 196, 99, 0.35);
}



/* GRID LAYOUT */
.elevation-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 35px;
    margin: 40px 0;
}

/* CARD STYLE */
.elevation-card {
    background: #ffffff;
    border-radius: 18px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.08);
    border-top: 4px solid #6fd477; /* Elevation Green */
    transition: transform 0.25s ease;
    overflow: hidden; /* ensures image respects card border-radius */
    display: flex;
    flex-direction: column;
}

.elevation-card:hover {
    transform: translateY(-4px);
}

/* SINGLE FULL-WIDTH IMAGE */
.card-images {
    width: 100%;
    margin-bottom: 16px;
    overflow: hidden;
    border-radius: 18px 18px 0 0; /* match top card radius */
}

.card-images img {
    width: 100%;
    height: 200px; /* adjust as needed */
    object-fit: cover;
    display: block;
}

/* CARD TEXT */
.elevation-card h3,
.elevation-card p {
    margin-left: 22px;
    margin-right: 22px;
}

.elevation-card h3 {
    margin-top: 12px;
    margin-bottom: 8px;
    font-size: 20px;
    font-weight: 600;
    color: #1b1b1b;
}

.elevation-card p {
    margin-bottom: 12px;
    color: #444;
    line-height: 1.45;
}

.site-footer {
  background-color: #e6f5e6;
  color: #333333;
}

.site-footer a { color: #2a8a78; }
.site-footer a:hover { color: #1a5f53; }
/* Footer WP block buttons - forced override */
.site-footer .wp-block-button .wp-block-button__link {
  background-color: #ffffff !important;  /* force white background */
  color: #000000 !important;             /* force black text */
  border: none !important;
  border-radius: 8px !important;
  padding: 8px 16px !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  display: inline-block !important;
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

/* Hover state - forced override */
.site-footer .wp-block-button .wp-block-button__link:hover {
  background-color: #6fd477 !important;  /* green highlight on hover */
  color: #ffffff !important;             /* text turns white */
  transform: translateY(-2px) !important;
}


/* -----------------------------
    FORM BUTTONS GRID (clean) - ID TARGETED FIX
------------------------------ */
#form-button-grid.form-buttons-container {
  /* Enforce Grid Layout */
  display: grid !important; 
  /* Enforce 3 columns */
  grid-template-columns: repeat(3, 1fr) !important;
  /* Ensure items are not floating */
  float: none !important; 
  
  gap: 20px !important; 
  max-width: 960px !important; 
  margin: 40px auto !important; 
  padding: 0 !important; 
  background: none !important;
}

/* Style for the actual buttons (the anchor tags) */
#form-button-grid a.form-button {
  /* Crucial: Enforce Flex and prevent any floating or external flex sizing */
  display: flex !important;
  float: none !important; 
  flex: 0 0 auto !important; 
  
  align-items: center;
  justify-content: center; 
  
  height: 60px;
  width: 100% !important;
  max-width: 280px !important;
  
  margin: 0 auto !important;
  
  font-size: .9rem;
  font-weight: 600;
  text-transform: uppercase;
  text-align: center;
  text-decoration: none;
  border-radius: 50px;
  background: #fff;
  color: #6fd477;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  cursor: pointer;
  line-height: 1.2;
  transition: all 0.28s ease;
}

/* Hover + bounce effect and Keyframes remain unchanged */
#form-button-grid a.form-button:hover {
  background: #f0f0f0;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.2);
  animation: bounce 0.6s ease;
}

@keyframes bounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-5px); }
}

/* Responsive: stack buttons on small screens */
@media (max-width: 900px) {
  #form-button-grid.form-buttons-container {
    grid-template-columns: 1fr !important; /* single column on mobile */
  }
}

/* ------------------------------
   RESOURCE SECTIONS
--------------------------------*/
.resource-section {
  margin: 50px auto;
  max-width: 700px;
}

.resource-section h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.5rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.resource-section ul {
  list-style: none;
  padding: 0;
}

.resource-section ul li {
  background: #f5f5f5;
  padding: 14px 18px;
  border-radius: 8px;
  margin-bottom: 12px;
  font-size: 1rem;
}

.resource-section ul li a {
  font-weight: bold;
  text-decoration: none;
  color: #333;
}

.resource-section ul li a:hover {
  text-decoration: underline;
}

/* ------------------------------
   FINAL NOTICE
--------------------------------*/
.final-notice {
  text-align: center;
  margin-top: 45px;
  font-weight: bold;
  font-size: 1rem;
}

