/* Ensure header stays above hero background */
header {
    position: relative;
    z-index: 1000;
}

a.link {
    color: #a5c422 !important;
    transition: all 1s !important;
    display: inline-block;
    position: relative;
}

a.link::after {
    content: '';
    position: absolute;
    width: 100%;
    transform: scaleX(0);
    height: 2px;
    bottom: 0;
    left: 0;
    background-color: #a5c422;
    transform-origin: bottom right;
    transition: transform 0.25s ease-out;
}

a.link:hover::after {
    transform: scaleX(1);
    transform-origin: bottom left;
}

.font-weight-bold {
    font-weight: bold;
}

.btn-green, .btn-green:focus {
    background-image: linear-gradient(to right, #ADD100 0%, #7B920A  51%, #ADD100  100%);
    background-size: 200% auto;
    color: #fff;
    transition: all 0.3s;
    padding: 0.65rem 1.4rem;
    border-radius: 4px;
    border: none;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 3px 12px rgba(165, 196, 34, 0.35);
}
.btn-green:hover {
    background-position: right center;
    color: #fff;
    box-shadow: 0 4px 16px rgba(165, 196, 34, 0.5);
}

.btn-delete, .pro-submit-btn{background-image: linear-gradient(to right, #ADD100 0%, #7B920A  51%, #ADD100  100%)}
.btn-delete, .pro-submit-btn {
   margin: 10px;
   padding: 5px 25px;
   text-align: center;
   transition: 0.5s;
   background-size: 200% auto;
   color: white;
   box-shadow: 0 0 20px #eee;
   border-radius: 5px;
   display: block;
   border:none;
}

.btn-delete:hover, .pro-submit-btn:hover{
   background-position: right center;
   color: #fff;
   text-decoration: none;
}

.delete-header {
}

.logo {
    width: 75px;
}

/* Hero improvements */
.hero-inner {
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    padding: 1.5rem 1.75rem 2.25rem;
    border-radius: 14px;
    color: #fff;
    max-width: 1100px; /* allow more width on desktop */
    width: 100%;
    margin: 0 auto; /* center horizontally */
}
/* Single column centered layout */
.hero-inner {text-align:center; display:flex; flex-direction:column; align-items:center;}
.hero-inner > .hero-cta-group {justify-content:center;}
.trust-bullets {justify-content:center;}
.trust-bullets li {text-align:center;}
.pwyw-pill, .hero-subcopy, .hero-tagline, .hero-headline {margin-left:auto; margin-right:auto;}
.hero-subcopy {text-align:center;}
@media (max-width: 768px){
  .hero-cta-group a {flex:1 1 auto;}
}
.hero-headline {margin-top: .25rem; margin-bottom: .75rem; color: #fff; font-weight: 700; text-shadow: 2px 2px 8px rgba(0,0,0,0.4);}
.hero-tagline {margin-bottom: .25rem; font-weight: 600; color: #fff; font-size: 1.15rem; text-shadow: 1px 1px 4px rgba(0,0,0,0.3);}
.hero-subcopy {font-size: 1.05rem; line-height: 1.5rem; margin: .75rem 0 1.25rem; color: #fff; text-shadow: 1px 1px 4px rgba(0,0,0,0.3);}

/* Hero Primary CTA - Large button above other CTAs */
.hero-primary-cta {
    font-size: 1.3rem !important;
    font-weight: 700 !important;
    padding: 1rem 2.5rem !important;
    margin: 1rem 0 !important;
    box-shadow: 0 6px 20px rgba(165, 196, 34, 0.4) !important;
    border: none !important;
    transform: scale(1);
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
.hero-primary-cta:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 28px rgba(165, 196, 34, 0.6) !important;
}

.pwyw-pill {
    display: inline-block;
    background: linear-gradient(90deg,#ADD100,#7B920A);
    color:#fff;
    padding:.4rem 1rem;
    font-size:.95rem;
    border-radius: 999px;
    box-shadow:0 4px 12px rgba(0,0,0,.25);
    margin-bottom:.75rem;
    letter-spacing:.5px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    font-weight: 600;
}
.pwyw-pill:hover {
    transform: translateY(-2px);
    box-shadow:0 6px 16px rgba(0,0,0,.3);
    background: linear-gradient(90deg,#b8dd00,#8aa20b);
}

.hero-cta-group {display: flex; flex-wrap: wrap; gap: .85rem; margin: .5rem auto 1rem; align-items: center; justify-content: center; width: 100%; box-sizing: border-box;}
.hero-cta-group.hero-cta-secondary {margin-top: 0.5rem; margin-bottom: 1.5rem; display: flex !important;}
.hero-cta-group a {flex:0 1 auto; text-align:center; display: inline-flex; align-items: center; justify-content: center; box-sizing: border-box; height: 3.5rem; min-height: 3.5rem; max-height: 3.5rem; margin: 0; max-width: 400px;}
.hero-cta-secondary a {flex:0 1 auto; max-width: 250px;}
.primary-cta {font-size:1.15rem !important; font-weight:700 !important; padding: 0 1.8rem !important; box-shadow: 0 4px 16px rgba(165, 196, 34, 0.4) !important; transform: scale(1); transition: all 0.2s ease !important; line-height: 1.5 !important; margin: 0 !important;}
.primary-cta:hover {transform: scale(1.03); box-shadow: 0 6px 24px rgba(165, 196, 34, 0.6) !important;}
.secondary-cta, .tertiary-cta {background:rgba(255,255,255,0.15) !important; backdrop-filter: blur(5px); border:2px solid rgba(255,255,255,0.6) !important; color:#fff !important; box-shadow:0 2px 8px rgba(0,0,0,0.2) !important; font-weight: 500 !important; transition: all 0.2s ease !important; font-size:1.15rem !important; padding: 0 1.8rem !important; line-height: 1.5 !important;}
.secondary-cta:hover, .tertiary-cta:hover {background:#a5c422 !important; color:#fff !important; border-color: #a5c422 !important;}

/* Value Proposition Two-Column Layout */
#home .hero-inner .value-prop-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.8rem;
    margin-top: 1.2rem;
    align-items: stretch;
}/* Benefits Card (Left) */
#home .hero-inner .value-prop-container .benefits-card {
    background: rgba(30, 20, 60, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    border-radius: 10px;
    padding: 0.6rem 0.75rem;
    box-shadow: 0 4px 14px rgba(0,0,0,.3) !important;
    border: 1px solid rgba(165, 196, 34, 0.3) !important;
    height: 100%;
}
#home .hero-inner .value-prop-container .benefits-card .benefits-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: #a5c422;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}
#home .hero-inner .value-prop-container .benefits-card .benefits-list {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}
#home .hero-inner .benefits-list li {
    display: flex !important; 
    align-items: flex-start !important; 
    gap: .5rem !important;
}
#home .hero-inner .value-prop-container .benefits-card .benefit-icon {
    font-size: 1.1rem;
    margin-right: 0.4rem;
    flex-shrink: 0;
}
#home .hero-inner .benefit-content {
    flex: 1 !important;
    text-align: left !important;
}
#home .hero-inner .benefit-content strong {
    display: block !important; 
    font-size: 0.95rem !important; 
    font-weight: 600 !important; 
    color: #a5c422 !important; 
    margin-bottom: .2rem !important; 
    text-shadow: 1px 1px 3px rgba(0,0,0,0.25) !important;
}
#home .hero-inner .benefit-content p {
    margin: 0 !important; 
    font-size: 0.9rem !important; 
    line-height: 1.4 !important; 
    color: rgba(255,255,255,0.92) !important; 
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2) !important;
}

/* Payment Card Wrapper (Right) */
#home .hero-inner .payment-card-wrapper {
    display: flex !important; 
    align-items: stretch !important;
    width: 100% !important;
}
#home .hero-inner .payment-card-wrapper .pwyw-panel {
    margin: 0 !important;
    width: 100% !important;
    height: 100% !important;
    background: rgba(30, 20, 60, 0.85) !important;
    backdrop-filter: blur(8px) !important;
    -webkit-backdrop-filter: blur(8px) !important;
    padding: 0.6rem 0.75rem !important;
    border-radius: 10px !important;
    color: #fff !important;
    box-shadow: 0 4px 14px rgba(0,0,0,.3) !important;
    border: 1px solid rgba(165, 196, 34, 0.3) !important;
    text-align: left !important;
}
#home .hero-inner .payment-card-wrapper .pwyw-panel .pwyw-title {
    margin: 0 0 0.5rem !important;
    font-size: 1.1rem !important;
    font-weight: 700 !important;
    color: #a5c422 !important;
    text-align: center !important;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3) !important;
}
#home .hero-inner .payment-card-wrapper .pwyw-panel .pwyw-subcopy {
    color: #fff !important;
    opacity: 1 !important;
    text-align: left !important;
    font-size: 0.9rem !important;
    line-height: 1.4 !important;
    margin-bottom: 0.5rem !important;
}
#home .hero-inner .payment-card-wrapper .pwyw-panel .pwyw-options {
    display: flex !important;
    flex-wrap: wrap !important;
    gap: 0.3rem !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
}
#home .hero-inner .payment-card-wrapper .pwyw-panel .pwyw-option {
    background: rgba(255, 255, 255, 0.2) !important;
    border: 1px solid rgba(255, 255, 255, 0.3) !important;
    border-radius: 4px !important;
    padding: 0.3rem 0.45rem !important;
    color: white !important;
    font-weight: 600 !important;
    font-size: 0.85rem !important;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3) !important;
    cursor: pointer !important;
    transition: all 0.2s ease !important;
    text-align: left !important;
    display: flex !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 0.3rem !important;
    flex: 0 0 calc(50% - 0.15rem) !important;
    max-width: calc(50% - 0.15rem) !important;
    min-width: 0 !important;
    box-sizing: border-box !important;
    width: calc(50% - 0.15rem) !important;
}
@media (max-width: 1200px) {
    #home .hero-inner .payment-card-wrapper .pwyw-panel .pwyw-option {
        flex: 0 0 100% !important;
        max-width: 100% !important;
        width: 100% !important;
        min-height: 32px !important;
    }
}

@media (min-width: 1201px) {
    #home .hero-inner .payment-card-wrapper .pwyw-panel .pwyw-option {
        min-height: 32px !important;
    }
}
#home .hero-inner .payment-card-wrapper .pwyw-panel .pwyw-option:hover {
    background: rgba(165, 196, 34, 0.25) !important;
    border-color: rgba(165, 196, 34, 0.6) !important;
    transform: translateX(3px) !important;
}
#home .hero-inner .payment-card-wrapper .pwyw-panel .pwyw-option input[type=radio] {
    margin: 0 !important;
    accent-color: #a5c422 !important;
    width: 12px !important;
    height: 12px !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
}
#home .hero-inner .payment-card-wrapper .pwyw-panel .pwyw-option small {
    display: inline !important;
    font-size: 0.75rem !important;
    color: rgba(255, 255, 255, 0.85) !important;
    opacity: 1 !important;
    margin-left: 0.2rem !important;
    white-space: nowrap !important;
}
#home .hero-inner .payment-card-wrapper .pwyw-panel .pwyw-option .custom-wrapper {
    display: flex !important;
    align-items: center !important;
    gap: 0.3rem !important;
    width: 100% !important;
    flex-wrap: nowrap !important;
}
#home .hero-inner .payment-card-wrapper .pwyw-panel .pwyw-option .pwyw-custom-input {
    width: 80px !important;
    flex: 0 0 80px !important;
    padding: 0.2rem 0.3rem !important;
    font-size: 0.75rem !important;
    line-height: 1.2 !important;
    box-sizing: border-box !important;
    margin: 0 !important;
    height: auto !important;
}
#home .hero-inner .payment-card-wrapper .pwyw-panel .pwyw-actions {
    text-align: left !important;
    margin-top: 0.5rem !important;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
  #home .hero-inner .value-prop-container {
      grid-template-columns: 1fr !important; 
      gap: 1.3rem !important;
  }
}

/* How it works strip */
.how-it-works {display:flex; flex-wrap:wrap; gap:1rem; margin:0 0 1.4rem; align-items: center;}
.how-step {flex:1 1 160px; min-width:160px; background: rgba(255, 255, 255, 0.2); backdrop-filter: blur(5px); padding:.85rem .9rem; border-radius:10px; color:#fff; box-shadow:0 2px 8px rgba(0,0,0,.2); border: 1px solid rgba(255, 255, 255, 0.3); position: relative;}
.how-step:not(:last-child)::after {
    content: '→';
    position: absolute;
    right: -1.8rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 2rem;
    color: rgba(165, 196, 34, 0.8);
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
    z-index: 1;
}
.how-step .icon {font-size:1.4rem; margin-bottom:.25rem;}
.how-step h6 {font-weight:700; margin:.15rem 0 .35rem; color:#fff; text-shadow: 1px 1px 3px rgba(0,0,0,0.3); font-size: 1rem;}
.how-step p {color: #fff; font-weight: 400; text-shadow: 1px 1px 3px rgba(0,0,0,0.2); font-size: 0.95rem; line-height: 1.4;}
.how-it-works-intro {font-size:1.8rem; font-weight:600; margin-bottom:.4rem; padding-top: 2rem; color:#fff; letter-spacing:.5px; text-shadow: 1px 1px 3px rgba(0,0,0,0.3);}

/* PWYW Panel */
.pwyw-panel {background: rgba(255, 255, 255, 0.25); backdrop-filter: blur(8px); padding:1.3rem 1.5rem 1.5rem; border-radius:12px; color:#fff; margin:0 0 1.3rem; box-shadow:0 4px 14px rgba(0,0,0,.25); max-width:680px; border: 1px solid rgba(255, 255, 255, 0.3); border-top: 4px solid rgba(255, 255, 255, 0.9);}
.pwyw-title {margin:0 0 .5rem; font-size:1.15rem; font-weight:700; color:#fff; text-shadow: 1px 1px 3px rgba(0,0,0,0.3);}
.pwyw-subcopy {font-size:0.95rem; line-height:1.5rem; margin:0 0 1rem; color:#fff; text-shadow: 1px 1px 2px rgba(0,0,0,0.2);}
.pwyw-options {display:flex; flex-wrap:wrap; gap:.8rem;}
.pwyw-option {background: rgba(255, 255, 255, 0.3); backdrop-filter: blur(5px); padding:.7rem .85rem; border-radius:10px; display:flex; align-items:center; gap:.55rem; cursor:pointer; font-size:0.95rem; flex:1 1 150px; min-width:150px; border:1px solid rgba(255, 255, 255, 0.4); position:relative; color: #fff; font-weight: 500;}
.pwyw-option input[type=radio] {margin:0; accent-color:#a5c422;}
.pwyw-option small {display:block; font-size:.72rem; opacity:.9; color: #fff;}
.pwyw-option.custom {flex:1 1 165px;}
.custom-wrapper {display:flex; align-items:center; gap:.45rem; width:100%;}
.pwyw-custom-input {flex:1; background:rgba(255,255,255,0.9); border:1px solid rgba(255,255,255,0.5); color:#333; border-radius:6px; padding:.35rem .5rem; font-size:.75rem;}
.pwyw-actions {display:flex; align-items:center; gap:1rem; margin-top:.85rem;}
.pwyw-submit {min-width:180px;}
.pwyw-thanks {font-size:.7rem; color:#a5c422;}

/* Outline variant for chat/pro buttons */
.btn-outline-green {background:transparent; border:2px solid #a5c422; color:#a5c422; transition:.3s;}
.btn-outline-green:hover {background:#000; color:#fff;}

/* Pro version text container */
.pro-version-text {margin-top: 1.5rem; margin-bottom: 0.5rem; text-align: center; width: 100%;}

/* Appeal page reuse */
.appeal-donate-wrapper {margin:1.25rem 0;}
.appeal-donate-wrapper .pwyw-panel {background: #fff; color: #333; border: 2px solid #ADD100;}
.appeal-donate-wrapper .pwyw-title {color: #333; text-shadow: none;}
.appeal-donate-wrapper .pwyw-subcopy {color: #555; text-shadow: none;}
.appeal-donate-wrapper .pwyw-option {background: #f8f9fa; color: #333; border: 1px solid #ddd;}
.appeal-donate-wrapper .pwyw-option small {color: #666;}

/* Fax PWYW modifications */
.fax-pwyw-group {display:flex; flex-wrap:wrap; gap:.6rem; margin:.75rem 0 1rem;}
.fax-pwyw-group label {background:#f7f7f7; padding:.5rem .75rem; border-radius:8px; border:1px solid #ddd; font-size:.75rem; flex:1 1 120px; cursor:pointer; position:relative;}
.fax-pwyw-group input[type=radio] {margin-right:.35rem; accent-color:#a5c422;}
.fax-custom-input {width:100%; margin-top:.4rem; padding:.35rem .5rem; font-size:.7rem; border:1px solid #ccc; border-radius:6px;}

/* Mobile adjustments */
@media (max-width: 768px) {
  .hero-inner {padding:1rem .9rem 1.4rem;}
  .hero-cta-group {flex-direction:column;}
  .trust-bullets {flex-direction:column;}
  .how-it-works {flex-direction:column;}
  .pwyw-options {flex-direction:column;}
  .pwyw-option {flex:1 1 auto;}
}
@media (min-width: 992px) {
    .pwyw-panel {margin-top: .5rem;}
    .trust-bullets, .how-it-works {max-width:1100px;}
    .how-step {flex:0 0 250px;}
    .hero-inner {max-width: 1200px; width:92%;}
}
/* Force full-width hero background while allowing inner content to widen */
.slider .row {
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
}
@media (min-width:1200px){
    .hero-inner {max-width:none; width:100%; padding:2rem 4vw 2.75rem;}
    .hero-grid {max-width:1600px; margin:0 auto;}
}


.section-btn, .section-btn.btn.btn-default.smoothScroll{background-image: linear-gradient(to right, #ADD100 0%, #7B920A  51%, #ADD100  100%)}
.section-btn, .section-btn.btn.btn-default.smoothScroll {
   margin: 10px;
   padding: 0.85rem 1.8rem;
   text-align: center;
   transition: 0.5s;
   background-size: 200% auto;
   color: white;
   box-shadow: 0 0 20px #eee;
   border-radius: 4px;
   border:none;
}

.section-btn:hover, .section-btn.btn.btn-default.smoothScroll:hover {
   background-position: right center;
   color: #fff;
   text-decoration: none;
}

.custom-angle-up {
  display: inline-block;
  position: relative;
  height: 30px;
  width: 100px; /* adjust width as needed */
  font-size: 20px; /* adjust font size as needed */
  text-indent: -1000px;
  overflow: hidden;
  transition: transform 0.2s ease-in-out;
}

.custom-angle-up::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  transform-origin: center;
  animation-name: arrow-up;
  animation-duration: 1s;
  animation-timing-function: ease-in-out;
  animation-iteration-count: infinite;
}

@keyframes arrow-up {
  0% {
    transform: translate(0, 0);
  }
  100% {
    transform: translate(0, -10px);
  }
}

.main-form {
    margin-top: 2.5rem !important;
    width: 100%;
}

.generic-main-content {
    width: 80%;
    margin-top: 2.5rem !important;
    margin-top: 15vh;
}

.post-infered-table {
    width: 100%;
    margin: 0 auto;
}

.outside-help-options-table {
    table-layout: fixed;
    border-collapse: collapse;
    width: 80%;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    background-color: #fff;
    margin: 0 auto;
}

.cat-submit-button {
    background: #a5c422;
    text-align: center;
    color:#ffffff !important;
    border: none;
    border-radius: 3px;
    padding: 10px 20px;
    font-size: 14px;
}

.hidden-error-message {
    visibility: hidden; /* Hides the element but keeps its space occupied */
    color: red; /* Sets the text color */
    height: 0; /* Ensures it doesn't take up space */
    overflow: hidden; /* Ensures no content spills over */
    margin: 0; /* Resets margin to avoid spacing */
    padding: 0; /* Resets padding */
}

.hidden-error-message.visible {
  visibility: visible; /* Makes the element visible */
  height: auto; /* Allows the content to occupy its natural height */
  padding: initial; /* Restores padding */
}

.appeal_text {
    width: 100%;
    height: 20em;
}

.full_address {
    height: 5em;
    width: 80em;
}

.comments {
    height: 10em;
    width: 80em;
}

.spacer {
    height: 5px;
}

.img-fluid.img-thumbnail {
    max-width: 200px;
    margin: auto;
    border: none;
    height: auto;
    padding: 5px;
}

.img-fluid.img-logo {
    max-width: 25px;
    margin: auto;
    border: none;
    height: auto;
    padding: 5px;
}

.row.align-items-center {
    box-shadow: rgba(0, 0, 0, 0.1) 0px 10px 50px;
}

.row {
    display: flex;
    flex-wrap: wrap;
}

.row.no-gutters {
    margin: 0;
    justify-content: center;
}

.row.no-gutters .col-md-2 {
    padding: 0;
    flex: 0 0 auto;
    width: auto;
}

.row.no-gutters .col-md-2 img{
    width: 100%;
    height: auto;
    margin: 5px;
}

.row .col-md-2 {
    margin: 10px;
    flex-basis: 20%;
}

#id_name, #id_job_title_or_provider_type, #id_email, #id_phone_number, #id_business_name, #id_address, #id_most_common_denial, #id_comments{
    border-radius: .375rem;
    padding: .375rem .75rem;
    border: 1px solid #ced4da;
}

#id_address, #id_business_name{
    width: 30em;
}
/* Featured In Section */
.featured-section {
    padding: 3rem 0;
    background: linear-gradient(135deg, rgba(165, 196, 34, 0.05) 0%, rgba(123, 146, 10, 0.08) 100%);
}
.featured-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #333;
}
.featured-row {
    justify-content: center;
    align-items: center;
    margin-bottom: 0;
    background: white;
    border-radius: 12px;
    padding: 1.5rem 1rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    flex-wrap: wrap;
    display: flex;
    border-bottom: 4px solid #f02eaa;
}
@media (min-width: 992px) {
    .featured-row {
        flex-wrap: nowrap;
    }
}
.featured-row a {
    display: block;
    transition: transform 0.3s ease, opacity 0.3s ease;
    opacity: 0.75;
}
.featured-row a:hover {
    transform: scale(1.05);
    opacity: 1;
}
.featured-row .img-fluid.img-thumbnail {
    max-width: 140px;
    height: auto;
    margin: 0 auto;
    border: none;
    background: transparent;
    padding: 0.5rem;
    border-radius: 0;
    box-shadow: none;
    transition: all 0.3s ease;
}
.featured-row a:hover .img-fluid.img-thumbnail {
    box-shadow: none;
}
.featured-row-highlight {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    background-color: rgba(255, 255, 255, 0.95);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-bottom: 4px solid #f02eaa;
}
@media (min-width: 992px) {
    .featured-row-highlight {
        flex-wrap: nowrap;
    }
}

/* Testimonials Section */
.testimonials-section {
    padding: 3rem 0 4rem;
    background: #f9f9f9;
}
.testimonials-title {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 2.5rem;
    color: #333;
}
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}
.testimonial-card {
    background: #fff;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.08);
    border-left: 4px solid #a5c422;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.testimonial-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.12);
}
.testimonial-quote {
    font-size: 0.95rem;
    line-height: 1.6;
    color: #444;
    margin-bottom: 1rem;
    font-style: italic;
}
.testimonial-quote::before {
    content: '"';
    font-size: 2rem;
    color: #a5c422;
    line-height: 0;
    margin-right: 0.25rem;
}
.testimonial-author {
    font-size: 0.85rem;
    font-weight: 600;
    color: #666;
    text-align: right;
}

@media (max-width: 768px) {
    .testimonials-grid {
        grid-template-columns: 1fr;
    }
    .featured-section, .testimonials-section {
        padding: 2rem 0;
    }
}

/* Handle form stacking v.s. non-stacking on mobile v.s. desktop. */

/* Form Prompts Layout */

.together-form-group {
    /* Default layout for desktop */
    display: flex;
    flex-wrap: nowrap; /* Keep items on one line */
}

.together-form-group > div {
  /* Individual prompt container */
    margin: 10px;
    flex: 1;
}

/* Mobile-specific layout (vertically stacked prompts) */
@media only screen and (max-width: 768px) {
    .together-form-group {
	/* Switch to vertical layout on mobile */
	flex-direction: column;
	align-items: center;
	display: flex;
	flex-wrap: wrap;
    }

    .together-form-group > div {
	/* Individual prompt container on mobile */
	margin: 10px 0;
    }
}

/* Share/Tell Your Friends Panel */
.share-panel {
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(8px);
    padding: 1.3rem 1.5rem 1.5rem;
    border-radius: 12px;
    color: #fff;
    margin: 1.5rem 0;
    box-shadow: 0 4px 14px rgba(0,0,0,.25);
    max-width: 680px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-top: 4px solid #a5c422;
}
.share-title {
    margin: 0 0 .5rem;
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.3);
}
.share-subcopy {
    font-size: 0.95rem;
    line-height: 1.5rem;
    margin: 0 0 1rem;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}
.share-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
}
.share-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}
.share-btn svg {
    flex-shrink: 0;
}
.share-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}
.share-btn-twitter {
    background: #000;
    color: #fff;
}
.share-btn-twitter:hover {
    background: #333;
    color: #fff;
}
.share-btn-facebook {
    background: #1877F2;
    color: #fff;
}
.share-btn-facebook:hover {
    background: #0d65d9;
    color: #fff;
}
.share-btn-linkedin {
    background: #0A66C2;
    color: #fff;
}
.share-btn-linkedin:hover {
    background: #0854a1;
    color: #fff;
}
.share-btn-email {
    background: #a5c422;
    color: #fff;
}
.share-btn-email:hover {
    background: #8aa618;
    color: #fff;
}

/* Share panel on non-hero pages (with colored backgrounds) */
.container .share-panel,
section:not(.slider) .share-panel {
    background: #fff;
    color: #333;
    border: 1px solid #e0e0e0;
    border-top: 4px solid #a5c422;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.container .share-title,
section:not(.slider) .share-title {
    color: #333;
    text-shadow: none;
}
.container .share-subcopy,
section:not(.slider) .share-subcopy {
    color: #555;
    text-shadow: none;
}

/* Mobile responsiveness for share buttons */
@media (max-width: 768px) {
    .share-buttons {
        flex-direction: column;
    }
    .share-btn {
        justify-content: center;
    }
}

/* Share and PWYW panel styles for appeal pages (non-hero) */
.appeals-share-wrapper,
.appeal-share-wrapper {
    display: flex;
    justify-content: center;
    padding: 1rem 0;
}
.appeals-share-wrapper .share-panel,
.appeal-share-wrapper .share-panel {
    background: #fff !important;
    color: #333 !important;
    border: 1px solid #e0e0e0;
    border-top: 4px solid #a5c422;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
}
.appeals-share-wrapper .share-panel *,
.appeal-share-wrapper .share-panel * {
    color: inherit;
}
.appeals-share-wrapper .share-title,
.appeal-share-wrapper .share-title {
    color: #333 !important;
    text-shadow: none;
}
.appeals-share-wrapper .share-subcopy,
.appeal-share-wrapper .share-subcopy {
    color: #555 !important;
    text-shadow: none;
}

/* PWYW panel on appeal pages - fix text colors */
.appeal-donate-wrapper .pwyw-panel {
    background: #fff;
    color: #333;
    border: 2px solid #ADD100;
    box-shadow: 0 2px 12px rgba(0,0,0,0.08);
}
.appeal-donate-wrapper .pwyw-title {
    color: #333;
    text-shadow: none;
}
.appeal-donate-wrapper .pwyw-subcopy {
    color: #555;
    text-shadow: none;
}
.appeal-donate-wrapper .pwyw-option {
    background: #f8f9fa;
    color: #333;
    border: 1px solid #ddd;
}
.appeal-donate-wrapper .pwyw-option small {
    color: #666;
}
.appeal-donate-wrapper .pwyw-option span {
    color: #333;
}
.appeal-donate-wrapper .pwyw-thanks {
    color: #a5c422;
}

/* Centered content on desktop for appeal pages */
@media (min-width: 768px) {
    .appeals-share-wrapper .share-panel,
    .appeal-share-wrapper .share-panel {
        text-align: center;
    }
    .appeals-share-wrapper .share-buttons,
    .appeal-share-wrapper .share-buttons {
        justify-content: center;
    }
}
