/* ============================================================
   Tumaini Brother's Keepers — Responsive Stylesheet
   ============================================================ */
:root {
  --primary:   #1a5cb0;   /* TBK logo blue */
  --primary-d: #12447f;
  --primary-l: #74a9e6;
  --gold:      #f7b322;   /* TBK logo gold */
  --gold-d:    #d99a0b;
  --dark:      #14212e;
  --dark-2:    #1c2f40;
  --text:      #4a5560;
  --light:     #f6f8fa;
  --white:     #ffffff;
  --radius:    14px;
  --shadow:    0 10px 30px rgba(20, 33, 46, .10);
  --font-head: 'Poppins', sans-serif;
  --font-body: 'Poppins', sans-serif;
  --font-serif:'Merriweather', serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--font-body); color: var(--text); font-size: 16px; line-height: 1.75; background: var(--white); }
img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: color .25s; }
ul { list-style: none; }
h1,h2,h3,h4,h5 { font-family: var(--font-head); color: var(--dark); line-height: 1.25; font-weight: 700; }
.container { width: min(1200px, 92%); margin-inline: auto; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-block; padding: .85rem 2.1rem; border-radius: 50px;
  font-weight: 600; font-size: .95rem; letter-spacing: .4px; cursor: pointer;
  transition: all .3s ease; border: 2px solid transparent; text-align: center;
}
.btn-primary { background: var(--primary); color: #fff; }
.btn-primary:hover { background: var(--primary-d); color: #fff; transform: translateY(-2px); }
.btn-outline { border-color: var(--primary); color: var(--dark); background: transparent; }
.btn-outline:hover { background: var(--primary); color: #fff; }
.btn-light { background: var(--white); color: var(--dark); }
.btn-light:hover { background: var(--dark); color: var(--white); }
.btn-dark { background: var(--dark); color: var(--white); }
.btn-dark:hover { background: var(--primary); color: #fff; }

/* ---------- Topbar ---------- */
.topbar { background: var(--dark); color: #b9c4cf; font-size: .82rem; }
.topbar-inner { display: flex; justify-content: space-between; align-items: center; gap: 1rem; padding: .45rem 0; flex-wrap: wrap; }
.topbar-left { display: flex; gap: 1.4rem; flex-wrap: wrap; }
.topbar i { color: var(--gold); margin-right: .35rem; }
.topbar-right { display: flex; gap: 1.2rem; align-items: center; }
.topbar a:hover { color: var(--gold); }

/* ---------- Header ---------- */
.site-header {
  position: sticky; top: 0; z-index: 999; background: var(--white);
  box-shadow: 0 2px 18px rgba(0,0,0,.08);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: .55rem 0; }
.brand { display: flex; align-items: center; gap: .65rem; }
.brand img { width: 58px; height: 58px; object-fit: contain; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-size: 1.15rem; color: var(--dark); letter-spacing: 1px; }
.brand-text small { font-size: .72rem; color: var(--primary-d); font-weight: 600; text-transform: uppercase; letter-spacing: 2px; }

.main-nav > ul { display: flex; gap: .2rem; flex-wrap: wrap; }
.main-nav a {
  display: block; padding: .55rem .78rem; font-size: .88rem; font-weight: 500;
  color: var(--dark); border-radius: 8px;
}
.main-nav a:hover, .main-nav a.active { color: var(--primary-d); background: #e8f0fb; }

/* --- Dropdown submenu --- */
.main-nav li { position: relative; }
.sub-caret { font-size: .6rem; margin-left: .3rem; opacity: .7; }
.sub-toggle { display: none; }
.sub-menu {
  position: absolute; top: calc(100% + 10px); left: 0; min-width: 210px;
  background: var(--white); border-radius: 12px; box-shadow: 0 18px 44px rgba(20,33,46,.16);
  padding: .55rem; opacity: 0; visibility: hidden; transform: translateY(12px);
  transition: opacity .28s ease, transform .28s ease, visibility .28s;
  z-index: 60; border-top: 3px solid var(--primary);
}
.sub-menu::before { content: ''; position: absolute; top: -14px; left: 0; right: 0; height: 14px; }
.has-sub:hover .sub-menu, .has-sub:focus-within .sub-menu, .has-sub.open .sub-menu {
  opacity: 1; visibility: visible; transform: translateY(0);
}
.sub-menu { display: block; }
.sub-menu li { display: block; margin: 0; width: 100%; }
.sub-menu a {
  display: block; padding: .6rem .9rem; font-size: .86rem; border-radius: 8px; white-space: nowrap;
}
.has-sub:hover > a .sub-caret { transform: rotate(180deg); }
.sub-caret { transition: transform .3s; display: inline-block; }

.header-cta { display: flex; align-items: center; gap: .9rem; }
.phone-pill { display: flex; align-items: center; gap: .6rem; }
.phone-pill i {
  width: 40px; height: 40px; border-radius: 50%; background: #e8f0fb; color: var(--primary-d);
  display: grid; place-items: center; font-size: .95rem;
}
.phone-pill span { display: flex; flex-direction: column; line-height: 1.2; }
.phone-pill small { font-size: .7rem; color: var(--text); }
.phone-pill strong { font-size: .85rem; color: var(--dark); }
.btn-donate { padding: .65rem 1.5rem; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px; background: none; border: 0; cursor: pointer; padding: 6px;
}
.nav-toggle span { width: 26px; height: 3px; background: var(--dark); border-radius: 2px; transition: .3s; }
.nav-toggle.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.nav-toggle.open span:nth-child(2) { opacity: 0; }
.nav-toggle.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

/* ---------- Hero (home) — cinematic, scrolling, reactive ---------- */
.hero {
  position: relative; min-height: 92vh; display: grid; place-items: center;
  overflow: hidden; text-align: center; padding: 6rem 0; isolation: isolate;
}
.hero-bg {
  position: absolute; inset: -12% 0; z-index: -2;
  background: url('../images/hands-1947915_1280-1.jpg') center/cover no-repeat;
  animation: heroZoom 18s ease-in-out infinite alternate;
  will-change: transform;
}
.hero-bg.bg-2 { background-image: url('../images/men-3610255_1280-1.jpg'); }
.hero-bg.bg-3 { background-image: url('../images/hands-5216585_1280.jpg'); }
.hero-bg { opacity: 0; transition: opacity 1.6s ease; }
.hero-bg.active { opacity: 1; }
@keyframes heroZoom {
  from { transform: scale(1) translateY(0); }
  to   { transform: scale(1.12) translateY(2.5%); }
}
.hero::before {
  content: ''; position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(115deg, rgba(9,24,44,.84) 0%, rgba(12,30,52,.6) 45%, rgba(13,42,79,.8) 100%);
}
.hero::after {
  content: ''; position: absolute; inset: 0; z-index: -1; pointer-events: none;
  background: radial-gradient(ellipse at 50% 110%, rgba(247,179,34,.22), transparent 55%);
}
.hero-content { max-width: 880px; margin-inline: auto; padding: 0 1rem; position: relative; }
.hero-kicker {
  display: inline-block; background: rgba(247,179,34,.15); border: 1px solid var(--gold);
  color: var(--gold); font-size: .8rem; font-weight: 600; letter-spacing: 3px;
  padding: .45rem 1.4rem; border-radius: 50px; margin-bottom: 1.4rem; text-transform: uppercase;
  animation: fadeUp .9s ease both;
}
.hero h1 { color: var(--white); font-size: clamp(2.1rem, 5.4vw, 4rem); font-weight: 800; margin-bottom: .6rem; animation: fadeUp .9s .15s ease both; text-shadow: 0 6px 30px rgba(0,0,0,.4); }
.hero h2 { color: var(--gold); font-size: clamp(1.2rem, 3vw, 2rem); font-weight: 600; margin-bottom: 1.4rem; font-family: var(--font-serif); font-style: italic; animation: fadeUp .9s .3s ease both; }
.hero p { color: #d5dee6; max-width: 640px; margin: 0 auto 2.2rem; animation: fadeUp .9s .45s ease both; }
.hero-btns { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; animation: fadeUp .9s .6s ease both; }
.hero-tags { margin-top: 2.6rem; display: flex; gap: .8rem; justify-content: center; flex-wrap: wrap; animation: fadeUp .9s .75s ease both; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(30px); }
  to   { opacity: 1; transform: none; }
}
.hero-scroll {
  position: absolute; bottom: 26px; left: 50%; transform: translateX(-50%);
  color: #d5dee6; font-size: .72rem; letter-spacing: 3px; text-transform: uppercase;
  display: flex; flex-direction: column; align-items: center; gap: .5rem; z-index: 2;
}
.hero-scroll .mouse {
  width: 26px; height: 42px; border: 2px solid rgba(255,255,255,.55); border-radius: 16px; position: relative;
}
.hero-scroll .mouse::after {
  content: ''; position: absolute; top: 7px; left: 50%; width: 4px; height: 8px; margin-left: -2px;
  background: var(--gold); border-radius: 3px; animation: wheel 1.8s ease-in-out infinite;
}
@keyframes wheel { 0% { opacity: 1; transform: translateY(0); } 70% { opacity: 0; transform: translateY(14px); } 100% { opacity: 0; } }
@media (prefers-reduced-motion: reduce) {
  .hero-bg { animation: none; }
  .hero-kicker, .hero h1, .hero h2, .hero p, .hero-btns, .hero-tags { animation: none; }
}
.hero-tags a {
  color: #e8edf2; font-size: .8rem; letter-spacing: 2px; border: 1px solid rgba(255,255,255,.35);
  padding: .4rem 1.2rem; border-radius: 50px; transition: .3s;
}
.hero-tags a:hover { background: var(--gold); border-color: var(--gold); color: var(--dark); }

/* ---------- Page banner (inner pages) ---------- */
.page-banner {
  background: linear-gradient(rgba(12,22,33,.7), rgba(12,22,33,.78)), url('../images/hands-1947915_1280-1.jpg') center/cover no-repeat;
  padding: 5.2rem 0 4rem; text-align: center;
}
.page-banner h1 { color: var(--white); font-size: clamp(1.9rem, 4.5vw, 3rem); margin-bottom: .5rem; }
.breadcrumb { color: #b9c4cf; font-size: .85rem; }
.breadcrumb a { color: var(--primary); }
.breadcrumb i { margin: 0 .5rem; font-size: .7rem; }

/* Banner variants (original site background images) */
.page-banner.bg-give {
  background: linear-gradient(rgba(9,24,44,.72), rgba(13,42,79,.8)),
              url('../images/donate-jar-means-fundraiser-charity-or-giving.jpg') center/cover no-repeat;
}
.page-banner.bg-events {
  background: linear-gradient(rgba(9,24,44,.74), rgba(13,42,79,.82)),
              url('../images/bokeh-2072271_640.jpg') center/cover no-repeat;
}

/* ---------- Sections ---------- */
.section { padding: 5rem 0; }
.section.alt { background: var(--light); }
.sec-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.sec-kicker {
  display: inline-flex; align-items: center; gap: .5rem; color: var(--primary-d);
  font-weight: 600; letter-spacing: 3px; font-size: .78rem; text-transform: uppercase; margin-bottom: .7rem;
}
.sec-kicker::before, .sec-kicker::after { content: ''; width: 26px; height: 2px; background: var(--primary); }
.sec-head h2 { font-size: clamp(1.7rem, 3.6vw, 2.5rem); }
.sec-head p { margin-top: .8rem; }

/* ---------- History (home/about) ---------- */
.history-grid { display: grid; grid-template-columns: 1.1fr 1fr; gap: 3.4rem; align-items: center; }
.history-media { position: relative; }
.history-media img.main { border-radius: var(--radius); box-shadow: var(--shadow); width: 100%; object-fit: cover; aspect-ratio: 4/3.4; }
.badge-years {
  position: absolute; bottom: -22px; right: -14px; background: var(--gold); color: var(--dark);
  padding: 1.05rem 1.5rem; border-radius: var(--radius); text-align: center; box-shadow: var(--shadow);
}
.badge-years strong { font-size: 2rem; display: block; line-height: 1; }
.badge-years small { font-size: .68rem; font-weight: 700; letter-spacing: 1.4px; }
.history-body h2 { font-size: clamp(1.6rem, 3.4vw, 2.3rem); margin-bottom: 1.1rem; }
.history-body p { margin-bottom: 1.4rem; }
.hist-card {
  display: flex; gap: .95rem; align-items: center; background: var(--light);
  padding: .95rem 1.2rem; border-radius: var(--radius); margin-bottom: 1.6rem; max-width: 430px;
}
.hist-card img { width: 54px; height: 54px; border-radius: 50%; object-fit: contain; background: var(--white); padding: 4px; box-shadow: var(--shadow); }
.hist-card h4 { font-size: .95rem; }
.hist-card small { color: var(--primary-d); font-weight: 600; }
.pill-row { display: flex; gap: .8rem; flex-wrap: wrap; }

/* ---------- Vision / Mission / Values cards ---------- */
.vmv-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.8rem; }
.vmv-card {
  background: var(--white); border-radius: var(--radius); padding: 2.3rem 1.9rem;
  box-shadow: var(--shadow); border-top: 4px solid var(--primary); transition: transform .3s;
}
.vmv-card:hover { transform: translateY(-8px); }
.vmv-card .ic {
  width: 62px; height: 62px; border-radius: 16px; background: #e8f0fb; color: var(--primary-d);
  display: grid; place-items: center; font-size: 1.5rem; margin-bottom: 1.2rem;
}
.vmv-card h3 { margin-bottom: .8rem; font-size: 1.2rem; }
.vmv-card ul { margin-top: .6rem; }
.vmv-card ul li { position: relative; padding-left: 1.4rem; margin-bottom: .6rem; font-size: .93rem; }
.vmv-card ul li::before { content: '\f00c'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary-d); position: absolute; left: 0; font-size: .8rem; top: .2rem; }

/* ---------- Stats ---------- */
.stats {
  background: linear-gradient(rgba(15,26,38,.85), rgba(15,26,38,.9)), url('../images/goal-3535310_1280.jpg') center/cover fixed no-repeat;
  padding: 4.6rem 0; color: var(--white);
}
.stats-head { text-align: center; margin-bottom: 3rem; }
.stats-head .sec-kicker { color: var(--gold); }
.stats-head .sec-kicker::before, .stats-head .sec-kicker::after { background: var(--gold); }
.stats-head h2 { color: var(--white); font-size: clamp(1.6rem, 3.4vw, 2.3rem); }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.6rem; text-align: center; }
.stat h3 { color: var(--gold); font-size: clamp(2.1rem, 4.6vw, 3.1rem); font-weight: 800; }
.stat h4 { color: var(--white); letter-spacing: 2px; font-size: .86rem; margin: .5rem 0 .7rem; text-transform: uppercase; }
.stat p { color: #b9c4cf; font-size: .85rem; max-width: 260px; margin-inline: auto; }

/* ---------- Give-with-love gift cards (home) ---------- */
.give-love {
  background: linear-gradient(rgba(246,248,250,.93), rgba(246,248,250,.96)),
              url('../images/bokeh-2072271_640.jpg') center/cover no-repeat;
}
.donate-cards { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.9rem; }
.gift-card {
  position: relative; border-radius: 20px; padding: 2.6rem 2rem 2.4rem; text-align: center;
  background: linear-gradient(160deg, var(--dark-2) 0%, var(--dark) 100%);
  color: #cdd7e0; overflow: hidden; transition: transform .4s ease, box-shadow .4s ease;
  border: 1px solid rgba(247,179,34,.14);
}
.gift-card::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at 50% -30%, rgba(247,179,34,.28), transparent 60%);
  opacity: 0; transition: opacity .45s;
}
.gift-card::after {
  content: ''; position: absolute; top: -60%; left: -60%; width: 80%; height: 220%;
  background: linear-gradient(115deg, transparent 40%, rgba(255,255,255,.09) 50%, transparent 60%);
  transform: rotate(10deg) translateX(-120%); transition: transform .9s ease;
}
.gift-card:hover { transform: translateY(-10px) scale(1.015); box-shadow: 0 26px 50px rgba(20,33,46,.32); }
.gift-card:hover::before { opacity: 1; }
.gift-card:hover::after { transform: rotate(10deg) translateX(320%); }
.gift-card .g-ic {
  width: 84px; height: 84px; margin: 0 auto 1.4rem; border-radius: 50%;
  background: rgba(247,179,34,.12); border: 1px solid rgba(247,179,34,.4);
  display: grid; place-items: center; position: relative; z-index: 1; transition: transform .45s ease, background .45s;
}
.gift-card .g-ic img { width: 46px; }
.gift-card:hover .g-ic { transform: rotateY(360deg); background: rgba(247,179,34,.24); }
.gift-card h3 { color: var(--white); margin-bottom: .75rem; font-size: 1.18rem; position: relative; z-index: 1; }
.gift-card h3::after { content: ''; display: block; width: 34px; height: 3px; background: var(--gold); border-radius: 2px; margin: .6rem auto 0; transition: width .4s; }
.gift-card:hover h3::after { width: 64px; }
.gift-card p { position: relative; z-index: 1; font-size: .93rem; }
.gift-card .g-link {
  display: inline-flex; align-items: center; gap: .45rem; margin-top: 1.2rem; color: var(--gold);
  font-weight: 700; font-size: .8rem; letter-spacing: 1.6px; text-transform: uppercase; position: relative; z-index: 1;
}
.gift-card .g-link i { transition: transform .3s; }
.gift-card .g-link:hover i { transform: translateX(5px); }

/* ---------- Team ---------- */
.team-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.9rem; }
.team-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); text-align: center; transition: transform .3s; }
.team-card:hover { transform: translateY(-8px); }
.team-card img { width: 100%; aspect-ratio: 3/3.3; object-fit: cover; object-position: top center; }
.team-card .t-body { padding: 1.3rem 1rem 1.6rem; }
.team-card h3 { font-size: 1.08rem; }
.team-card p { color: var(--primary-d); font-weight: 600; font-size: .85rem; text-transform: uppercase; letter-spacing: 1.4px; margin-top: .2rem; }

/* ---------- Compact team cards (home) ---------- */
.team-mini-grid { display: grid; grid-template-columns: repeat(6, 1fr); gap: 1.3rem; }
.team-mini {
  background: var(--white); border-radius: 18px; padding: 1.5rem .9rem 1.3rem; text-align: center;
  box-shadow: 0 6px 20px rgba(20,33,46,.08); border: 1px solid #eef1f5; position: relative; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease, border-color .35s;
}
.team-mini::before {
  content: ''; position: absolute; inset: 0 0 auto 0; height: 0;
  background: linear-gradient(180deg, rgba(26,92,176,.12), transparent); transition: height .4s ease;
}
.team-mini:hover { transform: translateY(-8px); box-shadow: 0 20px 40px rgba(20,33,46,.16); border-color: var(--primary); }
.team-mini:hover::before { height: 100%; }
.team-mini .tm-photo {
  width: 92px; height: 92px; margin: 0 auto .9rem; border-radius: 50%; overflow: hidden;
  border: 3px solid #cfe0f5; position: relative; z-index: 1; transition: border-color .35s, transform .35s;
}
.team-mini:hover .tm-photo { border-color: var(--primary); transform: scale(1.07); }
.team-mini .tm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top center; transition: transform .5s; }
.team-mini:hover .tm-photo img { transform: scale(1.12); }
.team-mini h3 { font-size: .9rem; position: relative; z-index: 1; }
.team-mini p { color: var(--primary-d); font-weight: 600; font-size: .68rem; text-transform: uppercase; letter-spacing: 1.1px; margin-top: .15rem; position: relative; z-index: 1; }

/* ---------- Mission cards ---------- */
.mission-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.7rem; max-width: 1080px; margin-inline: auto; }
.mission-card h3 { display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.7em; }
.mission-card p { display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.mission-card { background: var(--white); border-radius: var(--radius); overflow: hidden; box-shadow: var(--shadow); display: flex; flex-direction: column; transition: transform .3s; }
.mission-card:hover { transform: translateY(-8px); }
.mission-card .m-img { position: relative; overflow: hidden; }
.mission-card .m-img img { width: 100%; aspect-ratio: 16/10.5; object-fit: cover; transition: transform .5s; }
.mission-card:hover .m-img img { transform: scale(1.07); }
.m-tag { position: absolute; top: 14px; left: 14px; background: var(--gold); color: var(--dark); font-size: .72rem; font-weight: 700; padding: .3rem .9rem; border-radius: 50px; letter-spacing: 1px; text-transform: uppercase; }
.mission-card .m-body { padding: 1.5rem 1.5rem 1.7rem; display: flex; flex-direction: column; gap: .6rem; flex: 1; }
.mission-card h3 { font-size: 1.06rem; }
.mission-card h3 a:hover { color: var(--primary-d); }
.m-date { color: var(--primary-d); font-size: .8rem; font-weight: 600; }
.mission-card p { font-size: .9rem; flex: 1; }
.m-more { color: var(--dark); font-weight: 700; font-size: .82rem; letter-spacing: 1.6px; text-transform: uppercase; }
.m-more i { color: var(--primary-d); margin-left: .35rem; transition: transform .3s; }
.m-more:hover i { transform: translateX(5px); }

/* ---------- Mission detail ---------- */
.detail-wrap { display: grid; grid-template-columns: 2.2fr 1fr; gap: 2.8rem; align-items: start; }
.detail-main img.lead { border-radius: var(--radius); box-shadow: var(--shadow); margin-bottom: 1.8rem; width: 100%; }
.detail-main h2 { font-size: clamp(1.5rem, 3vw, 2.1rem); margin-bottom: .4rem; }
.detail-main h3 { margin: 1.9rem 0 .8rem; font-size: 1.22rem; border-left: 4px solid var(--primary); padding-left: .8rem; }
.detail-main p { margin-bottom: 1rem; }
.detail-main ul { margin: 0 0 1.2rem 0; }
.detail-main ul li { position: relative; padding-left: 1.6rem; margin-bottom: .55rem; }
.detail-main ul li::before { content: '\f058'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary-d); position: absolute; left: 0; top: .12rem; font-size: .9rem; }
.detail-main ol { margin: 0 0 1.2rem 1.4rem; }
.detail-main ol li { margin-bottom: .5rem; }
.d-date { display: inline-block; background: #e8f0fb; color: var(--primary-d); font-weight: 700; font-size: .84rem; padding: .35rem 1.1rem; border-radius: 50px; margin-bottom: 1.4rem; }
.sidebar .s-box { background: var(--light); border-radius: var(--radius); padding: 1.7rem 1.5rem; margin-bottom: 1.7rem; }
.sidebar h4 { margin-bottom: 1rem; font-size: 1.05rem; }
.sidebar .s-links li { margin-bottom: .5rem; }
.sidebar .s-links a { font-size: .9rem; display: block; padding: .55rem .8rem; background: var(--white); border-radius: 8px; border-left: 3px solid var(--primary); }
.sidebar .s-links a:hover { background: #e8f0fb; }
.tag-row { display: flex; gap: .5rem; flex-wrap: wrap; }
.tag-row span { background: var(--white); font-size: .78rem; padding: .3rem .9rem; border-radius: 50px; border: 1px solid #e3e8ee; }

/* ---------- Gallery ---------- */
.filter-bar { display: flex; justify-content: center; gap: .7rem; flex-wrap: wrap; margin-bottom: 2.4rem; }
.filter-btn {
  border: 2px solid #e3e8ee; background: var(--white); padding: .55rem 1.5rem; border-radius: 50px;
  font-family: var(--font-head); font-weight: 600; font-size: .85rem; cursor: pointer; transition: .3s; color: var(--dark);
}
.filter-btn:hover, .filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
.gallery-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.g-item { border-radius: 12px; overflow: hidden; cursor: pointer; position: relative; background: var(--dark); }
.g-item img { width: 100%; aspect-ratio: 1/0.9; object-fit: cover; transition: transform .45s, opacity .45s; }
.g-item:hover img { transform: scale(1.08); opacity: .75; }
.g-item::after {
  content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--white);
  position: absolute; inset: 0; display: grid; place-items: center; font-size: 1.6rem; opacity: 0; transition: .35s;
}
.g-item:hover::after { opacity: 1; }
.g-item.hidden { display: none; }

/* ---------- Lightbox ---------- */
.lightbox {
  position: fixed; inset: 0; background: rgba(8,14,20,.94); z-index: 2000;
  display: none; align-items: center; justify-content: center;
}
.lightbox.open { display: flex; }
.lightbox img { max-width: 88vw; max-height: 84vh; border-radius: 8px; box-shadow: 0 20px 60px rgba(0,0,0,.5); }
.lb-close, .lb-prev, .lb-next {
  position: absolute; background: rgba(255,255,255,.12); color: var(--white); border: 0; cursor: pointer;
  width: 46px; height: 46px; border-radius: 50%; font-size: 1.3rem; display: grid; place-items: center; transition: .3s;
}
.lb-close:hover, .lb-prev:hover, .lb-next:hover { background: var(--gold); color: var(--dark); }
.lb-close { top: 22px; right: 26px; font-size: 1.7rem; }
.lb-prev { left: 22px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 22px; top: 50%; transform: translateY(-50%); }

/* ---------- Give page — brand cards ---------- */
.give-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 1.9rem; }
.give-card {
  background: var(--white); border-radius: 18px; box-shadow: var(--shadow); padding: 2.3rem 2rem;
  text-align: center; border-top: 5px solid var(--brand, var(--primary)); position: relative; overflow: hidden;
  transition: transform .35s ease, box-shadow .35s ease;
}
.give-card:hover { transform: translateY(-8px); box-shadow: 0 24px 48px rgba(20,33,46,.16); }
.give-card::before {
  content: ''; position: absolute; top: -70px; right: -70px; width: 170px; height: 170px; border-radius: 50%;
  background: var(--brand, var(--primary)); opacity: .08; transition: transform .45s;
}
.give-card:hover::before { transform: scale(1.35); }
.give-card .ic {
  width: 72px; height: 72px; margin: 0 auto 1.15rem; border-radius: 20px;
  background: var(--brand, var(--primary)); color: #fff; display: grid; place-items: center; font-size: 1.8rem;
  box-shadow: 0 10px 24px color-mix(in srgb, var(--brand, var(--primary)) 40%, transparent);
  position: relative; z-index: 1; transition: transform .4s;
}
.give-card:hover .ic { transform: rotateY(360deg); }
.give-card .ic img { width: 44px; border-radius: 10px; }
.give-card h3 { margin-bottom: .6rem; font-size: 1.16rem; position: relative; z-index: 1; }
.give-card h3 span { color: var(--brand, var(--primary)); }
.give-card p { font-size: .95rem; margin-bottom: .3rem; position: relative; z-index: 1; }
.give-card strong { color: var(--dark); }
.give-card img.qr { width: 210px; margin: 1rem auto 0; border-radius: 10px; border: 1px solid #e3e8ee; position: relative; z-index: 1; }
.give-card img.pp { width: 190px; margin: .9rem auto 0; position: relative; z-index: 1; }
.give-card .btn-brand {
  background: var(--brand, var(--primary)); color: #fff; margin-top: 1.1rem;
  position: relative; z-index: 1;
}
.give-card .btn-brand:hover { filter: brightness(1.12); transform: translateY(-2px); }
/* brand palettes */
.give-card.paypal  { --brand: #0070ba; }
.give-card.cashapp { --brand: #00d632; }
.give-card.venmo   { --brand: #008cff; }
.give-card.check   { --brand: #d99a0b; }
.give-card.cashapp .ic, .give-card.venmo .ic, .give-card.paypal .ic { background: var(--brand); }
.offline-box { background: var(--light); border-radius: var(--radius); padding: 2.2rem; margin-top: 2.4rem; }
.offline-box ol { margin-left: 1.3rem; }
.offline-box ol li { margin-bottom: .55rem; }

/* ---------- PayPal donate modal ---------- */
.pp-modal {
  position: fixed; inset: 0; z-index: 3000; display: none; align-items: center; justify-content: center;
  background: rgba(8,14,20,.8); padding: 1rem; backdrop-filter: blur(3px);
}
.pp-modal.open { display: flex; }
.pp-dialog {
  background: var(--white); width: min(480px, 96vw); max-height: 92vh; border-radius: 18px;
  overflow: hidden; display: flex; flex-direction: column; box-shadow: 0 30px 80px rgba(0,0,0,.45);
  animation: ppIn .35s ease;
}
@keyframes ppIn { from { opacity: 0; transform: translateY(34px) scale(.97); } to { opacity: 1; transform: none; } }
.pp-head {
  display: flex; align-items: center; justify-content: space-between; gap: 1rem;
  background: #0070ba; color: #fff; padding: .95rem 1.3rem;
}
.pp-head h3 { color: #fff; font-size: 1.02rem; display: flex; align-items: center; gap: .6rem; }
.pp-close { background: rgba(255,255,255,.16); border: 0; color: #fff; width: 36px; height: 36px; border-radius: 50%; font-size: 1.25rem; cursor: pointer; transition: .3s; }
.pp-close:hover { background: rgba(255,255,255,.3); }
.pp-body { flex: 1; position: relative; }
.pp-body-center { padding: 2rem 1.8rem 1.6rem; text-align: center; }
.pp-body-center .pp-logo { width: 88px; margin: 0 auto .8rem; }
.pp-body-center h4 { font-size: 1.05rem; margin-bottom: .5rem; color: var(--primary-d); font-family: var(--font-serif); font-style: italic; }
.pp-body-center p { font-size: .92rem; margin-bottom: 1.2rem; }
#paypal-donate-render { display: flex; justify-content: center; margin-bottom: .6rem; min-height: 0; }
#paypal-donate-render img { margin-inline: auto; }
.pp-fallback-btn { background: #0070ba; color: #fff; }
.pp-fallback-btn:hover { background: #005c99; color: #fff; }
.pp-secure { font-size: .78rem !important; color: #7b8792; margin-top: 1rem !important; }
.pp-secure i { color: #2fa84f; margin-right: .3rem; }
.pp-foot { padding: .75rem 1.3rem; background: var(--light); font-size: .78rem; text-align: center; }
.pp-foot a { color: #0070ba; font-weight: 600; }

/* ---------- Contact ---------- */
.contact-grid { display: grid; grid-template-columns: 1fr 1.35fr; gap: 2.6rem; align-items: start; }
.contact-info .c-item { display: flex; gap: 1.05rem; margin-bottom: 1.6rem; align-items: flex-start; }
.contact-info .c-item i { width: 50px; height: 50px; flex: 0 0 50px; border-radius: 12px; background: #e8f0fb; color: var(--primary-d); display: grid; place-items: center; font-size: 1.15rem; }
.contact-info h4 { font-size: 1rem; margin-bottom: .15rem; }
.contact-form { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.3rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1.1rem; }
.contact-form label { font-weight: 600; font-size: .85rem; color: var(--dark); display: block; margin-bottom: .35rem; }
.contact-form input, .contact-form textarea {
  width: 100%; padding: .8rem 1rem; border: 1.5px solid #e3e8ee; border-radius: 10px;
  font-family: inherit; font-size: .93rem; margin-bottom: 1.1rem; transition: border-color .3s; background: var(--light);
}
.contact-form input:focus, .contact-form textarea:focus { outline: 0; border-color: var(--primary); background: var(--white); }
.form-note { padding: .9rem 1.2rem; border-radius: 10px; margin-bottom: 1.2rem; font-size: .92rem; }
.form-note.ok { background: #e7f7ec; color: #1e7a3c; border: 1px solid #b7e4c7; }
.form-note.err { background: #fdecec; color: #b02a2a; border: 1px solid #f3c1c1; }

/* ---------- Events (uniform medium cards) ---------- */
.events-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.7rem; align-items: stretch; }
.event-card {
  background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); overflow: hidden;
  display: flex; flex-direction: column; transition: transform .3s;
}
.event-card:hover { transform: translateY(-8px); }
.ev-media { position: relative; }
.ev-media img { width: 100%; aspect-ratio: 4/3; object-fit: cover; object-position: top center; }
.ev-date {
  position: absolute; bottom: -24px; left: 18px; background: var(--primary); color: #fff;
  border-radius: 12px; text-align: center; padding: .5rem .85rem; box-shadow: var(--shadow); min-width: 66px;
}
.ev-date .mo { color: var(--gold); font-weight: 700; text-transform: uppercase; font-size: .7rem; letter-spacing: 2px; }
.ev-date .day { font-size: 1.45rem; font-weight: 800; line-height: 1.1; }
.ev-date .yr { font-size: .72rem; color: #cfe0f5; }
.event-card .ev-body { padding: 2.2rem 1.4rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.event-card h3 { font-size: 1.08rem; margin-bottom: .4rem; }
.event-card .ev-meta { font-size: .8rem; color: var(--primary-d); font-weight: 600; margin-bottom: .55rem; }
.event-card .ev-body > p:last-of-type { font-size: .9rem; display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical; overflow: hidden; flex: 1; }

/* ---------- Partnership ---------- */
.partner-cols { display: grid; grid-template-columns: 1fr 1fr; gap: 2rem; }
.partner-box { background: var(--white); border-radius: var(--radius); box-shadow: var(--shadow); padding: 2.1rem 1.9rem; border-top: 4px solid var(--primary); }
.partner-box h3 { margin-bottom: 1rem; font-size: 1.15rem; }
.partner-box li { position: relative; padding-left: 1.7rem; margin-bottom: .7rem; }
.partner-box li::before { content: '\f4c4'; font-family: 'Font Awesome 6 Free'; font-weight: 900; color: var(--primary-d); position: absolute; left: 0; top: .15rem; }

/* ---------- Rule banner ---------- */
.rule-banner {
  background: linear-gradient(rgba(15,26,38,.86), rgba(15,26,38,.9)), url('../images/shaking-hands-3641639_1280.jpg') center/cover no-repeat;
  text-align: center; padding: 4.4rem 0; color: var(--white);
}
.rule-banner h2 { color: var(--white); font-size: clamp(1.5rem, 3.2vw, 2.2rem); margin-bottom: 1rem; }
.rule-banner .pct { color: var(--gold); font-size: clamp(2.6rem, 6vw, 4rem); font-weight: 800; display: block; }
.rule-banner p { max-width: 760px; margin: 0 auto 1.6rem; color: #cdd7e0; }

/* ---------- Calendar list ---------- */
.week-list { max-width: 760px; margin-inline: auto; }
.week-list li {
  background: var(--white); border-radius: 12px; box-shadow: var(--shadow); padding: 1rem 1.4rem;
  margin-bottom: .85rem; display: flex; gap: 1.1rem; align-items: center;
}
.week-list .d { background: var(--primary); color: #fff; font-weight: 700; font-size: .78rem; padding: .4rem .95rem; border-radius: 50px; white-space: nowrap; }

/* ---------- CTA strip ---------- */
.cta-strip {
  background: linear-gradient(100deg, rgba(13,42,79,.93) 0%, rgba(26,92,176,.88) 100%),
              url('../images/wrapped-gift-box-with-shiny-gold-decoration-generated-by-ai-min-1200x900-1.jpg') center/cover no-repeat;
  padding: 2.9rem 0;
}
.cta-inner { display: flex; align-items: center; justify-content: space-between; gap: 1.6rem; flex-wrap: wrap; }
.cta-inner h2 { font-size: clamp(1.3rem, 2.8vw, 1.8rem); color: #fff; }
.cta-inner p { color: #cfe0f5; font-weight: 500; }
.cta-strip .btn-light:hover { background: var(--gold); color: var(--dark); }

/* ---------- Footer ---------- */
.site-footer { background: var(--dark); color: #b9c4cf; font-size: .9rem; }
.footer-grid { display: grid; grid-template-columns: 1.4fr 1.2fr 1.1fr; gap: 2.6rem; padding: 4rem 0 3rem; }
.f-logo { width: 84px; margin-bottom: 1rem; }
.f-col h4 { color: var(--white); font-size: 1.02rem; margin-bottom: 1.05rem; position: relative; padding-bottom: .6rem; }
.f-col h4::after { content: ''; position: absolute; left: 0; bottom: 0; width: 38px; height: 3px; background: var(--gold); border-radius: 2px; }
.f-social { display: inline-flex; align-items: center; gap: .5rem; margin-top: 1rem; color: var(--gold); font-weight: 600; }
.f-social:hover { color: var(--white); }
.f-links li, .f-contact li { margin-bottom: .55rem; }
.f-links a:hover { color: var(--gold); }
.f-links i, .f-contact i { color: var(--gold); margin-right: .5rem; font-size: .8rem; }
.f-contact a:hover { color: var(--gold); }
.f-banner { border-radius: 10px; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.08); padding: 1.1rem 0; text-align: center; font-size: .82rem; }

/* ---------- Back to top ---------- */
.to-top {
  position: fixed; bottom: 26px; right: 26px; width: 46px; height: 46px; border-radius: 50%;
  background: var(--primary); color: #fff; border: 0; cursor: pointer; font-size: 1rem;
  box-shadow: var(--shadow); opacity: 0; visibility: hidden; transition: .35s; z-index: 998;
}
.to-top.show { opacity: 1; visibility: visible; }
.to-top:hover { background: var(--gold); color: var(--dark); }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .7s ease, transform .7s ease; }
.reveal.in { opacity: 1; transform: none; }

/* ============================================================
   RESPONSIVE
   ============================================================ */
@media (max-width: 1100px) {
  .main-nav a { padding: .5rem .55rem; font-size: .82rem; }
  .phone-pill { display: none; }
}

@media (max-width: 992px) {
  .nav-toggle { display: flex; }
  .main-nav {
    position: fixed; top: 0; right: -320px; width: 300px; height: 100vh; background: var(--dark);
    padding: 5.4rem 1.6rem 2rem; transition: right .4s ease; z-index: 1001; overflow-y: auto;
  }
  .main-nav.open { right: 0; box-shadow: -12px 0 40px rgba(0,0,0,.35); }
  .main-nav > ul { flex-direction: column; gap: .3rem; }
  .main-nav a { color: #e8edf2; font-size: 1rem; padding: .75rem 1rem; }
  .main-nav a:hover, .main-nav a.active { background: rgba(247,179,34,.14); color: var(--gold); }

  /* mobile submenu: accordion */
  .sub-caret { display: none; }
  .has-sub { display: flex; flex-wrap: wrap; align-items: center; }
  .has-sub > a { flex: 1; }
  .sub-toggle {
    display: grid; place-items: center; width: 42px; height: 42px; background: rgba(255,255,255,.07);
    border: 0; border-radius: 8px; color: #e8edf2; cursor: pointer; transition: .3s;
  }
  .has-sub.open .sub-toggle { background: var(--gold); color: var(--dark); }
  .has-sub.open .sub-toggle i { transform: rotate(180deg); }
  .sub-toggle i { transition: transform .3s; }
  .sub-menu {
    position: static; width: 100%; min-width: 0; background: rgba(255,255,255,.05);
    box-shadow: none; border-top: 0; border-left: 2px solid var(--gold);
    border-radius: 0 8px 8px 0; margin: .3rem 0 .2rem .6rem; padding: .3rem;
    opacity: 1; visibility: visible; transform: none; display: none;
  }
  .has-sub.open .sub-menu { display: block; }
  .has-sub:hover .sub-menu { } /* hover disabled on mobile; toggle only */
  .sub-menu a { color: #cdd7e0; font-size: .92rem; }

  .nav-toggle { z-index: 1002; }
  .nav-toggle.open span { background: var(--white); }
  body.nav-open::before { content: ''; position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 1000; }

  .history-grid, .detail-wrap, .contact-grid { grid-template-columns: 1fr; }
  .vmv-grid, .donate-cards, .team-grid { grid-template-columns: repeat(2, 1fr); }
  .events-grid { grid-template-columns: repeat(2, 1fr); }
  .team-mini-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 2.4rem; }
  .gallery-grid { grid-template-columns: repeat(3, 1fr); }
  .footer-grid { grid-template-columns: repeat(2, 1fr); }
  .badge-years { right: 10px; }
}

@media (max-width: 640px) {
  .section { padding: 3.4rem 0; }
  .topbar-left .tb-hours, .topbar-right a:not([aria-label]) { display: none; }
  .brand-text small { display: none; }
  .btn-donate { padding: .55rem 1.1rem; font-size: .82rem; }
  .vmv-grid, .donate-cards, .give-grid, .partner-cols { grid-template-columns: 1fr; }
  .events-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr 1fr; gap: 1rem; }
  .team-mini-grid { grid-template-columns: repeat(2, 1fr); gap: .9rem; }
  .gallery-grid { grid-template-columns: repeat(2, 1fr); gap: .7rem; }
  .stats-grid { grid-template-columns: 1fr 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .footer-grid { grid-template-columns: 1fr; gap: 2rem; padding: 3rem 0 2.2rem; }
  .hero { min-height: 76vh; padding: 4.4rem 0; }
  .cta-inner { justify-content: center; text-align: center; }
}

@media (max-width: 420px) {
  .team-grid, .stats-grid { grid-template-columns: 1fr; }
  .gallery-grid { grid-template-columns: 1fr 1fr; }
}

/* ============================================================
   SITE LOADER — TBK logo with glow + sparkles
   ============================================================ */
.loader {
  position: fixed; inset: 0; z-index: 5000; display: grid; place-items: center;
  background: radial-gradient(circle at 50% 45%, #16304f 0%, #0b1a2e 70%);
  transition: opacity .7s ease, visibility .7s ease;
}
.loader.done { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-inner { position: relative; text-align: center; }
.loader-logo-wrap { position: relative; width: 148px; height: 148px; margin-inline: auto; }
.loader-logo {
  width: 148px; height: 148px; border-radius: 50%; object-fit: contain; position: relative; z-index: 2;
  animation: loaderPulse 2.1s ease-in-out infinite;
  filter: drop-shadow(0 0 18px rgba(247,179,34,.45));
}
@keyframes loaderPulse {
  0%, 100% { transform: scale(1);    filter: drop-shadow(0 0 14px rgba(247,179,34,.35)); }
  50%      { transform: scale(1.06); filter: drop-shadow(0 0 30px rgba(247,179,34,.7)); }
}
.loader-ring {
  position: absolute; inset: -14px; border-radius: 50%; z-index: 1;
  border: 2px solid transparent; border-top-color: var(--gold); border-right-color: rgba(116,169,230,.7);
  animation: loaderSpin 1.6s linear infinite;
}
.loader-ring.r2 { inset: -26px; border-top-color: rgba(116,169,230,.55); border-right-color: rgba(247,179,34,.4); animation-duration: 2.6s; animation-direction: reverse; }
@keyframes loaderSpin { to { transform: rotate(360deg); } }
.loader-text { margin-top: 1.6rem; color: #cfe0f5; font-family: var(--font-head); font-size: .8rem; letter-spacing: 4px; text-transform: uppercase; }
.loader-text strong { color: var(--gold); }
/* sparkles */
.sparkle {
  position: absolute; width: 6px; height: 6px; border-radius: 50%; background: var(--gold); z-index: 0;
  box-shadow: 0 0 8px 2px rgba(247,179,34,.7); opacity: 0;
  animation: sparkle 2.4s ease-in-out infinite;
}
.sparkle.blue { background: #74a9e6; box-shadow: 0 0 8px 2px rgba(116,169,230,.7); }
.sparkle:nth-child(1) { top: -8%;  left: 48%; animation-delay: 0s; }
.sparkle:nth-child(2) { top: 16%;  left: 102%; animation-delay: .3s; }
.sparkle:nth-child(3) { top: 58%;  left: 108%; animation-delay: .6s; }
.sparkle:nth-child(4) { top: 100%; left: 78%; animation-delay: .9s; }
.sparkle:nth-child(5) { top: 106%; left: 28%; animation-delay: 1.2s; }
.sparkle:nth-child(6) { top: 66%;  left: -10%; animation-delay: 1.5s; }
.sparkle:nth-child(7) { top: 20%;  left: -8%; animation-delay: 1.8s; }
.sparkle:nth-child(8) { top: -4%;  left: 16%; animation-delay: 2.1s; }
@keyframes sparkle {
  0%, 100% { opacity: 0; transform: scale(.4); }
  50%      { opacity: 1; transform: scale(1.25); }
}
@media (prefers-reduced-motion: reduce) {
  .loader-logo, .loader-ring, .sparkle { animation: none; }
}

/* ============================================================
   THEME TOGGLE
   ============================================================ */
.theme-toggle {
  width: 42px; height: 42px; border-radius: 50%; border: 1.5px solid #e3e8ee; background: var(--white);
  color: var(--dark); cursor: pointer; font-size: 1rem; display: grid; place-items: center; transition: .3s;
}
.theme-toggle:hover { background: var(--primary); color: #fff; border-color: var(--primary); }

/* ============================================================
   DARK MODE  (html[data-theme="dark"])
   ============================================================ */
[data-theme="dark"] body { background: #0d1622; color: #b6c2cf; }
[data-theme="dark"] h1, [data-theme="dark"] h2, [data-theme="dark"] h3,
[data-theme="dark"] h4, [data-theme="dark"] h5 { color: #ecf2f8; }
[data-theme="dark"] .site-header { background: #101c2b; box-shadow: 0 2px 18px rgba(0,0,0,.45); }
[data-theme="dark"] .brand-text strong { color: #ecf2f8; }
[data-theme="dark"] .main-nav a { color: #dbe4ee; }
[data-theme="dark"] .main-nav a:hover, [data-theme="dark"] .main-nav a.active { color: #74a9e6; background: rgba(26,92,176,.16); }
[data-theme="dark"] .sub-menu { background: #16243a; box-shadow: 0 18px 44px rgba(0,0,0,.5); }
[data-theme="dark"] .phone-pill strong { color: #ecf2f8; }
[data-theme="dark"] .phone-pill small { color: #8fa1b3; }
[data-theme="dark"] .phone-pill i { background: rgba(26,92,176,.2); color: #74a9e6; }
[data-theme="dark"] .theme-toggle { background: #16243a; border-color: #26374e; color: #f7d270; }
[data-theme="dark"] .section.alt,
[data-theme="dark"] .give-love { background: #0a121d; }
[data-theme="dark"] .vmv-card, [data-theme="dark"] .team-card, [data-theme="dark"] .mission-card,
[data-theme="dark"] .give-card, [data-theme="dark"] .contact-form, [data-theme="dark"] .team-mini,
[data-theme="dark"] .week-list li, [data-theme="dark"] .event-card, [data-theme="dark"] .partner-box,
[data-theme="dark"] .sidebar .s-box, [data-theme="dark"] .offline-box, [data-theme="dark"] .hist-card {
  background: #142132; border-color: #223349; box-shadow: 0 10px 30px rgba(0,0,0,.35); color: #b6c2cf;
}
[data-theme="dark"] .team-mini { border: 1px solid #223349; }
[data-theme="dark"] .team-mini:hover { border-color: var(--primary-l); }
[data-theme="dark"] .vmv-card .ic, [data-theme="dark"] .contact-info .c-item i { background: rgba(26,92,176,.18); color: #74a9e6; }
[data-theme="dark"] .filter-btn { background: #142132; border-color: #26374e; color: #dbe4ee; }
[data-theme="dark"] .filter-btn:hover, [data-theme="dark"] .filter-btn.active { background: var(--primary); border-color: var(--primary); color: #fff; }
[data-theme="dark"] .sidebar .s-links a { background: #0d1622; border-left-color: var(--primary); color: #dbe4ee; }
[data-theme="dark"] .sidebar .s-links a:hover { background: rgba(26,92,176,.16); }
[data-theme="dark"] .tag-row span { background: #0d1622; border-color: #26374e; }
[data-theme="dark"] .contact-form input, [data-theme="dark"] .contact-form textarea {
  background: #0d1622; border-color: #26374e; color: #ecf2f8;
}
[data-theme="dark"] .contact-form label { color: #dbe4ee; }
[data-theme="dark"] .btn-outline { color: #dbe4ee; }
[data-theme="dark"] .btn-dark { background: #16243a; }
[data-theme="dark"] .d-date { background: rgba(26,92,176,.2); color: #74a9e6; }
[data-theme="dark"] .give-card strong, [data-theme="dark"] .offline-box strong,
[data-theme="dark"] .detail-main strong { color: #ecf2f8; }
[data-theme="dark"] .give-card img.qr { border-color: #26374e; }
[data-theme="dark"] .mission-card h3 a { color: #ecf2f8; }
[data-theme="dark"] .mission-card h3 a:hover { color: #74a9e6; }
[data-theme="dark"] .m-more { color: #dbe4ee; }
[data-theme="dark"] .pp-dialog { background: #142132; }
[data-theme="dark"] .pp-body-center p { color: #b6c2cf; }
[data-theme="dark"] .pp-foot { background: #0d1622; color: #8fa1b3; }
[data-theme="dark"] .breadcrumb { color: #b6c2cf; }

/* ---------- Footer credit ---------- */
.footer-bottom .container { display: flex; justify-content: space-between; align-items: center; gap: .8rem; flex-wrap: wrap; }
.designer-credit { color: #8fa1b3; }
.designer-credit .heart { color: #e2504c; animation: heartBeat 1.6s ease-in-out infinite; display: inline-block; }
.designer-credit a { color: var(--gold); font-weight: 600; }
.designer-credit a:hover { color: #fff; }
@keyframes heartBeat { 0%,100% { transform: scale(1); } 25% { transform: scale(1.25); } 40% { transform: scale(1); } 60% { transform: scale(1.18); } }
@media (max-width: 640px) { .footer-bottom .container { justify-content: center; text-align: center; } }

/* gift-card used as link */
a.gift-card { display: flex; flex-direction: column; align-items: center; color: #cdd7e0; }
a.gift-card:hover { color: #e5ecf3; }
