/* =========================================================
   Karnataka Vishwamanava Seva Trust – main stylesheet
   Brand colour taken from the logo: #B91383
   ========================================================= */

:root {
  --brand: #B91383;          /* primary – buttons, icons */
  --brand-light: #D12E97;    /* accents */
  --brand-text: #A3106F;     /* links / eyebrow text on light bg */
  --brand-deep: #8E0F65;
  --brand-deeper: #6E0D52;
  --plum: #3B0A2E;           /* dark sections + body text */
  --plum-ink: #3B0A2E;
  --pink-50: #FFF7FB;        /* page background */
  --pink-100: #FCE7F3;       /* tints */
  --pink-200: #F9C6E6;       /* light text on dark */
  --pink-300: #F3D3E8;
  --line: #F2DCE9;
  --muted: #4B5563;
  --muted-2: #6B7280;
  --white: #FFFFFF;

  --font-head: 'Baloo Tamma 2', 'Noto Sans', 'Noto Sans Kannada', system-ui, sans-serif;
  --font-body: 'Noto Sans', 'Noto Sans Kannada', system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;

  --radius-sm: 12px;
  --radius: 20px;
  --radius-lg: 28px;
  --shadow: 0 20px 50px rgba(59, 10, 46, 0.12);
  --shadow-sm: 0 10px 30px rgba(59, 10, 46, 0.06);
  --container: 1280px;
  --header-h: 84px;
}

/* ---------- Base ---------- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-body);
  font-size: 16px;
  line-height: 1.6;
  color: var(--plum-ink);
  background: var(--pink-50);
  -webkit-font-smoothing: antialiased;
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
a:hover { color: var(--brand-text); }
button { font-family: inherit; }
h1, h2, h3, h4 { font-family: var(--font-head); line-height: 1.2; margin: 0; }
p { margin: 0; }
:focus-visible { outline: 3px solid var(--brand-light); outline-offset: 3px; }
.sr-only { position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0,0,0,0); border: 0; }

.container { max-width: var(--container); margin: 0 auto; padding: 0 32px; }
.section { padding: 96px 0; }
.bg-white { background: var(--white); }
.bg-pink { background: var(--pink-50); }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  height: 52px; padding: 0 26px; border-radius: 999px;
  font-weight: 700; font-size: 16px; border: 2px solid transparent;
  cursor: pointer; transition: transform .2s ease, background .2s ease, color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn:hover { transform: translateY(-2px); }
.btn-lg { height: 56px; padding: 0 28px; font-size: 17px; }
.btn-primary { background: var(--brand); color: var(--white); box-shadow: 0 10px 24px rgba(185, 19, 131, 0.28); }
.btn-primary:hover { background: var(--brand-deep); color: var(--white); }
.btn-dark { background: var(--plum); color: var(--white); }
.btn-dark:hover { background: var(--brand-deeper); color: var(--white); }
.btn-outline { border-color: var(--plum); color: var(--plum); background: transparent; }
.btn-outline:hover { background: var(--plum); color: var(--white); }
.btn-ghost-light { border-color: rgba(255,255,255,.8); color: var(--white); }
.btn-ghost-light:hover { background: var(--white); color: var(--plum); }

/* ---------- Section headings ---------- */
.eyebrow { font-size: 15px; font-weight: 700; color: var(--brand-text); letter-spacing: .3px; }
.section-title { font-size: 42px; font-weight: 800; text-wrap: balance; }
.section-head { display: flex; flex-direction: column; gap: 12px; margin-bottom: 44px; }
.section-head.center { align-items: center; text-align: center; }
.section-head.split { flex-direction: row; justify-content: space-between; align-items: flex-end; gap: 20px; flex-wrap: wrap; }
.section-head.split > div { display: flex; flex-direction: column; gap: 12px; }

/* ---------- Top bar ---------- */
.topbar { background: var(--plum); color: var(--pink-300); font-size: 14px; }
.topbar .container { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding-top: 9px; padding-bottom: 9px; }
.topbar i { color: var(--pink-200); margin-right: 8px; }
.topbar b { color: var(--pink-200); }
.lang-switch { display: flex; align-items: center; gap: 2px; }
.lang-switch i { margin-right: 4px; }
.lang-switch a { padding: 4px 8px; color: var(--pink-300); border-radius: 6px; }
.lang-switch a.active { color: var(--white); font-weight: 700; }
.lang-switch a:hover { color: var(--white); }
.lang-switch span { color: #E7A9D2; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 100; background: var(--white); border-bottom: 1px solid var(--line); transition: box-shadow .25s ease; }
.site-header.scrolled { box-shadow: 0 10px 30px rgba(59, 10, 46, 0.10); }
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 20px; min-height: var(--header-h); }
.brand { display: flex; align-items: center; gap: 12px; color: var(--plum); }
.brand:hover { color: var(--plum); }
.brand img { width: 58px; height: 58px; border-radius: 50%; object-fit: cover; object-position: center 30%; box-shadow: 0 0 0 2px var(--brand); background: #fff; flex: none; }
.brand-name { font-family: var(--font-head); font-weight: 800; font-size: 20px; line-height: 1.2; display: block; white-space: nowrap; }
.brand-sub { font-size: 13px; color: var(--muted-2); display: block; }

.main-nav > ul { list-style: none; margin: 0; padding: 0; display: flex; align-items: center; gap: 2px; }
.main-nav a, .main-nav .nav-trigger {
  display: inline-flex; align-items: center; gap: 6px; padding: 12px 12px;
  font-size: 16px; font-weight: 600; color: var(--plum); background: none; border: 0; cursor: pointer; white-space: nowrap;
}
.main-nav a.active, .main-nav a:hover, .main-nav .nav-trigger:hover, .has-mega.open > .nav-trigger { color: var(--brand-text); }
.nav-trigger i { transition: transform .2s ease; }
.has-mega.open > .nav-trigger i { transform: rotate(180deg); }
.header-actions { display: flex; align-items: center; gap: 10px; }
.menu-toggle { display: none; width: 48px; height: 48px; border-radius: 12px; border: 1.5px solid #E5E7EB; background: var(--white); color: var(--plum); font-size: 20px; cursor: pointer; }

/* Mega menu */
.mega {
  position: absolute; left: 0; right: 0; top: 100%;
  background: var(--white); border-top: 3px solid var(--brand);
  box-shadow: 0 30px 60px rgba(59, 10, 46, 0.18);
  opacity: 0; visibility: hidden; transform: translateY(8px);
  transition: opacity .2s ease, transform .2s ease, visibility .2s;
}
.has-mega.open .mega { opacity: 1; visibility: visible; transform: none; }
.mega-inner { display: grid; gap: 36px; padding-top: 32px; padding-bottom: 32px; }
.mega-services { grid-template-columns: 2fr 1fr 1.1fr; }
.mega-involve { grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.mega-title { font-size: 13px; font-weight: 700; color: var(--brand-text); letter-spacing: .5px; margin-bottom: 14px; }
.mega-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 8px; }
.mega-item { display: flex; gap: 14px; padding: 14px; border-radius: 16px; background: var(--pink-50); transition: background .2s; }
.mega-item:hover { background: var(--pink-100); color: var(--plum); }
.mega-item b { display: block; font-size: 16px; }
.mega-item small { display: block; font-size: 13px; line-height: 1.5; color: var(--muted); }
.icon-tile { width: 46px; height: 46px; flex: none; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; color: var(--white); font-size: 21px; background: var(--brand); }
.icon-tile.t2 { background: var(--brand-light); }
.icon-tile.t3 { background: var(--brand-deep); }
.icon-tile.t4 { background: var(--brand-deeper); }
.mega-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; }
.mega-links a { display: flex; gap: 10px; align-items: center; }
.mega-links i { color: var(--brand-light); }
.mega-promo { position: relative; border-radius: 20px; overflow: hidden; min-height: 220px; display: flex; color: var(--white); }
.mega-promo img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega-promo::after { content: ''; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(59,10,46,.1) 20%, rgba(59,10,46,.9) 100%); }
.mega-promo span { position: relative; z-index: 1; margin-top: auto; padding: 18px; display: flex; flex-direction: column; gap: 8px; }
.mega-promo b { font-family: var(--font-head); font-size: 20px; line-height: 1.3; }
.mega-promo em { font-style: normal; font-weight: 700; color: var(--pink-200); }
.mega-promo:hover { color: var(--white); }
.mega-card { border: 1.5px solid var(--line); border-radius: 20px; padding: 22px; display: flex; flex-direction: column; gap: 10px; transition: border-color .2s, transform .2s; }
.mega-card:hover { border-color: var(--brand); transform: translateY(-2px); color: var(--plum); }
.mega-card.featured { background: var(--pink-50); border-color: var(--pink-200); }
.mega-card i { font-size: 26px; color: var(--brand); }
.mega-card b { font-size: 17px; }
.mega-card small { font-size: 14px; line-height: 1.6; color: var(--muted); }

/* Mobile nav */
.mobile-nav { display: none; }

/* ---------- Hero slider ---------- */
.hero-slider { position: relative; height: 640px; overflow: hidden; background: var(--plum); }
.slide { position: absolute; inset: 0; opacity: 0; visibility: hidden; transition: opacity .9s ease, visibility .9s; }
.slide.active { opacity: 1; visibility: visible; }
.slide-bg { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transform: scale(1.06); transition: transform 7s ease; }
.slide.active .slide-bg { transform: scale(1); }
.slide::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(48,8,38,.92) 0%, rgba(48,8,38,.72) 42%, rgba(48,8,38,.15) 100%); }
.slide-content { position: relative; z-index: 1; height: 100%; display: flex; flex-direction: column; justify-content: center; gap: 22px; color: var(--white); padding-bottom: 70px; }
.slide-content > * { max-width: 640px; }
.slide-tag { align-self: flex-start; display: inline-flex; align-items: center; gap: 10px; background: rgba(185,19,131,.25); border: 1px solid rgba(249,198,230,.5); color: var(--pink-200); border-radius: 999px; padding: 8px 16px; font-size: 15px; font-weight: 700; }
.slide-title { font-size: 60px; font-weight: 800; line-height: 1.15; text-wrap: balance; }
.slide-text { font-size: 19px; line-height: 1.7; color: #FBE6F3; max-width: 560px; }
.slide-actions { display: flex; gap: 14px; flex-wrap: wrap; }
.slide.active .slide-content > * { animation: slideUp .8s ease both; }
.slide.active .slide-content > *:nth-child(2) { animation-delay: .1s; }
.slide.active .slide-content > *:nth-child(3) { animation-delay: .2s; }
.slide.active .slide-content > *:nth-child(4) { animation-delay: .3s; }
@keyframes slideUp { from { opacity: 0; transform: translateY(24px); } to { opacity: 1; transform: none; } }

.slider-ui { position: absolute; left: 0; right: 0; bottom: 96px; z-index: 2; }
.slider-ui .container { display: flex; justify-content: space-between; align-items: center; }
.slider-dots { display: flex; gap: 8px; }
.slider-dots button { width: 12px; height: 12px; border-radius: 999px; border: 0; padding: 0; background: rgba(255,255,255,.55); cursor: pointer; transition: width .3s, background .3s; }
.slider-dots button.active { width: 40px; background: var(--brand); }
.slider-arrows { display: flex; gap: 10px; }
.slider-arrows button { width: 52px; height: 52px; border-radius: 50%; border: 1.5px solid rgba(255,255,255,.6); background: rgba(255,255,255,.08); color: var(--white); cursor: pointer; font-size: 16px; transition: background .2s; }
.slider-arrows button.next { background: var(--brand); border-color: var(--brand); }
.slider-arrows button:hover { background: var(--brand-deep); }

/* Info bar overlapping the slider */
.infobar-wrap { position: relative; z-index: 3; margin-top: -60px; }
.infobar { background: var(--white); border-radius: 24px; box-shadow: var(--shadow); padding: 22px 26px; display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 18px; }
.info-item { display: flex; align-items: center; gap: 14px; }
.info-item .ic { width: 48px; height: 48px; flex: none; border-radius: 14px; background: var(--pink-100); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.info-item b { display: block; font-size: 15px; }
.info-item small { display: block; font-size: 13px; color: var(--muted); }

/* ---------- About ---------- */
.about { margin-top: -40px; padding-top: 140px; padding-bottom: 120px; background: #FFF1F8 url('../img/about-bg-desktop.jpg') center bottom / cover no-repeat; }
.about-grid { display: grid; grid-template-columns: 1.05fr .95fr; gap: 56px; align-items: center; }
.collage { position: relative; min-height: 520px; }
.collage .photo { position: absolute; object-fit: cover; border: 8px solid var(--white); box-shadow: 0 24px 50px rgba(110,13,82,.22); }
.collage .photo-1 { left: 0; top: 20px; width: 64%; height: 78%; border-radius: 36px; transform: rotate(-4deg); }
.collage .photo-2 { right: 0; top: 70px; width: 48%; height: 46%; border-radius: 28px; transform: rotate(3deg); }
.year-badge { position: absolute; right: 6%; bottom: 8px; background: var(--brand); color: var(--white); border: 6px solid var(--white); border-radius: 26px; padding: 16px 24px; display: flex; gap: 16px; align-items: center; transform: rotate(-2deg); box-shadow: 0 16px 34px rgba(110,13,82,.25); }
.year-badge i { font-size: 42px; }
.year-badge b { display: block; font-family: var(--font-head); font-size: 40px; line-height: 1; }
.year-badge span { font-size: 16px; font-weight: 600; }
.about-text { display: flex; flex-direction: column; gap: 22px; }
.about-text .section-title { font-size: 44px; }
.title-underline { display: block; width: 240px; height: 14px; margin: 6px 0 0 120px; border-bottom: 4px solid var(--brand); border-radius: 0 0 50% 50%; }
.about-text p { font-size: 17px; line-height: 1.8; color: #374151; }
.founder-card { background: rgba(255,255,255,.92); border: 1px solid #F2D3E6; border-radius: 22px; padding: 20px 22px; display: flex; gap: 18px; align-items: center; box-shadow: 0 12px 30px rgba(110,13,82,.08); }
.founder-card img { width: 88px; height: 88px; flex: none; border-radius: 50%; object-fit: cover; object-position: center top; border: 4px solid var(--brand); }
.founder-card h3 { font-size: 21px; }
.founder-card .role { font-size: 14px; font-weight: 700; color: var(--brand-text); }
.founder-card p { font-size: 14px; line-height: 1.6; color: var(--muted); }
.link-arrow { font-weight: 700; font-size: 17px; display: inline-flex; align-items: center; gap: 10px; }
.link-arrow i { transition: transform .2s; }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Impact ---------- */
.impact { background: var(--plum); color: var(--white); padding: 72px 0; }
.impact .section-title { text-align: center; font-size: 38px; margin-bottom: 36px; }
.stats { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.stat { background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.14); border-radius: 20px; padding: 26px 24px; display: flex; flex-direction: column; gap: 8px; }
.stat i { font-size: 24px; color: var(--pink-200); }
.stat b { font-family: var(--font-head); font-weight: 800; font-size: 46px; line-height: 1.1; color: #F9A8D4; }
.stat span { font-size: 16px; color: #FBE6F3; }

/* ---------- Services ---------- */
.cards-4 { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.cards-3 { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 24px; }
.service-card { background: var(--pink-50); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; transition: transform .25s, box-shadow .25s; }
.service-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--plum); }
.service-card img { width: 100%; height: 190px; object-fit: cover; }
.service-body { position: relative; padding: 22px 22px 26px; display: flex; flex-direction: column; gap: 10px; }
.service-body .icon-tile { position: absolute; top: -28px; left: 22px; width: 54px; height: 54px; border-radius: 16px; font-size: 24px; box-shadow: 0 0 0 5px var(--pink-50); }
.service-body h3 { margin-top: 22px; font-size: 22px; }
.service-body p { font-size: 15px; line-height: 1.65; color: var(--muted); }
.more { font-weight: 700; font-size: 15px; color: var(--brand-text); }

/* ---------- Donate ---------- */
.donate-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 56px; align-items: center; }
.donate-grid > *, .about-grid > * { min-width: 0; }
.amounts button, .toggle button { min-width: 0; padding: 0 6px; }
.donate-text { display: flex; flex-direction: column; gap: 22px; }
.donate-text p { font-size: 17px; line-height: 1.75; color: #374151; }
.checks { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.checks li { display: flex; gap: 12px; align-items: center; font-size: 16px; font-weight: 600; }
.checks i { font-size: 22px; color: var(--brand-deep); }
.donate-card { background: var(--white); border: 2px solid var(--pink-200); border-radius: var(--radius-lg); padding: 32px; box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 22px; }
.donate-alert { display: flex; align-items: center; gap: 12px; background: var(--pink-100); border-radius: 14px; padding: 12px 16px; font-size: 15px; font-weight: 700; color: #7A0C57; }
.donate-alert i { font-size: 20px; color: var(--brand-light); display: inline-block; }
.toggle { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; background: #F6EAF1; border-radius: 999px; padding: 6px; }
.toggle button { height: 48px; border: 0; border-radius: 999px; background: transparent; color: var(--plum); font-size: 16px; font-weight: 700; cursor: pointer; transition: background .2s, color .2s; }
.toggle button.active { background: var(--plum); color: var(--white); }
.field-label { font-size: 15px; font-weight: 700; display: block; margin-bottom: 10px; }
.amounts { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 10px; }
.amounts button { height: 54px; border-radius: 14px; border: 2px solid #E7E5E4; background: var(--white); color: var(--plum); font-size: 17px; font-weight: 700; cursor: pointer; transition: border-color .2s, background .2s; }
.amounts button.active { border-color: var(--brand); background: var(--pink-100); }
.amount-input { width: 100%; height: 52px; border: 1.5px solid #D6D3D1; border-radius: 14px; padding: 0 16px; font-family: inherit; font-size: 16px; color: var(--plum); }
.amount-input:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px rgba(185,19,131,.12); }
.donate-submit { width: 100%; height: 58px; font-size: 18px; }
.donate-note { font-size: 13px; line-height: 1.6; color: var(--muted); text-align: center; }
.donate-note i { margin-right: 6px; }

/* Shake-once attention effect (runs once when the card scrolls into view) */
@keyframes kvShake {
  0%, 100% { transform: translateX(0) rotate(0); }
  10%, 30%, 50%, 70% { transform: translateX(-10px) rotate(-1.2deg); }
  20%, 40%, 60% { transform: translateX(10px) rotate(1.2deg); }
  80% { transform: translateX(5px); }
  90% { transform: translateX(-3px); }
}
@keyframes kvRing { 0%, 100% { transform: rotate(0); } 15%, 45% { transform: rotate(18deg); } 30%, 60% { transform: rotate(-18deg); } 75% { transform: rotate(8deg); } }
@keyframes kvGlow { from { box-shadow: var(--shadow), 0 0 0 0 rgba(185,19,131,.55); } to { box-shadow: var(--shadow), 0 0 0 20px rgba(185,19,131,0); } }
.donate-card.shake { animation: kvShake .9s cubic-bezier(.36,.07,.19,.97) .2s 1 both, kvGlow 1.2s ease-out .2s 1; }
.donate-card.shake .donate-alert i { animation: kvRing 1s ease-in-out .2s 1; }
@media (prefers-reduced-motion: reduce) {
  .donate-card.shake, .donate-card.shake .donate-alert i, .slide.active .slide-content > * { animation: none; }
  .slide-bg { transition: none; }
}

/* ---------- Videos ---------- */
.video-card { display: flex; flex-direction: column; gap: 14px; }
.video-thumb { position: relative; aspect-ratio: 16 / 9; border-radius: 20px; overflow: hidden; display: flex; align-items: center; justify-content: center; }
.video-thumb img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .4s; }
.video-thumb::after { content: ''; position: absolute; inset: 0; background: rgba(59,10,46,.25); }
.video-card:hover .video-thumb img { transform: scale(1.05); }
.play { position: relative; z-index: 1; width: 68px; height: 68px; border-radius: 50%; background: var(--brand); color: var(--white); display: flex; align-items: center; justify-content: center; font-size: 24px; padding-left: 4px; box-shadow: 0 10px 24px rgba(185,19,131,.35); }
.video-card h3 { font-family: var(--font-body); font-size: 17px; font-weight: 700; line-height: 1.5; }
.yt-btn i { color: var(--brand); font-size: 20px; }

/* ---------- News ---------- */
.news-card { background: var(--white); border-radius: 24px; overflow: hidden; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.news-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); color: var(--plum); }
.news-img { position: relative; }
.news-img img { width: 100%; height: 220px; object-fit: cover; }
.news-cat { position: absolute; left: 16px; top: 16px; background: var(--brand); color: var(--white); border-radius: 999px; padding: 5px 12px; font-size: 13px; font-weight: 700; }
.news-body { padding: 22px 24px 26px; display: flex; flex-direction: column; gap: 10px; }
.news-date { font-size: 13px; color: var(--muted-2); display: flex; gap: 8px; align-items: center; }
.news-body h3 { font-size: 21px; line-height: 1.35; }
.news-body p { font-size: 15px; line-height: 1.65; color: var(--muted); }

/* ---------- Footer ---------- */
.site-footer { background: var(--plum); color: var(--pink-300); }
.footer-grid { display: grid; grid-template-columns: 1.3fr 1fr 1fr 1.3fr; gap: 36px; padding-top: 64px; padding-bottom: 40px; }
.footer-brand { display: flex; align-items: center; gap: 12px; margin-bottom: 14px; }
.footer-brand img { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; object-position: center 30%; background: #fff; }
.footer-brand span { font-family: var(--font-head); font-weight: 700; font-size: 18px; line-height: 1.3; color: var(--white); }
.footer-about { font-size: 14px; line-height: 1.7; margin-bottom: 16px; }
.socials { display: flex; gap: 10px; }
.socials a { width: 44px; height: 44px; border-radius: 50%; background: rgba(255,255,255,.1); display: inline-flex; align-items: center; justify-content: center; color: var(--white); font-size: 19px; transition: background .2s; }
.socials a:hover { background: var(--brand); color: var(--white); }
.footer-title { font-weight: 700; color: var(--pink-200); margin-bottom: 14px; font-family: var(--font-body); font-size: 16px; }
.footer-links { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 10px; font-size: 15px; }
.footer-links a:hover, .contact-list a:hover { color: var(--white); }
.contact-list a { word-break: break-word; }
.contact-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; font-size: 15px; line-height: 1.65; }
.contact-list li { display: flex; gap: 12px; }
.contact-list i { color: var(--pink-200); width: 16px; margin-top: 5px; flex: none; }
.footer-bottom { border-top: 1px solid rgba(255,255,255,.14); }
.footer-bottom .container { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; padding-top: 20px; padding-bottom: 28px; font-size: 13px; color: #E7A9D2; }
.footer-bottom nav { display: flex; gap: 16px; flex-wrap: wrap; }
.footer-bottom a:hover { color: var(--white); }

/* =========================================================
   Responsive
   ========================================================= */
@media (max-width: 1280px) {
  .main-nav a, .main-nav .nav-trigger { padding: 12px 8px; font-size: 15px; }
  .brand-name { font-size: 18px; }
  .brand-sub { display: none; }
}
@media (max-width: 1140px) {
  .brand-name { white-space: normal; max-width: 200px; }
  .header-donate { padding: 0 18px; }
}

@media (max-width: 980px) {
  :root { --header-h: 74px; }
  .section { padding: 72px 0; }
  .main-nav { display: none; }
  .menu-toggle { display: inline-flex; align-items: center; justify-content: center; }
  .mobile-nav { display: block; max-height: 0; overflow: hidden; background: var(--white); border-top: 1px solid transparent; transition: max-height .35s ease; }
  .mobile-nav.open { max-height: 80vh; overflow-y: auto; border-top-color: var(--line); box-shadow: 0 20px 40px rgba(59,10,46,.14); }
  .mobile-nav ul { list-style: none; margin: 0; padding: 8px 32px 24px; }
  .mobile-nav li > a, .mobile-nav .sub-toggle { display: flex; justify-content: space-between; align-items: center; width: 100%; padding: 14px 0; border: 0; border-bottom: 1px solid #F6EAF1; background: none; font-size: 17px; font-weight: 600; color: var(--plum); cursor: pointer; text-align: left; }
  .mobile-nav .sub-toggle i { transition: transform .2s; }
  .mobile-nav .sub.open .sub-toggle i { transform: rotate(180deg); }
  .mobile-nav .sub ul { display: none; padding: 4px 0 8px 14px; }
  .mobile-nav .sub.open ul { display: block; }
  .mobile-nav .sub ul a { font-size: 15px; font-weight: 500; padding: 10px 0; border-bottom: 0; color: var(--muted); }
  .mobile-nav .btn { width: 100%; margin-top: 16px; }
  .slide-title { font-size: 46px; }
  .infobar { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .about-grid, .donate-grid { grid-template-columns: minmax(0, 1fr); gap: 48px; }
  .collage { min-height: 440px; max-width: 620px; }
  .stats, .cards-4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
  .container { padding: 0 18px; }
  .section { padding: 56px 0; }
  .section-title, .about-text .section-title { font-size: 30px; }
  .section-head { margin-bottom: 28px; }
  .topbar { font-size: 12px; }
  .topbar .container { padding-top: 7px; padding-bottom: 7px; }
  .topbar-note { flex: 1; min-width: 0; }
  .brand img { width: 46px; height: 46px; }
  .brand-name { font-size: 15px; }
  .brand-sub { display: none; }
  .header-donate span { display: none; }
  .header-donate { width: 48px; padding: 0; }
  .mobile-nav ul { padding: 8px 18px 20px; }

  .hero-slider { height: 620px; }
  .slide-content { gap: 16px; padding-bottom: 90px; justify-content: flex-end; }
  .slide::after { background: linear-gradient(180deg, rgba(48,8,38,.25) 0%, rgba(48,8,38,.75) 45%, rgba(48,8,38,.95) 100%); }
  .slide-title { font-size: 34px; }
  .slide-text { font-size: 16px; }
  .slide-actions .btn { height: 50px; padding: 0 20px; font-size: 15px; }
  .slider-ui { bottom: 76px; }
  .slider-arrows { display: none; }

  .infobar { padding: 16px; gap: 14px; border-radius: 20px; }
  .info-item { gap: 10px; }
  .info-item .ic { width: 40px; height: 40px; font-size: 18px; border-radius: 12px; }
  .info-item b { font-size: 14px; }
  .info-item small { font-size: 12px; }

  .about { padding-top: 96px; padding-bottom: 72px; background-image: url('../img/about-bg-mobile.jpg'); background-position: center top; }
  .collage { min-height: 360px; }
  .year-badge { padding: 10px 16px; gap: 10px; border-width: 4px; }
  .year-badge i { font-size: 28px; }
  .year-badge b { font-size: 28px; }
  .year-badge span { font-size: 13px; }
  .title-underline { margin-left: 60px; width: 180px; }
  .founder-card { flex-direction: column; align-items: flex-start; }

  .impact { padding: 56px 0; }
  .impact .section-title { font-size: 28px; margin-bottom: 24px; }
  .stats { gap: 12px; }
  .stat { padding: 18px 16px; }
  .stat b { font-size: 32px; }
  .stat span { font-size: 14px; }

  /* swipeable card rows */
  .cards-4, .cards-3 { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 14px; margin: 0 -18px; padding: 4px 18px 16px; scrollbar-width: none; }
  .cards-4::-webkit-scrollbar, .cards-3::-webkit-scrollbar { display: none; }
  .cards-4 > *, .cards-3 > * { flex: 0 0 82%; scroll-snap-align: start; }

  .donate-card { padding: 22px; }
  .amounts { grid-template-columns: repeat(2, minmax(0, 1fr)); }

  .footer-grid { gap: 28px 20px; }
  .footer-grid > .footer-col-about, .footer-grid > .footer-col-contact { grid-column: 1 / -1; }
}

/* =========================================================
   Inner pages
   ========================================================= */
.page-hero { position: relative; background: var(--plum); color: var(--white); overflow: hidden; }
.page-hero img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; opacity: .35; }
.page-hero::after { content: ''; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(48,8,38,.95) 0%, rgba(48,8,38,.6) 60%, rgba(48,8,38,.35) 100%); }
.page-hero .container { position: relative; z-index: 1; padding-top: 80px; padding-bottom: 80px; display: flex; flex-direction: column; gap: 14px; }
.page-hero h1 { font-size: 48px; font-weight: 800; max-width: 820px; text-wrap: balance; }
.page-hero p { font-size: 18px; line-height: 1.7; color: #FBE6F3; max-width: 680px; }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; font-size: 14px; color: var(--pink-300); list-style: none; margin: 0; padding: 0; }
.breadcrumb a { color: var(--pink-200); }
.breadcrumb a:hover { color: var(--white); }
.breadcrumb li + li::before { content: '\f105'; font-family: FontAwesome; margin-right: 8px; color: #E7A9D2; }

.prose { font-size: 17px; line-height: 1.85; color: #374151; }
.prose > * + * { margin-top: 1em; }
.prose h2 { font-size: 30px; color: var(--plum); margin-top: 1.6em; }
.prose h3 { font-size: 23px; color: var(--plum); margin-top: 1.4em; }
.prose a { color: var(--brand-text); text-decoration: underline; }
.prose ul, .prose ol { padding-left: 1.4em; }
.prose li + li { margin-top: .4em; }
.prose img { border-radius: 18px; height: auto; }
.prose blockquote { margin: 1.4em 0; padding: 18px 22px; background: var(--pink-100); border-radius: 16px; color: var(--plum); font-weight: 600; }
.prose table { width: 100%; border-collapse: collapse; }
.prose th, .prose td { border: 1px solid var(--line); padding: 10px 12px; text-align: left; }

.layout-sidebar { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 48px; align-items: start; }
.sidebar { display: flex; flex-direction: column; gap: 20px; position: sticky; top: calc(var(--header-h) + 24px); }
.side-card { background: var(--white); border: 1px solid var(--line); border-radius: 22px; padding: 24px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 14px; }
.side-card h3 { font-size: 20px; }
.side-card.brand { background: var(--plum); color: var(--white); border: 0; }
.side-card.brand p { color: #FBE6F3; }
.side-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 6px; }
.side-list a { display: flex; gap: 12px; align-items: center; padding: 10px 12px; border-radius: 12px; font-weight: 600; }
.side-list a:hover, .side-list a.active { background: var(--pink-100); color: var(--brand-text); }
.side-list i { color: var(--brand); width: 18px; text-align: center; }
.feature-img { width: 100%; max-height: 460px; object-fit: cover; border-radius: 24px; margin-bottom: 32px; }

/* Forms */
.form-card { background: var(--white); border: 1px solid var(--line); border-radius: 24px; padding: 32px; box-shadow: var(--shadow-sm); }
.form-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px; }
.form-grid .full { grid-column: 1 / -1; }
.field { display: flex; flex-direction: column; gap: 8px; }
.field label { font-size: 15px; font-weight: 700; }
.field label small { font-weight: 500; color: var(--muted-2); }
.input, .textarea, .select { width: 100%; height: 52px; border: 1.5px solid #D6D3D1; border-radius: 14px; padding: 0 16px; font: inherit; font-size: 16px; color: var(--plum); background: var(--white); }
.textarea { height: auto; min-height: 130px; padding: 14px 16px; resize: vertical; }
.input:focus, .textarea:focus, .select:focus { border-color: var(--brand); outline: none; box-shadow: 0 0 0 4px rgba(185,19,131,.12); }
.field-error { font-size: 13px; color: #B42318; }
.hp { position: absolute; left: -9999px; }
.alert { border-radius: 16px; padding: 14px 18px; font-weight: 600; display: flex; gap: 12px; align-items: flex-start; }
.alert-success { background: #E7F6EC; color: #14532D; }
.alert-error { background: #FDECEC; color: #8A1C1C; }
.alert-info { background: var(--pink-100); color: #7A0C57; }
.radio-cards { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
.radio-cards label { cursor: pointer; border: 2px solid #E7E5E4; border-radius: 16px; padding: 16px; display: flex; gap: 12px; align-items: center; font-weight: 700; }
.radio-cards input { accent-color: var(--brand); width: 18px; height: 18px; }
.radio-cards label:has(input:checked) { border-color: var(--brand); background: var(--pink-100); }

/* Contact */
.contact-cards { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin-bottom: 48px; }
.contact-card { background: var(--white); border-radius: 22px; padding: 26px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 10px; }
.contact-card .ic { width: 52px; height: 52px; border-radius: 16px; background: var(--brand); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-size: 22px; }
.contact-card h3 { font-size: 20px; }
.contact-card a, .contact-card p { color: var(--muted); font-size: 15px; line-height: 1.7; word-break: break-word; }
.contact-card a:hover { color: var(--brand-text); }
.map { border: 0; width: 100%; height: 100%; min-height: 420px; border-radius: 24px; }

/* Gallery */
.chips { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.chip { height: 42px; padding: 0 18px; border-radius: 999px; border: 1.5px solid var(--line); background: var(--white); font-weight: 600; font-size: 15px; color: var(--plum); cursor: pointer; display: inline-flex; align-items: center; }
.chip.active, .chip:hover { background: var(--plum); border-color: var(--plum); color: var(--white); }
.masonry { columns: 3 300px; column-gap: 18px; }
.masonry figure { break-inside: avoid; margin: 0 0 18px; border-radius: 18px; overflow: hidden; position: relative; cursor: zoom-in; background: var(--pink-100); }
.masonry img { width: 100%; height: auto; transition: transform .4s; }
.masonry figure:hover img { transform: scale(1.04); }
.masonry figcaption { position: absolute; left: 0; right: 0; bottom: 0; padding: 30px 14px 12px; color: var(--white); font-size: 14px; background: linear-gradient(transparent, rgba(48,8,38,.85)); opacity: 0; transition: opacity .25s; }
.masonry figure:hover figcaption { opacity: 1; }
.lightbox { position: fixed; inset: 0; z-index: 500; background: rgba(20,4,16,.92); display: none; align-items: center; justify-content: center; padding: 40px; }
.lightbox.open { display: flex; }
.lightbox img { max-width: 100%; max-height: 82vh; border-radius: 12px; }
.lightbox p { color: var(--white); text-align: center; margin-top: 14px; }
.lightbox button { position: absolute; width: 52px; height: 52px; border-radius: 50%; border: 0; background: rgba(255,255,255,.12); color: var(--white); font-size: 20px; cursor: pointer; }
.lightbox .lb-close { top: 20px; right: 20px; }
.lightbox .lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lightbox .lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.video-modal iframe { width: min(960px, 92vw); aspect-ratio: 16/9; border: 0; border-radius: 12px; }

/* News list */
.cards-3.grid-only { display: grid; }
.pagination { display: flex; gap: 8px; justify-content: center; margin-top: 44px; flex-wrap: wrap; }
.pagination a, .pagination span { min-width: 44px; height: 44px; padding: 0 14px; border-radius: 12px; display: inline-flex; align-items: center; justify-content: center; background: var(--white); border: 1px solid var(--line); font-weight: 600; }
.pagination .active { background: var(--brand); border-color: var(--brand); color: var(--white); }
.pagination .disabled { opacity: .45; }
.post-meta { display: flex; flex-wrap: wrap; gap: 18px; font-size: 15px; color: #FBE6F3; }
.post-meta i { margin-right: 6px; color: var(--pink-200); }
.share { display: flex; gap: 10px; align-items: center; flex-wrap: wrap; margin-top: 36px; padding-top: 24px; border-top: 1px solid var(--line); }
.share a { width: 44px; height: 44px; border-radius: 50%; background: var(--pink-100); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; }
.share a:hover { background: var(--brand); color: var(--white); }
.empty { text-align: center; padding: 60px 20px; color: var(--muted); }

/* Donate page */
.donate-page { display: grid; grid-template-columns: minmax(0, 1fr) 440px; gap: 48px; align-items: start; }
.steps { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 18px; }
.steps li { display: flex; gap: 16px; }
.steps b { width: 40px; height: 40px; flex: none; border-radius: 50%; background: var(--brand); color: var(--white); display: inline-flex; align-items: center; justify-content: center; font-family: var(--font-head); font-size: 18px; }
.steps h3 { font-size: 18px; margin-bottom: 4px; }
.steps p { color: var(--muted); font-size: 15px; }
.trust-row { display: flex; flex-wrap: wrap; gap: 10px; }
.trust-row span { display: inline-flex; gap: 8px; align-items: center; background: var(--white); border: 1px solid var(--line); border-radius: 999px; padding: 8px 14px; font-size: 14px; font-weight: 600; }
.trust-row i { color: var(--brand); }
.donate-summary { display: flex; justify-content: space-between; align-items: center; background: var(--pink-100); border-radius: 14px; padding: 14px 18px; font-weight: 700; }
.donate-summary strong { font-family: var(--font-head); font-size: 26px; color: var(--brand-text); }
.spinner { width: 18px; height: 18px; border: 3px solid rgba(255,255,255,.4); border-top-color: #fff; border-radius: 50%; animation: spin .8s linear infinite; display: none; }
.is-loading .spinner { display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* Thank you / receipt */
.result-card { max-width: 720px; margin: 0 auto; background: var(--white); border-radius: 28px; padding: 44px; box-shadow: var(--shadow); text-align: center; display: flex; flex-direction: column; gap: 18px; align-items: center; }
.result-card .big-ic { width: 84px; height: 84px; border-radius: 50%; background: var(--pink-100); color: var(--brand); display: inline-flex; align-items: center; justify-content: center; font-size: 38px; }
.result-card dl { display: grid; grid-template-columns: auto 1fr; gap: 10px 22px; text-align: left; width: 100%; max-width: 460px; margin: 8px 0; }
.result-card dt { color: var(--muted-2); font-size: 14px; }
.result-card dd { margin: 0; font-weight: 700; word-break: break-all; }
.result-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }

/* Values / mission blocks */
.values { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.value { background: var(--white); border-radius: 22px; padding: 28px; box-shadow: var(--shadow-sm); display: flex; flex-direction: column; gap: 12px; }
.value .icon-tile { width: 54px; height: 54px; font-size: 24px; }
.value h3 { font-size: 22px; }
.value p { color: var(--muted); }
.cta-band { background: var(--brand); color: var(--white); border-radius: 32px; padding: 48px 56px; display: flex; justify-content: space-between; align-items: center; gap: 28px; flex-wrap: wrap; }
.cta-band h2 { font-size: 36px; max-width: 640px; }
.cta-band p { color: #FCE7F3; margin-top: 8px; }
.cta-band .btn-light { background: var(--white); color: var(--brand-text); }
.cta-band .btn-light:hover { background: var(--plum); color: var(--white); }
.service-list { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 28px; }
.service-row { display: grid; grid-template-columns: 240px minmax(0, 1fr); background: var(--white); border-radius: 24px; overflow: hidden; box-shadow: var(--shadow-sm); transition: transform .25s, box-shadow .25s; }
.service-row:hover { transform: translateY(-4px); box-shadow: var(--shadow); color: var(--plum); }
.service-row img { width: 100%; height: 100%; min-height: 220px; object-fit: cover; }
.service-row div { padding: 26px; display: flex; flex-direction: column; gap: 10px; }
.service-row h2 { font-size: 24px; }
.service-row p { color: var(--muted); }

@media (max-width: 980px) {
  .page-hero h1 { font-size: 38px; }
  .layout-sidebar, .donate-page { grid-template-columns: minmax(0, 1fr); }
  .sidebar { position: static; }
  .contact-cards, .values { grid-template-columns: minmax(0, 1fr); }
  .service-list { grid-template-columns: minmax(0, 1fr); }
}
@media (max-width: 600px) {
  .page-hero .container { padding-top: 52px; padding-bottom: 52px; }
  .page-hero h1 { font-size: 30px; }
  .page-hero p { font-size: 16px; }
  .form-card { padding: 22px; }
  .form-grid, .radio-cards { grid-template-columns: minmax(0, 1fr); }
  .service-row { grid-template-columns: minmax(0, 1fr); }
  .service-row img { min-height: 200px; max-height: 220px; }
  .result-card { padding: 28px 20px; }
  .cta-band { padding: 32px 24px; }
  .cta-band h2 { font-size: 26px; }
  .cards-3.grid-only { display: grid; grid-template-columns: minmax(0, 1fr); margin: 0; padding: 0; overflow: visible; }
  .masonry { columns: 2 150px; column-gap: 10px; }
  .masonry figure { margin-bottom: 10px; border-radius: 12px; }
  .lightbox { padding: 12px; }
}
[hidden] { display: none !important; }
@media (max-width: 600px) { .topbar-note .tb-a { display: none; } }
