@import url('https://fonts.googleapis.com/css2?family=Anek+Malayalam:wght@700;800&family=Gayathri:wght@700&family=Manjari:wght@700&family=Noto+Serif+Malayalam:wght@400;600;700;900&display=swap');

/* ── RIT Malayalam Display Fonts (Rachana Institute of Typography) ── */
@font-face {
  font-family: 'RIT Karuna';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/RIT-Karuna-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'RIT Rachana';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/RIT-Rachana-Bold.woff2') format('woff2');
}

@font-face {
  font-family: 'RIT Chingam';
  font-style: normal;
  font-weight: 400;
  font-display: swap;
  src: url('fonts/RITChingam.woff2') format('woff2');
}

@font-face {
  font-family: 'RIT Keraleeyam';
  font-style: normal;
  font-weight: 700;
  font-display: swap;
  src: url('fonts/RIT-Keraleeyam-Bold.woff2') format('woff2');
}

/* ==========================================================================
   SREE MUNEESWARAN KOVIL, KANNUR — OFFICIAL STYLESHEET
   Theme: Royal Maroon (#4a0808 - #7a1818), Antique Gold (#C9A227 / #FFD055),
          Warm Temple Cream (#F7E9C8 / #F5E7C4)
   ========================================================================== */

:root {
  --maroon-dark: #2a0404;
  --maroon-deep: #4a0808;
  --maroon-mid: #631010;
  --maroon-bright: #7a1818;
  --gold: #C9A227;
  --gold-primary: #C9A227;
  --gold-bright: #FFD055;
  --gold-light: #FFE599;
  --gold-dark: #9A7010;
  --cream-bg: #F8E8CD;
  --parchment-bg: #FBDA9B;
  --parchment-soft: #FDF4E5;
  --cream-soft: #FDF4E5;
  --cream-card: rgba(255, 252, 245, 0.88);
  --text-dark: #2B1B10;
  --text-muted: #5C4533;
}

/* ── Base Reset & Typography ── */
*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  overflow-x: clip;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  background-color: #FBDA9B;
  background-image: url('images/temple/web_background.png');
  background-repeat: no-repeat;
  background-position: center top;
  background-size: cover;
  background-attachment: fixed;
  color: var(--text-dark);
  overflow-x: clip;
  -webkit-font-smoothing: antialiased;
}

.text-gold {
  color: var(--gold-bright) !important;
}

/* ==========================================================================
   TOP BAR
   ========================================================================== */
.top-bar {
  background: linear-gradient(to right, #080102 0%, #1a0305 10%, #320709 22%, #4e0c0d 36%, #4e0c0d 64%, #320709 78%, #1a0305 90%, #080102 100%);
  padding: 7px 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  position: relative;
  z-index: 1040;
}

.top-bar-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 0.84rem;
  letter-spacing: 0.03em;
  display: inline-flex;
  align-items: center;
  transition: color 0.2s ease;
}

.top-bar-link i {
  color: var(--gold-bright);
}

.top-bar-link:hover {
  color: var(--gold-light);
}

.top-bar-divider {
  color: rgba(255, 255, 255, 0.4);
  font-size: 0.85rem;
}

.top-bar-socials {
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.top-bar-social-link {
  color: var(--gold-bright);
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
}

.top-bar-social-link:hover {
  color: #ffffff;
  transform: translateY(-1px) scale(1.15);
}

@media (max-width: 767px) {
  .top-bar {
    padding: 6px 0 5px;
  }

  .top-bar .d-flex {
    display: flex !important;
    flex-wrap: wrap !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 4px 16px !important;
    text-align: center;
  }

  .top-bar-divider {
    display: none !important;
  }

  .top-bar-link[href^="tel"] {
    order: 1;
    font-size: 0.82rem;
  }

  .top-bar-socials {
    order: 2;
    display: inline-flex !important;
    align-items: center;
    gap: 12px;
  }

  .top-bar-link[href^="mailto"] {
    order: 3;
    width: 100%;
    display: flex !important;
    justify-content: center;
    align-items: center;
    font-size: 0.77rem;
    margin-top: 2px;
    letter-spacing: 0.01em;
  }
}

@media (max-width: 480px) {
  .top-bar {
    padding: 5px 0 4px;
  }

  .top-bar .d-flex {
    gap: 3px 14px !important;
  }

  .top-bar-link[href^="tel"] {
    font-size: 0.78rem;
  }

  .top-bar-socials {
    gap: 10px;
  }

  .top-bar-social-link {
    font-size: 0.88rem;
  }

  .top-bar-link[href^="mailto"] {
    font-size: 0.74rem;
  }
}

/* ==========================================================================
   MAIN NAVBAR
   ========================================================================== */
.main-navbar {
  background: linear-gradient(to right, #080102 0%, #1a0305 10%, #320709 22%, #4e0c0d 36%, #4e0c0d 64%, #320709 78%, #1a0305 90%, #080102 100%);
  padding: 6px 0 7px 0;
  border-bottom: 2px solid var(--gold-dark);
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.55);
  transition: padding 0.3s ease, box-shadow 0.3s ease;
}

.main-navbar.scrolled {
  padding: 4px 0 5px 0;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.65);
}

.navbar-brand {
  padding-top: 2px;
  padding-bottom: 2px;
  margin-right: 1.5rem;
  display: inline-flex;
  align-items: center;
}

.navbar-logo {
  height: 76px;
  max-height: 84px;
  width: auto;
  object-fit: contain;
  display: block;
  transition: height 0.3s ease;
}

.main-navbar.scrolled .navbar-logo {
  height: 58px;
}

/* Nav links */
.nav-pill {
  color: #ffffff !important;
  font-size: 1.02rem;
  font-weight: 600;
  padding: 6px 16px !important;
  border-radius: 6px;
  white-space: nowrap;
  transition: all 0.2s ease;
}

.nav-pill:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--gold-bright) !important;
}

.nav-pill.active {
  background: #C9921A !important;
  color: #ffffff !important;
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.navbar-toggler {
  border: 1px solid rgba(255, 208, 85, 0.4);
  padding: 4px 8px;
}

.navbar-toggler:focus {
  box-shadow: none;
}

@media (max-width: 1199px) {
  .navbar-logo {
    height: 70px;
  }

  .main-navbar.scrolled .navbar-logo {
    height: 54px;
  }

  .nav-pill {
    font-size: 0.96rem;
    padding: 5px 12px !important;
  }
}

@media (max-width: 991px) {
  .navbar-brand {
    margin-right: 0.75rem;
    max-width: calc(100% - 70px);
    flex-shrink: 1;
    min-width: 0;
  }

  .navbar-logo {
    height: 56px;
    max-height: 56px;
    max-width: 100%;
    width: auto;
    object-fit: contain;
  }

  .main-navbar.scrolled .navbar-logo {
    height: 46px;
    max-height: 46px;
  }

  .navbar-toggler {
    flex-shrink: 0;
    margin-left: auto;
  }

  .nav-pill {
    font-size: 0.88rem !important;
    padding: 6px 14px !important;
    font-weight: 600;
  }

  #mainNav {
    background: #4a0808;
    padding: 12px 14px;
    border-radius: 10px;
    margin-top: 10px;
    border: 1px solid rgba(201, 162, 39, 0.3);
  }
}

@media (max-width: 575px) {
  .navbar-brand {
    margin-right: 0.5rem;
    max-width: calc(100% - 58px);
  }

  .navbar-logo {
    height: 44px;
    max-height: 44px;
    max-width: 100%;
  }

  .main-navbar.scrolled .navbar-logo {
    height: 38px;
    max-height: 38px;
  }

  .navbar-toggler {
    padding: 3px 6px;
  }

  .navbar-toggler .bi-list {
    font-size: 1.55rem !important;
  }

  .nav-pill {
    font-size: 0.82rem !important;
    padding: 5px 12px !important;
  }

  #mainNav {
    padding: 10px 12px;
  }
}

@media (max-width: 380px) {
  .navbar-brand {
    max-width: calc(100% - 52px);
  }

  .navbar-logo {
    height: 36px;
    max-height: 36px;
  }

  .main-navbar.scrolled .navbar-logo {
    height: 32px;
    max-height: 32px;
  }

  .navbar-toggler {
    padding: 2px 4px;
  }

  .navbar-toggler .bi-list {
    font-size: 1.35rem !important;
  }
}

/* ==========================================================================
   HERO CAROUSEL
   ========================================================================== */
#heroCarousel {
  position: relative;
  background: #0d0202;
  overflow: hidden;
}

.hero-slide {
  height: 90vh;
  min-height: 620px;
  max-height: 850px;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  position: relative;
  display: flex;
  align-items: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to right,
      rgba(20, 3, 3, 0.86) 0%,
      rgba(20, 3, 3, 0.68) 45%,
      rgba(20, 3, 3, 0.20) 75%,
      transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 5;
  padding: clamp(40px, 6vh, 65px) clamp(20px, 3vw, 40px) clamp(45px, 6vh, 65px) clamp(50px, 7.5vw, 105px);
  margin-bottom: 30px;
  /* Lifts content up to provide clear breathing room above the bottom wave */
  animation: fadeSlideUp 0.8s ease both;
}

@keyframes fadeSlideUp {
  from {
    opacity: 0;
    transform: translateY(26px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.hero-title-ml {
  color: #ffffff;
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: clamp(2.2rem, 4.4vw, 3.2rem);
  font-weight: 700;
  margin-bottom: 0;
  line-height: 0.7;
  text-shadow: 0 3px 8px rgba(0, 0, 0, 0.95), 0 1px 3px rgba(0, 0, 0, 0.95);
}

.hero-title-big {
  display: block;
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: clamp(3.6rem, 8.2vw, 5.6rem);
  font-weight: 900;
  line-height: 1.15;
  padding-top: 6px;
  /* padding-bottom: 4px; */
  margin-top: -4px;
  margin-bottom: 0;
  white-space: nowrap;
  background: linear-gradient(180deg, #FFFDE8 0%, #FEE387 14%, #F6C04E 36%, #E8A328 62%, #C27612 84%, #8D4702 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 2px 0 #5E3203) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.95)) drop-shadow(0 8px 18px rgba(0, 0, 0, 0.75));
}

/* Wrapper auto-sizes to exactly the width of "കോവിൽ" text */
.hero-title-block {
  display: table;
  max-width: 100%;
  /* margin-bottom: 14px; */
}

.hero-divider {
  display: block;
  margin: 4px 0 10px 0;
  width: 100%;
}

.hero-divider-img {
  width: 85%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.9)) drop-shadow(0 0 10px rgba(230, 170, 30, 0.65));
}

.hero-subtitle {
  color: #ffffff;
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: clamp(1.1rem, 2.1vw, 1.30rem);
  font-weight: 600;
  line-height: 1.55;
  text-shadow: 0 2px 6px rgba(0, 0, 0, 0.95), 0 0 12px rgba(0, 0, 0, 0.85);
  margin-bottom: 0;
}

.hero-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(26, 3, 3, 0.75);
  border: 1.5px solid #F5C553;
  color: #FEE489;
  padding: 10px 28px;
  border-radius: 30px;
  font-size: 0.98rem;
  font-weight: 600;
  text-decoration: none;
  backdrop-filter: blur(4px);
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.55);
  margin-top: 18px !important;
}

.hero-btn:hover {
  background: linear-gradient(135deg, #C9921A 0%, #E6AF2E 100%);
  color: #3D0404;
  border-color: #FFE6A3;
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(201, 146, 26, 0.4);
}

/* ── Carousel Indicators (3 dots) ── */
.carousel-indicators {
  position: absolute;
  z-index: 20 !important;
  bottom: 54px !important;
  /* lowered to rest cleanly above the lowered wave */
  margin-bottom: 0;
  gap: 8px;
}

.carousel-indicators [data-bs-target] {
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  border: 1px solid rgba(0, 0, 0, 0.3);
  opacity: 0.85;
  transition: all 0.3s ease;
  margin: 0;
}

.carousel-indicators .active {
  background: #EAA816 !important;
  /* warm yellow amber like reference */
  transform: scale(1.15);
  opacity: 1;
  box-shadow: 0 0 10px rgba(234, 168, 22, 0.85);
}

@media (max-width: 767px) {
  .hero-slide {
    height: 75vh;
    min-height: 480px;
    background-position: 82% center !important;
  }

  .hero-overlay {
    background: linear-gradient(to right,
        rgba(15, 2, 2, 0.88) 0%,
        rgba(15, 2, 2, 0.70) 50%,
        rgba(15, 2, 2, 0.18) 82%,
        transparent 100%);
  }

  .hero-content {
    padding: 28px 16px 36px 16px;
    margin-bottom: 20px;
  }

  .hero-title-ml {
    font-size: clamp(1.5rem, 5.6vw, 2.4rem);
    line-height: 1.15;
  }

  .hero-title-big {
    font-size: clamp(2.4rem, 10.8vw, 4.0rem);
    line-height: 1.1;
    margin-top: 0;
  }

  .hero-divider-img {
    width: 90%;
    max-width: 240px;
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 3.8vw, 1.18rem);
    line-height: 1.55;
  }

  .carousel-indicators {
    bottom: 42px !important;
  }
}

@media (max-width: 480px) {
  .hero-slide {
    height: 72vh;
    min-height: 440px;
    background-position: 82% center !important;
  }

  .hero-content {
    padding: 20px 12px 28px 12px;
    margin-bottom: 15px;
  }

  .hero-title-ml {
    font-size: clamp(1.3rem, 5.8vw, 1.7rem);
    line-height: 1.2;
  }

  .hero-title-big {
    font-size: clamp(2.05rem, 11vw, 2.7rem);
    line-height: 1.12;
    margin-top: 2px;
  }

  .hero-divider-img {
    max-width: 200px;
  }

  .hero-subtitle {
    font-size: 0.90rem;
    line-height: 1.5;
  }

  .hero-btn {
    padding: 8px 20px;
    font-size: 0.88rem;
    margin-top: 14px !important;
  }
}

@media (max-width: 360px) {
  .hero-title-big {
    font-size: clamp(1.85rem, 10.5vw, 2.3rem);
  }
}

/* ==========================================================================
   FLOATING CURVE & LIVING GOLDEN STREAK ANIMATION
   ========================================================================== */
.hero-wave-wrap {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  z-index: 10;
  line-height: 0;
  pointer-events: none;
  overflow: visible;
}

.hero-wave-svg {
  display: block;
  width: 100%;
  height: 85px;
  /* lowered from 135px so carousel image is completely visible */
}

@media (max-width: 767px) {
  .hero-wave-svg {
    height: 55px;
  }
}

/* ── Main Wave (Filled with web_background.png pattern) ── */
.wave-main {
  fill: url(#webBgPattern);
  filter: drop-shadow(0 -4px 10px rgba(0, 0, 0, 0.16));
}

/* ── Subtle static gold guides ── */
.wave-gold-base-1 {
  stroke: rgba(212, 165, 40, 0.65);
  stroke-width: 1.6;
}

.wave-gold-base-2 {
  stroke: rgba(212, 165, 40, 0.45);
  stroke-width: 1.2;
}

/* ── Flowing liquid gold shimmer ── */
.hero-wave-svg path[stroke*="flowingGold"] {
  filter: drop-shadow(0 0 6px rgba(255, 220, 100, 0.85));
}

/* ==========================================================================
   FLOATING FEATURE SECTION (CONTAINER 1 & 2)
   ========================================================================== */
.floating-section {
  background: transparent;
  padding: 45px 0 40px;
  position: relative;
  z-index: 5;
}

/* ── Left: Floating Temple Image Card (Compact, Reference-Matched Frame) ── */
.float-img-card {
  position: relative;
  width: 100%;
  max-width: 260px;
  background: transparent;
  border: none;
  border-radius: 12px;
  transition: transform 0.3s ease;
}

.float-img-card:hover {
  transform: translateY(-3px);
}

.float-temple-img {
  width: 100%;
  max-width: 260px;
  height: auto;
  aspect-ratio: 324 / 298;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 6px 18px rgba(74, 8, 8, 0.12));
  transition: transform 0.35s ease, filter 0.35s ease;
}

.float-img-card:hover .float-temple-img {
  transform: scale(1.03);
  filter: drop-shadow(0 10px 24px rgba(74, 8, 8, 0.18));
}

@media (max-width: 991px) {
  .float-img-card {
    max-width: 230px;
    margin: 0 auto 24px auto;
  }
}

/* ── Center: About Column ── */
.float-about-col {
  padding: 6px 24px 10px 16px;
}

.float-title-group {
  display: inline-flex;
  flex-direction: column;
  align-items: flex-start;
  margin-bottom: 16px;
}

.float-heading {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: clamp(1.6rem, 2.4vw, 2.1rem);
  font-weight: 800;
  color: var(--maroon-deep);
  margin-bottom: 4px;
  line-height: 1.22;
  white-space: nowrap;
}

@media (max-width: 575px) {
  .float-heading {
    white-space: normal;
    font-size: clamp(1.35rem, 5.5vw, 1.8rem);
  }

  .float-about-col {
    padding: 6px 4px 10px 4px;
  }
}

/* Title Underline Ornamental Divider (divider1.png - Compact Length & Subtle Opacity) */
.float-divider-wrap {
  width: 210px;
  max-width: 72%;
  margin: 0;
  line-height: 1;
}

.float-divider-img {
  width: 100%;
  height: auto;
  display: block;
  opacity: 0.65;
  filter: drop-shadow(0 1px 2px rgba(201, 162, 39, 0.25));
  transition: opacity 0.3s ease;
}

.float-text {
  font-size: 0.90rem;
  color: var(--text-dark);
  line-height: 1.80;
  margin-bottom: 0.90rem;
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
  word-break: break-word;
}

@media (max-width: 575px) {
  .float-text {
    font-size: 0.84rem;
    line-height: 1.72;
    text-align: justify;
  }
}

.float-btn {
  display: inline-flex;
  align-items: center;
  background: var(--maroon-deep);
  border: 1.5px solid var(--gold);
  color: #ffffff;
  padding: 9px 24px;
  border-radius: 30px;
  font-size: 0.92rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(74, 8, 8, 0.25);
}

.float-btn i {
  color: var(--gold-bright);
  transition: transform 0.2s ease;
}

.float-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  border-color: var(--gold-bright);
}

.float-btn:hover i {
  color: var(--maroon-dark);
  transform: translateX(3px);
}

/* ── Right: Vazhipadukal Card & Grid ── */
.float-vazhi-card {
  background: linear-gradient(145deg, rgba(248, 225, 178, 0.88) 0%, rgba(242, 210, 155, 0.84) 100%);
  border: 1.5px solid rgba(201, 162, 39, 0.6);
  border-radius: 18px;
  padding: 22px 18px;
  box-shadow: 0 8px 26px rgba(120, 70, 10, 0.10);
  backdrop-filter: blur(3px);
}

.vazhi-header {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
}

.vazhi-title {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--maroon-deep);
  margin: 0;
  text-align: center;
}

.vazhi-deco {
  color: var(--gold);
  font-size: 0.95rem;
}

/* ── Table Grid with Live Moving Golden Lines ── */
.vazhipadu-table-wrap {
  position: relative;
  background: rgba(252, 236, 202, 0.85);
  border: 1.2px solid rgba(201, 162, 39, 0.45);
  border-radius: 14px;
  padding: 10px 6px;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.6);
}

.vazhipadu-table-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  position: relative;
  z-index: 2;
}

.vazhipadu-cell {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 16px 6px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.vazhipadu-cell:hover {
  background: rgba(255, 255, 255, 0.65);
  border-radius: 8px;
  transform: translateY(-2px);
}

.vazhipadu-icon-img {
  width: 52px;
  height: 52px;
  object-fit: contain;
  margin-bottom: 8px;
  transition: transform 0.3s ease;
  filter: drop-shadow(0 2px 4px rgba(74, 8, 8, 0.1));
}

.vazhipadu-cell:hover .vazhipadu-icon-img {
  transform: scale(1.12);
}

@media (max-width: 767px) {
  .float-vazhi-card {
    padding: 18px 12px;
  }

  .vazhipadu-table-wrap {
    padding: 6px 4px;
  }

  .vazhipadu-table-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .live-gold-line-h,
  .live-gold-line-v {
    display: none !important;
  }

  .vazhipadu-cell {
    padding: 13px 6px;
    border-bottom: 1px solid rgba(201, 162, 39, 0.35);
  }

  .vazhipadu-cell:nth-child(odd) {
    border-right: 1px solid rgba(201, 162, 39, 0.35);
  }

  .vazhipadu-cell:nth-last-child(-n+2) {
    border-bottom: none;
  }

  .vazhipadu-icon-img {
    width: 44px;
    height: 44px;
    margin-bottom: 6px;
  }

  .vazhipadu-cell-label {
    font-size: 0.78rem;
    line-height: 1.35;
  }
}

@media (max-width: 350px) {
  .vazhipadu-table-grid {
    grid-template-columns: 1fr;
  }

  .vazhipadu-cell {
    border-right: none !important;
    border-bottom: 1px solid rgba(201, 162, 39, 0.35);
    flex-direction: row;
    justify-content: flex-start;
    gap: 12px;
    padding: 10px 14px;
  }

  .vazhipadu-cell:last-child {
    border-bottom: none;
  }

  .vazhipadu-icon-img {
    width: 36px;
    height: 36px;
    margin-bottom: 0;
  }

  .vazhipadu-cell-label {
    font-size: 0.78rem;
    text-align: left;
  }
}

.vazhipadu-cell-label {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 0.88rem;
  font-weight: 700;
  color: var(--maroon-deep);
  text-align: center;
  line-height: 1.3;
}

/* ── LIVE SMOOTH MOVING GOLDEN LINES (Horizontal & Vertical - Reference Matched) ── */
.live-gold-line-h {
  position: absolute;
  top: 50%;
  left: 2%;
  width: 96%;
  height: 1.5px;
  z-index: 1;
  pointer-events: none;
  background: rgba(201, 162, 39, 0.42);
  overflow: hidden;
  border-radius: 1px;
}

.live-gold-line-h::after {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 60%;
  height: 100%;
  background: linear-gradient(90deg,
      transparent 0%,
      rgba(255, 208, 85, 0.45) 20%,
      #FFD055 50%,
      #FFFDE6 65%,
      #FFD055 80%,
      transparent 100%);
  box-shadow: 0 0 10px rgba(255, 208, 85, 0.95), 0 0 4px #FFFFFF;
  animation: liveBeamSweepH 4.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.live-gold-line-v {
  position: absolute;
  top: 3%;
  height: 94%;
  width: 1.5px;
  z-index: 1;
  pointer-events: none;
  background: rgba(201, 162, 39, 0.42);
  overflow: hidden;
  border-radius: 1px;
}

.live-gold-line-v::after {
  content: '';
  position: absolute;
  top: -60%;
  left: 0;
  width: 100%;
  height: 60%;
  background: linear-gradient(180deg,
      transparent 0%,
      rgba(255, 208, 85, 0.45) 20%,
      #FFD055 50%,
      #FFFDE6 65%,
      #FFD055 80%,
      transparent 100%);
  box-shadow: 0 0 10px rgba(255, 208, 85, 0.95), 0 0 4px #FFFFFF;
  animation: liveBeamSweepV 4.2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.live-gold-line-v1 {
  left: 33.333%;
}

.live-gold-line-v1::after {
  animation-delay: 0.6s;
}

.live-gold-line-v2 {
  left: 66.666%;
}

.live-gold-line-v2::after {
  animation-delay: 2.2s;
}

@keyframes liveBeamSweepH {
  0% {
    left: -60%;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    left: 100%;
    opacity: 0;
  }
}

@keyframes liveBeamSweepV {
  0% {
    top: -60%;
    opacity: 0;
  }

  15% {
    opacity: 1;
  }

  85% {
    opacity: 1;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

/* ── "മറ്റു വഴിപാടുകൾ" Button ── */
.more-vazhipadu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background: var(--maroon-deep);
  border: 1.5px solid var(--gold);
  color: #ffffff;
  padding: 8px 24px;
  border-radius: 30px;
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  transition: all 0.25s ease;
  box-shadow: 0 4px 14px rgba(74, 8, 8, 0.25);
  margin: 0 auto;
}

.more-vazhipadu-btn i {
  color: var(--gold-bright);
  transition: transform 0.2s ease;
}

.more-vazhipadu-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.35);
}

.more-vazhipadu-btn:hover i {
  color: var(--maroon-dark);
  transform: translateX(4px);
}

@media (max-width: 767px) {
  .more-vazhipadu-btn {
    font-size: 0.86rem;
    padding: 8px 20px;
    width: 100%;
    max-width: 240px;
    margin: 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
}

@media (max-width: 575px) {
  .more-vazhipadu-btn {
    font-size: 0.82rem;
    padding: 7px 18px;
    max-width: 220px;
    border-radius: 25px;
  }
}

/* ==========================================================================
   RIGHT-SIDE VAZHIPADUKAL POPUP DRAWER
   ========================================================================== */
.vazhipadu-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(18, 3, 3, 0.65);
  backdrop-filter: blur(4px);
  z-index: 1050;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.vazhipadu-backdrop.active {
  opacity: 1;
  visibility: visible;
}

.vazhipadu-drawer {
  position: fixed;
  top: 0;
  right: 0;
  width: 440px;
  max-width: 92vw;
  height: 100vh;
  background: #FAF3E6;
  border-left: 3px solid var(--gold);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.45);
  z-index: 1060;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  transform: translateX(105%);
  transition: transform 0.38s cubic-bezier(0.16, 1, 0.3, 1);
}

.vazhipadu-drawer.active {
  transform: translateX(0);
}

.vazhipadu-drawer-header {
  background: linear-gradient(135deg, #4A0808 0%, #2A0404 100%);
  color: #ffffff;
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: 2px solid var(--gold);
}

.drawer-header-icon {
  font-size: 1.5rem;
}

.drawer-title {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.drawer-close-btn {
  background: transparent;
  border: 1px solid rgba(255, 208, 85, 0.4);
  color: var(--gold-bright);
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.drawer-close-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  transform: rotate(90deg);
}

.drawer-subtitle-bar {
  background: #F2E3C7;
  padding: 8px 22px;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--maroon-deep);
  border-bottom: 1px solid rgba(201, 162, 39, 0.3);
}

.vazhipadu-drawer-body {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 22px;
  scroll-behavior: smooth;
  box-sizing: border-box;
}

/* Custom scrollbar for drawer */
.vazhipadu-drawer-body::-webkit-scrollbar {
  width: 7px;
}

.vazhipadu-drawer-body::-webkit-scrollbar-track {
  background: #F2E3C7;
}

.vazhipadu-drawer-body::-webkit-scrollbar-thumb {
  background: var(--gold);
  border-radius: 4px;
}

.vazhipadu-scroll-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.vazhipadu-item-row {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #ffffff;
  border: 1px solid rgba(201, 162, 39, 0.35);
  border-radius: 10px;
  padding: 12px 18px;
  box-shadow: 0 2px 8px rgba(120, 70, 10, 0.05);
  transition: all 0.22s ease;
  cursor: default;
  min-width: 0;
  max-width: 100%;
  box-sizing: border-box;
}

.vazhipadu-item-row:hover {
  background: #FFFDF8;
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(120, 70, 10, 0.12);
}

.vazhipadu-row-bullet {
  color: var(--gold-dark);
  font-size: 1.1rem;
  line-height: 1;
  transition: transform 0.2s ease, color 0.2s ease;
  flex: 0 0 auto;
  flex-shrink: 0;
}

.vazhipadu-item-row:hover .vazhipadu-row-bullet {
  color: var(--maroon-deep);
  transform: translateX(2px);
}

.vazhipadu-row-name {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 0.96rem;
  font-weight: 700;
  color: var(--maroon-deep);
  line-height: 1.4;
  word-break: break-word;
  overflow-wrap: break-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  min-width: 0;
  flex: 1 1 auto;
}

.drawer-booking-footer {
  background: #F3E4C8;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  padding: 14px 18px;
  box-sizing: border-box;
  min-width: 0;
}

.drawer-booking-footer > div {
  min-width: 0;
}

.drawer-phone-circle {
  width: 42px;
  height: 42px;
  min-width: 42px;
  min-height: 42px;
  max-width: 42px;
  max-height: 42px;
  flex: 0 0 42px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--maroon-deep);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

.drawer-phone-label,
.drawer-booking-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--maroon-deep);
  line-height: 1.35;
  word-break: break-word;
}

.drawer-phone-number,
.drawer-booking-phone {
  font-size: 1.1rem;
  font-weight: 800;
  color: var(--maroon-deep);
  text-decoration: none;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.drawer-phone-number:hover,
.drawer-booking-phone:hover {
  color: var(--gold-dark);
}

/* ── Responsive Drawer Rules for Mobile ── */
@media (max-width: 767px) {
  .vazhipadu-drawer {
    width: 380px;
    max-width: 94vw;
  }
  .vazhipadu-drawer-header {
    padding: 14px 16px;
  }
  .drawer-title {
    font-size: 1.18rem;
  }
  .drawer-close-btn {
    width: 32px;
    height: 32px;
    font-size: 1rem;
    flex-shrink: 0;
  }
  .drawer-subtitle-bar {
    padding: 8px 16px;
    font-size: 0.76rem;
  }
  .vazhipadu-drawer-body {
    padding: 14px 14px 20px 14px;
    overflow-x: hidden;
  }
  .vazhipadu-item-row {
    padding: 10px 14px;
    gap: 10px;
  }
  .vazhipadu-row-name {
    font-size: 0.9rem;
    line-height: 1.35;
  }
  .drawer-booking-footer {
    padding: 12px 14px;
  }
  .drawer-phone-circle {
    width: 38px;
    height: 38px;
    min-width: 38px;
    min-height: 38px;
    max-width: 38px;
    max-height: 38px;
    flex: 0 0 38px;
    font-size: 1rem;
  }
  .drawer-phone-label,
  .drawer-booking-label {
    font-size: 0.74rem;
  }
  .drawer-phone-number,
  .drawer-booking-phone {
    font-size: 1rem;
  }
}

@media (max-width: 380px) {
  .vazhipadu-drawer {
    width: 100vw;
    max-width: 100vw;
  }
  .vazhipadu-drawer-body {
    padding: 12px 10px 18px 10px;
  }
  .vazhipadu-item-row {
    padding: 9px 12px;
    gap: 8px;
  }
  .vazhipadu-row-name {
    font-size: 0.84rem;
    line-height: 1.3;
  }
  .drawer-booking-footer {
    padding: 10px 12px;
  }
  .drawer-phone-circle {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    max-width: 36px;
    max-height: 36px;
    flex: 0 0 36px;
    font-size: 0.95rem;
  }
  .drawer-phone-label,
  .drawer-booking-label {
    font-size: 0.7rem;
  }
  .drawer-phone-number,
  .drawer-booking-phone {
    font-size: 0.92rem;
  }
}

.drawer-phone-number:hover {
  color: var(--gold-dark);
}

/* ── Spacing block between floating section and next section ── */
.floating-section-bottom {
  background: transparent;
  height: 20px;
}

/* ==========================================================================
   SHOWCASE CONTAINER (TIMINGS & HISTORY CARDS - REFERENCE MATCHED WITH background1 & background2)
   ========================================================================== */
.temple-showcase-row {
  margin-top: 36px;
}

.temple-card {
  position: relative;
  border-radius: 18px;
  height: 100%;
  min-height: 235px;
  box-shadow: 0 8px 24px rgba(74, 8, 8, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.temple-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(74, 8, 8, 0.16);
}

/* ── Left Card: Timings Card (background1.png) ── */
.timings-card {
  background: #FAF2E3 url('images/temple/background1.png') no-repeat right center;
  background-size: cover;
  border-radius: 18px;
  overflow: hidden;
  padding: 24px 28px 22px 28px;
  border: 1.5px solid rgba(201, 162, 39, 0.45);
}

.timings-content-wrap {
  max-width: 68%;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .timings-card {
    background:
      linear-gradient(135deg,
        rgba(250, 242, 227, 0.98) 0%,
        rgba(250, 242, 227, 0.95) 55%,
        rgba(250, 242, 227, 0.82) 80%,
        rgba(250, 242, 227, 0.45) 100%),
      url('images/temple/background1.png') no-repeat right center / cover;
  }

  .timings-content-wrap {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .timings-card {
    background:
      linear-gradient(180deg,
        rgba(250, 242, 227, 0.98) 0%,
        rgba(250, 242, 227, 0.96) 65%,
        rgba(250, 242, 227, 0.88) 85%,
        rgba(250, 242, 227, 0.55) 100%),
      url('images/temple/background1.png') no-repeat right center / cover;
    padding: 20px 18px;
  }

  .card-top-title {
    font-size: 1.15rem;
    line-height: 1.3;
  }

  .clock-icon-wrap {
    width: 28px;
    height: 28px;
    min-width: 28px;
    min-height: 28px;
    max-width: 28px;
    max-height: 28px;
    flex: 0 0 28px;
    font-size: 0.85rem;
  }
}

.card-top-header {
  padding-bottom: 2px;
}

.clock-icon-wrap {
  width: 30px;
  height: 30px;
  min-width: 30px;
  min-height: 30px;
  max-width: 30px;
  max-height: 30px;
  flex: 0 0 30px;
  flex-shrink: 0;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  background: var(--maroon-deep);
  color: var(--gold-bright);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.92rem;
  box-sizing: border-box;
}

.card-top-title {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--maroon-deep);
}

.slot-sun-icon {
  color: #F5A623;
  font-size: 1.15rem;
}

.slot-moon-icon {
  color: #E5A93C;
  font-size: 1.05rem;
}

.time-slot-item {
  line-height: 1.35;
}

.time-period-label {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-weight: 700;
  color: var(--maroon-deep);
  font-size: 0.98rem;
}

.time-period-hours {
  font-size: 0.92rem;
  font-weight: 700;
  color: #1A120B;
  padding-left: 26px;
  letter-spacing: 0.01em;
}

.border-start-divider {
  border-left: 1.5px solid rgba(201, 162, 39, 0.45);
}

@media (max-width: 575px) {
  .border-start-divider {
    border-left: none;
    border-top: 1.5px solid rgba(201, 162, 39, 0.45);
    padding-top: 14px;
    margin-top: 14px;
  }
}

.puja-badge {
  display: inline-block;
  background: linear-gradient(135deg, #4A0808 0%, #2A0404 100%);
  color: #ffffff;
  padding: 4px 18px;
  border-radius: 20px;
  font-size: 0.84rem;
  font-weight: 700;
  border: 1px solid rgba(255, 208, 85, 0.35);
  box-shadow: 0 2px 6px rgba(74, 8, 8, 0.2);
  letter-spacing: 0.02em;
}

.puja-bullet-list {
  list-style: none;
  padding: 0;
  margin: 6px 0 0 0;
}

.puja-bullet-list li {
  font-size: 0.94rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 5px;
  display: flex;
  align-items: center;
  gap: 8px;
}

.puja-bullet-list li::before {
  content: '•';
  color: var(--maroon-deep);
  font-size: 1.25rem;
  line-height: 0;
}

/* ── Right Card: History & Tradition Card (background2.png) ── */
.history-card {
  background: #3B0505 url('images/temple/background2.png') no-repeat right center;
  background-size: cover;
  border-radius: 18px;
  overflow: hidden;
  padding: 24px 26px;
  border: 1.5px solid rgba(201, 162, 39, 0.45);
  color: #ffffff;
}

.history-content-col {
  max-width: 240px;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .history-card {
    background:
      linear-gradient(135deg,
        rgba(59, 5, 5, 0.97) 0%,
        rgba(59, 5, 5, 0.93) 55%,
        rgba(59, 5, 5, 0.78) 80%,
        rgba(59, 5, 5, 0.40) 100%),
      url('images/temple/background2.png') no-repeat right center / cover;
  }

  .history-content-col {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .history-card {
    background:
      linear-gradient(180deg,
        rgba(59, 5, 5, 0.98) 0%,
        rgba(59, 5, 5, 0.95) 65%,
        rgba(59, 5, 5, 0.85) 85%,
        rgba(59, 5, 5, 0.50) 100%),
      url('images/temple/background2.png') no-repeat right center / cover;
    padding: 22px 18px;
  }
}

.history-title {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-bright);
  margin-bottom: 4px;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.history-gold-line {
  width: 48px;
  height: 2px;
  background: var(--gold-bright);
  border-radius: 2px;
  margin-bottom: 12px;
}

.history-text {
  font-size: 0.86rem;
  line-height: 1.65;
  color: #FFFFFF;
  margin-bottom: 14px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
  word-break: break-word;
}

@media (max-width: 575px) {
  .history-text {
    font-size: 0.82rem;
    line-height: 1.60;
  }
}

.history-cta-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(35, 3, 3, 0.65);
  border: 1.5px solid var(--gold);
  color: var(--gold-bright);
  padding: 6px 20px;
  border-radius: 24px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.history-cta-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  border-color: var(--gold-bright);
  transform: translateX(3px);
}

/* ── Third Row: Gallery Showcase Card (background3.png) ── */
.gallery-card {
  background: #3B0505 url('images/temple/background3.png') no-repeat center center;
  background-size: cover;
  border-radius: 18px;
  overflow: hidden;
  padding: 18px 20px 18px 20px;
  border: 1.5px solid rgba(201, 162, 39, 0.45);
}

.gallery-card-title {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--gold-bright);
}

.gallery-gold-line {
  width: 50px;
  height: 2px;
  background: var(--gold-bright);
  border-radius: 2px;
  margin-bottom: 14px;
}

/* ── Gallery Carousel Wrapper & Track ── */
.gallery-carousel-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  width: 100%;
  padding: 0 4px;
}

/* Restyled sleek circular buttons matching reference template */
.gallery-nav-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: rgba(20, 2, 2, 0.92);
  border: 1.5px solid var(--gold);
  color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  cursor: pointer;
  transition: all 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  flex-shrink: 0;
  padding: 0;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.5), inset 0 0 5px rgba(255, 208, 85, 0.15);
  z-index: 5;
  user-select: none;
}

.gallery-nav-btn:hover {
  background: linear-gradient(135deg, #FFD055 0%, #D4A017 100%);
  color: #2A0404;
  border-color: #FFE285;
  transform: scale(1.12);
  box-shadow: 0 0 14px rgba(255, 208, 85, 0.6);
}

.gallery-nav-btn:active {
  transform: scale(0.94);
}

/* Smooth Horizontal Scroll Viewport */
.gallery-viewport {
  flex: 1;
  min-width: 0;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-behavior: smooth;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
  -ms-overflow-style: none;
  padding: 4px 2px;
  cursor: grab;
}

.gallery-viewport:active {
  cursor: grabbing;
}

.gallery-viewport::-webkit-scrollbar {
  display: none;
}

.gallery-track {
  display: flex;
  gap: 10px;
  width: max-content;
  user-select: none;
}

.gallery-thumb-item {
  width: 114px;
  aspect-ratio: 116 / 83;
  border-radius: 8px;
  overflow: hidden;
  border: 1.5px solid var(--gold);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.35);
  cursor: pointer;
  flex-shrink: 0;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
}

.gallery-thumb-item:hover {
  transform: translateY(-2px) scale(1.04);
  border-color: var(--gold-bright);
  box-shadow: 0 6px 14px rgba(255, 208, 85, 0.35);
}

.gallery-thumb-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  pointer-events: none;
}

@media (max-width: 575px) {
  .gallery-card {
    padding: 16px 12px;
  }

  .gallery-carousel-wrapper {
    gap: 8px;
    padding: 0;
  }

  .gallery-nav-btn {
    width: 30px;
    height: 30px;
    font-size: 0.88rem;
  }

  .gallery-track {
    gap: 8px;
  }

  .gallery-thumb-item {
    width: 95px;
  }
}

.gallery-gold-cta-btn {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #FFD055 0%, #D4A017 100%);
  color: #3B0505;
  border: 1px solid #FFE285;
  padding: 5px 22px;
  border-radius: 24px;
  font-size: 0.84rem;
  font-weight: 800;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.3);
  transition: all 0.25s ease;
}

.gallery-gold-cta-btn:hover {
  background: #FFD055;
  color: #2A0404;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(255, 208, 85, 0.45);
}


/* ── Third Row: Musical Heritage Card (background4.png) ── */
.music-card {
  background: #3B0505 url('images/temple/background4.png') no-repeat right center;
  background-size: cover;
  border-radius: 18px;
  overflow: hidden;
  padding: 24px 26px;
  border: 1.5px solid rgba(201, 162, 39, 0.45);
  color: #ffffff;
}

.music-content-col {
  max-width: 245px;
  position: relative;
  z-index: 2;
}

@media (max-width: 991px) {
  .music-card {
    background:
      linear-gradient(135deg,
        rgba(59, 5, 5, 0.97) 0%,
        rgba(59, 5, 5, 0.93) 55%,
        rgba(59, 5, 5, 0.78) 80%,
        rgba(59, 5, 5, 0.40) 100%),
      url('images/temple/background4.png') no-repeat right center / cover;
  }

  .music-content-col {
    max-width: 100%;
  }
}

@media (max-width: 575px) {
  .music-card {
    background:
      linear-gradient(180deg,
        rgba(59, 5, 5, 0.98) 0%,
        rgba(59, 5, 5, 0.95) 65%,
        rgba(59, 5, 5, 0.85) 85%,
        rgba(59, 5, 5, 0.50) 100%),
      url('images/temple/background4.png') no-repeat right center / cover;
    padding: 22px 18px;
  }
}

.music-title {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--gold-bright);
  margin-bottom: 4px;
  line-height: 1.25;
  letter-spacing: 0.01em;
}

.music-gold-line {
  width: 48px;
  height: 2px;
  background: var(--gold-bright);
  border-radius: 2px;
  margin-bottom: 12px;
}

.music-text {
  font-size: 0.86rem;
  line-height: 1.65;
  color: #FFFFFF;
  margin-bottom: 14px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
  text-align: justify;
  -webkit-hyphens: auto;
  hyphens: auto;
  word-break: break-word;
}

@media (max-width: 575px) {
  .music-text {
    font-size: 0.82rem;
    line-height: 1.60;
  }
}

.music-cta-btn {
  display: inline-flex;
  align-items: center;
  background: rgba(35, 3, 3, 0.65);
  border: 1.5px solid var(--gold);
  color: var(--gold-bright);
  padding: 6px 20px;
  border-radius: 24px;
  font-size: 0.86rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.25s ease;
}

.music-cta-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  border-color: var(--gold-bright);
  transform: translateX(3px);
}

/* ==========================================================================
   QUICK INFO STRIP
   ========================================================================== */
.quick-info-strip {
  background: var(--maroon-mid);
  border-top: 3px solid var(--gold-dark);
  border-bottom: 3px solid var(--gold-dark);
  margin-top: 50px;
}

.quick-info-item {
  padding: 24px 16px;
  border-right: 1px solid rgba(255, 255, 255, 0.12);
  color: #ffffff;
}

.quick-info-item:last-child {
  border-right: none;
}

.quick-info-icon {
  font-size: 1.8rem;
  color: var(--gold-bright);
  display: block;
  margin-bottom: 8px;
}

.quick-info-item h6 {
  color: var(--gold-light);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 4px;
}

.quick-info-item p {
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.85);
  margin: 0;
  line-height: 1.6;
}

@media (max-width: 575px) {
  .quick-info-item {
    border-right: none;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .quick-info-item:last-child {
    border-bottom: none;
  }
}

/* ==========================================================================
   SHARED SECTION HEADERS
   ========================================================================== */
.section-tag {
  display: inline-block;
  background: var(--gold);
  color: var(--maroon-dark);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  padding: 4px 16px;
  border-radius: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
}

.section-title {
  font-size: clamp(1.7rem, 3.2vw, 2.4rem);
  font-weight: 800;
  color: var(--maroon-deep);
  line-height: 1.25;
  margin-bottom: 0.5rem;
}

.gold-divider {
  width: 60px;
  height: 3px;
  background: linear-gradient(to right, var(--gold-dark), var(--gold-bright), var(--gold-dark));
  border-radius: 2px;
  margin-bottom: 1.2rem;
}

.section-text {
  color: #444;
  font-size: 1rem;
  line-height: 1.9;
  margin-bottom: 1rem;
}

.temple-btn {
  background: var(--maroon-deep);
  color: var(--gold-light);
  border: 2px solid var(--maroon-deep);
  padding: 10px 24px;
  border-radius: 30px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.25s ease;
}

.temple-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  border-color: var(--gold);
}

/* ==========================================================================
   ABOUT SECTION (DETAILED)
   ========================================================================== */
.about-section {
  background: #FAF5EB;
}

.about-img-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
}

.about-img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.22);
  border: 4px solid var(--gold);
}

.about-img-badge {
  position: absolute;
  bottom: -18px;
  right: -18px;
  background: var(--maroon-deep);
  border: 3px solid var(--gold);
  border-radius: 50%;
  width: 90px;
  height: 90px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  color: var(--gold-bright);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.4);
}

.badge-number {
  font-size: 1.3rem;
  font-weight: 900;
  line-height: 1;
}

.badge-text {
  font-size: 0.65rem;
  font-weight: 600;
}

/* ==========================================================================
   SERVICES SECTION
   ========================================================================== */
.services-section {
  background: #ffffff;
}

.service-card {
  background: #FDF9F0;
  border: 1.5px solid rgba(201, 162, 39, 0.25);
  border-radius: 12px;
  padding: 26px 16px 20px;
  transition: all 0.25s ease;
  height: 100%;
}

.service-card:hover {
  border-color: var(--gold);
  transform: translateY(-5px);
  box-shadow: 0 10px 24px rgba(74, 8, 8, 0.12);
}

.service-icon {
  font-size: 2.4rem;
  margin-bottom: 12px;
  display: block;
}

.service-card h5 {
  color: var(--maroon-deep);
  font-weight: 700;
  font-size: 1.05rem;
  margin-bottom: 6px;
}

.service-card p {
  color: #666;
  font-size: 0.85rem;
  margin: 0;
  line-height: 1.6;
}

/* ==========================================================================
   GALLERY SECTION
   ========================================================================== */
.gallery-section {
  background: #FAF5EB;
}

.gallery-item {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  border: 2px solid var(--gold);
  cursor: pointer;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
}

.gallery-item img {
  width: 100%;
  height: 250px;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.gallery-item:hover img {
  transform: scale(1.06);
}

.gallery-overlay {
  position: absolute;
  inset: 0;
  background: rgba(74, 8, 8, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.3s ease;
  color: var(--gold-bright);
  font-size: 2rem;
}

.gallery-item:hover .gallery-overlay {
  opacity: 1;
}

/* ==========================================================================
   CTA SECTION
   ========================================================================== */
.cta-section {
  background: linear-gradient(135deg, var(--maroon-dark) 0%, var(--maroon-deep) 100%);
  border-top: 3px solid var(--gold);
  border-bottom: 3px solid var(--gold);
}

.cta-title {
  color: var(--gold-bright);
  font-size: clamp(1.7rem, 3.2vw, 2.3rem);
  font-weight: 800;
  margin-bottom: 0.5rem;
}

.cta-subtitle {
  color: rgba(255, 255, 255, 0.85);
  font-size: 1.05rem;
  max-width: 580px;
  margin: 0 auto;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */
.main-footer {
  background: #1f0303;
  color: rgba(255, 255, 255, 0.8);
}

.footer-logo {
  height: 60px;
  width: auto;
  object-fit: contain;
}

.footer-brand-ml {
  color: var(--gold-bright);
  font-size: 1.15rem;
  font-weight: 700;
}

.footer-brand-en {
  color: rgba(255, 255, 255, 0.65);
  font-size: 0.65rem;
  letter-spacing: 0.1em;
  font-family: 'Cinzel', serif;
}

.footer-desc {
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.75;
  margin-top: 10px;
}

.footer-heading {
  color: var(--gold-bright);
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  font-weight: 700;
  margin-bottom: 14px;
  font-family: 'Cinzel', serif;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 9px;
  font-size: 0.86rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-links a:hover {
  color: var(--gold-bright);
}

.footer-social {
  display: flex;
  gap: 10px;
  margin-top: 14px;
}

.social-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-size: 1rem;
  text-decoration: none;
  transition: all 0.2s ease;
}

.social-link:hover {
  background: var(--gold);
  color: var(--maroon-dark);
}

.footer-hr {
  border-color: rgba(201, 162, 39, 0.25);
}

.footer-copy {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.82rem;
}

/* ==========================================================================
   TEMPLE FOOTER (REFERENCE MODEL ALIGNED - LAST PART OF INDEX PAGE)
   ========================================================================== */
.temple-footer {
  position: relative;
  background-color: transparent;
  background-image: url('images/temple/footer_background.png');
  background-repeat: no-repeat;
  background-position: top center;
  background-size: 100% 100%;
  color: #ffffff;
  overflow: hidden;
  margin-top: 0;
  padding-top: 55px;
  padding-bottom: 22px;
  width: 100%;
}

@media (max-width: 991px) {
  .temple-footer {
    background-image: none;
    background: linear-gradient(180deg, #3A0505 0%, #260303 50%, #170202 100%);
    border-top: 3.5px solid #D5A457;
    box-shadow: 0 -6px 25px rgba(50, 4, 4, 0.35);
    padding-top: 32px;
    padding-bottom: 20px;
  }
}

/* Background image layer - no extra overlay needed */
.footer-bg-layer {
  display: none;
}

.footer-inner-container {
  position: relative;
  z-index: 1;
}

/* ── Column 1: Logo stacked above Location ── */
.footer-logo-wrap {
  width: 180px;
  max-width: 100%;
  margin: 0 auto 12px auto;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-logo-img {
  width: 100%;
  height: auto;
  display: block;
  filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.6));
  opacity: 0.92;
  transition: opacity 0.3s ease;
}

.footer-logo-img:hover {
  opacity: 1;
}

/* ── Equal 3-column Layout & Vertical Golden Dividers ── */
.footer-main-row {
  align-items: stretch;
}

.footer-col {
  padding: 24px 28px;
  border-right: none;
}

@media (min-width: 768px) {

  .footer-col-left,
  .footer-col-mid {
    position: relative;
  }

  /* Two identical vertical dividers with exactly matching length */
  .footer-col-left::after,
  .footer-col-mid::after {
    content: '';
    position: absolute;
    top: 12%;
    right: 0;
    height: 76%;
    width: 1.5px;
    background: linear-gradient(180deg, transparent 0%, rgba(201, 162, 39, 0.35) 15%, rgba(255, 208, 85, 0.75) 50%, rgba(201, 162, 39, 0.35) 85%, transparent 100%);
    pointer-events: none;
  }

  /* 'ബന്ധപ്പെടുക' second column content positioned slightly down for visual balance */
  .footer-col-mid .footer-contact-wrap {
    padding-top: 28px;
  }
}

.footer-gold-icon {
  color: var(--gold-bright);
  font-size: 1.35rem;
  line-height: 1;
}

.footer-section-title {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
}

.footer-text-title {
  font-family: 'Poppins', sans-serif;
  font-size: 0.96rem;
  font-weight: 600;
  color: #ffffff;
  line-height: 1.35;
}

.footer-text-subtitle {
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.85);
  line-height: 1.3;
}

.footer-maps-btn {
  background: linear-gradient(135deg, #FFD055 0%, #D4A017 100%);
  color: #240202;
  border: 1px solid #FFE285;
  border-radius: 24px;
  font-size: 0.82rem;
  font-weight: 700;
  padding: 5px 18px;
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  box-shadow: 0 3px 8px rgba(0, 0, 0, 0.35);
  transition: all 0.25s ease;
}

.footer-maps-btn:hover {
  background: #FFD055;
  color: #1a0101;
  transform: translateY(-2px);
  box-shadow: 0 5px 14px rgba(255, 208, 85, 0.45);
}

/* ── Column 2: Contact Info ── */
.footer-gold-subicon {
  color: var(--gold-bright);
  font-size: 1.05rem;
  line-height: 1;
  flex-shrink: 0;
}

.footer-contact-link {
  color: rgba(255, 255, 255, 0.92);
  font-family: 'Poppins', sans-serif;
  font-size: 0.92rem;
  text-decoration: none;
  transition: color 0.22s ease;
}

.footer-contact-link:hover {
  color: var(--gold-bright);
}

.footer-social-btn {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1.2px solid var(--gold);
  color: var(--gold-bright);
  background: rgba(25, 2, 2, 0.7);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  line-height: 1;
  text-decoration: none;
  transition: all 0.25s ease;
  padding: 0;
  box-sizing: border-box;
}

.footer-social-btn i {
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  margin: 0;
  padding: 0;
}

.footer-social-btn i::before {
  vertical-align: 0 !important;
  line-height: 1 !important;
  display: block;
  margin: 0;
  padding: 0;
}

.footer-social-btn:hover {
  background: var(--gold-bright);
  color: #240202;
  border-color: #FFE285;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 0 10px rgba(255, 208, 85, 0.45);
}

/* ── Column 3: Temple Art Illustration (footer_temple.png) ── */
.footer-temple-art-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 5px;
}

.footer-temple-art-img {
  max-width: 290px;
  width: 100%;
  height: auto;
  opacity: 0.85;
  /* user requested: reduce opacity */
  filter: drop-shadow(0 4px 12px rgba(0, 0, 0, 0.45));
  transition: opacity 0.3s ease, transform 0.3s ease;
  display: block;
}

.footer-temple-art-img:hover {
  opacity: 1;
  transform: scale(1.02);
}

/* ── Sub-Footer: Copyright Bar ── */
.footer-bottom-bar {
  border-top: 1px solid rgba(201, 162, 39, 0.25);
  margin-top: 16px;
  padding-top: 16px;
  padding-bottom: 8px;
}

.footer-copyright-text {
  font-family: 'Poppins', sans-serif;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.85);
  letter-spacing: 0.2px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  text-align: center;
  line-height: 1.5;
  margin: 0;
}

.footer-credit-sep {
  color: rgba(213, 164, 87, 0.65);
  font-weight: 300;
  margin: 0 4px;
  display: inline-block;
}

.footer-company-link {
  display: inline-flex;
  align-items: center;
  line-height: 1;
  text-decoration: none;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.footer-company-link:hover {
  transform: translateY(-1px) scale(1.04);
}

.footer-company-logo {
  height: 22px;
  width: auto;
  display: inline-block;
  vertical-align: middle;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.45));
}

/* ── Responsive Adaptations ── */
@media (max-width: 767px) {
  .temple-footer {
    padding-top: 28px;
    padding-bottom: 50px; /* generous bottom clearance for the floating scroll button */
  }

  .footer-inner-container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  /* On mobile, stack cols and add subtle bottom separator instead of vertical dividers */
  .footer-col-left::after,
  .footer-col-mid::after {
    display: none;
  }

  /* Left-align all columns on small screens as requested */
  .footer-col,
  .footer-col-left,
  .footer-col-mid,
  .footer-col-right {
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    border-right: none;
    border-bottom: 1px solid rgba(201, 162, 39, 0.25);
    padding: 18px 8px !important;
  }

  .footer-col:last-child {
    border-bottom: none;
  }

  .footer-col-mid .footer-contact-wrap {
    padding-top: 0;
  }

  .footer-logo-wrap {
    width: 140px;
    margin-bottom: 10px;
    margin-left: 0 !important;
    margin-right: auto !important;
    justify-content: flex-start !important;
  }

  .footer-loc-info {
    text-align: left !important;
    width: 100% !important;
  }

  .footer-title-wrap {
    justify-content: flex-start !important;
  }

  .footer-text-title,
  .footer-text-subtitle {
    text-align: left !important;
  }

  .footer-maps-btn {
    align-self: flex-start !important;
    margin-left: 0 !important;
    font-size: 0.78rem;
    padding: 5px 18px;
  }

  .footer-contact-wrap {
    padding-left: 0;
    width: 100% !important;
    text-align: left !important;
  }

  .footer-contact-row {
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 8px;
  }

  .footer-social-row {
    justify-content: flex-start !important;
  }

  .footer-temple-art-wrap {
    justify-content: flex-start !important;
    width: 100% !important;
    padding: 0 !important;
  }

  .footer-temple-art-img {
    margin-left: 0 !important;
    margin-right: auto !important;
    max-width: 180px;
  }

  /* Reduced text sizes on small screens for neat alignment */
  .footer-section-title {
    font-size: 1.05rem;
  }

  .footer-gold-icon {
    font-size: 1.15rem;
  }

  .footer-text-title {
    font-size: 0.88rem;
  }

  .footer-text-subtitle {
    font-size: 0.82rem;
  }

  .footer-gold-subicon {
    font-size: 0.90rem;
  }

  /* Scaled email size so it fits on 1 single line with breathing room */
  .footer-contact-link {
    font-size: 0.76rem;
    white-space: nowrap;
  }

  .footer-social-btn {
    width: 30px;
    height: 30px;
    font-size: 0.88rem;
  }

  /* Left-aligned copyright & company link on mobile */
  .footer-bottom-bar {
    text-align: left !important;
    padding-left: 8px !important;
    padding-right: 8px !important;
    padding-top: 14px;
    padding-bottom: 8px;
  }

  .footer-copyright-text {
    flex-direction: column;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    text-align: left !important;
    gap: 8px;
    font-size: 0.72rem;
    padding-left: 0;
    padding-right: 0;
  }

  .footer-copyright-text span {
    text-align: left !important;
    line-height: 1.45;
  }

  .footer-company-link {
    justify-content: flex-start !important;
    margin-left: 0 !important;
  }

  .footer-credit-sep {
    display: none; /* hide pipe divider on mobile so Dhanwis sits cleanly alone */
  }

  .footer-company-logo {
    height: 18px;
  }
}

@media (max-width: 575px) {
  .footer-inner-container {
    padding-left: 14px !important;
    padding-right: 14px !important;
  }

  .footer-col,
  .footer-col-left,
  .footer-col-mid,
  .footer-col-right {
    padding: 14px 6px !important;
  }

  .footer-logo-wrap {
    width: 120px;
    margin-bottom: 6px;
  }

  .footer-section-title {
    font-size: 0.98rem;
  }

  .footer-gold-icon {
    font-size: 1.05rem;
  }

  .footer-text-title {
    font-size: 0.82rem;
  }

  .footer-text-subtitle {
    font-size: 0.78rem;
    margin-bottom: 8px !important;
  }

  .footer-maps-btn {
    font-size: 0.74rem;
    padding: 4px 14px;
  }

  .footer-gold-subicon {
    font-size: 0.85rem;
  }

  .footer-contact-link {
    font-size: 0.72rem;
    white-space: nowrap;
  }

  .footer-temple-art-img {
    max-width: 160px;
  }

  .footer-bottom-bar {
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 6px !important;
    padding-right: 6px !important;
  }

  .footer-copyright-text {
    font-size: 0.68rem;
    line-height: 1.45;
    text-align: left !important;
    align-items: flex-start !important;
  }

  .footer-company-logo {
    height: 16px;
  }

  .scroll-to-top-btn {
    bottom: 14px;
    right: 12px;
    width: 38px;
    height: 38px;
    font-size: 1.1rem;
  }
}

/* ==========================================================================
   SCROLL TO TOP BUTTON (TEMPLE ROYAL MAROON & ANTIQUE GOLD)
   ========================================================================== */
.scroll-to-top-btn {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #7a1818 0%, #4a0808 60%, #2a0404 100%);
  border: 2px solid var(--gold);
  color: var(--gold-bright);
  font-size: 1.35rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 1040;
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 10px rgba(201, 162, 39, 0.35);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transform: translateY(20px) scale(0.85);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.scroll-to-top-btn.visible {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
  transform: translateY(0) scale(1);
}

.scroll-to-top-btn:hover {
  background: linear-gradient(135deg, #961e1e 0%, #631010 100%);
  border-color: var(--gold-bright);
  color: #ffffff;
  transform: translateY(-4px) scale(1.06);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.55), 0 0 16px rgba(255, 208, 85, 0.65);
}

.scroll-to-top-btn:active {
  transform: translateY(-1px) scale(0.96);
}

@media (max-width: 767px) {
  .scroll-to-top-btn {
    bottom: 22px;
    right: 20px;
    width: 44px;
    height: 44px;
    font-size: 1.15rem;
  }
}

/* ==========================================================================
   ABOUT PAGE STYLES (TEMPLE HERITAGE & HISTORY)
   ========================================================================== */
.about-hero-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(38, 4, 4, 0.88) 0%, rgba(26, 3, 3, 0.80) 50%, rgba(18, 2, 2, 0.86) 100%),
    url('images/temple/temple1.png') center center / cover no-repeat;
  padding: clamp(60px, 9vh, 90px) 20px clamp(80px, 12vh, 110px) 20px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.about-breadcrumb {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: rgba(42, 4, 4, 0.7);
  border: 1px solid rgba(201, 162, 39, 0.4);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.86rem;
  margin: 0 auto 20px auto;
  max-width: 100%;
  box-sizing: border-box;
}

.about-breadcrumb a {
  color: var(--gold-bright);
  text-decoration: none;
  transition: color 0.2s ease;
}

.about-breadcrumb a:hover {
  color: #ffffff;
}

.about-breadcrumb .separator {
  color: rgba(255, 255, 255, 0.4);
}

.about-breadcrumb .current {
  color: #ffffff;
  font-weight: 600;
}

.about-hero-title {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: clamp(2rem, 4.5vw, 3.2rem);
  font-weight: 900;
  color: var(--gold-bright);
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.85);
  margin-bottom: 12px;
}

.about-hero-subtitle {
  font-size: clamp(0.95rem, 1.8vw, 1.15rem);
  color: #FFE599;
  max-width: 780px;
  margin: 0 auto 16px;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  text-align-last: center;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
}

.about-hero-divider {
  width: 240px;
  max-width: 80%;
  height: auto;
  margin: 0 auto;
  display: block;
  filter: brightness(1.15) drop-shadow(0 0 6px rgba(201, 162, 39, 0.6));
}

/* About main parchment container */
.about-main-wrapper {
  background-color: transparent;
  padding-top: 40px;
  padding-bottom: 80px;
  position: relative;
}

/* Section cards on parchment (Double shade gradient matching reference) */
.about-story-card {
  background: linear-gradient(135deg, #FFF2DC 0%, #FDEAC7 40%, #FCDCA1 75%, #FCCD71 100%);
  border: 2px solid #D5A457;
  border-radius: 18px;
  padding: clamp(24px, 4vw, 42px);
  box-shadow: 0 8px 28px rgba(120, 70, 10, 0.12);
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
  backdrop-filter: blur(3px);
}

.about-story-card::before {
  display: none;
}

/* Distinct top intro box on pooja page (Matching Reference Image 3) */
.about-story-card.pooja-intro-card {
  background: linear-gradient(145deg, #FAF1DC 0%, #F1E3D0 100%);
  border: 2px solid #DCA12D;
  border-radius: 18px;
  box-shadow: 0 8px 26px rgba(120, 70, 10, 0.10);
}

.about-story-card.pooja-intro-card::before {
  display: none;
}

.about-section-heading {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: clamp(1.4rem, 2.6vw, 1.85rem);
  font-weight: 800;
  color: var(--maroon-deep);
  margin-bottom: 8px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-heading-ornament {
  width: 140px;
  max-width: 60%;
  height: auto;
  margin-bottom: 20px;
  filter: brightness(0.95);
}

.about-p-text {
  font-size: 1.02rem;
  line-height: 2;
  color: var(--text-dark);
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphenate-character: "-";
  word-break: break-word;
  overflow-wrap: break-word;
  margin-bottom: 18px;
}

/* Frame for photo */
.about-photo-frame {
  position: relative;
  border-radius: 14px;
  overflow: hidden;
  border: 3px solid var(--gold);
  box-shadow: 0 8px 24px rgba(74, 8, 8, 0.2);
}

.about-photo-frame img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.4s ease;
}

.about-photo-frame:hover img {
  transform: scale(1.03);
}

/* Art frame without golden outline border */
.about-art-frame {
  position: relative;
  border: none;
  background: transparent;
  box-shadow: none;
  text-align: center;
}

.about-art-frame img {
  width: 100%;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
}

.about-photo-badge {
  position: absolute;
  bottom: 12px;
  left: 12px;
  right: 12px;
  background: rgba(42, 4, 4, 0.88);
  border: 1px solid var(--gold);
  color: var(--gold-bright);
  font-size: 0.84rem;
  font-weight: 700;
  text-align: center;
  padding: 6px 12px;
  border-radius: 8px;
  backdrop-filter: blur(4px);
}

/* Feature bullets */
.about-feature-pills {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.about-feature-pill {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 253, 248, 0.95);
  border: 1.2px solid rgba(201, 162, 39, 0.40);
  border-radius: 10px;
  padding: 10px 16px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--maroon-deep);
  box-shadow: 0 2px 8px rgba(120, 70, 10, 0.05);
  transition: all 0.2s ease;
}

.about-feature-pill:hover {
  background: #ffffff;
  border-color: var(--gold);
  transform: translateX(4px);
  box-shadow: 0 4px 12px rgba(120, 70, 10, 0.10);
}

.about-feature-pill i {
  color: var(--gold-dark);
  font-size: 1.15rem;
}

/* Read More Expandable & Toggle Button */
.about-readmore-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  background: rgba(122, 24, 24, 0.08);
  border: 1.5px solid var(--gold);
  color: var(--maroon-deep);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 6px 16px;
  border-radius: 20px;
  cursor: pointer;
  margin-top: 4px;
  margin-bottom: 16px;
  transition: all 0.25s ease;
}

.about-readmore-btn:hover,
.about-readmore-btn:active {
  background: var(--maroon-deep);
  color: var(--gold-bright);
  border-color: var(--gold-bright);
}

.about-readmore-btn .icon-arrow {
  transition: transform 0.25s ease;
  font-size: 0.85rem;
}

.about-readmore-btn.is-expanded .icon-arrow {
  transform: rotate(180deg);
}

.about-expandable {
  transition: all 0.35s ease;
}

@media (max-width: 991px) {
  .about-expandable:not(.is-expanded) {
    display: none;
  }
  .about-expandable.is-expanded {
    display: block;
    animation: fadeInAboutExpand 0.3s ease-in-out;
  }
}

@keyframes fadeInAboutExpand {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (min-width: 992px) {
  .about-expandable {
    display: block !important;
  }
  .about-readmore-btn {
    display: none !important;
  }
}

/* Quote Box */
.about-quote-box {
  background: #F3E4C8;
  border: 1.5px solid var(--gold);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.about-quote-text {
  color: var(--maroon-deep);
  font-size: 0.95rem;
  line-height: 1.6;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphenate-character: "-";
  word-break: break-word;
  overflow-wrap: break-word;
}

/* British Miracle Banner Card */
.about-miracle-card {
  background: linear-gradient(135deg, #4A0808 0%, #2A0404 100%);
  border: 2px solid var(--gold);
  border-radius: 16px;
  padding: clamp(26px, 4vw, 40px);
  color: #ffffff;
  box-shadow: 0 8px 28px rgba(42, 4, 4, 0.35);
  margin-bottom: 36px;
  position: relative;
  overflow: hidden;
}

.about-miracle-card::before {
  content: "";
  position: absolute;
  top: -50%;
  right: -20%;
  width: 300px;
  height: 300px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(201, 162, 39, 0.15) 0%, transparent 70%);
  pointer-events: none;
}

.about-miracle-heading {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: clamp(1.3rem, 2.4vw, 1.7rem);
  font-weight: 800;
  color: var(--gold-bright);
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.about-miracle-text {
  font-size: 1.02rem;
  line-height: 1.95;
  color: #F8E8CD;
  margin-bottom: 0;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphenate-character: "-";
  word-break: break-word;
  overflow-wrap: break-word;
}

/* Navaratri Schedule Card */
.about-navaratri-box {
  background: linear-gradient(135deg, #FFF2DC 0%, #FDEAC7 40%, #FCDCA1 75%, #FCCD71 100%);
  border: 2px solid #D5A457;
  border-radius: 16px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(120, 70, 10, 0.10);
  backdrop-filter: blur(3px);
}

.navaratri-time-row {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px;
  background: #ffffff;
  border: 1.2px solid rgba(201, 162, 39, 0.38);
  border-radius: 10px;
  margin-bottom: 12px;
}

.navaratri-time-row:last-child {
  margin-bottom: 0;
}

.navaratri-time-icon {
  background: var(--maroon-deep);
  color: var(--gold-bright);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  flex-shrink: 0;
}

.navaratri-time-title {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-transform: uppercase;
  margin-bottom: 2px;
}

.navaratri-time-desc {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--maroon-deep);
  margin-bottom: 0;
  line-height: 1.5;
}

/* ==========================================================================
   About Page - Saraswathi Deity Divine Animated Showcase
   ========================================================================== */
.about-saraswathi-wrapper {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem 0.5rem;
  margin: 0 auto;
  width: 100%;
  max-width: 580px;
}

.saraswathi-aura-glow {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88%;
  height: 88%;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 215, 0, 0.42) 0%, rgba(224, 159, 31, 0.24) 40%, rgba(201, 137, 26, 0.08) 65%, transparent 75%);
  border-radius: 50%;
  filter: blur(32px);
  pointer-events: none;
  animation: saraswathiAuraPulse 4s ease-in-out infinite;
  z-index: 1;
}

.about-saraswathi-img {
  position: relative;
  z-index: 2;
  width: 100%;
  max-width: 530px;
  height: auto;
  object-fit: contain;
  display: block;
  margin: 0 auto;
  filter: drop-shadow(0 8px 26px rgba(218, 165, 32, 0.48)) drop-shadow(0 2px 8px rgba(0, 0, 0, 0.12));
  animation: saraswathiFloatDivine 5s ease-in-out infinite;
  transition: transform 0.4s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.4s ease;
  cursor: pointer;
}

.about-saraswathi-wrapper:hover .about-saraswathi-img {
  transform: translateY(-14px) scale(1.035);
  filter: drop-shadow(0 16px 36px rgba(255, 215, 0, 0.75)) drop-shadow(0 4px 14px rgba(184, 134, 11, 0.4));
}

@keyframes saraswathiFloatDivine {
  0% {
    transform: translateY(0px) scale(1);
    filter: drop-shadow(0 6px 20px rgba(218, 165, 32, 0.4)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
  }

  50% {
    transform: translateY(-12px) scale(1.02);
    filter: drop-shadow(0 16px 32px rgba(255, 215, 0, 0.65)) drop-shadow(0 4px 12px rgba(184, 134, 11, 0.35));
  }

  100% {
    transform: translateY(0px) scale(1);
    filter: drop-shadow(0 6px 20px rgba(218, 165, 32, 0.4)) drop-shadow(0 2px 6px rgba(0, 0, 0, 0.1));
  }
}

@keyframes saraswathiAuraPulse {
  0% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.9);
  }

  50% {
    opacity: 0.95;
    transform: translate(-50%, -50%) scale(1.12);
  }

  100% {
    opacity: 0.55;
    transform: translate(-50%, -50%) scale(0.9);
  }
}

@media (max-width: 991px) {
  .about-saraswathi-wrapper {
    max-width: 460px;
    margin-top: 1.5rem;
  }

  .about-saraswathi-img {
    max-width: 420px;
  }
}

@media (max-width: 768px) {
  .about-saraswathi-wrapper {
    padding: 0.75rem 0.25rem;
    max-width: 380px;
  }

  .about-saraswathi-img {
    max-width: 350px;
  }
}

/* Call to Action Bar */
.about-cta-bar {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  justify-content: center;
  margin-top: 24px;
}

.about-cta-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, #7a1818 0%, #4a0808 100%);
  border: 2px solid var(--gold);
  color: var(--gold-bright);
  font-weight: 700;
  font-size: 0.95rem;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(74, 8, 8, 0.2);
  transition: all 0.25s ease;
}

.about-cta-btn:hover {
  background: var(--gold);
  color: var(--maroon-dark);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(201, 162, 39, 0.4);
}

/* ==========================================================================
   GALLERY PAGE STYLES (TEMPLE PHOTO GALLERY)
   ========================================================================== */
.gallery-hero-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(38, 4, 4, 0.88) 0%, rgba(26, 3, 3, 0.80) 50%, rgba(18, 2, 2, 0.86) 100%),
    url('images/temple/temple6.png') center center / cover no-repeat;
  padding: clamp(60px, 9vh, 90px) 20px clamp(80px, 12vh, 110px) 20px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

/* Filter pills */
.gallery-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 36px;
}

.gallery-filter-btn {
  background: rgba(255, 253, 248, 0.96);
  border: 1.5px solid rgba(201, 162, 39, 0.45);
  color: var(--maroon-deep);
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  padding: 8px 22px;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px rgba(120, 70, 10, 0.06);
}

.gallery-filter-btn:hover {
  background: var(--gold-light);
  color: var(--maroon-dark);
  transform: translateY(-2px);
}

.gallery-filter-btn.active {
  background: linear-gradient(135deg, #7a1818 0%, #4a0808 100%);
  border-color: var(--gold-bright);
  color: var(--gold-bright);
  box-shadow: 0 4px 14px rgba(74, 8, 8, 0.25);
}

/* Gallery Photo Cards */
.gallery-photo-card {
  background: linear-gradient(145deg, rgba(255, 253, 248, 0.97) 0%, rgba(254, 247, 236, 0.94) 100%);
  border: 2px solid #D5A457;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(120, 70, 10, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.gallery-photo-card:hover {
  transform: translateY(-6px);
  border-color: #B58428;
  box-shadow: 0 12px 30px rgba(74, 8, 8, 0.22), 0 0 14px rgba(201, 162, 39, 0.4);
}

.gallery-photo-img-wrap {
  position: relative;
  width: 100%;
  height: 270px;
  overflow: hidden;
  background: #2a0404;
  border-radius: 12px;
}

.gallery-photo-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.gallery-photo-card:hover .gallery-photo-img {
  transform: scale(1.08);
}

.gallery-photo-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(30, 3, 3, 0.80) 0%, rgba(30, 3, 3, 0.15) 60%, transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.gallery-photo-card:hover .gallery-photo-overlay {
  opacity: 1;
}

.gallery-zoom-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--gold);
  color: var(--maroon-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.55), 0 0 12px rgba(255, 208, 85, 0.4);
  transform: scale(0.85);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), background 0.2s ease, color 0.2s ease;
}

.gallery-photo-card:hover .gallery-zoom-icon {
  transform: scale(1.05);
  background: var(--gold-bright);
}

.gallery-photo-info {
  display: none !important;
}

.gallery-photo-title {
  display: none !important;
}

.gallery-photo-category {
  display: none !important;
}

/* Lightbox Modal (Clean Pure Image View with Zoom Controls) */
.temple-lightbox {
  position: fixed;
  inset: 0;
  background: rgba(12, 1, 1, 0.94);
  backdrop-filter: blur(10px);
  z-index: 1070;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
  user-select: none;
}

.temple-lightbox.active {
  opacity: 1;
  visibility: visible;
}

.lightbox-dialog {
  max-width: 1050px;
  width: 100%;
  max-height: 90vh;
  background: #140202;
  border: 2px solid #D5A457;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 14px 50px rgba(0, 0, 0, 0.85), 0 0 25px rgba(201, 162, 39, 0.25);
  position: relative;
  display: flex;
  flex-direction: column;
  transform: scale(0.92);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.temple-lightbox.active .lightbox-dialog {
  transform: scale(1);
}

.lightbox-close-btn {
  position: absolute;
  top: 14px;
  right: 14px;
  background: rgba(30, 4, 4, 0.85);
  border: 1.5px solid #D5A457;
  color: #FFD055;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 25;
  transition: all 0.25s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
}

.lightbox-close-btn:hover {
  background: #C9921A;
  color: #1A0303;
  transform: rotate(90deg) scale(1.08);
  border-color: #FFE599;
}

/* Floating Zoom Toolbar */
.lightbox-zoom-toolbar {
  position: absolute;
  bottom: 16px;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(26, 3, 3, 0.88);
  border: 1.5px solid rgba(213, 164, 87, 0.6);
  border-radius: 30px;
  padding: 5px 12px;
  display: flex;
  align-items: center;
  gap: 8px;
  z-index: 25;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.65), 0 0 10px rgba(201, 162, 39, 0.2);
  backdrop-filter: blur(6px);
}

.lightbox-tool-btn {
  background: transparent;
  border: none;
  color: #FFD055;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.15rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.lightbox-tool-btn:hover {
  background: rgba(201, 162, 39, 0.3);
  color: #FFFFFF;
  transform: scale(1.15);
}

.lightbox-img-box {
  position: relative;
  width: 100%;
  height: 80vh;
  max-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #0D0101;
  overflow: hidden;
  cursor: zoom-in;
}

.lightbox-img-box.is-zoomed {
  cursor: grab;
}

.lightbox-img-box.is-dragging {
  cursor: grabbing;
}

.lightbox-img-box img {
  max-width: 100%;
  max-height: 80vh;
  width: auto;
  height: auto;
  object-fit: contain;
  display: block;
  user-select: none;
  -webkit-user-drag: none;
  transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1);
  transform-origin: center center;
}

.lightbox-caption-box {
  display: none !important;
}

/* ==========================================================================
   ARTIST GALLERY STYLES (MUSICAL HERITAGE & ARTISTS)
   ========================================================================== */
.artist-hero-banner {
  position: relative;
  background: linear-gradient(to right, rgba(40, 4, 4, 0.82) 0%, rgba(35, 4, 4, 0.70) 45%, rgba(25, 3, 3, 0.48) 80%, rgba(20, 2, 2, 0.58) 100%),
    url('images/temple/background4.png') no-repeat right center / cover;
  padding: clamp(60px, 9vh, 90px) 20px clamp(80px, 12vh, 110px) 20px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

.artist-intro-card {
  background: linear-gradient(135deg, #FFF2DC 0%, #FDEAC7 40%, #FCDCA1 75%, #FCCD71 100%);
  border: 2px solid #D5A457;
  border-radius: 18px;
  padding: 26px 32px;
  margin-bottom: 36px;
  text-align: center;
  box-shadow: 0 8px 28px rgba(120, 70, 10, 0.12);
  position: relative;
  backdrop-filter: blur(3px);
}

.artist-intro-text {
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--maroon-deep);
  margin-bottom: 0;
  font-weight: 500;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
}

.artist-card {
  background: linear-gradient(180deg, #F9EED9 0%, #F3E4C7 100%);
  border: 1.8px solid #C49C48;
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 4px 16px rgba(120, 70, 10, 0.08);
  transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  cursor: pointer;
  height: 100%;
  display: flex;
  flex-direction: column;
}

.artist-card:hover {
  transform: translateY(-6px);
  border-color: #B58428;
  box-shadow: 0 10px 24px rgba(120, 70, 10, 0.16);
}

.artist-img-wrap {
  position: relative;
  width: 100%;
  height: 260px;
  overflow: hidden;
  background: #2a0404;
}

.artist-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

.artist-card:hover .artist-img {
  transform: scale(1.08);
}

.artist-card-info {
  padding: 16px 18px;
  background: linear-gradient(180deg, #FAF1DC 0%, #F3E5C7 50%, #ECD8AB 100%);
  border-top: 1px solid rgba(196, 156, 72, 0.45);
  flex-grow: 1;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.artist-name {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 4px;
}

.artist-instrument-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  color: var(--gold-dark);
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.artist-instrument-badge i {
  color: var(--gold);
}

/* ==========================================================================
   POOJA PAGE STYLES (DETAILED VAZHIPADUKAL SHOWCASE)
   ========================================================================== */
.pooja-hero-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(38, 4, 4, 0.72) 0%, rgba(26, 3, 3, 0.48) 50%, rgba(18, 2, 2, 0.68) 100%),
    url('images/temple/background1.png') right center / cover no-repeat;
  padding: clamp(60px, 9vh, 90px) 20px clamp(80px, 12vh, 110px) 20px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

/* Pooja Intro Section Enhancements */
.pooja-intro-heading {
  font-size: clamp(1.65rem, 3.2vw, 2.35rem) !important;
  font-weight: 800;
  line-height: 1.35;
  color: var(--maroon-deep) !important;
}

.pooja-intro-highlight {
  background: #E8D4BC;
  border: 1px solid rgba(196, 152, 61, 0.40);
  border-radius: 10px;
  padding: 12px 18px;
  margin-top: 14px;
  font-size: 0.98rem;
  font-weight: 600;
  color: var(--maroon-deep) !important;
  line-height: 1.7;
  display: block;
  box-shadow: inset 0 1px 3px rgba(255, 255, 255, 0.4);
}

.pooja-intro-highlight strong {
  color: var(--maroon-deep) !important;
  font-weight: 700;
}

/* Sacred Golden Mandala Chakra Aura (Matching Reference) */
.pooja-intro-aura-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto;
}

.pooja-mandala-aura {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  z-index: 1;
  opacity: 1;
  filter: none;
  background: transparent;
  animation: mandalaAuraSpin 60s linear infinite;
  transform-origin: center center;
}

@keyframes mandalaAuraSpin {
  from {
    transform: rotate(0deg);
  }

  to {
    transform: rotate(360deg);
  }
}

.pooja-intro-icon-wrap {
  position: relative;
  width: 106px;
  height: 106px;
  border-radius: 50%;
  background: #FAF3E5;
  border: 2.5px solid #DCA12D;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 14px;
  box-shadow: 0 4px 14px rgba(120, 70, 10, 0.12);
  z-index: 2;
  transition: transform 0.3s ease;
}

.pooja-intro-aura-wrapper:hover .pooja-intro-icon-wrap {
  transform: scale(1.04);
}

.pooja-intro-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: drop-shadow(0 2px 4px rgba(74, 8, 8, 0.2));
}

@media (max-width: 576px) {
  .pooja-intro-aura-wrapper {
    width: 190px;
    height: 190px;
  }

  .pooja-intro-icon-wrap {
    width: 92px;
    height: 92px;
    padding: 12px;
  }
}

/* Category Filter Tabs */
.pooja-filter-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: center;
  margin-bottom: 24px;
}

.pooja-filter-btn {
  background: rgba(255, 253, 248, 0.96);
  border: 1.5px solid rgba(201, 162, 39, 0.45);
  color: var(--maroon-deep);
  font-family: 'Poppins', 'Noto Serif Malayalam', sans-serif;
  font-size: 0.88rem;
  font-weight: 600;
  padding: 8px 18px;
  border-radius: 25px;
  transition: all 0.25s ease;
  box-shadow: 0 2px 6px rgba(120, 70, 10, 0.06);
}

.pooja-filter-btn:hover {
  background: #FFF8EB;
  color: var(--gold-dark);
  border-color: var(--gold-bright);
  transform: translateY(-2px);
}

.pooja-filter-btn.active {
  background: #C9921A;
  color: #ffffff;
  border-color: #C9921A;
  box-shadow: 0 4px 12px rgba(201, 146, 26, 0.4);
}

/* Pooja Cards Grid (Matching Reference Image 2) */
.pooja-card {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #F9EED9 0%, #F3E4C7 100%);
  border: 1.5px solid #C49C48;
  border-radius: 14px;
  padding: 24px 22px 20px;
  box-shadow: 0 4px 16px rgba(120, 70, 10, 0.08);
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1), box-shadow 0.3s ease, border-color 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(3px);
}

.pooja-card:hover {
  transform: translateY(-5px);
  border-color: #B58428;
  box-shadow: 0 10px 24px rgba(120, 70, 10, 0.16);
}

/* Conch Shell Watermark Background */
.pooja-card::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 230px;
  height: 230px;
  background-image: url('images/icon_image/trans_shell_icon.png');
  background-repeat: no-repeat;
  background-position: center;
  background-size: contain;
  opacity: 0.08;
  pointer-events: none;
  transition: opacity 0.35s ease, transform 0.35s ease;
  z-index: 0;
}

.pooja-card:hover::before {
  opacity: 0.15;
  transform: translate(-50%, -50%) scale(1.05);
}

.pooja-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 14px;
}

.pooja-icon-circle {
  width: 54px;
  height: 54px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FFF9ED 0%, #F5DEB3 100%);
  border: 1.5px solid var(--gold);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
  flex-shrink: 0;
  box-shadow: 0 2px 8px rgba(201, 162, 39, 0.2);
}

.pooja-card-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.pooja-badge {
  background: rgba(74, 8, 8, 0.08);
  color: var(--maroon-deep);
  border: 1px solid rgba(122, 24, 24, 0.22);
  font-size: 0.74rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 12px;
}

.pooja-card-title {
  position: relative;
  z-index: 1;
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 1.20rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 10px;
  line-height: 1.45;
  word-break: break-word;
  overflow-wrap: break-word;
}

.pooja-card-desc {
  position: relative;
  z-index: 1;
  font-size: 0.90rem;
  color: #4a2c2c;
  line-height: 1.6;
  margin-bottom: 16px;
  flex-grow: 1;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  -ms-hyphens: auto;
  hyphenate-character: "-";
  word-break: break-word;
  overflow-wrap: break-word;
}

.pooja-card-footer {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 10px;
  border-top: 1px dashed rgba(196, 156, 72, 0.40);
  padding-top: 12px;
  margin-top: auto;
}

.pooja-tag {
  font-size: 0.82rem;
  font-weight: 600;
  color: #8C531B;
  display: inline-flex;
  align-items: center;
  min-width: 0;
  flex: 1 1 auto;
  line-height: 1.3;
}

.pooja-tag i {
  color: #C9921A;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.pooja-call-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  min-width: 36px;
  min-height: 36px;
  border-radius: 50%;
  aspect-ratio: 1 / 1;
  background: transparent;
  border: 2px solid var(--maroon-deep);
  color: var(--maroon-deep) !important;
  text-decoration: none;
  box-shadow: 0 2px 6px rgba(74, 8, 8, 0.12);
  transition: all 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  white-space: nowrap;
  margin-left: auto;
  flex: 0 0 36px;
  flex-shrink: 0;
  padding: 0;
}

.pooja-call-btn:hover {
  background: var(--maroon-deep);
  border-color: var(--maroon-deep);
  color: var(--gold-bright) !important;
  transform: translateY(-2px) scale(1.08);
  box-shadow: 0 4px 12px rgba(74, 8, 8, 0.35);
}

.pooja-call-btn i {
  font-size: 0.95rem;
  color: var(--maroon-deep);
  transition: color 0.25s ease, transform 0.25s ease;
  margin: 0 !important;
  line-height: 1;
}

.pooja-call-btn:hover i {
  color: var(--gold-bright);
  transform: rotate(12deg);
}

.pooja-book-link {
  display: inline-flex;
  align-items: center;
  background: linear-gradient(135deg, #7a1818 0%, #4a0808 100%);
  color: var(--gold-bright);
  font-size: 0.80rem;
  font-weight: 600;
  padding: 5px 12px;
  border-radius: 20px;
  text-decoration: none;
  border: 1px solid var(--gold);
  transition: all 0.2s ease;
}

.pooja-book-link:hover {
  background: var(--gold);
  color: var(--maroon-deep);
  border-color: var(--gold-bright);
  transform: scale(1.04);
}

/* Pooja View More & Pagination */
.pooja-item.pooja-extra {
  display: none;
}

.pooja-item.pooja-extra.show-extra {
  display: block;
  animation: poojaFadeInUp 0.45s cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

@keyframes poojaFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

#poojaViewMoreWrapper {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
  margin-left: auto;
  margin-right: auto;
  box-sizing: border-box;
}

.pooja-view-more-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  background: linear-gradient(135deg, #7A1818 0%, #4A0808 100%);
  color: #FFDE8A !important;
  font-family: 'Noto Serif Malayalam', 'Poppins', sans-serif;
  font-size: 0.98rem;
  font-weight: 600;
  padding: 12px 34px;
  border-radius: 30px;
  border: 1.5px solid var(--gold);
  box-shadow: 0 6px 18px rgba(74, 8, 8, 0.18);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  cursor: pointer;
  max-width: 100%;
  box-sizing: border-box;
}

.pooja-view-more-btn:hover {
  background: linear-gradient(135deg, #C9921A 0%, #E6AF2E 100%);
  color: #3D0404 !important;
  border-color: #FFE6A3;
  transform: translateY(-2px);
  box-shadow: 0 10px 24px rgba(201, 146, 26, 0.35);
}

.pooja-view-more-btn .btn-icon {
  display: inline-block;
  transition: transform 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  font-size: 0.9rem;
}

.pooja-view-more-btn.expanded .btn-icon {
  transform: rotate(180deg);
}

/* Dedicated Booking Banner */
.pooja-booking-banner {
  background: linear-gradient(135deg, #FAF1DC 0%, #F3E5C7 100%);
  border: 2px solid #DCA12D;
  border-radius: 16px;
  padding: 24px 28px;
  box-shadow: 0 6px 20px rgba(120, 70, 10, 0.08);
  backdrop-filter: blur(3px);
}

.booking-banner-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  margin-bottom: 8px;
}

.booking-banner-icon {
  width: 50px;
  height: 50px;
  min-width: 50px;
  min-height: 50px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  background: var(--maroon-deep);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 12px rgba(74, 8, 8, 0.3);
  flex-shrink: 0;
}

.booking-banner-title {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 0;
  line-height: 1.35;
}

.booking-banner-subtitle {
  font-size: 0.92rem;
  color: #4a2c2c;
  line-height: 1.6;
}

.booking-phone-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #C9921A 0%, #B8860B 100%);
  color: #240202;
  font-size: 1.25rem;
  font-weight: 800;
  padding: 12px 28px;
  border-radius: 30px;
  text-decoration: none;
  box-shadow: 0 4px 14px rgba(201, 162, 39, 0.4);
  border: 2px solid #FFE285;
  transition: all 0.25s ease;
  white-space: nowrap;
}

.booking-phone-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 162, 39, 0.6);
  color: #000;
}

/* Pooja Info Boxes */
.pooja-info-box {
  background: linear-gradient(145deg, #FAF1DC 0%, #F3E5C7 100%);
  border: 1.5px solid #C49C48;
  border-top: 4px solid #DCA12D;
  border-radius: 16px;
  padding: 28px 24px;
  height: 100%;
  box-shadow: 0 6px 20px rgba(120, 70, 10, 0.08);
  backdrop-filter: blur(3px);
}

.pooja-info-title {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 1.22rem;
  font-weight: 700;
  color: var(--maroon-deep);
}

/* Redesigned Timing Box (Left Column) */
.pooja-timing-box {
  background: linear-gradient(145deg, #FAF1DC 0%, #F3E5C7 100%);
  border: 1.5px solid #C49C48;
  border-top: 4px solid #DCA12D;
  border-radius: 16px;
  box-shadow: 0 6px 20px rgba(120, 70, 10, 0.08);
  backdrop-filter: blur(3px);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 28px 24px;
}

.pooja-timing-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  margin-bottom: 18px;
  padding-bottom: 10px;
  border-bottom: 1.5px dashed rgba(201, 162, 39, 0.45);
  width: 85%;
  max-width: 320px;
}

.pooja-timing-header i {
  font-size: 1.45rem;
  color: var(--gold);
}

.pooja-timing-header .pooja-info-title {
  font-size: 1.28rem;
  color: var(--maroon-deep);
}

.pooja-timing-cards {
  width: 100%;
  max-width: 380px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pooja-timing-item {
  background: #ffffff;
  border: 1.2px solid rgba(201, 162, 39, 0.38);
  border-radius: 10px;
  padding: 12px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(120, 70, 10, 0.05);
  transition: all 0.25s ease;
}

.pooja-timing-item:hover {
  transform: translateY(-2px);
  border-color: var(--gold);
  box-shadow: 0 6px 16px rgba(201, 162, 39, 0.2);
}

.timing-period {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--maroon-deep);
  display: flex;
  align-items: center;
}

.timing-period i {
  color: var(--gold);
  font-size: 1.15rem;
}

.timing-hours {
  font-family: 'Poppins', sans-serif;
  font-size: 1.06rem;
  font-weight: 700;
  color: var(--maroon-deep);
  letter-spacing: 0.3px;
}

@media (max-width: 480px) {
  .pooja-timing-item {
    flex-direction: column;
    gap: 4px;
    text-align: center;
    padding: 10px 14px;
  }

  .timing-hours {
    font-size: 0.98rem;
  }
}

/* Instructions Box (Right Column) */
.pooja-instructions-box {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 26px 24px;
}

.pooja-info-list {
  list-style: none;
  padding-left: 0;
  margin-bottom: 0;
  font-size: 0.98rem;
  color: #3d2323;
  line-height: 1.8;
}

.pooja-info-list li {
  position: relative;
  padding-left: 20px;
  margin-bottom: 10px;
}

.pooja-info-list li:last-child {
  margin-bottom: 0;
}

.pooja-info-list li::before {
  content: '•';
  color: var(--gold-dark);
  font-size: 1.3rem;
  position: absolute;
  left: 2px;
  top: -3px;
}

/* ==========================================================================
   CONTACT PAGE STYLES (WHATSAPP INQUIRY & POOJA FORM)
   ========================================================================== */
.contact-hero-banner {
  position: relative;
  background: linear-gradient(135deg, rgba(38, 4, 4, 0.88) 0%, rgba(26, 3, 3, 0.80) 50%, rgba(18, 2, 2, 0.86) 100%),
    url('images/temple/background2.png') center center / cover no-repeat;
  padding: clamp(60px, 9vh, 90px) 20px clamp(80px, 12vh, 110px) 20px;
  text-align: center;
  color: #ffffff;
  overflow: hidden;
}

/* Quick Info Cards */
.contact-quick-card {
  background: linear-gradient(135deg, #FFF2DC 0%, #FDEAC7 40%, #FCDCA1 75%, #FCCD71 100%);
  border: 2px solid #D5A457;
  border-radius: 16px;
  padding: 22px 18px;
  text-align: center;
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 8px 24px rgba(120, 70, 10, 0.10);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  backdrop-filter: blur(3px);
}

.contact-quick-card:hover {
  transform: translateY(-4px);
  border-color: var(--gold-bright);
  box-shadow: 0 12px 28px rgba(120, 70, 10, 0.16);
}

.contact-quick-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--maroon-deep);
  color: var(--gold-bright);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  margin-bottom: 14px;
  box-shadow: 0 4px 12px rgba(74, 8, 8, 0.2);
}

.contact-quick-title {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 1.05rem;
  font-weight: 700;
  color: var(--maroon-deep);
  margin-bottom: 8px;
}

.contact-quick-text {
  font-size: 0.86rem;
  color: #4a2c2c;
  line-height: 1.55;
  margin-bottom: 12px;
  flex-grow: 1;
}

.contact-quick-link {
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--gold-dark);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  transition: all 0.2s ease;
  padding: 4px 12px;
  border-radius: 16px;
  background: rgba(201, 162, 39, 0.1);
}

.contact-quick-link:hover {
  color: var(--maroon-deep);
  background: var(--gold-bright);
}

/* Contact Form Card (Matching Reference Image) */
.contact-form-card {
  background: linear-gradient(135deg, #FFF2DC 0%, #FDEAC7 40%, #FCDCA1 75%, #FCCD71 100%);
  border: 2px solid #D5A457;
  border-radius: 18px;
  padding: clamp(24px, 4vw, 36px);
  box-shadow: 0 8px 28px rgba(120, 70, 10, 0.12);
  height: 100%;
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(3px);
  position: relative;
}

.contact-form-heading {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 1.35rem;
  font-weight: 700;
  color: var(--maroon-deep);
}

.contact-form-subtext {
  font-size: 0.90rem;
  color: #4a1a1a;
  line-height: 1.65;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
}

.temple-form-label {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 0.90rem;
  font-weight: 600;
  color: var(--maroon-deep);
  margin-bottom: 6px;
}

.temple-input-icon {
  background: #FFF6E5;
  border: 1px solid rgba(196, 156, 72, 0.45);
  color: #8C531B;
  border-right: none;
  font-size: 0.95rem;
}

/* Unified Temple Form Input / Select Wrapper with Icon Badge */
.temple-input-wrap {
  position: relative;
  width: 100%;
}

.temple-input-icon-badge {
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 44px;
  background: #FFF6E5;
  border: 1px solid rgba(196, 156, 72, 0.45);
  border-right: 1px solid rgba(196, 156, 72, 0.35);
  border-top-left-radius: 8px;
  border-bottom-left-radius: 8px;
  color: #8C531B;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  pointer-events: none;
  z-index: 3;
  transition: border-color 0.2s ease;
}

.temple-form-input.temple-has-icon {
  width: 100% !important;
  padding-left: 52px !important;
  border-radius: 8px !important;
}

.temple-input-wrap:focus-within .temple-input-icon-badge {
  border-color: #DCA12D;
}

.temple-form-input {
  border: 1px solid rgba(196, 156, 72, 0.45);
  background-color: #ffffff;
  color: #240202;
  font-size: 0.92rem;
  padding: 10px 14px;
  accent-color: #640C0C;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.temple-form-input:focus {
  border-color: #DCA12D;
  box-shadow: 0 0 0 3px rgba(220, 161, 45, 0.20);
  outline: none;
  background-color: #ffffff;
  color: #240202;
}

.contact-form-card ::selection {
  background: #FFD055;
  color: #4A0808;
}

select.temple-form-input {
  max-width: 100%;
}

select.temple-form-input option {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 0.90rem;
  padding: 8px 12px;
  background-color: #ffffff;
  color: #240202;
}

.contact-whatsapp-submit-btn {
  background: #4A0808;
  color: #FFFFFF !important;
  font-family: 'Noto Serif Malayalam', 'Poppins', sans-serif;
  font-weight: 700;
  font-size: 1.02rem;
  padding: 13px 26px;
  border-radius: 30px;
  border: 1.5px solid rgba(220, 161, 45, 0.60);
  box-shadow: 0 4px 14px rgba(74, 8, 8, 0.25);
  transition: all 0.25s ease;
  text-transform: none;
  cursor: pointer;
}

.contact-whatsapp-submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 22px rgba(74, 8, 8, 0.35);
  color: #FFDE8A !important;
  background: #640C0C;
  border-color: #DCA12D;
}

.contact-form-notice {
  font-size: 0.82rem;
  color: #5A2A1A;
}

/* Helpline Card (Rich Amber-Brown Gradient Matching Reference Image) */
.contact-helpline-card {
  background: linear-gradient(135deg, #742506 0%, #8C3E0A 50%, #A85A10 100%);
  border: 2px solid rgba(220, 161, 45, 0.80);
  border-radius: 18px;
  padding: 24px;
  box-shadow: 0 8px 24px rgba(100, 40, 10, 0.20);
  backdrop-filter: blur(3px);
  position: relative;
  overflow: hidden;
}

.helpline-icon-circle {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: #FBD17F;
  color: #5B1B04;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.helpline-title {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 1.20rem;
  font-weight: 700;
  color: #FFFFFF;
}

.helpline-sub {
  font-size: 0.84rem;
  font-weight: 600;
  color: #FFE39B;
  letter-spacing: 0.02em;
}

.helpline-text {
  font-size: 0.90rem;
  color: #FDE8C8;
  line-height: 1.6;
  margin-bottom: 0;
  text-align: justify;
  text-justify: inter-word;
  hyphens: auto;
  -webkit-hyphens: auto;
  word-break: break-word;
}

.contact-call-btn {
  background: #FAF0DC;
  color: #4A1806 !important;
  font-weight: 700;
  font-size: 0.90rem;
  padding: 10px 18px;
  border-radius: 25px;
  border: 1px solid rgba(220, 161, 45, 0.50);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  text-align: center;
}

.contact-call-btn:hover {
  background: #FFFFFF;
  color: #3A1004 !important;
  border-color: #DCA12D;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

.contact-wa-btn {
  background: #FAF0DC;
  color: #4A1806 !important;
  font-weight: 700;
  font-size: 0.90rem;
  padding: 10px 18px;
  border-radius: 25px;
  border: 1px solid rgba(220, 161, 45, 0.50);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
  transition: all 0.25s ease;
  text-align: center;
}

.contact-wa-btn:hover {
  background: #FFFFFF;
  color: #3A1004 !important;
  border-color: #DCA12D;
  transform: translateY(-2px);
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.22);
}

/* Map Card (Matching Double Shade Reference Image) */
.contact-map-card {
  background: linear-gradient(135deg, #FFF2DC 0%, #FDEAC7 40%, #FCDCA1 75%, #FCCD71 100%);
  border: 2px solid #D5A457;
  border-radius: 18px;
  padding: 22px;
  box-shadow: 0 8px 28px rgba(120, 70, 10, 0.12);
  display: flex;
  flex-direction: column;
  backdrop-filter: blur(3px);
}

.contact-map-title {
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--maroon-deep);
}

.contact-map-embed-wrapper {
  border-radius: 12px;
  overflow: hidden;
  border: 1.5px solid rgba(196, 156, 72, 0.45);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.08);
  position: relative;
  width: 100%;
  min-height: 280px;
  flex: 1 1 auto;
}

.contact-map-embed-wrapper iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

.contact-map-sub {
  font-size: 0.85rem;
  color: #5a3838;
  font-weight: 600;
}

.contact-maps-direct-btn {
  background: linear-gradient(135deg, #FDC752 0%, #EEB432 100%);
  color: #3D1202 !important;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 7px 16px;
  border-radius: 22px;
  border: 1px solid #DCA12D;
  box-shadow: 0 2px 8px rgba(120, 70, 10, 0.15);
  text-decoration: none;
  transition: all 0.2s ease;
}

.contact-maps-direct-btn:hover {
  background: #FFD25E;
  color: #000000 !important;
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(120, 70, 10, 0.25);
}

/* ==========================================================================
   MEDIUM / MOBILE RESPONSIVE TWEAKS (< 768px)
   ========================================================================== */
@media (max-width: 767px) {
  /* About page tablet/mobile adjustments */
  .about-hero-banner {
    padding: 50px 10px 75px 10px;
  }

  .about-breadcrumb {
    padding: 4px 12px;
    font-size: 0.75rem;
    gap: 5px;
    margin-bottom: 14px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
  }

  .about-breadcrumb a,
  .about-breadcrumb .current {
    font-size: 0.75rem;
  }

  .about-section-heading {
    font-size: 1.28rem;
    margin-bottom: 6px;
  }

  .about-heading-ornament {
    margin-bottom: 14px;
  }

  .about-p-text {
    font-size: 0.88rem;
    line-height: 1.75;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphenate-character: "-";
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 14px;
  }

  .about-feature-pills {
    gap: 8px;
    margin-top: 14px;
  }

  .about-feature-pill {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 10px 14px;
    font-size: 0.84rem;
    line-height: 1.5;
    text-align: left;
    border-radius: 9px;
  }

  .about-feature-pill i {
    font-size: 1.05rem;
    flex-shrink: 0;
    margin-top: 2px;
  }

  .about-feature-pill span {
    flex: 1;
    text-align: left;
    font-weight: 600;
  }

  .about-quote-box {
    padding: 12px 14px !important;
    margin-top: 12px;
    border-radius: 10px !important;
  }

  .about-quote-text {
    font-size: 0.84rem !important;
    line-height: 1.55 !important;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphenate-character: "-";
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .about-miracle-card {
    padding: 22px 16px;
    margin-bottom: 24px;
    border-radius: 14px;
  }

  .about-miracle-heading {
    font-size: 1.15rem;
  }

  .about-miracle-text {
    font-size: 0.88rem;
    line-height: 1.75;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphenate-character: "-";
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .about-cta-bar {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 20px auto 0;
    gap: 10px;
  }

  .about-cta-btn {
    width: 100%;
    justify-content: center;
    font-size: 0.86rem;
    padding: 11px 18px;
    border-radius: 25px;
  }

  /* Pooja page tablet/mobile adjustments */
  .pooja-hero-banner {
    padding: 50px 10px 75px 10px;
    background: linear-gradient(135deg, rgba(38, 4, 4, 0.68) 0%, rgba(26, 3, 3, 0.44) 50%, rgba(18, 2, 2, 0.65) 100%),
      url('images/temple/background1.png') right center / cover no-repeat;
  }

  .pooja-intro-heading {
    font-size: 1.18rem !important;
    line-height: 1.4 !important;
  }

  .pooja-card-desc {
    font-size: 0.85rem;
    line-height: 1.55;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    word-break: break-word;
    overflow-wrap: break-word;
  }

  #poojaViewMoreWrapper {
    margin-top: 2rem !important;
    padding: 0 10px;
    display: flex !important;
    justify-content: center !important;
  }

  .pooja-view-more-btn {
    font-size: 0.86rem;
    padding: 10px 18px;
    white-space: nowrap;
    border-radius: 25px;
    max-width: 100%;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .pooja-card-footer {
    flex-wrap: nowrap !important;
    gap: 8px;
    padding-top: 10px;
  }

  .pooja-tag {
    font-size: 0.76rem;
    min-width: 0;
    flex: 1 1 auto;
  }

  .pooja-call-btn {
    width: 34px;
    height: 34px;
    min-width: 34px;
    min-height: 34px;
    flex: 0 0 34px;
  }

  .pooja-call-btn i {
    font-size: 0.88rem;
  }

  .pooja-booking-banner {
    padding: 20px 16px;
    margin-top: 30px !important;
    margin-bottom: 24px;
    border-radius: 14px;
  }

  .booking-banner-header {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 10px !important;
    margin-bottom: 8px !important;
  }

  .booking-banner-icon {
    width: 42px;
    height: 42px;
    min-width: 42px;
    min-height: 42px;
    aspect-ratio: 1 / 1;
    font-size: 1.1rem;
    flex-shrink: 0;
    margin: 0;
  }

  .booking-banner-title {
    font-size: 1.05rem;
    line-height: 1.35;
    margin-bottom: 0 !important;
  }

  .booking-banner-subtitle {
    font-size: 0.85rem;
    line-height: 1.55;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    word-break: break-word;
  }

  .booking-phone-btn {
    font-size: 0.98rem;
    padding: 10px 22px;
    width: 100%;
    max-width: 280px;
    margin: 14px auto 0 auto;
    display: inline-flex;
    justify-content: center;
    border-radius: 25px;
  }

  .pooja-info-box {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .pooja-info-title {
    font-size: 1.08rem;
  }

  .pooja-info-list {
    font-size: 0.86rem;
    line-height: 1.6;
  }

  .pooja-info-list li {
    padding-left: 18px;
    margin-bottom: 8px;
  }
}

/* ==========================================================================
   SMALL MOBILE SCREEN REFINEMENTS (Responsive Protection < 576px & < 400px)
   ========================================================================== */
@media (max-width: 575px) {
  .about-hero-banner {
    padding: 40px 6px 65px 6px;
  }

  .about-breadcrumb {
    padding: 3px 10px;
    font-size: 0.70rem;
    gap: 4px;
    margin-bottom: 12px;
    max-width: 100%;
    box-sizing: border-box;
    white-space: nowrap;
    border-radius: 20px;
  }

  .about-breadcrumb a,
  .about-breadcrumb .current {
    font-size: 0.70rem;
  }

  .about-hero-title {
    font-size: clamp(1.45rem, 6.2vw, 2.1rem);
  }

  .about-hero-subtitle {
    font-size: 0.90rem;
    line-height: 1.55;
    padding: 0 10px;
    text-align: justify;
    text-justify: inter-word;
    text-align-last: center;
    hyphens: auto;
    -webkit-hyphens: auto;
    word-break: break-word;
    max-width: 480px;
  }

  .about-story-card {
    padding: 20px 14px;
    border-radius: 14px;
    margin-bottom: 24px;
  }

  .about-section-heading {
    font-size: 1.18rem;
  }

  .about-p-text {
    font-size: 0.85rem;
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphenate-character: "-";
    word-break: break-word;
    overflow-wrap: break-word;
    margin-bottom: 12px;
  }

  .about-readmore-btn {
    font-size: 0.78rem;
    padding: 5px 12px;
  }

  .about-feature-pill {
    padding: 9px 12px;
    font-size: 0.80rem;
    line-height: 1.45;
  }

  .about-feature-pill i {
    font-size: 0.98rem;
  }

  .about-quote-box {
    padding: 10px 12px !important;
  }

  .about-quote-text {
    font-size: 0.80rem !important;
    line-height: 1.5 !important;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphenate-character: "-";
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .about-miracle-card {
    padding: 18px 12px;
  }

  .about-miracle-heading {
    font-size: 1.05rem;
  }

  .about-miracle-text {
    font-size: 0.84rem;
    line-height: 1.7;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    -ms-hyphens: auto;
    hyphenate-character: "-";
    word-break: break-word;
    overflow-wrap: break-word;
  }

  .about-cta-bar {
    max-width: 290px;
    gap: 9px;
  }

  .about-cta-btn {
    font-size: 0.84rem;
    padding: 10px 16px;
  }

  .about-navaratri-box {
    padding: 16px 12px;
    border-radius: 12px;
  }

  .pooja-intro-card,
  .artist-intro-card {
    padding: 18px 14px;
    border-radius: 14px;
    margin-bottom: 24px;
  }

  .artist-intro-text {
    font-size: 0.85rem;
    line-height: 1.65;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
    word-break: break-word;
  }

  .pooja-card {
    padding: 18px 14px 16px;
    border-radius: 12px;
  }

  .artist-card-info {
    padding: 14px 12px;
  }

  /* Contact page mobile refinements */
  .contact-form-card,
  .contact-map-card,
  .contact-helpline-card {
    padding: 18px 14px;
    border-radius: 14px;
  }

  .contact-form-heading {
    font-size: 1.15rem;
  }

  .contact-form-subtext {
    font-size: 0.82rem;
    line-height: 1.55;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .temple-form-label {
    font-size: 0.82rem;
    margin-bottom: 3px;
  }

  .temple-input-icon {
    padding: 6px 9px;
    font-size: 0.85rem;
    min-width: 36px;
    justify-content: center;
  }

  .temple-input-icon-badge {
    width: 38px;
    font-size: 0.88rem;
    border-top-left-radius: 7px;
    border-bottom-left-radius: 7px;
  }

  .temple-form-input {
    font-size: 0.84rem;
    padding: 7px 10px;
  }

  .temple-form-input.temple-has-icon {
    padding-left: 44px !important;
    font-size: 0.84rem;
    border-radius: 7px !important;
  }

  .form-select.temple-form-input {
    padding-right: 28px;
    font-size: 0.84rem;
  }

  select.temple-form-input option {
    font-size: 0.82rem;
    padding: 6px 8px;
  }

  .contact-whatsapp-submit-btn {
    font-size: 0.86rem;
    padding: 10px 16px;
    border-radius: 25px;
    line-height: 1.35;
    white-space: normal;
  }

  .contact-form-notice {
    font-size: 0.74rem;
    line-height: 1.4;
  }

  .contact-helpline-card {
    padding: 16px 14px;
    margin-bottom: 24px;
  }

  .helpline-icon-circle {
    width: 42px;
    height: 42px;
    font-size: 1.15rem;
  }

  .helpline-title {
    font-size: 1.05rem;
  }

  .helpline-sub {
    font-size: 0.76rem;
  }

  .helpline-text {
    font-size: 0.82rem;
    line-height: 1.55;
    text-align: justify;
    text-justify: inter-word;
    hyphens: auto;
    -webkit-hyphens: auto;
  }

  .contact-call-btn,
  .contact-wa-btn {
    font-size: 0.82rem;
    padding: 8px 12px;
    border-radius: 22px;
    white-space: nowrap;
  }

  /* Pooja page small mobile adjustments */
  .pooja-hero-banner {
    padding: 40px 6px 65px 6px;
    background: linear-gradient(135deg, rgba(38, 4, 4, 0.65) 0%, rgba(26, 3, 3, 0.40) 50%, rgba(18, 2, 2, 0.62) 100%),
      url('images/temple/background1.png') right center / cover no-repeat;
  }

  .pooja-intro-heading {
    font-size: 1.05rem !important;
    line-height: 1.35 !important;
  }

  .pooja-card-desc {
    font-size: 0.82rem;
    line-height: 1.5;
  }

  .pooja-view-more-btn {
    font-size: 0.80rem;
    padding: 9px 14px;
    gap: 6px;
    border-radius: 20px;
  }

  .pooja-tag {
    font-size: 0.72rem;
  }

  .pooja-call-btn {
    width: 32px;
    height: 32px;
    min-width: 32px;
    min-height: 32px;
    flex: 0 0 32px;
  }

  .pooja-call-btn i {
    font-size: 0.82rem;
  }

  .pooja-booking-banner {
    padding: 16px 12px;
    margin-top: 24px !important;
    margin-bottom: 20px;
  }

  .booking-banner-header {
    gap: 8px !important;
  }

  .booking-banner-icon {
    width: 36px;
    height: 36px;
    min-width: 36px;
    min-height: 36px;
    font-size: 0.95rem;
  }

  .booking-banner-title {
    font-size: 0.96rem;
  }

  .booking-banner-subtitle {
    font-size: 0.80rem;
    line-height: 1.5;
  }

  .booking-phone-btn {
    font-size: 0.92rem;
    padding: 9px 18px;
    max-width: 260px;
  }

  .pooja-info-box {
    padding: 18px 12px;
  }

  .pooja-info-title {
    font-size: 1.02rem;
  }

  .pooja-info-list {
    font-size: 0.80rem;
    line-height: 1.55;
  }

  .pooja-info-list li {
    padding-left: 16px;
    margin-bottom: 7px;
  }
}

@media (max-width: 380px) {

  .about-story-card,
  .pooja-intro-card,
  .artist-intro-card,
  .contact-form-card,
  .contact-map-card,
  .contact-helpline-card {
    padding: 14px 10px;
  }

  .artist-intro-text {
    font-size: 0.78rem;
    line-height: 1.55;
    text-align: justify;
    text-justify: inter-word;
  }

  .contact-form-heading {
    font-size: 1.05rem;
  }

  .contact-form-subtext {
    font-size: 0.76rem;
    line-height: 1.5;
  }

  .temple-form-label {
    font-size: 0.78rem;
    margin-bottom: 2px;
  }

  .temple-input-icon {
    padding: 5px 7px;
    min-width: 32px;
    font-size: 0.78rem;
  }

  .temple-input-icon-badge {
    width: 34px;
    font-size: 0.80rem;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
  }

  .temple-form-input {
    font-size: 0.78rem;
    padding: 6px 8px;
  }

  .temple-form-input.temple-has-icon {
    padding-left: 38px !important;
    font-size: 0.78rem;
    border-radius: 6px !important;
  }

  .form-select.temple-form-input {
    font-size: 0.78rem;
    padding-right: 20px;
  }

  .contact-whatsapp-submit-btn {
    font-size: 0.80rem;
    padding: 8px 10px;
    border-radius: 22px;
  }

  .helpline-icon-circle {
    width: 36px;
    height: 36px;
    font-size: 0.95rem;
  }

  .helpline-title {
    font-size: 0.96rem;
  }

  .helpline-sub {
    font-size: 0.70rem;
  }

  .helpline-text {
    font-size: 0.76rem;
    line-height: 1.5;
  }

  .contact-call-btn,
  .contact-wa-btn {
    font-size: 0.76rem;
    padding: 6px 8px;
  }

  .footer-contact-link {
    font-size: 0.64rem;
    white-space: nowrap;
  }

  .hero-btn {
    padding: 7px 16px;
    font-size: 0.84rem;
  }
}

/* Navbar Pooja Booking Button & Popup Modal */
.nav-booking-btn {
  background: transparent;
  border: 0;
  text-align: left;
  cursor: pointer;
}

@media (max-width: 991px) {
  .nav-booking-btn {
    width: 100%;
  }
}

.pooja-booking-modal {
  position: fixed;
  inset: 0;
  z-index: 1080;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: rgba(20, 2, 2, 0.72);
  backdrop-filter: blur(4px);
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}

.pooja-booking-modal.active {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.pooja-booking-dialog {
  width: 100%;
  max-width: 780px;
  max-height: 92vh;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
}

.pooja-booking-card {
  height: auto;
  max-height: 92vh;
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  backdrop-filter: none;
}

.pooja-modal-top-header {
  flex-shrink: 0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 16px 24px 12px;
  background: linear-gradient(135deg, #FFF3DC 0%, #FDE7BF 100%);
  border-bottom: 1px solid rgba(196, 156, 72, 0.45);
}

.pooja-modal-top-header .contact-form-heading {
  font-size: 1.24rem;
}

.pooja-modal-top-header .contact-form-subtext {
  font-size: 0.83rem;
  line-height: 1.48;
  margin-bottom: 0;
}

.pooja-modal-body {
  flex: 1 1 auto;
  padding: 14px 24px 18px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(140, 62, 10, 0.42) transparent;
}

.pooja-modal-body::-webkit-scrollbar {
  width: 5px;
}

.pooja-modal-body::-webkit-scrollbar-track {
  background: transparent;
}

.pooja-modal-body::-webkit-scrollbar-thumb {
  background: rgba(140, 62, 10, 0.40);
  border-radius: 6px;
}

.pooja-modal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(74, 8, 8, 0.65);
}

.pooja-booking-card .temple-form-label {
  font-size: 0.84rem;
  margin-bottom: 4px;
}

.pooja-booking-card .temple-form-input {
  padding: 8px 12px;
  font-size: 0.89rem;
}

.pooja-booking-card .contact-whatsapp-submit-btn {
  padding: 10px 22px;
  font-size: 0.96rem;
}

.pooja-booking-card .contact-form-notice {
  font-size: 0.78rem;
}

.pooja-modal-close-btn {
  flex-shrink: 0;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #4A0808;
  border: 1.5px solid #DCA12D;
  color: #FFD055;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  cursor: pointer;
  z-index: 5;
  transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.pooja-modal-close-btn:hover {
  background: #FFD055;
  color: #360303;
  transform: rotate(90deg);
}

/* Custom Temple Select Dropdown (Replaces System Blue Selection + Adds Dropdown Icon) */
.temple-native-select-hidden {
  position: absolute !important;
  opacity: 0 !important;
  pointer-events: none !important;
  width: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

.temple-custom-select {
  position: relative;
  width: 100%;
}

.temple-select-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  width: 100%;
  padding-right: 12px !important;
  text-align: left;
  cursor: pointer;
  border-radius: 8px !important;
}

.temple-custom-select.is-open .temple-select-trigger {
  border-color: #DCA12D;
  box-shadow: 0 0 0 3px rgba(220, 161, 45, 0.22);
}

.temple-select-value {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  color: #240202;
}

.temple-select-value.is-placeholder {
  color: #6f4e37;
}

.temple-select-chevron {
  flex-shrink: 0;
  font-size: 0.85rem;
  color: #8C531B;
  transition: transform 0.2s ease, color 0.2s ease;
}

.temple-custom-select.is-open .temple-select-chevron {
  transform: rotate(180deg);
  color: #4A0808;
}

.temple-select-menu {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 1095;
  margin: 0;
  padding: 5px;
  list-style: none;
  background: #FFF9EE;
  border: 1.5px solid #DCA12D;
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(74, 8, 8, 0.24);
  max-height: 215px;
  overflow-y: auto;
  display: none;
  scrollbar-width: thin;
  scrollbar-color: #DCA12D #FFF2DC;
}

.temple-custom-select.is-open .temple-select-menu,
.temple-select-menu.temple-select-menu-portal {
  display: block;
}

.temple-select-menu.temple-select-menu-portal {
  position: fixed;
  z-index: 1200;
}

.temple-custom-select.open-up .temple-select-menu {
  top: auto;
  bottom: calc(100% + 4px);
}

.temple-select-menu::-webkit-scrollbar {
  width: 5px;
}

.temple-select-menu::-webkit-scrollbar-track {
  background: #FFF2DC;
  border-radius: 6px;
}

.temple-select-menu::-webkit-scrollbar-thumb {
  background: #C9921A;
  border-radius: 6px;
}

.temple-select-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 11px;
  border-radius: 7px;
  font-family: 'Noto Serif Malayalam', Georgia, serif;
  font-size: 0.89rem;
  color: #360303;
  cursor: pointer;
  transition: background-color 0.15s ease, color 0.15s ease;
}

.temple-select-option:hover,
.temple-select-option:focus {
  background-color: #FFE4A3;
  color: #4A0808;
  outline: none;
}

.temple-select-option.is-selected {
  background-color: #4A0808;
  color: #FFD055;
  font-weight: 700;
}

.temple-select-option.is-selected:hover {
  background-color: #640C0C;
  color: #FFE699;
}

@media (max-width: 575px) {
  .pooja-booking-modal {
    padding: 10px;
  }

  .pooja-modal-top-header {
    padding: 12px 14px 10px;
  }

  .pooja-modal-top-header .contact-form-heading {
    font-size: 1.08rem;
  }

  .pooja-modal-top-header .contact-form-subtext {
    font-size: 0.76rem;
  }

  .pooja-modal-body {
    padding: 12px 14px 14px;
  }

  .pooja-modal-close-btn {
    width: 32px;
    height: 32px;
    font-size: 0.9rem;
  }

  .temple-select-option {
    font-size: 0.82rem;
    padding: 7px 9px;
  }
}