/* ==========================================================================
   HOFCD — Hope Organization For Community Development
   Custom stylesheet (works alongside Tailwind CDN + Bootstrap 5 CDN)
   ========================================================================== */

:root{
  --hofcd-primary: #0d9488;      /* teal - life/hope */
  --hofcd-primary-dark: #0f766e;
  --hofcd-primary-light: #5eead4;
  --hofcd-accent: #e11d48;       /* blood-red accent */
  --hofcd-accent-dark: #be123c;
  --hofcd-gold: #f59e0b;         /* warmth */
  --hofcd-bg: #ffffff;
  --hofcd-bg-alt: #f4f9f8;
  --hofcd-surface: #ffffff;
  --hofcd-text: #14201e;
  --hofcd-text-muted: #5b6b68;
  --hofcd-border: #e3ece9;
  --hofcd-shadow: 0 10px 30px -12px rgba(13,148,136,.25);
  --hofcd-nav-h: 76px;
}

html[data-theme="dark"]{
  --hofcd-bg: #0b1413;
  --hofcd-bg-alt: #0f1a19;
  --hofcd-surface: #12211f;
  --hofcd-text: #eaf6f4;
  --hofcd-text-muted: #9db4b0;
  --hofcd-border: #1e3230;
  --hofcd-shadow: 0 10px 30px -12px rgba(0,0,0,.6);
}

*{scrollbar-width: thin; scrollbar-color: var(--hofcd-primary) transparent;}
::-webkit-scrollbar{width:8px; height:8px;}
::-webkit-scrollbar-thumb{background: var(--hofcd-primary); border-radius: 10px;}
::-webkit-scrollbar-track{background: transparent;}

html{scroll-behavior: smooth;}

body{
  background-color: var(--hofcd-bg);
  color: var(--hofcd-text);
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  transition: background-color .35s ease, color .35s ease;
  overflow-x: hidden;
}

h1,h2,h3,h4,h5,h6, .font-display{
  font-family: 'Poppins', 'Inter', sans-serif;
}

/* ---------- Utility surfaces ---------- */
.bg-surface{ background-color: var(--hofcd-surface); }
.bg-alt{ background-color: var(--hofcd-bg-alt); }
.text-muted-c{ color: var(--hofcd-text-muted); }
.border-c{ border-color: var(--hofcd-border) !important; }
.shadow-hofcd{ box-shadow: var(--hofcd-shadow); }

.text-gradient{
  background: linear-gradient(90deg, var(--hofcd-primary), var(--hofcd-accent));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.bg-gradient-hofcd{
  background: linear-gradient(120deg, var(--hofcd-primary) 0%, #14b8a6 45%, var(--hofcd-accent) 130%);
}

.btn-hofcd{
  background: linear-gradient(90deg, var(--hofcd-primary), var(--hofcd-primary-dark));
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: .85rem 2rem;
  font-weight: 600;
  letter-spacing: .2px;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: transform .25s ease, box-shadow .25s ease, filter .25s ease;
  box-shadow: 0 8px 20px -6px rgba(13,148,136,.55);
}
.btn-hofcd:hover{ transform: translateY(-3px); filter: brightness(1.08); box-shadow: 0 14px 28px -8px rgba(13,148,136,.65); color:#fff; }
.btn-hofcd:active{ transform: translateY(-1px); }

.btn-outline-hofcd{
  background: transparent;
  border: 2px solid var(--hofcd-primary);
  color: var(--hofcd-primary);
  border-radius: 999px;
  padding: .8rem 2rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: .5rem;
  transition: all .25s ease;
}
html[data-theme="dark"] .btn-outline-hofcd{ color: var(--hofcd-primary-light); border-color: var(--hofcd-primary-light); }
.btn-outline-hofcd:hover{ background: var(--hofcd-primary); color:#fff; transform: translateY(-3px); }

.btn-accent{
  background: linear-gradient(90deg, var(--hofcd-accent), var(--hofcd-accent-dark));
  color:#fff; border:none; border-radius:999px; padding:.85rem 2rem; font-weight:700;
  box-shadow: 0 8px 20px -6px rgba(225,29,72,.55);
  transition: transform .25s ease, box-shadow .25s ease;
}
.btn-accent:hover{ transform: translateY(-3px); color:#fff; box-shadow: 0 14px 28px -8px rgba(225,29,72,.65);}

/* ---------- Preloader ---------- */
#preloader{
  position: fixed; inset: 0; z-index: 9999;
  background: var(--hofcd-bg);
  display: flex; align-items: center; justify-content: center;
  transition: opacity .5s ease, visibility .5s ease;
}
#preloader.loaded{ opacity: 0; visibility: hidden; }
.drop-spinner{
  width: 56px; height: 56px;
  border-radius: 50% 50% 50% 0;
  background: linear-gradient(135deg, var(--hofcd-primary), var(--hofcd-accent));
  transform: rotate(45deg);
  animation: dropPulse 1.1s ease-in-out infinite;
}
@keyframes dropPulse{
  0%,100%{ transform: rotate(45deg) scale(1); }
  50%{ transform: rotate(45deg) scale(1.15); }
}

/* ---------- Navbar ---------- */
.navbar-hofcd{
  position: fixed; top:0; left:0; right:0; z-index: 1000;
  height: var(--hofcd-nav-h);
  background: color-mix(in srgb, var(--hofcd-bg) 78%, transparent);
  backdrop-filter: blur(14px) saturate(150%);
  -webkit-backdrop-filter: blur(14px) saturate(150%);
  border-bottom: 1px solid transparent;
  transition: all .35s ease;
}
.navbar-hofcd.scrolled{
  border-bottom: 1px solid var(--hofcd-border);
  box-shadow: 0 6px 24px -12px rgba(0,0,0,.15);
}
.navbar-hofcd .nav-link{
  color: var(--hofcd-text) !important;
  font-weight: 500;
  position: relative;
  margin: 0 .35rem;
  padding: .5rem .2rem !important;
}
.navbar-hofcd .nav-link::after{
  content:"";
  position:absolute; left:0; bottom:0; height:2px; width:0;
  background: linear-gradient(90deg, var(--hofcd-primary), var(--hofcd-accent));
  transition: width .3s ease;
}
.navbar-hofcd .nav-link:hover::after,
.navbar-hofcd .nav-link.active::after{ width:100%; }
.navbar-hofcd .nav-link.active{ color: var(--hofcd-primary) !important; }

.logo-mark{
  width: 42px; height:42px;
  display:inline-flex; align-items:center; justify-content:center;
}

.theme-toggle{
  width:44px; height:44px; border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  border:1px solid var(--hofcd-border);
  background: var(--hofcd-surface);
  cursor:pointer; transition: all .3s ease;
  color: var(--hofcd-text);
}
.theme-toggle:hover{ transform: rotate(20deg) scale(1.08); border-color: var(--hofcd-primary); color: var(--hofcd-primary); }

/* ---------- Hero ---------- */
.hero-slide{
  min-height: 92vh;
  display:flex; align-items:center;
  background-size: cover; background-position:center;
  position: relative;
}
.hero-slide::before{
  content:"";
  position:absolute; inset:0;
  background: linear-gradient(100deg, rgba(6,20,18,.88) 10%, rgba(6,20,18,.55) 55%, rgba(13,148,136,.35) 100%);
}
.hero-slide .container{ position: relative; z-index: 2; }
.hero-badge{
  display:inline-flex; align-items:center; gap:.5rem;
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.25);
  color:#fff; padding:.4rem 1rem; border-radius:999px;
  font-size:.85rem; backdrop-filter: blur(6px);
}
.hero-title{
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700; color:#fff; line-height:1.12;
}
.hero-sub{ color: rgba(255,255,255,.85); font-size: 1.15rem; max-width: 620px; }

.carousel-indicators-hofcd{ position:absolute; bottom: 24px; left:0; right:0; display:flex; gap:.5rem; justify-content:center; z-index:3; }
.carousel-indicators-hofcd button{
  width:34px; height:5px; border-radius:99px; background: rgba(255,255,255,.35); border:none; padding:0;
}
.carousel-indicators-hofcd button.active{ background: var(--hofcd-primary-light); }

/* ---------- Stats ---------- */
.stat-card{
  border-radius: 20px; padding: 2rem 1.25rem; text-align:center;
  background: var(--hofcd-surface); border:1px solid var(--hofcd-border);
  transition: transform .3s ease, box-shadow .3s ease;
}
.stat-card:hover{ transform: translateY(-8px); box-shadow: var(--hofcd-shadow); }
.stat-number{ font-size: 2.6rem; font-weight:700; font-family:'Poppins',sans-serif; }

/* ---------- Cards ---------- */
.hofcd-card{
  background: var(--hofcd-surface);
  border: 1px solid var(--hofcd-border);
  border-radius: 22px;
  overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s ease;
  height: 100%;
}
.hofcd-card:hover{ transform: translateY(-10px); box-shadow: var(--hofcd-shadow); border-color: var(--hofcd-primary); }
.hofcd-card .icon-wrap{
  width:64px; height:64px; border-radius:18px;
  display:flex; align-items:center; justify-content:center;
  background: linear-gradient(135deg, rgba(13,148,136,.15), rgba(225,29,72,.15));
  color: var(--hofcd-primary); font-size:1.6rem;
}

.img-hover-zoom{ overflow:hidden; border-radius:22px 22px 0 0; }
.img-hover-zoom img{ transition: transform .6s ease; width:100%; height:100%; object-fit:cover; }
.hofcd-card:hover .img-hover-zoom img{ transform: scale(1.1); }

/* ---------- Progress bars ---------- */
.progress-hofcd{ height:10px; border-radius:99px; background: var(--hofcd-border); overflow:hidden; }
.progress-hofcd > span{
  display:block; height:100%; border-radius:99px;
  background: linear-gradient(90deg, var(--hofcd-primary), var(--hofcd-accent));
  width:0; transition: width 1.4s cubic-bezier(.22,1,.36,1);
}

/* ---------- Timeline (About) ---------- */
.timeline{ position:relative; padding-left: 2.2rem; }
.timeline::before{
  content:""; position:absolute; left:8px; top:0; bottom:0; width:2px;
  background: linear-gradient(var(--hofcd-primary), var(--hofcd-accent));
}
.timeline-item{ position: relative; padding-bottom: 2.2rem; }
.timeline-item::before{
  content:""; position:absolute; left:-2.2rem; top:4px; width:18px; height:18px; border-radius:50%;
  background: var(--hofcd-surface); border: 3px solid var(--hofcd-primary);
}

/* ---------- Testimonials ---------- */
.testimonial-card{
  background: var(--hofcd-surface); border:1px solid var(--hofcd-border); border-radius: 22px;
  padding: 2.2rem; height:100%;
}
.testimonial-avatar{ width:64px; height:64px; border-radius:50%; object-fit:cover; border:3px solid var(--hofcd-primary-light); }
.quote-mark{ font-size: 3rem; line-height:1; color: var(--hofcd-primary); opacity:.35; font-family: Georgia, serif; }

/* ---------- Gallery ---------- */
.gallery-item{ border-radius:18px; overflow:hidden; position:relative; cursor:pointer; }
.gallery-item img{ width:100%; height:100%; object-fit:cover; transition: transform .5s ease; }
.gallery-item:hover img{ transform: scale(1.12); }
.gallery-overlay{
  position:absolute; inset:0; background: linear-gradient(180deg, transparent 40%, rgba(6,20,18,.85));
  display:flex; align-items:flex-end; padding:1rem; opacity:0; transition: opacity .35s ease;
  color:#fff;
}
.gallery-item:hover .gallery-overlay{ opacity:1; }
.filter-btn{
  border:1px solid var(--hofcd-border); background: var(--hofcd-surface); color: var(--hofcd-text);
  padding:.5rem 1.3rem; border-radius:999px; font-weight:600; font-size:.9rem; transition: all .25s ease;
}
.filter-btn.active, .filter-btn:hover{ background: var(--hofcd-primary); color:#fff; border-color: var(--hofcd-primary); }

/* ---------- Donation ---------- */
.amount-btn{
  border:2px solid var(--hofcd-border); background: var(--hofcd-surface); color: var(--hofcd-text);
  border-radius: 14px; padding: .9rem; font-weight:700; text-align:center; cursor:pointer; transition: all .2s ease;
}
.amount-btn.active, .amount-btn:hover{ border-color: var(--hofcd-primary); background: rgba(13,148,136,.08); color: var(--hofcd-primary); }
.pay-tab{
  border:1px solid var(--hofcd-border); background: var(--hofcd-surface); border-radius:14px; padding: 1rem 1.2rem;
  cursor:pointer; font-weight:600; display:flex; align-items:center; gap:.6rem; transition: all .2s ease;
}
.pay-tab.active{ border-color: var(--hofcd-primary); background: rgba(13,148,136,.08); color: var(--hofcd-primary); }
.bank-detail-row{
  display:flex; justify-content:space-between; align-items:center;
  padding: .75rem 1rem; border-radius: 12px; background: var(--hofcd-bg-alt);
  border: 1px dashed var(--hofcd-border); margin-bottom:.6rem;
}
.copy-btn{
  border:none; background: var(--hofcd-primary); color:#fff; width:34px; height:34px; border-radius:9px;
  display:inline-flex; align-items:center; justify-content:center; transition: all .2s ease;
}
.copy-btn:hover{ background: var(--hofcd-primary-dark); transform: scale(1.08); }
.copy-btn.copied{ background: #22c55e; }

/* ---------- Forms ---------- */
.form-control-hofcd, .form-select-hofcd{
  background: var(--hofcd-surface); border:1px solid var(--hofcd-border); color: var(--hofcd-text);
  border-radius: 12px; padding: .8rem 1rem; width:100%; transition: all .2s ease;
}
.form-control-hofcd:focus, .form-select-hofcd:focus{
  outline:none; border-color: var(--hofcd-primary); box-shadow: 0 0 0 4px rgba(13,148,136,.15);
}
.form-label-hofcd{ font-weight:600; font-size:.92rem; margin-bottom:.4rem; display:block; }

/* ---------- Back to top ---------- */
#backToTop{
  position: fixed; bottom: 26px; right: 26px; z-index: 900;
  width:48px; height:48px; border-radius:50%; border:none;
  background: linear-gradient(135deg, var(--hofcd-primary), var(--hofcd-accent));
  color:#fff; display:flex; align-items:center; justify-content:center;
  opacity:0; visibility:hidden; transform: translateY(20px);
  transition: all .35s ease; box-shadow: 0 10px 24px -8px rgba(0,0,0,.4);
}
#backToTop.show{ opacity:1; visibility:visible; transform: translateY(0); }
#backToTop:hover{ transform: translateY(-4px); }

/* ---------- Floating donate button ---------- */
.floating-donate{
  position: fixed; bottom: 26px; left: 26px; z-index: 900;
  width:58px; height:58px; border-radius:50%; border:none;
  background: linear-gradient(135deg, var(--hofcd-accent), var(--hofcd-accent-dark));
  color:#fff; display:flex; align-items:center; justify-content:center; font-size:1.4rem;
  box-shadow: 0 10px 24px -8px rgba(225,29,72,.55);
  animation: floatPulse 2.4s ease-in-out infinite;
}
.floating-donate:hover{ color:#fff; transform: translateY(-4px); }
@keyframes floatPulse{
  0%,100%{ box-shadow: 0 10px 24px -8px rgba(225,29,72,.55); }
  50%{ box-shadow: 0 10px 30px -6px rgba(225,29,72,.85); }
}

/* ---------- WhatsApp float ---------- */
.whatsapp-float{
  position: fixed; bottom: 90px; right: 26px; z-index: 900;
  width:52px; height:52px; border-radius:50%; background:#25D366; color:#fff;
  display:flex; align-items:center; justify-content:center; font-size:1.4rem;
  box-shadow: 0 10px 24px -8px rgba(0,0,0,.45); animation: floatBob 3s ease-in-out infinite;
}
@keyframes floatBob{ 0%,100%{ transform: translateY(0);} 50%{ transform: translateY(-8px);} }

/* ---------- Blood drop decorative shapes ---------- */
.drop-shape{
  width: 22px; height:22px; border-radius: 50% 50% 50% 0; transform: rotate(45deg);
  background: var(--hofcd-accent); display:inline-block;
}
.blob-decor{
  position:absolute; border-radius:50%; filter: blur(60px); opacity:.35; z-index:0;
}

/* ---------- Section heading ---------- */
.section-eyebrow{
  display:inline-flex; align-items:center; gap:.5rem; color: var(--hofcd-accent);
  font-weight:700; letter-spacing:1px; text-transform:uppercase; font-size:.82rem;
}
.section-eyebrow::before{ content:""; width:26px; height:3px; background: var(--hofcd-accent); border-radius:2px; }

/* ---------- Footer ---------- */
.footer-hofcd{ background: #071615; color: #d8ece9; }
html[data-theme="light"] .footer-hofcd{ background:#071615; color:#d8ece9; }
.footer-hofcd a{ color:#b7d0cc; text-decoration:none; transition: color .2s ease; }
.footer-hofcd a:hover{ color: var(--hofcd-primary-light); }
.footer-social a{
  width:38px; height:38px; border-radius:50%; border:1px solid rgba(255,255,255,.18);
  display:inline-flex; align-items:center; justify-content:center; margin-right:.5rem;
  transition: all .25s ease;
}
.footer-social a:hover{ background: var(--hofcd-primary); border-color: var(--hofcd-primary); transform: translateY(-3px); }

/* ---------- Misc animations ---------- */
.fade-up{ opacity:0; transform: translateY(24px); transition: all .7s ease; }
.fade-up.in-view{ opacity:1; transform: translateY(0); }

.marquee-track{ display:flex; gap:3.5rem; width: max-content; animation: marquee 26s linear infinite; }
.marquee-wrap{ overflow:hidden; mask-image: linear-gradient(90deg, transparent, #000 10%, #000 90%, transparent); }
@keyframes marquee{ from{ transform: translateX(0);} to{ transform: translateX(-50%);} }

/* Accordion (thalassemia FAQ) theming */
.accordion-hofcd .accordion-button{ background: var(--hofcd-surface); color: var(--hofcd-text); font-weight:600; }
.accordion-hofcd .accordion-button:not(.collapsed){ background: rgba(13,148,136,.1); color: var(--hofcd-primary); box-shadow:none; }
.accordion-hofcd .accordion-item{ background: var(--hofcd-surface); border-color: var(--hofcd-border); border-radius:14px; overflow:hidden; margin-bottom: .8rem; }
.accordion-hofcd .accordion-body{ color: var(--hofcd-text-muted); }

/* Page hero (inner pages) */
.page-hero{
  padding-top: calc(var(--hofcd-nav-h) + 4rem); padding-bottom: 4rem;
  background: var(--hofcd-bg-alt); position:relative; overflow:hidden;
}
.breadcrumb-hofcd a{ color: var(--hofcd-text-muted); text-decoration:none; }
.breadcrumb-hofcd a:hover{ color: var(--hofcd-primary); }

@media (max-width: 991.98px){
  .hero-slide{ min-height: 78vh; text-align:center; }
  .hero-sub{ max-width:100%; margin-left:auto; margin-right:auto; }
}

/* ==========================================================================
   MOBILE NAVIGATION MENU
   ========================================================================== */
.navbar-toggler{
  border: 1px solid var(--hofcd-border) !important;
  border-radius: 10px !important;
  padding: .4rem .6rem !important;
}
.navbar-toggler:focus{
  box-shadow: 0 0 0 3px rgba(13,148,136,.25) !important;
  outline: none;
}
.navbar-toggler-icon{
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(13,148,136,1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2.4' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e") !important;
}

@media (max-width: 991.98px){
  .navbar-hofcd .navbar-collapse{
    background: var(--hofcd-surface);
    border: 1px solid var(--hofcd-border);
    border-radius: 18px;
    margin-top: .85rem;
    padding: 1.1rem 1.25rem 1.4rem;
    box-shadow: var(--hofcd-shadow);
    max-height: 75vh;
    overflow-y: auto;
  }
  .navbar-hofcd .navbar-nav.mx-auto{ margin: 0 !important; width: 100%; }
  .navbar-hofcd .nav-item{ width: 100%; border-bottom: 1px solid var(--hofcd-border); }
  .navbar-hofcd .nav-item:last-child{ border-bottom: none; }
  .navbar-hofcd .nav-link{ padding: .7rem .1rem !important; }
  .navbar-hofcd .nav-link::after{ display: none; }
  .navbar-hofcd .navbar-collapse > .d-flex{ width: 100%; padding-top: .9rem; }
  .navbar-hofcd .navbar-collapse > .d-flex .btn-hofcd{ flex: 1; justify-content: center; }
}

/* ==========================================================================
   RESPONSIVE SECTION SPACING (per-section, mobile-first overrides)
   ========================================================================== */
.sect-py{ padding-top: 5rem; padding-bottom: 5rem; }
.sect-py-sm{ padding-top: 4rem; padding-bottom: 4rem; }
.sect-py-tight{ padding-top: 4rem; padding-bottom: 2rem; }
.sect-py-tight-b{ padding-top: 1rem; padding-bottom: 5rem; }

@media (max-width: 991.98px){
  .sect-py{ padding-top: 3.5rem; padding-bottom: 3.5rem; }
  .sect-py-sm{ padding-top: 3rem; padding-bottom: 3rem; }
  .sect-py-tight{ padding-top: 3rem; padding-bottom: 1.5rem; }
  .sect-py-tight-b{ padding-top: .75rem; padding-bottom: 3.5rem; }
}
@media (max-width: 575.98px){
  .sect-py{ padding-top: 2.5rem; padding-bottom: 2.5rem; }
  .sect-py-sm{ padding-top: 2.25rem; padding-bottom: 2.25rem; }
  .sect-py-tight{ padding-top: 2.25rem; padding-bottom: 1.25rem; }
  .sect-py-tight-b{ padding-top: .5rem; padding-bottom: 2.5rem; }
}

/* ==========================================================================
   RESPONSIVE MEDIA HEIGHTS (each image/media block sized per breakpoint)
   ========================================================================== */
.h-media-420{ height: 420px; }
.h-media-400{ height: 400px; }
.h-media-340{ height: 340px; }
.h-media-260{ height: 260px; }
.h-media-240{ height: 240px; }
.h-media-230{ height: 230px; }
.h-media-220{ height: 220px; }
.h-media-200{ height: 200px; }

@media (max-width: 767.98px){
  .h-media-420{ height: 300px; }
  .h-media-400{ height: 280px; }
  .h-media-340{ height: 260px; }
  .h-media-260{ height: 200px; }
  .h-media-240{ height: 190px; }
  .h-media-230{ height: 180px; }
  .h-media-220{ height: 180px; }
  .h-media-200{ height: 170px; }
}
@media (max-width: 420px){
  .h-media-420{ height: 240px; }
  .h-media-400{ height: 220px; }
  .h-media-340{ height: 220px; }
}

/* ==========================================================================
   PER-ELEMENT RESPONSIVE FIXES — small screens
   ========================================================================== */
@media (max-width: 575.98px){
  .hero-title{ font-size: 1.85rem; }
  .hero-sub{ font-size: 1rem; }
  .hero-badge{ font-size: .75rem; padding: .35rem .8rem; }
  .hero-slide .d-flex.flex-wrap.gap-3{ flex-direction: column; }
  .hero-slide .d-flex.flex-wrap.gap-3 a{ width: 100%; justify-content: center; }

  .stat-number{ font-size: 1.9rem; }
  .stat-card{ padding: 1.25rem .75rem; }

  .section-eyebrow{ font-size: .72rem; }

  .hofcd-card .icon-wrap{ width: 54px; height: 54px; font-size: 1.3rem; }

  .testimonial-card{ padding: 1.4rem; }
  .quote-mark{ font-size: 2.2rem; }

  .timeline{ padding-left: 1.6rem; }
  .timeline-item::before{ left: -1.6rem; width: 14px; height: 14px; }

  .btn-hofcd, .btn-outline-hofcd, .btn-accent{ padding: .7rem 1.4rem; font-size: .92rem; }

  .page-hero{ padding-top: calc(var(--hofcd-nav-h) + 1.5rem); padding-bottom: 2rem; }

  .bank-detail-row{ flex-wrap: wrap; row-gap: .5rem; }
  .bank-detail-row span.fw-bold{ word-break: break-all; }

  .amount-btn{ padding: .65rem; font-size: .85rem; }

  #backToTop{ width: 42px; height: 42px; bottom: 18px; right: 16px; }
  .floating-donate{ width: 50px; height: 50px; font-size: 1.2rem; bottom: 18px; left: 16px; }
  .whatsapp-float{ width: 46px; height: 46px; font-size: 1.2rem; bottom: 74px; right: 16px; }

  .display-5{ font-size: 1.9rem; }
  .display-6{ font-size: 1.6rem; }
}

/* ==========================================================================
   NAV PILLS THEMING (used inside Quick Donate modal)
   ========================================================================== */
.nav-pills .nav-link{
  color: var(--hofcd-text); background: var(--hofcd-bg-alt); border-radius: 999px;
  font-weight: 600; padding: .55rem 1.2rem; transition: all .2s ease;
}
.nav-pills .nav-link.active{ background: var(--hofcd-primary); color: #fff; }

/* ==========================================================================
   QUICK DONATE MODAL
   ========================================================================== */
#quickDonateModal .modal-content{ background: var(--hofcd-surface); border-radius: 22px; }
#quickDonateModal .amount-btn{ font-size: .95rem; }
@media (max-width: 575.98px){
  #quickDonateModal .amount-btn{ font-size: .8rem; padding: .6rem .3rem; }
  #quickDonateModal .modal-body{ padding: 1.1rem; }
}
