/* ── Main Design System — Pandit Janardhan Rao ──────────────── */

/* ── CSS Custom Properties ─────────────────────────────────── */
:root {
  /* ── Brand Colors — Hindu Spiritual Palette ── */
  --crimson:        #7B1A1A;   /* Deep maroon — primary brand */
  --crimson-dark:   #4F0F0F;
  --crimson-light:  #A32020;
  --saffron:        #C8681A;   /* Saffron/ochre — accent */
  --saffron-light:  #E07A30;
  --gold:           #B8860B;   /* Traditional gold */
  --gold-dark:      #8A6200;
  --gold-bright:    #D4A52A;   /* Bright gold for highlights */
  --green:          #2E7D32;
  --sky:            #1565C0;

  /* ── Text ── */
  --text-dark:  #1C0A00;
  --text-body:  #4A3020;
  --text-muted: #7A5C45;
  --text-white: #ffffff;

  /* ── Backgrounds ── */
  --bg-white: #FFFCF7;    /* Warm off-white */
  --bg-light: #FDF5E8;    /* Warm cream/ivory */
  --bg-dark:  #1C0A00;    /* Deep dark brown */

  /* ── Borders ── */
  --border:     #E8D5B8;
  --radius-sm:  8px;
  --radius:     16px;
  --radius-lg:  24px;
  --radius-xl:  32px;
  --radius-pill:50px;

  /* ── Shadows — warm brown-based ── */
  --shadow-xs: 0 2px 8px rgba(123,26,26,0.07);
  --shadow-sm: 0 4px 16px rgba(123,26,26,0.1);
  --shadow-md: 0 8px 32px rgba(123,26,26,0.14);
  --shadow-lg: 0 20px 60px rgba(123,26,26,0.18);
  --shadow-accent: 0 8px 32px rgba(200,104,26,0.28);

  /* ── Spacing ── */
  --section-py: 96px;
  --container:  1200px;

  /* ── Transitions ── */
  --ease:      all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  --ease-fast: all 0.18s ease;

  /* ── Nav ── */
  --nav-h: 76px;

  /* Aliases for legacy class compatibility */
  --primary:       var(--crimson);
  --primary-dark:  var(--crimson-dark);
  --primary-light: var(--crimson-light);
  --accent:        var(--saffron);
  --accent-light:  var(--saffron-light);
}

/* ── Reset ─────────────────────────────────────────────────── */
*,*::before,*::after { box-sizing:border-box; margin:0; padding:0; }
html { scroll-behavior:smooth; font-size:16px; }
body {
  font-family:'Outfit', 'Segoe UI', sans-serif;
  color: var(--text-body);
  background: var(--bg-white);
  line-height: 1.65;
  overflow-x: hidden;
}
img  { max-width:100%; height:auto; display:block; }
a    { text-decoration:none; color:inherit; }
ul   { list-style:none; }
button { cursor:pointer; border:none; background:none; font-family:inherit; }
input, textarea, select { font-family:inherit; }

/* ── Container ─────────────────────────────────────────────── */
.container {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

/* ── Section Helpers ───────────────────────────────────────── */
.section        { padding: var(--section-py) 0; }
.section-light  { background: var(--bg-light); }
.section-dark   { background: var(--bg-dark); }
.section-dark h1,
.section-dark h2,
.section-dark h3,
.section-dark h4 { color: var(--text-white); }
.text-center { text-align:center; }

/* ── Typography ────────────────────────────────────────────── */
h1,h2,h3,h4,h5,h6 {
  color:var(--text-dark);
  font-family:'Playfair Display', 'Georgia', serif;
  font-weight:700;
  line-height:1.2;
}
h1 { font-size: clamp(2rem, 5vw, 3.4rem); }
h2 { font-size: clamp(1.7rem, 3.5vw, 2.5rem); }
h3 { font-size: clamp(1.15rem, 2vw, 1.4rem); }
h4 { font-size: 1.05rem; }

.section-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--saffron);
  margin-bottom: 14px;
  font-family: 'Outfit', sans-serif;
}
.section-eyebrow::before {
  content:'';
  display:block;
  width:22px; height:3px;
  background: var(--saffron);
  border-radius:2px;
}
/* Gold variant for dark sections */
.eyebrow-gold { color:var(--gold-bright); }
.eyebrow-gold::before { background:var(--gold-bright); }

.section-title  { margin-bottom:16px; }
.section-subtitle {
  font-size:1.05rem;
  color: var(--text-muted);
  max-width:580px;
  margin-bottom:48px;
  line-height:1.75;
  font-family:'Outfit', sans-serif;
}
.section-subtitle.center { text-align:center; margin-left:auto; margin-right:auto; }

/* ── Sanskrit/Decorative text ──────────────────────────────── */
.om-text {
  font-size: 1.6rem;
  color: var(--gold-bright);
  opacity: 0.6;
  font-family: serif;
}

/* ── Divider ───────────────────────────────────────────────── */
.section-divider {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 auto 48px;
  max-width: 380px;
  justify-content: center;
}
.section-divider::before,
.section-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold-bright), transparent);
}
.section-divider span { color: var(--gold-bright); font-size: 1.4rem; }

/* ── Buttons ───────────────────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 13px 28px;
  border-radius: var(--radius-pill);
  font-size: 0.95rem;
  font-weight: 600;
  font-family: 'Outfit', sans-serif;
  transition: var(--ease);
  cursor: pointer;
  border: 2px solid transparent;
  white-space: nowrap;
  line-height: 1;
}
.btn-primary {
  background: linear-gradient(135deg, var(--crimson), var(--crimson-light));
  color: #fff;
  box-shadow: 0 4px 20px rgba(123,26,26,0.3);
}
.btn-primary:hover { transform:translateY(-2px); box-shadow:0 8px 30px rgba(123,26,26,0.45); }

.btn-accent {
  background: linear-gradient(135deg, var(--saffron), var(--saffron-light));
  color: #fff;
  box-shadow: var(--shadow-accent);
}
.btn-accent:hover { transform:translateY(-2px); box-shadow:0 10px 36px rgba(200,104,26,0.5); }

.btn-gold {
  background: linear-gradient(135deg, var(--gold), var(--gold-bright));
  color: var(--text-dark);
  box-shadow: 0 4px 20px rgba(184,134,11,0.35);
}
.btn-gold:hover { transform:translateY(-2px); box-shadow:0 10px 36px rgba(184,134,11,0.5); }

.btn-wa {
  background: linear-gradient(135deg, #25d366, #20ba5a);
  color: #fff;
  box-shadow: 0 4px 20px rgba(37,211,102,0.35);
}
.btn-wa:hover { transform:translateY(-2px); box-shadow:0 10px 30px rgba(37,211,102,0.5); }

.btn-outline {
  background: transparent;
  border-color: var(--crimson);
  color: var(--crimson);
}
.btn-outline:hover { background:var(--crimson); color:#fff; transform:translateY(-2px); }

.btn-outline-white {
  background: transparent;
  border-color: rgba(255,255,255,0.55);
  color: #fff;
}
.btn-outline-white:hover { background:rgba(255,255,255,0.15); border-color:#fff; }

.btn-outline-gold {
  background: transparent;
  border-color: var(--gold-bright);
  color: var(--gold-bright);
}
.btn-outline-gold:hover { background:var(--gold-bright); color:var(--text-dark); }

.btn-lg { padding:17px 36px; font-size:1.02rem; }
.btn-sm { padding:9px 20px; font-size:0.85rem; }

/* ── Cards ─────────────────────────────────────────────────── */
.card {
  background: var(--bg-white);
  border-radius: var(--radius);
  padding: 32px;
  border: 1px solid var(--border);
  box-shadow: var(--shadow-xs);
  transition: var(--ease);
}
.card:hover { transform:translateY(-6px); box-shadow:var(--shadow-lg); }

/* ── Icon Boxes ────────────────────────────────────────────── */
.icon-box {
  width:60px; height:60px;
  border-radius:14px;
  display:flex; align-items:center; justify-content:center;
  font-size:1.4rem;
  margin-bottom:18px;
  flex-shrink:0;
}
.icon-blue   { background:rgba(123,26,26,0.08);    color:var(--crimson); }
.icon-orange { background:rgba(200,104,26,0.1);    color:var(--saffron); }
.icon-gold   { background:rgba(184,134,11,0.12);   color:var(--gold); }
.icon-green  { background:rgba(46,125,50,0.1);     color:var(--green); }
.icon-sky    { background:rgba(21,101,192,0.1);    color:var(--sky); }
.icon-crimson{ background:rgba(123,26,26,0.1);     color:var(--crimson); }
.icon-saffron{ background:rgba(200,104,26,0.12);   color:var(--saffron); }

/* ── Pills ─────────────────────────────────────────────────── */
.pill {
  display:inline-flex; align-items:center; gap:6px;
  padding:5px 14px;
  border-radius: var(--radius-pill);
  font-size:0.8rem; font-weight:600;
  font-family:'Outfit', sans-serif;
}
.pill-blue   { background:rgba(123,26,26,0.08);  color:var(--crimson); }
.pill-accent { background:rgba(200,104,26,0.1);  color:var(--saffron); }
.pill-gold   { background:rgba(184,134,11,0.12); color:var(--gold); }
.pill-green  { background:rgba(46,125,50,0.1);   color:#1B5E20; }
.pill-saffron{ background:rgba(200,104,26,0.12); color:var(--saffron); }

/* ── Service Card Link ─────────────────────────────────────── */
.sc-link {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 0.88rem; font-weight: 700;
  color: var(--crimson);
  transition: var(--ease-fast);
  margin-top: 4px;
  font-family:'Outfit', sans-serif;
}
.sc-link:hover { color: var(--saffron); gap: 13px; }

/* ── ═══════════════════════════════════════════════════
   NAVBAR
   ═══════════════════════════════════════════════════ */
.site-nav {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  height: var(--nav-h);
  transition: var(--ease);
}
.site-nav.scrolled {
  background: rgba(255,252,247,0.97);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  box-shadow: 0 2px 24px rgba(123,26,26,0.1);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: var(--nav-h);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
}
.nav-logo img {
  height: 50px;
  width: auto;
  border-radius: var(--radius-sm);
  transition: var(--ease);
  border: 2px solid rgba(255,255,255,0.2);
}
.site-nav.scrolled .nav-logo img { border-color: var(--border); }

/* Om symbol badge replacing logo image */
.nav-om-icon {
  width: 50px; height: 50px;
  border-radius: 50%;
  background: rgba(212,165,42,0.18);
  border: 2px solid rgba(212,165,42,0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.55rem;
  color: var(--gold-bright);
  font-family: serif;
  flex-shrink: 0;
  transition: var(--ease);
}
.site-nav.scrolled .nav-om-icon {
  background: rgba(212,165,42,0.12);
  border-color: var(--gold-bright);
}
.nav-logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.2;
}
.nav-logo-name {
  font-family: 'Playfair Display', serif;
  font-size: 0.95rem;
  font-weight: 700;
  color: #fff;
  transition: var(--ease);
}
.nav-logo-sub {
  font-family: 'Outfit', sans-serif;
  font-size: 0.68rem;
  font-weight: 400;
  color: rgba(255,255,255,0.65);
  letter-spacing: 0.5px;
  transition: var(--ease);
}
.site-nav.scrolled .nav-logo-name { color: var(--text-dark); }
.site-nav.scrolled .nav-logo-sub  { color: var(--text-muted); }

.nav-links {
  display: flex;
  align-items: center;
  gap: 34px;
}
.nav-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255,255,255,0.92);
  position: relative;
  transition: var(--ease);
  font-family: 'Outfit', sans-serif;
}
.site-nav.scrolled .nav-link { color: var(--text-dark); }
.nav-link::after {
  content:'';
  position:absolute; bottom:-4px; left:0;
  width:0; height:2px;
  background: var(--saffron);
  border-radius:2px;
  transition: var(--ease);
}
.nav-link:hover::after,
.nav-link.active::after { width:100%; }
.nav-link.active,
.nav-link:hover { color: var(--gold-bright); }
.site-nav.scrolled .nav-link.active,
.site-nav.scrolled .nav-link:hover { color: var(--saffron); }

.nav-cta { display:inline-flex; }

/* Hamburger */
.nav-burger {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: 6px;
  border-radius: var(--radius-sm);
}
.nav-burger span {
  display: block;
  width: 24px; height: 2px;
  background: rgba(255,255,255,0.9);
  border-radius: 2px;
  transition: var(--ease);
}
.site-nav.scrolled .nav-burger span { background: var(--text-dark); }
.nav-burger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-burger.open span:nth-child(2) { opacity:0; transform:scaleX(0); }
.nav-burger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile Drawer */
.nav-drawer {
  display: none;
  flex-direction: column;
  background: var(--bg-white);
  border-top: 1px solid var(--border);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s cubic-bezier(0.4,0,0.2,1);
}
.nav-drawer.open { max-height: 480px; }
.drawer-link {
  display: block;
  padding: 15px 24px;
  font-size: 0.98rem;
  font-weight: 500;
  color: var(--text-dark);
  border-bottom: 1px solid var(--border);
  transition: var(--ease-fast);
  font-family: 'Outfit', sans-serif;
}
.drawer-link:hover,
.drawer-link.active {
  color: var(--saffron);
  background: rgba(200,104,26,0.05);
  padding-left: 32px;
}
.drawer-cta { margin: 16px 24px 20px; justify-content: center; }

/* ── ═══════════════════════════════════════════════════
   FOOTER
   ═══════════════════════════════════════════════════ */
.site-footer {
  background: var(--bg-dark);
  color: rgba(255,255,255,0.7);
  padding: 72px 0 0;
  position: relative;
}
.site-footer::before {
  content:'';
  position:absolute; top:0; left:0; right:0;
  height: 4px;
  background: linear-gradient(90deg, var(--crimson), var(--saffron), var(--gold-bright), var(--saffron), var(--crimson));
}
.footer-grid {
  display: grid;
  grid-template-columns: 2fr 1fr 1.2fr 1.5fr;
  gap: 48px;
  padding-bottom: 56px;
  border-bottom: 1px solid rgba(255,255,255,0.08);
}
.footer-brand img {
  height: 54px; width:auto;
  border-radius: var(--radius-sm);
  margin-bottom: 18px;
  border: 2px solid rgba(255,255,255,0.1);
}
.footer-brand p {
  font-size: 0.88rem;
  line-height: 1.75;
  margin-bottom: 22px;
  color: rgba(255,255,255,0.6);
}
.footer-social { display:flex; gap:10px; }
.footer-social a {
  width:38px; height:38px;
  border-radius:50%;
  background:rgba(255,255,255,0.08);
  display:flex; align-items:center; justify-content:center;
  font-size:0.95rem;
  color: rgba(255,255,255,0.65);
  transition: var(--ease);
}
.footer-social a:hover { background:var(--saffron); color:#fff; transform:translateY(-3px); }

.footer-col h4 {
  color: var(--text-white);
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
  font-family: 'Outfit', sans-serif;
}
.footer-col a,
.footer-col p {
  display: block;
  font-size: 0.88rem;
  color: rgba(255,255,255,0.6);
  margin-bottom: 11px;
  transition: var(--ease-fast);
  line-height: 1.5;
}
.footer-col a:hover { color:var(--gold-bright); padding-left:5px; }
.footer-col p i { color:var(--gold-bright); width:18px; margin-right:8px; }

.footer-cities {
  display:flex; flex-wrap:wrap; gap:6px;
  margin-top:14px;
}
.footer-cities span {
  background:rgba(255,255,255,0.07);
  color:rgba(255,255,255,0.65);
  padding:4px 12px;
  border-radius:var(--radius-pill);
  font-size:0.78rem;
}
.footer-bottom {
  padding:22px 0;
  display:flex; align-items:center; justify-content:space-between;
  flex-wrap:wrap; gap:12px;
  font-size:0.82rem;
  color:rgba(255,255,255,0.38);
}
.footer-legal { display:flex; gap:24px; }
.footer-legal a { color:rgba(255,255,255,0.38); transition:var(--ease-fast); }
.footer-legal a:hover { color:var(--gold-bright); }

/* ── WhatsApp Float ────────────────────────────────────────── */
.wa-float {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 999;
  width: 58px; height:58px;
  border-radius: 50%;
  background: linear-gradient(135deg, #25d366, #128c5e);
  color: #fff;
  display: flex; align-items:center; justify-content:center;
  font-size: 1.65rem;
  box-shadow: 0 6px 24px rgba(37,211,102,0.45);
  transition: var(--ease);
  animation: waPulse 2.8s ease-in-out infinite;
}
.wa-float:hover { transform:scale(1.12); box-shadow:0 10px 36px rgba(37,211,102,0.6); }
.wa-tooltip {
  position:absolute; right:68px;
  white-space:nowrap;
  background:var(--text-dark);
  color:#fff;
  padding:7px 14px;
  border-radius:var(--radius-sm);
  font-size:0.8rem; font-weight:600;
  opacity:0; pointer-events:none;
  transition:var(--ease-fast);
  font-family:'Outfit', sans-serif;
}
.wa-float:hover .wa-tooltip { opacity:1; }
@keyframes waPulse {
  0%,100% { box-shadow:0 6px 24px rgba(37,211,102,0.45); }
  50%      { box-shadow:0 6px 36px rgba(37,211,102,0.7), 0 0 0 10px rgba(37,211,102,0.1); }
}

/* ── Page Hero (inner pages) ───────────────────────────────── */
.page-hero {
  background: linear-gradient(135deg, var(--crimson-dark) 0%, var(--crimson) 55%, var(--crimson-light) 100%);
  padding: calc(var(--nav-h) + 72px) 0 72px;
  text-align: center;
  color: #fff;
  position: relative;
  overflow: hidden;
}
.page-hero::before {
  content:'';
  position:absolute; inset:0;
  background:url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.04'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/svg%3E");
}
.page-hero-content { position:relative; z-index:1; }
.page-hero h1 { color:#fff; margin-bottom:14px; }
.page-hero p  { color:rgba(255,255,255,0.78); font-size:1.08rem; max-width:560px; margin:0 auto; }
.breadcrumb {
  display:flex; align-items:center; justify-content:center;
  gap:8px; font-size:0.84rem;
  color:rgba(255,255,255,0.55);
  margin-bottom:18px;
  font-family:'Outfit', sans-serif;
}
.breadcrumb a { color:var(--gold-bright); }
.breadcrumb .sep { color:rgba(255,255,255,0.35); }

/* ── Scroll Reveal ──────────────────────────────────────────── */
.reveal {
  opacity:0;
  transform:translateY(36px);
  transition:opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible { opacity:1; transform:translateY(0); }
.reveal-delay-1 { transition-delay:0.1s; }
.reveal-delay-2 { transition-delay:0.2s; }
.reveal-delay-3 { transition-delay:0.3s; }
.reveal-delay-4 { transition-delay:0.4s; }

/* ── CTA Section (global) ───────────────────────────────────── */
.cta-section {
  background: linear-gradient(135deg, var(--crimson-dark) 0%, var(--crimson) 60%, var(--saffron) 100%);
  padding: 80px 0;
  position: relative;
  overflow: hidden;
}
.cta-section::before {
  content:'';
  position:absolute; inset:0;
  background: radial-gradient(ellipse at 80% 50%, rgba(184,134,11,0.2) 0%, transparent 60%);
}
.cta-inner {
  position:relative; z-index:1;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:40px;
  flex-wrap:wrap;
}
.cta-text h2 { color:#fff; margin-bottom:12px; }
.cta-text p  { color:rgba(255,255,255,0.8); max-width:480px; font-size:1.02rem; }
.cta-buttons { display:flex; gap:14px; flex-wrap:wrap; align-items:center; }

/* ── Responsive ─────────────────────────────────────────────── */
@media (max-width:1024px) {
  :root { --section-py:72px; }
  .footer-grid { grid-template-columns:1fr 1fr; gap:36px; }
  .cta-inner { flex-direction:column; text-align:center; }
  .cta-text p { margin:0 auto; }
}
@media (max-width:768px) {
  :root { --section-py:56px; }
  .nav-links,.nav-cta { display:none; }
  .nav-burger { display:flex; }
  .nav-drawer { display:flex; }
  .footer-grid { grid-template-columns:1fr; gap:32px; }
  .footer-bottom { flex-direction:column; text-align:center; }
  .nav-logo-text { display: none; }
}
@media (max-width:480px) {
  :root { --section-py:48px; }
  .btn-lg { padding:14px 26px; font-size:0.95rem; }
  .container { padding:0 18px; }
}

/* ── Legal Pages ────────────────────────────────────────────── */
.legal-content {
  max-width: 820px;
  margin: 0 auto;
}
.legal-content h2 {
  font-size: 1.25rem;
  color: var(--crimson);
  margin-top: 40px;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid var(--bg-light);
}
.legal-content h2:first-child { margin-top: 0; }
.legal-content p {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.8;
  margin-bottom: 14px;
}
.legal-content ul {
  list-style: disc;
  padding-left: 28px;
  margin-bottom: 18px;
}
.legal-content ul li {
  font-size: 0.95rem;
  color: var(--text-body);
  line-height: 1.75;
  margin-bottom: 6px;
}
.legal-content a {
  color: var(--crimson);
  text-decoration: underline;
  transition: var(--ease-fast);
}
.legal-content a:hover { color: var(--saffron); }
