/* ==========================================================================
   VastuAssam - Light-Themed Fluidic Design System (2026 Edition)
   Colors derived in light shades from the official VastuAssam Logo & Triangle
   Coded by Vivan Raj Daev
   ========================================================================== */

:root {
  /* Light Theme Surfaces */
  --bg-page: #fafbfd;
  --bg-surface: #ffffff;
  --bg-sky-soft: #f0f9ff;
  --bg-crimson-soft: #fef2f2;
  --bg-amber-soft: #fffbeb;
  --bg-green-soft: #f0fdf4;
  --bg-glass: rgba(255, 255, 255, 0.82);

  /* Brand Palette (from Logo & Triangle) */
  --brand-blue: #2e9ad6;
  --brand-blue-dark: #0369a1;
  --brand-red: #d62828;
  --brand-red-dark: #b91c1c;
  --brand-gold: #e59500;
  --brand-green: #65a30d;

  /* Typography & Borders */
  --text-main: #1e293b;
  --text-muted: #475569;
  --text-light: #64748b;
  --border-soft: rgba(148, 163, 184, 0.22);
  --border-blue: rgba(46, 154, 214, 0.25);

  /* Shadows & Radii */
  --shadow-sm: 0 4px 16px rgba(15, 23, 42, 0.04);
  --shadow-md: 0 12px 32px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 24px 56px rgba(15, 23, 42, 0.10);
  --radius-sm: 12px;
  --radius-md: 20px;
  --radius-lg: 32px;
  --radius-pill: 9999px;

  /* Fonts */
  --font-display: 'Playfair Display', Georgia, serif;
  --font-sans: 'Plus Jakarta Sans', 'Noto Sans Bengali', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

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

body {
  font-family: var(--font-sans);
  background-color: var(--bg-page);
  color: var(--text-main);
  line-height: 1.65;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

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

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

.container {
  width: min(1200px, 92%);
  margin: 0 auto;
}

/* Scroll Progress Bar */
.scroll-progress-bar {
  position: fixed;
  top: 0;
  left: 0;
  height: 3px;
  width: 0%;
  z-index: 999;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-gold), var(--brand-red));
  transition: width 0.08s linear;
}

/* Fluidic Background Blobs */
.fluid-bg-wrap {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background: linear-gradient(120deg, #fafbfd 0%, #f4f9ff 48%, #fffdf7 100%);
  background-size: 200% 200%;
  animation: gentleBgShift 18s ease-in-out infinite;
}

.fluid-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(85px);
  opacity: 0.58;
}

.blob-1 {
  width: 520px;
  height: 520px;
  background: radial-gradient(circle, #bae6fd 0%, transparent 70%);
  top: -120px;
  right: -80px;
  animation: driftBlobA 16s ease-in-out infinite;
}

.blob-2 {
  width: 460px;
  height: 460px;
  background: radial-gradient(circle, #fef3c7 0%, transparent 70%);
  top: 38%;
  left: -140px;
  animation: driftBlobB 20s ease-in-out infinite;
}

.blob-3 {
  width: 480px;
  height: 480px;
  background: radial-gradient(circle, #fee2e2 0%, transparent 70%);
  bottom: -100px;
  right: 10%;
  animation: driftBlobA 22s ease-in-out infinite reverse;
}

/* Header & Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(250, 251, 253, 0.88);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-soft);
  transition: box-shadow 0.3s ease;
}

.site-header.scrolled {
  box-shadow: var(--shadow-sm);
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 0;
  gap: 1.25rem;
}

.brand-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.brand-triangle {
  width: 38px;
  height: 38px;
  object-fit: contain;
  flex-shrink: 0;
  transition: transform 0.5s cubic-bezier(0.22, 1, 0.36, 1);
}

.brand-link:hover .brand-triangle {
  transform: rotate(12deg) scale(1.06);
}

.brand-logo {
  height: 36px;
  width: auto;
  object-fit: contain;
}

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

.nav-links a {
  font-size: 0.94rem;
  font-weight: 600;
  color: var(--text-muted);
  transition: color 0.2s ease;
  position: relative;
  white-space: nowrap;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--brand-blue-dark);
}

.nav-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-red), var(--brand-blue));
  transition: width 0.25s ease;
  border-radius: 2px;
}

.nav-links a:hover::after,
.nav-links a.active::after {
  width: 100%;
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.mobile-toggle {
  display: none;
  background: #ffffff;
  border: 1px solid var(--border-soft);
  border-radius: 10px;
  padding: 0.45rem 0.7rem;
  cursor: pointer;
  color: var(--text-main);
  font-size: 1.25rem;
  line-height: 1;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.8rem 1.55rem;
  border-radius: var(--radius-pill);
  font-weight: 600;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: all 0.28s cubic-bezier(0.22, 1, 0.36, 1);
  text-align: center;
}

.btn-primary {
  background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(46, 154, 214, 0.28);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(46, 154, 214, 0.38);
}

.btn-secondary {
  background: #ffffff;
  color: var(--text-main);
  border: 1px solid var(--border-blue);
  box-shadow: var(--shadow-sm);
}

.btn-secondary:hover {
  background: var(--bg-sky-soft);
  border-color: var(--brand-blue);
  transform: translateY(-2px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(22, 163, 74, 0.26);
}

.btn-whatsapp:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(22, 163, 74, 0.36);
}

.btn-sm {
  padding: 0.55rem 1.15rem;
  font-size: 0.875rem;
}

/* Section Typography & Badges */
.section {
  padding: 5rem 0;
  position: relative;
}

.section-header {
  max-width: 720px;
  margin: 0 auto 3.25rem;
  text-align: center;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  padding: 0.38rem 1rem;
  border-radius: var(--radius-pill);
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: var(--bg-sky-soft);
  color: var(--brand-blue-dark);
  border: 1px solid var(--border-blue);
  margin-bottom: 1rem;
}

.section-badge img {
  width: 16px;
  height: 16px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(1.85rem, 3.6vw, 2.85rem);
  line-height: 1.18;
  color: var(--text-main);
  margin-bottom: 1rem;
}

.section-subtitle {
  font-size: 1.05rem;
  color: var(--text-muted);
}

/* Hero Section */
.hero-section {
  padding: 4rem 0 4.5rem;
  background: linear-gradient(180deg, rgba(240, 249, 255, 0.72) 0%, rgba(250, 251, 253, 0) 100%);
}

.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
  gap: 3.5rem;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(2.15rem, 4.5vw, 3.55rem);
  line-height: 1.12;
  color: var(--text-main);
  margin-bottom: 1.25rem;
}

.hero-sub {
  font-size: 1.08rem;
  color: var(--text-muted);
  margin-bottom: 2rem;
  max-width: 580px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2.5rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
  padding-top: 1.75rem;
  border-top: 1px solid var(--border-soft);
}

.stat-item strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.55rem;
  color: var(--brand-blue-dark);
}

.stat-item span {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.hero-visual-card {
  position: relative;
  background: linear-gradient(145deg, rgba(255,255,255,0.96) 0%, rgba(240,249,255,0.92) 55%, rgba(255,251,235,0.9) 100%);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 2.75rem 2rem;
  box-shadow: var(--shadow-lg);
  text-align: center;
  overflow: hidden;
  transition: transform 0.25s ease, box-shadow 0.3s ease;
  transform-style: preserve-3d;
}

.hero-orbit-ring {
  position: absolute;
  width: 290px;
  height: 290px;
  border-radius: 50%;
  border: 1.5px dashed rgba(46, 154, 214, 0.28);
  top: 50%;
  left: 50%;
  transform: translate(-50%, -56%);
  pointer-events: none;
  animation: slowSpin 38s linear infinite;
}

.hero-floating-chips {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.45rem;
  margin-bottom: 1.25rem;
  position: relative;
  z-index: 2;
}

.float-chip {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 0.28rem 0.72rem;
  border-radius: var(--radius-pill);
  letter-spacing: 0.03em;
  box-shadow: var(--shadow-sm);
}

.chip-sky   { background: #e0f2fe; color: #0369a1; border: 1px solid #bae6fd; }
.chip-amber { background: #fef3c7; color: #b45309; border: 1px solid #fde68a; }
.chip-red   { background: #fee2e2; color: #b91c1c; border: 1px solid #fecaca; }

.hero-triangle-emblem {
  width: 195px;
  height: 195px;
  margin: 0 auto 1.35rem;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 14px 28px rgba(46, 154, 214, 0.18));
}

.hero-logo-banner {
  max-width: 245px;
  margin: 0 auto 0.9rem;
  position: relative;
  z-index: 2;
}

.hero-visual-caption {
  font-size: 0.9rem;
  color: var(--text-muted);
  font-weight: 500;
  position: relative;
  z-index: 2;
}

/* Vastu Importance Section */
.vastu-intro-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 3.5rem;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-sm);
}

.vastu-intro-grid p {
  color: var(--text-muted);
  font-size: 1.02rem;
}

.elements-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1.25rem;
  margin-bottom: 3.5rem;
}

.element-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.5rem 1.25rem;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
}

.element-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--shadow-md);
}

.element-icon-wrap {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 0.85rem;
  background: rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-sm);
}

.element-icon-wrap svg {
  width: 22px;
  height: 22px;
}

.element-card.tone-amber { background: linear-gradient(180deg, #fffbeb 0%, #ffffff 55%); border-color: #fde68a; color: #b45309; }
.element-card.tone-blue  { background: linear-gradient(180deg, #f0f9ff 0%, #ffffff 55%); border-color: #bae6fd; color: #0369a1; }
.element-card.tone-red   { background: linear-gradient(180deg, #fef2f2 0%, #ffffff 55%); border-color: #fecaca; color: #b91c1c; }
.element-card.tone-green { background: linear-gradient(180deg, #f0fdf4 0%, #ffffff 55%); border-color: #bbf7d0; color: #15803d; }

.element-dir {
  display: block;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--brand-blue-dark);
  margin-bottom: 0.4rem;
}

.element-card h3 {
  font-family: var(--font-display);
  font-size: 1.18rem;
  color: var(--text-main);
  margin-bottom: 0.5rem;
}

.element-card p {
  font-size: 0.88rem;
  color: var(--text-muted);
}

.benefits-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.5rem;
}

.benefit-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
  position: relative;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.benefit-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-md);
}

.benefit-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, var(--brand-blue), var(--brand-red), var(--brand-gold));
}

.benefit-index {
  display: inline-block;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--brand-blue);
  margin-bottom: 0.45rem;
}

.benefit-card h4 {
  font-size: 1.08rem;
  margin-bottom: 0.6rem;
  color: var(--text-main);
}

.benefit-card p {
  font-size: 0.92rem;
  color: var(--text-muted);
}

/* Books Section - Spotlight (Book 3) + Previous Books */
.books-section {
  background: linear-gradient(180deg, rgba(255, 251, 235, 0.55) 0%, rgba(240, 249, 255, 0.55) 100%);
}

.spotlight-card {
  display: grid;
  grid-template-columns: 0.95fr 1.05fr;
  align-items: center;
  gap: 3rem;
  background: linear-gradient(135deg, #ffffff 0%, #fffdf7 60%, #f0f9ff 100%);
  border: 1px solid rgba(229, 149, 0, 0.3);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-lg);
  margin-bottom: 3.5rem;
  position: relative;
  overflow: hidden;
}

.spotlight-ribbon {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: linear-gradient(135deg, var(--brand-red) 0%, #ef4444 100%);
  color: #ffffff;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  padding: 0.4rem 0.95rem;
  border-radius: var(--radius-pill);
  margin-bottom: 1rem;
}

.spotlight-mockup-stage {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 1rem;
  perspective: 1200px;
}

.book-3d-img {
  max-height: 430px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 24px 36px rgba(15, 23, 42, 0.18));
  transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1);
}

.spotlight-card:hover .book-3d-img,
.book-card:hover .book-3d-img {
  transform: translateY(-8px) rotateY(-4deg) scale(1.03);
}

.book-assamese-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--brand-blue-dark);
  margin-bottom: 0.35rem;
}

.spotlight-info h3 {
  font-family: var(--font-display);
  font-size: clamp(1.65rem, 2.8vw, 2.25rem);
  line-height: 1.2;
  margin-bottom: 0.9rem;
}

.book-meta-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
  margin-bottom: 1.2rem;
}

.meta-pill {
  font-size: 0.82rem;
  font-weight: 600;
  padding: 0.32rem 0.85rem;
  border-radius: var(--radius-pill);
  background: var(--bg-sky-soft);
  color: var(--brand-blue-dark);
}

.meta-pill.price-pill {
  background: var(--bg-amber-soft);
  color: #b45309;
}

.book-highlights {
  list-style: none;
  margin: 1.25rem 0 1.75rem;
  display: grid;
  gap: 0.55rem;
}

.book-highlights li {
  position: relative;
  padding-left: 1.45rem;
  font-size: 0.94rem;
  color: var(--text-muted);
}

.book-highlights li::before {
  content: '✦';
  position: absolute;
  left: 0;
  color: var(--brand-gold);
  font-weight: 700;
}

.books-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(270px, 1fr));
  gap: 2rem;
}

.book-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 2rem;
  box-shadow: var(--shadow-md);
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.book-card-stage {
  height: 270px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, var(--bg-sky-soft) 0%, transparent 72%);
  border-radius: var(--radius-sm);
  padding: 1rem;
}

.book-card-stage .book-3d-img {
  max-height: 245px;
}

.book-card h4 {
  font-family: var(--font-display);
  font-size: 1.35rem;
  line-height: 1.25;
}

.book-card p {
  font-size: 0.94rem;
  color: var(--text-muted);
  flex-grow: 1;
}

.book-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  align-items: center;
}

/* Author Section */
.author-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 3.5rem;
  align-items: center;
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 3rem;
  box-shadow: var(--shadow-md);
}

.author-media-stack {
  position: relative;
  display: grid;
  grid-template-columns: 1fr 0.75fr;
  gap: 1rem;
  align-items: end;
}

.author-candid-img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-md);
}

.author-portrait-card {
  background: var(--bg-sky-soft);
  padding: 0.65rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-blue);
  box-shadow: var(--shadow-md);
}

.author-portrait-card img {
  width: 100%;
  border-radius: 12px;
  object-fit: cover;
}

.author-awards {
  display: flex;
  flex-wrap: wrap;
  gap: 0.65rem;
  margin: 1rem 0 1.4rem;
}

.award-pill {
  background: var(--bg-amber-soft);
  color: #92400e;
  border: 1px solid #fde68a;
  font-size: 0.84rem;
  font-weight: 700;
  padding: 0.35rem 0.9rem;
  border-radius: var(--radius-pill);
}

.author-bio p {
  color: var(--text-muted);
  margin-bottom: 1rem;
  font-size: 0.98rem;
}

.author-meta-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  margin-top: 1.5rem;
  padding-top: 1.25rem;
  border-top: 1px solid var(--border-soft);
}

.author-signature {
  height: 44px;
  width: auto;
  object-fit: contain;
}

/* Fluidic Auto-Slide Testimonials */
.testimonials-section {
  background: linear-gradient(180deg, rgba(240, 249, 255, 0.6) 0%, rgba(250, 251, 253, 0.9) 100%);
  overflow: hidden;
}

.testimonial-viewport {
  position: relative;
  overflow: hidden;
  padding: 1rem 0 2rem;
}

.testimonial-track {
  display: flex;
  transition: transform 0.75s cubic-bezier(0.22, 1, 0.36, 1);
  will-change: transform;
}

.testimonial-slide {
  flex: 0 0 100%;
  padding: 0 0.75rem;
}

@media (min-width: 860px) {
  .testimonial-slide {
    flex: 0 0 50%;
  }
}

.testimonial-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 1.5rem;
}

.testimonial-stars {
  color: #f59e0b;
  font-size: 1.15rem;
  letter-spacing: 2px;
}

.testimonial-quote {
  font-size: 1.02rem;
  color: var(--text-main);
  font-style: italic;
  line-height: 1.7;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.testimonial-dp {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--border-blue);
  flex-shrink: 0;
}

.testimonial-author strong {
  display: block;
  font-size: 1rem;
  color: var(--text-main);
}

.testimonial-author span {
  font-size: 0.85rem;
  color: var(--text-light);
}

.carousel-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-top: 1rem;
}

.carousel-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 1px solid var(--border-blue);
  background: #ffffff;
  color: var(--brand-blue-dark);
  font-size: 1.1rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.carousel-btn:hover {
  background: var(--brand-blue);
  color: #ffffff;
}

.carousel-dots {
  display: flex;
  gap: 0.5rem;
}

.carousel-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: #cbd5e1;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
}

.carousel-dot.active {
  width: 28px;
  border-radius: 999px;
  background: var(--brand-blue);
}

/* Custom Text Box Sections */
.custom-textbox-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-lg);
  padding: 2.75rem;
  box-shadow: var(--shadow-md);
}

.custom-textbox-card.theme-sky     { background: linear-gradient(135deg, #f0f9ff 0%, #ffffff 100%); border-color: #bae6fd; }
.custom-textbox-card.theme-amber   { background: linear-gradient(135deg, #fffbeb 0%, #ffffff 100%); border-color: #fde68a; }
.custom-textbox-card.theme-crimson { background: linear-gradient(135deg, #fef2f2 0%, #ffffff 100%); border-color: #fecaca; }
.custom-textbox-card.theme-green   { background: linear-gradient(135deg, #f0fdf4 0%, #ffffff 100%); border-color: #bbf7d0; }

.custom-textbox-card.align-center {
  text-align: center;
}

.custom-textbox-card.align-center .custom-textbox-body {
  max-width: 780px;
  margin: 0 auto;
}

.custom-textbox-body p {
  color: var(--text-muted);
  font-size: 1.02rem;
  margin-bottom: 0.9rem;
}

.custom-textbox-body p:last-child {
  margin-bottom: 0;
}

/* CTA Banner Card (Responsive) */
.cta-banner-card {
  display: grid;
  grid-template-columns: 1.3fr 0.7fr;
  align-items: center;
  gap: 2.5rem;
  background: linear-gradient(135deg, #f0f9ff 0%, #fffbeb 100%);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 2.75rem 3rem;
  box-shadow: var(--shadow-lg);
}

.cta-banner-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  justify-content: flex-end;
}

/* Consultation Page & Form */
.consultation-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 2.5rem;
  align-items: start;
}

.consult-info-card {
  background: linear-gradient(155deg, #f0f9ff 0%, #ffffff 100%);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-md);
  padding: 2.25rem;
  box-shadow: var(--shadow-md);
}

.consult-form-card {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 2.5rem;
  box-shadow: var(--shadow-lg);
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.15rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.form-group.full {
  grid-column: 1 / -1;
}

.form-group label {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-main);
}

.form-control {
  width: 100%;
  padding: 0.78rem 1rem;
  border: 1px solid #cbd5e1;
  border-radius: var(--radius-sm);
  font-family: inherit;
  font-size: 0.95rem;
  color: var(--text-main);
  background: #f8fafc;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.form-control:focus {
  outline: none;
  border-color: var(--brand-blue);
  background: #ffffff;
  box-shadow: 0 0 0 3px rgba(46, 154, 214, 0.15);
}

.form-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem;
  margin-top: 1.5rem;
}

.alert-box {
  padding: 0.9rem 1.15rem;
  border-radius: var(--radius-sm);
  margin-bottom: 1.25rem;
  font-size: 0.92rem;
  font-weight: 500;
}

.alert-success {
  background: var(--bg-green-soft);
  color: #166534;
  border: 1px solid #bbf7d0;
}

.alert-error {
  background: var(--bg-crimson-soft);
  color: #991b1b;
  border: 1px solid #fecaca;
}

/* Modal for Book Details */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(15, 23, 42, 0.55);
  backdrop-filter: blur(6px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1.25rem;
}

.modal-overlay.open {
  display: flex;
}

.modal-box {
  background: #ffffff;
  border-radius: var(--radius-md);
  max-width: 780px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2.25rem;
  position: relative;
  box-shadow: var(--shadow-lg);
}

.modal-close {
  position: absolute;
  top: 1rem;
  right: 1.15rem;
  background: #f1f5f9;
  border: none;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  font-size: 1.25rem;
  cursor: pointer;
}

/* Footer */
.site-footer {
  background: #ffffff;
  border-top: 1px solid var(--border-soft);
  padding: 3.5rem 0 2rem;
  margin-top: 3rem;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.4fr 1fr 1fr;
  gap: 2.5rem;
  margin-bottom: 2.5rem;
}

.footer-links {
  list-style: none;
  display: grid;
  gap: 0.6rem;
}

.footer-links a {
  color: var(--text-muted);
  font-size: 0.94rem;
}

.footer-links a:hover {
  color: var(--brand-blue-dark);
}

.footer-bottom {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border-soft);
  font-size: 0.86rem;
  color: var(--text-light);
}

/* ==========================================================================
   Responsive Breakpoints (Mobile Alignment & Clean Stacking)
   ========================================================================== */
@media (max-width: 992px) {
  .hero-grid,
  .vastu-intro-grid,
  .spotlight-card,
  .author-grid,
  .consultation-grid,
  .cta-banner-card,
  .footer-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }
  .hero-copy {
    text-align: center;
  }
  .hero-sub {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .cta-banner-card {
    text-align: center;
    padding: 2.25rem 1.75rem;
  }
  .cta-banner-actions {
    justify-content: center;
  }
  .elements-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .benefits-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .section {
    padding: 1rem 0;
  }
  .brand-triangle {
    width: 30px;
    height: 30px;
  }
  .brand-logo {
    height: 28px;
  }
  .mobile-toggle {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: #ffffff;
    flex-direction: column;
    align-items: center;
    padding: 1.25rem;
    gap: 1rem;
    border-bottom: 1px solid var(--border-soft);
    box-shadow: var(--shadow-md);
  }
  .nav-links.open {
    display: flex;
  }
  .hero-section {
    padding: 2.75rem 0 3.25rem;
  }
  .hero-visual-card,
  .spotlight-card,
  .author-grid,
  .vastu-intro-grid,
  .custom-textbox-card,
  .consult-info-card,
  .consult-form-card {
    padding: 1.65rem 1.25rem;
  }
  .spotlight-info {
    text-align: center;
  }
  .book-meta-pills,
  .book-card-actions,
  .author-awards,
  .form-actions {
    justify-content: center;
  }
  .book-highlights {
    text-align: left;
  }
  .author-bio {
    text-align: center;
  }
  .author-meta-row {
    justify-content: center;
    text-align: center;
  }
  .author-media-stack {
    grid-template-columns: 1fr;
  }
  .author-candid-img {
    height: 270px;
  }
  .author-portrait-card {
    max-width: 190px;
    margin: 0 auto;
  }
  .elements-grid,
  .benefits-grid,
  .form-grid,
  .hero-stats {
    grid-template-columns: 1fr;
  }
  .footer-grid {
    text-align: center;
  }
  .footer-grid .brand-link {
    justify-content: center;
  }
  .footer-grid p {
    margin: 0 auto;
  }
  .footer-bottom {
    justify-content: center;
    text-align: center;
  }
}

@media (max-width: 480px) {
  .hero-ctas .btn,
  .cta-banner-actions .btn,
  .form-actions .btn {
    width: 100%;
  }
  .book-3d-img {
    max-height: 310px;
  }
  .testimonial-card {
    padding: 1.5rem 1.25rem;
  }
}

/* ==========================================================================
   3-Tab Video Shorts Showcase (Review / Field Study / Accolades)
   ========================================================================== */
.video-shorts-section {
  background: linear-gradient(180deg, rgba(240, 249, 255, 0.52) 0%, rgba(255, 251, 235, 0.48) 100%);
}

.vs-shell {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.vs-tabs-bar {
  display: inline-flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.45rem;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(14px);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-pill);
  box-shadow: var(--shadow-md);
  margin-bottom: 1rem;
}

.vs-tab-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.68rem 1.45rem;
  border-radius: var(--radius-pill);
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-family: var(--font-sans);
  font-weight: 700;
  font-size: 0.94rem;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}

.vs-tab-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: #cbd5e1;
  transition: background 0.3s ease, transform 0.3s ease;
}

.vs-tab-btn:hover {
  color: var(--brand-blue-dark);
}

.vs-tab-btn.active {
  background: linear-gradient(135deg, var(--brand-blue-dark) 0%, var(--brand-blue) 100%);
  color: #ffffff;
  box-shadow: 0 8px 20px rgba(46, 154, 214, 0.28);
}

.vs-tab-btn.active .vs-tab-dot {
  background: #fde047;
  transform: scale(1.25);
}

.vs-panel {
  display: none;
  width: 100%;
}

.vs-panel.active {
  display: block;
}

.vs-carousel-wrap {
  position: relative;
  width: 100%;
}

.vs-track {
  display: flex;
  gap: 1.25rem;
  overflow-x: auto;
  scroll-snap-type: x proximity;
  padding: 0.75rem 0.5rem 1.25rem;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.vs-track::-webkit-scrollbar {
  display: none;
}

.vs-card {
  position: relative;
  flex: 0 0 222px;
  aspect-ratio: 9 / 16;
  border-radius: 22px;
  overflow: hidden;
  background: #0f172a;
  border: 2px solid rgba(255, 255, 255, 0.85);
  box-shadow: var(--shadow-md);
  scroll-snap-align: center;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.vs-card.is-active {
  border-color: var(--brand-blue);
  box-shadow: 0 18px 38px rgba(46, 154, 214, 0.28);
  transform: translateY(-4px) scale(1.02);
}

.vs-frame-box {
  position: absolute;
  inset: 0;
  overflow: hidden;
}

.vs-frame-box iframe,
.vs-yt-target {
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
  transform: scale(1.03);
}

/* Transparent tap overlay showing ONLY the center Play/Pause button */
.vs-tap-overlay {
  position: absolute;
  inset: 0;
  z-index: 5;
  width: 100%;
  height: 100%;
  border: none;
  background: transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.vs-center-btn {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.88);
  backdrop-filter: blur(8px);
  color: var(--brand-blue-dark);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 26px rgba(15, 23, 42, 0.25);
  transition: transform 0.25s ease, opacity 0.25s ease, background 0.25s ease;
  opacity: 0.92;
}

.vs-center-btn svg {
  width: 24px;
  height: 24px;
}

.vs-tap-overlay:hover .vs-center-btn {
  transform: scale(1.08);
  background: #ffffff;
}

.vs-icon-pause {
  display: none;
}

.vs-card.is-playing .vs-icon-play {
  display: none;
}

.vs-card.is-playing .vs-icon-pause {
  display: block;
}

.vs-card.is-playing .vs-center-btn {
  opacity: 0.35;
}

.vs-card.is-playing .vs-tap-overlay:hover .vs-center-btn {
  opacity: 0.95;
}

.vs-scroll-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 10;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid var(--border-blue);
  background: rgba(255, 255, 255, 0.94);
  color: var(--brand-blue-dark);
  font-size: 1.5rem;
  line-height: 1;
  cursor: pointer;
  box-shadow: var(--shadow-md);
  transition: all 0.2s ease;
}

.vs-scroll-btn:hover {
  background: var(--brand-blue);
  color: #ffffff;
}

.vs-scroll-prev { left: -12px; }
.vs-scroll-next { right: -12px; }

@media (max-width: 768px) {
  .vs-tabs-bar {
    width: 100%;
    border-radius: var(--radius-md);
  }
  .vs-tab-btn {
    flex: 1 1 auto;
    justify-content: center;
    padding: 0.6rem 0.9rem;
    font-size: 0.86rem;
  }
  .vs-track {
    padding-left: calc(50% - 115px);
    padding-right: calc(50% - 115px);
    scroll-padding-inline: calc(50% - 115px);
  }
  .vs-card {
    flex: 0 0 230px;
  }
  .vs-scroll-btn {
    display: none;
  }
}

/* ==========================================================================
   Vastu Background Mandala, Elemental Orbs & Centered Hero Logo
   ========================================================================== */
.vastu-bg-mandala {
  position: fixed;
  top: 50%;
  left: 50%;
  width: min(760px, 130vw);
  height: min(760px, 130vw);
  transform: translate(-50%, -50%);
  pointer-events: none;
  will-change: transform;
}

.vastu-element-orb {
  position: absolute;
  border-radius: 50%;
  pointer-events: none;
  filter: blur(2px);
  animation: orbFloat 14s ease-in-out infinite;
}

.orb-earth { width: 24px; height: 24px; background: rgba(245, 158, 11, 0.36); top: 18%; left: 12%; animation-delay: 0s; }
.orb-water { width: 28px; height: 28px; background: rgba(46, 154, 214, 0.34); top: 24%; right: 14%; animation-delay: -3s; }
.orb-fire  { width: 22px; height: 22px; background: rgba(214, 40, 40, 0.28); top: 62%; left: 8%; animation-delay: -6s; }
.orb-air   { width: 26px; height: 26px; background: rgba(101, 163, 13, 0.30); bottom: 18%; right: 16%; animation-delay: -9s; }
.orb-space { width: 32px; height: 32px; background: rgba(56, 189, 248, 0.30); top: 46%; right: 6%; animation-delay: -11s; }

/* Centered Animated Main Logo Showcase */
.hero-center-logo-wrap {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 2.25rem;
  padding: 0.5rem 0;
}

.hero-logo-stage {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  padding: 0.75rem 1.5rem;
  border-radius: var(--radius-lg);
  background: rgba(255, 255, 255, 0.65);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(46, 154, 214, 0.16);
  box-shadow: 0 12px 32px rgba(46, 154, 214, 0.08);
}

.hero-main-logo {
  width: clamp(210px, 68vw, 390px);
  height: auto;
  object-fit: contain;
  margin: 0 auto;
}

@media (max-width: 768px) {
  .hero-center-logo-wrap {
    margin-bottom: 1.75rem;
  }
  .hero-logo-stage {
    padding: 0.65rem 1.15rem;
    max-width: 92vw;
  }
  .hero-main-logo {
    width: clamp(200px, 66vw, 310px);
  }
}

/* ==========================================================================
   Mobile-Fixed Background Lock, Logo Showcase, Theme Toggle, Red Palette & Dark Mode
   ========================================================================== */

/* Lock background wrapper to lvh so mobile URL bar collapse/expand NEVER shifts mandala */
.fluid-bg-wrap {
  height: 100vh;
  height: 100lvh;
  width: 100vw;
  bottom: auto;
  right: auto;
}

.vastu-bg-mandala {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

/* Standalone Logo Showcase Section */
.logo-showcase-section {
  padding: 1rem 0 0.25rem;
}

.logo-showcase-section .hero-center-logo-wrap {
  margin-bottom: 0;
}

/* Top-Right Light/Dark Toggle Button (left of mobile menu button) */
.theme-toggle-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  border-radius: 10px;
  border: 1px solid var(--border-soft);
  background: var(--bg-surface);
  color: var(--text-main);
  cursor: pointer;
  transition: all 0.25s ease;
  flex-shrink: 0;
}

.theme-toggle-btn:hover {
  border-color: var(--brand-blue);
  color: var(--brand-blue-dark);
  transform: translateY(-1px);
}

.theme-toggle-btn svg {
  width: 18px;
  height: 18px;
}

.theme-toggle-btn .icon-sun { display: none; }
.theme-toggle-btn .icon-moon { display: block; }

[data-mode="dark"] .theme-toggle-btn .icon-sun { display: block; color: #facc15; }
[data-mode="dark"] .theme-toggle-btn .icon-moon { display: none; }

/* ================= RED-HEAVY PALETTE (Admin Selectable) ================= */
[data-palette="red"] {
  --brand-blue: #d62828;
  --brand-blue-dark: #b91c1c;
  --bg-sky-soft: #fef2f2;
  --border-blue: rgba(214, 40, 40, 0.28);
}

[data-palette="red"] .fluid-bg-wrap {
  background: linear-gradient(120deg, #fffafa 0%, #fef2f2 48%, #fffdf7 100%);
}

[data-palette="red"] .blob-1 {
  background: radial-gradient(circle, #fecaca 0%, transparent 70%);
}

[data-palette="red"] .hero-section {
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.72) 0%, rgba(250, 251, 253, 0) 100%);
}

[data-palette="red"] .hero-visual-card {
  background: linear-gradient(145deg, rgba(255,255,255,0.96) 0%, rgba(254,242,242,0.92) 55%, rgba(255,251,235,0.9) 100%);
}

[data-palette="red"] .btn-primary {
  box-shadow: 0 8px 22px rgba(214, 40, 40, 0.28);
}

[data-palette="red"] .btn-primary:hover {
  box-shadow: 0 12px 28px rgba(214, 40, 40, 0.38);
}

[data-palette="red"] .vs-tab-btn.active {
  background: linear-gradient(135deg, #b91c1c 0%, #d62828 100%);
  box-shadow: 0 8px 20px rgba(214, 40, 40, 0.28);
}

[data-palette="red"] .cta-banner-card {
  background: linear-gradient(135deg, #fef2f2 0%, #fffbeb 100%);
}

[data-palette="red"] .books-section {
  background: linear-gradient(180deg, rgba(254, 242, 242, 0.50) 0%, rgba(255, 251, 235, 0.48) 100%);
}

/* ================= DARK THEME (Logo Red + Sky Blue + Yellow on Dark) ================= */
[data-mode="dark"] {
  --bg-page: #090d16;
  --bg-surface: #111827;
  --bg-sky-soft: rgba(46, 154, 214, 0.16);
  --bg-crimson-soft: rgba(214, 40, 40, 0.16);
  --bg-amber-soft: rgba(250, 204, 21, 0.16);
  --bg-green-soft: rgba(22, 163, 74, 0.16);
  --bg-glass: rgba(17, 24, 39, 0.85);

  --text-main: #f8fafc;
  --text-muted: #cbd5e1;
  --text-light: #94a3b8;
  --border-soft: rgba(148, 163, 184, 0.20);

  --brand-blue: #38bdf8;
  --brand-blue-dark: #38bdf8;
  --brand-red: #ef4444;
  --brand-red-dark: #dc2626;
  --brand-gold: #facc15;
}

[data-mode="dark"][data-palette="red"] {
  --brand-blue: #ef4444;
  --brand-blue-dark: #f87171;
  --border-blue: rgba(239, 68, 68, 0.35);
}

[data-mode="dark"] .fluid-bg-wrap {
  background: linear-gradient(135deg, #070b14 0%, #0f172a 50%, #15121d 100%);
}

[data-mode="dark"] .blob-1 {
  background: radial-gradient(circle, rgba(56, 189, 248, 0.22) 0%, transparent 70%);
}

[data-mode="dark"] .blob-2 {
  background: radial-gradient(circle, rgba(250, 204, 21, 0.16) 0%, transparent 70%);
}

[data-mode="dark"] .blob-3 {
  background: radial-gradient(circle, rgba(239, 68, 68, 0.22) 0%, transparent 70%);
}

[data-mode="dark"] .site-header {
  background: rgba(9, 13, 22, 0.88);
}

[data-mode="dark"] .nav-links {
  background: transparent;
}

@media (max-width: 768px) {
  [data-mode="dark"] .nav-links {
    background: #111827;
  }
}

[data-mode="dark"] .hero-section {
  background: linear-gradient(180deg, rgba(17, 24, 39, 0.5) 0%, transparent 100%);
}

[data-mode="dark"] .hero-logo-stage {
  background: rgba(17, 24, 39, 0.85);
  border-color: rgba(56, 189, 248, 0.28);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.45);
}

[data-mode="dark"] .hero-visual-card {
  background: linear-gradient(145deg, #111827 0%, #162033 55%, #1c1917 100%);
  border-color: rgba(56, 189, 248, 0.30);
}

[data-mode="dark"] .chip-sky   { background: rgba(56, 189, 248, 0.18); color: #7dd3fc; border-color: rgba(56, 189, 248, 0.35); }
[data-mode="dark"] .chip-amber { background: rgba(250, 204, 21, 0.18); color: #fde047; border-color: rgba(250, 204, 21, 0.35); }
[data-mode="dark"] .chip-red   { background: rgba(239, 68, 68, 0.18); color: #fca5a5; border-color: rgba(239, 68, 68, 0.35); }

[data-mode="dark"] .btn-primary {
  background: linear-gradient(135deg, #0284c7 0%, #2e9ad6 100%);
  color: #ffffff;
}

[data-mode="dark"][data-palette="red"] .btn-primary {
  background: linear-gradient(135deg, #b91c1c 0%, #ef4444 100%);
}

[data-mode="dark"] .btn-secondary {
  background: #1e293b;
  color: #f8fafc;
  border-color: rgba(56, 189, 248, 0.30);
}

[data-mode="dark"] .element-card.tone-amber { background: linear-gradient(180deg, rgba(250, 204, 21, 0.14) 0%, #111827 55%); border-color: rgba(250, 204, 21, 0.35); color: #fde047; }
[data-mode="dark"] .element-card.tone-blue  { background: linear-gradient(180deg, rgba(56, 189, 248, 0.14) 0%, #111827 55%); border-color: rgba(56, 189, 248, 0.35); color: #7dd3fc; }
[data-mode="dark"] .element-card.tone-red   { background: linear-gradient(180deg, rgba(239, 68, 68, 0.14) 0%, #111827 55%); border-color: rgba(239, 68, 68, 0.35); color: #fca5a5; }
[data-mode="dark"] .element-card.tone-green { background: linear-gradient(180deg, rgba(34, 197, 94, 0.14) 0%, #111827 55%); border-color: rgba(34, 197, 94, 0.35); color: #86efac; }

[data-mode="dark"] .books-section,
[data-mode="dark"] .video-shorts-section,
[data-mode="dark"] .testimonials-section {
  background: rgba(15, 23, 42, 0.45);
}

[data-mode="dark"] .spotlight-card,
[data-mode="dark"] .cta-banner-card,
[data-mode="dark"] .consult-info-card {
  background: linear-gradient(135deg, #111827 0%, #172033 100%);
  border-color: rgba(250, 204, 21, 0.28);
}

[data-mode="dark"] .vs-tabs-bar {
  background: rgba(17, 24, 39, 0.9);
}

[data-mode="dark"] .meta-pill.price-pill,
[data-mode="dark"] .award-pill {
  background: rgba(250, 204, 21, 0.16);
  color: #fde047;
  border-color: rgba(250, 204, 21, 0.35);
}

[data-mode="dark"] .site-footer {
  background: #0b1120;
}

[data-mode="dark"] .modal-box {
  background: #111827;
  color: #f8fafc;
}

[data-mode="dark"] .form-control {
  background: #1e293b;
  color: #f8fafc;
  border-color: rgba(148, 163, 184, 0.3);
}

[data-mode="dark"] .mobile-toggle {
  background: #1e293b;
  color: #f8fafc;
}

/* ==========================================================================
   Visitor Counter Module (Homepage) & Admin Analytics Charts
   ========================================================================== */
.visitor-counter-card {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 2rem;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.94) 0%, var(--bg-sky-soft) 100%);
  border: 1px solid var(--border-blue);
  border-radius: var(--radius-lg);
  padding: 2rem 2.5rem;
  box-shadow: var(--shadow-md);
}

.vc-metrics {
  display: flex;
  flex-wrap: wrap;
  gap: 1.5rem;
}

.vc-metric-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-soft);
  border-radius: var(--radius-md);
  padding: 1rem 1.75rem;
  text-align: center;
  min-width: 155px;
  box-shadow: var(--shadow-sm);
}

.vc-metric-box strong {
  display: block;
  font-family: var(--font-display);
  font-size: 2rem;
  line-height: 1.1;
  color: var(--brand-blue-dark);
}

.vc-metric-box span {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

[data-mode="dark"] .visitor-counter-card {
  background: linear-gradient(135deg, #111827 0%, #162032 100%);
  border-color: rgba(56, 189, 248, 0.28);
}

@media (max-width: 768px) {
  .visitor-counter-card {
    flex-direction: column;
    text-align: center;
    padding: 1.65rem 1.25rem;
  }
  .vc-metrics {
    width: 100%;
    justify-content: center;
  }
  .vc-metric-box {
    flex: 1 1 130px;
  }
}
