/* ===== Variables ===== */
:root {
  --bg: #05070f;
  --bg-alt: #080d1a;
  --surface: rgba(255,255,255,0.04);
  --surface-hover: rgba(255,255,255,0.08);
  --gold: #d4a843;
  --gold-light: #f0c860;
  --gold-dim: rgba(212,168,67,0.14);
  --ember: #c0392b;
  --text: #f3ead8;
  --text-muted: rgba(243,234,216,0.78);
  --border: rgba(212,168,67,0.14);
  --radius: 14px;
  --shadow: 0 12px 40px rgba(0,0,0,0.5);
  --tr: 0.3s cubic-bezier(0.4,0,0.2,1);

  /* Theme-aware surfaces (overridden in light theme) */
  --bg-deep: rgba(4,5,12,.99);
  --header-bg: rgba(5,7,15,.9);
  --header-bg-scrolled: rgba(5,7,15,.98);
  --dropdown-bg: rgba(6,9,20,.97);
  --select-option-bg: #080d1a;
  --section-alt-grad: linear-gradient(180deg, rgba(8,13,26,.85) 0%, rgba(5,7,15,.5) 100%);
  --cta-grad: linear-gradient(135deg, rgba(8,13,26,.97) 0%, rgba(5,7,15,.97) 100%);
  --overlay-grad: linear-gradient(to top, rgba(5,7,15,.92) 40%, rgba(5,7,15,.3) 100%);
  --overlay-grad-hover: linear-gradient(to top, rgba(5,7,15,.97) 50%, rgba(5,7,15,.55) 100%);
  --input-bg: rgba(255,255,255,.05);
  --input-bg-focus: rgba(255,255,255,.08);
  --tile-bg: rgba(255,255,255,.03);
  --on-gold: #05070f;
  --qr-bg: #05070f;
  --star-rgb: 243,234,216;
  --star-opacity: .45;
  --toggler-stroke: rgba(243,234,216,.8);
}

/* ===== Light Theme ===== */
[data-theme="light"] {
  --bg: #faf6ee;
  --bg-alt: #f3ebdb;
  --surface: rgba(255,255,255,0.7);
  --surface-hover: rgba(255,255,255,0.95);
  --gold: #a9781b;
  --gold-light: #c4922c;
  --gold-dim: rgba(169,120,27,0.12);
  --ember: #c0392b;
  --text: #241c10;
  --text-muted: rgba(36,28,16,0.82);
  --border: rgba(169,120,27,0.22);
  --shadow: 0 12px 40px rgba(90,70,30,0.16);

  --bg-deep: rgba(244,236,222,.97);
  --header-bg: rgba(250,246,238,.82);
  --header-bg-scrolled: rgba(250,246,238,.97);
  --dropdown-bg: rgba(255,252,246,.98);
  --select-option-bg: #fbf7ef;
  --section-alt-grad: linear-gradient(180deg, rgba(241,232,216,.9) 0%, rgba(250,246,238,.5) 100%);
  --cta-grad: linear-gradient(135deg, rgba(244,234,213,.97) 0%, rgba(250,246,238,.97) 100%);
  --overlay-grad: linear-gradient(to top, rgba(42,33,23,.78) 35%, rgba(42,33,23,.05) 100%);
  --overlay-grad-hover: linear-gradient(to top, rgba(42,33,23,.88) 45%, rgba(42,33,23,.25) 100%);
  --input-bg: rgba(0,0,0,.03);
  --input-bg-focus: rgba(0,0,0,.05);
  --tile-bg: rgba(0,0,0,.025);
  --on-gold: #fff8ea;
  --qr-bg: #ffffff;
  --star-rgb: 169,120,27;
  --star-opacity: .5;
  --toggler-stroke: rgba(42,33,23,.7);
}

/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  line-height: 1.7;
  overflow-x: clip;
  transition: background var(--tr), color var(--tr);
}
h1,h2,h3,h4,h5,h6 { font-family: 'Fraunces', serif; color: var(--text); line-height: 1.22; }
a { color: var(--gold); text-decoration: none; transition: color var(--tr); }
a:hover { color: var(--gold-light); }
img { max-width: 100%; display: block; }
/* Map Bootstrap's muted utility to our theme colour (Bootstrap forces it with !important) */
.text-muted { color: var(--text-muted) !important; }

/* ===== Scrollbar ===== */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--gold); border-radius: 3px; }

/* ===== Page Loader ===== */
#page-loader {
  position: fixed; inset: 0;
  background: var(--bg);
  z-index: 9999;
  display: flex; align-items: center; justify-content: center;
  flex-direction: column; gap: 16px;
  transition: opacity .5s ease;
}
#page-loader.hidden { opacity: 0; pointer-events: none; }
.loader-ring {
  width: 54px; height: 54px;
  border-radius: 50%;
  border: 2px solid var(--border);
  border-top-color: var(--gold);
  animation: spin .9s linear infinite;
}
.loader-name {
  font-family: 'Fraunces', serif;
  font-size: 1.1rem;
  color: var(--gold);
  letter-spacing: .08em;
  animation: loader-fade 1.5s ease-in-out infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
@keyframes loader-fade { 0%,100% { opacity: .3; } 50% { opacity: 1; } }

/* ===== Stars Canvas ===== */
#stars-canvas {
  position: fixed; top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none; z-index: 0; opacity: var(--star-opacity);
}

/* ===== Topbar ===== */
.topbar {
  background: var(--bg-deep);
  border-bottom: 1px solid var(--border);
  padding: 7px 0;
  font-size: .78rem;
  color: var(--text-muted);
  position: relative; z-index: 2;
}
.topbar-tagline { color: rgba(212,168,67,.7); }
[data-theme="light"] .topbar-tagline { color: var(--text-muted); }
.topbar a { color: var(--text-muted); }
.topbar a:hover { color: var(--gold); }
.topbar-links { display: flex; gap: 1.1rem; align-items: center; flex-wrap: wrap; justify-content: flex-end; }
.topbar-social { display: inline-flex; align-items: center; gap: .65rem; }
.topbar-social a { color: var(--gold); font-size: .95rem; line-height: 1; transition: transform var(--tr), color var(--tr); }
.topbar-social a:hover { transform: translateY(-2px); }
.topbar-social a:has(.bi-whatsapp):hover  { color: #25D366; }
.topbar-social a:has(.bi-instagram):hover { color: #e1306c; }
.topbar-social a:has(.bi-twitter-x):hover { color: var(--text); }
.topbar-social a:has(.bi-facebook):hover  { color: #1877f2; }
.topbar-social a:has(.bi-youtube):hover   { color: #ff0000; }
.topbar-social a:has(.bi-google):hover    { color: #4285f4; }

/* ===== Navbar ===== */
.site-header {
  background: var(--header-bg);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
  transition: background var(--tr), box-shadow var(--tr);
  position: relative;
  z-index: 1030;
}

/* Topbar + navbar stick together as one fixed unit */
.header-stack {
  position: sticky;
  top: 0;
  z-index: 1030;
}
.site-header.scrolled {
  background: var(--header-bg-scrolled);
  box-shadow: 0 4px 32px rgba(0,0,0,.55);
}
.navbar { padding: 12px 0; }
.navbar-brand {
  font-family: 'Fraunces', serif;
  font-size: 1.35rem; font-weight: 700;
  color: var(--gold) !important;
  line-height: 1.1;
  display: flex; flex-direction: column;
}
.brand-sub {
  font-family: 'Outfit', sans-serif;
  font-size: .66rem; font-weight: 400;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--text-muted);
}
.nav-link {
  color: var(--text) !important;
  font-size: .88rem; font-weight: 500;
  padding: 8px 13px !important;
  border-radius: 6px;
  transition: color var(--tr), background var(--tr);
  position: relative;
}
.nav-link::after {
  content: '';
  position: absolute; bottom: 4px; left: 13px;
  width: 0; height: 2px;
  background: var(--gold); border-radius: 1px;
  transition: width var(--tr);
}
.nav-link:hover::after, .nav-link.active::after { width: calc(100% - 26px); }
.nav-link:hover { color: var(--gold) !important; }

.dropdown-menu {
  background: var(--dropdown-bg);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  backdrop-filter: blur(20px);
  padding: 8px;
  box-shadow: var(--shadow);
  min-width: 230px;
  animation: dd-in .18s ease;
}
@keyframes dd-in { from { opacity: 0; transform: translateY(-6px); } to { opacity: 1; transform: translateY(0); } }
.dropdown-item {
  color: var(--text); font-size: .85rem;
  padding: 10px 14px; border-radius: 8px;
  transition: background var(--tr), color var(--tr);
  display: flex; align-items: center; gap: 8px;
}
.dropdown-item:hover { background: var(--gold-dim); color: var(--gold); }
.dropdown-divider { border-color: var(--border); margin: 4px 0; }
.navbar-toggler {
  border: 1px solid var(--border);
  padding: 6px 10px; border-radius: 8px;
  background: transparent;
}
.navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%28243%2C234%2C216%2C.8%29' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}
[data-theme="light"] .navbar-toggler-icon {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba%2842%2C33%2C23%2C.7%29' stroke-linecap='round' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

/* ===== Theme Toggle ===== */
.theme-toggle {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; flex-shrink: 0;
  border-radius: 50%;
  border: 1px solid var(--border);
  background: var(--surface);
  color: var(--gold);
  font-size: 1.05rem;
  cursor: pointer;
  transition: all var(--tr);
}
.theme-toggle:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--gold);
  transform: translateY(-2px) rotate(12deg);
}
.theme-toggle .bi-sun-fill { display: none; }
.theme-toggle .bi-moon-stars-fill { display: inline-block; }
[data-theme="light"] .theme-toggle .bi-sun-fill { display: inline-block; }
[data-theme="light"] .theme-toggle .bi-moon-stars-fill { display: none; }

/* ===== Buttons ===== */
.btn { border-radius: 9px; font-weight: 600; letter-spacing: .02em; transition: all var(--tr); }

.btn-whatsapp {
  background: #25D366; color: #fff; border: none;
}
.btn-whatsapp:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(37,211,102,.45);
  filter: brightness(1.08);
}

.btn-ember {
  background: linear-gradient(135deg,#b82d20,#e74c3c);
  color: #fff; border: none;
}
.btn-ember:hover {
  color: #fff; transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(192,57,43,.45);
  filter: brightness(1.1);
}
.btn-outline-light {
  border: 1px solid rgba(243,234,216,.25);
  color: var(--text); background: transparent;
}
.btn-outline-light:hover {
  background: rgba(243,234,216,.08);
  border-color: rgba(243,234,216,.55);
  color: var(--text); transform: translateY(-2px);
}
[data-theme="light"] .btn-outline-light {
  border-color: var(--border);
  color: var(--text);
}
[data-theme="light"] .btn-outline-light:hover {
  background: var(--gold-dim);
  border-color: var(--gold);
  color: var(--text);
}
.btn-outline-gold {
  border: 1px solid var(--gold);
  color: var(--gold); background: transparent;
  padding: 10px 28px;
}
.btn-outline-gold:hover {
  background: var(--gold); color: var(--on-gold);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(212,168,67,.35);
}
.btn-link { color: var(--gold); text-decoration: none; font-weight: 600; padding: 0; }
.btn-link:hover { color: var(--gold-light); }

/* ===== Hero ===== */
.hero {
  min-height: 92vh;
  display: flex; align-items: center;
  padding: 80px 0 60px;
  position: relative; overflow: hidden; z-index: 1;
}
.hero::before {
  content: '';
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse 80% 60% at 65% 50%, rgba(212,168,67,.07) 0%, transparent 70%),
    radial-gradient(ellipse 55% 75% at 8% 85%, rgba(192,57,43,.09) 0%, transparent 60%);
  pointer-events: none;
}
/* Light theme: drop the dark hero artwork so the band stays light & readable */
[data-theme="light"] .hero { background-image: none !important; }
[data-theme="light"] .hero::before {
  background:
    radial-gradient(ellipse 80% 60% at 65% 50%, rgba(169,120,27,.12) 0%, transparent 70%),
    radial-gradient(ellipse 55% 75% at 8% 85%, rgba(192,57,43,.07) 0%, transparent 60%);
}
.eyebrow {
  display: flex; align-items: center; gap: 10px;
  font-size: .77rem; font-weight: 600;
  letter-spacing: .14em; text-transform: uppercase;
  color: var(--gold);
}
.eyebrow span { display: inline-block; width: 28px; height: 2px; background: var(--gold); border-radius: 1px; }
.hero-title { font-size: clamp(1.9rem,4.2vw,3rem); font-weight: 700; line-height: 1.18; }
.hero-title em { font-style: italic; color: var(--gold); }
.lead-text { font-size: 1.05rem; color: var(--text-muted); max-width: 550px; }
.trust-row span { font-size: .82rem; color: var(--text-muted); display: flex; align-items: center; gap: 6px; }
.trust-row .bi-patch-check-fill { color: var(--gold); }

/* ===== Zodiac Wheel ===== */
.wheel-stage { position: relative; width: 360px; height: 360px; margin: 0 auto; }
.wheel-stage img { border-radius: 18px; }
/* Light theme: frame the dark zodiac art so it doesn't look pasted on the cream bg */
[data-theme="light"] .wheel-stage img {
  border: 1px solid var(--border);
  box-shadow: 0 16px 44px rgba(90,70,30,.28);
}
.wheel-glow {
  position: absolute; inset: -40px; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,67,.13) 0%, transparent 70%);
  animation: glow-pulse 4s ease-in-out infinite;
}
@keyframes glow-pulse { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.1); opacity: .65; } }
.wheel-core {
  position: absolute; inset: 38%; border-radius: 50%;
  background: radial-gradient(circle, rgba(212,168,67,.28) 0%, rgba(212,168,67,.06) 60%, transparent 100%);
}
#zodiac-wheel { width: 100%; height: 100%; animation: spin-slow 70s linear infinite; }
@keyframes spin-slow { to { transform: rotate(360deg); } }
.ring { fill: none; stroke: rgba(212,168,67,.18); stroke-width: 1; }
.ring-inner { stroke-dasharray: 3 9; }

/* ===== Sections ===== */
.py-lg-6 { padding-top: 5rem !important; padding-bottom: 5rem !important; }
.section-alt {
  background: var(--section-alt-grad);
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative; z-index: 1;
}
.section-head { text-align: center; }
.section-title { font-size: clamp(1.55rem,3vw,2.3rem); font-weight: 700; }

/* ===== About ===== */
.about-art {
  background: var(--gold-dim); border: 1px solid var(--border); border-radius: 50%;
  width: 260px; height: 260px;
  display: flex; align-items: center; justify-content: center;
  margin: 0 auto;
  animation: float 6s ease-in-out infinite;
}
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-14px); } }
.stat-box {
  text-align: center; padding: 22px 16px;
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  transition: all var(--tr);
}
.stat-box:hover { border-color: rgba(212,168,67,.35); transform: translateY(-4px); box-shadow: 0 12px 28px rgba(0,0,0,.3); }
.stat-num { font-family: 'Fraunces', serif; font-size: 2.1rem; font-weight: 700; color: var(--gold); line-height: 1; }
.stat-label { font-size: .72rem; color: var(--text-muted); text-transform: uppercase; letter-spacing: .06em; margin-top: 4px; }

/* ===== Service Cards ===== */
.service-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: all var(--tr); position: relative; overflow: hidden; height: 100%;
}
.service-card::before {
  content: '';
  position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  transform: scaleX(0); transition: transform var(--tr);
}
.service-card:hover {
  background: var(--surface-hover); border-color: rgba(212,168,67,.38);
  transform: translateY(-7px);
  box-shadow: 0 20px 44px rgba(0,0,0,.38), 0 0 0 1px rgba(212,168,67,.12);
}
.service-card:hover::before { transform: scaleX(1); }
.service-icon { font-size: 2.1rem; color: var(--gold); display: inline-block; transform-origin: center; transition: transform var(--tr); }
.service-card:hover .service-icon { transform: scale(1.15) rotate(6deg); }
.card-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: .8rem; font-weight: 600; color: var(--gold); margin-top: 16px;
  letter-spacing: .05em; text-transform: uppercase; transition: gap var(--tr);
}
.card-link:hover { gap: 11px; color: var(--gold-light); }

/* ===== Knowledge Grid ===== */
.knowledge-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 20px; display: flex; align-items: flex-start; gap: 14px; transition: all var(--tr);
}
.knowledge-card:hover {
  background: var(--surface-hover); border-color: rgba(212,168,67,.32);
  transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,.3);
}
.knowledge-icon {
  width: 42px; height: 42px; flex-shrink: 0; border-radius: 10px;
  background: var(--gold-dim); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.15rem; color: var(--gold); transition: all var(--tr);
}
.knowledge-card:hover .knowledge-icon { background: rgba(212,168,67,.24); transform: rotate(6deg); }
.knowledge-title { font-size: .87rem; font-weight: 600; color: var(--text); margin: 0 0 3px; line-height: 1.35; }
.knowledge-sub { font-size: .73rem; color: var(--text-muted); margin: 0; }

/* ===== Testimonials ===== */
.testi-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 26px; transition: all var(--tr); height: 100%;
  display: flex; flex-direction: column;
}
.testi-card:hover { border-color: rgba(212,168,67,.3); transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,.32); }
.testi-quote {
  display: -webkit-box; -webkit-line-clamp: 4; -webkit-box-orient: vertical;
  overflow: hidden;
}
.testi-quote.expanded { -webkit-line-clamp: unset; overflow: visible; }
.testi-readmore {
  align-self: flex-start; margin-top: 6px; padding: 0;
  background: none; border: none; color: var(--gold);
  font-size: .78rem; font-weight: 600; cursor: pointer; transition: color var(--tr);
}
.testi-readmore:hover { color: var(--gold-light); }
.testi-author { margin-top: auto; padding-top: 14px; }
.quote-mark { font-family: 'Fraunces', serif; font-size: 3.5rem; color: var(--gold); line-height: .9; margin-bottom: 6px; opacity: .6; }
.testi-avatar { width: 38px; height: 38px; flex-shrink: 0; border-radius: 50%; background: linear-gradient(135deg, var(--gold), var(--ember)); }
.testi-stars { color: var(--gold); font-size: .8rem; letter-spacing: 2px; margin-bottom: 10px; }

/* ===== Carousel ===== */
.testi-carousel-wrap { position: relative; padding: 0 52px; }
.carousel-control-prev, .carousel-control-next {
  width: 42px; height: 42px; border-radius: 50%;
  border: 1px solid var(--border); background: var(--surface);
  top: 50%; transform: translateY(-50%); opacity: 1; position: absolute;
  display: flex; align-items: center; justify-content: center; transition: all var(--tr);
}
.carousel-control-prev { left: 0; }
.carousel-control-next { right: 0; }
.carousel-control-prev:hover, .carousel-control-next:hover { background: var(--gold-dim); border-color: var(--gold); }
.carousel-control-prev-icon, .carousel-control-next-icon { width: 15px; height: 15px; }
.carousel-indicators { position: static; margin: 24px 0 0; display: flex; justify-content: center; gap: 7px; }
.carousel-indicators [data-bs-target] { width: 8px; height: 8px; border-radius: 50%; background: var(--gold); border: none; opacity: .35; transition: opacity var(--tr), transform var(--tr); }
.carousel-indicators .active { opacity: 1; transform: scale(1.3); }

/* ===== Recognition ===== */
.recog-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; transition: all var(--tr);
}
.recog-card:hover { border-color: rgba(212,168,67,.35); transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,.3); }

/* ===== Sidebar ===== */
.sidebar-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 28px 24px; position: sticky; top: 90px;
}
.sidebar-list li { margin-bottom: 4px; }
.sidebar-list a {
  display: flex; align-items: center; gap: 8px; padding: 10px 12px; border-radius: 8px;
  font-size: .875rem; color: var(--text-muted); transition: all var(--tr);
}
.sidebar-list a:hover { background: var(--gold-dim); color: var(--gold); padding-left: 16px; }
.sidebar-list a .bi { font-size: .9rem; color: var(--gold); }

/* ===== Contact ===== */
.contact-side {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 36px;
}
.contact-row {
  display: flex; align-items: center; gap: 12px; padding: 14px 18px;
  background: var(--surface); border: 1px solid var(--border); border-radius: 10px;
  color: var(--text); font-weight: 500; transition: all var(--tr);
}
.contact-row:hover { background: var(--gold-dim); border-color: rgba(212,168,67,.4); color: var(--gold); transform: translateX(5px); }
.contact-row .bi { color: var(--gold); font-size: 1.1rem; }

/* ===== Forms ===== */
.form-control, .form-select {
  background: var(--input-bg); border: 1px solid var(--border);
  color: var(--text); border-radius: 9px; padding: 12px 16px;
  transition: border-color var(--tr), box-shadow var(--tr), background var(--tr);
}
.form-control:focus, .form-select:focus {
  background: var(--input-bg-focus); border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212,168,67,.14); color: var(--text); outline: none;
}
.form-control::placeholder { color: var(--text-muted); }
.form-label { font-size: .86rem; font-weight: 500; margin-bottom: 7px; color: var(--text); }
.form-select option { background: var(--select-option-bg); color: var(--text); }
.was-validated .form-control:valid, .was-validated .form-select:valid { border-color: rgba(46,213,115,.5); }
.was-validated .form-control:invalid, .was-validated .form-select:invalid { border-color: rgba(255,71,87,.5); }
.alert-success { background: rgba(46,213,115,.1); border: 1px solid rgba(46,213,115,.3); color: #2ed573; border-radius: 9px; }
.alert-danger { background: rgba(255,71,87,.1); border: 1px solid rgba(255,71,87,.3); color: #ff4757; border-radius: 9px; }

/* ===== CTA Band ===== */
.cta-band {
  padding: 88px 0;
  background: var(--cta-grad);
  border-top: 1px solid var(--border); position: relative; overflow: hidden; z-index: 1;
}
.cta-band::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(ellipse 60% 80% at 50% 50%, rgba(212,168,67,.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ===== Footer ===== */
.site-footer {
  background: var(--bg-deep); border-top: 1px solid var(--border);
  padding: 64px 0 28px; position: relative; z-index: 1;
}
.footer-brand { font-family: 'Fraunces', serif; font-size: 1.5rem; color: var(--gold); margin-bottom: 10px; display: block; }
.footer-heading { font-size: .73rem; font-weight: 600; letter-spacing: .1em; text-transform: uppercase; color: var(--gold); margin-bottom: 16px; }
.site-footer a { color: var(--text-muted); font-size: .875rem; }
.site-footer a:hover { color: var(--gold); }
.site-footer .text-muted { color: var(--text-muted) !important; }
.footer-divider { border-color: var(--border); margin: 36px 0 22px; }
.footer-social a {
  display: inline-flex; align-items: center; justify-content: center;
  width: 38px; height: 38px; border-radius: 50%; border: 1px solid transparent;
  color: #fff; font-size: 1rem; transition: all var(--tr); margin-right: 8px;
}
.footer-social a:hover { transform: translateY(-3px); filter: brightness(1.12); color: #fff; }

/* Always-on brand colours (matched by their icon) */
.footer-social a:has(.bi-whatsapp)  { background: #25D366; }
.footer-social a:has(.bi-instagram) { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); }
.footer-social a:has(.bi-twitter-x) { background: #000; border-color: #333; }
.footer-social a:has(.bi-facebook)  { background: #1877f2; }
.footer-social a:has(.bi-youtube)   { background: #ff0000; }
.footer-social a:has(.bi-google)    { background: #4285f4; }

/* ===== Sticky Contact ===== */
.sticky-contact { position: fixed; bottom: 0; left: 0; right: 0; display: flex; gap: 1px; z-index: 999; }
.sticky-contact .btn { border-radius: 0; padding: 14px; font-size: .875rem; }

/* ===== WhatsApp FAB ===== */
.whatsapp-fab {
  position: fixed; bottom: 24px; left: 24px;
  width: 58px; height: 58px; border-radius: 50%;
  background: #25D366; color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.65rem;
  box-shadow: 0 6px 22px rgba(37,211,102,.45);
  z-index: 998; transition: all var(--tr);
  animation: fab-pulse 2.5s ease infinite;
}
.whatsapp-fab:hover { color: #fff; transform: scale(1.12); box-shadow: 0 10px 30px rgba(37,211,102,.6); animation: none; }
@keyframes fab-pulse { 0%,100% { box-shadow: 0 6px 22px rgba(37,211,102,.45); } 50% { box-shadow: 0 6px 32px rgba(37,211,102,.7); } }
@media (max-width: 767px) { .whatsapp-fab { display: none; } }

/* ===== Social Connect (Contact Page) ===== */
.social-connect-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 20px;
}
.social-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}
.social-tile {
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  gap: 7px; padding: 14px 8px;
  border-radius: 10px;
  border: 1px solid transparent;
  color: #fff;
  font-size: .78rem; font-weight: 600;
  letter-spacing: .03em;
  transition: all var(--tr);
  text-decoration: none;
}
.social-tile i { font-size: 1.35rem; }
.social-tile span { color: #fff; }
.social-tile:hover { transform: translateY(-4px); color: #fff; filter: brightness(1.1); }

/* Always-on brand colours */
.social-tile.whatsapp  { background: #25D366; box-shadow: 0 6px 16px rgba(37,211,102,.3); }
.social-tile.instagram { background: linear-gradient(135deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); box-shadow: 0 6px 16px rgba(220,39,67,.3); }
.social-tile.twitter   { background: #000; border-color: #333; box-shadow: 0 6px 16px rgba(0,0,0,.35); }
.social-tile.facebook  { background: #1877f2; box-shadow: 0 6px 16px rgba(24,119,242,.3); }
.social-tile.youtube   { background: #ff0000; box-shadow: 0 6px 16px rgba(255,0,0,.3); }
.social-tile.google    { background: #4285f4; box-shadow: 0 6px 16px rgba(66,133,244,.3); }

/* ===== UPI Payment Card ===== */
.upi-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
}
.upi-card-header {
  background: linear-gradient(135deg, rgba(212,168,67,.12), rgba(212,168,67,.05));
  border-bottom: 1px solid var(--border);
  padding: 16px 20px;
  display: flex; align-items: center; gap: 12px;
}
.upi-card-header .bi-wallet2 {
  font-size: 1.5rem; color: var(--gold);
}
.upi-body {
  padding: 20px;
  display: flex; gap: 20px; align-items: flex-start;
  flex-wrap: wrap;
}
.upi-qr-wrap {
  flex-shrink: 0; text-align: center;
  max-width: 100%;
}
.upi-qr-wrap img {
  width: 150px; max-width: 100%; height: auto;
  border-radius: 10px;
  border: 2px solid var(--border);
  padding: 6px;
  background: var(--qr-bg);
  display: block;
  margin: 0 auto;
}
.upi-scan-label {
  font-size: .72rem; color: var(--text-muted);
  text-align: center; margin-top: 6px; margin-bottom: 0;
  letter-spacing: .06em; text-transform: uppercase;
}
.upi-payee {
  font-size: .82rem; font-weight: 600; color: var(--text);
  text-align: center; margin: 2px 0 0;
}
.upi-details { flex: 1; min-width: 0; }
.upi-id-box {
  display: flex; align-items: center; gap: 8px; flex-wrap: wrap;
  background: rgba(212,168,67,.07);
  border: 1px solid var(--border);
  border-radius: 9px; padding: 10px 14px;
}
.upi-id-label {
  font-size: .7rem; font-weight: 600;
  letter-spacing: .08em; text-transform: uppercase;
  color: var(--gold); white-space: nowrap;
}
.upi-id-value {
  font-size: .875rem; font-weight: 600;
  color: var(--text); flex: 1; min-width: 0;
  font-family: monospace;
  overflow-wrap: anywhere; word-break: break-all;
}
.upi-copy-btn {
  background: none; border: none; cursor: pointer;
  color: var(--text-muted); font-size: 1rem;
  padding: 0; transition: color var(--tr);
  display: flex; align-items: center;
}
.upi-copy-btn:hover { color: var(--gold); }
.upi-apps {
  display: flex; flex-wrap: wrap; gap: 6px;
}
.upi-app-badge {
  font-size: .72rem; font-weight: 600;
  padding: 4px 10px; border-radius: 20px;
  border: 1px solid var(--border);
  color: var(--text-muted);
  background: rgba(255,255,255,.03);
  display: flex; align-items: center; gap: 4px;
  letter-spacing: .02em;
}
.upi-steps { display: flex; flex-direction: column; gap: 6px; }
.upi-step {
  display: flex; align-items: center; gap: 8px;
  font-size: .8rem; color: var(--text-muted);
}
.upi-step-num {
  width: 20px; height: 20px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .68rem; font-weight: 700; color: var(--gold);
  flex-shrink: 0;
}
.upi-confirm {
  border-top: 1px solid var(--border);
  background: var(--gold-dim);
  padding: 20px;
}
.upi-confirm-title { color: var(--gold); margin-bottom: 4px; }
.upi-confirm .form-label { margin-bottom: 5px; }

/* ===== Image Knowledge Cards ===== */
.knowledge-card-img {
  position: relative;
  border-radius: var(--radius);
  overflow: hidden;
  border: 1px solid var(--border);
  background: #0b0f1c;
  transition: all var(--tr);
  aspect-ratio: 4/2.8;
  cursor: default;
}
.knowledge-card-img img {
  width: 100%; height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .5s ease;
}
.knowledge-card-img:hover img { transform: scale(1.06); }
.knowledge-card-overlay {
  position: absolute; inset: 0;
  background: var(--overlay-grad);
  padding: 16px;
  display: flex; flex-direction: column; justify-content: flex-end;
  transition: background var(--tr);
}
.knowledge-card-img:hover .knowledge-card-overlay {
  background: var(--overlay-grad-hover);
}
.knowledge-card-img:hover {
  border-color: rgba(212,168,67,.4);
  transform: translateY(-5px);
  box-shadow: 0 16px 36px rgba(0,0,0,.45);
}
.knowledge-icon-sm {
  width: 32px; height: 32px; border-radius: 8px;
  background: var(--gold-dim); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: .9rem; color: var(--gold); margin-bottom: 8px;
  transition: all var(--tr);
}
.knowledge-card-img:hover .knowledge-icon-sm { background: rgba(212,168,67,.25); }
/* Overlay sits on a dark image gradient in both themes — keep text light */
.knowledge-card-overlay, .knowledge-card-overlay * { color: #f3ead8; }
.knowledge-card-overlay .knowledge-icon-sm { color: var(--gold-light); }

/* ===== About: Banner ===== */
.about-banner {
  width: 100%; height: auto; display: block;
  border-radius: var(--radius);
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
}

/* ===== About: Lead Bio ===== */
.about-lead { font-size: 1.05rem; color: var(--text-muted); }
.about-lead .name { color: var(--gold); font-weight: 600; }

/* ===== About: CTA Cards ===== */
.about-cta-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 32px 24px; text-align: center; height: 100%;
  transition: all var(--tr);
}
.about-cta-card:hover { border-color: rgba(212,168,67,.4); transform: translateY(-5px); box-shadow: 0 16px 36px rgba(0,0,0,.3); }
.about-cta-icon {
  width: 64px; height: 64px; border-radius: 50%;
  background: var(--gold-dim); border: 1px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem; color: var(--gold); margin: 0 auto 18px;
  transition: all var(--tr);
}
.about-cta-card:hover .about-cta-icon { background: rgba(212,168,67,.24); transform: scale(1.08); }
.about-cta-card p { color: var(--text); font-weight: 500; margin-bottom: 18px; }

/* ===== About: Info Cards ===== */
.about-info-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-left: 3px solid var(--gold);
  border-radius: var(--radius);
  padding: 28px 26px; height: 100%;
  transition: all var(--tr);
}
.about-info-card:hover { background: var(--surface-hover); transform: translateY(-4px); box-shadow: 0 14px 32px rgba(0,0,0,.25); }
.about-info-card h3 { color: var(--gold); margin-bottom: 12px; }

/* ===== About: Credentials ===== */
.credentials-band { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
.credential-badge {
  display: flex; align-items: center; gap: 8px;
  padding: 10px 18px; border-radius: 40px;
  background: var(--surface); border: 1px solid var(--border);
  color: var(--text); font-size: .82rem; font-weight: 600;
  transition: all var(--tr);
}
.credential-badge .bi { color: var(--gold); font-size: 1rem; }
.credential-badge:hover { border-color: var(--gold); background: var(--gold-dim); transform: translateY(-3px); }

/* ===== Office / Address Cards ===== */
.office-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}
@media (max-width: 991px) { .office-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 575px) { .office-grid { grid-template-columns: 1fr; } }
.office-card {
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: all var(--tr);
}
.office-card:hover {
  border-color: rgba(212,168,67,.4);
  transform: translateY(-4px);
  box-shadow: 0 14px 32px rgba(0,0,0,.28);
}
.office-body { padding: 22px 20px; flex: 1; }
.office-label {
  font-size: .7rem; font-weight: 700;
  letter-spacing: .12em; text-transform: uppercase;
  color: var(--text-muted); margin-bottom: 6px;
}
.office-name {
  font-family: 'Fraunces', serif;
  font-size: 1.25rem; font-weight: 700;
  color: var(--gold); margin-bottom: 16px;
}
.office-line {
  display: flex; align-items: flex-start; gap: 10px;
  font-size: .86rem; color: var(--text-muted); margin-bottom: 12px; line-height: 1.5;
}
.office-line:last-child { margin-bottom: 0; }
.office-line .bi { color: var(--gold); font-size: 1rem; flex-shrink: 0; margin-top: 2px; }
.office-line a { color: var(--text-muted); }
.office-line a:hover { color: var(--gold); }
.office-map { position: relative; }
.office-map iframe {
  width: 100%; height: 180px; border: 0; display: block;
  filter: grayscale(.15);
}
.office-map .maps-btn {
  position: absolute; top: 12px; left: 12px;
  display: inline-flex; align-items: center; gap: 6px;
  padding: 6px 12px; border-radius: 8px;
  background: rgba(5,7,15,.85); border: 1px solid var(--border);
  color: var(--gold); font-size: .78rem; font-weight: 600;
  backdrop-filter: blur(4px);
  transition: all var(--tr);
}
.office-map .maps-btn:hover { background: var(--gold); color: var(--on-gold); border-color: var(--gold); }

/* ===== Expertise Chips ===== */
.expertise-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
@media (max-width: 991px) { .expertise-grid { grid-template-columns: repeat(2, 1fr); } }
.expertise-chip {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 18px;
  background: var(--surface);
  border: 1px solid var(--border);
  border-radius: 40px;
  transition: all var(--tr);
}
.expertise-chip:hover {
  background: var(--surface-hover);
  border-color: rgba(212,168,67,.45);
  transform: translateY(-3px);
  box-shadow: 0 10px 24px rgba(0,0,0,.22);
}
.expertise-chip .bi {
  color: var(--gold); font-size: 1.05rem; flex-shrink: 0;
  transition: transform var(--tr);
}
.expertise-chip:hover .bi { transform: rotate(12deg) scale(1.1); }
.expertise-chip span {
  font-size: .88rem; font-weight: 500;
  color: var(--text); line-height: 1.35;
}
.topic-card {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 20px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(255,255,255,.07), rgba(255,255,255,.03));
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  min-height: 100%;
  position: relative;
  overflow: hidden;
  transition: transform var(--tr), border-color var(--tr), background var(--tr), box-shadow var(--tr), translate var(--tr);
}
.topic-card:hover {
  transform: translateY(-5px);
  border-color: rgba(212,168,67,.45);
  box-shadow: 0 18px 44px rgba(0,0,0,.28);
  background: linear-gradient(180deg, rgba(212,168,67,.08), rgba(255,255,255,.04));
}
.topic-card::after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at top right, rgba(212,168,67,.16), transparent 44%);
  opacity: 0;
  transition: opacity var(--tr);
  pointer-events: none;
}
.topic-card:hover::after { opacity: 1; }
.topic-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.topic-card-top .bi {
  color: var(--gold);
  font-size: 1.2rem;
}
.topic-badge {
  font-size: .7rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
}
.topic-title {
  font-size: 1.02rem;
  margin: 0;
  color: var(--text);
}
.topic-copy {
  margin: 0;
  color: var(--text-muted);
  font-size: .9rem;
}
.topic-link {
  margin-top: auto;
  color: var(--gold);
  font-size: .82rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.topic-guide-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.topic-guide-card {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: var(--surface);
}
.topic-guide-kicker {
  font-size: .72rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--gold);
  font-weight: 700;
}
.about-visit-card {
  padding: 18px 20px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(212,168,67,.09), rgba(255,255,255,.03));
  box-shadow: 0 12px 30px rgba(0,0,0,.16);
}
.visit-metric {
  padding: 14px 16px;
  border-radius: 16px;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(212,168,67,.12);
}
.visit-value {
  font-family: 'Fraunces', serif;
  color: var(--gold);
  font-size: 1.7rem;
  line-height: 1;
  font-weight: 700;
}
.visit-label {
  margin-top: 6px;
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
}
.dash-stat {
  padding: 18px;
  border-radius: 18px;
  border: 1px solid var(--border);
  background: linear-gradient(135deg, rgba(212,168,67,.1), rgba(255,255,255,.03));
}
.admin-panel {
  padding: 20px;
  border-radius: 22px;
  border: 1px solid var(--border);
  background: rgba(255,255,255,.03);
  box-shadow: 0 18px 40px rgba(0,0,0,.22);
}
.admin-table-wrap {
  overflow-x: auto;
}
.admin-table-wrap .table {
  min-width: 620px;
}
.admin-panel .form-label {
  font-size: .78rem;
  text-transform: uppercase;
  letter-spacing: .12em;
  color: var(--text-muted);
}
.admin-panel .form-control,
.admin-panel .form-select {
  background: rgba(255,255,255,.04);
  border-color: rgba(212,168,67,.18);
}
.admin-panel .form-control:focus,
.admin-panel .form-select:focus {
  border-color: rgba(212,168,67,.5);
  box-shadow: 0 0 0 .2rem rgba(212,168,67,.12);
}
.alert-warning {
  background: rgba(212,168,67,.1);
  color: var(--text);
  border-color: rgba(212,168,67,.25);
}
.lazy-shell {
  border: 1px dashed rgba(212,168,67,.24);
  border-radius: 18px;
  padding: 14px;
  background: rgba(255,255,255,.02);
}
.office-map-shell {
  width: 100%;
  height: 180px;
  background: linear-gradient(135deg, rgba(212,168,67,.12), rgba(255,255,255,.04));
}
.office-map-shell iframe {
  width: 100%;
  height: 180px;
  border: 0;
  display: block;
}
.maps-btn-alt {
  left: auto;
  right: 12px;
  top: 12px;
  background: rgba(212,168,67,.14);
}
.service-card {
  position: relative;
  overflow: hidden;
}
.service-card::after {
  content: "";
  position: absolute;
  inset: auto -35% -55% auto;
  width: 180px;
  height: 180px;
  background: radial-gradient(circle, rgba(212,168,67,.12), transparent 65%);
  transform: scale(.8);
  transition: transform var(--tr), opacity var(--tr);
  opacity: .55;
  pointer-events: none;
}
.service-card:hover::after {
  transform: scale(1.1);
  opacity: 1;
}
@media (max-width: 575px) {
  .expertise-grid { grid-template-columns: 1fr; }
  .expertise-chip { padding: 11px 16px; }
  .topic-guide-grid { grid-template-columns: 1fr; }
  .admin-panel { padding: 16px; }
  .admin-table-wrap .table { min-width: 540px; }
  .lazy-shell { padding: 10px; }
}

/* ===== Reveal ===== */
.reveal { opacity: 0; transform: translateY(28px); transition: opacity .65s ease, transform .65s ease; }
.reveal.visible { opacity: 1; transform: translateY(0); }
.reveal-d1 { transition-delay: .1s; }
.reveal-d2 { transition-delay: .2s; }
.reveal-d3 { transition-delay: .3s; }
.reveal-d4 { transition-delay: .4s; }
.reveal-d5 { transition-delay: .5s; }

/* ===== Honeypot ===== */
.honeypot-field { position: absolute; left: -9999px; visibility: hidden; }

/* ===== Breadcrumb ===== */
.breadcrumb { background: none; padding: 0; margin: 0; font-size: .82rem; }
.breadcrumb-item + .breadcrumb-item::before { color: var(--text-muted); }
.breadcrumb-item a { color: var(--text-muted); }
.breadcrumb-item.active { color: var(--gold); }

/* ===== Responsive ===== */
@media (max-width: 991px) {
  .hero { min-height: auto; padding: 60px 0 40px; }
  .wheel-stage { width: 270px; height: 270px; }
  .testi-carousel-wrap { padding: 0 36px; }
}
@media (max-width: 767px) {
  .hero-title { font-size: 1.8rem; }
  .wheel-stage { display: none; }
  .contact-side { padding: 24px; }
  .testi-carousel-wrap { padding: 0 28px; }
  .upi-body { flex-direction: column; align-items: center; }
  .upi-details { width: 100%; }
  .upi-qr-wrap img { width: 160px; height: 160px; }
  .social-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 575px) {
  .cta-band { padding: 60px 0; }
  .social-grid { grid-template-columns: repeat(2, 1fr); }
  .upi-id-value { font-size: .78rem; }
  .knowledge-card-img { aspect-ratio: 4/2.4; }
  .sidebar-card { position: static; }
  .contact-side { padding: 18px; }
  .upi-card-header { padding: 14px 16px; }
  .upi-body { padding: 16px; }
}
