@import url('https://fonts.googleapis.com/css2?family=Baloo+Tamma+2:wght@500;600;700;800&family=Noto+Serif+Kannada:wght@500;600;700&family=Noto+Sans+Kannada:wght@400;500;600&display=swap');

:root{
  --cream:#f6eedd;
  --cream-deep:#ecdfc0;
  --card:#fbf5e6;
  --brown-deep:#3a2413;
  --brown-warm:#7a4b27;
  --gold:#c69a45;
  --gold-soft:#e4c98a;
  --maroon:#7c2020;
  --text:#3a2413;
  --text-soft:#6b5238;
  --shadow:0 10px 30px rgba(58,36,19,0.15);
  --radius:14px;
}

*{box-sizing:border-box;}
html{scroll-behavior:smooth;}
body{
  margin:0;
  background:var(--cream);
  color:var(--text);
  font-family:'Noto Sans Kannada','Noto Sans',sans-serif;
  line-height:1.7;
  overflow-x:hidden;
}
h1,h2,h3,h4{
  font-family:'Baloo Tamma 2','Noto Serif Kannada',serif;
  color:var(--brown-deep);
  margin:0 0 .5em;
}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}
.container{width:min(1160px,92%);margin:0 auto;}
section{padding:74px 0;}

/* ---------- Rangoli divider ---------- */
.divider{
  height:22px;
  background-image:repeating-linear-gradient(135deg,var(--gold) 0 10px,transparent 10px 20px),
                    repeating-linear-gradient(45deg,var(--gold) 0 10px,transparent 10px 20px);
  background-size:28px 22px;
  background-position:0 0,0 0;
  opacity:.55;
}

/* ---------- Sloka marquee ---------- */
.sloka-band{
  background:var(--brown-deep);
  color:var(--gold-soft);
  overflow:hidden;
  white-space:nowrap;
  padding:12px 0;
  border-top:3px solid var(--gold);
  border-bottom:3px solid var(--gold);
}
.sloka-band .track{
  display:inline-block;
  padding-left:100%;
  animation:scrollLeft 38s linear infinite;
  font-family:'Noto Serif Kannada',serif;
  font-size:1rem;
  letter-spacing:.3px;
}
.sloka-band .track span{margin:0 3em;}
@keyframes scrollLeft{from{transform:translateX(0);}to{transform:translateX(-100%);}}

/* ---------- Top notice bar ---------- */
.topbar{
  background:var(--maroon);
  color:var(--cream);
  font-size:.85rem;
  text-align:center;
  padding:6px 12px;
}
.topbar a{border-bottom:1px dotted var(--gold-soft);}

/* ---------- Nav ---------- */
header.site-header{
  position:sticky;top:0;z-index:100;
  background:linear-gradient(180deg,var(--brown-deep),#2c1a0d);
  border-bottom:3px solid var(--gold);
}
.nav-wrap{
  display:flex;align-items:center;justify-content:space-between;
  padding:12px 0;
}
.brand{display:flex;align-items:center;gap:12px;color:var(--cream);}
.brand .om{
  width:44px;height:44px;border-radius:50%;
  background:radial-gradient(circle at 35% 30%,var(--gold-soft),var(--gold) 60%,var(--brown-warm));
  display:flex;align-items:center;justify-content:center;
  font-size:1.4rem;color:var(--brown-deep);font-weight:700;
  box-shadow:0 0 18px rgba(198,154,69,.6);
  animation:pulseGlow 3s ease-in-out infinite;
}
@keyframes pulseGlow{
  0%,100%{box-shadow:0 0 10px rgba(198,154,69,.45);}
  50%{box-shadow:0 0 24px rgba(198,154,69,.85);}
}
.brand-text .title{font-family:'Baloo Tamma 2',serif;font-size:1.25rem;line-height:1.1;color:var(--gold-soft);}
.brand-text .sub{font-size:.72rem;color:var(--cream-deep);letter-spacing:.5px;}

nav.main-nav ul{list-style:none;display:flex;gap:6px;margin:0;padding:0;align-items:center;}
nav.main-nav li{position:relative;}
nav.main-nav>ul>li>a{
  display:block;padding:10px 16px;color:var(--cream);font-weight:500;border-radius:8px;
  transition:background .25s,color .25s;
}
nav.main-nav>ul>li>a:hover,nav.main-nav>ul>li>a.active{background:rgba(198,154,69,.18);color:var(--gold-soft);}

.dropdown{position:relative;}
.dropdown>a::after{content:" ▾";font-size:.7em;}
.dropdown-menu{
  position:absolute;top:calc(100% + 10px);left:0;
  background:var(--card);min-width:250px;
  border:1px solid var(--gold-soft);border-radius:12px;
  box-shadow:var(--shadow);
  padding:10px;opacity:0;visibility:hidden;transform:translateY(8px);
  transition:all .25s ease;
}
.dropdown:hover .dropdown-menu,.dropdown:focus-within .dropdown-menu{
  opacity:1;visibility:visible;transform:translateY(0);
}
.dropdown-menu a{
  display:block;padding:9px 12px;border-radius:8px;color:var(--text);font-size:.92rem;
}
.dropdown-menu a:hover{background:var(--cream-deep);color:var(--maroon);}
.dropdown-menu .grp-label{font-size:.72rem;text-transform:uppercase;letter-spacing:.5px;color:var(--brown-warm);padding:6px 12px 2px;}

.hamburger{display:none;flex-direction:column;gap:5px;background:none;border:0;cursor:pointer;padding:6px;}
.hamburger span{width:26px;height:3px;background:var(--gold-soft);border-radius:2px;}

/* ---------- Hero ---------- */
/* ---------- Hero ---------- */

.hero{
  position:relative;
  padding:45px 0 50px;

  background:
    radial-gradient(
      ellipse at 20% 20%,
      rgba(198,154,69,.22),
      transparent 55%
    ),
    linear-gradient(
      180deg,
      var(--cream) 0%,
      var(--cream-deep) 100%
    );

  overflow:hidden;
}

/* Main 2-column layout */

.hero-container{
  display:grid;
  grid-template-columns:42% 58%;
  align-items:center;
  gap:45px;
  min-height:390px;
}

/* ---------- Left Image ---------- */

/* =====================================
   HERO IMAGE
   BORDER MUST FIT EXACTLY TO IMAGE
===================================== */

.hero-image{
  width:100%;
  max-width:500px;

  /* VERY IMPORTANT */
  height:auto !important;
  min-height:0 !important;

  margin:0;

  position:relative;

  overflow:hidden;

  border:4px solid var(--gold);
  border-radius:20px;

  background:var(--cream-deep);

  box-shadow:
    0 15px 35px rgba(58,36,19,.22),
    0 0 0 7px rgba(198,154,69,.10);

  display:block;

  /* Prevent any forced aspect ratio */
  aspect-ratio:auto !important;
}


/* =====================================
   IMAGE
===================================== */

.hero-image img{
  width:100%;

  /* VERY IMPORTANT */
  height:auto !important;

  min-height:0 !important;

  max-width:100%;

  display:block;

  object-fit:contain;

  object-position:center center;

  border:0;

  border-radius:15px;
}


/* =====================================
   IMAGE OVERLAY
===================================== */

.hero-image::after{
  content:"";

  position:absolute;

  inset:0;

  background:
    linear-gradient(
      180deg,
      rgba(58,36,19,0) 55%,
      rgba(58,36,19,.12) 100%
    );

  pointer-events:none;
}


/* =====================================
   DESKTOP
===================================== */

@media (min-width:993px){

  .hero-image{
    width:100%;
    max-width:500px;

    height:auto !important;
    min-height:0 !important;
  }

  .hero-image img{
    width:100%;
    height:auto !important;
  }

}


/* =====================================
   TABLET
===================================== */

@media (max-width:992px){

  .hero-image{
    width:100%;
    max-width:400px;

    height:auto !important;
    min-height:0 !important;

    border-radius:18px;

    border-width:3px;
  }

  .hero-image img{
    width:100%;
    height:auto !important;

    border-radius:14px;
  }

}


/* =====================================
   MOBILE
===================================== */

@media (max-width:760px){

  .hero-image{
    order:1;

    width:100%;
    max-width:100%;

    /* REMOVE FIXED HEIGHT */
    height:auto !important;

    min-height:0 !important;

    margin:0 auto;

    padding:0;

    border-radius:16px;

    border-width:3px;

    display:block;

    /* REMOVE ANY RATIO */
    aspect-ratio:auto !important;
  }


  .hero-image img{
    width:100%;

    /* IMAGE CONTROLS HEIGHT */
    height:auto !important;

    min-height:0 !important;

    max-width:100%;

    display:block;

    object-fit:contain;

    object-position:center center;

    border-radius:12px;
  }

}


/* =====================================
   SMALL MOBILE
===================================== */

@media (max-width:480px){

  .hero-image{
    width:100%;
    max-width:100%;

    height:auto !important;

    min-height:0 !important;

    border-radius:14px;

    border-width:3px;

    aspect-ratio:auto !important;
  }


  .hero-image img{
    width:100%;

    height:auto !important;

    min-height:0 !important;

    border-radius:11px;

    object-fit:contain;
  }

}


/* =====================================
   VERY SMALL MOBILE
===================================== */

@media (max-width:360px){

  .hero-image{
    width:100%;

    height:auto !important;

    min-height:0 !important;
  }

  .hero-image img{
    width:100%;

    height:auto !important;
  }

}
/* =========================
   FOOTER
========================= */

.site-footer {
  background: var(--brown-dark, #3b2418);
  color: var(--cream, #f8f1e5);
  padding: 50px 0 0;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1.4fr;
  gap: 45px;
}

.site-footer h5 {
  margin: 0 0 18px;
  font-size: 1rem;
  color: var(--gold, #c69a45);
}

.site-footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}

.site-footer ul li {
  margin-bottom: 10px;
  line-height: 1.6;
  color: var(--cream-deep, #ddd0bd);
  font-size: .92rem;
}

.site-footer a {
  color: var(--cream-deep, #ddd0bd);
  text-decoration: none;
  transition: .2s ease;
}

.site-footer a:hover {
  color: var(--gold, #c69a45);
}


/* =========================
   FOOTER BOTTOM
========================= */

.foot-bottom {
  margin-top: 40px;
  padding: 20px 0;
  border-top: 1px solid rgba(255,255,255,.12);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
}

.copyright {
  color: var(--cream-deep, #ddd0bd);
  font-size: .85rem;
  line-height: 1.6;
}

.footer-policies {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 25px;
  white-space: nowrap;
}

.footer-policies a {
  color: var(--cream-deep, #ddd0bd);
  font-size: .85rem;
}

.footer-policies a:hover {
  color: var(--gold, #c69a45);
}


/* =========================
   MOBILE
========================= */

@media (max-width: 768px) {

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }

  .foot-bottom {
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
  }

  .copyright {
    width: 100%;
    font-size: 0.75rem;
  }

  .footer-policies {
    width: 100%;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    white-space: nowrap;
  }

  .footer-policies a {
    font-size: 0.68rem;
    display: inline-block;
  }
}

/* ---------- Right Content ---------- */

.hero-content{
  text-align:left;
  max-width:650px;
}

.hero .eyebrow{
  display:inline-block;
  color:var(--maroon);
  font-weight:600;
  letter-spacing:.7px;
  margin-bottom:7px;
  font-size:.88rem;
}

.hero h1{
  font-size:clamp(2rem,4vw,3rem);
  line-height:1.2;
  margin-bottom:12px;
}

.hero p.lead{
  max-width:600px;
  margin:0 0 24px;
  color:var(--text-soft);
  font-size:1rem;
  line-height:1.75;
}

.cta-row{
  display:flex;
  gap:12px;
  justify-content:flex-start;
  flex-wrap:wrap;
}

.btn{
  display:inline-block;
  padding:11px 25px;
  border-radius:999px;
  font-weight:600;
  transition:
    transform .25s,
    box-shadow .25s;
  border:2px solid transparent;
}

.btn-primary{
  background:var(--maroon);
  color:var(--cream);
  box-shadow:0 7px 16px rgba(124,32,32,.30);
}

.btn-primary:hover{
  transform:translateY(-3px);
  box-shadow:0 10px 20px rgba(124,32,32,.40);
}

.btn-outline{
  border-color:var(--brown-warm);
  color:var(--brown-deep);
}

.btn-outline:hover{
  background:var(--brown-deep);
  color:var(--cream);
  transform:translateY(-3px);
}

/* ---------- Diyas ---------- */

.diya-row{
  display:flex;
  justify-content:flex-start;
  gap:20px;
  margin-top:27px;
}
@media (max-width:760px){

  .hero{
    padding:30px 0 40px;
  }

  .hero-container{
    display:flex;
    flex-direction:column;
    gap:24px;
    min-height:auto;
  }

  /* IMAGE FIRST */
  .hero-image{
    order:1;
    width:100%;
    height:240px;
    margin:0;
    border-radius:16px;
    border-width:3px;
  }

  /* CONTENT BELOW IMAGE */
  .hero-content{
    order:2;
    width:100%;
    max-width:none;
    text-align:center;
  }

  .hero .eyebrow{
    font-size:.78rem;
    line-height:1.6;
    margin-bottom:8px;
  }

  .hero h1{
    font-size:2rem;
    line-height:1.25;
    margin-bottom:12px;
  }

  .hero p.lead{
    font-size:.92rem;
    line-height:1.7;
    margin:0 auto 22px;
    max-width:100%;
  }

  /* BUTTONS */
  .cta-row{
    display:flex;
    flex-direction:column;
    align-items:center;
    gap:10px;
  }

  .cta-row .btn{
    width:100%;
    max-width:260px;
    text-align:center;
    padding:10px 20px;
    font-size:.9rem;
  }

  /* DIYAS */
  .diya-row{
    justify-content:center;
    margin-top:22px;
    gap:18px;
  }
}

.diya-row{display:flex;justify-content:center;gap:26px;margin-top:40px;}
.diya{width:16px;height:22px;position:relative;}
.diya::before{
  content:"";position:absolute;bottom:0;left:0;width:16px;height:12px;
  background:var(--brown-warm);border-radius:0 0 8px 8px;
}
.diya::after{
  content:"";position:absolute;bottom:11px;left:5px;width:6px;height:12px;border-radius:50% 50% 50% 50%/60% 60% 40% 40%;
  background:radial-gradient(circle at 50% 30%,#fff6d8,var(--gold) 60%,var(--maroon));
  animation:flicker 1.6s ease-in-out infinite;
  transform-origin:bottom center;
}
.diya:nth-child(2)::after{animation-delay:.3s;}
.diya:nth-child(3)::after{animation-delay:.6s;}
.diya:nth-child(4)::after{animation-delay:.9s;}
.diya:nth-child(5)::after{animation-delay:1.2s;}
@keyframes flicker{
  0%,100%{transform:scale(1) rotate(-1deg);}
  50%{transform:scale(1.15) rotate(2deg);}
}

/* ---------- Reveal on scroll ---------- */
.reveal{opacity:0;transform:translateY(28px);transition:opacity .7s ease,transform .7s ease;}
.reveal.in{opacity:1;transform:translateY(0);}

/* ---------- Section headings ---------- */
.section-head{text-align:center;margin-bottom:44px;}
.section-head .eyebrow{color:var(--maroon);font-weight:600;letter-spacing:1px;font-size:.9rem;}
.section-head h2{font-size:clamp(1.6rem,3.4vw,2.3rem);}
.section-head p{color:var(--text-soft);max-width:600px;margin:8px auto 0;}

/* ---------- Deity band ---------- */
.deity-band{background:var(--brown-deep);color:var(--cream);}
.deity-grid{display:grid;grid-template-columns:1fr 1fr;gap:36px;align-items:center;}
.deity-card{
  background:rgba(255,255,255,.04);border:1px solid rgba(198,154,69,.4);
  border-radius:var(--radius);padding:26px;text-align:center;
}
.deity-photo{
  width:150px;height:150px;border-radius:50%;margin:0 auto 16px;
  background:linear-gradient(160deg,var(--gold-soft),var(--brown-warm));
  border:4px solid var(--gold);
  display:flex;align-items:center;justify-content:center;overflow:hidden;
  box-shadow:0 0 0 6px rgba(198,154,69,.15);
}
.deity-photo img{width:100%;height:100%;object-fit:cover;}
.deity-card h3{color:var(--gold-soft);}
.deity-card .stotra{
  font-family:'Noto Serif Kannada',serif;color:var(--cream-deep);
  font-size:.95rem;margin-top:12px;font-style:normal;
  border-top:1px dashed rgba(198,154,69,.4);padding-top:12px;
}

/* ---------- Cards grid ---------- */
.grid{display:grid;gap:26px;}
.grid-2{grid-template-columns:repeat(2,1fr);}
.grid-3{grid-template-columns:repeat(3,1fr);}
.seva-card{
  background:var(--card);border:1px solid var(--gold-soft);border-radius:var(--radius);
  padding:26px;box-shadow:var(--shadow);position:relative;overflow:hidden;
  transition:transform .3s ease,box-shadow .3s ease;
}
.seva-card::before{
  content:"";position:absolute;top:0;left:0;right:0;height:5px;
  background:linear-gradient(90deg,var(--gold),var(--maroon));
}
.seva-card:hover{transform:translateY(-6px);box-shadow:0 16px 30px rgba(58,36,19,.22);}
.seva-icon{
  width:56px;height:56px;border-radius:50%;background:var(--cream-deep);
  display:flex;align-items:center;justify-content:center;font-size:1.6rem;margin-bottom:14px;
  border:2px solid var(--gold);
}
.seva-card h3{font-size:1.15rem;margin-bottom:6px;}
.seva-card .tag{
  display:inline-block;font-size:.72rem;background:var(--maroon);color:var(--cream);
  padding:3px 10px;border-radius:999px;margin-bottom:10px;letter-spacing:.4px;
}
.seva-card p{color:var(--text-soft);font-size:.94rem;margin-bottom:14px;}
.seva-card .btn{padding:9px 18px;font-size:.88rem;}

/* ---------- Timeline (About) ---------- */
.timeline{border-left:3px solid var(--gold);margin-left:14px;padding-left:28px;}
.timeline .item{position:relative;margin-bottom:34px;}
.timeline .item::before{
  content:"";position:absolute;left:-35px;top:4px;width:14px;height:14px;border-radius:50%;
  background:var(--maroon);border:3px solid var(--gold-soft);
}
.timeline .yr{color:var(--maroon);font-weight:700;font-size:.9rem;}

/* ---------- App promo ---------- */
.app-promo{
  background:linear-gradient(135deg,var(--maroon),#5a1717);
  color:var(--cream);border-radius:20px;padding:44px;
  display:flex;align-items:center;justify-content:space-between;gap:30px;flex-wrap:wrap;
}
.app-promo h3{color:var(--gold-soft);}
.app-promo p{color:var(--cream-deep);}
.store-badges{display:flex;gap:14px;flex-wrap:wrap;}
.store-badge{
  display:flex;align-items:center;gap:10px;background:#000;color:#fff;
  padding:10px 18px;border-radius:10px;border:1px solid var(--gold-soft);
}
.store-badge .glyph{font-size:1.5rem;}
.store-badge small{display:block;font-size:.65rem;color:#ccc;}
.store-badge strong{font-size:.95rem;}

/* ---------- Notifications ---------- */
.notice-list{display:flex;flex-direction:column;gap:18px;}
.notice{
  display:grid;grid-template-columns:96px 1fr;gap:20px;
  background:var(--card);border:1px solid var(--gold-soft);border-radius:var(--radius);
  padding:20px;box-shadow:var(--shadow);
}
.notice .date-box{
  background:var(--brown-deep);color:var(--gold-soft);border-radius:10px;
  display:flex;flex-direction:column;align-items:center;justify-content:center;padding:10px;text-align:center;
}
.notice .date-box .d{font-size:1.5rem;font-weight:700;line-height:1;}
.notice .date-box .m{font-size:.72rem;letter-spacing:.5px;}
.notice h4{margin-bottom:6px;}
.notice p{color:var(--text-soft);margin:0;font-size:.94rem;}
.notice .badge{font-size:.7rem;background:var(--gold);color:var(--brown-deep);padding:2px 10px;border-radius:999px;margin-left:8px;}

/* ---------- Contact ---------- */
.contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:40px;}
.info-card{
  background:var(--card);border:1px solid var(--gold-soft);border-radius:var(--radius);
  padding:26px;margin-bottom:18px;box-shadow:var(--shadow);
}
.info-card h4{margin-bottom:8px;color:var(--maroon);}
/* =========================
   GOOGLE MAP
========================= */

.map-box {
  width: 100%;
  height: 200px;
  overflow: hidden;
  border-radius: 16px;
  border: none !important;
  padding: 0 !important;
  margin: 0;
  background: none;
  display: block;
}

.map-box iframe {
  width: 100%;
  height: 100%;
  display: block;
  border: none !important;
  border-radius: 16px;
  padding: 0;
  margin: 0;
}

@media (max-width: 768px) {
  .map-box {
    height: 300px;
    border-radius: 14px;
  }

  .map-box iframe {
    border-radius: 14px;
  }
}
form.whatsapp-form{background:var(--card);border:1px solid var(--gold-soft);border-radius:var(--radius);padding:28px;box-shadow:var(--shadow);}
form.whatsapp-form label{display:block;font-size:.88rem;font-weight:600;margin:14px 0 6px;color:var(--brown-deep);}
form.whatsapp-form input,form.whatsapp-form select,form.whatsapp-form textarea{
  width:100%;padding:12px 14px;border-radius:10px;border:1px solid var(--gold-soft);
  background:#fffaf0;font-family:inherit;font-size:.95rem;color:var(--text);
}
form.whatsapp-form textarea{min-height:110px;resize:vertical;}
form.whatsapp-form button{
  margin-top:20px;width:100%;border:0;cursor:pointer;
}

/* ---------- Footer ---------- */
footer.site-footer{background:var(--brown-deep);color:var(--cream-deep);padding:52px 0 22px;}
.footer-grid{display:grid;grid-template-columns:1.4fr 1fr 1fr;gap:36px;margin-bottom:30px;}
footer .brand-text .title{color:var(--gold-soft);}
footer h5{color:var(--gold-soft);font-family:'Baloo Tamma 2',serif;margin-bottom:14px;font-size:1.05rem;}
footer ul{list-style:none;padding:0;margin:0;}
footer li{margin-bottom:9px;font-size:.92rem;}
footer a:hover{color:var(--gold-soft);}
.foot-bottom{
  border-top:1px solid rgba(198,154,69,.3);padding-top:18px;text-align:center;
  font-size:.82rem;color:var(--cream-deep);
}

/* ---------- Responsive ---------- */
@media (max-width:920px){
  .grid-3{grid-template-columns:repeat(2,1fr);}
  .deity-grid,.contact-grid,.footer-grid{grid-template-columns:1fr;}
}
@media (max-width:760px){
  nav.main-nav{
    position:fixed;inset:64px 0 0 0;background:var(--brown-deep);
    padding:20px;transform:translateX(100%);transition:transform .3s ease;overflow-y:auto;
  }
  nav.main-nav.open{transform:translateX(0);}
  nav.main-nav ul{flex-direction:column;align-items:stretch;}
  .dropdown-menu{position:static;opacity:1;visibility:visible;transform:none;display:none;box-shadow:none;margin-top:6px;}
  .dropdown.open .dropdown-menu{display:block;}
  .hamburger{display:flex;}
  .grid-2,.grid-3{grid-template-columns:1fr;}
  .app-promo{flex-direction:column;text-align:center;}
  .notice{grid-template-columns:1fr;}
  .notice .date-box{flex-direction:row;gap:8px;justify-content:center;}
}
/* ================================
   PALLAKKI MATT - HISTORY SECTION
================================ */

.history-hero {
  width: 100%;
}

.history-hero-grid {
  display: grid;
  grid-template-columns: 1fr 0.8fr;
  align-items: center;
  gap: 50px;
}

/* ================================
   LEFT CONTENT
================================ */

.history-content {
  max-width: 680px;
}

.history-content .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
}

.history-content h1 {
  margin: 0 0 20px;
  line-height: 1.25;
}

.history-content .lead {
  margin: 0;
  line-height: 1.8;
}

/* ================================
   RIGHT IMAGE
================================ */

.history-image {
  width: 100%;
  max-width: 380px;
  margin-left: auto;

  /* Rounded image container */
  border-radius: 24px;
  overflow: hidden;

  /* Soft devotional border */
  border: 2px solid #c69a45;

  /* Cream outer spacing */
  padding: 5px;

  background: #f7efe2;

  box-shadow: 0 12px 30px rgba(70, 42, 20, 0.15);
}

.history-image img {
  width: 100%;
  height: 300px;
  display: block;

  object-fit: cover;

  /* Rounded image */
  border-radius: 18px;

  border: none;
  outline: none;
}

/* ================================
   TABLET
================================ */

@media (max-width: 992px) {

  .history-hero-grid {
    grid-template-columns: 1fr 0.75fr;
    gap: 35px;
  }

  .history-image {
    max-width: 330px;
    border-radius: 22px;
  }

  .history-image img {
    height: 270px;
    border-radius: 16px;
  }

  .history-content h1 {
    font-size: 36px;
  }

  .history-content .lead {
    font-size: 16px;
  }
}

/* ================================
   MOBILE
================================ */

@media (max-width: 768px) {

  .history-hero {
    padding: 40px 0 50px !important;
  }

  .history-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  /* Image first */
  .history-image {
    order: 1;

    width: 100%;
    max-width: 100%;

    margin: 0 auto;

    border-radius: 20px;
    padding: 4px;
  }

  /* Content below */
  .history-content {
    order: 2;

    width: 100%;
    max-width: 100%;
  }

  .history-image img {
    width: 100%;
    height: 250px;

    border-radius: 16px;
  }

  .history-content .eyebrow {
    margin-bottom: 10px;
  }

  .history-content h1 {
    font-size: 30px;
    line-height: 1.3;
    margin-bottom: 16px;
  }

  .history-content .lead {
    font-size: 16px;
    line-height: 1.8;
  }
}

/* ================================
   SMALL MOBILE
================================ */

@media (max-width: 480px) {

  .history-hero {
    padding: 32px 0 42px !important;
  }

  .history-hero-grid {
    gap: 24px;
  }

  .history-image {
    border-radius: 18px;
    padding: 4px;
  }

  .history-image img {
    height: 220px;
    border-radius: 14px;
  }

  .history-content h1 {
    font-size: 27px;
  }

  .history-content .lead {
    font-size: 15px;
    line-height: 1.75;
  }
}/* =====================================
   JOURNEY / TIMELINE SECTION
===================================== */

.journey-section {
  position: relative;
  overflow: hidden;
  padding: 55px 0;
}

.journey-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 45px;
}

/* =====================================
   LEFT CONTENT
===================================== */

.journey-content {
  width: 100%;
}

.journey-content .section-head {
  margin-bottom: 25px;
}

/* =====================================
   RIGHT GOPURAM
===================================== */

.gopuram-side {
  min-height: 0;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  position: relative;
  text-align: center;

  padding: 20px 0;
}

/* =====================================
   GOPURAM GLOW
===================================== */

.gopuram-glow {
  position: absolute;

  width: 270px;
  height: 270px;

  border-radius: 50%;

  background: rgba(198, 154, 69, 0.10);

  filter: blur(5px);

  animation: gopuramGlow 4s ease-in-out infinite;
}

/* =====================================
   GOPURAM
===================================== */

.gopuram-animation {
  position: relative;
  z-index: 2;

  font-size: 125px;
  line-height: 1;

  filter:
    drop-shadow(0 10px 12px rgba(70, 42, 20, 0.18));

  animation: gopuramFloat 4s ease-in-out infinite;
}

/* =====================================
   SHLOKA
===================================== */

.gopuram-shloka {
  position: relative;
  z-index: 2;

  margin-top: 18px;

  font-size: 19px;
  font-weight: 600;

  color: #8a5a24;

  animation: shlokaFade 3s ease-in-out infinite;
}

.gopuram-subtitle {
  position: relative;
  z-index: 2;

  margin-top: 7px;

  font-size: 13px;
  letter-spacing: 1.5px;

  color: #9b8060;
}

/* =====================================
   FLOAT ANIMATION
===================================== */

@keyframes gopuramFloat {

  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-9px);
  }

  100% {
    transform: translateY(0);
  }

}

/* =====================================
   GLOW ANIMATION
===================================== */

@keyframes gopuramGlow {

  0% {
    transform: scale(0.96);
    opacity: 0.5;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }

  100% {
    transform: scale(0.96);
    opacity: 0.5;
  }

}

/* =====================================
   SHLOKA FADE
===================================== */

@keyframes shlokaFade {

  0% {
    opacity: 0.65;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.65;
  }

}

/* =====================================
   TIMELINE COMPACT
===================================== */

.timeline {
  margin-top: 15px;
}

.timeline .item {
  padding-bottom: 18px;
  margin-bottom: 18px;
}

.timeline .item:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
}

/* =====================================
   TABLET
===================================== */

@media (max-width: 992px) {

  .journey-section {
    padding: 45px 0;
  }

  .journey-grid {
    grid-template-columns: 1fr 0.65fr;
    gap: 30px;
  }

  .gopuram-animation {
    font-size: 105px;
  }

  .gopuram-glow {
    width: 220px;
    height: 220px;
  }

  .gopuram-shloka {
    font-size: 17px;
  }

}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {

  .journey-section {
    padding: 40px 0;
  }

  .journey-grid {
    display: flex;
    flex-direction: column;
    gap: 25px;
  }

  .journey-content {
    order: 1;
  }

  .gopuram-side {
    order: 2;

    min-height: 0;

    padding: 15px 0 5px;
  }

  .gopuram-animation {
    font-size: 90px;
  }

  .gopuram-glow {
    width: 190px;
    height: 190px;
  }

  .gopuram-shloka {
    margin-top: 14px;
    font-size: 16px;
  }

  .gopuram-subtitle {
    font-size: 12px;
  }

}

/* =====================================
   SMALL MOBILE
===================================== */

@media (max-width: 480px) {

  .journey-section {
    padding: 32px 0;
  }

  .journey-grid {
    gap: 20px;
  }

  .gopuram-animation {
    font-size: 75px;
  }

  .gopuram-glow {
    width: 160px;
    height: 160px;
  }

  .gopuram-shloka {
    font-size: 15px;
  }

  .gopuram-subtitle {
    font-size: 11px;
  }

}
/* =====================================
   CONTACT HERO
===================================== */

.contact-hero {
  position: relative;
  overflow: hidden;
}

.contact-hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 45px;
}

/* =====================================
   LEFT CONTENT
===================================== */

.contact-hero-content {
  max-width: 680px;
}

.contact-hero-content .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
}

.contact-hero-content h1 {
  margin: 0 0 20px;
  line-height: 1.25;
}

.contact-hero-content .lead {
  margin: 0;
  line-height: 1.8;
}

/* =====================================
   DEVOTEE AREA
===================================== */

.contact-devotee {
  position: relative;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  min-height: 300px;

  text-align: center;
}

/* =====================================
   SOFT GLOW
===================================== */

.devotee-glow {
  position: absolute;

  width: 230px;
  height: 230px;

  border-radius: 50%;

  background: rgba(198, 154, 69, 0.10);

  filter: blur(6px);

  animation: devoteeGlow 4s ease-in-out infinite;
}

/* =====================================
   DEVOTEE IMAGE
===================================== */

.devotee-icon {
  position: relative;
  z-index: 2;

  width: 180px;
  height: 180px;

  border-radius: 50%;
  overflow: hidden;

  animation: devoteeFloat 4s ease-in-out infinite;

  filter:
    drop-shadow(0 10px 15px rgba(70, 42, 20, 0.18));
}

.devotee-icon img {
  width: 100%;
  height: 100%;

  display: block;

  object-fit: cover;

  border-radius: 50%;
}

/* =====================================
   SHLOKA
===================================== */

.devotee-shloka {
  position: relative;
  z-index: 2;

  margin-top: 18px;

  color: #8a5a24;

  font-size: 19px;
  font-weight: 600;

  animation: devoteeFade 3s ease-in-out infinite;
}

.devotee-subtitle {
  position: relative;
  z-index: 2;

  margin-top: 7px;

  color: #9b8060;

  font-size: 13px;
  letter-spacing: 1.5px;
}

/* =====================================
   FLOAT ANIMATION
===================================== */

@keyframes devoteeFloat {

  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }

  100% {
    transform: translateY(0);
  }

}

/* =====================================
   GLOW ANIMATION
===================================== */

@keyframes devoteeGlow {

  0% {
    transform: scale(0.95);
    opacity: 0.45;
  }

  50% {
    transform: scale(1.05);
    opacity: 0.8;
  }

  100% {
    transform: scale(0.95);
    opacity: 0.45;
  }

}

/* =====================================
   SHLOKA FADE
===================================== */

@keyframes devoteeFade {

  0% {
    opacity: 0.65;
  }

  50% {
    opacity: 1;
  }

  100% {
    opacity: 0.65;
  }

}

/* =====================================
   TABLET
===================================== */

@media (max-width: 992px) {

  .contact-hero-grid {
    grid-template-columns: 1fr 0.7fr;
    gap: 30px;
  }

  .contact-devotee {
    min-height: 260px;
  }

  .devotee-icon {
    width: 150px;
    height: 150px;
  }

  .devotee-glow {
    width: 190px;
    height: 190px;
  }

  .devotee-shloka {
    font-size: 17px;
  }

}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {

  .contact-hero {
    padding: 40px 0 45px !important;
  }

  .contact-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
  }

  .contact-hero-content {
    order: 1;
    max-width: 100%;
  }

  .contact-devotee {
    order: 2;

    min-height: 220px;

    padding: 10px 0;
  }

  .devotee-icon {
    width: 140px;
    height: 140px;
  }

  .devotee-glow {
    width: 170px;
    height: 170px;
  }

  .devotee-shloka {
    margin-top: 14px;
    font-size: 16px;
  }

  .devotee-subtitle {
    font-size: 12px;
  }

}

/* =====================================
   SMALL MOBILE
===================================== */

@media (max-width: 480px) {

  .contact-hero {
    padding: 32px 0 38px !important;
  }

  .contact-hero-grid {
    gap: 15px;
  }

  .contact-devotee {
    min-height: 190px;
  }

  .devotee-icon {
    width: 120px;
    height: 120px;
  }

  .devotee-glow {
    width: 145px;
    height: 145px;
  }

  .devotee-shloka {
    font-size: 15px;
  }

}/* =====================================
   SEVA HERO
===================================== */

.seva-hero {
  position: relative;
  overflow: hidden;
}

.seva-hero-grid {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  align-items: center;
  gap: 55px;
}

/* =====================================
   LEFT IMAGE
===================================== */

.seva-hero-image {
  width: 100%;
  max-width: 400px;
}

.seva-hero-image img {
  width: 100%;
  height: 310px;
  display: block;
  object-fit: cover;

  border-radius: 24px;
  border: 2px solid #c69a45;
  padding: 5px;
  background: #f7efe2;

  box-shadow: 0 12px 30px rgba(70, 42, 20, 0.15);
}

/* =====================================
   RIGHT CONTENT
===================================== */

.seva-hero-content {
  max-width: 680px;
}

.seva-hero-content .eyebrow {
  display: inline-block;
  margin-bottom: 14px;
}

.seva-hero-content h1 {
  margin: 0 0 20px;
  line-height: 1.25;
}

.seva-hero-content .lead {
  margin: 0;
  line-height: 1.8;
}

/* =====================================
   TABLET
===================================== */

@media (max-width: 992px) {

  .seva-hero-grid {
    grid-template-columns: 0.75fr 1.25fr;
    gap: 35px;
  }

  .seva-hero-image {
    max-width: 340px;
  }

  .seva-hero-image img {
    height: 280px;
  }

}

/* =====================================
   MOBILE
===================================== */

@media (max-width: 768px) {

  .seva-hero {
    padding: 40px 0 45px !important;
  }

  .seva-hero-grid {
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .seva-hero-image {
    order: 1;
    width: 100%;
    max-width: 100%;
  }

  .seva-hero-content {
    order: 2;
    width: 100%;
    max-width: 100%;
  }

  .seva-hero-image img {
    width: 100%;
    height: 250px;
    border-radius: 20px;
  }

  .seva-hero-content h1 {
    font-size: 30px;
  }

  .seva-hero-content .lead {
    font-size: 16px;
    line-height: 1.8;
  }

}

/* =====================================
   SMALL MOBILE
===================================== */

@media (max-width: 480px) {

  .seva-hero {
    padding: 32px 0 40px !important;
  }

  .seva-hero-grid {
    gap: 22px;
  }

  .seva-hero-image img {
    height: 220px;
    border-radius: 17px;
  }

  .seva-hero-content h1 {
    font-size: 27px;
  }

  .seva-hero-content .lead {
    font-size: 15px;
    line-height: 1.75;
  }

}
.om {
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.om img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
