:root {
  --bg: #fff8ee;
  --surface: #fffdfa;
  --text: #2f1d12;
  --muted: #6f5343;
  --primary: #b84b1d;
  --primary-dark: #7a2f12;
  --accent: #f1b94d;
  --accent-soft: #f8e3b5;
  --accent-deep: #6a1d1d;
  --shadow: 0 20px 45px rgba(67, 24, 6, 0.14);
  --radius: 24px;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: 'Poppins', sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at top left, rgba(241, 185, 77, 0.3), transparent 24%),
    radial-gradient(circle at bottom right, rgba(184, 75, 29, 0.2), transparent 28%),
    linear-gradient(135deg, #fffaf2 0%, #fdf0dc 45%, #f8ebd9 100%);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

body::before,
body::after {
  content: "";
  position: fixed;
  inset: auto;
  width: 280px;
  height: 280px;
  border-radius: 50%;
  filter: blur(40px);
  z-index: -1;
  opacity: 0.4;
  pointer-events: none;
}

body::before {
  top: -60px;
  left: -70px;
  background: rgba(241, 185, 77, 0.28);
}

body::after {
  right: -70px;
  bottom: -60px;
  background: rgba(184, 75, 29, 0.2);
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.navbar {
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 7%;
  background: linear-gradient(135deg, #3b1e11 0%, #6f2a16 45%, #a04a1f 100%);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(241, 185, 77, 0.2);
  box-shadow: 0 10px 28px rgba(35, 14, 7, 0.22);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-weight: 700;
  color: #fff8ee;
}

.brand strong {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.02em;
}

.brand small {
  display: block;
  color: var(--muted);
  font-size: 0.8rem;
}

.brand-mark {
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #f1b94d, #ffdf99);
  color: #4b1b0b;
  font-size: 1.3rem;
  object-fit: cover;
}

.brand-image {
  border: 2px solid rgba(255,255,255,0.9);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}

.nav-links {
  display: flex;
  gap: 24px;
  font-weight: 600;
}

.nav-links a {
  color: #fcefd5;
  transition: color 0.2s ease, transform 0.2s ease;
}

.nav-links a:hover,
footer a:hover {
  color: #f1b94d;
  transform: translateY(-1px);
}

.menu-toggle {
  display: none;
  border: 0;
  background: none;
  font-size: 1.4rem;
  cursor: pointer;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 22px;
  border-radius: 999px;
  font-weight: 700;
  letter-spacing: 0.02em;
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
  transition: transform 0.25s ease, box-shadow 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.btn::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.26), transparent);
  transform: translateX(-120%);
  transition: transform 0.5s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 16px 32px rgba(83, 28, 8, 0.16);
}

.btn:hover::before {
  transform: translateX(120%);
}

.btn-primary {
  background: linear-gradient(135deg, #2f1d12 0%, #4a2b1a 55%, #2f1d12 100%);
  color: white;
  box-shadow: 0 14px 30px rgba(47, 29, 18, 0.28);
  border-color: rgba(255,255,255,0.35);
}

.btn-secondary {
  background: linear-gradient(135deg, #fffdf8 0%, #fbe8c1 100%);
  color: var(--primary-dark);
  border-color: rgba(184, 75, 29, 0.2);
  box-shadow: 0 10px 22px rgba(113, 54, 18, 0.1);
}

.btn-dark {
  background: linear-gradient(135deg, #2f1d12 0%, #4a2b1a 55%, #2f1d12 100%);
  color: #fff8ee;
  box-shadow: 0 12px 24px rgba(54, 24, 13, 0.22);
  border: 1px solid rgba(255,255,255,0.3);
}

.btn-dark {
  background: var(--text);
  color: white;
}

.btn-full {
  width: 100%;
  margin-top: 18px;
}

.hero,
.about,
.contact {
  padding: 70px 7%;
}

.hero-banner {
  position: relative;
  min-height: 560px;
  margin: 12px 0 20px;
  border-radius: 32px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  padding: 0 7%;
  box-shadow: 0 24px 50px rgba(52, 20, 7, 0.18);
  isolation: isolate;
}

.hero-banner::before,
.hero-banner::after {
  content: "";
  position: absolute;
  border-radius: 50%;
  filter: blur(8px);
  z-index: 0;
  animation: floatHero 8s ease-in-out infinite alternate;
}

.hero-banner::before {
  width: 220px;
  height: 220px;
  background: rgba(241, 185, 77, 0.28);
  top: -40px;
  right: -20px;
}

.hero-banner::after {
  width: 180px;
  height: 180px;
  background: rgba(184, 75, 29, 0.26);
  bottom: -40px;
  left: 20%;
  animation-duration: 10s;
}

.hero-banner-image {
  position: absolute;
  inset: 0;
  z-index: 0;
}

.hero-banner-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  /* boost vibrancy and clarity */
  filter: saturate(1.12) contrast(1.06) brightness(1.04);
  transition: transform 450ms ease, filter 350ms ease;
}

.hero-banner-overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  /* lighter overlay so banner image appears clearer and more vibrant */
  /* slightly darker to improve text contrast */
  background: linear-gradient(90deg, rgba(26, 10, 6, 0.50) 0%, rgba(26, 10, 6, 0.28) 55%, rgba(26, 10, 6, 0.08) 100%);
  transition: background 300ms ease;
}

.hero-banner-content {
  position: relative;
  z-index: 2;
  max-width: 640px;
  padding: 34px 0;
  color: white;
  /* full soft panel behind hero text for clear readability */
  border-radius: 12px;
  box-shadow: none;
  text-shadow: none;
}

.hero-banner-content .eyebrow {
  color: #ffd58c;
}

.hero-banner-content .btn-secondary {
  background: rgba(255,255,255,0.95);
  color: var(--primary-dark);
}

.hero-banner-content h1 {
  font-size: clamp(2rem, 3.3vw, 3rem);
  margin-bottom: 12px;
  letter-spacing: 0.02em;
}

.hero-banner-content h1:nth-of-type(2) {
  color: var(--accent);
  text-shadow: 0 0 22px rgba(241, 185, 77, 0.42);
}

.hero {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 34px;
  align-items: center;
  min-height: 70vh;
}

.eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.24em;
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 700;
}

h1,
h2,
h3 {
  font-family: 'Playfair Display', serif;
  line-height: 1.2;
}

h1 {
  font-size: clamp(2.2rem, 4vw, 3.6rem);
  margin: 0 0 16px;
}

h2 {
  font-size: clamp(1.8rem, 3vw, 2.4rem);
  margin: 0 0 10px;
}

.hero-content p,
.section-heading p,
.about-content p,
.process-step p,
.service-card p {
  color: var(--muted);
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin: 24px 0 20px;
}

.hero-highlights {
  padding: 0;
  list-style: none;
  display: grid;
  gap: 8px;
  color: var(--muted);
}

.hero-card,
.about-card,
.contact-card,
.service-card,
.process-step,
.stat-card,
.review-card,
.page-card {
  background: var(--surface);
  border-radius: 28px;
  box-shadow: 0 22px 46px rgba(59, 24, 7, 0.13);
  border: 1px solid rgba(184, 75, 29, 0.09);
  position: relative;
  overflow: hidden;
}

.hero-card::before,
.about-card::before,
.contact-card::before,
.service-card::before,
.process-step::before,
.stat-card::before,
.review-card::before,
.page-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(120deg, rgba(241,185,77,0.09) 0%, transparent 35%, rgba(184,75,29,0.08) 100%);
  pointer-events: none;
}

.hero-card {
  padding: 28px;
  position: relative;
  overflow: hidden;
  background: linear-gradient(145deg, #fffdfa 0%, #fef2d5 55%, #fbe6b9 100%);
}

.hero-card::after {
  content: "";
  position: absolute;
  width: 180px;
  height: 180px;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(184,75,29,0.16), transparent 70%);
  top: -40px;
  right: -40px;
}

.card-glow {
  position: absolute;
  inset: auto -20px -30px auto;
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: rgba(193, 122, 41, 0.2);
  filter: blur(18px);
}

.hero-card ul,
.about-card ul {
  padding-left: 18px;
  color: var(--muted);
  display: grid;
  gap: 10px;
}

.services,
.process {
  padding: 20px 7% 70px;
}

.section-heading {
  text-align: center;
  margin-bottom: 28px;
}

.service-grid,
.process-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.service-card,
.process-step {
  padding: 24px;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.service-card {
  position: relative;
  overflow: hidden;
  min-height: 240px;
  color: white;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  background-size: cover;
  background-position: center;
  border: 2px solid rgba(241, 185, 77, 0.25);
  border-radius: 30px;
  box-shadow: 0 18px 36px rgba(69, 31, 0, 0.18);
  transition: transform 0.35s ease, box-shadow 0.35s ease, filter 0.35s ease, border-color 0.3s ease;
  transform: perspective(1000px) rotateX(0deg) rotateY(0deg);
}

.service-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(8, 4, 2, 0.1) 0%, rgba(17, 8, 5, 0.86) 100%);
  z-index: 0;
}

.service-card::after {
  content: "";
  position: absolute;
  inset: 12px 12px auto auto;
  width: 88px;
  height: 88px;
  border: 1px solid rgba(241, 185, 77, 0.35);
  border-radius: 24px;
  transform: rotate(12deg);
  z-index: 0;
}

.service-card > * {
  position: relative;
  z-index: 1;
}

.service-card p {
  color: #f9f3e8;
}

.service-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.service-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg, #2f1d12 0%, #4a2b1a 100%);
  color: #fffdf7;
  font-size: 0.92rem;
  font-weight: 700;
  text-decoration: none;
  box-shadow: 0 10px 20px rgba(47, 29, 18, 0.24);
  border: 1px solid rgba(255,255,255,0.34);
  transition: transform 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
}

.service-link:hover {
  transform: translateY(-1px);
  background: linear-gradient(135deg, #ffcc70, #ff8c00);
  box-shadow: 0 10px 22px rgba(255, 127, 0, 0.34);
}

.service-link.secondary {
  background: linear-gradient(135deg, #fffdf8, #f7e5c2);
  color: #7a3d00;
  border: 1px solid rgba(122, 61, 0, 0.2);
  box-shadow: 0 8px 18px rgba(0,0,0,0.08);
}

.service-link.secondary:hover {
  background: linear-gradient(135deg, #fffaf0, #f2d8a8);
}

.card-kaal-sarp {
  background-image: url('../img/snake.jpg');
}

.card-mangal {
  background-image: url('../img/mangal.jpg');
}

.card-grah {
  background-image: url('../img/Tantra\ Shastra.jpg');
}

.card-pitra {
  background-image: url('../img/pitra.jpg');
}

.card-rudra {
  background-image: url('../img/rudrabhishek.jpg');
}

.card-kundli {
  background-image: url('../img/kundali.jpg');
}

.card-murti {
  background-image: url('../img/pranpratishta.jpg');
}

.card-mahamrityunjay {
  background-image: url('../img/mahamritunjay.jpg');
}

.card-santan {
  background-image: url('../img/baby.jpg');
}

.card-baglamukhi {
  background-image: url('../img/havanbaglamukhi.jpg');
}

.card-chandal {
  background-image: url('../img/chandal.jpg');
}

.card-bhairav {
  background-image: url('../img/pranpratishta.jpg');
}

.card-rinmukti {
  background-image: url('../img/rinmukti.jpg');
}

.card-navchandi {
  background-image: url('../img/navchandi.jpg');
}

.card-vish {
  background-image: url('../img/snake.jpg');
}

.card-ark {
  background-image: url('../img/arkkumbha.jpg');
}

.service-card:hover,
.process-step:hover {
  transform: translateY(-8px) scale(1.015);
  box-shadow: 0 24px 48px rgba(38, 20, 7, 0.22);
  filter: brightness(1.05) saturate(1.08);
  border-color: rgba(255, 226, 154, 0.7);
}

.service-icon {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffb347, #ff7f00);
  margin-bottom: 14px;
  font-size: 1.3rem;
  box-shadow: 0 8px 18px rgba(255, 127, 0, 0.24);
}

.service-card h3 {
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.35;
  margin-bottom: 8px;
  letter-spacing: 0.01em;
  text-shadow: 0 2px 8px rgba(0,0,0,0.35);
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(255,255,255,0.08);
  display: inline-block;
  width: fit-content;
}

.about {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 28px;
  align-items: center;
}

.about-card {
  padding: 28px;
}

.reviews-section {
  padding: 20px 7% 70px;
}

.stats-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin: 24px 0 28px;
}

.stat-card,
.review-card {
  padding: 24px;
  background: linear-gradient(145deg, #fffdfa, #f9ecd0);
}

.stat-card h3 {
  margin: 0 0 6px;
  color: var(--primary-dark);
  font-size: 1.8rem;
}

.stat-card p {
  margin: 0;
  color: var(--muted);
}

.review-slider {
  display: flex;
  align-items: center;
  gap: 14px;
}

.review-track {
  flex: 1;
  position: relative;
  min-height: 220px;
}

.review-card {
  display: none;
  border: 1px solid rgba(193, 122, 41, 0.12);
}

.review-card.active {
  display: block;
}

.review-profile {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 10px;
}

.profile-avatar {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  font-weight: 700;
}

.slider-btn {
  border: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--accent));
  color: white;
  font-size: 1.2rem;
  cursor: pointer;
  box-shadow: 0 10px 24px rgba(184, 75, 29, 0.2);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.slider-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 26px rgba(184, 75, 29, 0.25);
}

.stars {
  color: #f2b84b;
  letter-spacing: 0.2em;
  margin-bottom: 10px;
  font-size: 1rem;
}

.review-card p {
  color: var(--muted);
  margin: 0 0 12px;
}

.review-card strong {
  color: var(--text);
}

.floating-actions {
  position: fixed;
  right: 16px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 12px;
  z-index: 1100;
}

.floating-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  flex-direction: row-reverse;
}

.floating-label {
  background: linear-gradient(135deg, #fffaf3, #fce9c8);
  color: var(--text);
  padding: 8px 13px;
  border-radius: 999px;
  font-size: 0.9rem;
  font-weight: 700;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.12);
  border: 1px solid rgba(193, 122, 41, 0.16);
}

.floating-btn {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  box-shadow: 0 14px 30px rgba(0, 0, 0, 0.2);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  overflow: hidden;
  padding: 0;
}

.floating-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.floating-btn:hover {
  transform: scale(1.06);
}

.floating-btn.whatsapp {
  background: linear-gradient(135deg, #25d366, #1da851);
  color: white;
  animation: pulseGlow 1.8s infinite;
}

.floating-btn.call {
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: white;
  animation: pulseGlow 2.1s infinite;
}

@keyframes pulseGlow {
  0%,
  100% {
    box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.35);
  }
  50% {
    box-shadow: 0 0 0 12px rgba(37, 211, 102, 0);
  }
}

.contact-card {
  padding: 34px;
  text-align: center;
  max-width: 760px;
  margin: 0 auto;
}

.contact-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 12px;
  margin: 18px 0;
}

.contact-detail {
  color: var(--muted);
  margin: 6px 0;
}

footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 7% 40px;
  color: var(--muted);
}

footer div {
  display: flex;
  gap: 16px;
}

.page-shell {
  padding: 60px 7% 80px;
  max-width: 1100px;
  margin: 0 auto;
}

.gallery-hero {
  text-align: center;
  margin-bottom: 28px;
}

.gallery-hero h1 {
  margin-bottom: 8px;
}

.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
}

.gallery-card {
  background: var(--surface);
  border-radius: 24px;
  box-shadow: var(--shadow);
  padding: 0;
  overflow: hidden;
}

.gallery-card img {
  width: 100%;
  height: 240px;
  object-fit: cover;
  display: block;
}

.about-page {
  display: grid;
  grid-template-columns: 0.8fr 1.2fr;
  gap: 30px;
  align-items: start;
}

.about-portrait-card {
  background: linear-gradient(145deg, #fffdfa 0%, #fce8bf 100%);
  border-radius: 34px;
  padding: 16px;
  box-shadow: 0 22px 44px rgba(69, 31, 0, 0.16);
  position: relative;
  overflow: hidden;
}

.about-portrait-card img {
  width: 100%;
  border-radius: 24px;
  display: block;
}

.about-badge {
  position: absolute;
  top: 20px;
  left: 20px;
  background: rgba(59, 30, 17, 0.88);
  color: #fff4db;
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 8px 12px;
  border-radius: 999px;
}

.about-page-content {
  display: grid;
  gap: 18px;
}

.about-intro-card {
  background: linear-gradient(135deg, #fffdfa 0%, #fdf1db 100%);
  border-radius: 30px;
  padding: 28px;
  box-shadow: 0 18px 38px rgba(69, 31, 0, 0.12);
  border: 1px solid rgba(184, 75, 29, 0.08);
}

.about-intro-card h1 {
  margin-bottom: 12px;
}

.about-intro-card p {
  color: var(--muted);
  margin-bottom: 10px;
}

.about-highlights {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
}

.about-highlight-card {
  background: linear-gradient(145deg, #fffdfa, #f6e2b2);
  padding: 18px;
  border-radius: 22px;
  box-shadow: 0 14px 28px rgba(69, 31, 0, 0.1);
  border: 1px solid rgba(184, 75, 29, 0.08);
}

.about-highlight-card h3 {
  margin: 0 0 6px;
  color: var(--primary-dark);
}

.about-highlight-card p {
  margin: 0;
  color: var(--muted);
  font-size: 0.95rem;
}

.about-services-card ul {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 18px;
  padding-left: 18px;
}

.about-services-card li {
  color: var(--muted);
}

.page-shell h1 {
  margin-bottom: 14px;
}

.page-shell p,
.page-shell li {
  color: var(--muted);
}

.page-card {
  padding: 30px;
  margin-top: 20px;
  background: linear-gradient(145deg, #fffdfa 0%, #fdf0d2 100%);
}

.page-card ul {
  padding-left: 18px;
}
