/* ==========================================================================
   Sree Rama Ramana Prayer Centre — Core Stylesheet
   Layout: CSS Grid + Flexbox only (no Bootstrap row/col)
   ========================================================================== */

:root{
  --brick:        #A3392A;
  --brick-dark:   #7C2A1E;
  --sandalwood:   #DFAE6C;
  --sandalwood-lt:#F1D9A8;
  --navy:         #1E2A44;
  --maroon-ink:   #5C1A16;
  --parchment:    #FBF3E4;
  --parchment-2:  #F5E8D2;
  --gold-line:    #C68A3D;
  --ink:          #2E2117;
  --ink-soft:     #5A4A3C;
  --cream-white:  #FFFCF6;

  --font-display: 'Cormorant Garamond', serif;
  --font-devotional: 'Yatra One', cursive;
  --font-body: 'Mukta', sans-serif;

  --shadow-soft: 0 10px 30px rgba(46, 33, 23, 0.15);
  --radius-md: 6px;
}

*,*::before,*::after{ box-sizing: border-box; }

html{ scroll-behavior: smooth; }

body{
  margin:0;
  font-family: var(--font-body);
  color: var(--ink);
  background: var(--parchment);
  font-size: 17px;
  line-height: 1.7;
  overflow-x: hidden;
}

h1,h2,h3,h4,.font-display{
  font-family: var(--font-display);
  color: var(--maroon-ink);
  font-weight: 600;
  margin: 0 0 .5em;
}

h1{ font-size: clamp(2.2rem, 5vw, 4rem); line-height: 1.1; }
h2{ font-size: clamp(1.8rem, 4vw, 2.8rem); }
h3{ font-size: clamp(1.3rem, 3vw, 1.8rem); }

p{ margin: 0 0 1em; }

a{ color: var(--brick); text-decoration: none; transition: color .2s ease; }
a:hover{ color: var(--maroon-ink); }

img{ max-width: 100%; display: block; }

.container{
  width: 100%;
  max-width: 1180px;
  margin: 0 auto;
  padding: 0 24px;
}

/* focus visibility for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, textarea:focus-visible, select:focus-visible{
  outline: 3px solid var(--gold-line);
  outline-offset: 2px;
}

@media (prefers-reduced-motion: reduce){
  *{ animation-duration: .01ms !important; animation-iteration-count: 1 !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}

/* ==========================================================================
   Eyebrow / labels
   ========================================================================== */
.form-message-field{
  min-height: 180px;
  width: 100%;
  resize: vertical;
}

.eyebrow{
  display:inline-flex;
  align-items:center;
  gap:10px;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 3px;
  font-size: .78rem;
  font-weight: 700;
  color: var(--brick);
  margin-bottom: 14px;
}
.eyebrow::before{
  content:"";
  width: 28px; height: 2px;
  background: var(--gold-line);
  display:inline-block;
}

/* ==========================================================================
   Signature rosette divider (echoes the seal/logo motif)
   ========================================================================== */
.rosette-divider{
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 14px;
  margin: 0 auto 2.2rem;
  width: fit-content;
  color: var(--gold-line);
}
.rosette-divider .line{
  width: 60px; height:1px;
  background: linear-gradient(to right, transparent, var(--gold-line));
}
.rosette-divider .line.right{ background: linear-gradient(to left, transparent, var(--gold-line)); }
.rosette-divider svg{ width: 26px; height:26px; flex-shrink:0; }

/* ==========================================================================
   Navbar
   ========================================================================== */
.site-header{
  position: fixed;
  top:0; left:0; right:0;
  z-index: 1000;
  /* background: rgba(251, 243, 228, 0.0); */
  background: rgba(251, 243, 228, 0.97);
  transition: background .35s ease, box-shadow .35s ease, padding .35s ease;
  padding: 18px 0;
}
.site-header.scrolled{
  background: rgba(251, 243, 228, 0.97);
  box-shadow: 0 2px 18px rgba(46,33,23,.12);
  padding: 8px 0;
  backdrop-filter: blur(6px);
}
.nav-flex{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 20px;
}
.brand{
  display:flex;
  align-items:center;
  gap: 12px;
  font-family: var(--font-display);
  color: var(--navy);
  font-weight: 700;
  font-size: 1.25rem;
  line-height:1.15;
}
.brand img{
  width: 52px; height:52px;
  border-radius: 50%;
  transition: width .3s ease, height .3s ease;
  flex-shrink:0;
}
.site-header.scrolled .brand img{ width: 42px; height: 42px; }
.brand small{
  display:block;
  font-family: var(--font-body);
  font-size: .62rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--brick);
  font-weight:700;
}

.nav-links{
  display:flex;
  align-items:center;
  gap: 28px;
  list-style:none;
  margin:0; padding:0;
}
.nav-links a{
  color: var(--navy);
  font-weight:600;
  font-size: .92rem;
  letter-spacing: .3px;
  position:relative;
  padding: 6px 0;
}
.nav-links a::after{
  content:"";
  position:absolute; left:0; bottom:0;
  width:0; height:2px;
  background: var(--brick);
  transition: width .25s ease;
}
.nav-links a:hover::after, .nav-links a.active::after{ width:100%; }
.nav-links a.active{ color: var(--brick); }

.nav-icon-link{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  width:40px; height:40px;
  padding:0;
  border-radius:50%;
  color:#fff;
  background: var(--brick);
  box-shadow: 0 8px 18px rgba(136, 84, 38, 0.25);
  /* transition: transform .25s ease, box-shadow .25s ease, background .25s ease; */
}
.nav-icon-link::after{ display:none; }
.nav-icon-link:hover,
.nav-icon-link:focus-visible{
  box-shadow: 0 12px 24px rgba(136, 84, 38, 0.3);
}
.nav-icon{
  font-size: 1.05rem;
  line-height: 1;
  display:block;
  color:#fff;
  transition: transform .25s ease;
}

.nav-icon:hover{
  transform: rotate(-8deg) scale(1.05);
}

.nav-cta{
  background: var(--brick);
  color: var(--cream-white) !important;
  padding: 10px 22px;
  border-radius: 3px;
  font-weight:700 !important;
  font-size: .85rem !important;
}
.nav-cta::after{ display:none; }
.nav-cta:hover{ background: var(--brick-dark); color:#fff !important; }

.nav-toggle{
  display:none;
  background:none; border:none;
  cursor:pointer;
  width: 30px; height: 22px;
  position:relative;
  z-index: 1100;
}
.nav-toggle span, .nav-toggle span::before, .nav-toggle span::after{
  content:"";
  display:block;
  width:100%; height:2px;
  background: var(--navy);
  position:absolute; left:0;
  transition: transform .25s ease, opacity .25s ease, top .25s ease;
}
.nav-toggle span{ top:10px; }
.nav-toggle span::before{ top:-9px; }
.nav-toggle span::after{ top:9px; }
.nav-toggle.open span{ background:transparent; }
.nav-toggle.open span::before{ transform: rotate(45deg); top:0; }
.nav-toggle.open span::after{ transform: rotate(-45deg); top:0; }

@media (max-width: 940px){
  .nav-toggle{ display:block; }
  .nav-links{
    position: fixed;
    top:0; right:-100%;
    height: 100vh;
    width: min(320px, 82vw);
    background: var(--cream-white);
    flex-direction: column;
    justify-content:center;
    align-items:flex-start;
    padding: 40px;
    gap: 24px;
    box-shadow: -8px 0 30px rgba(0,0,0,.15);
    transition: right .35s ease;
  }
  .nav-links.open{ right:0; }
  .nav-cta{ margin-top: 10px; }
}

/* ==========================================================================
   Parallax hero sections
   ========================================================================== */
.parallax{
  position: relative;
  min-height: 92vh;
  display:flex;
  align-items:center;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
  background: url('../images/divinebg.avif') center/cover no-repeat;
}

.parallax::before{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(135deg, rgba(12,8,6,0.62), rgba(20,10,8,0.8));
  z-index: 1;
  pointer-events:none;
}

.parallax-content{
  position:relative;
  z-index:2;
}

.parallax-content h1{
  font-size: clamp(2.6rem, 5vw, 4.4rem);
  font-weight: 700;
  letter-spacing: 0.02em;
}

.parallax-content .lede{
  font-size: 1.2rem;
  font-weight: 600;
}
  /* stay page hero reduced bottom padding */
  .page-hero.stay-hero{ padding-bottom: 40px; }

  /* Simple gallery used on stay page */
  .simple-gallery{ position:relative; display:block; overflow:hidden; }
  .simple-gallery img{ width:100%; height:220px; object-fit:cover; display:block; border-radius:4px; transition: transform .45s cubic-bezier(.2,.9,.3,1), opacity .45s ease; position:relative; }
  .simple-gallery .gallery-controls{ position:absolute; left:0; right:0; top:50%; transform:translateY(-50%); display:flex; justify-content:space-between; pointer-events:none; }
  .simple-gallery .gallery-controls button{ pointer-events:auto; background: rgba(255,255,255,0.9); border: 1px solid rgba(46,33,23,.06); width:40px; height:40px; border-radius:4px; font-size:20px; line-height:1; display:flex; align-items:center; justify-content:center; cursor:pointer; }
@supports (-webkit-touch-callout: none){
  .parallax{ background-attachment: scroll; } /* iOS Safari fallback */
}

.parallax-content{
  position:relative;
  z-index:2;
  color: var(--parchment);
  text-align:center;
  width:100%;
  margin-top: 50px;
}
.parallax-content h1{ color:#fff; }
.parallax-content .lede{
  font-size: 1.15rem;
  max-width: 640px;
  margin: 0 auto 1.8rem;
  color: var(--sandalwood-lt);
}

.page-hero{
  background-image: url("../images/mandala-hero.svg");
  min-height: 90vh;
  padding-top: 100px;
}

/* ==========================================================================
   Buttons
   ========================================================================== */
.btn-temple{
  display:inline-flex;
  align-items:center;
  gap:10px;
  background: var(--brick);
  color:#fff;
  padding: 14px 34px;
  border: 1px solid var(--brick);
  border-radius: 3px;
  font-weight:700;
  letter-spacing: .5px;
  font-size: .95rem;
  cursor:pointer;
  transition: all .25s ease;
  margin-top: 15px;
}
.btn-temple:hover{ background: var(--brick-dark); color:#fff; transform: translateY(-2px); box-shadow: var(--shadow-soft); }
.btn-outline-temple{
  background: transparent;
  color:#fff;
  border: 1px solid rgba(255,255,255,.7);
}
.btn-outline-temple:hover{ background: rgba(255,255,255,.15); color:#fff; }
.btn-navy{ background: var(--navy); border-color: var(--navy); }
.btn-navy:hover{ background:#141d31; }

/* ==========================================================================
   Sections generic
   ========================================================================== */
section{ padding: 100px 0; position:relative; }
.section-alt{ background: var(--parchment-2); }
.section-navy{ background: var(--navy); color: var(--sandalwood-lt); }
.section-navy h2, .section-navy h3{ color: #fff; }
.text-center{ text-align:center; }
.max-w{ max-width: 720px; margin-left:auto; margin-right:auto; }

/* ==========================================================================
   Flex / Grid layout utilities (replacing bootstrap row/col)
   ========================================================================== */
.flex{ display:flex; }
.flex-wrap{ flex-wrap:wrap; }
.flex-center{ align-items:center; justify-content:center; }
.flex-between{ align-items:center; justify-content:space-between; }
.gap-sm{ gap:16px; }
.gap-md{ gap:32px; }
.gap-lg{ gap:56px; }

.grid{ display:grid; gap: 0px; }
.grid-2{ grid-template-columns: repeat(2, 1fr); }
.grid-3{ grid-template-columns: repeat(3, 1fr); }
.grid-4{ grid-template-columns: repeat(2, 1fr); }
.grid-auto{ grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); }

.grid_teaching{
      display: flex;
    gap: 20px;
    justify-items: flex-start;
    align-items: center;
    flex-direction: column;
}

@media (max-width: 900px){
  .grid-3{ grid-template-columns: repeat(2, 1fr); }
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 640px){
  .grid-2, .grid-3, .grid-4{ grid-template-columns: 1fr; }
  section{ padding: 64px 0; }
}

/* Compact blog header for smaller vertical margins */


/* Two-column layout where left is a scrolling list and right is the form */
.two-col-list{ grid-template-columns: 1fr 1.1fr; align-items:start; }
.two-col-list .blog-list{ background: transparent; }
.blog-list ul{ list-style:none; margin:0; padding:0; display:block; }
.blog-list ul li{ padding: 18px 16px; border-bottom: 1px solid rgba(46,33,23,.04); }
.blog-list ul li h3{ margin:6px 0; font-size:1.05rem; }
.blog-list ul li .blog-meta{ font-size:.78rem; color:var(--ink-soft); margin-bottom:6px; }
.blog-list{ max-height: 72vh; overflow-y: auto; padding-right:8px; }

.experience-form-card{ padding: 28px; }
.form-subnote{ margin: 10px 0 0; }

@media (max-width: 900px){
  .two-col-list{ grid-template-columns: 1fr; }
  .blog-list{ max-height: 60vh; }
}

/* Visiting page specific spacing and map */
.visiting-grid{ gap: 88px; }
.map-box{ border: 1px solid rgba(46,33,23,.06); border-radius:6px; overflow:hidden; }

/* compact section spacing for mantra origin section */
.section-compact{ padding-bottom: 40px; }

/* audio player styling */
.mantra-audio audio{ width: 100%; height: 50px; }

/* ==========================================================================
   Cards
   ========================================================================== */
.card-temple{
  background: var(--cream-white);
  border: 1px solid rgba(198,138,61,.35);
  border-radius: var(--radius-md);
  padding: 34px 28px;
  box-shadow: var(--shadow-soft);
  transition: transform .3s ease, box-shadow .3s ease;
  background: linear-gradient(180deg, rgba(255, 252, 246, .98), rgba(251, 243, 228, .98));
  text-align: left;
}
.card-temple:hover{ transform: translateY(-6px); box-shadow: 0 18px 40px rgba(46,33,23,.2); }
.card-temple .icon-wrap{
  width:56px; height:56px;
  border-radius:50%;
  background: var(--sandalwood-lt);
  display:flex; align-items:center; justify-content:center;
  margin-bottom: 18px;
  color: var(--brick);
}

/* photo frame (signature rosette-corner treatment) */
.photo-frame{
  position:relative;
  padding: 10px;
  background: var(--cream-white);
  box-shadow: var(--shadow-soft);
  border-radius: 4px;
}
.photo-frame img{ border-radius: 2px; }
.photo-frame::before,.photo-frame::after{
  content:"";
  position:absolute;
  width: 22px; height:22px;
  border: 2px solid var(--gold-line);
}
.photo-frame::before{ top:-6px; left:-6px; border-right:none; border-bottom:none; }
.photo-frame::after{ bottom:-6px; right:-6px; border-left:none; border-top:none; }

/* ==========================================================================
   Store card — image left, content right (responsive)
   ========================================================================== */
.store-card{
  display:flex;
  align-items:flex-start;
  gap:20px;
  padding: 22px;
}
.store-card img.img-fluid{
  width: 160px;
  height: auto;
  object-fit: cover;
  flex-shrink: 0;
  border-radius: 4px;
}
.store-card .body{
  padding: 0;
  flex: 1 1 auto;
}
.store-card .price-row{ margin-top: 10px; }

@media (max-width: 700px){
  .store-card{ flex-direction: column; padding: 20px; }
  .store-card img.img-fluid{ width: 100%; }
}

/* ==========================================================================
   Guru / teacher cards
   ========================================================================== */
.guru-card{
  text-align:center;
}
.guru-portrait{
  width:220px;
    /* height:220px; */
  /* border-radius:50%; */
  margin: 0 auto 20px;
  background: var(--sandalwood);
  display:flex; align-items:center; justify-content:center;
  border: 4px solid var(--parchment);
  box-shadow: 0 0 0 3px var(--gold-line);
  color: var(--maroon-ink);
  font-family: var(--font-display);
  font-size: 2.4rem;
  font-weight:700;
  overflow: hidden;
  
}

/* ensure images inside guru-portrait fill and are clipped to circle
   keep .guruportrait selector for backwards compatibility */
.guru-portrait img,
.guruportrait{
  display:block;
  width: 100%;
  height: 100%;
  object-fit: contain;
  /* border-radius: 50%; */
  object-position: 50% 40%;
}

/* small downward shift for images that need the face lowered in the frame */
.guru-portrait{ object-position: 50% 40%; }

/* ==========================================================================
   Mantra display block
   ========================================================================== */

.mantra-block{
  background: linear-gradient(rgba(20,10,8,0.72), rgba(20,10,8,0.72)), url("../images/divinebg.avif") center/cover no-repeat;
  color: var(--sandalwood-lt);
  border-radius: 14px;
  padding: 56px 40px;
  text-align:center;
  position:relative;
  overflow:hidden;
  display:flex;
  flex-direction: column;
  gap:20px;
  box-shadow: 0 18px 45px rgba(46,33,23,.22);
  border: 1px solid rgba(241,217,168,.25);
}

.mantra-block .mantra-text{
  font-family: var(--font-devotional);
  font-size: clamp(1.1rem, 2vw, 1.6rem);
  color: #f3d17a;
  margin:0;
  white-space: normal;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-shadow: 0 2px 8px rgba(0,0,0,.25);
  position: relative;
  z-index: 1;
  word-break: break-word;
}
.mantra-block .mantra-audio{
  position: relative;
  z-index: 1;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer{
  background: var(--maroon-ink);
  color: var(--sandalwood-lt);
  padding: 70px 0 24px;
}
.site-footer h4{ color: var(--sandalwood-lt); font-family: var(--font-display); font-size:1.2rem; }
.site-footer a{ color: var(--sandalwood-lt); opacity:.85; }
.site-footer a:hover{ opacity:1; color:#fff; }
.footer-grid{
  display:grid;
  grid-template-columns: 1.4fr 1fr 1fr 1.2fr;
  gap: 40px;
  padding-bottom: 40px;
  border-bottom: 1px solid rgba(255,255,255,.15);
}
@media (max-width: 800px){
  .footer-grid{ grid-template-columns: 1fr 1fr; }
}
@media (max-width: 500px){
  .footer-grid{ grid-template-columns: 1fr; }
}
.footer-links{ list-style:none; padding:0; margin:0; display:flex; flex-direction:column; gap:10px; }
.footer-bottom{
  padding-top: 22px;
  gap: 10px;
  font-size: .85rem;
  opacity: .7;
  text-align: center;
}
.social-row{ display:flex; gap:14px; margin-top:14px; }
.social-row a{
  width:36px; height:36px;
  border:1px solid rgba(255,255,255,.3);
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
}
.social-row a:hover{ border-color:#fff; }

/* WhatsApp floating button */
.whatsapp-fab{
  position: fixed;
  bottom: 24px; right: 24px;
  width: 58px; height:58px;
  background:#25D366;
  border-radius:50%;
  display:flex; align-items:center; justify-content:center;
  box-shadow: 0 6px 20px rgba(0,0,0,.3);
  z-index: 900;
  transition: transform .2s ease;
}
.whatsapp-fab:hover{ transform: scale(1.08); }

/* scroll reveal */
.reveal{ opacity:0; transform: translateY(24px); transition: opacity .7s ease, transform .7s ease; text-align: center;}
.reveal.is-visible{ opacity:1; transform: translateY(0); }
.reveal p{
  text-align:justify;
}

.reveal ul{
  text-align: left;
  margin: 0 auto;
  padding-left: 20px;
}

.teach_bottom{
  display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 20px;
    justify-content: space-between;
}
/* forms */
.experience-form-card{
  position: relative;
  overflow: hidden;
  padding: 32px;
  background:
    linear-gradient(180deg, rgba(255,252,246,.98), rgba(251,243,228,.98));
}
.experience-form-card:hover{
  transform: none;
}
.experience-form-card::before{
  content:"";
  position:absolute;
  inset:0 0 auto;
  height:5px;
  background: linear-gradient(90deg, var(--brick), var(--gold-line), var(--navy));
}
.form-card-heading{
  padding-bottom: 18px;
  margin-bottom: 22px;
  border-bottom: 1px solid rgba(198,138,61,.28);
}
.form-card-heading h3{
  margin: 4px 0 8px;
}
.form-card-heading p{
  color: var(--ink-soft);
  font-size: .95rem;
  margin: 0;
}
.form-kicker{
  display: inline-flex;
  align-items: center;
  color: var(--brick);
  font-size: .74rem;
  font-weight: 800;
  letter-spacing: 2px;
  line-height: 1;
  text-transform: uppercase;
}
.form-temple label{
  font-weight:700;
  font-size:.85rem;
  text-transform:uppercase;
  letter-spacing:1px;
  color: var(--navy);
  margin-bottom:6px;
  display:block;
}
.form-temple .form-control{
  border: 1px solid var(--sandalwood);
  border-radius: 4px;
  padding: 12px 14px;
  font-family: var(--font-body);
  background: var(--cream-white);
  color: var(--ink);
  min-height: 48px;
  width: 100%;
  transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}
.form-temple textarea.form-control{
  min-height: 150px;
  resize: vertical;
}
.form-temple .custom-select{
  height: 48px;
  border: 1px solid var(--sandalwood);
  border-radius: 4px;
  color: var(--ink);
  width:100%;
  font-family: var(--font-body);
  background-color: var(--cream-white);
}
.form-temple .form-control::placeholder{
  color: rgba(90,74,60,.62);
}
.form-temple .form-control:focus,
.form-temple .custom-select:focus{
  border-color: var(--brick);
  box-shadow: 0 0 0 3px rgba(163,57,42,.15);
  background: #fff;
}

.form_flex{
  display: flex;
  gap: 15px
}

.form-group-temple{ margin-bottom: 22px; 
width: 100%;}
.form-temple .form-group{
  margin-bottom: 20px;
  width:100%;
}
.form-temple .form-text{
  color: var(--ink-soft) !important;
  font-size: .86rem;
  line-height: 1.45;
  margin-top: 8px;
}
.submit-story-btn{
  justify-content: center;
  width: 100%;
  margin-top: 8px;
  padding: 14px 20px;
}
.form-feedback{
  display: none;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-left: 4px solid var(--brick);
  border-radius: 4px;
  background: rgba(163,57,42,.08);
  color: var(--brick);
  font-weight: 700;
}

.grid {
  gap:20px
}

/* badges */
.badge-temple{
  display:inline-block;
  background: var(--sandalwood-lt);
  color: var(--maroon-ink);
  font-size:.72rem;
  font-weight:700;
  text-transform:uppercase;
  letter-spacing:1px;
  padding: 5px 12px;
  border-radius: 3px;
}

/* mt-lg / mb-lg utilities */
.mt-0{margin-top:0;} .mb-0{margin-bottom:0;}
.mt-lg{ margin-top: 3rem; } .mb-lg{ margin-bottom:3rem; }

/* ==========================================================================
   Landing page revision additions (Website_Changes.docx)
   ========================================================================== */
/* Reduce the gap between the header and a section's own eyebrow/heading,
   without touching the shared `section{ padding:100px 0 }` rule used site-wide. */
.section-tight-top{ padding-top: 36px; }
@media (max-width: 640px){
  .section-tight-top{ padding-top: 28px; }
}

/* Mantra artwork shown at the very top of the homepage hero */
.hero-mantra-card{
  display: inline-block;
  /* background: linear-gradient(135deg, var(--sandalwood-lt) 0%, var(--gold-line) 100%); */
  /* border: 1px solid rgba(255,255,255,.35); */
  border-radius: 10px;
  padding: 16px 22px;
  margin-bottom: 1.3rem;
  /*box-shadow: 0 10px 24px rgba(0,0,0,.18);*/
}
.hero-mantra-card .front_text{
  color: #f3d17a;;
  margin: 0;
  font-size: clamp(2rem, 2vw, 1.25rem);
  line-height: 1.6;
  opacity: 0;
  transform: translateY(20px);
  animation: mantraFadeInUp 0.9s ease-out forwards;
}

@keyframes mantraFadeInUp {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@media (max-width: 550px){
  .hero-mantra-card .front_text{
    white-space: nowrap;
    font-size: clamp(1.5rem, 2vw, 1.25rem);
  }
  .hero-mantra-card {
    padding:16px 0;
        margin-bottom: 0;
  }
  .parallax-content h1 {
    font-size: clamp(2rem, 5vw, 4.4rem);
    font-weight: 700;
    letter-spacing: 0.02em;
}
.parallax-content .lede {
    font-size: 0.9rem;
    max-width: 640px;
    margin: 0 ;
    color: var(--sandalwood-lt);
}
.parallax{
  padding: 60px 0 !important;
}
.parallax-content {
    margin-top: 30px;
}
.footer-grid{
  gap:15px;
  padding-bottom: 20px;
}
.site-footer {
    padding: 40px 0 24px;
}
.rosette-divider{
  margin: 0 auto 1.5rem
}
.reveal p {
    text-align: justify;
    font-size: 14px;
}
.reveal ul li{
  font-size: 14px;
}
.mantra-block{
      padding: 30px 15px;
}
}

@media (max-width: 450px){
  .hero-mantra-card .front_text{
    white-space: nowrap;
    margin-top:30px;
    font-size: clamp(1.2rem, 2vw, 1.25rem);
  }
  .mantra-block .mantra-text{
        font-size: clamp(0.8rem, 2vw, 1.6rem);
  }
  .btn-temple {
    gap: 0;
    font-size: .75rem;
   
    margin-top: 10px;
}
.gap-sm {
    gap: 8px;
}
    section {
        padding: 34px 0;
    }
    h2 {
    font-size: clamp(1.5rem, 4vw, 2.8rem);
}
.mt-lg {
    margin-top: 2rem;
}
}

h3.front_text{
  color: #fff;
}

/* Wide photo used in the combined Teachings/Lineage section */
.teachings-photo{
  max-width: 640px;
  margin: 32px auto 0;
}
.teachings-photo img{ border-radius: 4px; }

/* Real-photo glimpses grid (replaces the old SVG placeholder tiles) */
.glimpses-grid .photo-frame img{
  width: 100%;
  height: 260px;
  object-fit: cover;
}


/* Success Card */
.form-status-card{
    max-width:550px;
    margin:25px auto 0;
    padding:10px 15px;
    background:#ffffff;
    border-radius:12px;
    border-left:5px solid #28a745;
    box-shadow:0 10px 30px rgba(0,0,0,.08);
    text-align:center;
    animation:successPopup .4s ease;
}



.form-status-card p{
    margin:0;
    color:#666;
    font-size:15px;
    line-height:1.8;
    text-align:justify;
}

@keyframes successPopup{
    from{
        opacity:0;
        transform:translateY(20px) scale(.95);
    }
    to{
        opacity:1;
        transform:translateY(0) scale(1);
    }
}

