/* ==========================================================
   BHOJ DONATION — MAROON & GOLD THEME
   Replace your existing site.css with this stylesheet.
   ========================================================== */
:root {
  --navy: #5d1019;
  --navy-2: #7d141c;
  --blue: #8e1c20;
  --blue-bright: #a52a22;
  --gold: #ffc45b;
  --gold-2: #ffe7a0;
  --ink: #321116;
  --muted: #85686a;
  --paper: #fffdfb;
  --soft: #fff6ed;
  --line: #eeded6;
  --shadow: 0 24px 70px rgba(79, 12, 21, 0.13);
  --serif: "Playfair Display", Georgia, serif;
  --sans: "DM Sans", Arial, sans-serif;
  --ease: cubic-bezier(0.2, 0.75, 0.25, 1);
}

* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  scroll-padding-top: 90px;
}
body {
  margin: 0;
  font-family: var(--sans);
  color: var(--ink);
  background: #fffaf6;
  line-height: 1;
  overflow-x: hidden;
}
body,
button,
input,
textarea {
  font-family: var(--sans);
}
a {
  color: inherit;
  text-decoration: none;
}
button,
input,
textarea {
  font: inherit;
}
img {
  max-width: 100%;
  display: block;
}
.container {
  width: min(1260px, calc(100% - 48px));
  margin-inline: auto;
}

.ambient {
  position: fixed;
  z-index: -1;
  pointer-events: none;
  filter: blur(90px);
  opacity: 0.13;
  border-radius: 50%;
}
.ambient-one {
  width: 300px;
  height: 300px;
  right: -180px;
  top: 18%;
  background: #df5b35;
}
.ambient-two {
  width: 260px;
  height: 260px;
  left: -180px;
  bottom: 10%;
  background: #ffc45b;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1100;
  min-height: 88px;
  padding: 15px max(24px, calc((100vw - 1240px) / 2));
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 30px;
  background: rgba(83, 13, 22, 0.91);
  border-bottom: 1px solid rgba(255, 205, 116, 0.2);
  backdrop-filter: blur(18px);
  transition: background 0.3s, min-height 0.3s, box-shadow 0.3s;
}
.navbar.scrolled {
  min-height: 72px;
  background: rgba(69, 9, 17, 0.98);
  box-shadow: 0 12px 35px rgba(55, 6, 13, 0.25);
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  flex-shrink: 0;
}
.brand-mark {
  width: 46px;
  height: 46px;
  border-radius: 15px;
  display: grid;
  place-items: center;
  color: #7c151b;
  background: linear-gradient(145deg, #ffe5a0, #df972b);
  box-shadow: 0 7px 24px rgba(255, 190, 77, 0.27);
  font-size: 20px;
}
.brand-copy {
  font-family: var(--serif);
  font-size: 20px;
  line-height: 1.1;
  color: #fffaf0;
  letter-spacing: -0.3px;
}
.brand-copy b {
  color: var(--gold);
  font-weight: 600;
}
.brand-copy small {
  display: block;
  font: 600 8px var(--sans);
  letter-spacing: 2px;
  color: #f2c9a5;
  margin-top: 6px;
}
.nav-links {
  display: flex;
  align-items: center;
  gap: clamp(15px, 2.1vw, 22px);
}
.nav-links > a {
  font-size: 16px;
  font-weight: 600;
  color: #f4dfe0;
  position: relative;
  white-space: nowrap;
  transition: color 0.25s;
}
.nav-links > a:not(.nav-cta):after {
  content: "";
  position: absolute;
  left: 0;
  right: 100%;
  bottom: -9px;
  height: 2px;
  background: linear-gradient(90deg, var(--gold), #fff0bd);
  transition: right 0.3s;
}
.nav-links > a:hover,
.nav-links > a.active {
  color: #fff;
}
.nav-links > a:hover:after,
.nav-links > a.active:after {
  right: 0;
}
.nav-links .nav-cta {
  padding: 12px 17px;
  border-radius: 12px;
  background: linear-gradient(120deg, #ffe19a, #d9922c);
  color: #581018;
  box-shadow: 0 8px 24px rgba(255, 187, 73, 0.22);
}
.nav-cta i {
  margin-right: 7px;
}
.menu-toggle {
  display: none;
  border: 1px solid #ffdc9c66;
  background: #ffffff10;
  color: #fff3d8;
  width: 44px;
  height: 44px;
  border-radius: 12px;
  font-size: 18px;
}

.hero {
  min-height: 760px;
  height: min(920px, 100svh);
  position: relative;
  display: flex;
  align-items: center;
  overflow: hidden;
  background: #5d1019;
  color: white;
  isolation: isolate;
}
.hero-video,
.hero-shade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
}
.hero-video {
  filter: saturate(0.65) sepia(0.16);
}
.hero-shade {
  z-index: -1;
  background: radial-gradient(
      ellipse at 82% 0%,
      rgba(232, 104, 38, 0.4),
      transparent 35%
    ),
    linear-gradient(
      100deg,
      rgb(70 8 17 / 0%) 0%,
      rgb(105 16 24 / 26%) 46%,
      rgba(86, 14, 23, 0.36) 100%
    ),
    linear-gradient(0deg, rgba(48, 5, 13, 0.58), transparent 40%);
}
.hero-orb {
  position: absolute;
  z-index: -1;
  width: 560px;
  height: 560px;
  right: -100px;
  top: 15%;
  border: 1px solid rgba(255, 194, 91, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 65px rgba(255, 194, 91, 0.05),
    0 0 0 130px rgba(255, 194, 91, 0.035);
  animation: orbFloat 12s ease-in-out infinite;
}
.hero-content {
  padding-top: 70px;
  position: relative;
}
.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  line-height: 1.5;
  font-weight: 700;
  letter-spacing: 2.2px;
  color: #a14a2b;
}
.eyebrow span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--gold);
  box-shadow: 0 0 0 5px rgba(255, 196, 91, 0.16);
}
.light-eyebrow {
  color: #ffe3b1;
}
.hero h1,
.page-hero h1,
.login-intro h1 {
  font: 500 clamp(45px, 6.3vw, 81px) / 1.13 var(--serif);
  letter-spacing: -1.4px;
  margin: 26px 0 22px;
  max-width: 900px;
}
.hero h1 em,
.page-hero h1 em,
.login-intro h1 em,
.section-title em,
.cta-inner h2 em {
  font-weight: 500;
  color: var(--gold);
  font-style: italic;
}
.hero-lead {
  font-size: 21px;
  line-height: 1.9;
  color: #f2dfe0;
  max-width: 620px;
  margin: 0 0 32px;
}
.hero-actions {
  display: flex;
  gap: 13px;
  flex-wrap: wrap;
}
.btn {
  min-height: 54px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 15px 23px;
  border: 1px solid transparent;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 700;
  cursor: pointer;
  transition: transform 0.3s var(--ease), box-shadow 0.3s, background 0.3s;
}
.btn:hover {
  transform: translateY(-3px);
}
.btn-gold {
  color: #591019;
  background: linear-gradient(120deg, #ffe5a0, #e2a13b);
  box-shadow: 0 12px 30px rgba(224, 157, 53, 0.28);
}
.btn-gold:hover {
  box-shadow: 0 16px 36px rgba(224, 157, 53, 0.42);
}
.btn-glass {
  color: #fffaf0;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 221, 163, 0.45);
  backdrop-filter: blur(10px);
}
.btn-glass:hover {
  background: rgba(255, 255, 255, 0.16);
}
.btn-primary {
  color: #fff;
  background: linear-gradient(120deg, #a3262a, #650e19);
  box-shadow: 0 12px 26px rgba(126, 17, 29, 0.22);
}
.hero-foot {
  display: flex;
  align-items: center;
  gap: 18px;
  margin-top: 70px;
  color: #f0d9d8;
  font-size: 14px;
  letter-spacing: 0.3px;
}
.hero-foot i {
  color: var(--gold);
  margin-right: 7px;
}
.hero-foot-line {
  height: 1px;
  width: 48px;
  background: rgba(255, 196, 91, 0.65);
}
.scroll-cue {
  position: absolute;
  right: 5%;
  bottom: 38px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 12px;
  letter-spacing: 2px;
  color: #f5e3d5;
}
.scroll-cue span {
  height: 38px;
  width: 22px;
  border: 1px solid rgba(255, 228, 186, 0.65);
  border-radius: 20px;
  position: relative;
}
.scroll-cue span:after {
  content: "";
  position: absolute;
  top: 8px;
  left: 9px;
  width: 2px;
  height: 7px;
  background: var(--gold);
  border-radius: 2px;
  animation: scrollDot 1.5s infinite;
}

.trust-strip {
  background: #fffdf9;
  border-bottom: 1px solid var(--line);
  position: relative;
  z-index: 2;
}
.trust-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 29px 0;
  gap: 24px;
}
.trust-grid > div {
  display: flex;
  align-items: center;
  gap: 13px;
  border-right: 1px solid var(--line);
  padding-right: 16px;
}
.trust-grid > div:last-child {
  border: 0;
}
.trust-grid > div > i {
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: #fff0d8;
  color: #9a2025;
  font-size: 19px;
  flex-shrink: 0;
}
.trust-grid b,
.trust-grid small {
  display: block;
}
.trust-grid b {
  font-size: 15px;
}
.trust-grid small {
  font-size: 13px;
  color: var(--muted);
  margin-top: 2px;
}

.section {
  padding: 30px 0;
}
.section-light {
  background: #fffdfb;
}
.section-soft {
  background: linear-gradient(135deg, #fff8f0, #f9eee7);
}
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: clamp(45px, 8vw, 100px);
}
.image-stack {
  position: relative;
  padding: 0 25px 25px 0;
}
.main-image {
  height: 490px;
  width: 100%;
  object-fit: cover;
  border-radius: 26px;
  box-shadow: var(--shadow);
  position: relative;
  z-index: 1;
}
.image-stack:before {
  content: "";
  position: absolute;
  inset: 25px 0 0 25px;
  border: 1px solid rgba(191, 126, 39, 0.6);
  border-radius: 27px;
}
.image-glow {
  position: absolute;
  width: 180px;
  height: 180px;
  bottom: -30px;
  left: -40px;
  background: rgba(255, 183, 67, 0.24);
  filter: blur(55px);
}
.image-caption {
  position: absolute;
  z-index: 2;
  left: 25px;
  bottom: 0;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 17px 22px;
  background: #fffdf8;
  border: 1px solid #ffffffa8;
  border-radius: 16px;
  box-shadow: 0 15px 45px rgba(73, 17, 20, 0.13);
}
.caption-icon {
  height: 42px;
  width: 42px;
  border-radius: 13px;
  display: grid;
  place-items: center;
  background: linear-gradient(140deg, #ffe6a3, #df9c31);
  color: #68131c;
}
.image-caption b,
.image-caption small {
  display: block;
}
.image-caption b {
  font-size: 15px;
}
.image-caption small {
  font-size: 13px;
  color: var(--muted);
}
.copy-block > p {
  font-size: 17px;
  color: #786365;
  line-height: 1.95;
  margin: 0 0 17px;
}
.section-title {
  font: 500 clamp(35px, 4vw, 51px) / 1.2 var(--serif);
  letter-spacing: -0.5px;
  text-align: center;
  color: var(--ink);
  margin: 18px 0;
}
.section-title em {
  color: #a66a1c;
}
.section-title.left {
  text-align: left;
}
.text-link {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin-top: 16px;
  font-size: 15px;
  font-weight: 700;
  color: #8c1c23;
}
.text-link i {
  transition: transform 0.25s;
}
.text-link:hover i {
  transform: translateX(5px);
}
.section-heading {
  text-align: center;
  max-width: 700px;
  margin: 0 auto 48px;
}
.section-heading > p {
  color: var(--muted);
  font-size: 17px;
}
.service-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}
.service-card {
  position: relative;
  padding: 34px 30px 30px;
  background: #fffdfb;
  border: 1px solid #efdfd4;
  border-radius: 20px;
  min-height: 275px;
  box-shadow: 0 7px 25px rgba(73, 17, 20, 0.035);
  overflow: hidden;
  transition: transform 0.35s var(--ease), box-shadow 0.35s, border-color 0.35s;
}
.service-card:before {
  content: "";
  position: absolute;
  inset: 0 auto auto 0;
  height: 3px;
  width: 0;
  background: linear-gradient(90deg, transparent, #ffb34c0d, transparent),
    linear-gradient(90deg, #9d2026, #ffc45b);
  transition: width 0.4s;
}
.service-card:hover {
  transform: translateY(-7px);
  box-shadow: 0 24px 45px rgba(73, 17, 20, 0.11);
  border-color: #e4c69e;
}
.service-card:hover:before {
  width: 100%;
}
.service-number {
  position: absolute;
  right: 25px;
  top: 20px;
  font: italic 26px var(--serif);
  color: #e6d6ca;
}
.service-icon {
  width: 57px;
  height: 57px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  color: #fff9eb;
  background: linear-gradient(145deg, #9e282b, #5b0d19);
  box-shadow: 0 10px 22px rgba(126, 17, 29, 0.18);
  font-size: 22px;
  margin-bottom: 22px;
}
.gold-icon {
  background: linear-gradient(145deg, #ffe5a0, #d7a047) !important;
  color: #67131b !important;
  box-shadow: 0 10px 22px rgba(216, 170, 76, 0.22) !important;
}
.service-card h3 {
  font: 600 22px var(--serif);
  margin: 0 0 10px;
}
.service-card p {
  color: var(--muted);
  font-size: 15px;
  line-height: 1.85;
  margin: 0 0 18px;
}
.service-card > a {
  font-size: 14px;
  color: #8c1c23;
  font-weight: 700;
}
.service-card > a i {
  margin-left: 6px;
  transition: transform 0.2s;
}
.service-card > a:hover i {
  transform: translateX(4px);
}
.service-grid-large .service-card {
  min-height: 250px;
}

.cta-band {
  position: relative;
  overflow: hidden;
  padding: 68px 0;
  background: radial-gradient(
      ellipse at 85% 10%,
      rgba(190, 64, 37, 0.45),
      transparent 38%
    ),
    linear-gradient(115deg, #4d0b17, #83171d 55%, #641019);
  color: #fff;
}
.cta-band:after {
  content: "";
  position: absolute;
  right: -90px;
  top: -250px;
  width: 500px;
  height: 500px;
  border: 1px solid rgba(255, 196, 91, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 60px rgba(255, 196, 91, 0.05),
    0 0 0 120px rgba(255, 196, 91, 0.035);
}
.cta-inner {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 35px;
}
.cta-inner h2 {
  font: 500 clamp(30px, 3.4vw, 45px) / 1.25 var(--serif);
  margin: 12px 0 0;
}
.cta-inner h2 em {
  color: #ffda83;
}

.page-hero {
  min-height: 420px;
  padding: 170px 0 78px;
  color: #fff;
  background: radial-gradient(ellipse at 80% 20%, #a33126 0, transparent 40%),
    linear-gradient(125deg, #4f0b17, #7e151d 70%, #68121b);
  position: relative;
  overflow: hidden;
}
.page-hero:after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -120px;
  bottom: -270px;
  border: 1px solid rgba(255, 196, 91, 0.24);
  border-radius: 50%;
  box-shadow: 0 0 0 50px rgba(255, 196, 91, 0.05),
    0 0 0 100px rgba(255, 196, 91, 0.035);
}
.page-hero .container {
  position: relative;
  z-index: 1;
}
.page-hero h1 {
  font-size: clamp(43px, 5vw, 65px);
  margin: 18px 0 15px;
}
.page-hero p {
  max-width: 650px;
  color: #f0d9d9;
  margin: 0;
  font-size: 18px;
}
.value-list {
  display: grid;
  gap: 17px;
  margin-top: 25px;
}
.value-list > div {
  display: flex;
  gap: 13px;
  align-items: flex-start;
}
.value-list > div > i {
  margin-top: 3px;
  display: grid;
  place-items: center;
  width: 27px;
  height: 27px;
  border-radius: 50%;
  background: #e7f4ec;
  color: #218454;
  font-size: 12px;
  flex-shrink: 0;
}
.value-list b,
.value-list small {
  display: block;
}
.value-list b {
  font-size: 15px;
}
.value-list small {
  font-size: 14px;
  color: var(--muted);
}

.contact-layout {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: clamp(40px, 8vw, 100px);
  align-items: start;
}


.contact-item small,
.contact-item b,
.contact-item span {
  display: block;
}
.contact-item small {
  font-size: 12px;
  letter-spacing: 1.3px;
  color: #9a563d;
  font-weight: 700;
}
.contact-item b {
  font-size: 16px;
  margin: 2px 0;
}
.contact-item div > span {
  font-size: 14px;
  color: var(--muted);
}
.form-card {
  padding: clamp(28px, 4vw, 44px);
  background: #fffdfb;
  border: 1px solid #efdfd4;
  border-radius: 23px;
  box-shadow: var(--shadow);
}
.form-card h3,
.form-card h2 {
  font: 600 30px var(--serif);
  margin: 12px 0 22px;
}
.form-card form > label,
.form-row label {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: #50373a;
  margin-bottom: 18px;
}
.form-control {
  width: 100%;
  display: block;
  margin-top: 8px;
  min-height: 52px;
  border: 1px solid #eadbd2;
  border-radius: 11px;
  background: #fffaf6;
  padding: 13px 15px;
  color: var(--ink);
  outline: none;
  transition: border-color 0.25s, box-shadow 0.25s, background 0.25s;
  font-size: 16px;
}
.form-control:focus {
  border-color: #bd7d38;
  background: #fff;
  box-shadow: 0 0 0 4px rgba(255, 196, 91, 0.16);
}
.form-control::placeholder {
  color: #b19d98;
  font-weight: 400;
}
.form-control textarea,
textarea.form-control {
  resize: vertical;
}
.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}
.optional {
  font-weight: 400;
  color: #9a8986;
}
.form-card .btn {
  width: 100%;
  border: 0;
}
.form-hint {
  font-size: 13px;
  color: #95827f;
  line-height: 1.7;
  margin: 14px 0 0;
}

.verify-section {
  padding-top: 80px;
}
.verify-card {
  max-width: 720px;
  margin: auto;
  padding: clamp(30px, 5vw, 56px);
  text-align: center;
  border-radius: 26px;
  border: 1px solid #eeddd2;
  background: #fffdfb;
  box-shadow: var(--shadow);
}
.verify-mark,
.login-icon {
  display: grid;
  place-items: center;
  width: 68px;
  height: 68px;
  margin: 0 auto 22px;
  border-radius: 21px;
  color: #fff8e9;
  background: linear-gradient(145deg, #a42b2b, #5b0d19);
  box-shadow: 0 12px 28px rgba(126, 17, 29, 0.2);
  font-size: 25px;
}
.verify-card h2 {
  font: 600 35px var(--serif);
  margin: 12px 0;
}
.verify-card > p {
  font-size: 16px;
  color: var(--muted);
}
.verify-form {
  display: flex;
  gap: 10px;
  margin-top: 27px;
}
.verify-form .form-control {
  margin: 0;
  flex: 1;
  min-width: 0;
}
.verify-form .btn {
  white-space: nowrap;
}
.verify-divider {
  display: flex;
  align-items: center;
  gap: 14px;
  color: #a28e89;
  font-size: 11px;
  letter-spacing: 1.7px;
  margin: 30px 0;
}
.verify-divider span {
  height: 1px;
  background: #eddfd6;
  flex: 1;
}
.privacy-note {
  display: flex;
  gap: 13px;
  text-align: left;
  align-items: center;
  background: #fff5e9;
  padding: 17px;
  border-radius: 14px;
}
.privacy-note > i {
  font-size: 21px;
  color: #8c1c23;
}
.privacy-note b,
.privacy-note small {
  display: block;
}
.privacy-note b {
  font-size: 14px;
}
.privacy-note small {
  font-size: 13px;
  color: var(--muted);
  margin-top: 3px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

.login-section {
  min-height: calc(100svh - 70px);
  padding: 155px 0 90px;
  position: relative;
  overflow: hidden;
  background: radial-gradient(
      ellipse at 15% 0%,
      rgba(178, 55, 32, 0.35),
      transparent 45%
    ),
    linear-gradient(120deg, #4c0b17, #7b151d);
  color: #fff;
}
.login-decoration {
  position: absolute;
  right: -120px;
  top: 0;
  width: 600px;
  height: 600px;
  border: 1px solid rgba(255, 196, 91, 0.2);
  border-radius: 50%;
  box-shadow: 0 0 0 70px rgba(255, 196, 91, 0.04),
    0 0 0 140px rgba(255, 196, 91, 0.03);
}
.login-layout {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  gap: 90px;
  align-items: center;
  position: relative;
  z-index: 1;
}
.login-intro h1 {
  font-size: clamp(43px, 5vw, 65px);
}
.login-intro > p {
  max-width: 470px;
  color: #f0d9d9;
  font-size: 18px;
}
.login-benefit {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-top: 42px;
}
.login-benefit > i {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: rgba(255, 255, 255, 0.09);
  color: var(--gold);
  font-size: 21px;
}
.login-benefit b,
.login-benefit small {
  display: block;
}
.login-benefit b {
  font-size: 15px;
}
.login-benefit small {
  font-size: 14px;
  color: #e0c1c1;
}
.login-card {
  color: var(--ink);
}
.login-icon {
  margin: 0 0 18px;
  width: 57px;
  height: 57px;
  border-radius: 17px;
  font-size: 21px;
}
.login-card h2 {
  margin-bottom: 5px;
}
.login-card > p {
  font-size: 15px;
  color: var(--muted);
  margin: 0 0 25px;
}
.login-options {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  margin: 0 0 24px;
  font-size: 13px;
}
.login-options a,
.login-bottom a {
  color: #8c1c23;
  font-weight: 700;
}
.login-options .remember {
  display: flex;
  align-items: center;
  gap: 7px;
  font-weight: 500;
  color: #786365;
}
.remember input {
  accent-color: #8c1c23;
}
.full-width {
  width: 100%;
}
.login-bottom {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
  font-size: 13px;
  color: var(--muted);
  text-align: center;
}

.footer {
  position: relative;
  overflow: hidden;
  padding: 76px 0 0;
  color: #e7d4d1;
  background: radial-gradient(
      ellipse at 82% 0%,
      rgba(183, 58, 34, 0.23),
      transparent 34%
    ),
    linear-gradient(135deg, #350710 0%, #570d18 48%, #3e0812 100%);
  border-top: 1px solid rgba(255, 196, 91, 0.55);
}
.footer:before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    #ffdf8b,
    #ffb34c,
    #ffdf8b,
    transparent
  );
}
.footer:after {
  content: "";
  position: absolute;
  width: 430px;
  height: 430px;
  right: -160px;
  top: -230px;
  border: 1px solid rgba(255, 196, 91, 0.17);
  border-radius: 50%;
  box-shadow: 0 0 0 40px rgba(255, 196, 91, 0.035),
    0 0 0 80px rgba(255, 196, 91, 0.025);
  pointer-events: none;
}
.footer-top {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 1.35fr 1fr 0.7fr 1fr 1fr;
  gap: 38px;
  padding-bottom: 55px;
}
.footer-brand .brand-mark {
  width: 48px;
  height: 48px;
  border-radius: 16px;
}
.footer-brand > p {
  max-width: 300px;
  font-size: 15px;
  line-height: 1.9;
  color: #d0b5b3;
  margin-top: 22px;
}
.footer h4 {
  position: relative;
  display: inline-block;
  color: #fff1d2;
  font-size: 16px;
  letter-spacing: 0.3px;
  margin: 8px 0 23px;
}
.footer h4:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -9px;
  width: 34px;
  height: 2px;
  border-radius: 3px;
  background: linear-gradient(90deg, #ffb34c, #ffe7a0);
}
.footer-top > div:not(.footer-brand):not(.footer-note) > a {
  display: block;
  width: fit-content;
  font-size: 15px;
  margin: 13px 0;
  color: #d5bfbd;
  transition: color 0.2s, transform 0.2s;
}
.footer-top > div:not(.footer-brand):not(.footer-note) > a:before {
  content: "›";
  color: #ffbf5e;
  margin-right: 9px;
  opacity: 0.8;
}
.footer-top > div:not(.footer-brand):not(.footer-note) > a:hover {
  color: #ffdb8c;
  transform: translateX(3px);
}
.footer-top p {
  font-size: 14px;
  color: #d5bfbd;
  margin: 12px 0;
  line-height: 1.8;
}
.footer-top p i {
  color: #ffc45b;
  width: 22px;
}
.footer-note {
  padding: 10px;
  border: 1px solid rgba(255, 206, 120, 0.29);
  border-radius: 20px;
  background: linear-gradient(
    145deg,
    rgba(255, 227, 170, 0.1),
    rgba(255, 255, 255, 0.025)
  );
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 18px 40px rgba(20, 0, 5, 0.12);
  backdrop-filter: blur(12px);
}
.footer-note .eyebrow {
  font-size: 11px;
  letter-spacing: 2px;
  color: #ffcf75;
}
.footer-note h3 {
  font: 500 27px/1.45 var(--serif);
  color: #fff7e9;
  margin: 15px 0 20px;
}
.footer-note h3 em {
  color: #ffcf75;
}
.footer-note .text-link {
  color: #ffdb8c;
  margin-top: 0;
  font-size: 14px;
}
.footer-bottom {
  position: relative;
  z-index: 1;
  border-top: 1px solid rgba(255, 218, 159, 0.16);
  background: rgba(27, 3, 9, 0.2);
}
.footer-bottom > .container {
  min-height: 66px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: #c7aaa8;
}
.footer-bottom > .container span:first-child {
  color: #f1d8c5;
}
.footer-bottom > .container span:last-child:before {
  content: "✦";
  color: #ffc45b;
  margin-right: 8px;
}

.reveal {
  opacity: 0;
  transform: translateY(25px);
  transition: opacity 0.8s var(--ease), transform 0.8s var(--ease);
}
.reveal.active {
  opacity: 1;
  transform: translateY(0);
}
.service-card.reveal:nth-child(2) {
  transition-delay: 0.08s;
}
.service-card.reveal:nth-child(3) {
  transition-delay: 0.16s;
}
@keyframes orbFloat {
  0%,
  100% {
    transform: translate(0, 0) scale(1);
  }
  50% {
    transform: translate(-25px, 20px) scale(1.04);
  }
}
@keyframes scrollDot {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  80%,
  100% {
    transform: translateY(13px);
    opacity: 0;
  }
}
@keyframes menuIn {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 1050px) {
  .navbar {
    padding-inline: 24px;
  }
  .nav-links {
    gap: 16px;
  }
  .nav-links > a {
    font-size: 14px;
  }
  .brand-copy {
    font-size: 19px;
  }
  .footer-top {
    grid-template-columns: 1.2fr 0.8fr 1fr;
    gap: 30px;
  }
  .footer-note {
    grid-column: 1 / -1;
  }
  .login-layout {
    gap: 45px;
  }
  .hero {
    min-height: 720px;
  }
}
@media (max-width: 800px) {
  .navbar {
    min-height: 74px;
    padding: 12px 22px;
  }
  .navbar.scrolled {
    min-height: 68px;
  }
  .hero {
    height: auto;
    min-height: 760px;
    padding: 150px 0 90px;
  }
  .hero-content {
    padding-top: 0;
  }
  .hero h1 {
    font-size: clamp(43px, 8vw, 65px);
  }
  .hero-orb {
    width: 350px;
    height: 350px;
    right: -180px;
    top: 28%;
  }
  .hero-foot {
    margin-top: 45px;
  }
  .scroll-cue {
    bottom: 24px;
  }
  .trust-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .trust-grid > div:nth-child(2) {
    border: 0;
  }
  .section {
    padding: 82px 0;
  }
  .split-layout {
    grid-template-columns: 1fr;
    gap: 48px;
  }
  .image-stack {
    max-width: 600px;
    width: 100%;
    margin: auto;
  }
  .main-image {
    height: 400px;
  }
  .copy-block {
    max-width: 650px;
  }
  .service-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
  .cta-inner {
    align-items: flex-start;
    flex-direction: column;
  }
  .page-hero {
    padding: 145px 0 65px;
    min-height: 370px;
  }
  .contact-layout {
    grid-template-columns: 1fr;
    gap: 45px;
  }
  .login-layout {
    grid-template-columns: 1fr;
    gap: 38px;
    max-width: 620px;
  }
  .login-section {
    padding-top: 130px;
  }
  .login-intro h1 {
    font-size: clamp(40px, 8vw, 58px);
  }
  .login-benefit {
    margin-top: 24px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-note {
    grid-column: auto;
  }
}
@media (max-width: 520px) {
  .container {
    width: calc(100% - 36px);
  }
  .brand-mark {
    width: 40px;
    height: 40px;
    border-radius: 13px;
    font-size: 17px;
  }
  .brand-copy {
    font-size: 18px;
  }
  .brand-copy small {
    font-size: 7px;
    letter-spacing: 1.6px;
  }
  .hero {
    min-height: 740px;
    padding-top: 130px;
  }
  .hero h1 {
    font-size: clamp(39px, 11vw, 53px);
    letter-spacing: -0.8px;
  }
  .hero-lead {
    font-size: 17px;
    line-height: 1.8;
  }
  .hero-actions {
    align-items: stretch;
    flex-direction: column;
    max-width: 320px;
  }
  .hero-actions .btn {
    width: 100%;
  }
  .hero-foot {
    gap: 10px;
    font-size: 12px;
    flex-wrap: wrap;
    margin-top: 36px;
  }
  .hero-foot-line {
    width: 25px;
  }
  .scroll-cue {
    font-size: 10px;
  }
  .trust-grid {
    padding: 20px 0;
    gap: 17px 12px;
  }
  .trust-grid > div {
    gap: 9px;
    padding-right: 5px;
  }
  .trust-grid > div > i {
    width: 38px;
    height: 38px;
    font-size: 15px;
    border-radius: 11px;
  }
  .trust-grid b {
    font-size: 13px;
  }
  .trust-grid small {
    font-size: 11px;
  }
  .section {
    padding: 66px 0;
  }
  .section-title {
    font-size: 36px;
  }
  .main-image {
    height: 320px;
    border-radius: 20px;
  }
  .image-caption {
    left: 12px;
    padding: 12px 14px;
    bottom: 4px;
  }
  .caption-icon {
    width: 36px;
    height: 36px;
  }
  .service-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
  .service-card {
    min-height: auto;
    padding: 27px 24px;
  }
  .service-icon {
    margin-bottom: 17px;
  }
  .section-heading {
    margin-bottom: 30px;
  }
  .cta-band {
    padding: 49px 0;
  }
  .cta-inner h2 {
    font-size: 31px;
  }
  .page-hero {
    padding: 130px 0 55px;
    min-height: 340px;
  }
  .page-hero h1 {
    font-size: 41px;
    letter-spacing: -0.5px;
  }
  .page-hero p {
    font-size: 16px;
  }
  .form-row {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .form-card {
    padding: 25px 20px;
    border-radius: 19px;
  }
  .verify-card {
    padding: 28px 19px;
  }
  .verify-card h2 {
    font-size: 29px;
  }
  .verify-form {
    flex-direction: column;
  }
  .verify-form .btn {
    width: 100%;
  }
  .login-section {
    padding: 125px 0 60px;
  }
  .login-intro h1 {
    font-size: 41px;
  }
  .login-card {
    padding: 25px 20px;
  }
  .footer {
    padding-top: 49px;
  }
  .footer-top {
    grid-template-columns: 1fr 1fr;
    gap: 28px 20px;
    padding-bottom: 35px;
  }
  .footer-brand {
    grid-column: 1 / -1;
  }
  .footer-note {
    grid-column: 1 / -1;
  }
  .footer-note h3 {
    font-size: 25px;
  }
  .footer-bottom > .container {
    padding: 15px 0;
    align-items: flex-start;
    flex-direction: column;
    gap: 5px;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    scroll-behavior: auto !important;
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
  .reveal {
    opacity: 1;
    transform: none;
  }
}

/* Contact page icon alignment fix */
.contact-item {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-top: 25px;
}

.contact-symbol {
  background: linear-gradient(140deg, #a42b2b, #65101a);
  color: #fff6e6;
  width: 48px;
  height: 48px;
  min-width: 48px;
  flex: 0 0 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  line-height: 1;
  border-radius: 14px;
  overflow: hidden;
}

.contact-symbol i {
  display: block;
  width: 20px;
  text-align: center;
  line-height: 1;
  font-size: 18px;
  margin: 15px;
  padding: 0;
}

.contact-item > div {
  flex: 1;
  min-width: 0;
}

.contact-item > div small,
.contact-item > div b,
.contact-item > div span {
  display: block;
}

.contact-item > div small {
  margin: 0 0 3px;
}

.contact-item > div b {
  margin: 0 0 2px;
}

/* Mobile responsive */
@media (max-width: 520px) {
  .contact-item {
    align-items: center;
    gap: 12px;
  }

  .contact-symbol {
    width: 44px;
    height: 44px;
    min-width: 44px;
    flex-basis: 44px;
  }

  .contact-symbol i {
    font-size: 17px;
  }
}

/* Mobile navigation is consolidated at the end of this file. */

.top-members-section {
  padding: 75px 0;
  background: linear-gradient(180deg, #fffaf5, #ffffff);
}

.top-members-heading {
  max-width: 720px;
  margin: 0 auto 40px;
  text-align: center;
}

.top-members-eyebrow {
  color: #b58a42;
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 2px;
}

.top-members-heading h2 {
  margin: 12px 0;
  color: #501c25;
  font-size: clamp(30px, 4vw, 44px);
  font-weight: 800;
}

.top-members-heading h2 span {
  color: #b58a42;
}

.top-members-heading p {
  color: #76686a;
  line-height: 1.8;
}

.top-members-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 25px;
}

.top-member-card {
  min-width: 0;
  overflow: hidden;
  border: 1px solid #eee1d5;
  border-radius: 20px;
  background: #fff;
  box-shadow: 0 8px 28px rgba(80, 28, 37, 0.07);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.top-member-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 16px 35px rgba(80, 28, 37, 0.14);
}

.top-member-photo-wrap {
  position: relative;
  height: 250px;
  overflow: hidden;
  background: #f4e8dc;
}

.top-member-photo {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 30%;
  transition: transform 0.4s ease;
}

.top-member-card:hover .top-member-photo {
  transform: scale(1.05);
}

.top-member-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  padding: 8px 12px;
  border-radius: 30px;
  background: #501c25;
  color: #fff;
  font-size: 11px;
  font-weight: 700;
}

.top-member-badge i {
  color: #f2cf7b;
  margin-right: 4px;
}

.top-member-info {
  padding: 22px 20px;
  text-align: center;
}

.top-member-info h3 {
  margin: 0 0 10px;
  color: #501c25;
  font-size: 22px;
  font-weight: 800;
}

.top-member-designation {
  margin-bottom: 15px;
  color: #b58a42;
  font-weight: 700;
}

.top-member-divider {
  margin-bottom: 15px;
  color: #b58a42;
}

.top-member-meta {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding-top: 15px;
  border-top: 1px solid #f0e8e0;
  text-align: left;
  color: #76686a;
  font-size: 13px;
}

.top-member-meta span {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  overflow-wrap: anywhere;
}

.top-member-meta i {
  width: 18px;
  flex-shrink: 0;
  color: #b58a42;
  text-align: center;
}

.top-member-button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
  padding: 13px;
  border-radius: 40px;
  background: #781b2b;
  color: #fff !important;
  text-decoration: none !important;
  font-weight: 700;
  transition: 0.3s ease;
}

.top-member-button:hover {
  background: #b58a42;
}

.top-members-footer {
  margin-top: 35px;
  text-align: center;
}

.top-members-view-all {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 14px 28px;
  border: 1px solid #781b2b;
  border-radius: 40px;
  color: #781b2b !important;
  text-decoration: none !important;
  font-weight: 700;
  transition: 0.3s ease;
}

.top-members-view-all:hover {
  background: #781b2b;
  color: #fff !important;
}

@media (max-width: 991px) {
  .top-members-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
  }
}

@media (max-width: 575px) {
  .top-members-section {
    padding: 50px 0;
  }

  .top-members-grid {
    grid-template-columns: 1fr;
  }

  .top-member-photo-wrap {
    height: 280px;
  }
}

.home-mandir-section {
  --hm-maroon: #581725;
  --hm-deep: #300b16;
  --hm-gold: #c59a4a;
  --hm-light-gold: #f2d69a;
  padding: 30px 0;
  overflow: hidden;
  background: linear-gradient(180deg, #fffaf4, #ffffff);
}

.hm-container {
  width: min(1160px, calc(100% - 36px));
  margin: auto;
}

.hm-heading {
  max-width: 700px;
  margin: 0 auto 38px;
  text-align: center;
}

.hm-eyebrow,
.hm-mini-label {
  color: var(--hm-gold);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.7px;
}

.hm-heading h2 {
  margin: 18px 0;
  color: var(--hm-maroon);
  font-size: clamp(28px, 4vw, 42px);
  font-weight: 850;
}

.hm-heading h2 span {
  color: var(--hm-gold);
}

.hm-heading p {
  margin: 0;
  color: #817278;
  font-size: 14px;
  line-height: 1.9;
}

.hm-main-card {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  overflow: hidden;
  border: 1px solid #efe1d2;
  border-radius: 17px;
  background: white;
  box-shadow: 0 15px 40px rgba(65, 19, 31, 0.06);
}

.hm-temple-art {
  position: relative;
  min-height: 330px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: radial-gradient(
      circle at 50% 42%,
      rgba(197, 154, 74, 0.35),
      transparent 38%
    ),
    linear-gradient(145deg, #651a2b, #290812);
}

.hm-temple-art:before,
.hm-temple-art:after {
  position: absolute;
  content: "";
  width: 260px;
  height: 260px;
  border: 1px solid rgba(242, 214, 154, 0.24);
  border-radius: 50%;
  animation: hmRotate 35s linear infinite;
}

.hm-temple-art:after {
  width: 200px;
  height: 200px;
  animation-direction: reverse;
}

.hm-art-overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(
    ellipse at center,
    transparent 10%,
    rgba(28, 5, 12, 0.45)
  );
}

.hm-art-content {
  position: relative;
  z-index: 1;
  padding: 30px;
  text-align: center;
  color: #fff1d4;
}

.hm-art-symbol {
  display: block;
  margin-bottom: 12px;
  color: var(--hm-light-gold);
  font-size: 48px;
  text-shadow: 0 0 30px #c59a4a77;
}

.hm-art-label {
  color: #e6c88e;
  font-size: 10px;
  letter-spacing: 2px;
}

.hm-art-content h3 {
  margin: 15px 0;
  color: #fff3da;
  font-size: 30px;
  font-weight: 850;
  line-height: 1.5;
}

.hm-art-divider {
  display: block;
  width: 55px;
  height: 2px;
  margin: 0 auto 13px;
  background: var(--hm-gold);
}

.hm-art-content p {
  margin: 0;
  color: #e9d3d0;
  font-size: 12px;
}

.hm-about {
  padding: 38px;
  align-self: center;
}

.hm-about h3 {
  margin: 12px 0;
  color: var(--hm-maroon);
  font-size: clamp(22px, 3vw, 29px);
  font-weight: 850;
  line-height: 1.5;
}

.hm-about > p,
.hm-donation-card > p {
  color: #81747a;
  font-size: 13px;
  line-height: 2;
}

.hm-features {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin: 22px 0;
}

.hm-features > div {
  display: flex;
  align-items: center;
  gap: 9px;
  color: #67444b;
  font-size: 12px;
  font-weight: 700;
}

.hm-features i {
  color: var(--hm-gold);
}

.hm-text-link,
.hm-panel-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--hm-maroon) !important;
  font-size: 12px;
  font-weight: 800;
}

.hm-text-link:hover,
.hm-panel-link:hover {
  color: var(--hm-gold) !important;
}

.hm-bottom-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  margin-top: 25px;
}

.hm-panel,
.hm-donation-card {
  min-width: 0;
  padding: 27px;
  border: 1px solid #eee1d2;
  border-radius: 14px;
  background: white;
  box-shadow: 0 8px 28px rgba(65, 19, 31, 0.04);
}

.hm-panel-heading {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  margin-bottom: 20px;
}

.hm-panel-heading h3 {
  margin: 8px 0 0;
  color: var(--hm-maroon);
  font-size: 20px;
  font-weight: 850;
}

.hm-panel-icon {
  flex-shrink: 0;
  width: 43px;
  height: 43px;
  display: grid;
  place-items: center;
  border-radius: 11px;
  background: #fbf0df;
  color: #a57931;
}

.hm-event {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 15px 0;
  border-bottom: 1px solid #f1e8df;
}

.hm-event-date {
  flex-shrink: 0;
  width: 58px;
  min-height: 58px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  border-radius: 9px;
  background: #fbf0df;
  color: var(--hm-maroon);
}

.hm-event-date strong {
  font-size: 23px;
  line-height: 1.2;
}

.hm-event-date span {
  margin-top: 3px;
  font-size: 9px;
  font-weight: 750;
}

.hm-event-info {
  flex: 1;
  min-width: 0;
}

.hm-event-info h4 {
  margin: 0 0 5px;
  color: var(--hm-maroon);
  font-size: 14px;
  font-weight: 800;
}

.hm-event-info p {
  margin: 0;
  color: #897b80;
  font-size: 11px;
  line-height: 1.7;
}

.hm-event-arrow {
  flex-shrink: 0;
  color: #c3a16b;
  font-size: 11px;
}

.hm-panel-link {
  margin-top: 19px;
}

.hm-donation-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #5a1726, #2f0a15);
  border-color: #6a2836;
}

.hm-donation-decoration {
  position: absolute;
  top: 10px;
  right: 14px;
  color: rgba(242, 214, 154, 0.09);
  font-size: 105px;
  transform: rotate(-12deg);
}

.hm-donation-card .hm-mini-label,
.hm-donation-card h3,
.hm-donation-card > p,
.hm-donation-options,
.hm-donate-btn,
.hm-donation-note {
  position: relative;
  z-index: 1;
}

.hm-donation-card h3 {
  margin: 13px 0;
  color: #fff0d1;
  font-size: 27px;
  font-weight: 850;
  line-height: 1.5;
}

.hm-donation-card > p {
  color: #e5cfd2;
}

.hm-donation-options {
  display: grid;
  gap: 12px;
  margin: 20px 0;
}

.hm-donation-options > div {
  display: flex;
  align-items: center;
  gap: 11px;
  color: #f1dfdf;
  font-size: 12px;
}

.hm-donation-options i {
  color: var(--hm-light-gold);
}

.hm-donate-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 15px;
  border-radius: 7px;
  background: var(--hm-gold);
  color: #34101a !important;
  font-size: 12px;
  font-weight: 850;
  transition: 0.3s ease;
}

.hm-donate-btn:hover {
  background: var(--hm-light-gold);
  transform: translateY(-2px);
}

.hm-donation-note {
  display: block;
  margin-top: 15px;
  color: #ddc2c5;
  font-size: 10px;
  line-height: 1.8;
}

.hm-donation-note i {
  margin-right: 5px;
  color: var(--hm-light-gold);
}

.hm-footer-cta {
  margin-top: 28px;
  padding: 25px;
  border: 1px solid #eee1d2;
  border-radius: 12px;
  text-align: center;
  background: #fffaf3;
}

.hm-footer-cta > span {
  color: var(--hm-gold);
  font-size: 11px;
  font-weight: 850;
  letter-spacing: 1.5px;
}

.hm-footer-cta p {
  margin: 10px 0 15px;
  color: var(--hm-maroon);
  font-size: 14px;
  font-weight: 750;
}

.hm-footer-cta a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--hm-maroon) !important;
  font-size: 12px;
  font-weight: 850;
}

.hm-reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.hm-reveal.hm-visible {
  opacity: 1;
  transform: translateY(0);
}

@keyframes hmRotate {
  to {
    transform: rotate(360deg);
  }
}

@media (max-width: 850px) {
  .home-mandir-section {
    padding: 25px 0;
  }

  .hm-main-card {
    grid-template-columns: 1fr;
  }

  .hm-temple-art {
    min-height: 280px;
  }

  .hm-about {
    padding: 28px;
  }

  .hm-bottom-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .hm-container {
    width: calc(100% - 28px);
  }

  .hm-heading {
    margin-bottom: 25px;
  }

  .hm-features {
    grid-template-columns: 1fr;
  }

  .hm-panel,
  .hm-donation-card {
    padding: 21px;
  }

  .hm-event {
    gap: 10px;
  }

  .hm-event-date {
    width: 51px;
    min-height: 54px;
  }

  .hm-event-info h4 {
    font-size: 13px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-mandir-section *,
  .home-mandir-section *::before {
    animation: none !important;
    transition: none !important;
  }

  .hm-reveal {
    opacity: 1;
    transform: none;
  }
}

/* Maa Kali Mandir Navbar Button */
.nav-cta-mandir {
  color: #3b1018 !important;
  background: linear-gradient(135deg, #f8e5b0, #e6c16e, #f8e5b0) !important;
  border: 1px solid #b58a42 !important;
  animation: mandirBlink 1.5s ease-in-out infinite !important;
  box-shadow: 0 0 8px rgba(218, 174, 83, 0.5);
}

/* Text color dark */
.nav-cta-mandir .mandir-nav-text {
  color: #3b1018 !important;
  font-weight: 800;
}

/* Icon color dark */
.nav-cta-mandir .mandir-om-icon {
  color: #3b1018 !important;
  border-color: rgba(59, 16, 24, 0.35) !important;
}

/* Sparkle color dark */
.nav-cta-mandir .mandir-sparkle {
  color: #3b1018 !important;
}

/* Blink + glow animation */
@keyframes mandirBlink {
  0%,
  100% {
    opacity: 1;
    box-shadow: 0 0 6px rgba(218, 174, 83, 0.45),
      0 0 12px rgba(218, 174, 83, 0.25);
    transform: scale(1);
  }

  50% {
    opacity: 0.78;
    box-shadow: 0 0 14px rgba(218, 174, 83, 0.9),
      0 0 24px rgba(218, 174, 83, 0.55);
    transform: scale(1.03);
  }
}

/* Hover par dark text hi rahe */
.nav-cta-mandir:hover {
  color: #3b1018 !important;
  background: linear-gradient(135deg, #ffe9a8, #d9ae53) !important;
  border-color: #8d6526 !important;
}

.nav-cta-mandir:hover .mandir-om-icon,
.nav-cta-mandir:hover .mandir-sparkle {
  color: #3b1018 !important;
}

/* Mobile responsive */
@media (max-width: 768px) {
  .nav-cta-mandir {
    animation-duration: 1.5s !important;
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .nav-cta-mandir {
    animation: none !important;
  }
}

/* ========================================
   FULL WIDTH GOOGLE MAP SECTION
======================================== */

.location-map-section {
  width: 100%;
  padding: 75px 0 0;
  background: #fbf8f3;
  overflow: hidden;
}

.location-map-heading {
  max-width: 1200px;
  margin: 0 auto 32px;
  padding: 0 24px;
  text-align: center;
}

.location-map-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #a77a35;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
}

.location-map-heading h2 {
  margin: 14px 0 10px;
  color: #501421;
  font-size: clamp(30px, 4vw, 46px);
  font-weight: 800;
  line-height: 1.2;
}

.location-map-heading h2 span {
  color: #b88a42;
}

.location-map-heading p {
  max-width: 650px;
  margin: 0 auto;
  color: #786c67;
  font-size: 15px;
  line-height: 1.8;
}

.location-map-frame {
  position: relative;
  width: 100%;
  height: 450px;
  background: #e9e1d7;
  border-top: 1px solid #eadbc8;
  border-bottom: 1px solid #eadbc8;
}

.location-map-frame iframe {
  display: block;
  width: 100%;
  height: 100%;
  border: 0;
  filter: saturate(0.85);
}

.location-map-card {
  position: absolute;
  left: max(30px, calc((100% - 1200px) / 2));
  bottom: 28px;
  display: flex;
  align-items: flex-start;
  gap: 15px;
  width: min(370px, calc(100% - 40px));
  padding: 22px;
  background: rgba(255, 255, 255, 0.97);
  border: 1px solid #eadcc9;
  border-radius: 14px;
  box-shadow: 0 15px 45px rgba(54, 22, 22, 0.16);
  z-index: 2;
}

.location-map-icon {
  display: grid;
  place-items: center;
  flex-shrink: 0;
  width: 48px;
  height: 48px;
  color: #fff0cb;
  background: linear-gradient(135deg, #651326, #951d32);
  border-radius: 12px;
  font-size: 21px;
}

.location-map-details h3 {
  margin: 0 0 5px;
  color: #501421;
  font-size: 19px;
  font-weight: 800;
}

.location-map-details p {
  margin: 0 0 13px;
  color: #766965;
  font-size: 13px;
  line-height: 1.6;
}

.location-map-details a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #8a172b;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  transition: color 0.25s ease;
}

.location-map-details a:hover {
  color: #b58a42;
}

@media (max-width: 768px) {
  .location-map-section {
    padding-top: 50px;
  }

  .location-map-heading {
    margin-bottom: 24px;
    padding: 0 18px;
  }

  .location-map-heading p {
    font-size: 14px;
  }

  .location-map-frame {
    height: 400px;
  }

  .location-map-card {
    left: 15px;
    bottom: 15px;
    width: calc(100% - 30px);
    padding: 15px;
    gap: 12px;
  }

  .location-map-icon {
    width: 42px;
    height: 42px;
    font-size: 18px;
  }

  .location-map-details h3 {
    font-size: 17px;
  }
}

@media (max-width: 420px) {
  .location-map-frame {
    height: 360px;
  }
}

/* ==========================================
   PREMIUM CINEMATIC IMAGE HERO SLIDER
========================================== */

.hero-premium {
  position: relative;
  min-height: 730px;
  height: min(820px, 88vh);
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  background: #29070e;
  color: #fff;
}

/* Image slider background */
.hero-slider {
  position: absolute;
  inset: 0;
  z-index: -3;
  overflow: hidden;
}

.hero-slide {
  position: absolute;
  inset: 0;
  opacity: 0;
  visibility: hidden;
  overflow: hidden;
  transition: opacity 1.3s cubic-bezier(0.22, 1, 0.36, 1), visibility 1.3s;
}

.hero-slide.active {
  opacity: 1;
  visibility: visible;
  z-index: 1;
}

.hero-slide img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.08);
  transition: transform 7s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform;
}

.hero-slide.active img {
  transform: scale(1);
}

.hero-slide:nth-child(even).active img {
  object-position: 58% center;
}

/* Deep maroon cinematic overlay */
.hero-overlay {
  position: absolute;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: linear-gradient(
      90deg,
      rgba(42, 5, 14, 0.97) 0%,
      rgba(64, 7, 20, 0.9) 28%,
      rgba(64, 7, 20, 0.64) 50%,
      rgba(36, 5, 12, 0.18) 100%
    ),
    linear-gradient(
      0deg,
      rgba(29, 3, 9, 0.65) 0%,
      transparent 35%,
      rgba(24, 3, 8, 0.15) 100%
    );
}

/* Soft golden light */
.hero-orb {
  position: absolute;
  z-index: -1;
  top: 8%;
  right: 8%;
  width: 320px;
  height: 320px;
  border-radius: 50%;
  background: rgba(206, 158, 75, 0.13);
  filter: blur(90px);
  pointer-events: none;
}

/* Subtle cinematic texture */
.hero-grain {
  position: absolute;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  opacity: 0.12;
  background-image: radial-gradient(
    rgba(255, 255, 255, 0.55) 0.5px,
    transparent 0.5px
  );
  background-size: 5px 5px;
}

/* Top label */
.hero-top-label {
  position: absolute;
  top: 38px;
  left: max(5%, calc((100% - 1240px) / 2));
  z-index: 3;
  display: flex;
  align-items: center;
  gap: 12px;
  color: #f3d59a;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2.5px;
}

.hero-label-line {
  width: 35px;
  height: 1px;
  background: #d5a84e;
}

.hero-label-dot {
  width: 4px;
  height: 4px;
  border-radius: 50%;
  background: #d5a84e;
}

/* Content */
.hero-premium .hero-content {
  position: relative;
  z-index: 2;
  padding-top: 50px;
  padding-bottom: 80px;
}

.hero-premium .light-eyebrow {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 23px;
  color: #edc879;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2.3px;
}

.hero-premium .light-eyebrow > span {
  display: inline-block;
  width: 27px;
  height: 2px;
  background: #d9ae5a;
}

.hero-premium .hero-title {
  max-width: 820px;
  margin: 0 0 24px;
  color: #fffaf0;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(42px, 5.5vw, 76px);
  font-weight: 600;
  line-height: 1.16;
  letter-spacing: -1.8px;
  text-shadow: 0 4px 30px rgba(0, 0, 0, 0.18);
}

.hero-premium .hero-title em {
  color: #e7bd6b;
  font-weight: 500;
  font-style: italic;
}

.hero-premium .hero-lead {
  max-width: 580px;
  margin: 0 0 32px;
  color: rgba(255, 250, 240, 0.86);
  font-size: 15px;
  line-height: 1.95;
}

.hero-premium .hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  align-items: center;
}

.hero-premium .btn {
  min-height: 51px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 11px;
  padding: 14px 23px;
  border-radius: 7px;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  transition: transform 0.3s ease, background 0.3s ease, box-shadow 0.3s ease;
}

.hero-premium .btn:hover {
  transform: translateY(-3px);
}

.hero-premium .btn-gold {
  color: #351018;
  background: linear-gradient(135deg, #f1d18b, #c9973e);
  box-shadow: 0 8px 24px rgba(194, 143, 53, 0.2);
}

.hero-premium .btn-gold:hover {
  background: linear-gradient(135deg, #ffe5aa, #d5a34d);
  box-shadow: 0 12px 30px rgba(194, 143, 53, 0.3);
}

.hero-premium .btn-glass {
  color: #fffaf0;
  background: rgba(255, 255, 255, 0.07);
  border: 1px solid rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(12px);
}

.hero-premium .btn-glass:hover {
  background: rgba(255, 255, 255, 0.15);
}

.hero-premium .hero-foot {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 17px;
  margin-top: 35px;
  color: rgba(255, 250, 240, 0.8);
  font-size: 11px;
  letter-spacing: 0.3px;
}

.hero-premium .hero-foot span {
  display: inline-flex;
  align-items: center;
  gap: 9px;
}

.hero-premium .hero-foot i {
  color: #e7bd6b;
}

.hero-foot-line {
  width: 35px;
  height: 1px;
  background: rgba(231, 189, 107, 0.65);
}

/* Content entrance animation */
.hero-animate {
  opacity: 0;
  transform: translateY(22px);
  animation: heroContentIn 0.85s cubic-bezier(0.2, 0.7, 0.25, 1) forwards;
}

.hero-premium .eyebrow.hero-animate {
  animation-delay: 0.15s;
}

.hero-premium .hero-title.hero-animate {
  animation-delay: 0.3s;
}

.hero-premium .hero-lead.hero-animate {
  animation-delay: 0.45s;
}

.hero-premium .hero-actions.hero-animate {
  animation-delay: 0.6s;
}

.hero-premium .hero-foot.hero-animate {
  animation-delay: 0.75s;
}

@keyframes heroContentIn {
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Slider controls */
.hero-slider-controls {
  position: absolute;
  z-index: 4;
  right: max(5%, calc((100% - 1240px) / 2));
  bottom: 45px;
  display: flex;
  align-items: center;
  gap: 17px;
}

.hero-arrow {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 43px;
  height: 43px;
  border: 1px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  background: rgba(45, 5, 14, 0.28);
  color: #fff8e9;
  cursor: pointer;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.hero-arrow:hover {
  color: #351018;
  background: #e7bd6b;
  border-color: #e7bd6b;
  transform: scale(1.06);
}

.hero-pagination {
  display: flex;
  align-items: center;
  gap: 7px;
}

.hero-dot {
  width: 7px;
  height: 7px;
  padding: 0;
  border: 0;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.5);
  cursor: pointer;
  transition: width 0.4s ease, background 0.4s ease;
}

.hero-dot.active {
  width: 29px;
  background: #e7bd6b;
}

.hero-slide-counter {
  display: flex;
  align-items: center;
  gap: 8px;
  color: #fff8e9;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 1px;
}

.hero-counter-divider {
  width: 23px;
  height: 1px;
  background: rgba(255, 255, 255, 0.55);
}

/* Scroll cue */
.hero-premium .scroll-cue {
  position: absolute;
  z-index: 3;
  bottom: 45px;
  left: max(5%, calc((100% - 1240px) / 2));
  display: flex;
  align-items: center;
  gap: 12px;
  color: rgba(255, 250, 240, 0.78);
  text-decoration: none;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 2px;
}

.hero-premium .scroll-cue > span {
  position: relative;
  display: block;
  width: 21px;
  height: 32px;
  border: 1px solid rgba(255, 255, 255, 0.55);
  border-radius: 14px;
}

.hero-premium .scroll-cue > span::after {
  content: "";
  position: absolute;
  top: 6px;
  left: 8px;
  width: 3px;
  height: 6px;
  border-radius: 4px;
  background: #e7bd6b;
  animation: heroScroll 1.6s ease-in-out infinite;
}

@keyframes heroScroll {
  0% {
    transform: translateY(0);
    opacity: 1;
  }
  75% {
    transform: translateY(10px);
    opacity: 0.2;
  }
  100% {
    transform: translateY(0);
    opacity: 0;
  }
}

/* Vertical side label */
.hero-side-label {
  position: absolute;
  z-index: 3;
  right: 23px;
  top: 50%;
  color: rgba(255, 255, 255, 0.65);
  font-size: 9px;
  letter-spacing: 3px;
  writing-mode: vertical-rl;
  transform: translateY(-50%);
}

/* Tablet */
@media (max-width: 992px) {
  .hero-premium {
    min-height: 680px;
    height: 82vh;
  }

  .hero-premium .hero-title {
    max-width: 680px;
    font-size: clamp(42px, 6.5vw, 62px);
  }

  .hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(42, 5, 14, 0.94) 0%,
        rgba(64, 7, 20, 0.77) 60%,
        rgba(36, 5, 12, 0.35) 100%
      ),
      linear-gradient(0deg, rgba(29, 3, 9, 0.55), transparent 60%);
  }

  .hero-side-label {
    display: none;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hero-premium {
    min-height: 720px;
    height: auto;
    align-items: center;
  }

  .hero-premium .hero-content {
    padding-top: 115px;
    padding-bottom: 145px;
  }

  .hero-top-label {
    top: 30px;
    left: 22px;
    gap: 8px;
    font-size: 8px;
    letter-spacing: 1.5px;
  }

  .hero-label-line {
    width: 20px;
  }

  .hero-premium .light-eyebrow {
    font-size: 9px;
    letter-spacing: 1.5px;
    margin-bottom: 20px;
  }

  .hero-premium .hero-title {
    font-size: clamp(37px, 10vw, 49px);
    line-height: 1.2;
    letter-spacing: -1px;
    margin-bottom: 21px;
  }

  .hero-premium .hero-lead {
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 25px;
  }

  .hero-premium .hero-actions {
    align-items: stretch;
    flex-direction: column;
    gap: 11px;
  }

  .hero-premium .btn {
    width: 100%;
    box-sizing: border-box;
  }

  .hero-premium .hero-foot {
    gap: 12px;
    margin-top: 25px;
    font-size: 10px;
  }

  .hero-premium .hero-foot-line {
    display: none;
  }

  .hero-slider-controls {
    right: 22px;
    bottom: 35px;
    gap: 11px;
  }

  .hero-arrow {
    width: 37px;
    height: 37px;
  }

  .hero-premium .scroll-cue {
    left: 22px;
    bottom: 40px;
    font-size: 8px;
    letter-spacing: 1px;
  }

  .hero-pagination {
    gap: 5px;
  }

  .hero-dot {
    width: 6px;
    height: 6px;
  }

  .hero-dot.active {
    width: 20px;
  }

  .hero-slide-counter {
    display: none;
  }

  .hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(42, 5, 14, 0.88),
        rgba(42, 5, 14, 0.62)
      ),
      linear-gradient(0deg, rgba(29, 3, 9, 0.68), transparent 75%);
  }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
  .hero-slide,
  .hero-slide img,
  .hero-animate,
  .hero-dot,
  .hero-arrow {
    animation: none !important;
    transition: none !important;
  }

  .hero-animate {
    opacity: 1;
    transform: none;
  }

  .hero-premium .scroll-cue > span::after {
    animation: none;
  }
}

/* ==========================================
   HERO SLIDER - LAYOUT REFINEMENT
========================================== */

.hero-premium {
  height: min(760px, calc(100svh - 100px));
  min-height: 620px;
  background: #e9e3d8;
}

/* Keep the bright image natural */
.hero-premium .hero-slide img {
  object-fit: cover;
  object-position: center center;
}

/* Improve readability without a maroon overlay */
.hero-premium .hero-overlay {
  background: linear-gradient(
      90deg,
      rgba(24, 27, 28, 0.77) 0%,
      rgba(24, 27, 28, 0.62) 34%,
      rgba(24, 27, 28, 0.27) 58%,
      rgba(24, 27, 28, 0.04) 100%
    ),
    linear-gradient(0deg, rgba(20, 22, 22, 0.3) 0%, transparent 35%);
}

/* Better content width and alignment */
.hero-premium .hero-content {
  max-width: 1240px;
  box-sizing: border-box;
  padding-top: 35px;
  padding-bottom: 75px;
}

/* Balanced heading */
.hero-premium .hero-title {
  max-width: 950px;
  font-size: clamp(44px, 4.7vw, 66px);
  line-height: 1.16;
  letter-spacing: -1.2px;
  margin-bottom: 22px;
  text-wrap: balance;
}

/* Keep second heading line together on desktop */
@media (min-width: 1100px) {
  .hero-premium .hero-title em {
    white-space: nowrap;
  }
}

/* Lead text */
.hero-premium .hero-lead {
  max-width: 540px;
  font-size: 15px;
  line-height: 1.85;
  color: rgba(255, 255, 255, 0.94);
  text-shadow: 0 1px 8px rgba(0, 0, 0, 0.18);
}

/* More balanced buttons */
.hero-premium .hero-actions {
  gap: 12px;
  margin-top: 27px;
}

.hero-premium .btn {
  min-height: 49px;
  padding: 13px 20px;
}

/* Refined lower information row */
.hero-premium .hero-foot {
  margin-top: 28px;
  gap: 14px;
  font-size: 11px;
}

/* Slider controls */
.hero-premium .hero-slider-controls {
  bottom: 32px;
  right: max(5%, calc((100% - 1240px) / 2));
  padding: 9px 12px;
  border: 1px solid rgba(255, 255, 255, 0.28);
  border-radius: 40px;
  background: rgba(25, 27, 27, 0.3);
  backdrop-filter: blur(12px);
}

/* Scroll indicator */
.hero-premium .scroll-cue {
  bottom: 42px;
}

/* Tablet */
@media (max-width: 1099px) {
  .hero-premium {
    min-height: 650px;
    height: 78vh;
  }

  .hero-premium .hero-title {
    max-width: 760px;
    font-size: clamp(43px, 5.5vw, 59px);
  }

  .hero-premium .hero-title em {
    white-space: normal;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .hero-premium {
    height: auto;
    min-height: 690px;
  }

  .hero-premium .hero-content {
    padding-top: 115px;
    padding-bottom: 145px;
  }

  .hero-premium .hero-title {
    max-width: 100%;
    font-size: clamp(36px, 9vw, 47px);
    line-height: 1.2;
    letter-spacing: -0.7px;
  }

  .hero-premium .hero-title em {
    white-space: normal;
  }

  .hero-premium .hero-lead {
    max-width: 100%;
    font-size: 13px;
    line-height: 1.8;
  }

  .hero-premium .hero-overlay {
    background: linear-gradient(
        90deg,
        rgba(24, 27, 28, 0.75),
        rgba(24, 27, 28, 0.48)
      ),
      linear-gradient(0deg, rgba(20, 22, 22, 0.38), transparent 65%);
  }

  .hero-premium .hero-slider-controls {
    right: 16px;
    bottom: 25px;
    padding: 6px 8px;
    gap: 9px;
  }

  .hero-premium .scroll-cue {
    left: 16px;
    bottom: 32px;
  }
}

/* ==========================================
   PREMIUM WHITE HEADER
========================================== */

.navbar {
  background: rgba(255, 255, 255, 0.97) !important;
  color: #38151b;
  border-bottom: 1px solid #eee5d8;
  box-shadow: 0 4px 24px rgba(40, 20, 15, 0.06);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  transition: background 0.3s ease, box-shadow 0.3s ease;
}

/* Header on scroll */
.navbar.scrolled {
  background: rgba(255, 255, 255, 0.99) !important;
  box-shadow: 0 6px 25px rgba(40, 20, 15, 0.1);
}

/* Brand text */
.navbar .brand-copy {
  color: #382027;
}

.navbar .brand-copy b {
  color: #b88935;
}

/* Navigation links */
.navbar .nav-links > a:not(.nav-cta) {
  color: #45343a;
  transition: color 0.25s ease;
}

.navbar .nav-links > a:not(.nav-cta):hover,
.navbar .nav-links > a:not(.nav-cta).active {
  color: #a47727;
}

/* Active link underline */
.navbar .nav-links > a:not(.nav-cta)::after {
  background: #c59a48;
}

/* Mobile menu button */
.navbar .menu-toggle {
  color: #641326;
  background: #fffaf0;
  border: 1px solid #eadbc0;
}

/* Language selector */
.navbar .google-translate-wrapper {
  background: #fffaf0;
  border-color: #ead8b5;
}

/* Keep gold call-to-action buttons */
.navbar .nav-cta {
  color: #fff;
}

/* White header logo icon */
.navbar .brand-mark {
  box-shadow: 0 4px 12px rgba(184, 137, 53, 0.18);
}

/* Mobile sidebar */
@media (max-width: 768px) {
  .navbar .nav-links {
    background: #fffdf9;
    color: #382027;
    box-shadow: -10px 0 40px rgba(30, 10, 10, 0.12);
  }

  .navbar .mobile-nav-header {
    background: #fffdf9;
    border-bottom: 1px solid #eee5d8;
  }

  .navbar .mobile-nav-label {
    color: #a47727;
  }

  .navbar .nav-close {
    color: #641326;
    background: #fff5e5;
  }

  .navbar .mobile-nav-footer {
    color: #7c6870;
    border-top: 1px solid #eee5d8;
  }
}
.public-page {
  background: #fffdfa;
  color: #39272a;
}

.public-page .container {
  max-width: 1180px;
  margin: auto;
  padding-left: 20px;
  padding-right: 20px;
}

.public-hero {
  position: relative;
  overflow: hidden;
  padding: 125px 0 72px;
  background: linear-gradient(110deg, #4d101c 0%, #791b27 58%, #a33b2d 100%);
  color: #fff;
}

.public-hero:after {
  content: "";
  position: absolute;
  width: 360px;
  height: 360px;
  right: -110px;
  bottom: -260px;
  border: 1px solid rgba(230, 185, 105, 0.3);
  border-radius: 50%;
  box-shadow: 0 0 0 30px rgba(230, 185, 105, 0.045),
    0 0 0 60px rgba(230, 185, 105, 0.035);
}

.public-hero .eyebrow {
  display: inline-block;
  color: #f0c36e;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.public-hero h1 {
  position: relative;
  z-index: 1;
  margin: 14px 0 12px;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(38px, 5vw, 58px);
  line-height: 1.12;
  font-weight: 600;
}

.public-hero h1 em {
  color: #f0bd58;
  font-weight: 500;
}

.public-hero p {
  position: relative;
  z-index: 1;
  max-width: 650px;
  margin: 0;
  color: rgba(255, 255, 255, 0.85);
  font-size: 16px;
  line-height: 1.8;
}

.public-section {
  padding: 70px 0;
}

.public-section.soft {
  background: linear-gradient(120deg, #fff9f1, #f9eee5);
}

.public-heading {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}

.public-heading .eyebrow {
  color: #b47d36;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 2px;
}

.public-heading h2 {
  margin: 10px 0;
  color: #4c2026;
  font-family: "Playfair Display", Georgia, serif;
  font-size: clamp(29px, 3.5vw, 42px);
  font-weight: 600;
}

.public-heading p {
  margin: 0;
  color: #887579;
  font-size: 15px;
  line-height: 1.8;
}

.public-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.public-card {
  overflow: hidden;
  background: #fff;
  border: 1px solid #eee3d9;
  border-radius: 13px;
  box-shadow: 0 12px 32px rgba(67, 30, 26, 0.055);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.public-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px rgba(67, 30, 26, 0.11);
}

.public-card-image {
  position: relative;
  aspect-ratio: 16/10;
  overflow: hidden;
  background: #f2e8df;
}

.public-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s ease;
}

.public-card:hover .public-card-image img {
  transform: scale(1.055);
}

.public-card-body {
  padding: 22px;
}

.public-card-tag {
  display: inline-block;
  margin-bottom: 9px;
  color: #a77735;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.public-card h3 {
  margin: 0 0 9px;
  color: #55232b;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 23px;
  line-height: 1.3;
}

.public-card p {
  margin: 0;
  color: #827276;
  font-size: 14px;
  line-height: 1.8;
}

.public-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  margin-top: 15px;
  color: #9b8585;
  font-size: 12px;
}

.public-meta i {
  margin-right: 5px;
  color: #b7833e;
}

.public-cta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  padding: 34px 38px;
  border: 1px solid #ead9c5;
  border-radius: 14px;
  background: #fff;
}

.public-cta h3 {
  margin: 0 0 7px;
  color: #57232b;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 27px;
}

.public-cta p {
  margin: 0;
  color: #887579;
  font-size: 14px;
  line-height: 1.7;
}

.public-cta a {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 20px;
  border-radius: 7px;
  background: #6b1420;
  color: #fff;
  text-decoration: none;
  font-size: 13px;
  font-weight: 700;
  white-space: nowrap;
  transition: 0.25s;
}

.public-cta a:hover {
  background: #a47727;
  color: #fff;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  aspect-ratio: 4/3;
  border-radius: 12px;
  background: #eee;
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.6s;
}

.gallery-item:hover img {
  transform: scale(1.07);
}

.gallery-caption {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 36px 18px 17px;
  background: linear-gradient(transparent, rgba(35, 13, 17, 0.78));
  color: #fff;
}

.gallery-caption strong {
  display: block;
  font-size: 16px;
}

.gallery-caption span {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.82);
}

.program-list {
  display: grid;
  gap: 16px;
  max-width: 900px;
  margin: auto;
}

.program-row {
  display: grid;
  grid-template-columns: 90px 1fr;
  gap: 22px;
  padding: 23px;
  background: #fff;
  border: 1px solid #eee3d9;
  border-radius: 12px;
}

.program-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 15px;
  background: #fff4df;
  color: #9a672a;
  font-size: 26px;
}

.program-row h3 {
  margin: 0 0 7px;
  color: #55232b;
  font-family: "Playfair Display", Georgia, serif;
  font-size: 22px;
}

.program-row p {
  margin: 0;
  color: #827276;
  font-size: 14px;
  line-height: 1.8;
}

.program-row .public-meta {
  margin-top: 10px;
}

@media (max-width: 850px) {
  .public-grid,
  .gallery-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .public-hero {
    padding: 62px 0;
  }

  .public-section {
    padding: 55px 0;
  }
}

@media (max-width: 600px) {
  .public-page .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .public-grid,
  .gallery-grid {
    grid-template-columns: 1fr;
    gap: 17px;
  }

  .public-hero {
    padding: 52px 0;
  }

  .public-hero h1 {
    font-size: 39px;
  }

  .public-section {
    padding: 43px 0;
  }

  .public-cta {
    align-items: flex-start;
    flex-direction: column;
    padding: 25px 21px;
  }

  .program-row {
    grid-template-columns: 58px 1fr;
    gap: 13px;
    padding: 17px;
  }

  .program-icon {
    width: 52px;
    height: 52px;
    font-size: 20px;
  }

  .program-row h3 {
    font-size: 20px;
  }
}
.program-detail-link,
.project-detail-link {
  display: block;
  color: inherit;
  text-decoration: none;
}

.program-detail-link:hover,
.project-detail-link:hover {
  color: inherit;
}

.program-detail-link .program-row,
.project-detail-link .public-card {
  cursor: pointer;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.program-detail-link:hover .program-row,
.project-detail-link:hover .public-card {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(80, 30, 30, 0.1);
}

/* ==========================================================
   CONSOLIDATED HEADER, RESPONSIVE SIDEBAR & DROPDOWN
   Single source of truth for desktop and mobile navigation.
========================================================== */
.site-topbar {
  position: relative;
  z-index: 1200;
  width: 100%;
  background: #711a27;
  border-bottom: 1px solid #eee2d5;
  color: #fff;
}
.site-topbar-inner {
  width: min(1400px, calc(100% - 40px));
  min-height: 45px;
  margin: auto;
  padding: 6px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 15px;
}
.site-topbar-contact,
.site-topbar-actions {
  display: flex;
  align-items: center;
  gap: 18px;
  min-width: 0;
}
.site-topbar-contact a {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  white-space: nowrap;
}
.site-topbar-contact a i {
  color: #fff;
}
.topbar-login-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 9px 14px;
  border-radius: 7px;
  background: linear-gradient(110deg, #f5d88f, #dc9c32);
  color: #57232b;
  font-size: 12px;
  font-weight: 800;
  text-decoration: none;
  white-space: nowrap;
}
.nav-donation-link {
  position: relative;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  gap: 9px;
  padding: 12px 17px !important;
  margin-left: 5px;
  border: 1px solid #d9a443 !important;
  border-radius: 9px !important;
  background: linear-gradient(115deg, #fff0c4, #f5ce78, #e9ac42) !important;
  color: #681d27 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  box-shadow: 0 5px 16px rgba(190, 135, 43, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.nav-donation-link i {
  font-size: 17px;
  color: #861c29;
}
.nav-donation-link span {
  white-space: nowrap;
}
.donation-nav-badge {
  display: inline-block;
  padding: 3px 7px;
  border-radius: 20px;
  background: #711a27;
  color: #fff3d2;
  font-size: 9px;
  font-weight: 800;
  white-space: nowrap;
}
.nav-dropdown {
  position: relative;
  display: flex;
  align-items: center;
  min-width: 0;
}
.nav-dropdown-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 10px;
  border: 0;
  background: transparent;
  color: inherit;
  font: inherit;
  font-weight: 600;
  cursor: pointer;
  touch-action: manipulation;
}
.dropdown-arrow {
  font-size: 10px;
  transition: transform 0.25s ease;
}
.nav-submenu {
  position: absolute;
  top: 100%;
  left: 0;
  min-width: 210px;
  padding: 8px;
  background: #fffdfa;
  border: 1px solid #eee0ce;
  border-radius: 10px;
  box-shadow: 0 14px 35px rgba(50, 20, 20, 0.13);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(8px);
  transition: opacity 0.2s ease, transform 0.2s ease, visibility 0.2s ease;
  z-index: 1400;
}
.nav-submenu a {
  display: block;
  padding: 10px 13px;
  border-radius: 6px;
  color: #56363b;
  font-size: 14px;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.nav-submenu a:hover,
.nav-submenu a.active {
  color: #a47727;
  background: #fff3df;
}
@media (min-width: 801px) {
  .nav-dropdown:hover > .nav-submenu,
  .nav-dropdown:focus-within > .nav-submenu,
  .nav-dropdown.open > .nav-submenu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateY(0);
  }
  .nav-dropdown:hover > .nav-dropdown-toggle .dropdown-arrow,
  .nav-dropdown.open > .nav-dropdown-toggle .dropdown-arrow {
    transform: rotate(180deg);
  }
  .mobile-nav-header,
  .mobile-nav-label,
  .mobile-nav-footer,
  .nav-close,
  .nav-overlay {
    display: none !important;
  }
}
@media (max-width: 800px) {
  body.menu-open {
    overflow: hidden;
    touch-action: none;
  }
  .site-topbar-inner {
    width: calc(100% - 24px);
    padding: 8px 0;
    align-items: center;
    gap: 8px;
  }
  .site-topbar-contact {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }
  .site-topbar-contact a {
    font-size: 10px;
  }
  .site-topbar-actions {
    flex-direction: column;
    align-items: flex-end;
    gap: 6px;
  }
  .topbar-login-btn {
    padding: 7px 9px;
    font-size: 10px;
  }
  .navbar {
    position: sticky !important;
    top: 0 !important;
    z-index: 2000 !important;
    isolation: isolate;
    min-height: 72px;
    padding: 10px 18px;
    gap: 12px;
  }
  .navbar .brand {
    position: relative;
    z-index: 1;
    min-width: 0;
  }
  .navbar .brand-copy {
    font-size: 18px;
  }
  .navbar .menu-toggle {
    position: relative;
    z-index: 2003;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 46px;
    height: 46px;
    min-width: 46px;
    margin: 0;
    padding: 0;
    border: 1px solid #eadbc0;
    border-radius: 11px;
    background: #fffaf0;
    color: #641326;
    font-size: 20px;
    cursor: pointer;
    touch-action: manipulation;
  }
  .navbar .menu-toggle i {
    pointer-events: none;
  }
  .nav-overlay {
    display: block;
    position: fixed;
    inset: 0;
    z-index: 2001;
    background: rgba(25, 10, 12, 0.58);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: opacity 0.28s ease, visibility 0.28s ease;
  }
  .nav-overlay.active {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
  }
  .navbar .nav-links {
    position: fixed !important;
    top: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    left: auto !important;
    width: min(360px, 88vw) !important;
    height: 100vh !important;
    height: 100dvh !important;
    max-height: 100dvh !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 5px !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    overscroll-behavior: contain;
    padding: 20px 18px max(24px, env(safe-area-inset-bottom)) !important;
    margin: 0 !important;
    background: #fffdfa !important;
    color: #382027 !important;
    box-shadow: -15px 0 45px rgba(30, 10, 10, 0.18);
    transform: translateX(105%);
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.32s cubic-bezier(0.22, 0.75, 0.25, 1),
      visibility 0.32s ease;
    z-index: 2002 !important;
  }
  .navbar .nav-links.active {
    transform: translateX(0);
    visibility: visible;
    pointer-events: auto;
  }
  .mobile-nav-header {
    display: flex !important;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    padding: 0 0 16px;
    margin: 0 0 8px;
    border-bottom: 1px solid #eee0ce;
  }
  .mobile-nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
  }
  .mobile-nav-brand .brand-mark {
    width: 40px;
    height: 40px;
    flex-shrink: 0;
  }
  .mobile-nav-brand .brand-copy {
    font-size: 17px;
  }
  .mobile-nav-brand .brand-copy small {
    font-size: 7px;
  }
  .nav-close {
    display: none !important;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    flex: 0 0 42px;
    border: 1px solid #eadcc9;
    border-radius: 9px;
    background: #fff5e5;
    color: #641326;
    font-size: 19px;
    cursor: pointer;
  }
  .mobile-nav-label {
    display: block;
    margin: 8px 0 8px 4px;
    color: #a47727;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
  }
  .navbar .nav-links > a:not(.nav-cta):not(.nav-donation-link) {
    display: flex;
    align-items: center;
    gap: 12px;
    width: 100%;
    min-height: 48px;
    padding: 12px 10px;
    border: 1px solid transparent;
    border-radius: 9px;
    color: #503a3e;
    font-size: 15px;
    text-decoration: none;
    box-sizing: border-box;
  }
  .navbar .nav-links > a:not(.nav-cta):not(.nav-donation-link):after {
    display: none !important;
  }
  .navbar .nav-links > a.active {
    background: #fff2dc;
    color: #a47727;
  }
  .nav-dropdown {
    display: block !important;
    width: 100%;
    flex: 0 0 auto;
  }
  .nav-dropdown-toggle {
    display: flex !important;
    justify-content: space-between !important;
    width: 100%;
    min-height: 48px;
    padding: 12px 10px !important;
    border-radius: 9px;
    color: #503a3e !important;
    text-align: left;
    font-size: 15px !important;
  }
  .nav-dropdown.open > .nav-dropdown-toggle {
    background: #fff2dc;
    color: #8c6428 !important;
  }
  .nav-submenu {
    display: none !important;
    position: static !important;
    width: 100% !important;
    min-width: 0 !important;
    padding: 5px 0 5px 14px !important;
    margin: 0 0 6px !important;
    border: 0 !important;
    border-left: 2px solid #e6bd71 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    pointer-events: auto !important;
    transform: none !important;
  }
  .nav-dropdown.open > .nav-submenu {
    display: block !important;
  }
  .nav-submenu a {
    display: block !important;
    padding: 11px 14px !important;
    color: #65474b !important;
    font-size: 14px !important;
  }
  .nav-submenu a.active {
    background: #fff2dc !important;
    color: #a47727 !important;
  }
  .nav-dropdown.open > .nav-dropdown-toggle .dropdown-arrow {
    transform: rotate(180deg);
  }
  .nav-cta-mandir,
  .navbar .nav-links > a.nav-donation-link {
    width: 100% !important;
    box-sizing: border-box;
    margin: 10px 0 4px !important;
    justify-content: flex-start !important;
  }
  .navbar .nav-links > a.nav-donation-link {
    display: flex !important;
    flex-wrap: wrap;
    min-height: 58px;
    padding: 13px 14px !important;
    border-radius: 11px !important;
    font-size: 14px !important;
    gap: 9px !important;
  }
  .donation-nav-badge {
    margin-left: auto;
  }
  .mobile-nav-footer {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    margin-top: auto;
    padding: 22px 0 4px;
    border-top: 1px solid #eee5d8;
    color: #7c6870;
    font-size: 12px;
  }
  .mobile-nav-footer i {
    color: #a47727;
  }
}
@media (max-width: 380px) {
  .navbar {
    padding-inline: 12px;
  }
  .navbar .brand-copy {
    font-size: 16px;
  }
  .site-topbar-inner {
    width: calc(100% - 16px);
  }
  .site-topbar-contact a {
    font-size: 9px;
  }
  .topbar-login-btn {
    padding: 6px 7px;
    font-size: 9px;
  }
}
@media (prefers-reduced-motion: reduce) {
  .navbar .nav-links,
  .nav-overlay,
  .nav-submenu,
  .dropdown-arrow {
    transition: none !important;
  }
}
