/* ─── CSS CUSTOM PROPERTIES ─────────────────────────────────────── */
:root {
  --saffron: #d4a373;
  --saffron-dark: #b8895a;
  --cream: #fffaf3;
  --cream-dark: #f5edd8;
  --gold: #c08a2e;
  --gold-light: #e8b84b;
  --gold-glow: rgba(192, 138, 46, 0.35);
  --brown: #4b3f2f;
  --brown-light: #7a6447;
  --brown-deep: #2e2519;
  --white: #ffffff;
  --overlay: rgba(30, 20, 10, 0.55);

  --font-kn: 'Noto Serif Kannada', serif;
  --font-en: 'Cormorant Garamond', serif;
  --font-deco: 'Cinzel Decorative', serif;

  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  --shadow-card: 0 8px 32px rgba(75, 63, 47, 0.15);
  --shadow-hover: 0 16px 48px rgba(75, 63, 47, 0.25);
  --radius: 18px;
}

/* ─── RESET & BASE ───────────────────────────────────────────────── */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  background: var(--cream);
  color: var(--brown);
  font-family: var(--font-en);
  overflow-x: hidden;
  line-height: 1.7;
}

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

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

p {
  text-align: justify;
}

.about ul {
  margin-left: 25px;
  line-height: 1.8;
  margin-bottom: 24px;
}

.about ul li .text-en {
  font-family: var(--font-deco);
  font-size: 1rem;
}

.about ul li .text-kn {
  font-family: var(--font-kn);
  font-size: 1rem;
}

/* ─── UTILITY ────────────────────────────────────────────────────── */
.lang-kn .text-en {
  display: none;
}

.lang-en .text-kn {
  display: none;
}

.section-pad {
  padding: 96px 24px;
}

.container {
  max-width: 1160px;
  margin: 0 auto;
}

.section-title {
  text-align: center;
  font-family: var(--font-deco);
  font-size: clamp(1.5rem, 4vw, 2.4rem);
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.06em;
}

.section-title.kn-title {
  font-family: var(--font-kn);
  font-weight: 600;
  letter-spacing: 0.02em;
}

.section-subtitle {
  text-align: center;
  font-size: 1.05rem;
  color: var(--brown-light);
  margin-bottom: 56px;
  font-style: italic;
}

/* ─── SPIRITUAL DIVIDER ──────────────────────────────────────────── */
.divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin: 0 auto 56px;
  max-width: 320px;
}

.divider::before,
.divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(to right, transparent, var(--gold));
}

.divider::after {
  background: linear-gradient(to left, transparent, var(--gold));
}

.divider-icon {
  color: var(--gold);
  font-size: 1.3rem;
  line-height: 1;
  filter: drop-shadow(0 0 6px var(--gold-glow));
}

/* ─── NOISE / GRAIN TEXTURE OVERLAY ─────────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.03'/%3E%3C/svg%3E");
  pointer-events: none;
  z-index: 9999;
  opacity: 0.4;
}

/* ─── NAVBAR ─────────────────────────────────────────────────────── */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 32px;
  height: 100px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255, 250, 243, 0.72);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(192, 138, 46, 0.18);
  transition: background var(--transition);
}

.navbar.scrolled {
  background: rgba(255, 250, 243, 0.95);
  box-shadow: 0 4px 24px rgba(75, 63, 47, 0.1);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-brand-symbol {
  width: 90px;
  height: 90px;
  flex-shrink: 0;
  object-fit: contain;
}

.nav-brand-text {
  font-family: var(--font-kn);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown);
  line-height: 1.3;
}

.nav-brand-text span {
  display: block;
  font-family: var(--font-en);
  font-size: 0.72rem;
  color: var(--brown-light);
  font-weight: 400;
  font-style: italic;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 8px;
  list-style: none;
}

.nav-links>li {
  position: relative;
}

.nav-links>li>a,
.nav-links>li>.nav-link-btn {
  padding: 8px 16px;
  font-family: var(--font-en);
  font-size: 0.92rem;
  font-weight: 500;
  color: var(--brown);
  letter-spacing: 0.04em;
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
  cursor: pointer;
  background: none;
  border: none;
  display: flex;
  align-items: center;
  gap: 5px;
  white-space: nowrap;
}

.nav-links>li>a:hover,
.nav-links>li>.nav-link-btn:hover {
  background: rgba(212, 163, 115, 0.18);
  color: var(--gold);
}

.dropdown-arrow {
  font-size: 0.65rem;
  transition: transform var(--transition);
  display: inline-block;
}

.nav-links>li:hover .dropdown-arrow {
  transform: rotate(180deg);
}

/* DROPDOWN */
.dropdown-menu {
  position: absolute;
  /* top: calc(100% + 8px); */
  left: 50%;
  transform: translateX(-50%) translateY(8px);
  min-width: 240px;
  background: rgba(255, 250, 243, 0.98);
  border: 1px solid rgba(192, 138, 46, 0.2);
  border-radius: 14px;
  padding: 10px 8px;
  box-shadow: 0 16px 48px rgba(75, 63, 47, 0.18);
  list-style: none;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--transition), transform var(--transition);
  backdrop-filter: blur(12px);
}

.nav-links>li:hover .dropdown-menu {
  opacity: 1;
  pointer-events: all;
  transform: translateX(-50%) translateY(0);
}

.dropdown-menu li a {
  display: block;
  padding: 10px 18px;
  font-size: 0.88rem;
  color: var(--brown);
  border-radius: 8px;
  transition: background var(--transition), color var(--transition);
}

.dropdown-menu li a:hover {
  background: rgba(212, 163, 115, 0.18);
  color: var(--gold);
}

.dropdown-menu li+li {
  border-top: 1px solid rgba(192, 138, 46, 0.1);
}

/* LANG TOGGLE */
.lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: 12px;
}

.lang-toggle-label {
  font-size: 0.78rem;
  color: var(--brown-light);
  font-style: italic;
}

.toggle-track {
  width: 52px;
  height: 28px;
  background: linear-gradient(135deg, var(--saffron), var(--gold));
  border-radius: 99px;
  position: relative;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(192, 138, 46, 0.3);
  transition: box-shadow var(--transition);
}

.toggle-track:hover {
  box-shadow: 0 0 16px rgba(192, 138, 46, 0.5);
}

.toggle-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 22px;
  height: 22px;
  background: var(--white);
  border-radius: 50%;
  transition: transform var(--transition);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  color: var(--gold);
  font-weight: 700;
}

.lang-en-active .toggle-thumb {
  transform: translateX(24px);
}

/* HAMBURGER */
.hamburger {
  display: none;
  flex-direction: column;
  gap: 5px;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
  transition: background var(--transition);
}

.hamburger:hover {
  background: rgba(212, 163, 115, 0.18);
}

.hamburger span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--brown);
  border-radius: 2px;
  transition: transform var(--transition), opacity var(--transition);
}

.hamburger.open span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.hamburger.open span:nth-child(2) {
  opacity: 0;
}

.hamburger.open span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* ─── MOBILE NAV ─────────────────────────────────────────────────── */
.mobile-nav {
  display: none;
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  background: rgba(255, 250, 243, 0.98);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(192, 138, 46, 0.18);
  z-index: 999;
  padding: 24px;
  transform: translateY(-100%);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

.mobile-nav.open {
  transform: translateY(0);
  opacity: 1;
}

.mobile-nav a {
  display: block;
  padding: 12px 0;
  font-size: 1rem;
  color: var(--brown);
  border-bottom: 1px solid rgba(192, 138, 46, 0.1);
}

.mobile-nav a:hover {
  color: var(--gold);
}

.mobile-nav .mobile-subgroup {
  padding-left: 16px;
}

.mobile-nav .mobile-group-title {
  padding: 12px 0 4px;
  font-size: 0.8rem;
  color: var(--saffron-dark);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  border-bottom: 1px solid rgba(192, 138, 46, 0.1);
}

.mobile-lang-toggle {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid rgba(192, 138, 46, 0.1);
}

/* ─── HERO ───────────────────────────────────────────────────────── */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 120px 32px 64px;
  position: relative;
  overflow: hidden;
}

/* Sunrise sky background */
.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 70% 40%, rgba(255, 210, 120, 0.28) 0%, transparent 65%),
    radial-gradient(ellipse 60% 80% at 15% 80%, rgba(180, 130, 80, 0.18) 0%, transparent 60%),
    linear-gradient(160deg, #fdf3e0 0%, #f9e8c4 35%, #f0d5a0 65%, #e8c88a 100%);
  z-index: 0;
}

/* Subtle pattern */
.hero::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(circle at 1px 1px, rgba(192, 138, 46, 0.06) 1px, transparent 0);
  background-size: 32px 32px;
  z-index: 0;
}

.hero-inner {
  position: relative;
  z-index: 1;
  max-width: 1160px;
  margin: 0 auto;
  width: 100%;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

/* LEFT */
.hero-left {
  animation: fadeSlideLeft 1.1s ease both;
}

/* Carousel */
.hero-carousel {
  position: relative;
  width: 100%;
}

.carousel-track {
  position: relative;
  width: 100%;
  min-height: 280px;
}

.carousel-slide {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.6s ease, visibility 0.6s ease;
}

.carousel-slide.active {
  opacity: 1;
  visibility: visible;
  position: relative;
}

.carousel-dots {
  display: flex;
  gap: 10px;
  margin-top: 24px;
  justify-content: flex-start;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid var(--gold);
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot:hover {
  background: rgba(192, 138, 46, 0.3);
}

.carousel-dot.active {
  background: var(--gold);
}

.carousel-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border: 2px solid var(--gold);
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--gold);
  transition: all 0.3s ease;
  z-index: 10;
}

.carousel-arrow:hover {
  background: var(--gold);
  color: #fff;
}

.carousel-arrow-prev {
  left: -20px;
}

.carousel-arrow-next {
  right: -20px;
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(192, 138, 46, 0.12);
  border: 1px solid rgba(192, 138, 46, 0.3);
  border-radius: 99px;
  padding: 6px 18px;
  font-size: 0.8rem;
  color: var(--gold);
  letter-spacing: 0.12em;
  margin-bottom: 28px;
  font-style: italic;
}

.hero-title-kn {
  font-family: var(--font-kn);
  font-size: clamp(2rem, 5vw, 3.6rem);
  font-weight: 600;
  color: var(--brown-deep);
  line-height: 1.25;
  margin-bottom: 12px;
  text-shadow: 0 2px 12px rgba(75, 63, 47, 0.12);
}

.hero-title-en {
  font-family: var(--font-deco);
  font-size: clamp(1.4rem, 3.5vw, 2.4rem);
  color: var(--gold);
  line-height: 1.3;
  margin-bottom: 12px;
  letter-spacing: 0.04em;
}

.hero-subtitle {
  font-size: clamp(1rem, 2vw, 1.18rem);
  color: var(--brown-light);
  font-style: italic;
  margin-bottom: 32px;
}

.hero-quote {
  position: relative;
  padding: 20px 24px 20px 32px;
  background: rgba(255, 255, 255, 0.5);
  border-left: 3px solid var(--gold);
  border-radius: 0 12px 12px 0;
  margin-bottom: 40px;
  backdrop-filter: blur(4px);
}

.hero-quote::before {
  content: '\201C';
  position: absolute;
  top: -8px;
  left: 12px;
  font-size: 4rem;
  color: var(--gold);
  opacity: 0.3;
  font-family: Georgia, serif;
  line-height: 1;
}

.hero-quote p {
  font-size: 1.05rem;
  color: var(--brown);
  font-style: italic;
  line-height: 1.8;
}

.hero-quote cite {
  display: block;
  margin-top: 8px;
  font-size: 0.82rem;
  color: var(--saffron-dark);
  font-style: normal;
  letter-spacing: 0.08em;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--gold), var(--saffron-dark));
  color: var(--white);
  padding: 14px 32px;
  border-radius: 99px;
  font-size: 0.95rem;
  font-weight: 500;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(192, 138, 46, 0.35);
  transition: transform var(--transition), box-shadow var(--transition);
}

.hero-cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 32px rgba(192, 138, 46, 0.5);
}

.hero-cta-icon {
  font-size: 1rem;
}

/* RIGHT */
.hero-right {
  display: flex;
  justify-content: center;
  align-items: center;
  animation: fadeSlideRight 1.1s ease 0.2s both;
}

.guru-frame {
  position: relative;
  width: min(440px, 100%);
}

/* Mandala halo ring */
.guru-halo {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 92%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: radial-gradient(circle,
      rgba(255, 210, 100, 0.35) 0%,
      rgba(192, 138, 46, 0.2) 45%,
      transparent 70%);
  filter: blur(12px);
  animation: pulseHalo 4s ease-in-out infinite;
}

.guru-halo-ring {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 88%;
  aspect-ratio: 1;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  border: 2px solid rgba(192, 138, 46, 0.25);
  box-shadow:
    0 0 0 8px rgba(192, 138, 46, 0.06),
    0 0 0 18px rgba(192, 138, 46, 0.04),
    0 0 40px rgba(255, 200, 80, 0.25);
}

.guru-img-wrap {
  position: relative;
  z-index: 2;
  border-radius: 50%;
  overflow: hidden;
  box-shadow:
    0 20px 60px rgba(75, 63, 47, 0.28),
    0 0 0 4px rgba(192, 138, 46, 0.2),
    0 0 0 10px rgba(212, 163, 115, 0.1);
}

.guru-img-wrap img {
  width: 100%;
  aspect-ratio: 3/3;
  object-fit: cover;
  object-position: top center;
  display: block;
  filter: sepia(8%) saturate(1.1) contrast(1.02);
  transition: filter 0.5s ease;
}

.guru-img-wrap:hover img {
  filter: sepia(0%) saturate(1.2) contrast(1.04);
}

/* Image placeholder if no image */
.guru-placeholder {
  width: 100%;
  aspect-ratio: 3/4;
  background: linear-gradient(160deg, #f5deb0, #e8c070);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 12px;
  color: rgba(75, 63, 47, 0.5);
}

.guru-placeholder .placeholder-icon {
  font-size: 4rem;
  opacity: 0.4;
}

.guru-placeholder p {
  font-style: italic;
  font-size: 0.85rem;
}

.guru-name-tag {
  position: absolute;
  bottom: -3px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  background: var(--white);
  color: var(--gold);
  padding: 10px 28px;
  border-radius: 99px;
  text-align: center;
  opacity: 0.9;
  white-space: nowrap;
  /* box-shadow: 0 4px 20px rgba(192, 138, 46, 0.4); */
}

.guru-name-tag .name-kn {
  font-family: var(--font-kn);
  font-size: 0.9rem;
  font-weight: 500;
  display: block;
}

.guru-name-tag .name-en {
  font-family: var(--font-en);
  font-size: 0.72rem;
  font-style: italic;
  opacity: 0.9;
  display: block;
}

/* Floating petals */
.petal {
  position: absolute;
  font-size: 1.2rem;
  opacity: 0;
  animation: floatPetal 8s ease-in-out infinite;
  pointer-events: none;
  z-index: 1;
}

.petal:nth-child(1) {
  top: 10%;
  left: 8%;
  animation-delay: 0s;
}

.petal:nth-child(2) {
  top: 20%;
  right: 6%;
  animation-delay: 2.5s;
}

.petal:nth-child(3) {
  bottom: 30%;
  left: 4%;
  animation-delay: 5s;
}

.petal:nth-child(4) {
  bottom: 15%;
  right: 10%;
  animation-delay: 1.5s;
}

/* ─── ABOUT SECTION ──────────────────────────────────────────────── */
.about {
  background: linear-gradient(160deg, #fdf6ea 0%, #f8edd6 100%);
  padding: 96px 24px;
  position: relative;
  overflow: hidden;
}

.about::before {
  content: 'ॐ';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 26vw;
  color: rgba(192, 138, 46, 0.04);
  font-family: serif;
  pointer-events: none;
  line-height: 1;
  user-select: none;
}

.about-inner {
  position: relative;
  max-width: 820px;
  margin: 0 auto;
  text-align: center;
}

.about-kn-text {
  font-family: var(--font-kn);
  font-size: 1.05rem;
  line-height: 2.1;
  color: var(--brown);
  margin-bottom: 24px;
}

.about-en-text {
  font-size: 1.1rem;
  line-height: 1.9;
  color: var(--brown);
  margin-bottom: 24px;
}

.about-signature {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  margin-top: 32px;
  font-style: italic;
  color: var(--saffron-dark);
  font-size: 1rem;
}

.about-signature::before,
.about-signature::after {
  content: '';
  display: block;
  width: 40px;
  height: 1px;
  background: var(--saffron);
}

/* ─── SHRI KSHETRA SECTION ───────────────────────────────────────── */
.kshetra {
  background: var(--cream);
  padding: 96px 24px;
}

.cards-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 28px;
}

.kshetra-card {
  background: var(--white);
  border: 1px solid rgba(212, 163, 115, 0.25);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease, box-shadow 0.3s ease;
}

.kshetra-card.visible {
  opacity: 1;
  transform: translateY(0);
}

.kshetra-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-hover);
  border-color: rgba(192, 138, 46, 0.4);
}

.card-icon-wrap {
  height: 120px;
  background: linear-gradient(135deg, rgba(212, 163, 115, 0.2), rgba(192, 138, 46, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  position: relative;
  overflow: hidden;
}

.card-icon-wrap::after {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center, rgba(192, 138, 46, 0.12) 0%, transparent 70%);
}

.card-icon-wrap img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
}

.card-body {
  padding: 24px;
}

.card-title-kn {
  font-family: var(--font-kn);
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 8px;
}

.card-title-en {
  font-family: var(--font-deco);
  font-size: 0.88rem;
  color: var(--gold);
  margin-bottom: 12px;
  letter-spacing: 0.05em;
}

.card-desc-kn {
  font-family: var(--font-kn);
  font-size: 0.88rem;
  line-height: 1.9;
  color: var(--brown-light);
}

.card-desc-en {
  font-size: 0.9rem;
  line-height: 1.75;
  color: var(--brown-light);
}

.card-link {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 16px;
  font-size: 0.85rem;
  color: var(--gold);
  font-weight: 500;
  transition: gap var(--transition);
}

.card-link:hover {
  gap: 10px;
}

/* ─── TEACHINGS SECTION ──────────────────────────────────────────── */
.teachings {
  background: linear-gradient(160deg, #f5e8d0 0%, #efe0c0 100%);
  padding: 96px 24px;
  position: relative;
}

.teachings-tabs {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 48px;
  flex-wrap: wrap;
}

.tab-btn {
  padding: 10px 24px;
  border: 1px solid rgba(192, 138, 46, 0.3);
  border-radius: 99px;
  background: transparent;
  color: var(--brown-light);
  font-size: 0.88rem;
  cursor: pointer;
  transition: all var(--transition);
  font-family: var(--font-en);
}

.tab-btn.active,
.tab-btn:hover {
  background: linear-gradient(135deg, var(--gold), var(--saffron-dark));
  color: var(--white);
  border-color: transparent;
  box-shadow: 0 4px 16px rgba(192, 138, 46, 0.3);
}

.tab-panel {
  display: none;
}

.tab-panel.active {
  display: grid;
}

.tab-panel.books-panel {
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 24px;
}

.tab-panel.videos-panel {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

.tab-panel.sookti-panel {
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 24px;
}

/* Book card */
.book-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
  cursor: pointer;
}

.book-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.book-cover {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3.5rem;
  position: relative;
  overflow: hidden;
}

.book-cover.bc1 {
  background: linear-gradient(135deg, #f5deb0, #c8a060);
}

.book-cover.bc2 {
  background: linear-gradient(135deg, #d4b08a, #8b6a3e);
}

.book-cover.bc3 {
  background: linear-gradient(135deg, #e8c878, #b07020);
}

.book-cover.bc4 {
  background: linear-gradient(135deg, #c9a87a, #7a5830);
}

.book-info {
  padding: 16px;
}

.book-title-kn {
  font-family: var(--font-kn);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 4px;
}

.book-title-en {
  font-size: 0.8rem;
  color: var(--gold);
  font-style: italic;
}

/* Video card */
.video-card {
  background: var(--white);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  transition: transform var(--transition), box-shadow var(--transition);
}

.video-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.video-thumb {
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 3rem;
  position: relative;
  cursor: pointer;
}

.video-thumb.vt1 {
  background: linear-gradient(135deg, #e8d4b0, #b89060);
}

.video-thumb.vt2 {
  background: linear-gradient(135deg, #d4c090, #907040);
}

.video-thumb.vt3 {
  background: linear-gradient(135deg, #c8b880, #806030);
}

.video-play-btn {
  position: absolute;
  width: 52px;
  height: 52px;
  background: rgba(255, 255, 255, 0.9);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2);
  transition: transform var(--transition);
}

.video-thumb:hover .video-play-btn {
  transform: scale(1.1);
}

.video-info {
  padding: 16px;
}

.video-title-kn {
  font-family: var(--font-kn);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 4px;
}

.video-title-en {
  font-size: 0.8rem;
  color: var(--gold);
  font-style: italic;
}

/* Sookti card */
.sookti-card {
  background: var(--white);
  border-radius: 14px;
  padding: 28px;
  box-shadow: var(--shadow-card);
  border-left: 4px solid var(--gold);
  transition: transform var(--transition), box-shadow var(--transition);
  position: relative;
  overflow: hidden;
}

.sookti-card::before {
  content: '\201C';
  position: absolute;
  top: 0;
  left: 8px;
  font-size: 6rem;
  color: rgba(192, 138, 46, 0.1);
  line-height: 1;
  font-family: Georgia, serif;
}

.sookti-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-hover);
}

.sookti-text-kn {
  font-family: var(--font-kn);
  font-size: 1rem;
  line-height: 2;
  color: var(--brown);
  font-style: italic;
  position: relative;
}

.sookti-text-en {
  font-size: 1rem;
  line-height: 1.8;
  color: var(--brown);
  font-style: italic;
  position: relative;
}

.sookti-source {
  margin-top: 14px;
  font-size: 0.78rem;
  color: var(--saffron-dark);
  letter-spacing: 0.08em;
}

/* ─── CONTACT SECTION ────────────────────────────────────────────── */
.contact {
  background: linear-gradient(160deg, #f5e8d0 0%, #efe0c0 100%);
  padding: 96px 24px;
}

.contact-inner {
  max-width: 900px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: start;
}

.contact-info h3 {
  font-family: var(--font-kn);
  font-size: 1.3rem;
  font-weight: 600;
  color: var(--brown-deep);
  margin-bottom: 24px;
}

.contact-info h3.en-h3 {
  font-family: var(--font-deco);
  font-size: 1.1rem;
  letter-spacing: 0.05em;
}

.contact-item {
  display: flex;
  align-items: flex-start;
  gap: 16px;
  margin-bottom: 24px;
}

.contact-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(212, 163, 115, 0.2), rgba(192, 138, 46, 0.1));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  flex-shrink: 0;
  border: 1px solid rgba(192, 138, 46, 0.2);
}

.contact-item-text strong {
  display: block;
  font-size: 0.85rem;
  color: var(--gold);
  letter-spacing: 0.06em;
  margin-bottom: 2px;
}

.contact-item-text p {
  font-size: 0.92rem;
  color: var(--brown);
}

.phone-number {
  font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
  font-size: 1.05rem;
  font-weight: 600;
  color: var(--brown-deep);
  letter-spacing: 0.02em;
}

.contact-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: start;
}

@media (max-width: 768px) {
  .contact-grid {
    grid-template-columns: 1fr;
    gap: 24px;
  }
}

/* Contact form */
.contact-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 7px;
}

.form-group label {
  font-size: 0.82rem;
  color: var(--brown-light);
  letter-spacing: 0.06em;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  background: var(--white);
  border: 1px solid rgba(212, 163, 115, 0.4);
  border-radius: 10px;
  padding: 12px 16px;
  font-size: 0.92rem;
  color: var(--brown);
  font-family: var(--font-en);
  transition: border-color var(--transition), box-shadow var(--transition);
  outline: none;
  resize: vertical;
}

.form-group input:focus,
.form-group textarea:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(192, 138, 46, 0.12);
}

.form-submit {
  align-self: flex-start;
  background: linear-gradient(135deg, var(--gold), var(--saffron-dark));
  color: var(--white);
  border: none;
  padding: 13px 32px;
  border-radius: 99px;
  font-size: 0.92rem;
  cursor: pointer;
  font-family: var(--font-en);
  letter-spacing: 0.05em;
  box-shadow: 0 4px 16px rgba(192, 138, 46, 0.3);
  transition: transform var(--transition), box-shadow var(--transition);
}

.form-submit:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 28px rgba(192, 138, 46, 0.45);
}

/* ─── FOOTER ─────────────────────────────────────────────────────── */
footer {
  background: #2a1f1a;
  color: rgba(255, 250, 243, 0.75);
  padding: 10px;
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(to right, transparent, var(--gold), var(--saffron), var(--gold), transparent);
}

.footer-inner {
  max-width: 960px;
  margin: 0 auto;
  text-align: center;
}

/* .footer-om {
  font-size: 2.8rem;
  color: var(--gold);
  margin-bottom: 16px;
  text-shadow: 0 0 20px rgba(192, 138, 46, 0.5);
  animation: pulseHalo 3s ease-in-out infinite;
  display: block;
} */

.footer-name-kn {
  font-family: var(--font-kn);
  font-size: 1.2rem;
  color: var(--saffron);
  font-weight: 500;
  margin-bottom: 4px;
}

.footer-name-en {
  font-family: var(--font-deco);
  font-size: 0.9rem;
  color: rgba(255, 250, 243, 0.5);
  letter-spacing: 0.1em;
  /* margin-bottom: 32px; */
}

/* .footer-links {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 24px;
  margin-bottom: 32px;
  list-style: none;
}
.footer-links a {
  font-size: 0.85rem;
  color: rgba(255, 250, 243, 0.55);
  transition: color var(--transition);
}
.footer-links a:hover { color: var(--saffron); }

.footer-divider {
  width: 80px;
  height: 1px;
  background: rgba(255, 250, 243, 0.1);
  margin: 0 auto 24px;
} */

.footer-copy {
  font-size: 0.78rem;
  color: rgba(255, 250, 243, 0.3);
  letter-spacing: 0.06em;
}

/* ─── ANIMATIONS ─────────────────────────────────────────────────── */
@keyframes fadeSlideLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeSlideRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulseHalo {

  0%,
  100% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }

  50% {
    opacity: 0.7;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

@keyframes floatPetal {
  0% {
    opacity: 0;
    transform: translateY(0) rotate(0deg);
  }

  20% {
    opacity: 0.6;
  }

  80% {
    opacity: 0.4;
  }

  100% {
    opacity: 0;
    transform: translateY(-80px) rotate(30deg);
  }
}

/* ─── RESPONSIVE ─────────────────────────────────────────────────── */
@media (max-width: 900px) {
  .hero-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .hero-left {
    order: 2;
  }

  .hero-right {
    order: 1;
  }

  .guru-frame {
    max-width: 320px;
    margin: 0 auto;
  }

  .contact-inner {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .nav-links {
    display: none;
  }

  .hamburger {
    display: flex;
  }

  .mobile-nav {
    display: block;
  }
}

@media (max-width: 600px) {
  .hero {
    padding: 125px 20px 56px;
  }

  .section-pad {
    padding: 64px 20px;
  }

  .about,
  .kshetra,
  .teachings,
  .contact {
    padding: 64px 20px;
  }

  .cards-grid {
    grid-template-columns: 1fr;
  }
}

/* ─── SCROLL REVEAL ──────────────────────────────────────────────── */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

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

/*Counter*/
.counter {
  width: 5%;
  margin: 0 auto;
  text-align: center;
}

.counter a {
  pointer-events: none;
  /* disables clicks/right-click */
  user-select: none;
  /* prevents selection */
  -webkit-user-drag: none;
  /* prevents drag in Chrome/Safari */
}

.counter img {
  width: 30px;
}