/* =====================================================================
   बाबा सर्वेश्वर नाथ मंदिर सह माहामाया स्थान — Temple Theme
   Custom redesign — sits on top of bootstrap / legacy template files
   ===================================================================== */

@import url("https://fonts.googleapis.com/css2?family=Yatra+One&family=Mukta:wght@400;500;600;700;800&family=Tiro+Devanagari+Hindi&display=swap");

:root {
  --maroon-dark: #4a0d16;
  --maroon: #7a1224;
  --maroon-light: #9c1b30;
  --gold: #d4af37;
  --gold-light: #f3d878;
  --gold-deep: #a9791f;
  --saffron: #ff7a30;
  --cream: #fff8ec;
  --cream-2: #fdf3df;
  --ink: #2b1810;
  --ink-soft: #5c4433;
  --shadow-warm: 0 10px 30px rgba(122, 18, 36, 0.18);
  --radius: 18px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: "Mukta", "Noto Sans Devanagari", sans-serif;
  color: var(--ink);
  background: var(--cream);
  overflow-x: hidden;
}

h1,
h2,
h3,
h4,
.small_tag,
.brand-devanagari {
  font-family: "Tiro Devanagari Hindi", "Yatra One", serif;
}

a {
  transition: all 0.25s ease;
}

/* ---------- decorative background ---------- */
body {
  background-image:
    radial-gradient(circle at 10% 8%, rgba(212, 175, 55, 0.1), transparent 45%),
    radial-gradient(
      circle at 92% 18%,
      rgba(122, 18, 36, 0.08),
      transparent 40%
    ),
    radial-gradient(circle at 50% 95%, rgba(212, 175, 55, 0.1), transparent 40%);
}

/* ---------- Om watermark divider ---------- */
.om-divider {
  text-align: center;
  margin: 6px 0 30px;
  position: relative;
}
.om-divider span {
  display: inline-block;
  font-size: 26px;
  color: var(--gold-deep);
  background: var(--cream);
  padding: 0 18px;
  position: relative;
  z-index: 2;
}
.om-divider::before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 50%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  z-index: 1;
}

/* ================= HEADER / NAV ================= */
.top-header {
  background: linear-gradient(
    180deg,
    var(--maroon-dark),
    var(--maroon) 60%,
    var(--maroon-light)
  );
  box-shadow: var(--shadow-warm);
  border-bottom: 3px solid var(--gold);
  position: sticky;
  top: 0;
  z-index: 999;
  padding: 0;
}
.top-header .navbar {
  padding: 8px 0;
}
.top-header .navbar-brand img {
  max-height: 64px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.35));
  background: var(--cream);
  padding: 4px 10px;
  border-radius: 10px;
  border: 2px solid var(--gold);
}
.top-header .navbar-nav {
  gap: 2px;
}
.top-header .nav-link {
  color: #ffb294 !important;
  font-weight: 600;
  font-size: 15px;
  padding: 10px 14px !important;
  border-radius: 8px;
  position: relative;
}
.top-header .nav-link:hover,
.top-header .nav-link.current {
  color: #fff !important;
  background: rgba(212, 175, 55, 0.18);
}
.top-header .nav-link.active {
  background: linear-gradient(135deg, var(--saffron), #ff2d55) !important;
  color: #fff !important;
  box-shadow: 0 4px 12px rgba(255, 45, 85, 0.4);
}
.navbar-toggler span {
  background: var(--gold) !important;
}
.search-box {
  display: none;
}

/* ================= HERO SLIDER =================
   NOTE: hero banner CSS now lives inline in index.html's <style> block
   right next to the markup, so it can never get lost/duplicated when
   this shared stylesheet is edited. Only shared slide-text styling
   stays here. */
.slide_text h4 span.theme_color {
  background: none !important;
  color: #fff !important;
  display: inline-block;
  font-family: "Tiro Devanagari Hindi", serif;
  font-size: 2.1rem !important;
  line-height: 1.5;
  padding: 18px 26px !important;
  border-radius: 16px;
  background: rgba(20, 4, 8, 0.35) !important;
  border: 1px solid rgba(212, 175, 55, 0.6);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35);
}
.slide_text {
  text-align: center;
}
.contact_bt {
  display: inline-block;
  margin-top: 26px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold-deep));
  color: var(--maroon-dark) !important;
  font-weight: 800;
  border-radius: 40px;
  text-decoration: none;
  box-shadow: 0 10px 25px rgba(212, 175, 55, 0.45);
  letter-spacing: 0.3px;
}
.contact_bt:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(212, 175, 55, 0.6);
  color: var(--maroon-dark) !important;
}

/* ================= DEITY STRIP (replaces <marquee>) ================= */
.deity-marquee {
  overflow: hidden;
  width: 100%;
  padding: 20px 0;
}
.deity-track {
  display: flex;
  gap: 16px;
  width: max-content;
  animation: deity-scroll 20s linear infinite;
}
.deity-marquee:hover .deity-track {
  animation-play-state: paused;
}
.deity-track img {
  height: 220px;
  width: auto;
  border-radius: 12px;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-warm);
  flex: 0 0 auto;
}
@keyframes deity-scroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}
@media (max-width: 767px) {
  .deity-track img {
    height: 150px;
  }
}

/* ================= SECTION HEADINGS ================= */
.heading_main {
  display: flex;
  gap: 18px;
  align-items: flex-start;
  padding-bottom: 6px;
}
.heading_main .left .section_count {
  font-family: "Yatra One", serif;
  font-size: 52px;
  color: transparent;
  -webkit-text-stroke: 1.5px var(--gold);
  margin: 0;
  line-height: 1;
}
.heading_main .small_tag {
  display: inline-block;
  color: var(--maroon);
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  padding: 4px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 13px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
}
.heading_main h2 {
  font-size: 2rem;
  color: var(--maroon-dark);
  margin: 4px 0 8px;
}
.heading_main h2 .theme_color {
  color: var(--saffron) !important;
  background: none !important;
}
.heading_main .large {
  color: var(--ink-soft);
  font-size: 1.05rem;
}

/* ================= GENERIC SECTIONS ================= */
.section.layout_padding {
  padding: 70px 0;
}
.section.dark_bg {
  padding: 0;
}
.dark_bg .white_fonts {
  background: linear-gradient(
    135deg,
    var(--maroon),
    var(--maroon-dark)
  ) !important;
  padding: 55px 45px !important;
}
.dark_bg .white_fonts h3.small_heading {
  color: var(--gold-light) !important;
  font-size: 1.7rem;
  margin-bottom: 18px;
  position: relative;
  padding-bottom: 14px;
}
.dark_bg .white_fonts h3.small_heading::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 70px;
  height: 3px;
  background: var(--gold);
}
.dark_bg .white_fonts p {
  color: #f4e6cf !important;
  line-height: 1.9;
  font-size: 1.21rem;
  text-align: justify;
}
.dark_bg img.img-responsive {
  border-radius: 0;
  box-shadow: none;
}

/* facebook/youtube round buttons row */
center > a.fa {
  border-radius: 50% !important;
  width: 64px !important;
  height: 64px !important;
  padding: 0 !important;
  line-height: 64px !important;
  font-size: 24px !important;
  margin: 6px !important;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.2);
}
center > a.fa:hover {
  transform: translateY(-4px) scale(1.06);
}

/* ================= SERVICE CARDS ================= */
.service_blog {
  background: #fff;
  border-radius: var(--radius);
  padding: 34px 26px;
  text-align: center;
  height: 100%;
  box-shadow: var(--shadow-warm);
  border: 1px solid rgba(212, 175, 55, 0.35);
  transition: 0.3s ease;
  position: relative;
  overflow: hidden;
  margin-bottom: 26px;
}
.service_blog::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 5px;
  background: linear-gradient(
    90deg,
    var(--gold),
    var(--saffron),
    var(--maroon)
  );
}
.service_blog:hover {
  transform: translateY(-10px);
  box-shadow: 0 22px 40px rgba(122, 18, 36, 0.25);
  border-color: var(--gold);
}
.service_icons {
  width: 96px;
  height: 96px;
  margin: 0 auto 18px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  box-shadow: 0 8px 20px rgba(212, 175, 55, 0.4);
}
.service_icons img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.15);
}
.service_blog h4 {
  color: var(--maroon-dark);
  font-size: 1.15rem;
  margin-bottom: 12px;
  font-weight: 700;
}
.service_blog p {
  color: var(--ink-soft);
  font-size: 0.94rem;
  line-height: 1.7;
}

/* ================= GALLERY CAROUSEL ================= */
#demo.carousel img.img-responsive {
  border-radius: 14px;
  box-shadow: var(--shadow-warm);
  border: 3px solid #fff;
  outline: 2px solid var(--gold);
  margin-bottom: 10px;
  height: 220px;
  object-fit: cover;
  width: 100%;
}
.carousel-control-prev,
.carousel-control-next {
  background: var(--maroon);
  width: 46px;
  height: 46px;
  border-radius: 50%;
  top: 45%;
  opacity: 0.9;
}
.button-theme {
  display: inline-block;
  /* padding: 12px 34px; */
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  color: #fff !important;
  border-radius: 30px;
  font-weight: 700;
  text-decoration: none;
  box-shadow: var(--shadow-warm);
}
.button-theme:hover {
  background: linear-gradient(135deg, var(--saffron), var(--maroon));
  transform: translateY(-3px);
}

/* ================= TEAM SECTION (NEW) ================= */
.team_card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  box-shadow: var(--shadow-warm);
  border: 1px solid rgba(212, 175, 55, 0.35);
  margin-bottom: 28px;
  transition: 0.3s ease;
  padding-bottom: 22px;
}
.team_card:hover {
  transform: translateY(-8px);
  box-shadow: 0 22px 40px rgba(122, 18, 36, 0.25);
}
.team_card .team_photo_wrap {
  background: linear-gradient(160deg, var(--maroon), var(--maroon-dark));
  padding: 30px 0 46px;
  position: relative;
}
.team_avatar {
  width: 118px;
  height: 118px;
  border-radius: 50%;
  margin: 0 auto;
  background: radial-gradient(
    circle at 32% 28%,
    var(--gold-light),
    var(--gold-deep)
  );
  display: flex;
  align-items: center;
  justify-content: center;
  border: 4px solid #fff;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}
.team_avatar svg {
  width: 64px;
  height: 64px;
  fill: var(--maroon-dark);
}
.team_card h3 {
  color: var(--maroon-dark);
  font-size: 1.15rem;
  margin: -24px 0 4px;
  position: relative;
  background: #fff;
  width: 82%;
  margin-left: 9%;
  border-radius: 30px;
  padding: 6px 10px;
  box-shadow: 0 6px 14px rgba(0, 0, 0, 0.12);
}
.team_card .team_role {
  color: var(--saffron);
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.4px;
  display: block;
  margin-bottom: 10px;
}
.team_card .team_note {
  color: var(--ink-soft);
  font-size: 0.82rem;
  padding: 0 16px;
  font-style: italic;
}

/* ================= COUNTERS ================= */
.counter_section {
  text-align: center;
}
.counter h2.timer {
  font-size: 2.6rem;
  color: var(--maroon-dark);
  font-weight: 800;
}
.counter .count-text {
  color: var(--gold-deep);
  font-weight: 700;
  letter-spacing: 1px;
}

/* ================= FOOTER ================= */
.footer-box {
  background: linear-gradient(
    180deg,
    var(--maroon),
    var(--maroon-dark)
  ) !important;
  padding: 60px 0 20px;
  position: relative;
}
.footer-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 6px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0 20px,
    var(--saffron) 20px 40px
  );
}
.footer-box h3 {
  color: var(--gold-light) !important;
  font-size: 1.25rem;
  margin-bottom: 16px;
}
.footer-box .icon img {
  width: 34px;
  margin-bottom: 8px;
  filter: brightness(0) invert(1) opacity(0.85);
}
.footer-box p,
.footer-box .white_fonts {
  color: #f0dfc4 !important;
  line-height: 1.8;
}
.footer_menu ul {
  list-style: none;
  padding: 0;
}
.footer_menu ul li {
  margin-bottom: 8px;
}
.footer_menu ul li a {
  color: #f0dfc4 !important;
  text-decoration: none;
}
.footer_menu ul li a:hover {
  color: var(--gold-light) !important;
  padding-left: 4px;
}
.social_icon a.fa {
  border-radius: 50%;
  width: 44px !important;
  height: 44px !important;
  line-height: 44px !important;
  font-size: 18px !important;
  padding: 0 !important;
}
.newsletter_form input {
  border-radius: 30px 0 0 30px !important;
  border: none;
  padding: 12px 18px;
}
.newsletter_form button {
  border-radius: 0 30px 30px 0 !important;
  background: var(--gold) !important;
  color: var(--maroon-dark) !important;
  border: none;
  font-weight: 700;
  padding: 12px 22px;
}
.footer_bottom {
  background: var(--maroon-dark);
  padding: 14px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.3);
}
.footer_bottom .crp {
  color: #e8cfa0;
  font-size: 0.85rem;
  margin: 0;
}
.footer_bottom .bottom_menu {
  display: flex;
  gap: 16px;
  list-style: none;
  float: right;
  margin: 0;
}
.footer_bottom .bottom_menu a {
  color: #e8cfa0;
  text-decoration: none;
  font-size: 0.85rem;
}

#scroll-to-top {
  background: linear-gradient(135deg, var(--gold), var(--saffron)) !important;
  color: var(--maroon-dark) !important;
  box-shadow: 0 10px 22px rgba(0, 0, 0, 0.3);
}

/* ================= INNER PAGE HEADER (dakshina/donate) ================= */
.inner_page_header {
  background: linear-gradient(
    135deg,
    var(--maroon-dark),
    var(--maroon) 55%,
    var(--maroon-light)
  );
  padding: 70px 0 55px;
  text-align: center;
  position: relative;
  border-bottom: 4px solid var(--gold);
}
.inner_page_header::after {
  content: "卐 ॐ 卐";
  display: block;
  color: rgba(212, 175, 55, 0.35);
  font-size: 14px;
  letter-spacing: 6px;
  margin-top: 10px;
}
.inner_page_header h3 {
  color: #fff;
  font-size: 2.1rem;
  margin: 0;
  text-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* ================= FEE TABLE (dakshina) ================= */
.fee-wrap {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-warm);
  border: 2px solid var(--gold);
  padding: 36px 34px;
  position: relative;
}
.fee-list {
  list-style: none;
  padding: 0;
  margin: 0;
  counter-reset: fee;
}
.fee-list li {
  counter-increment: fee;
  display: flex;
  gap: 14px;
  padding: 14px 6px;
  border-bottom: 1px dashed rgba(122, 18, 36, 0.2);
  align-items: baseline;
}
.fee-list li:last-child {
  border-bottom: none;
}
.fee-list li::before {
  content: counter(fee) ".";
  color: var(--gold-deep);
  font-weight: 800;
  min-width: 28px;
}
.fee-list li .fee-name {
  flex: 1;
  color: var(--ink);
}
.fee-list li .fee-price {
  color: #fff;
  background: linear-gradient(135deg, var(--maroon), var(--maroon-dark));
  padding: 4px 14px;
  border-radius: 20px;
  font-weight: 700;
  white-space: nowrap;
}
.fee-note-box {
  margin-top: 30px;
  background: var(--cream-2);
  border-left: 5px solid var(--saffron);
  border-radius: 10px;
  padding: 22px 26px;
}
.fee-note-box h4 {
  color: var(--maroon-dark);
  margin-bottom: 12px;
}
.fee-note-box ol {
  padding-left: 20px;
  color: var(--ink-soft);
  line-height: 1.8;
}

/* ================= DONATE PAGE ================= */
.donate-card {
  background: #fff;
  border-radius: var(--radius);
  box-shadow: var(--shadow-warm);
  border: 2px solid var(--gold);
  padding: 34px;
  height: 100%;
}
.donate-card h4 {
  color: var(--maroon-dark);
  margin-bottom: 18px;
  display: flex;
  align-items: center;
  gap: 10px;
}
.bank-table {
  width: 100%;
  border-collapse: collapse;
}
.bank-table td {
  padding: 10px 8px;
  border-bottom: 1px solid rgba(122, 18, 36, 0.12);
  color: var(--ink);
}
.bank-table td:first-child {
  font-weight: 700;
  color: var(--maroon);
  width: 42%;
}
.qr-wrap {
  text-align: center;
}
.qr-wrap img {
  max-width: 230px;
  border-radius: 14px;
  border: 3px solid var(--gold);
  box-shadow: var(--shadow-warm);
  margin: 14px 0;
}
.facility-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 10px;
}
.facility-pills span {
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  color: var(--maroon-dark);
  padding: 7px 16px;
  border-radius: 20px;
  font-weight: 700;
  font-size: 0.85rem;
}

/* ================= RESPONSIVE ================= */
@media (max-width: 991px) {
  .heading_main {
    flex-direction: column;
  }
  .slide_text h4 span.theme_color {
    font-size: 1.3rem !important;
    padding: 12px 16px !important;
  }
  .dark_bg .white_fonts {
    padding: 36px 22px !important;
  }
  .footer_bottom .bottom_menu {
    float: none;
    margin-top: 8px;
  }
}
