:root {
  --green-900: #063d2d;
  --green-800: #07543a;
  --green-700: #0b6f49;
  --green-600: #118552;
  --green-100: #eaf7ef;
  --green-50: #f5fbf7;
  --white: #ffffff;
  --ivory: #fffdf4;
  --ink: #153226;
  --muted: rgba(21, 50, 38, 0.72);
  --gold: #d8ad52;
  --line: rgba(6, 61, 45, 0.14);
  --shadow: 0 20px 58px rgba(6, 61, 45, 0.13);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at top left, rgba(17, 133, 82, 0.12), transparent 28rem),
    linear-gradient(90deg, rgba(6, 61, 45, 0.045) 1px, transparent 1px),
    linear-gradient(var(--green-50), var(--white));
  background-size: auto, 34px 34px, auto;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  letter-spacing: 0;
}

a {
  color: inherit;
  text-decoration: none;
}

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

i[data-lucide] {
  width: 1.05rem;
  height: 1.05rem;
  stroke-width: 1.9;
  vertical-align: -0.16rem;
}

h1,
h2,
h3,
.navbar-brand strong {
  font-family: Georgia, "Times New Roman", serif;
  letter-spacing: 0;
}

h1 {
  max-width: 11ch;
  margin: 0;
  color: var(--green-900);
  font-size: clamp(3rem, 7vw, 6.4rem);
  line-height: 0.92;
  text-shadow: 0 10px 34px rgba(255, 255, 255, 0.72);
}

h2 {
  margin-bottom: 1rem;
  color: var(--green-800);
  font-size: clamp(2rem, 4vw, 3.2rem);
  line-height: 1.06;
}

h3 {
  color: var(--green-800);
  font-size: 1.25rem;
}

.quick-bar {
  color: var(--white);
  background: linear-gradient(90deg, var(--green-900), var(--green-700));
  border-bottom: 1px solid rgba(255, 255, 255, 0.18);
  font-size: 0.9rem;
}

.quick-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.35rem 1.15rem;
  margin: 0;
  padding: 0.62rem 0;
  list-style: none;
}

.quick-links a,
.quick-phone {
  display: inline-flex;
  align-items: center;
  gap: 0.38rem;
  font-weight: 800;
}

.main-nav {
  background: rgba(255, 255, 255, 0.96);
  border-bottom: 1px solid var(--line);
  box-shadow: 0 12px 30px rgba(6, 61, 45, 0.11);
  backdrop-filter: blur(16px);
}

.navbar-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  min-width: 0;
}

.brand-symbol {
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  color: var(--white);
  background: radial-gradient(circle, var(--green-600) 0 44%, var(--green-900) 45% 100%);
  border: 3px solid var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 2px var(--green-600);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 900;
}

.navbar-brand strong,
.navbar-brand small {
  display: block;
}

.navbar-brand strong {
  color: var(--green-900);
  font-size: 1.12rem;
}

.navbar-brand small {
  color: var(--green-700);
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.navbar-dark .navbar-toggler {
  border-color: rgba(6, 61, 45, 0.24);
}

.navbar-dark .navbar-toggler-icon {
  filter: invert(1);
}

.navbar-nav .nav-link {
  color: var(--green-900);
  font-weight: 900;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link:focus,
.navbar-nav .nav-link.active {
  color: var(--green-600);
}

.dropdown-menu {
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.dropdown-item {
  color: var(--ink);
  font-weight: 800;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: var(--green-900);
  background: var(--green-100);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  border-radius: 4px;
  font-weight: 900;
  letter-spacing: 0;
}

.btn-gold {
  color: var(--white);
  border: 1px solid var(--green-700);
  background: linear-gradient(135deg, var(--green-600), var(--green-900));
  box-shadow: 0 13px 28px rgba(6, 61, 45, 0.2);
}

.btn-gold:hover,
.btn-gold:focus {
  color: var(--white);
  background: linear-gradient(135deg, #15a563, var(--green-800));
  transform: translateY(-1px);
}

.btn-outline-light {
  color: var(--green-900);
  border-color: rgba(6, 61, 45, 0.32);
  background: rgba(255, 255, 255, 0.72);
}

.btn-outline-light:hover,
.btn-outline-light:focus {
  color: var(--white);
  background: var(--green-700);
  border-color: var(--green-700);
}

.hero {
  position: relative;
  min-height: 79svh;
  overflow: hidden;
  background: var(--green-50);
}

.hero-media,
.hero-shade {
  position: absolute;
  inset: 0;
}

.hero-media {
  background: url("../assets/agastiya-green-hero.png") center / cover no-repeat;
  filter: saturate(1.04) contrast(1.02);
}

.hero-shade {
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.89) 34%, rgba(255, 255, 255, 0.3) 62%, rgba(6, 61, 45, 0.12) 100%),
    radial-gradient(circle at 12% 20%, rgba(17, 133, 82, 0.18), transparent 22rem);
}

.hero-inner {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 79svh;
  align-items: center;
  padding-top: 6rem;
  padding-bottom: 5rem;
}

.hero-copy {
  max-width: 52rem;
}

.hero-copy > p:not(.eyebrow) {
  max-width: 43rem;
  margin: 1.35rem 0 1.8rem;
  color: var(--muted);
  font-size: clamp(1.05rem, 2vw, 1.32rem);
  font-weight: 600;
}

.eyebrow,
.section-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 950;
  text-transform: uppercase;
}

.eyebrow::before,
.section-kicker::before {
  width: 2.4rem;
  height: 2px;
  background: currentColor;
  content: "";
}

.hero-actions,
.contact-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.55rem;
}

.hero-badges span {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.72rem 0.9rem;
  color: var(--green-900);
  background: rgba(255, 255, 255, 0.78);
  border: 1px solid rgba(6, 61, 45, 0.16);
  border-radius: 999px;
  box-shadow: 0 10px 28px rgba(6, 61, 45, 0.08);
  font-weight: 900;
}

.home-feature-bar {
  position: relative;
  z-index: 2;
  margin-top: -3.2rem;
  padding-bottom: 2rem;
}

.feature-tile {
  display: flex;
  min-height: 7rem;
  align-items: center;
  gap: 0.9rem;
  padding: 1.2rem;
  color: var(--green-900);
  background: var(--white);
  border: 1px solid var(--line);
  border-bottom: 4px solid var(--green-600);
  border-radius: 6px;
  box-shadow: var(--shadow);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.25rem;
  font-weight: 900;
}

.feature-tile i[data-lucide] {
  width: 2rem;
  height: 2rem;
  color: var(--green-600);
}

.feature-tile:hover {
  color: var(--white);
  background: var(--green-700);
  transform: translateY(-3px);
}

.feature-tile:hover i[data-lucide] {
  color: var(--white);
}

.leaf-strip {
  padding: 1rem 0;
  background: linear-gradient(90deg, var(--green-900), var(--green-700));
}

.leaf-strip img {
  width: 100%;
  max-height: 14rem;
  border: 6px solid var(--white);
  border-radius: 6px;
  object-fit: cover;
  object-position: center;
  box-shadow: 0 18px 48px rgba(6, 61, 45, 0.24);
}

.section-pad {
  padding: clamp(4.4rem, 7vw, 7rem) 0;
}

.content-section,
.raasi-section,
.pricing-section {
  background:
    radial-gradient(circle at 88% 12%, rgba(17, 133, 82, 0.1), transparent 24rem),
    var(--white);
}

.content-block,
.side-panel,
.procedure-card,
.chapter-card article,
.service-card,
.price-card,
.appointment-form {
  background: rgba(255, 255, 255, 0.96);
  border: 1px solid var(--line);
  border-top: 4px solid var(--green-600);
  border-radius: 6px;
  box-shadow: var(--shadow);
}

.content-block {
  padding: clamp(1.5rem, 3vw, 2.4rem);
  margin-bottom: 1.5rem;
}

.content-block p,
.side-panel p,
.procedure-card p,
.chapter-card p,
.service-card p,
.planets-section p,
.siddhar-section p,
.vedic-section p,
.appointment-section p,
.contact-footer p {
  color: var(--muted);
  font-size: 1.02rem;
}

.side-panel {
  position: sticky;
  top: 6.5rem;
  padding: 1.4rem;
  margin-bottom: 1.4rem;
}

.icon-list,
.contact-list {
  display: grid;
  gap: 0.7rem;
  margin: 1rem 0 1.4rem;
  padding: 0;
  list-style: none;
}

.icon-list li,
.contact-list li {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  font-weight: 800;
}

.icon-list i[data-lucide],
.contact-list i[data-lucide] {
  color: var(--green-700);
  flex: 0 0 auto;
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: var(--green-700);
  font-weight: 900;
}

.section-heading {
  max-width: 48rem;
  margin: 0 auto 2.8rem;
  text-align: center;
}

.section-heading p:last-child {
  color: var(--muted);
}

.procedure-section,
.services-section,
.appointment-section {
  background:
    linear-gradient(135deg, rgba(234, 247, 239, 0.96), rgba(255, 255, 255, 0.98)),
    repeating-linear-gradient(90deg, rgba(6, 61, 45, 0.05) 0 1px, transparent 1px 28px);
}

.procedure-card,
.service-card {
  height: 100%;
  padding: 1.45rem;
}

.procedure-card span {
  display: block;
  color: rgba(17, 133, 82, 0.22);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 3rem;
  font-weight: 900;
  line-height: 1;
}

.procedure-card i[data-lucide],
.service-card i[data-lucide] {
  width: 2rem;
  height: 2rem;
  margin: 1rem 0;
  color: var(--green-700);
}

.planets-section,
.chapters-section,
.vedic-section {
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 61, 45, 0.94), rgba(7, 84, 58, 0.9)),
    url("../assets/agastiya-green-hero.png") center / cover fixed no-repeat;
}

.planets-section h2,
.chapters-section h2,
.vedic-section h2,
.chapters-section .section-heading p:last-child {
  color: var(--white);
}

.planets-section p,
.vedic-section p {
  color: rgba(255, 255, 255, 0.82);
}

.vedic-section .content-block {
  background: rgba(6, 61, 45, 0.62);
  border-color: rgba(255, 255, 255, 0.24);
  backdrop-filter: blur(10px);
}

.navagraha-wheel {
  position: relative;
  display: grid;
  width: min(100%, 26rem);
  aspect-ratio: 1;
  place-items: center;
  margin: auto;
  color: var(--white);
  background:
    repeating-conic-gradient(from 0deg, rgba(255, 255, 255, 0.16) 0 10deg, transparent 10deg 20deg),
    radial-gradient(circle, rgba(17, 133, 82, 0.98) 0 34%, rgba(255, 255, 255, 0.18) 35% 100%);
  border: 2px solid rgba(255, 255, 255, 0.42);
  border-radius: 50%;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.22);
}

.navagraha-wheel span {
  z-index: 1;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2.1rem;
  font-weight: 900;
}

.navagraha-wheel i {
  position: absolute;
  width: 1.2rem;
  height: 1.2rem;
  background: var(--white);
  border-radius: 50%;
  box-shadow: 0 0 0 0.45rem rgba(255, 255, 255, 0.12);
}

.navagraha-wheel i:nth-child(2) { transform: rotate(0deg) translate(9.5rem); }
.navagraha-wheel i:nth-child(3) { transform: rotate(45deg) translate(9.5rem); }
.navagraha-wheel i:nth-child(4) { transform: rotate(90deg) translate(9.5rem); }
.navagraha-wheel i:nth-child(5) { transform: rotate(135deg) translate(9.5rem); }
.navagraha-wheel i:nth-child(6) { transform: rotate(180deg) translate(9.5rem); }
.navagraha-wheel i:nth-child(7) { transform: rotate(225deg) translate(9.5rem); }
.navagraha-wheel i:nth-child(8) { transform: rotate(270deg) translate(9.5rem); }
.navagraha-wheel i:nth-child(9) { transform: rotate(315deg) translate(9.5rem); }

.planet-tags,
.raasi-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.planet-tags span,
.raasi-grid span {
  padding: 0.62rem 0.9rem;
  background: rgba(255, 255, 255, 0.14);
  border: 1px solid rgba(255, 255, 255, 0.24);
  border-radius: 999px;
  font-weight: 900;
}

.raasi-grid {
  justify-content: center;
}

.raasi-grid span {
  color: var(--green-900);
  background: var(--white);
  border-color: var(--line);
  border-radius: 4px;
  min-width: 8rem;
  text-align: center;
  box-shadow: 0 12px 24px rgba(6, 61, 45, 0.08);
}

.chapter-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 2rem;
}

.chapter-tabs button {
  min-width: 5rem;
  padding: 0.62rem 1rem;
  color: var(--white);
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.22);
  border-radius: 4px;
  font-weight: 900;
}

.chapter-tabs button.active {
  color: var(--green-900);
  background: var(--white);
}

.chapter-card.is-hidden {
  display: none;
}

.chapter-card article {
  height: 100%;
  padding: 1.35rem;
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.chapter-card article:hover {
  transform: translateY(-4px);
  box-shadow: 0 26px 60px rgba(0, 0, 0, 0.18);
}

.section-image {
  width: 100%;
  min-height: 24rem;
  border: 8px solid var(--white);
  border-radius: 6px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.devotional-section {
  background:
    radial-gradient(circle at 10% 12%, rgba(216, 173, 82, 0.14), transparent 22rem),
    linear-gradient(180deg, var(--white), var(--green-50));
}

.devotional-feature {
  margin: 0;
}

.devotional-feature img {
  width: 100%;
  min-height: 23rem;
  border: 8px solid var(--white);
  border-radius: 6px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.deity-card {
  position: relative;
  display: block;
  height: 100%;
  overflow: hidden;
  color: var(--white);
  background: var(--green-900);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 6px;
  box-shadow: 0 22px 52px rgba(6, 61, 45, 0.16);
  transition: transform 180ms ease, box-shadow 180ms ease;
}

.deity-card:hover,
.deity-card:focus {
  color: var(--white);
  box-shadow: 0 30px 68px rgba(6, 61, 45, 0.24);
  transform: translateY(-4px);
}

.deity-card::after {
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(6, 61, 45, 0.96), rgba(6, 61, 45, 0.18) 62%, transparent);
  content: "";
}

.deity-card img {
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  transition: transform 220ms ease;
}

.deity-card:hover img,
.deity-card:focus img {
  transform: scale(1.035);
}

.deity-card span,
.deity-card h3 {
  position: relative;
  z-index: 1;
  display: block;
  margin-right: 1.15rem;
  margin-left: 1.15rem;
}

.deity-card span {
  margin-top: -4.25rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.deity-card h3 {
  min-height: 2.4rem;
  margin-top: 0.35rem;
  margin-bottom: 1rem;
  color: var(--white);
}

.page-hero {
  position: relative;
  display: flex;
  min-height: 52svh;
  align-items: flex-end;
  overflow: hidden;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 61, 45, 0.92) 0%, rgba(6, 61, 45, 0.72) 42%, rgba(6, 61, 45, 0.18) 100%),
    var(--page-image) center / cover no-repeat;
}

.page-hero-visual {
  position: absolute;
  right: max(1rem, calc((100vw - 1140px) / 2));
  bottom: clamp(2rem, 5vw, 4.5rem);
  z-index: 1;
  width: min(34vw, 31rem);
  margin: 0;
  pointer-events: none;
}

.page-hero-visual img {
  width: 100%;
  aspect-ratio: 16 / 10;
  border: 7px solid rgba(255, 255, 255, 0.92);
  border-radius: 6px;
  object-fit: cover;
  box-shadow: 0 28px 72px rgba(0, 0, 0, 0.34);
}

.page-hero::after {
  position: absolute;
  inset: auto 0 0;
  height: 8rem;
  background: linear-gradient(0deg, rgba(245, 251, 247, 0.96), transparent);
  content: "";
}

.page-hero-inner {
  position: relative;
  z-index: 2;
  padding-top: clamp(5rem, 9vw, 8rem);
  padding-bottom: clamp(3rem, 7vw, 6rem);
}

.page-hero h1 {
  max-width: 14ch;
  color: var(--white);
  font-size: clamp(2.8rem, 7vw, 5.9rem);
  line-height: 0.96;
  text-shadow: 0 16px 36px rgba(0, 0, 0, 0.32);
}

.page-hero p {
  max-width: 46rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: clamp(1rem, 2vw, 1.2rem);
  font-weight: 650;
}

.page-hero .eyebrow {
  color: rgba(255, 255, 255, 0.82);
}

.page-breadcrumb {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin-bottom: 1.35rem;
  color: rgba(255, 255, 255, 0.78);
  font-size: 0.9rem;
  font-weight: 900;
  text-transform: uppercase;
}

.page-breadcrumb a:hover,
.page-breadcrumb a:focus {
  color: var(--white);
}

.page-detail-section {
  background:
    radial-gradient(circle at 85% 10%, rgba(216, 173, 82, 0.12), transparent 18rem),
    linear-gradient(180deg, var(--green-50), var(--white));
}

.page-lead-card {
  position: relative;
  overflow: hidden;
}

.page-lead-card::after {
  position: absolute;
  right: -3rem;
  bottom: -4rem;
  width: 12rem;
  height: 12rem;
  border: 1.2rem solid rgba(17, 133, 82, 0.08);
  border-radius: 50%;
  content: "";
}

.topic-image-wrap {
  margin: 0 0 1.5rem;
}

.topic-image-wrap img {
  width: 100%;
  aspect-ratio: 16 / 8.5;
  border: 8px solid var(--white);
  border-radius: 6px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.page-points {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.step-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1rem;
}

.step-row div {
  min-height: 100%;
  padding: 1rem;
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: 6px;
}

.step-row span {
  display: inline-grid;
  width: 2.1rem;
  height: 2.1rem;
  margin-bottom: 0.75rem;
  place-items: center;
  color: var(--white);
  background: var(--green-700);
  border-radius: 50%;
  font-weight: 900;
}

.step-row strong {
  display: block;
  color: var(--green-900);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.1rem;
}

.step-row p {
  margin: 0.45rem 0 0;
}

.related-links {
  display: grid;
  gap: 0.75rem;
}

.related-links a {
  display: flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.85rem;
  color: var(--green-900);
  background: var(--green-50);
  border: 1px solid var(--line);
  border-radius: 6px;
  font-weight: 900;
}

.related-links a:hover,
.related-links a:focus {
  color: var(--white);
  background: var(--green-700);
}

.page-library-section {
  background:
    linear-gradient(180deg, var(--white), var(--green-50)),
    radial-gradient(circle at 8% 12%, rgba(17, 133, 82, 0.12), transparent 22rem);
}

.topic-card {
  display: block;
  height: 100%;
  overflow: hidden;
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 18px 42px rgba(6, 61, 45, 0.1);
  transition: transform 180ms ease, box-shadow 180ms ease, border-color 180ms ease;
}

.topic-card:hover,
.topic-card:focus {
  border-color: rgba(17, 133, 82, 0.38);
  box-shadow: 0 26px 62px rgba(6, 61, 45, 0.18);
  transform: translateY(-4px);
}

.topic-card img {
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

.topic-card span,
.topic-card h3,
.topic-card p {
  margin-right: 1rem;
  margin-left: 1rem;
}

.topic-card span {
  display: inline-block;
  margin-top: 1rem;
  color: var(--green-700);
  font-size: 0.78rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.topic-card h3 {
  margin-top: 0.35rem;
}

.topic-card p {
  margin-bottom: 1.15rem;
  color: var(--muted);
}

.home-page-preview {
  background:
    linear-gradient(180deg, var(--green-50), var(--white)),
    radial-gradient(circle at 90% 16%, rgba(216, 173, 82, 0.12), transparent 20rem);
}

.preview-mosaic {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-auto-rows: minmax(9rem, 1fr);
  gap: 1rem;
}

.preview-mosaic img {
  width: 100%;
  height: 100%;
  min-height: 11rem;
  border: 6px solid var(--white);
  border-radius: 6px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.preview-mosaic img:first-child {
  grid-row: span 2;
}

.topic-link-cloud {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin-top: 1.5rem;
}

.topic-link-cloud a {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.7rem 0.85rem;
  color: var(--green-900);
  background: var(--white);
  border: 1px solid var(--line);
  border-radius: 6px;
  box-shadow: 0 10px 28px rgba(6, 61, 45, 0.08);
  font-weight: 900;
}

.topic-link-cloud a:hover,
.topic-link-cloud a:focus {
  color: var(--white);
  background: var(--green-700);
}

.price-card {
  height: 100%;
  padding: 1.5rem;
  text-align: center;
}

.price-card.featured {
  border-color: rgba(17, 133, 82, 0.42);
  transform: translateY(-0.5rem);
}

.price {
  color: var(--green-700);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 900;
}

.appointment-form {
  padding: clamp(1.25rem, 3vw, 2rem);
}

.form-control,
.form-select {
  min-height: 3rem;
  border-color: rgba(6, 61, 45, 0.18);
  border-radius: 4px;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--green-600);
  box-shadow: 0 0 0 0.2rem rgba(17, 133, 82, 0.18);
}

.form-label {
  font-weight: 900;
}

.form-note {
  min-height: 1.5rem;
  margin: 0;
  color: var(--green-700);
  font-weight: 900;
}

.contact-footer {
  padding: clamp(3rem, 5vw, 4.5rem) 0;
  color: var(--white);
  background:
    linear-gradient(90deg, rgba(6, 61, 45, 0.96), rgba(17, 133, 82, 0.9)),
    url("../assets/agastiya-green-hero.png") center / cover no-repeat;
}

.contact-footer h2 {
  color: var(--white);
}

.contact-footer p {
  color: rgba(255, 255, 255, 0.84);
}

.site-footer {
  padding: 1.3rem 0;
  color: rgba(255, 255, 255, 0.72);
  background: var(--green-900);
  font-size: 0.88rem;
}

.site-footer p {
  margin: 0;
}

.back-to-top {
  position: fixed;
  right: 1rem;
  bottom: 1rem;
  z-index: 20;
  display: grid;
  width: 2.8rem;
  height: 2.8rem;
  place-items: center;
  color: var(--white);
  background: var(--green-700);
  border: 0;
  border-radius: 50%;
  opacity: 0;
  pointer-events: none;
  transform: translateY(0.75rem);
  transition: opacity 180ms ease, transform 180ms ease;
}

.back-to-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.reveal {
  opacity: 0;
  transform: translateY(1rem);
  transition: opacity 560ms ease, transform 560ms ease;
}

.reveal.is-visible {
  opacity: 1;
  transform: translateY(0);
}

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

@media (max-width: 991.98px) {
  .navbar-collapse {
    padding: 1rem 0;
  }

  .side-panel {
    position: static;
  }

  .planets-section,
  .chapters-section,
  .vedic-section {
    background-attachment: scroll;
  }
}

@media (max-width: 767.98px) {
  h1 {
    font-size: clamp(2.65rem, 16vw, 4.35rem);
  }

  .hero,
  .hero-inner {
    min-height: auto;
  }

  .hero-inner {
    padding-top: 4.5rem;
  }

  .hero-shade {
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.98), rgba(255, 255, 255, 0.82));
  }

  .home-feature-bar {
    margin-top: 0;
    padding-top: 1rem;
  }

  .hero-actions .btn,
  .contact-buttons .btn,
  .appointment-form .btn {
    width: 100%;
  }

  .navagraha-wheel {
    width: min(100%, 20rem);
  }

  .navagraha-wheel i:nth-child(2) { transform: rotate(0deg) translate(7rem); }
  .navagraha-wheel i:nth-child(3) { transform: rotate(45deg) translate(7rem); }
  .navagraha-wheel i:nth-child(4) { transform: rotate(90deg) translate(7rem); }
  .navagraha-wheel i:nth-child(5) { transform: rotate(135deg) translate(7rem); }
  .navagraha-wheel i:nth-child(6) { transform: rotate(180deg) translate(7rem); }
  .navagraha-wheel i:nth-child(7) { transform: rotate(225deg) translate(7rem); }
  .navagraha-wheel i:nth-child(8) { transform: rotate(270deg) translate(7rem); }
  .navagraha-wheel i:nth-child(9) { transform: rotate(315deg) translate(7rem); }

  .price-card.featured {
    transform: none;
  }

  .page-hero {
    min-height: 46svh;
  }

  .page-hero-visual {
    right: 1rem;
    bottom: 1.25rem;
    width: min(38vw, 18rem);
    opacity: 0.32;
  }

  .page-points,
  .step-row,
  .preview-mosaic {
    grid-template-columns: 1fr;
  }

  .devotional-feature img {
    min-height: 18rem;
  }

  .preview-mosaic img:first-child {
    grid-row: span 1;
  }
}

@media (max-width: 430px) {
  .page-hero-visual {
    display: none;
  }

  .quick-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    width: 100%;
  }

  .navbar-brand strong {
    font-size: 0.98rem;
  }

  .brand-symbol {
    width: 2.35rem;
    height: 2.35rem;
  }
}
