/* =====================================================
   GOLDEN HERITAGE — KPS Design System v2.0
   Primary : Maroon   #7B1E3F
   Accent  : Gold     #C9962A
   BG      : Cream    #FAF7F0
   Text    : Charcoal #1A1A1A
   Fonts   : Playfair Display (headings) + Inter (body)
===================================================== */

/* ── CSS Variables ─────────────────────────────── */
:root {
  --maroon:        #7B1E3F;
  --maroon-dark:   #5A1530;
  --maroon-light:  #9C3358;
  --gold:          #C9962A;
  --gold-light:    #E2B94A;
  --gold-pale:     #F5E6C0;
  --cream:         #FAF7F0;
  --cream-dark:    #F0EBE1;
  --warm-gray:     #E0D5C8;
  --charcoal:      #1A1A1A;
  --text-muted:    #6B5F54;
  --white:         #FFFFFF;
  --nav-h:         80px;
  --cmax:          1260px;
  --radius:        12px;
  --radius-lg:     20px;
  --shadow-sm:     0 2px 14px rgba(123,30,63,0.07);
  --shadow-md:     0 8px 32px rgba(123,30,63,0.14);
  --shadow-lg:     0 20px 56px rgba(123,30,63,0.18);
  --transition:    all 0.3s ease;
}

/* ── Base Reset ────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html {
  scroll-behavior: smooth;
  overflow-x: hidden;  /* prevent Bootstrap .row negative-margin bleed */
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--cream);
  color: var(--charcoal);
  font-size: 16px;
  line-height: 1.7;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;  /* belt-and-braces — stops horizontal scroll on all pages */
}

h1, h2, h3, h4, h5 {
  font-family: 'Playfair Display', Georgia, serif;
  font-weight: 700;
  line-height: 1.25;
  color: var(--maroon);
}

a { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul { list-style: none; }

.container {
  width: 100%;
  max-width: 1260px !important;
  margin-left: auto !important;
  margin-right: auto !important;
  padding-left:  clamp(16px, 3vw, 48px) !important;
  padding-right: clamp(16px, 3vw, 48px) !important;
}

/* ── Typography Helpers ────────────────────────── */
.small-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  margin-bottom: 14px;
}
.small-title::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}

.main-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: var(--maroon);
  margin-bottom: 18px;
  line-height: 1.2;
}

.page-content {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 28px;
}

.sec-title { margin-bottom: 16px; }

/* Centered section labels */
.sec-title.text-center .small-title,
.div-title.text-center .small-title {
  justify-content: center;
  gap: 0;
  padding: 0 20px;
  position: relative;
}
.sec-title.text-center .small-title::before,
.div-title.text-center .small-title::before { display: none; }
.sec-title.text-center .small-title::after,
.div-title.text-center .small-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%);
  width: 40px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}


/* =====================================================
   BUTTONS
===================================================== */
.common-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  transition: var(--transition);
  cursor: pointer;
  border: 2px solid transparent;
  text-decoration: none;
  background: var(--maroon);
  color: var(--white);
  border-color: var(--maroon);
}
.common-btn:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
  color: var(--white);
}
.common-btn.outline {
  background: transparent;
  color: var(--maroon);
  border-color: var(--maroon);
}
.common-btn.outline:hover {
  background: var(--maroon);
  color: var(--white);
  transform: translateY(-2px);
}
.common-btn.gold {
  background: var(--gold);
  color: var(--white);
  border-color: var(--gold);
}
.common-btn.gold:hover {
  background: #B5841E;
  border-color: #B5841E;
  transform: translateY(-2px);
}
button.common-btn { font: inherit; }


/* =====================================================
   NAVBAR
===================================================== */
.navbar {
  position: fixed;
  top: 0; left: 0; width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  transition: background 0.35s ease, box-shadow 0.35s ease;
  background: transparent;
}
.navbar.scrolled {
  background: var(--maroon-dark);
  box-shadow: 0 4px 28px rgba(0,0,0,0.22);
}

.nav-container {
  max-width: var(--cmax);
  margin: 0 auto;
  padding: 0 24px;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}

.nav-logo { display: flex; align-items: center; flex-shrink: 0; }
.nav-logo img { height: 54px; width: auto; object-fit: contain; }

.nav-menu {
  display: flex;
  align-items: center;
  gap: 4px;
  flex: 1;
  justify-content: flex-end;
}

.nav-list {
  display: flex;
  align-items: center;
  gap: 2px;
}

.nav-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.875rem;
  font-weight: 500;
  color: rgba(255,255,255,0.85);
  padding: 7px 14px;
  border-radius: 6px;
  transition: var(--transition);
  position: relative;
  white-space: nowrap;
}
.nav-link:hover { color: var(--gold-light); background: rgba(255,255,255,0.07); }
.nav-link.active { color: var(--gold-light); }
.nav-link.active::after {
  content: '';
  position: absolute;
  bottom: 1px; left: 14px; right: 14px;
  height: 2px;
  background: var(--gold);
  border-radius: 2px;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 12px;
}

.nav-btn {
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  padding: 9px 20px;
  border-radius: 6px;
  transition: var(--transition);
  letter-spacing: 0.02em;
  white-space: nowrap;
}
.nav-btn.secondary {
  color: rgba(255,255,255,0.88);
  border: 1.5px solid rgba(255,255,255,0.35);
  background: transparent;
}
.nav-btn.secondary:hover {
  background: rgba(255,255,255,0.1);
  border-color: rgba(255,255,255,0.65);
  color: var(--white);
}
.nav-btn.primary {
  background: var(--gold);
  color: var(--white);
  border: 1.5px solid var(--gold);
}
.nav-btn.primary:hover {
  background: #B5841E;
  border-color: #B5841E;
  transform: translateY(-1px);
}

/* Hamburger */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1100;
}
.hamburger-line {
  width: 24px; height: 2px;
  background: var(--white);
  border-radius: 2px;
  transition: var(--transition);
}
.hamburger.active .hamburger-line:nth-child(1) { transform: rotate(45deg) translate(5px,5px); }
.hamburger.active .hamburger-line:nth-child(2) { opacity: 0; }
.hamburger.active .hamburger-line:nth-child(3) { transform: rotate(-45deg) translate(5px,-5px); }


/* =====================================================
   HERO
===================================================== */
.hero {
  position: relative;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  /* no justify-content — .container uses flex:1 to fill space, strips sit at natural bottom */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--maroon-dark); /* fallback colour if image hasn't loaded */
  overflow: hidden;
}
/* Dark maroon gradient overlay + subtle gold radials */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(155deg,
      rgba(60,8,28,0.78) 0%,
      rgba(110,22,52,0.65) 45%,
      rgba(25,6,15,0.82) 100%),
    radial-gradient(circle at 80% 20%, rgba(201,150,42,0.13) 0%, transparent 48%),
    radial-gradient(circle at 10% 80%, rgba(201,150,42,0.07) 0%, transparent 38%);
}
.hero::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, transparent 0%, var(--gold) 30%, var(--gold-light) 50%, var(--gold) 70%, transparent 100%);
  z-index: 3;
}

.hero > .container {
  flex: 1;                      /* fills all space above the bottom strips */
  display: flex;
  flex-direction: column;
  justify-content: center;      /* vertically centre title+buttons in that space */
  align-items: flex-start;      /* prevent inline children (badge, title) from stretching full-width */
  padding-top: calc(var(--nav-h) + 60px);
  padding-bottom: 50px;
  position: relative;
  z-index: 2;
}
/* Stats bar must also sit above the ::before overlay */
.hero-stats-bar { z-index: 3; }

/* Village marquee + culture bar — sits as last flex child in hero, always visible on first load */
.hero-bottom-strips {
  position: relative;
  z-index: 4;          /* above ::before overlay */
  width: 100%;
}

.hero-small-title {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 24px;
  padding: 7px 20px;
  border: 1px solid rgba(226,185,74,0.45);
  border-radius: 50px;
  background: rgba(201,150,42,0.1);
  backdrop-filter: blur(4px);
}

.hero-shri {
  font-family: 'Playfair Display', serif;
  font-size: inherit;
  font-weight: inherit;
  color: var(--gold-light);
  letter-spacing: 0.04em;
  display: inline;
  margin-right: 0.15em;
  text-shadow: 0 2px 12px rgba(0,0,0,0.25);
}

.hero-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2.2rem, 5vw, 4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.1;
  margin-bottom: 28px;
  text-shadow: 0 2px 24px rgba(0,0,0,0.28);
}
.hero-title::after {
  content: '';
  display: block;
  width: 80px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  margin-top: 18px;
  border-radius: 2px;
}

.hero-content {
  font-size: clamp(1rem, 2vw, 1.12rem);
  color: rgba(255,255,255,0.78);
  max-width: 560px;
  line-height: 1.85;
  margin-bottom: 44px;
}

.hero-cta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
}
.hero-cta .common-btn {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  padding: 15px 36px;
  font-size: 0.9rem;
}
.hero-cta .common-btn:hover {
  background: #B5841E;
  border-color: #B5841E;
}
.hero-cta .common-btn.outline {
  background: rgba(255,255,255,0.08);
  border-color: rgba(255,255,255,0.5);
  color: var(--white);
  backdrop-filter: blur(4px);
}
.hero-cta .common-btn.outline:hover {
  background: rgba(255,255,255,0.18);
  border-color: rgba(255,255,255,0.8);
}

/* Stats bar */
.hero-stats-bar {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: var(--gold);
  z-index: 3;
}
.hero-stats-bar .container {
  padding-top: 0; padding-bottom: 0;
  display: flex;
  align-items: stretch;
}
.hero-stat {
  flex: 1;
  padding: 22px 16px;
  text-align: center;
  border-right: 1px solid rgba(255,255,255,0.22);
  transition: var(--transition);
}
.hero-stat:last-child { border-right: none; }
.hero-stat:hover { background: rgba(0,0,0,0.06); }
.hero-stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2.1rem;
  font-weight: 700;
  color: var(--maroon-dark);
  line-height: 1;
}
.hero-stat-number span { font-size: 1.4rem; }
.hero-stat-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-top: 5px;
  opacity: 0.8;
}


/* =====================================================
   PAGE HEADER — Garba / Gujarati Heritage Style
===================================================== */
.page-header {
  position: relative;
  height: 420px;
  margin-top: var(--nav-h);
  overflow: hidden;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-color: var(--maroon-dark);
  display: flex;
  flex-direction: column;
  justify-content: center;
}
/* Maroon gradient overlay */
.page-header::before {
  content: '';
  position: absolute; inset: 0; z-index: 1;
  background: linear-gradient(
    112deg,
    rgba(45,5,18,0.93) 0%,
    rgba(80,18,40,0.78) 52%,
    rgba(28,4,13,0.60) 100%
  );
}
/* Patola decorative border strip at bottom */
.page-header .patola-strip {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 18px;
  z-index: 5;
  background:
    linear-gradient(rgba(201,150,42,.88),rgba(201,150,42,.88)) 0 0   / 100% 2px no-repeat,
    linear-gradient(rgba(201,150,42,.88),rgba(201,150,42,.88)) 0 100%/ 100% 2px no-repeat,
    repeating-linear-gradient( 45deg, rgba(201,150,42,.55) 0px, rgba(201,150,42,.55) 2px, transparent 2px, transparent 9px),
    repeating-linear-gradient(-45deg, rgba(201,150,42,.55) 0px, rgba(201,150,42,.55) 2px, transparent 2px, transparent 9px),
    rgba(45,5,18,.88);
}
/* Garba mandala — right side wrapper (positioning) */
.garba-mandala-wrap {
  position: absolute;
  right: -55px; top: 50%;
  transform: translateY(-50%);
  width: 480px; height: 480px;
  z-index: 2; pointer-events: none;
}
/* Garba mandala SVG (rotation only) */
.garba-mandala-svg {
  width: 100%; height: 100%;
  animation: garba-rotate 52s linear infinite;
}
/* Small left ring accent */
.garba-ring-wrap {
  position: absolute;
  left: -90px; top: 50%;
  transform: translateY(-50%);
  width: 300px; height: 300px;
  z-index: 2; pointer-events: none;
  opacity: 0.32;
}
.garba-ring-svg {
  width: 100%; height: 100%;
  animation: garba-rotate 36s linear infinite reverse;
}
@keyframes garba-rotate {
  from { transform: rotate(0deg); }
  to   { transform: rotate(360deg); }
}
/* Page header text body */
.page-header-body { position: relative; z-index: 4; }
/* Breadcrumb trail */
.ph-trail {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.42);
  margin-bottom: 18px;
}
.ph-trail a { color: rgba(255,255,255,0.42); transition: var(--transition); }
.ph-trail a:hover { color: var(--gold-light); }
.ph-trail-sep { color: var(--gold); }
.ph-trail .ph-current { color: rgba(255,255,255,0.72); }
/* small-title override inside dark header */
.page-header-body .small-title { color: var(--gold-light); }
.page-header-body .small-title::before { background: var(--gold-light); }
/* Main heading */
.ph-main-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(2rem, 5vw, 3.4rem);
  font-weight: 700;
  color: var(--white);
  line-height: 1.15;
  margin-bottom: 28px;
  text-shadow: 0 2px 20px rgba(0,0,0,0.45);
  max-width: 560px;
}
.ph-main-title::after {
  content: '';
  display: block;
  width: 60px; height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin-top: 12px; border-radius: 2px;
}
/* Ghost CTA button on dark header */
.ph-btn {
  background: transparent;
  border: 1.5px solid rgba(201,150,42,0.6);
  color: var(--gold-light);
  font-size: 0.82rem;
  padding: 10px 24px;
}
.ph-btn:hover {
  background: rgba(201,150,42,0.12);
  border-color: var(--gold-light);
  color: var(--white);
  transform: translateY(-2px);
}


/* =====================================================
   MEMBERSHIP / ABOUT SECTIONS
===================================================== */
.membership { padding: 56px 0; background: var(--cream-dark); }
.about { padding: 56px 0; background: var(--cream); }

.membership-main,
.main-about {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}

/* Decorative gold frame behind images */
.membership-img,
.about-image {
  position: relative;
  align-self: center;
}
.membership-img::before,
.about-image::before {
  content: '';
  position: absolute;
  top: -14px; left: -14px;
  right: 14px; bottom: 14px;
  border: 2px solid var(--gold);
  border-radius: var(--radius-lg);
  opacity: 0.4;
  z-index: 0;
}
.membership-img img,
.about-image img {
  width: 100%;
  height: 460px;
  object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: 0 12px 28px rgba(123,30,63,0.15);
  position: relative;
  z-index: 1;
}

/* ── About image enhancements ─────────────────────────── */
/* Patola-diamond pattern block sitting behind & below the image */
.about-img-pattern {
  position: absolute;
  bottom: -18px;
  right: -18px;
  width: 140px;
  height: 140px;
  background-image:
    repeating-linear-gradient(45deg,  rgba(201,150,42,0.18) 0, rgba(201,150,42,0.18) 1.5px, transparent 0, transparent 50%),
    repeating-linear-gradient(-45deg, rgba(201,150,42,0.18) 0, rgba(201,150,42,0.18) 1.5px, transparent 0, transparent 50%);
  background-size: 14px 14px;
  border-radius: 0 0 var(--radius-lg) 0;
  z-index: 0;
  pointer-events: none;
}
/* Floating KPS badge anchored to bottom-left of the image */
.about-img-badge {
  position: absolute;
  bottom: 22px;
  left: -18px;
  background: var(--maroon-dark);
  border: 2px solid var(--gold);
  border-radius: var(--radius);
  padding: 12px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  z-index: 3;
  box-shadow: 0 8px 32px rgba(0,0,0,0.35);
  min-width: 76px;
}
.aib-number {
  font-family: 'Playfair Display', serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--gold);
  line-height: 1;
}
.aib-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: rgba(255,255,255,0.65);
}
@media (max-width: 768px) {
  .about-img-badge { display: none; }
  .about-img-pattern { display: none; }
}

/* ── Membership Benefits Card (right side of basic-info) ── */
.member-visual-card { max-width: 360px; width: 100%; }
.mvc-inner {
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,150,42,0.30);
  border-radius: var(--radius-lg);
  padding: 32px 28px;
  position: relative;
  overflow: hidden;
}
.mvc-inner::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;
  width: 130px; height: 130px;
  border: 22px solid rgba(201,150,42,0.10);
  border-radius: 50%;
  pointer-events: none;
}
.mvc-inner::after {
  content: '';
  position: absolute;
  bottom: -30px; left: -30px;
  width: 90px; height: 90px;
  border: 16px solid rgba(201,150,42,0.08);
  border-radius: 50%;
  pointer-events: none;
}
.mvc-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.70rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 22px;
}
.mvc-label::before {
  content: '';
  display: inline-block;
  width: 18px; height: 2px;
  background: var(--gold);
  flex-shrink: 0;
}
.mvc-benefits {
  list-style: none;
  padding: 0; margin: 0;
  display: flex;
  flex-direction: column;
  gap: 14px;
}
.mvc-benefits li {
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255,255,255,0.80);
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  line-height: 1.4;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.mvc-benefits li:last-child { border-bottom: none; padding-bottom: 0; }
.mvc-icon { font-size: 1.1rem; flex-shrink: 0; }
.mvc-seal {
  margin-top: 24px;
  display: flex;
  justify-content: flex-end;
}
.mvc-seal-inner {
  width: 58px; height: 58px;
  border: 2px solid rgba(201,150,42,0.45);
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.78rem;
  color: var(--gold);
  line-height: 1.2;
  text-align: center;
}
.mvc-seal-inner span { font-size: 0.60rem; opacity: 0.70; }
@media (max-width: 768px) {
  .member-visual-card { max-width: 100%; }
}

/* Light-mode card overrides when inside cream membership section */
.membership .member-visual-card { max-width: 100%; }
.membership .mvc-inner {
  background: var(--white);
  border: 1px solid var(--warm-gray);
  box-shadow: var(--shadow-sm);
}
.membership .mvc-benefits li {
  color: var(--charcoal);
  border-bottom-color: var(--warm-gray);
}

/* About-membership variant */
.about-membership { padding: 56px 0; background: var(--cream-dark); }
.about-membership-main {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 60px;
  align-items: start;
}
.about-membership-main .membership-img img {
  height: 420px;
}


/* =====================================================
   EVENTS / BLOG CARDS
===================================================== */
.blog-section { padding: 56px 0; background: var(--cream); }
.blog-section .div-title { margin-bottom: 36px; }

.blog-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--warm-gray);
  height: 100%;
  display: flex;
  flex-direction: column;
}
.blog-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-pale);
}
.blog-image-container {
  height: 210px;
  overflow: hidden;
  position: relative;
}
.blog-image-container img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.blog-card:hover .blog-image-container img { transform: scale(1.06); }

.date-badge {
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  background: var(--gold);
  color: var(--maroon-dark);
  padding: 9px 16px;
  margin: -22px 0 0 18px;
  position: relative; z-index: 2;
  border-radius: 6px;
  min-width: 68px;
  box-shadow: 0 4px 14px rgba(201,150,42,0.35);
}
.date-badge strong {
  font-family: 'Playfair Display', serif;
  font-size: 0.88rem; font-weight: 700; line-height: 1;
}
.date-badge span { font-size: 0.75rem; font-weight: 600; opacity: 0.82; }

.blog-details { padding: 16px 20px 24px; flex: 1; }
.blog-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--maroon);
  margin-bottom: 10px;
  line-height: 1.35;
}
.blog-excerpt { font-size: 0.88rem; color: var(--text-muted); line-height: 1.65; }

/* Swiper */
.swiper { padding-bottom: 10px !important; overflow: visible !important; }
.swiper-wrapper { align-items: stretch; }
.swiper-slide { height: auto; }


/* =====================================================
   CONTRIBUTION / CTA BANNER
===================================================== */
.contribution {
  background: var(--maroon);
  padding: 56px 0;
  position: relative;
  overflow: hidden;
}
.contribution::before {
  content: '';
  position: absolute;
  top: -90px; right: -90px;
  width: 360px; height: 360px;
  border: 48px solid rgba(201,150,42,0.1);
  border-radius: 50%;
  pointer-events: none;
}
.contribution::after {
  content: '';
  position: absolute;
  bottom: -70px; left: -70px;
  width: 260px; height: 260px;
  border: 36px solid rgba(201,150,42,0.07);
  border-radius: 50%;
  pointer-events: none;
}
.contribution-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 56px;
  flex-wrap: nowrap;
  position: relative; z-index: 1;
}
.contribution-content {
  flex: 1;
  min-width: 0;
}
.contribution .small-title { color: var(--gold-light); }
.contribution .small-title::before { background: var(--gold-light); }
.contribution .main-title { color: var(--white); }
.contribution .page-content { color: rgba(255,255,255,0.72); margin-bottom: 0; }
.contribution-img { flex-shrink: 0; }

/* Activity pillars */
.contrib-pillars {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-top: 32px;
}
.contrib-pillar {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(201,150,42,0.18);
  border-radius: 12px;
  padding: 16px 20px;
  transition: background .25s;
}
.contrib-pillar:hover { background: rgba(255,255,255,0.10); }
.contrib-pillar-icon {
  font-size: 1.5rem;
  flex-shrink: 0;
  width: 42px; height: 42px;
  background: rgba(201,150,42,0.15);
  border: 1px solid rgba(201,150,42,0.28);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
}
.contrib-pillar div {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.contrib-pillar strong {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--gold-light);
  letter-spacing: 0.01em;
}
.contrib-pillar span {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  line-height: 1.5;
  color: rgba(255,255,255,0.58);
}

/* Right membership card */
.contrib-card {
  background: var(--white);
  border-radius: 18px;
  padding: 36px 32px;
  min-width: 290px;
  max-width: 320px;
  flex-shrink: 0;
  box-shadow: 0 20px 56px rgba(20,4,12,0.30);
  position: relative;
  z-index: 1;
}
.contrib-card-badge {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,150,42,0.10);
  border: 1px solid rgba(201,150,42,0.28);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 14px;
}
.contrib-card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--maroon);
  margin: 0 0 10px;
}
.contrib-card-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  line-height: 1.6;
  color: var(--text-muted);
  margin: 0 0 18px;
}
.contrib-card-perks {
  list-style: none;
  padding: 0;
  margin: 0 0 24px;
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.contrib-card-perks li {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: var(--charcoal);
}
.contrib-card .contrib-cta {
  width: 100%;
  text-align: center;
  justify-content: center;
}
.contrib-card-login {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  margin: 12px 0 0;
}
.contrib-card-login a {
  color: var(--maroon);
  font-weight: 700;
  text-decoration: none;
}
@media (max-width: 900px) {
  .contrib-card { max-width: 100%; min-width: unset; }
  .contrib-stats { width: 100%; }
  .contrib-stat { padding: 14px 20px; }
}


/* =====================================================
   NEWS SECTION (homepage)
===================================================== */
.news { padding: 56px 0; background: var(--cream-dark); }
.news .div-title { margin-bottom: 36px; }

.post-card {
  border-radius: var(--radius);
  overflow: hidden;
  position: relative;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  background: var(--white);
  border: 1px solid var(--warm-gray);
  display: block;
  height: 100%;
}
.post-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
}
.post-card > img {
  width: 100%; height: 280px;
  object-fit: cover;
  transition: transform 0.5s ease;
}
.post-card:hover > img { transform: scale(1.04); }

.post-card .overlay {
  position: absolute; bottom: 0; left: 0; right: 0;
  background: linear-gradient(to top, rgba(70,10,35,0.94) 0%, rgba(123,30,63,0.65) 55%, transparent 100%);
  padding: 36px 24px 24px;
  color: var(--white);
}
.post-card .overlay .date,
.post-card .card-date {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.1em; color: var(--gold-light);
  text-transform: uppercase; margin-bottom: 8px;
}
.post-card .overlay .title,
.post-card .card-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.1rem; font-weight: 700; line-height: 1.35;
}
.post-card .card-content { padding: 18px 20px 20px; }
.post-card .card-title { color: var(--maroon); }


/* =====================================================
   BOARD MEMBERS
===================================================== */
.members { padding: 56px 0; background: var(--cream); }
.div-title { margin-bottom: 36px; }
.div-title.text-center { text-align: center; }

.board-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 32px;
}
.member-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 36px 24px 28px;
  text-align: center;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--warm-gray);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}
.member-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
}
.member-card:hover {
  transform: translateY(-7px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-pale);
}
.photo-container {
  width: 120px; height: 120px;
  margin: 0 auto 20px;
  border-radius: 50%;
  padding: 4px;
  background: linear-gradient(135deg, var(--gold) 0%, var(--gold-light) 100%);
  box-shadow: 0 6px 22px rgba(201,150,42,0.32);
}
.photo-container img,
.member-photo {
  width: 100%; height: 100%;
  border-radius: 50%;
  object-fit: cover;
  object-position: top center;
  border: 3px solid var(--white);
}
.member-name {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem; font-weight: 700;
  color: var(--maroon); margin-bottom: 6px;
}
.member-role {
  font-size: 0.78rem; font-weight: 700;
  letter-spacing: 0.07em; text-transform: uppercase;
  color: var(--gold);
}
.member-location {
  font-size: 0.78rem;
  color: var(--text-muted); margin-top: 6px;
  display: flex; align-items: center;
  justify-content: center; gap: 4px;
}
.member-location i { color: var(--gold); font-size: 0.7rem; }


/* =====================================================
   MEMBER TODAY / BASIC-INFO BANNER
===================================================== */
.basic-info,
.about-basic-info {
  padding: 56px 0;
  background: var(--maroon);
  position: relative;
  overflow: clip;           /* clips decorative overflow without creating a scroll container */
}
.basic-info::before,
.about-basic-info::before {
  content: '';
  position: absolute;
  top: -40px; right: -40px;  /* pull back so it clips cleanly */
  width: 260px; height: 260px;
  border: 36px solid rgba(201,150,42,0.08);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;               /* behind content */
}
/* Ensure grid content sits above the decorative circle */
.basic-info .container,
.about-basic-info .container { position: relative; z-index: 1; }
.basic-info .main-title,
.about-basic-info .main-title { color: var(--white); }
.basic-info .small-title,
.about-basic-info .small-title { color: var(--gold-light); }
.basic-info .small-title::before,
.about-basic-info .small-title::before { background: var(--gold-light); }
.basic-info .page-content,
.about-basic-info .page-content { color: rgba(255,255,255,0.72); }


/* =====================================================
   NEWS PAGE (standalone listing)
===================================================== */
.news-page-container { padding: 60px 0; }

.card {
  border: 1px solid var(--warm-gray) !important;
  border-radius: var(--radius) !important;
  overflow: hidden;
  transition: var(--transition);
  background: var(--white) !important;
}
.card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md) !important;
  border-color: var(--gold-pale) !important;
}
.card-img-top { height: 200px; object-fit: cover; }
.card-title {
  font-family: 'Playfair Display', serif;
  color: var(--maroon); font-size: 1.05rem;
}
.card .nav-btn.secondary {
  color: var(--maroon);
  border: 1.5px solid var(--maroon);
  font-size: 0.82rem;
  padding: 7px 16px;
  background: transparent;
  border-radius: 6px;
}
.card .nav-btn.secondary:hover {
  background: var(--maroon);
  color: var(--white);
}


/* =====================================================
   EVENTS PAGE
===================================================== */
.upcoming-event { padding: 56px 0; background: var(--cream); }
.past-event { padding: 56px 0; background: var(--cream-dark); }

.div-small-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem; color: var(--maroon);
  margin-bottom: 32px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--warm-gray);
  position: relative;
}
.div-small-title::after {
  content: '';
  position: absolute;
  bottom: -1px; left: 0;
  width: 56px; height: 2px;
  background: var(--gold);
}

.events-card {
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 1px solid var(--warm-gray);
}
.events-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-pale);
}
.event-card-main { margin-top: 8px; }


/* =====================================================
   GALLERY
===================================================== */
.gallery-main { padding: 60px 0; background: var(--cream); }

.gallery-item {
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: var(--transition);
  border: 2px solid var(--warm-gray);
  cursor: pointer;
  position: relative;
  background: var(--white);
}
.gallery-item:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: var(--shadow-md);
  border-color: var(--gold);
}
.gallery-item img,
.gallery-img {
  width: 100%; height: 200px;
  object-fit: cover;
  transition: transform 0.5s ease;
  display: block;
}
.gallery-item:hover img { transform: scale(1.06); }


/* =====================================================
   CONTACT PAGE
===================================================== */
.contact { padding: 56px 0; background: var(--cream); }

.contact-info-card {
  background: var(--maroon) !important;
  border-radius: var(--radius-lg);
  padding: 44px 36px;
  color: var(--white);
  height: 100%;
  position: relative;
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: none !important;
}
.contact-info-card::before {
  content: '';
  position: absolute;
  top: -50px; right: -50px;
  width: 220px; height: 220px;
  border: 36px solid rgba(201,150,42,0.12);
  border-radius: 50%;
  pointer-events: none;
}

.contact-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.55rem;
  color: var(--white) !important;
  margin-bottom: 10px;
}
.contact-icon { margin-top: 8px; }
.contact-icon-box {
  display: flex; gap: 16px;
  align-items: flex-start;
  margin-bottom: 22px;
}
.icon-box {
  width: 44px; height: 44px;
  background: rgba(201,150,42,0.18);
  border: 1px solid rgba(201,150,42,0.4);
  border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}
.icon-box img { width: 22px; height: 22px; object-fit: contain; filter: brightness(0) invert(1); }
.icon-box-title {
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--gold-light); margin-bottom: 3px;
}
.icon-box-content { color: rgba(255,255,255,0.75); font-size: 0.9rem; }
.contact-info-card .social-icons { margin-top: 28px; }


/* =====================================================
   FORMS
===================================================== */
.form-control, .form-select {
  border: 1.5px solid var(--warm-gray) !important;
  border-radius: 8px !important;
  padding: 12px 16px !important;
  font-size: 0.92rem !important;
  font-family: 'Inter', sans-serif !important;
  color: var(--charcoal) !important;
  background: var(--cream) !important;
  transition: var(--transition) !important;
}
.form-control:focus, .form-select:focus {
  border-color: var(--gold) !important;
  box-shadow: 0 0 0 3px rgba(201,150,42,0.14) !important;
  background: var(--white) !important;
  outline: none !important;
}
.form-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem; font-weight: 600;
  color: var(--maroon); margin-bottom: 6px;
  letter-spacing: 0.02em;
}
.btn-primary {
  background: var(--maroon) !important;
  border-color: var(--maroon) !important;
  font-weight: 600; font-family: 'Inter', sans-serif;
  padding: 12px 28px; border-radius: 6px;
  transition: var(--transition);
}
.btn-primary:hover {
  background: var(--maroon-dark) !important;
  border-color: var(--maroon-dark) !important;
  transform: translateY(-1px);
}
.btn-outline-secondary {
  border-color: var(--warm-gray) !important;
  color: var(--text-muted) !important;
}
.btn-outline-secondary:hover {
  background: var(--cream-dark) !important;
  border-color: var(--gold) !important;
  color: var(--maroon) !important;
}


/* =====================================================
   FOOTER
===================================================== */
.footer {
  background: var(--maroon-dark);
  color: rgba(255,255,255,0.75);
  padding: 76px 0 0;
  position: relative;
}
.footer::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 3px;
  background: linear-gradient(90deg, transparent, var(--gold), var(--gold-light), var(--gold), transparent);
}
.footer-container {
  display: grid;
  grid-template-columns: 1.6fr 1fr 1fr 1fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-logo {
  height: 50px; width: auto;
  margin-bottom: 20px; object-fit: contain;
}
.footer-about p {
  font-size: 0.88rem; line-height: 1.8;
  color: rgba(255,255,255,0.58);
  margin-bottom: 24px; max-width: 290px;
}
.social-icons { display: flex; gap: 10px; }
.social-icons a {
  width: 38px; height: 38px;
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(255,255,255,0.13);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  color: rgba(255,255,255,0.65);
  font-size: 0.88rem;
  transition: var(--transition);
}
.social-icons a:hover {
  background: var(--gold);
  border-color: var(--gold);
  color: var(--white);
  transform: translateY(-2px);
}
.footer-section h3 {
  font-family: 'Playfair Display', serif;
  font-size: 1rem; font-weight: 700;
  color: var(--white);
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(201,150,42,0.28);
}
.footer-section ul { display: flex; flex-direction: column; gap: 11px; }
.footer-section ul a {
  font-size: 0.87rem;
  color: rgba(255,255,255,0.55);
  transition: var(--transition);
  display: inline-flex; align-items: center; gap: 7px;
}
.footer-section ul a::before {
  content: '\203A';
  color: var(--gold); font-size: 1.1rem; line-height: 1;
}
.footer-section ul a:hover { color: var(--gold-light); padding-left: 4px; }

.footer-bottom {
  display: flex; align-items: center;
  justify-content: space-between;
  padding: 22px 0; gap: 16px; flex-wrap: wrap;
}
.footer-bottom p { font-size: 0.82rem; color: rgba(255,255,255,0.4); }
.footer-bottom p span { color: var(--gold-light); }
.footer-bottom a {
  font-size: 0.82rem; color: rgba(255,255,255,0.4);
  margin-left: 18px; transition: var(--transition);
}
.footer-bottom a:hover { color: var(--gold-light); }


/* =====================================================
   AUTH PAGES
===================================================== */
.auth-container {
  min-height: 100vh;
  display: flex; align-items: center; justify-content: center;
  background: var(--cream);
  padding: 100px 24px 60px;
}
.auth-card {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 48px 40px;
  width: 100%; max-width: 480px;
  box-shadow: var(--shadow-lg);
  border: 1px solid var(--warm-gray);
}
.auth-card h2 {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; color: var(--maroon); margin-bottom: 8px;
}
.gold-divider {
  height: 2px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light), transparent);
  margin: 24px 0; border-radius: 2px;
}


/* =====================================================
   UTILITY
===================================================== */
.text-gold { color: var(--gold); }
.text-maroon { color: var(--maroon); }
.bg-cream { background: var(--cream); }
.bg-maroon { background: var(--maroon); }
.py-section { padding: 56px 0; }

/* Bootstrap badge tweaks */
.badge { font-family: 'Inter', sans-serif; }

/* Google Translate */
#google_translate_element .goog-te-combo {
  border: 1.5px solid rgba(255,255,255,0.28);
  background: rgba(255,255,255,0.08);
  color: var(--white);
  border-radius: 6px;
  padding: 6px 10px;
  font-size: 0.8rem;
  font-family: 'Inter', sans-serif;
}

/* Swiper dots */
.swiper-pagination-bullet { background: var(--warm-gray) !important; opacity: 1 !important; }
.swiper-pagination-bullet-active { background: var(--gold) !important; }


/* =====================================================
   RESPONSIVE
===================================================== */
@media (max-width: 1024px) {
  .hamburger { display: flex; }

  .nav-menu {
    position: fixed;
    top: 0; right: -100%;
    width: 300px; height: 100vh;
    background: var(--maroon-dark);
    flex-direction: column;
    justify-content: flex-start;
    align-items: stretch;
    padding: 88px 24px 40px;
    gap: 0;
    transition: right 0.35s cubic-bezier(.77,0,.18,1);
    box-shadow: -8px 0 40px rgba(0,0,0,0.3);
    overflow-y: auto;
  }
  .nav-menu.active { right: 0; }

  .nav-list { flex-direction: column; align-items: stretch; gap: 0; }
  .nav-link {
    display: block;
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    font-size: 1rem;
    color: rgba(255,255,255,0.88);
  }
  .nav-link.active::after { display: none; }
  .nav-link.active { color: var(--gold-light); background: rgba(255,255,255,0.05); }
  .nav-actions {
    flex-direction: column; align-items: stretch;
    margin-left: 0; margin-top: 24px; gap: 12px;
  }
  .nav-btn { text-align: center; padding: 12px 16px; font-size: 0.95rem; }

  .membership-main, .main-about, .about-membership-main {
    grid-template-columns: 1fr; gap: 40px;
  }
  .membership-img::before, .about-image::before { display: none; }
  .membership-img img, .about-image img { height: 300px; }
  .about-membership-main .membership-img img { height: 280px; }

  .footer-container { grid-template-columns: 1fr 1fr; gap: 36px; }
  .page-header { height: 320px; }
  .garba-mandala-wrap { width: 340px; height: 340px; right: -35px; }
  .garba-ring-wrap { width: 200px; height: 200px; left: -60px; }
  .contribution-main { flex-direction: column; }
}

@media (max-width: 768px) {
  :root { --nav-h: 68px; }

  .hero-title { font-size: 2.5rem; }
  .hero .container { padding-bottom: 110px; }
  .hero-stats-bar .container { flex-wrap: wrap; }
  .hero-stat { flex: 0 0 50%; border-bottom: 1px solid rgba(255,255,255,0.18); }
  .hero-stat:nth-child(2) { border-right: none; }

  .board-container { grid-template-columns: repeat(2, 1fr); gap: 20px; }

  .footer-container { grid-template-columns: 1fr; gap: 28px; }
  .footer-about p { max-width: 100%; }

  .contact-info-card { padding: 36px 28px !important; }
  .contribution-main { text-align: center; }
  .page-header { height: 300px; }
  .garba-mandala-wrap { width: 250px; height: 250px; right: -25px; opacity: 0.7; }
  .garba-ring-wrap { display: none; }
  .ph-main-title { font-size: 2rem; max-width: 100%; }

  .membership-img img, .about-image img { height: 240px; }
  .post-card > img { height: 240px; }
}

@media (max-width: 480px) {
  .hero-title { font-size: 2rem; }
  .hero-cta { flex-direction: column; align-items: flex-start; }
  .hero-stat { flex: 0 0 100%; }

  .board-container { grid-template-columns: 1fr; }
  .auth-card { padding: 32px 20px; }
  .footer-bottom { flex-direction: column; text-align: center; }
  .footer-bottom a { margin-left: 10px; }
  .page-header { height: 270px; }
  .garba-mandala-wrap { width: 190px; height: 190px; }
  .ph-main-title { font-size: 1.75rem; }
}


/* =====================================================
   CONTACT FORM
===================================================== */
.form-container {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 44px 40px;
  box-shadow: var(--shadow-sm);
  border: 1px solid var(--warm-gray);
  height: 100%;
}
.form-container .contact-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.75rem;
  color: var(--maroon);
  margin-bottom: 28px;
  padding-bottom: 16px;
  border-bottom: 2px solid var(--gold-pale);
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 0;
}
.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 20px;
}
.form-group.full-width { grid-column: 1 / -1; }
.form-group label {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--maroon);
  letter-spacing: 0.02em;
}
.form-group label span[style] { color: #dc3545 !important; }
.form-group input,
.form-group textarea {
  width: 100%;
  border: 1.5px solid var(--warm-gray);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
  resize: vertical;
}
.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,150,42,0.14);
  background: var(--white);
}
.form-group .invalid-feedback { font-size: 0.75rem; color: #dc3545; margin-top: 4px; display: block; }
.submit-button {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 36px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 600;
  background: var(--maroon);
  color: var(--white);
  border: 2px solid var(--maroon);
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.04em;
  margin-top: 4px;
}
.submit-button:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}
@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .form-container { padding: 28px 20px; }
}


/* =====================================================
   MEMBER TODAY — dark-bg section text classes
===================================================== */
.small-sec-title {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin-bottom: 14px;
}
.small-sec-title::before {
  content: '';
  display: inline-block;
  width: 20px;
  height: 2px;
  background: var(--gold-light);
  flex-shrink: 0;
}
.main-sec-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.8rem, 4vw, 2.75rem);
  color: var(--white);
  margin-bottom: 18px;
  line-height: 1.2;
  font-weight: 700;
}
.sec-content {
  color: rgba(255,255,255,0.72);
  font-size: 1rem;
  line-height: 1.85;
  margin-bottom: 32px;
}
.sec-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 30px;
  border-radius: 6px;
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  background: var(--gold);
  color: var(--white);
  border: 2px solid var(--gold);
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.sec-btn:hover {
  background: #B5841E;
  border-color: #B5841E;
  transform: translateY(-2px);
  color: var(--white);
}

/* Fix raw-HTML vision description colour on cream bg */
.membership-content { color: var(--text-muted); }
.membership-content p { color: var(--text-muted); margin-bottom: 16px; line-height: 1.85; }
.membership-content h1, .membership-content h2, .membership-content h3 { color: var(--maroon); margin-bottom: 12px; font-family: 'Playfair Display', serif; }
.membership-content strong, .membership-content b { color: var(--maroon); }
/* Do NOT let the wildcard override bleed into buttons */
.membership-content .common-btn,
.membership-content .common-btn *,
.membership-content a.common-btn { color: var(--white) !important; }


/* =====================================================
   CULTURE BAR — Navratri infographic strip
===================================================== */
.culture-bar {
  background: linear-gradient(90deg, var(--maroon-dark) 0%, #3D0A1E 50%, var(--maroon-dark) 100%);
  border-top: 1px solid rgba(201,150,42,0.15);
  border-bottom: 2px solid rgba(201,150,42,0.25);
  padding: 0;
  overflow: hidden;
}
.culture-bar .container {
  padding-left: 0;
  padding-right: 0;
  max-width: 100%;
}
.culture-bar-inner {
  display: flex;
  align-items: stretch;
  justify-content: center;
  flex-wrap: nowrap;          /* never wrap — single row always */
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;      /* Firefox */
}
.culture-bar-inner::-webkit-scrollbar { display: none; } /* Chrome/Safari */
.culture-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 13px 22px;
  flex-shrink: 0;             /* prevent squishing */
  border-right: 1px solid rgba(201,150,42,0.12);
  color: rgba(255,255,255,0.48);
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: var(--transition);
  cursor: default;
  white-space: nowrap;
}
.culture-item:last-child { border-right: none; }
.culture-item:hover { color: var(--gold-light); background: rgba(201,150,42,0.06); }
.culture-icon {
  width: 28px; height: 28px;
  background: rgba(201,150,42,0.12);
  border: 1px solid rgba(201,150,42,0.3);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  flex-shrink: 0;
  transition: var(--transition);
}
.culture-item:hover .culture-icon {
  background: rgba(201,150,42,0.22);
  border-color: var(--gold);
}
.navratri-dots {
  display: flex;
  gap: 4px;
  align-items: center;
  padding: 13px 18px;
  flex-shrink: 0;
}
.navratri-dot {
  width: 8px; height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
  opacity: 0.75;
  transition: opacity .3s;
}
.navratri-dots:hover .navratri-dot { opacity: 1; }
/* Tablet — tighten spacing, hide text labels */
@media (max-width: 768px) {
  .culture-item { padding: 10px 12px; font-size: 0.62rem; gap: 6px; }
  .culture-item > span:last-child { display: none; }
  .culture-icon { width: 32px; height: 32px; font-size: 1rem; }
  .navratri-dots { padding: 10px 10px; }
  .navratri-dot { width: 7px; height: 7px; }
}
/* Mobile — still a single scrollable row, never hidden */
@media (max-width: 480px) {
  .culture-item { padding: 9px 10px; }
  .culture-icon { width: 30px; height: 30px; font-size: 0.95rem; }
}


/* =====================================================
   CUSTOM LANGUAGE PICKER  (replaces Google widget)
===================================================== */
.lang-picker { position: relative; }
.lang-btn {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(201,150,42,0.12);
  border: 1.5px solid rgba(201,150,42,0.38);
  border-radius: 50px;
  padding: 6px 13px 6px 10px;
  color: var(--gold-light);
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: var(--transition);
  white-space: nowrap;
  letter-spacing: 0.03em;
}
.lang-btn:hover {
  background: rgba(201,150,42,0.22);
  border-color: var(--gold);
  color: var(--white);
}
.lang-diyo { font-size: 1rem; line-height: 1; }
.lang-arrow {
  font-size: 0.6rem;
  opacity: 0.7;
  transition: transform .25s ease;
  margin-left: 2px;
}
.lang-picker.open .lang-arrow { transform: rotate(180deg); }
.lang-menu {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: var(--maroon-dark);
  border: 1px solid rgba(201,150,42,0.38);
  border-radius: var(--radius);
  min-width: 178px;
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0,0,0,0.45);
  z-index: 2000;
  opacity: 0;
  transform: translateY(-6px) scale(.97);
  pointer-events: none;
  transition: opacity .22s ease, transform .22s ease;
}
.lang-picker.open .lang-menu {
  opacity: 1;
  transform: translateY(0) scale(1);
  pointer-events: all;
}
.lang-menu-header {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: var(--gold);
  padding: 11px 14px 9px;
  border-bottom: 1px solid rgba(201,150,42,0.22);
  display: flex; align-items: center; gap: 7px;
}
.lang-option {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  padding: 10px 14px;
  background: none;
  border: none;
  border-bottom: 1px solid rgba(255,255,255,0.04);
  font-family: 'Inter', sans-serif;
  font-size: 0.86rem;
  color: rgba(255,255,255,0.65);
  cursor: pointer;
  transition: var(--transition);
  text-align: left;
}
.lang-option:last-child { border-bottom: none; }
.lang-option:hover, .lang-option.active {
  background: rgba(201,150,42,0.1);
  color: var(--gold-light);
}
.lang-option .lang-flag { font-size: 1.1rem; line-height: 1; }
.lang-option .lang-native {
  font-size: 0.72rem;
  opacity: 0.5;
  margin-left: auto;
}
/* ── Suppress Google Translate injected UI ──────────────────────────── */
/* Hide the injected banner iframe in every form it appears */
.goog-te-banner-frame,
.goog-te-banner-frame.skiptranslate,
iframe.skiptranslate,
.skiptranslate { display: none !important; visibility: hidden !important; }

/* Hide the widget container itself */
.goog-te-gadget { display: none !important; }
#google_translate_element { display: none !important; }
.VIpgJd-ZVi9od-aZ2wEe-wOHMyf { display: none !important; }

/* Stop Google from shifting the body when translating.
   Google's stylesheet targets html.translated-ltr body { top: -40px }
   AND its JS sets document.body.style.top inline.
   The MutationObserver in app.blade.php handles the inline override;
   these rules handle the stylesheet-level override. */
body,
html.translated-ltr body,
html.translated-rtl body { top: 0 !important; margin-top: 0 !important; }

/* Navbar must sit above Google's banner frame (z ≈ 10 000 000) */
.navbar { z-index: 10000100 !important; }


/* =====================================================
   VILLAGE ROOTS MARQUEE
===================================================== */
.roots-marquee {
  background: var(--maroon-dark);
  overflow: hidden;
  border-top: 1px solid rgba(201,150,42,0.10);
  border-bottom: 1px solid rgba(201,150,42,0.10);
}
.rm-track-wrap {
  overflow: hidden;
  padding: 14px 0;
  mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
  -webkit-mask-image: linear-gradient(90deg, transparent 0%, black 6%, black 94%, transparent 100%);
}
.rm-track {
  display: flex;
  align-items: center;
  white-space: nowrap;
  width: max-content;
  animation: rmScroll 55s linear infinite;
}
.rm-track:hover { animation-play-state: paused; }
@keyframes rmScroll {
  0%   { transform: translateX(0); }
  100% { transform: translateX(-33.333%); }
}
.rm-item {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255,255,255,0.50);
  padding: 0 6px;
  transition: color .3s;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}
.rm-item:hover { color: var(--gold-light); }
.rm-dot {
  font-size: 0.4rem;
  color: rgba(201,150,42,0.38);
  vertical-align: middle;
}


/* =====================================================
   COMMUNITY PILLARS
===================================================== */
.pillars {
  padding: 56px 0;
  background: var(--cream);
  position: relative;
}
.pillars-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 28px;
  margin-top: 56px;
}
.pillar-card {
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-radius: var(--radius-lg);
  padding: 40px 28px 32px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: var(--transition);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0;
}
.pillar-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-md);
  border-color: var(--gold-pale);
}
.pillar-icon-wrap {
  width: 68px; height: 68px;
  background: var(--gold-pale);
  border: 2px solid rgba(201,150,42,0.25);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--maroon);
  margin-bottom: 22px;
  transition: var(--transition);
  flex-shrink: 0;
}
.pillar-icon-wrap svg { width: 28px; height: 28px; }
.pillar-card:hover .pillar-icon-wrap {
  background: var(--maroon);
  border-color: var(--maroon);
  color: var(--gold-light);
}
.pillar-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--maroon);
  margin-bottom: 14px;
}
.pillar-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
  flex: 1;
}
.pillar-accent {
  width: 36px; height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--gold-light));
  border-radius: 2px;
  transition: width .3s ease;
}
.pillar-card:hover .pillar-accent { width: 56px; }
@media (max-width: 900px) {
  .pillars-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 520px) {
  .pillars-grid { grid-template-columns: 1fr; }
}


/* =====================================================
   CONTRIBUTION — Community Quote upgrade
===================================================== */
.contrib-quote {
  background: rgba(255,255,255,0.07);
  border: 1px solid rgba(201,150,42,0.28);
  border-radius: var(--radius);
  padding: 28px 28px 22px;
  max-width: 400px;
  position: relative;
  margin-bottom: 28px;
}
.contrib-qmark {
  font-family: 'Playfair Display', serif;
  font-size: 5rem;
  line-height: 0.6;
  color: rgba(201,150,42,0.25);
  position: absolute;
  top: 20px; left: 20px;
  pointer-events: none;
  user-select: none;
}
.contrib-quote p {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  font-style: italic;
  color: rgba(255,255,255,0.82);
  line-height: 1.7;
  padding-left: 20px;
  margin: 0 0 14px;
  position: relative; z-index: 1;
}
.contrib-quote cite {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold);
  font-style: normal;
  display: block;
  padding-left: 20px;
}
.contribution-img {
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}
.contrib-cta {
  background: var(--gold) !important;
  border-color: var(--gold) !important;
  color: var(--white) !important;
  font-size: 0.92rem !important;
  padding: 15px 36px !important;
  letter-spacing: 0.06em !important;
}
.contrib-cta:hover {
  background: #B5841E !important;
  border-color: #B5841E !important;
  transform: translateY(-3px) !important;
}


/* =====================================================
   NEWS — Editorial Layout
===================================================== */
.news-featured-link { display: block; margin-bottom: 28px; text-decoration: none; }
.news-featured-card {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-md);
  border: 1px solid var(--warm-gray);
  background: var(--white);
  transition: var(--transition);
  min-height: 340px;
}
.news-featured-card:hover { transform: translateY(-5px); box-shadow: var(--shadow-lg); }
.nfc-img { overflow: hidden; position: relative; }
.nfc-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  transition: transform 0.6s ease;
  display: block;
}
.news-featured-card:hover .nfc-img img { transform: scale(1.04); }
.nfc-body {
  padding: 44px 40px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 0;
  position: relative;
}
.nfc-tag {
  display: inline-block;
  background: var(--gold-pale);
  color: var(--maroon);
  font-family: 'Inter', sans-serif;
  font-size: 0.66rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 4px 12px;
  border-radius: 50px;
  border: 1px solid rgba(201,150,42,0.4);
  margin-bottom: 16px;
  align-self: flex-start;
}
.nfc-date {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: var(--gold);
  margin-bottom: 12px;
  text-transform: uppercase;
}
.nfc-title {
  font-family: 'Playfair Display', serif;
  font-size: clamp(1.3rem, 2.5vw, 1.75rem);
  font-weight: 700;
  color: var(--maroon);
  line-height: 1.3;
  margin-bottom: 16px;
}
.nfc-excerpt {
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.75;
  margin-bottom: 24px;
}
.nfc-read {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--maroon);
  transition: gap .25s ease, color .25s ease;
}
.news-featured-card:hover .nfc-read { gap: 12px; color: var(--gold); }
.news-side-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
}
.news-side-grid .post-card > img { height: 200px; }
@media (max-width: 768px) {
  .news-featured-card { grid-template-columns: 1fr; }
  .nfc-img { height: 240px; }
  .nfc-body { padding: 28px 24px; }
}

/* =====================================================
   AUTH — Login / Register pages
===================================================== */
.auth-section {
  background: var(--cream);
  padding: 80px 0 100px;
}
.auth-card {
  display: grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 24px 64px rgba(90,21,48,0.14);
  max-width: 960px;
  margin: 0 auto;
}

/* Left — maroon brand panel */
.auth-card-left {
  background: linear-gradient(155deg, var(--maroon) 0%, var(--maroon-dark) 100%);
  padding: 56px 44px;
  display: flex;
  flex-direction: column;
  gap: 0;
  position: relative;
  overflow: hidden;
}
.auth-card-left::before {
  content: '';
  position: absolute;
  top: -60px; right: -60px;
  width: 240px; height: 240px;
  border-radius: 50%;
  background: rgba(201,150,42,0.08);
  pointer-events: none;
}
.auth-brand-icon {
  font-size: 2.4rem;
  margin-bottom: 18px;
}
.auth-brand-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.7rem;
  font-weight: 700;
  color: var(--white);
  margin: 0 0 6px;
}
.auth-brand-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gold-light);
  margin: 0;
}
.auth-divider {
  width: 48px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), transparent);
  margin: 22px 0;
}
.auth-brand-text {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  line-height: 1.7;
  color: rgba(255,255,255,0.65);
  margin: 0 0 28px;
}
.auth-features {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: auto;
}
.auth-feature {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 500;
  color: rgba(255,255,255,0.72);
}
.auth-feature span {
  width: 30px; height: 30px;
  background: rgba(201,150,42,0.15);
  border: 1px solid rgba(201,150,42,0.3);
  border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1rem;
  flex-shrink: 0;
}

/* Right — form panel */
.auth-card-right {
  background: var(--white);
  padding: 56px 48px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.auth-small-label {
  display: inline-block;
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,150,42,0.10);
  border: 1px solid rgba(201,150,42,0.25);
  border-radius: 50px;
  padding: 4px 14px;
  margin-bottom: 16px;
}
.auth-form-title {
  font-family: 'Playfair Display', serif;
  font-size: 2rem;
  font-weight: 700;
  color: var(--maroon);
  margin: 0 0 8px;
}
.auth-form-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.88rem;
  color: var(--text-muted);
  margin: 0 0 28px;
}
.auth-field {
  margin-bottom: 20px;
}
.auth-field label {
  display: block;
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--maroon);
  margin-bottom: 7px;
  letter-spacing: 0.02em;
}
.auth-field label span {
  color: #dc3545;
}
.auth-field input {
  width: 100%;
  border: 1.5px solid var(--warm-gray);
  border-radius: 8px;
  padding: 12px 16px;
  font-size: 0.92rem;
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
}
.auth-field input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,150,42,0.14);
  background: var(--white);
}
.auth-error {
  display: block;
  font-size: 0.75rem;
  color: #dc3545;
  margin-top: 5px;
}
.auth-error-box {
  background: #fff5f5;
  border: 1px solid #f5c6cb;
  border-radius: 8px;
  padding: 10px 14px;
  font-size: 0.84rem;
  color: #dc3545;
  margin-bottom: 16px;
}
.auth-submit-btn {
  width: 100%;
  padding: 14px 24px;
  background: var(--maroon);
  color: var(--white);
  border: none;
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  margin-top: 4px;
}
.auth-submit-btn:hover {
  background: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(90,21,48,0.22);
}
.auth-submit-btn:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
.auth-links {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: 22px;
  flex-wrap: wrap;
}
.auth-links a {
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--maroon);
  text-decoration: none;
  transition: color .2s;
}
.auth-links a:hover { color: var(--gold); }
.auth-link-sep {
  color: var(--warm-gray);
  font-size: 1rem;
}
@media (max-width: 768px) {
  .auth-card { grid-template-columns: 1fr; }
  .auth-card-left { padding: 40px 28px; }
  .auth-card-right { padding: 40px 28px; }
  .auth-features { display: none; }
}

/* btn-red — used on register page buttons */
.btn-red {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 28px;
  background: var(--maroon);
  color: var(--white) !important;
  border: 2px solid var(--maroon);
  border-radius: 8px;
  font-family: 'Inter', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
}
.btn-red:hover {
  background: var(--maroon-dark);
  border-color: var(--maroon-dark);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(90,21,48,0.22);
}
.btn-red:disabled {
  opacity: 0.65;
  cursor: not-allowed;
  transform: none;
}
.btn-red.btn-remove {
  background: transparent;
  color: var(--maroon) !important;
  border-color: var(--maroon);
  padding: 6px 16px;
  font-size: 0.8rem;
}
.btn-red.btn-remove:hover {
  background: var(--maroon);
  color: var(--white) !important;
}
/* Add Family Members — smaller secondary button */
#addFamilyMembers {
  padding: 8px 18px;
  font-size: 0.8rem;
  border-radius: 6px;
}

/* =====================================================
   REGISTER PAGE — multi-section form
===================================================== */
.reg-page {
  background: var(--cream);
  padding: 72px 0 100px;
}

/* Guidelines banner */
.reg-guidelines {
  display: flex;
  gap: 20px;
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-left: 4px solid var(--gold);
  border-radius: 12px;
  padding: 24px 28px;
  margin-bottom: 40px;
  align-items: flex-start;
}
.reg-guidelines-icon {
  font-size: 1.8rem;
  flex-shrink: 0;
  margin-top: 2px;
}
.reg-guidelines-body h4 {
  font-family: 'Playfair Display', serif;
  font-size: 1.05rem;
  color: var(--maroon);
  margin: 0 0 10px;
}
.reg-guidelines-body ul {
  margin: 0;
  padding-left: 18px;
  display: flex;
  flex-direction: column;
  gap: 5px;
}
.reg-guidelines-body ul li {
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  color: var(--text-muted);
  line-height: 1.55;
}
.reg-guidelines-body a { color: var(--maroon); font-weight: 600; }

/* Section card */
.reg-section {
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-radius: 16px;
  padding: 36px 40px;
  margin-bottom: 24px;
  box-shadow: 0 2px 12px rgba(90,21,48,0.05);
}
.reg-section-head {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-bottom: 28px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--warm-gray);
}
.reg-step {
  width: 44px;
  height: 44px;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: var(--gold-light);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.02em;
}
.reg-section-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.25rem;
  color: var(--maroon);
  margin: 0 0 3px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.reg-optional {
  font-family: 'Inter', sans-serif;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--gold);
  background: rgba(201,150,42,0.10);
  border: 1px solid rgba(201,150,42,0.25);
  border-radius: 50px;
  padding: 2px 10px;
  vertical-align: middle;
}
.reg-section-sub {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  margin: 0;
}

/* Field grid */
.reg-fields {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px 24px;
}
.reg-field { display: flex; flex-direction: column; gap: 7px; }
.reg-field--sm { max-width: 160px; }

/* Consent checkbox */
.reg-consent-box {
  background: #fffdf6;
  border: 1.5px solid var(--warm-gray);
  border-radius: 10px;
  padding: 16px 20px;
  margin-bottom: 20px;
}
.reg-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  cursor: pointer;
  font-size: 0.92rem;
  color: var(--charcoal);
  line-height: 1.5;
}
.reg-consent-label input[type="checkbox"] {
  margin-top: 3px;
  width: 17px;
  height: 17px;
  flex-shrink: 0;
  accent-color: var(--maroon);
  cursor: pointer;
}
.reg-consent-toggle {
  background: none;
  border: none;
  padding: 0;
  color: var(--maroon);
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  font-size: inherit;
}
.reg-consent-detail {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid var(--warm-gray);
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.65;
}
.reg-consent-detail p { margin-bottom: 8px; }
.reg-consent-detail p:last-child { margin-bottom: 0; }
.auth-submit-btn.reg-submit-btn:disabled {
  opacity: 0.45;
  cursor: not-allowed;
}
.reg-field--full { grid-column: 1 / -1; }
.reg-field label {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--maroon);
  letter-spacing: 0.03em;
}
.reg-field label span { color: #dc3545; }
.reg-field input,
.reg-field select {
  width: 100%;
  border: 1.5px solid var(--warm-gray);
  border-radius: 8px;
  padding: 11px 14px;
  font-size: 0.9rem;
  font-family: 'Inter', sans-serif;
  color: var(--charcoal);
  background: var(--cream);
  transition: var(--transition);
  outline: none;
  appearance: none;
  -webkit-appearance: none;
}
.reg-field input:focus,
.reg-field select:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(201,150,42,0.14);
  background: var(--white);
}
.reg-field select {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%237B1E3F' stroke-width='1.5' fill='none' stroke-linecap='round'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}

/* File input */
.reg-file-wrap { display: flex; flex-direction: column; gap: 8px; }
.reg-file-input { display: none; }
.reg-file-label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px;
  border: 1.5px dashed rgba(123,30,63,0.35);
  border-radius: 8px;
  background: rgba(201,150,42,0.05);
  cursor: pointer;
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  color: var(--maroon);
  font-weight: 600;
  transition: var(--transition);
}
.reg-file-label:hover { border-color: var(--gold); background: rgba(201,150,42,0.10); }
.reg-file-icon { font-size: 1.1rem; }
.reg-file-name {
  font-family: 'Inter', sans-serif;
  font-size: 0.75rem;
  color: var(--text-muted);
  font-style: italic;
}

/* Family member card */
.reg-family-card {
  border: 1px solid rgba(201,150,42,0.20);
  border-radius: 12px;
  padding: 20px 24px;
  background: rgba(201,150,42,0.03);
  margin-bottom: 16px;
}
.reg-family-card-head {
  font-family: 'Inter', sans-serif;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--maroon);
  margin-bottom: 16px;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(201,150,42,0.15);
}

/* Submit row */
.reg-submit-row {
  background: var(--white);
  border: 1px solid var(--warm-gray);
  border-radius: 16px;
  padding: 36px 40px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 16px;
  box-shadow: 0 2px 12px rgba(90,21,48,0.05);
}
.reg-submit-note {
  font-family: 'Inter', sans-serif;
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.6;
  max-width: 560px;
}
.reg-submit-btn {
  padding: 15px 48px;
  font-size: 1rem;
  border-radius: 10px;
}
.reg-login-link {
  font-family: 'Inter', sans-serif;
  font-size: 0.84rem;
  color: var(--text-muted);
  margin: 0;
}
.reg-login-link a {
  color: var(--maroon);
  font-weight: 700;
  text-decoration: none;
}
.reg-login-link a:hover { color: var(--gold); }

@media (max-width: 900px) {
  .reg-fields { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 600px) {
  .reg-section { padding: 24px 20px; }
  .reg-fields { grid-template-columns: 1fr; }
  .reg-field--sm { max-width: 100%; }
  .reg-submit-row { padding: 24px 20px; }
  .reg-guidelines { flex-direction: column; gap: 12px; }
}
