/* =====================================================================
   Amra Sobai Cultural Club — Public site styles
   Palette: maroon #4A172B · burgundy #702B43 · gold #D6AD60 · cream #FFF9EF
   ===================================================================== */
:root {
  --maroon: #4A172B;
  --maroon-900: #33101e;
  --burgundy: #702B43;
  --gold: #D6AD60;
  --gold-600: #b88f43;
  --gold-100: #f6ead2;
  --cream: #FFF9EF;
  --cream-200: #f7eedd;
  --white: #FFFFFF;
  --charcoal: #252525;
  --muted: #6b5d58;
  --line: #ead9bb;
  --radius: 18px;
  --radius-sm: 10px;
  --shadow-sm: 0 2px 10px rgba(74, 23, 43, .06);
  --shadow: 0 14px 40px -14px rgba(74, 23, 43, .28);
  --font-en: 'Poppins', 'Hind Siliguri', system-ui, -apple-system, 'Segoe UI', sans-serif;
  --font-bn: 'Hind Siliguri', 'Noto Sans Bengali', 'Poppins', sans-serif;
  --font-display-bn: 'Noto Serif Bengali', 'Hind Siliguri', serif;
  --header-h: 84px;
  --ease: cubic-bezier(.2, .7, .2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }
/* Never allow sideways scrolling on small screens (clip keeps the sticky header working) */
html, body { overflow-x: clip; max-width: 100%; }
/* Bootstrap's g-5 gutter (3rem) is wider than the container padding on phones → 12px overflow.
   Use the standard gutter below the lg breakpoint; keep the generous spacing vertically. */
@media (max-width: 991.98px) {
  .row.g-5 { --bs-gutter-x: 1.5rem; }
}
body {
  font-family: var(--font-en);
  color: var(--charcoal);
  background: var(--cream);
  font-size: 15.5px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}
.bn, [lang="bn"] { font-family: var(--font-bn); }
h1, h2, h3, h4, h5, h6 { color: var(--maroon); font-weight: 600; line-height: 1.25; letter-spacing: -.01em; }
a { color: var(--burgundy); text-decoration: none; transition: color .2s; }
a:hover { color: var(--gold-600); }
img { max-width: 100%; height: auto; }
::selection { background: var(--gold); color: var(--maroon); }
:focus-visible { outline: 3px solid var(--gold); outline-offset: 2px; border-radius: 4px; }
.skip-link { position: absolute; left: -999px; top: 8px; z-index: 2000; background: var(--maroon); color: #fff; padding: 8px 16px; border-radius: 6px; }
.skip-link:focus { left: 12px; color: #fff; }
.hp-field { position: absolute !important; left: -9999px !important; width: 1px; height: 1px; overflow: hidden; }

/* ---------- Buttons ---------- */
.btn { font-weight: 500; border-radius: 999px; padding: .68rem 1.5rem; letter-spacing: .01em; transition: all .25s var(--ease); }
.btn-sm { padding: .42rem 1rem; font-size: .85rem; }
.btn-maroon { background: var(--maroon); color: #fff; border: 1px solid var(--maroon); }
.btn-maroon:hover, .btn-maroon:focus { background: var(--burgundy); border-color: var(--burgundy); color: #fff; transform: translateY(-2px); box-shadow: var(--shadow); }
.btn-gold { background: var(--gold); color: var(--maroon-900); border: 1px solid var(--gold); }
.btn-gold:hover, .btn-gold:focus { background: #e3bf78; border-color: #e3bf78; color: var(--maroon-900); transform: translateY(-2px); box-shadow: 0 12px 30px -10px rgba(214, 173, 96, .6); }
.btn-outline-gold { color: var(--gold); border: 1px solid var(--gold); background: transparent; }
.btn-outline-gold:hover { background: var(--gold); color: var(--maroon-900); }
.btn-outline-maroon { color: var(--maroon); border: 1px solid var(--maroon); background: transparent; }
.btn-outline-maroon:hover { background: var(--maroon); color: #fff; }
.btn-light-ghost { color: #fff; border: 1px solid rgba(255,255,255,.6); background: rgba(255,255,255,.06); backdrop-filter: blur(4px); }
.btn-light-ghost:hover { background: #fff; color: var(--maroon); }
.link-arrow { font-weight: 500; display: inline-flex; align-items: center; gap: .45rem; }
.link-arrow i { transition: transform .25s var(--ease); }
.link-arrow:hover i { transform: translateX(4px); }

/* ---------- Top announcement bar ---------- */
.topbar { background: var(--maroon-900); color: #f2e3c6; font-size: .82rem; position: relative; z-index: 1031; }
.topbar .container { display: flex; align-items: center; gap: 1rem; min-height: 40px; }
.topbar-label { background: var(--gold); color: var(--maroon-900); font-weight: 600; font-size: .72rem; text-transform: uppercase; letter-spacing: .08em; padding: .2rem .6rem; border-radius: 4px; flex-shrink: 0; }
.ticker { overflow: hidden; flex: 1; mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent); }
.ticker-track { display: inline-flex; gap: 3rem; white-space: nowrap; animation: ticker 38s linear infinite; padding-left: 100%; }
.ticker:hover .ticker-track { animation-play-state: paused; }
.ticker a, .ticker span { color: #f2e3c6; }
.ticker a:hover { color: var(--gold); }
.ticker-item::before { content: '✦'; color: var(--gold); margin-right: .6rem; }
@keyframes ticker { to { transform: translateX(-100%); } }
.topbar-contact { display: flex; gap: 1.25rem; flex-shrink: 0; }
.topbar-contact a { color: #f2e3c6; }
.topbar-contact a:hover { color: var(--gold); }
.topbar-contact i { color: var(--gold); margin-right: .35rem; }

/* ---------- Header ---------- */
.site-header { position: sticky; top: 0; z-index: 1030; background: rgba(255, 249, 239, .96); backdrop-filter: saturate(160%) blur(10px); border-bottom: 1px solid transparent; transition: box-shadow .3s, border-color .3s, padding .3s; }
.site-header.scrolled { box-shadow: 0 6px 30px -12px rgba(74, 23, 43, .25); border-bottom-color: var(--line); }
.site-header .navbar { padding: .85rem 0; transition: padding .3s; }
.site-header.scrolled .navbar { padding: .45rem 0; }
.brand { display: flex; align-items: center; gap: .8rem; }
.brand img { width: 58px; height: 58px; object-fit: contain; transition: width .3s, height .3s; }
.site-header.scrolled .brand img { width: 46px; height: 46px; }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-name { font-weight: 700; color: var(--maroon); letter-spacing: .06em; font-size: 1.02rem; text-transform: uppercase; }
.brand-tag { font-family: var(--font-bn); color: var(--gold-600); font-size: .92rem; font-weight: 500; }
.site-nav .nav-link { color: var(--charcoal); font-weight: 500; font-size: .9rem; padding: .5rem .7rem !important; position: relative; }
.site-nav .nav-link::after { content: ''; position: absolute; left: .7rem; right: .7rem; bottom: .2rem; height: 2px; background: var(--gold); transform: scaleX(0); transform-origin: left; transition: transform .3s var(--ease); }
.site-nav .nav-link:hover, .site-nav .nav-link.active { color: var(--maroon); }
.site-nav .nav-link:hover::after, .site-nav .nav-link.active::after { transform: scaleX(1); }
.site-nav .dropdown-menu { border: 1px solid var(--line); border-radius: 12px; box-shadow: var(--shadow); padding: .5rem; background: #fff; }
.site-nav .dropdown-item { border-radius: 8px; font-size: .9rem; padding: .5rem .9rem; }
.site-nav .dropdown-item:hover, .site-nav .dropdown-item.active { background: var(--gold-100); color: var(--maroon); }
.btn-join { box-shadow: inset 0 0 0 1px rgba(214,173,96,.6); white-space: nowrap; }
.site-nav .nav-link { white-space: nowrap; }
.navbar-brand.brand { flex-shrink: 0; margin-right: 1rem; }
.brand-text { white-space: nowrap; }
@media (min-width: 1200px) and (max-width: 1399.98px) {
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: .8rem !important; letter-spacing: .04em; }
  .brand-tag { font-size: .78rem !important; }
  .site-nav .nav-link { font-size: .8rem !important; padding: .5rem .32rem !important; }
  .btn-join { padding: .5rem .8rem !important; font-size: .8rem !important; }
}
@media (min-width: 1200px) and (max-width: 1499.98px) {
  .site-nav .nav-link { font-size: .84rem; padding: .5rem .45rem !important; }
  .site-nav .nav-link::after { left: .45rem; right: .45rem; }
  .btn-join { padding: .55rem 1rem; font-size: .85rem; }
  .brand-name { font-size: .92rem; }
  .brand-tag { font-size: .85rem; }
}
.navbar-toggler { border: 1px solid var(--line); padding: .45rem .6rem; border-radius: 10px; }
.navbar-toggler:focus { box-shadow: 0 0 0 3px rgba(214, 173, 96, .4); }
.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='%234A172B' stroke-linecap='round' stroke-width='2.2' d='M4 8h22M4 15h22M4 22h22'/%3e%3c/svg%3e"); }
@media (max-width: 1199.98px) {
  .site-nav { padding: 1rem 0 .5rem; border-top: 1px solid var(--line); margin-top: .75rem; }
  .site-nav .nav-link::after { display: none; }
  .site-nav .nav-link { padding: .65rem .25rem !important; border-bottom: 1px dashed var(--line); }
  .site-nav .dropdown-menu { box-shadow: none; border: 0; background: transparent; padding-left: 1rem; }
  .btn-join { margin-top: 1rem; width: 100%; }
}

/* ---------- Ornaments ---------- */
.ornament { display: flex; align-items: center; justify-content: center; gap: .75rem; color: var(--gold); margin: .9rem 0 0; }
.ornament::before, .ornament::after { content: ''; height: 1px; width: 64px; background: linear-gradient(90deg, transparent, var(--gold)); }
.ornament::after { transform: scaleX(-1); }
.ornament span { width: 9px; height: 9px; border: 1.5px solid var(--gold); transform: rotate(45deg); }
.ornament.start { justify-content: flex-start; }
.ornament.start::before { display: none; }
.eyebrow { display: inline-flex; align-items: center; gap: .6rem; font-size: .78rem; text-transform: uppercase; letter-spacing: .18em; font-weight: 600; color: var(--gold-600); margin-bottom: .6rem; }
.eyebrow::before { content: ''; width: 28px; height: 1px; background: currentColor; }
.section-head { text-align: center; max-width: 720px; margin: 0 auto 3rem; }
.section-head h2 { font-size: clamp(1.75rem, 3.2vw, 2.6rem); margin-bottom: .35rem; }
.section-head .bn-sub { font-family: var(--font-bn); color: var(--burgundy); font-size: 1.1rem; }
.section-head p.lead { color: var(--muted); font-size: 1rem; margin-top: .9rem; }
.section-head.start { text-align: left; margin-left: 0; }
.on-dark h1, .on-dark h2, .on-dark h3, .on-dark h4 { color: #fff; }
.on-dark .eyebrow { color: var(--gold); }
.on-dark .section-head p.lead, .on-dark p { color: rgba(255, 255, 255, .78); }
.on-dark .bn-sub { color: var(--gold); }

/* ---------- Sections ---------- */
.section { padding: clamp(4rem, 8vw, 6.5rem) 0; position: relative; }
.section-white { background: var(--white); }
.section-cream { background: var(--cream); }
.section-maroon { background: var(--maroon); color: #fff; overflow: hidden; }
.pattern-bg { position: relative; isolation: isolate; }
.pattern-bg::before { content: ''; position: absolute; inset: 0; background: url('../img/alpana.svg') repeat; background-size: 120px; opacity: .07; z-index: -1; pointer-events: none; }
.section-divider { height: 26px; background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' width='40' height='26'%3e%3cpath d='M0 13h14M26 13h14' stroke='%23D6AD60' stroke-width='1'/%3e%3cpath d='M20 5l8 8-8 8-8-8z' fill='none' stroke='%23D6AD60' stroke-width='1.2'/%3e%3c/svg%3e") center repeat-x; opacity: .7; }

/* ---------- Reveal animation ---------- */
.reveal { opacity: 0; transform: translateY(24px); transition: opacity .8s var(--ease), transform .8s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .reveal { opacity: 1; transform: none; transition: none; }
  .ticker-track { animation: none; padding-left: 0; }
  .hero-mandala { animation: none !important; }
  * { transition-duration: .01ms !important; }
}

/* ---------- Hero ---------- */
.hero { position: relative; min-height: min(88vh, 820px); display: flex; align-items: center; color: #fff; overflow: hidden; background: var(--maroon-900); isolation: isolate; }
.hero-bg { position: absolute; inset: 0; z-index: -2; background-size: cover; background-position: center; transform: scale(1.04); }
.hero::before { content: ''; position: absolute; inset: 0; z-index: -1; background:
  linear-gradient(100deg, rgba(51, 16, 30, .94) 0%, rgba(74, 23, 43, .82) 42%, rgba(74, 23, 43, .35) 75%, rgba(51, 16, 30, .55) 100%),
  linear-gradient(0deg, rgba(51, 16, 30, .7), transparent 40%); }
.hero.no-image .hero-bg { background: radial-gradient(ellipse at 75% 40%, #8a3554 0%, var(--maroon) 45%, var(--maroon-900) 100%); transform: none; }
.hero.no-image::before { background: linear-gradient(0deg, rgba(51,16,30,.6), transparent 40%); }
.hero-mandala { position: absolute; right: -12vw; top: 50%; width: min(78vw, 860px); aspect-ratio: 1; transform: translateY(-50%); opacity: .2; z-index: -1; animation: spin 140s linear infinite; pointer-events: none; }
.hero:not(.no-image) .hero-mandala { opacity: .1; }
@keyframes spin { to { transform: translateY(-50%) rotate(360deg); } }
.hero-content { padding: 5rem 0 6rem; max-width: 760px; }
.hero-kicker { display: inline-flex; align-items: center; gap: .7rem; border: 1px solid rgba(214, 173, 96, .5); color: var(--gold); padding: .35rem 1rem; border-radius: 999px; font-size: .8rem; letter-spacing: .14em; text-transform: uppercase; margin-bottom: 1.6rem; background: rgba(51,16,30,.35); }
.hero h1 { font-family: var(--font-display-bn); color: #fff; font-weight: 700; font-size: clamp(2.4rem, 6vw, 4.6rem); line-height: 1.22; margin-bottom: 1.25rem; text-shadow: 0 4px 30px rgba(0,0,0,.25); }
.hero h1 .gold { color: var(--gold); }
.hero-sub { font-family: var(--font-bn); font-size: clamp(1.1rem, 2vw, 1.35rem); color: rgba(255,255,255,.88); max-width: 620px; margin-bottom: 2.2rem; }
.hero-actions { display: flex; flex-wrap: wrap; gap: .9rem; }
.hero-actions .btn { padding: .85rem 1.8rem; }
.hero-scroll { position: absolute; left: 50%; bottom: 1.6rem; transform: translateX(-50%); color: rgba(255,255,255,.7); font-size: .72rem; letter-spacing: .2em; text-transform: uppercase; display: flex; flex-direction: column; align-items: center; gap: .5rem; }
.hero-scroll::after { content: ''; width: 1px; height: 38px; background: linear-gradient(var(--gold), transparent); }
.hero-border { position: absolute; left: 0; right: 0; bottom: 0; height: 10px; background: repeating-linear-gradient(90deg, var(--gold) 0 18px, transparent 18px 26px); opacity: .55; }
.hero .carousel, .hero .carousel-inner, .hero .carousel-item { position: absolute; inset: 0; z-index: -2; }
.hero .carousel-item { background-size: cover; background-position: center; transition: opacity 1.2s ease-in-out; }
.hero-indicators { position: absolute; bottom: 2.4rem; right: 2rem; display: flex; gap: .5rem; z-index: 3; }
.hero-indicators button { width: 34px; height: 3px; border: 0; background: rgba(255,255,255,.4); border-radius: 2px; padding: 0; }
.hero-indicators button.active { background: var(--gold); }

/* ---------- Inner page hero ---------- */
.page-hero { background: var(--maroon); color: #fff; padding: clamp(3.5rem, 7vw, 5.5rem) 0 clamp(3rem, 6vw, 4.5rem); position: relative; overflow: hidden; isolation: isolate; }
.page-hero::before { content: ''; position: absolute; inset: 0; background: url('../img/alpana.svg') repeat; background-size: 110px; opacity: .08; z-index: -1; }
.page-hero::after { content: ''; position: absolute; right: -140px; top: -140px; width: 460px; height: 460px; background: url('../img/mandala.svg') no-repeat center / contain; opacity: .14; z-index: -1; }
.page-hero.has-image { background-size: cover; background-position: center; }
.page-hero.has-image::before { background: linear-gradient(90deg, rgba(51,16,30,.92), rgba(74,23,43,.65)); opacity: 1; }
.page-hero h1 { color: #fff; font-size: clamp(2rem, 4.5vw, 3.2rem); margin-bottom: .4rem; }
.page-hero .bn-sub { font-family: var(--font-bn); color: var(--gold); font-size: 1.15rem; }
.page-hero .breadcrumb { margin: 1.2rem 0 0; font-size: .85rem; }
.page-hero .breadcrumb-item, .page-hero .breadcrumb-item a { color: rgba(255,255,255,.75); }
.page-hero .breadcrumb-item a:hover { color: var(--gold); }
.page-hero .breadcrumb-item.active { color: var(--gold); }
.page-hero .breadcrumb-item + .breadcrumb-item::before { color: rgba(255,255,255,.4); }

/* ---------- Welcome ---------- */
.welcome-media { position: relative; padding: 0 1.5rem 1.5rem 0; }
.welcome-media::before { content: ''; position: absolute; inset: 1.5rem 0 0 1.5rem; border: 2px solid var(--gold); border-radius: var(--radius); z-index: 0; }
.welcome-media img { position: relative; z-index: 1; border-radius: var(--radius); width: 100%; aspect-ratio: 4/5; object-fit: cover; box-shadow: var(--shadow); }
.welcome-badge { position: absolute; z-index: 2; left: -1rem; bottom: 3rem; background: var(--maroon); color: #fff; border-radius: 16px; padding: 1rem 1.3rem; box-shadow: var(--shadow); border: 1px solid rgba(214,173,96,.5); text-align: center; }
.welcome-badge strong { display: block; font-size: 2rem; color: var(--gold); line-height: 1; font-weight: 700; }
.welcome-badge span { font-size: .78rem; letter-spacing: .08em; text-transform: uppercase; }
.vm-card { background: var(--cream); border: 1px solid var(--line); border-radius: var(--radius-sm); padding: 1.2rem 1.3rem; height: 100%; }
.vm-card h3 { font-size: 1rem; display: flex; align-items: center; gap: .55rem; margin-bottom: .45rem; }
.vm-card h3 i { color: var(--gold-600); }
.vm-card p { margin: 0; color: var(--muted); font-size: .93rem; }
.stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; margin-top: 2rem; padding-top: 1.75rem; border-top: 1px solid var(--line); }
.stat strong { display: block; font-size: 1.8rem; font-weight: 700; color: var(--maroon); line-height: 1.1; }
.stat span { font-size: .8rem; color: var(--muted); text-transform: uppercase; letter-spacing: .06em; }
@media (max-width: 575.98px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* ---------- Activity cards ---------- */
.activity-card { background: #fff; border-radius: var(--radius); padding: 2.1rem 1.8rem; height: 100%; border: 1px solid var(--line); position: relative; overflow: hidden; transition: transform .35s var(--ease), box-shadow .35s var(--ease), border-color .35s; display: block; color: inherit; }
.activity-card::after { content: ''; position: absolute; right: -60px; bottom: -60px; width: 170px; height: 170px; background: url('../img/alpana.svg') center / contain no-repeat; opacity: .08; transition: transform .6s var(--ease), opacity .4s; }
.activity-card:hover { transform: translateY(-6px); box-shadow: var(--shadow); border-color: var(--gold); color: inherit; }
.activity-card:hover::after { transform: rotate(45deg) scale(1.15); opacity: .16; }
.activity-icon { width: 66px; height: 66px; border-radius: 50%; display: grid; place-items: center; font-size: 1.5rem; color: var(--gold); background: var(--maroon); position: relative; margin-bottom: 1.3rem; }
.activity-icon::before { content: ''; position: absolute; inset: -6px; border-radius: 50%; border: 1px dashed var(--gold); transition: transform 1s var(--ease); }
.activity-card:hover .activity-icon::before { transform: rotate(180deg); }
.activity-card h3 { font-size: 1.15rem; margin-bottom: .2rem; }
.activity-card .bn { color: var(--gold-600); font-size: .95rem; margin-bottom: .7rem; display: block; }
.activity-card p { color: var(--muted); font-size: .93rem; margin: 0; }

/* ---------- Generic image card ---------- */
.card-x { background: #fff; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); height: 100%; display: flex; flex-direction: column; transition: transform .35s var(--ease), box-shadow .35s var(--ease); }
.card-x:hover { transform: translateY(-6px); box-shadow: var(--shadow); }
.card-x-media { position: relative; overflow: hidden; aspect-ratio: 16/10; background: var(--maroon); }
.card-x-media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.card-x:hover .card-x-media img { transform: scale(1.06); }
.card-x-body { padding: 1.4rem 1.5rem 1.6rem; display: flex; flex-direction: column; flex: 1; }
.card-x-body h3 { font-size: 1.12rem; margin-bottom: .6rem; }
.card-x-body h3 a { color: var(--maroon); }
.card-x-body h3 a:hover { color: var(--burgundy); }
.card-x-body p { color: var(--muted); font-size: .92rem; }
.card-x-foot { margin-top: auto; display: flex; flex-wrap: wrap; gap: .5rem; align-items: center; padding-top: .6rem; }
.meta { list-style: none; padding: 0; margin: 0 0 .9rem; font-size: .86rem; color: var(--muted); }
.meta li { display: flex; gap: .55rem; align-items: baseline; margin-bottom: .25rem; }
.meta i { color: var(--gold-600); width: 16px; text-align: center; }
.date-badge { position: absolute; left: 1rem; top: 1rem; background: var(--cream); border-radius: 12px; text-align: center; min-width: 62px; padding: .45rem .5rem; box-shadow: var(--shadow-sm); border-bottom: 3px solid var(--gold); }
.date-badge strong { display: block; font-size: 1.45rem; color: var(--maroon); line-height: 1; font-weight: 700; }
.date-badge span { font-size: .7rem; text-transform: uppercase; letter-spacing: .1em; color: var(--burgundy); font-weight: 600; }
.tag { display: inline-block; font-size: .72rem; font-weight: 600; text-transform: uppercase; letter-spacing: .08em; color: var(--burgundy); background: var(--gold-100); padding: .25rem .65rem; border-radius: 999px; }
.tag-on-media { position: absolute; right: 1rem; top: 1rem; background: rgba(51,16,30,.75); color: var(--gold); backdrop-filter: blur(4px); }

/* ---------- Committee ---------- */
.member-card { text-align: center; padding: 1rem .5rem; }
.member-photo { width: 168px; height: 168px; margin: 0 auto 1.1rem; position: relative; border-radius: 50%; padding: 7px; background: conic-gradient(from 0deg, var(--gold), #f3d999, var(--gold-600), var(--gold)); transition: transform .4s var(--ease); }
.member-photo img { width: 100%; height: 100%; object-fit: cover; border-radius: 50%; border: 4px solid #fff; background: var(--cream-200); }
.member-card:hover .member-photo { transform: translateY(-5px) rotate(-2deg); }
.member-card h3 { font-size: 1.05rem; margin-bottom: .15rem; }
.member-card .role { color: var(--gold-600); font-weight: 600; font-size: .8rem; text-transform: uppercase; letter-spacing: .1em; }
.member-card.sm .member-photo { width: 124px; height: 124px; padding: 5px; }
.member-card p.bio { font-size: .86rem; color: var(--muted); margin-top: .5rem; }

/* ---------- Gallery ---------- */
.filter-pills { display: flex; flex-wrap: wrap; justify-content: center; gap: .5rem; margin-bottom: 2.4rem; }
.filter-pills button, .filter-pills a { border: 1px solid var(--line); background: #fff; color: var(--charcoal); border-radius: 999px; padding: .45rem 1.15rem; font-size: .87rem; font-weight: 500; transition: all .25s; }
.filter-pills button:hover, .filter-pills a:hover { border-color: var(--gold); color: var(--maroon); }
.filter-pills .active { background: var(--maroon) !important; border-color: var(--maroon) !important; color: #fff !important; }
.album-card { position: relative; display: block; border-radius: var(--radius); overflow: hidden; aspect-ratio: 4/3; background: var(--maroon); box-shadow: var(--shadow-sm); }
.album-card img { width: 100%; height: 100%; object-fit: cover; transition: transform .9s var(--ease); }
.album-card::after { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(51,16,30,.92) 0%, rgba(51,16,30,.2) 55%, transparent); transition: opacity .4s; }
.album-card:hover img { transform: scale(1.08); }
.album-card .album-info { position: absolute; left: 0; right: 0; bottom: 0; padding: 1.3rem 1.4rem; z-index: 1; color: #fff; }
.album-card h3 { color: #fff; font-size: 1.1rem; margin: .3rem 0 .15rem; }
.album-card small { color: rgba(255,255,255,.75); }
.album-card .count { position: absolute; right: 1rem; top: 1rem; z-index: 1; background: rgba(255,255,255,.92); color: var(--maroon); font-size: .78rem; font-weight: 600; border-radius: 999px; padding: .25rem .7rem; }
.album-card.is-hidden, [data-filter-item].is-hidden { display: none !important; }
.photo-grid { columns: 4 240px; column-gap: 1rem; }
.photo-grid a { display: block; margin-bottom: 1rem; border-radius: 12px; overflow: hidden; break-inside: avoid; position: relative; background: var(--cream-200); }
.photo-grid img { width: 100%; display: block; transition: transform .6s var(--ease), filter .4s; }
.photo-grid a:hover img { transform: scale(1.04); filter: brightness(.85); }
.photo-grid a::after { content: '\f00e'; font-family: 'Font Awesome 6 Free'; font-weight: 900; position: absolute; inset: 0; display: grid; place-items: center; color: #fff; font-size: 1.4rem; opacity: 0; transition: opacity .3s; }
.photo-grid a:hover::after { opacity: 1; }

/* Lightbox */
.lightbox { position: fixed; inset: 0; z-index: 2000; background: rgba(20, 6, 12, .95); display: none; align-items: center; justify-content: center; padding: 4rem 1rem; }
.lightbox.open { display: flex; }
.lightbox figure { margin: 0; max-width: min(1200px, 100%); max-height: 100%; text-align: center; }
.lightbox img { max-height: calc(100vh - 9rem); max-width: 100%; border-radius: 8px; box-shadow: 0 20px 80px rgba(0,0,0,.6); }
.lightbox figcaption { color: #eee; margin-top: .9rem; font-size: .92rem; }
.lightbox button { position: absolute; background: rgba(255,255,255,.08); border: 1px solid rgba(255,255,255,.2); color: #fff; width: 48px; height: 48px; border-radius: 50%; font-size: 1.1rem; transition: background .2s; }
.lightbox button:hover { background: var(--gold); color: var(--maroon-900); }
.lb-close { top: 1rem; right: 1rem; }
.lb-prev { left: 1rem; top: 50%; transform: translateY(-50%); }
.lb-next { right: 1rem; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; top: 1.6rem; left: 1.4rem; color: rgba(255,255,255,.7); font-size: .85rem; }

/* Videos */
.video-card { border-radius: var(--radius); overflow: hidden; background: #fff; border: 1px solid var(--line); height: 100%; }
.yt-lite { position: relative; aspect-ratio: 16/9; background: #000 center / cover no-repeat; cursor: pointer; display: block; width: 100%; border: 0; padding: 0; }
.yt-lite::before { content: ''; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(51,16,30,.55), transparent 60%); }
.yt-lite .play { position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%); width: 72px; height: 72px; border-radius: 50%; background: var(--gold); color: var(--maroon-900); display: grid; place-items: center; font-size: 1.4rem; box-shadow: 0 0 0 10px rgba(214,173,96,.25); transition: transform .3s var(--ease), box-shadow .3s; }
.yt-lite:hover .play { transform: translate(-50%, -50%) scale(1.08); box-shadow: 0 0 0 16px rgba(214,173,96,.2); }
.yt-lite iframe { position: absolute; inset: 0; width: 100%; height: 100%; border: 0; }
.video-card .body { padding: 1.1rem 1.3rem 1.3rem; }
.video-card h3 { font-size: 1.02rem; margin: 0 0 .3rem; }

/* ---------- Social activities ---------- */
.social-card { display: flex; flex-direction: column; background: rgba(255,255,255,.04); border: 1px solid rgba(214,173,96,.28); border-radius: var(--radius); overflow: hidden; height: 100%; transition: transform .35s var(--ease), border-color .35s, background .35s; color: #fff; }
.social-card:hover { transform: translateY(-6px); border-color: var(--gold); background: rgba(255,255,255,.07); color: #fff; }
.social-card .media { aspect-ratio: 16/10; overflow: hidden; }
.social-card .media img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease); }
.social-card:hover .media img { transform: scale(1.06); }
.social-card .body { padding: 1.3rem 1.4rem 1.5rem; }
.social-card h3 { color: #fff; font-size: 1.1rem; margin: .6rem 0 .4rem; }
.social-card p { color: rgba(255,255,255,.72); font-size: .9rem; margin: 0; }
.social-card .tag { background: rgba(214,173,96,.18); color: var(--gold); }
.social-pillars { display: grid; grid-template-columns: repeat(5, 1fr); gap: 1rem; margin-bottom: 3rem; }
.pillar { text-align: center; padding: 1.3rem .75rem; border: 1px solid rgba(214,173,96,.25); border-radius: 14px; color: #fff; transition: background .3s, border-color .3s; }
.pillar:hover { background: rgba(214,173,96,.1); border-color: var(--gold); color: #fff; }
.pillar i { font-size: 1.6rem; color: var(--gold); margin-bottom: .6rem; display: block; }
.pillar span { font-size: .85rem; font-weight: 500; }
@media (max-width: 991.98px) { .social-pillars { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 575.98px) { .social-pillars { grid-template-columns: repeat(2, 1fr); } }

/* ---------- News & notice board ---------- */
.news-item { display: flex; gap: 1.1rem; padding: 1.1rem 0; border-bottom: 1px solid var(--line); }
.news-item:first-child { padding-top: 0; }
.news-item img { width: 120px; height: 90px; object-fit: cover; border-radius: 12px; flex-shrink: 0; }
.news-item h3 { font-size: 1.02rem; margin: .2rem 0 .3rem; }
.news-item h3 a { color: var(--maroon); }
.news-item p { font-size: .88rem; color: var(--muted); margin: 0; }
.notice-board { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.8rem; position: relative; box-shadow: var(--shadow-sm); height: 100%; }
.notice-board::before { content: ''; position: absolute; inset: 8px; border: 1px dashed var(--gold); border-radius: calc(var(--radius) - 6px); pointer-events: none; opacity: .6; }
.notice-board h3 { font-size: 1.25rem; display: flex; align-items: center; gap: .6rem; }
.notice-board h3 i { color: var(--gold-600); }
.notice { display: flex; gap: 1rem; padding: .95rem 0; border-bottom: 1px solid var(--cream-200); }
.notice:last-child { border-bottom: 0; }
.notice-date { flex-shrink: 0; width: 56px; text-align: center; background: var(--cream); border-radius: 10px; padding: .35rem 0; border: 1px solid var(--line); }
.notice-date strong { display: block; color: var(--maroon); font-size: 1.15rem; line-height: 1.1; }
.notice-date span { font-size: .68rem; text-transform: uppercase; color: var(--burgundy); font-weight: 600; }
.notice h4 { font-size: .95rem; margin: 0 0 .2rem; color: var(--charcoal); font-weight: 500; }
.notice .new { color: #fff; background: #b3261e; font-size: .62rem; font-weight: 700; border-radius: 4px; padding: .1rem .35rem; margin-left: .3rem; vertical-align: middle; letter-spacing: .05em; }
.notice a.pdf { font-size: .82rem; font-weight: 500; }

/* ---------- CTA ---------- */
.cta-band { background: var(--maroon); border-radius: 28px; padding: clamp(2.5rem, 6vw, 4.5rem); position: relative; overflow: hidden; isolation: isolate; color: #fff; text-align: center; }
.cta-band::before { content: ''; position: absolute; inset: 0; background: url('../img/alpana.svg') repeat; background-size: 110px; opacity: .08; z-index: -1; }
.cta-band::after { content: ''; position: absolute; inset: 14px; border: 1px solid rgba(214,173,96,.45); border-radius: 18px; z-index: -1; pointer-events: none; }
.cta-band .mandala-l, .cta-band .mandala-r { position: absolute; width: 300px; height: 300px; background: url('../img/mandala.svg') no-repeat center / contain; opacity: .18; z-index: -1; }
.cta-band .mandala-l { left: -110px; top: -110px; }
.cta-band .mandala-r { right: -110px; bottom: -110px; }
.cta-band h2 { color: #fff; font-size: clamp(1.8rem, 3.5vw, 2.7rem); }
.cta-band p { color: rgba(255,255,255,.8); max-width: 620px; margin: 1rem auto 2rem; }

/* ---------- Donation ---------- */
.donate-card { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: 1.8rem; height: 100%; box-shadow: var(--shadow-sm); }
.donate-card h3 { font-size: 1.15rem; display: flex; align-items: center; gap: .55rem; }
.donate-card h3 i { color: var(--gold-600); }
.qr-frame { background: var(--cream); border: 1px solid var(--line); border-radius: 16px; padding: 1rem; display: inline-block; }
.qr-frame img { width: 200px; height: 200px; object-fit: contain; }
.kv { display: grid; grid-template-columns: auto 1fr; gap: .45rem 1rem; font-size: .92rem; margin: 0; }
.kv dt { color: var(--muted); font-weight: 400; }
.kv dd { margin: 0; font-weight: 600; color: var(--charcoal); word-break: break-word; }
.copy-btn { border: 0; background: var(--gold-100); color: var(--maroon); border-radius: 6px; padding: .1rem .5rem; font-size: .78rem; margin-left: .4rem; }
.progress-thin { height: 6px; background: var(--cream-200); border-radius: 999px; }
.progress-thin .bar { height: 100%; border-radius: 999px; background: linear-gradient(90deg, var(--gold-600), var(--gold)); }

/* ---------- Sponsors ---------- */
.sponsor-strip { display: flex; flex-wrap: wrap; justify-content: center; align-items: center; gap: 1.25rem; }
.sponsor { background: #fff; border: 1px solid var(--line); border-radius: 14px; width: 190px; height: 104px; display: grid; place-items: center; padding: 1rem; transition: all .3s var(--ease); }
.sponsor img { max-height: 64px; max-width: 100%; object-fit: contain; filter: grayscale(1); opacity: .75; transition: all .3s; }
.sponsor:hover { border-color: var(--gold); box-shadow: var(--shadow-sm); transform: translateY(-3px); }
.sponsor:hover img { filter: none; opacity: 1; }
.sponsor .name { font-weight: 600; color: var(--maroon); text-align: center; font-size: .95rem; }

/* ---------- Forms ---------- */
.form-panel { background: #fff; border-radius: var(--radius); border: 1px solid var(--line); padding: clamp(1.5rem, 4vw, 2.6rem); box-shadow: var(--shadow-sm); }
.form-label { font-weight: 500; font-size: .88rem; color: var(--maroon); margin-bottom: .35rem; }
.form-label .req { color: #b3261e; }
.form-control, .form-select { border: 1px solid #e4d3b6; border-radius: 12px; padding: .7rem .95rem; background-color: #fffdf9; font-size: .95rem; }
.form-control:focus, .form-select:focus { border-color: var(--gold); box-shadow: 0 0 0 .22rem rgba(214,173,96,.25); background: #fff; }
.form-check-input:checked { background-color: var(--maroon); border-color: var(--maroon); }
.form-check-input:focus { box-shadow: 0 0 0 .22rem rgba(214,173,96,.3); border-color: var(--gold); }
.form-text { color: var(--muted); }
.type-option { display: block; cursor: pointer; position: relative; height: 100%; }
.type-option .box { display: block; }
.type-option input { position: absolute; opacity: 0; }
.type-option .box { border: 1px solid var(--line); border-radius: 14px; padding: 1rem 1.1rem; background: #fffdf9; transition: all .2s; height: 100%; }
.type-option input:checked + .box { border-color: var(--maroon); background: var(--gold-100); box-shadow: inset 0 0 0 1px var(--maroon); }
.type-option input:focus-visible + .box { outline: 3px solid var(--gold); }
.type-option .box strong { color: var(--maroon); display: block; }
.type-option .box .fee { color: var(--burgundy); font-weight: 600; }
.photo-preview { width: 110px; height: 130px; border-radius: 10px; border: 2px dashed var(--line); background: var(--cream) center / cover no-repeat; display: grid; place-items: center; color: var(--muted); font-size: .75rem; text-align: center; flex-shrink: 0; }
.alert { border-radius: 12px; border: 0; }
.alert-success { background: #e7f4ea; color: #1e5b2c; }
.alert-danger { background: #fbe9e7; color: #8a1f17; }
.alert-info { background: var(--gold-100); color: var(--maroon); }

/* ---------- Content (rich text) ---------- */
.prose { font-size: 1.02rem; line-height: 1.85; }
.prose h2, .prose h3 { margin: 2rem 0 .8rem; }
.prose h3 { font-size: 1.4rem; }
.prose img { border-radius: 12px; margin: 1rem 0; }
.prose blockquote { border-left: 3px solid var(--gold); padding: .5rem 0 .5rem 1.25rem; color: var(--burgundy); font-style: italic; background: var(--cream); border-radius: 0 10px 10px 0; }
.prose ul li::marker { color: var(--gold-600); }
.prose table { width: 100%; margin: 1rem 0; border-collapse: collapse; }
.prose td, .prose th { border: 1px solid var(--line); padding: .5rem .75rem; }
.prose iframe { max-width: 100%; border-radius: 12px; }
.sidebar-box { background: #fff; border: 1px solid var(--line); border-radius: var(--radius); padding: 1.5rem; margin-bottom: 1.5rem; }
.sidebar-box h3 { font-size: 1.05rem; padding-bottom: .7rem; margin-bottom: 1rem; border-bottom: 1px solid var(--line); }
.feature-img { border-radius: var(--radius); width: 100%; max-height: 520px; object-fit: cover; box-shadow: var(--shadow); margin-bottom: 2rem; }
.info-tile { display: flex; gap: 1rem; align-items: flex-start; padding: 1rem 0; border-bottom: 1px dashed var(--line); }
.info-tile:last-child { border-bottom: 0; }
.info-tile .ic { width: 46px; height: 46px; border-radius: 12px; background: var(--maroon); color: var(--gold); display: grid; place-items: center; flex-shrink: 0; }
.info-tile strong { display: block; color: var(--maroon); font-size: .85rem; text-transform: uppercase; letter-spacing: .06em; }
.map-frame { border-radius: var(--radius); overflow: hidden; border: 1px solid var(--line); aspect-ratio: 16/9; }
.map-frame iframe { width: 100%; height: 100%; border: 0; }
.empty-state { text-align: center; padding: 3rem 1rem; color: var(--muted); border: 1px dashed var(--line); border-radius: var(--radius); background: rgba(255,255,255,.5); }
.empty-state i { font-size: 2rem; color: var(--gold); margin-bottom: .75rem; display: block; }
.on-dark .empty-state { color: rgba(255,255,255,.7); border-color: rgba(214,173,96,.35); background: transparent; }
.pagination { gap: .35rem; margin-top: 2.5rem; }
.pagination .page-link { border-radius: 10px !important; border: 1px solid var(--line); color: var(--maroon); min-width: 40px; text-align: center; }
.pagination .page-item.active .page-link { background: var(--maroon); border-color: var(--maroon); color: #fff; }
.tabs-x { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 999px; padding: .3rem; gap: .25rem; }
.tabs-x a { padding: .45rem 1.3rem; border-radius: 999px; color: var(--charcoal); font-weight: 500; font-size: .9rem; }
.tabs-x a.active { background: var(--maroon); color: #fff; }

/* ---------- Footer ---------- */
.site-footer { background: var(--maroon-900); color: rgba(255,255,255,.72); position: relative; overflow: hidden; isolation: isolate; font-size: .92rem; }
.site-footer::before { content: ''; position: absolute; inset: 0; background: url('../img/alpana.svg') repeat; background-size: 120px; opacity: .05; z-index: -1; }
.footer-top-border { height: 6px; background: linear-gradient(90deg, var(--burgundy), var(--gold), var(--burgundy)); }
.site-footer h4 { color: var(--gold); font-size: .95rem; text-transform: uppercase; letter-spacing: .14em; margin-bottom: 1.25rem; font-weight: 600; }
.site-footer a { color: rgba(255,255,255,.72); }
.site-footer a:hover { color: var(--gold); }
.footer-links { list-style: none; padding: 0; margin: 0; columns: 2; }
.footer-links li { margin-bottom: .5rem; }
.footer-links a::before { content: '›'; color: var(--gold); margin-right: .45rem; }
.footer-brand img { width: 64px; height: 64px; }
.footer-brand .name { color: #fff; font-weight: 700; letter-spacing: .06em; text-transform: uppercase; font-size: 1rem; }
.footer-brand .bn { color: var(--gold); }
.socials { display: flex; gap: .55rem; flex-wrap: wrap; }
.socials a { width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; border: 1px solid rgba(214,173,96,.4); color: var(--gold); transition: all .25s; }
.socials a:hover { background: var(--gold); color: var(--maroon-900); transform: translateY(-3px); }
.footer-contact li { display: flex; gap: .75rem; margin-bottom: .8rem; }
.footer-contact i { color: var(--gold); margin-top: .3rem; }
.footer-map { border-radius: 14px; overflow: hidden; border: 1px solid rgba(214,173,96,.3); height: 180px; }
.footer-map iframe { width: 100%; height: 100%; border: 0; filter: grayscale(.4) contrast(1.05); }
.footer-bottom { border-top: 1px solid rgba(214,173,96,.18); padding: 1.2rem 0; font-size: .84rem; }
.back-to-top { position: fixed; right: 1.2rem; bottom: 1.2rem; width: 46px; height: 46px; border-radius: 50%; background: var(--maroon); color: var(--gold); border: 1px solid var(--gold); display: grid; place-items: center; opacity: 0; visibility: hidden; transition: all .3s; z-index: 1020; }
.back-to-top.show { opacity: 1; visibility: visible; }
.back-to-top:hover { background: var(--gold); color: var(--maroon); }

/* ---------- Membership card (screen) ---------- */
.status-pill { display: inline-flex; align-items: center; gap: .4rem; padding: .3rem .9rem; border-radius: 999px; font-weight: 600; font-size: .85rem; }
.status-pending { background: #fff4d6; color: #7a5800; }
.status-approved, .status-verified { background: #e2f3e6; color: #1e5b2c; }
.status-rejected, .status-suspended { background: #fbe4e1; color: #8a1f17; }

@media (max-width: 767.98px) {
  body { font-size: 15px; }
  .topbar-contact { display: none; }
  .brand img { width: 48px; height: 48px; }
  .brand-name { font-size: .86rem; }
  .brand-tag { font-size: .8rem; }
  .hero { min-height: min(78vh, 680px); }
  .hero-content { padding: 4rem 0 5rem; }
  .welcome-badge { left: .5rem; }
  .news-item img { width: 92px; height: 74px; }
  .footer-links { columns: 1; }
}
@media print {
  .topbar, .site-header, .site-footer, .back-to-top { display: none !important; }
}
